File: //lib/python3/dist-packages/awscli/customizations/s3/__pycache__/subcommands.cpython-310.pyc
o
@&�a`� � @ s8 d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dl m
Z
d dl mZ d dlm
Z
d dlmZ d d lmZ d d
lmZ d dlmZ d dlmZ d d
lmZ d dlmZ d dlmZmZmZm Z m!Z!m"Z"m#Z# d dl$m%Z% d dl&m'Z'm(Z(m)Z) d dl*m+Z+ e�,e-�Z.ddddd�Z/dddd�Z0dddd�Z1dddd�Z2ddd d�Z3d!dd"d�Z4d#dd$d%d&d'�Z5d(d)d%d$d%d*�Z6d+d)d,d$d-d.�Z7d/d0d1�Z8d2ed3d4d5d6�Z9d7ed3d4d8d6�Z:d9g d:�d;d<�Z;d=d>d?d@�Z<dAdBdCdCdDgdEdF�Z=dGdBdCdCgdHdF�Z>dIdJdKdL�Z?dMdNd1�Z@dOdBdCdCgdPdF�ZAdQdJdRdL�ZBdSg dT�dUd<�ZCdVdWd1�ZDdXdYd1�ZEdZd[d1�ZFd\d]d1�ZGd^d_d1�ZHd`dad1�ZIdbdcd1�ZJdddededfdgidfdgidh�didj�ZKdkdldmgdnd<�ZLdodpd1�ZMdqdrd1�ZNdsddtd�ZOdud)dvdwd�ZPdxdyd1�ZQdzd{d|dL�ZRd}dd~d�ZSddd�d�ZTd�d�gdBd�d�d��ZUe2e3e:e9e;e5e6e7e=e>e?e@eAeBeCe<eDe8eEeFeGeHeJeIeOePeReSeTeUgZVd�d�d��ZWG d�d�� d�e
�ZXG d�d�� d�eX�ZYG d�d�� d�eX�ZZG d�d�� d�eX�Z[G d�d�� d�eX�Z\G d�d�� d�e\�Z]G d�d�� d�e\�Z^G d�d�� d�e\�Z_G d�d�� d�e\�Z`G d�d�� d�eX�ZaG d�d�� d�eX�ZbG d�d�� d�ec�ZdG d�d�� d�ec�ZedS )�� N)�Config)�parse)�tzlocal)�six)�queue)�BasicCommand)�
Comparator)�FileInfoBuilder)�
FileFormat)�
FileGenerator)�FileInfo)�
create_filter)�S3TransferHandlerFactory)�find_bucket_key�AppendFilter�find_dest_path_comp_key�human_readable_size�RequestParamsMapper�split_s3_bucket_key�block_unsupported_resources)� uni_print)�MissingFileSync�SizeAndLastModifiedSync� NeverSync)�transferconfig� recursive�
store_true�dir_opzUCommand is performed on all files or objects under the specified directory or prefix.)�name�action�dest� help_textzhuman-readablez-Displays file sizes in human readable format.)r r r! � summarizez=Displays summary information (number of objects, total size).�dryrunzjDisplays the operations that would be performed using the specified command without actually running them.�quietzEDoes not display the operations performed from the specified command.�forcea< Deletes all objects in the bucket including the bucket itself. Note that versioned objects will not be deleted in this process which would cause the bucket deletion to fail because the bucket would not be empty. To delete versioned objects use the ``s3api delete-object`` command with the ``--version-id`` parameter.zfollow-symlinksT�follow_symlinksa; Symbolic links are followed only when uploading to S3 from the local filesystem. Note that S3 does not support symbolic links, so the contents of the link target are uploaded under the name of the link. When neither ``--follow-symlinks`` nor ``--no-follow-symlinks`` is specified, the default is to follow symlinks.)r r �default�
group_namer! zno-follow-symlinks�store_false)r r r r'