| 161 | |
| 162 | |
| 163 | class TransferManager: |
| 164 | ALLOWED_DOWNLOAD_ARGS = ALLOWED_DOWNLOAD_ARGS |
| 165 | |
| 166 | _ALLOWED_SHARED_ARGS = [ |
| 167 | 'ACL', |
| 168 | 'CacheControl', |
| 169 | 'ChecksumAlgorithm', |
| 170 | 'ContentDisposition', |
| 171 | 'ContentEncoding', |
| 172 | 'ContentLanguage', |
| 173 | 'ContentType', |
| 174 | 'ExpectedBucketOwner', |
| 175 | 'Expires', |
| 176 | 'GrantFullControl', |
| 177 | 'GrantRead', |
| 178 | 'GrantReadACP', |
| 179 | 'GrantWriteACP', |
| 180 | 'Metadata', |
| 181 | 'RequestPayer', |
| 182 | 'ServerSideEncryption', |
| 183 | 'StorageClass', |
| 184 | 'SSECustomerAlgorithm', |
| 185 | 'SSECustomerKey', |
| 186 | 'SSECustomerKeyMD5', |
| 187 | 'SSEKMSKeyId', |
| 188 | 'SSEKMSEncryptionContext', |
| 189 | 'Tagging', |
| 190 | 'WebsiteRedirectLocation', |
| 191 | 'IfNoneMatch', |
| 192 | ] |
| 193 | |
| 194 | ALLOWED_UPLOAD_ARGS = ( |
| 195 | _ALLOWED_SHARED_ARGS |
| 196 | + [ |
| 197 | 'ChecksumType', |
| 198 | 'MpuObjectSize', |
| 199 | ] |
| 200 | + FULL_OBJECT_CHECKSUM_ARGS |
| 201 | ) |
| 202 | |
| 203 | ALLOWED_COPY_ARGS = _ALLOWED_SHARED_ARGS + [ |
| 204 | 'CopySourceIfMatch', |
| 205 | 'CopySourceIfModifiedSince', |
| 206 | 'CopySourceIfNoneMatch', |
| 207 | 'CopySourceIfUnmodifiedSince', |
| 208 | 'CopySourceSSECustomerAlgorithm', |
| 209 | 'CopySourceSSECustomerKey', |
| 210 | 'CopySourceSSECustomerKeyMD5', |
| 211 | 'MetadataDirective', |
| 212 | 'TaggingDirective', |
| 213 | ] |
| 214 | |
| 215 | ALLOWED_DELETE_ARGS = [ |
| 216 | 'MFA', |
| 217 | 'VersionId', |
| 218 | 'RequestPayer', |
| 219 | 'ExpectedBucketOwner', |
| 220 | ] |
no outgoing calls