HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/customizations/s3/__pycache__/s3.cpython-38.pyc
U

<�^�
�@s|ddlmZddlmZddlmZmZmZmZm	Z	m
Z
mZmZm
Z
ddlmZdd�Zdd�Zd	d
�ZGdd�de�Zd
S)�)�utils)�BasicCommand)	�ListCommand�WebsiteCommand�	CpCommand�	MvCommand�	RmCommand�SyncCommand�	MbCommand�	RbCommand�PresignCommand)�register_sync_strategiescCs|�dt�|�dt�dS)z�
    This function is require to use the plugin.  It calls the functions
    required to add all neccessary commands and parameters to the CLI.
    This function is necessary to install the plugin using a configuration
    file
    zbuilding-command-table.mainzbuilding-command-table.syncN)�register�add_s3r
)Zcli�r�=/usr/lib/python3/dist-packages/awscli/customizations/s3/s3.py�awscli_initializesrcCst|�dS)z~
    This is a wrapper to make the plugin built-in to the cli as opposed
    to specifiying it in the configuration file.
    N)r)Zevent_handlersrrr�s3_plugin_initialize!srcKst�|dd�t|�|d<dS)z|
    This creates a new service object for the s3 plugin.  It sends the
    old s3 commands to the namespace ``s3api``.
    �s3Zs3apiN)rZrename_command�S3)Z
command_tableZsession�kwargsrrrr)src@sreZdZdZe�d�ZdZded�de	d�de
d�ded�d	ed�d
e
d�ded�ded�d
ed�g	Zdd�ZdS)rrzs3/_concepts.rstzaws s3 <Command> [<Arg> ...]Zls)�nameZ
command_classZwebsite�cpZmvZrm�syncZmb�rbZpresigncCs|jdkrtd��dS)NzVusage: aws [options] <command> <subcommand> [parameters]
aws: error: too few arguments)Z
subcommand�
ValueError)�selfZparsed_argsZparsed_globalsrrr�	_run_mainBs
zS3._run_mainN)�__name__�
__module__�__qualname__�NAMErZ	FROM_FILEZDESCRIPTIONZSYNOPSISrrrrrr	r
rrZSUBCOMMANDSrrrrrr2s
�rN)Zawscli.customizationsrZawscli.customizations.commandsrZ$awscli.customizations.s3.subcommandsrrrrrr	r
rrZ.awscli.customizations.s3.syncstrategy.registerr
rrrrrrrr�<module>
s,