HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/customizations/s3/__pycache__/s3.cpython-36.pyc
3

�T_�
�@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|jdt�|jdt�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.6/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!srcKstj|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@sreZdZdZejd�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_classZwebsiteZcpZmvZrm�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,