@nocobase/plugin-file-manager 1.2.13-alpha → 1.3.0-alpha.20240710084543
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/dist/client/FileManagerProvider.d.ts +0 -10
- package/dist/client/FileSizeField.d.ts +0 -10
- package/dist/client/FileStorage.d.ts +0 -12
- package/dist/client/StorageOptions.d.ts +0 -10
- package/dist/client/hooks/index.d.ts +0 -10
- package/dist/client/hooks/useStorageRules.d.ts +0 -14
- package/dist/client/hooks/useUploadFiles.d.ts +0 -13
- package/dist/client/index.d.ts +0 -15
- package/dist/client/index.js +0 -10
- package/dist/client/initializers/UploadActionInitializer.d.ts +0 -10
- package/dist/client/initializers/index.d.ts +0 -9
- package/dist/client/interfaces/attachment.d.ts +0 -113
- package/dist/client/locale/index.d.ts +0 -10
- package/dist/client/schemas/storage.d.ts +0 -10
- package/dist/client/schemas/storageTypes/ali-oss.d.ts +0 -117
- package/dist/client/schemas/storageTypes/common.d.ts +0 -68
- package/dist/client/schemas/storageTypes/index.d.ts +0 -398
- package/dist/client/schemas/storageTypes/local.d.ts +0 -89
- package/dist/client/schemas/storageTypes/s3.d.ts +0 -112
- package/dist/client/schemas/storageTypes/tx-cos.d.ts +0 -106
- package/dist/client/templates/file.d.ts +0 -142
- package/dist/client/templates/index.d.ts +0 -9
- package/dist/constants.d.ts +0 -17
- package/dist/constants.js +0 -60
- package/dist/externalVersion.js +0 -27
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -48
- package/dist/locale/en-US.json +0 -22
- package/dist/locale/fr-FR.json +0 -21
- package/dist/locale/ja-JP.json +0 -18
- package/dist/locale/ko_KR.json +0 -32
- package/dist/locale/ru-RU.json +0 -18
- package/dist/locale/tr-TR.json +0 -17
- package/dist/locale/zh-CN.json +0 -40
- package/dist/node_modules/@aws-sdk/client-s3/LICENSE +0 -201
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +0 -201
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +0 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +0 -63
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +0 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +0 -57
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +0 -66
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +0 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +0 -68
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +0 -63
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -98
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +0 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +0 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +0 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/index.js +0 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +0 -647
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +0 -156
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +0 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +0 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +0 -9820
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +0 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js +0 -15
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +0 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/index.js +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +0 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +0 -30
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +0 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +0 -30
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +0 -197
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +0 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +0 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +0 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +0 -57
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +0 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +0 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +0 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +0 -57
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +0 -66
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +0 -95
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +0 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +0 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +0 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +0 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +0 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/index.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +0 -607
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +0 -137
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +0 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +0 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +0 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +0 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +0 -9624
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +0 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +0 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js +0 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +0 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +0 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +0 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +0 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +0 -675
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +0 -308
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +0 -163
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +0 -296
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +0 -314
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +0 -260
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +0 -351
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +0 -145
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +0 -103
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +0 -132
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +0 -106
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +0 -97
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +0 -96
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +0 -101
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +0 -108
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +0 -109
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +0 -93
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +0 -144
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +0 -110
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +0 -102
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +0 -109
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +0 -202
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +0 -133
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +0 -304
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +0 -102
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +0 -104
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +0 -117
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +0 -137
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +0 -147
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +0 -108
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +0 -123
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +0 -131
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +0 -210
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +0 -118
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +0 -112
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +0 -130
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +0 -156
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +0 -101
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +0 -151
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +0 -107
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +0 -197
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +0 -103
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +0 -136
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +0 -117
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +0 -141
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +0 -191
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +0 -303
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +0 -342
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +0 -92
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +0 -96
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +0 -93
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +0 -165
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +0 -109
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +0 -118
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +0 -140
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +0 -282
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +0 -149
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +0 -128
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +0 -144
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +0 -138
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +0 -117
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +0 -98
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +0 -326
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +0 -215
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +0 -198
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +0 -239
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +0 -234
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +0 -117
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +0 -311
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +0 -210
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +0 -195
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +0 -118
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +0 -155
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +0 -187
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +0 -255
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +0 -211
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +0 -143
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +0 -208
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +0 -101
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +0 -154
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +0 -236
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +0 -111
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +0 -165
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +0 -137
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +0 -246
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +0 -309
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +0 -397
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +0 -88
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +0 -111
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +0 -91
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +0 -171
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +0 -119
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +0 -444
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +0 -256
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +0 -282
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +0 -329
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +0 -149
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +0 -95
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +0 -40
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +0 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +0 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +0 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +0 -13
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/index.d.ts +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +0 -12676
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +0 -3292
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +0 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +0 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +0 -857
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +0 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +0 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +0 -1680
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +0 -709
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +0 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +0 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +0 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +0 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +0 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +0 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +0 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +0 -44
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +0 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +0 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +0 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +0 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +0 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +0 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +0 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +0 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +0 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +0 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +0 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +0 -38
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +0 -43
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +0 -95
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +0 -51
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +0 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +0 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +0 -2143
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +0 -620
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +0 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -1149
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -131
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +0 -133
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -116
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts +0 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts +0 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +0 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +0 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +0 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +0 -14
- package/dist/node_modules/@aws-sdk/client-s3/package.json +0 -1
- package/dist/node_modules/mime-match/.travis.yml +0 -11
- package/dist/node_modules/mime-match/example.js +0 -17
- package/dist/node_modules/mime-match/index.js +0 -1
- package/dist/node_modules/mime-match/package.json +0 -1
- package/dist/node_modules/mime-match/test.js +0 -45
- package/dist/node_modules/mkdirp/LICENSE +0 -21
- package/dist/node_modules/mkdirp/bin/cmd.js +0 -33
- package/dist/node_modules/mkdirp/bin/usage.txt +0 -12
- package/dist/node_modules/mkdirp/index.js +0 -1
- package/dist/node_modules/mkdirp/package.json +0 -1
- package/dist/node_modules/mkdirp/readme.markdown +0 -100
- package/dist/node_modules/multer-aliyun-oss/index.js +0 -74
- package/dist/node_modules/multer-aliyun-oss/package.json +0 -1
- package/dist/node_modules/multer-cos/LICENSE +0 -24
- package/dist/node_modules/multer-cos/demo/index.js +0 -39
- package/dist/node_modules/multer-cos/demo/myMulter.js +0 -88
- package/dist/node_modules/multer-cos/index.js +0 -220
- package/dist/node_modules/multer-cos/package.json +0 -1
- package/dist/node_modules/multer-s3/.gitattributes +0 -1
- package/dist/node_modules/multer-s3/.travis.yml +0 -6
- package/dist/node_modules/multer-s3/LICENSE +0 -22
- package/dist/node_modules/multer-s3/index.js +0 -35
- package/dist/node_modules/multer-s3/package.json +0 -1
- package/dist/node_modules/multer-s3/test/basic.js +0 -293
- package/dist/node_modules/multer-s3/test/files/a.txt +0 -1
- package/dist/node_modules/multer-s3/test/files/test.svg +0 -3
- package/dist/node_modules/multer-s3/test/files/test2.svg +0 -9
- package/dist/node_modules/multer-s3/test/util/mock-s3.js +0 -17
- package/dist/server/FileModel.d.ts +0 -12
- package/dist/server/FileModel.js +0 -53
- package/dist/server/actions/attachments.d.ts +0 -11
- package/dist/server/actions/attachments.js +0 -197
- package/dist/server/actions/index.d.ts +0 -11
- package/dist/server/actions/index.js +0 -53
- package/dist/server/actions/storages.d.ts +0 -1
- package/dist/server/actions/storages.js +0 -62
- package/dist/server/collections/attachments.d.ts +0 -10
- package/dist/server/collections/attachments.js +0 -97
- package/dist/server/collections/storages.d.ts +0 -10
- package/dist/server/collections/storages.js +0 -94
- package/dist/server/index.d.ts +0 -10
- package/dist/server/index.js +0 -48
- package/dist/server/interfaces/attachment-interface.d.ts +0 -18
- package/dist/server/interfaces/attachment-interface.js +0 -63
- package/dist/server/migrations/20230831160742-fix-attachment-field.d.ts +0 -13
- package/dist/server/migrations/20230831160742-fix-attachment-field.js +0 -71
- package/dist/server/migrations/20231120142523-fix-storage.d.ts +0 -13
- package/dist/server/migrations/20231120142523-fix-storage.js +0 -72
- package/dist/server/migrations/20240306223006-update-target.d.ts +0 -14
- package/dist/server/migrations/20240306223006-update-target.js +0 -54
- package/dist/server/migrations/20240523152854-change-attachment-field-props.d.ts +0 -14
- package/dist/server/migrations/20240523152854-change-attachment-field-props.js +0 -65
- package/dist/server/migrations/20240613110121-fix-schema-in-field.d.ts +0 -13
- package/dist/server/migrations/20240613110121-fix-schema-in-field.js +0 -93
- package/dist/server/rules/index.d.ts +0 -9
- package/dist/server/rules/index.js +0 -46
- package/dist/server/rules/mimetype.d.ts +0 -9
- package/dist/server/rules/mimetype.js +0 -49
- package/dist/server/server.d.ts +0 -22
- package/dist/server/server.js +0 -147
- package/dist/server/storages/ali-oss.d.ts +0 -25
- package/dist/server/storages/ali-oss.js +0 -62
- package/dist/server/storages/index.d.ts +0 -44
- package/dist/server/storages/index.js +0 -37
- package/dist/server/storages/local.d.ts +0 -26
- package/dist/server/storages/local.js +0 -100
- package/dist/server/storages/s3.d.ts +0 -26
- package/dist/server/storages/s3.js +0 -89
- package/dist/server/storages/tx-cos.d.ts +0 -26
- package/dist/server/storages/tx-cos.js +0 -71
- package/dist/server/utils.d.ts +0 -11
- package/dist/server/utils.js +0 -67
- package/dist/swagger/index.json +0 -81
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts
DELETED
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { CompleteMultipartUploadOutput, CompleteMultipartUploadRequest } from "../models/models_0";
|
|
5
|
-
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export { __MetadataBearer, $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link CompleteMultipartUploadCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface CompleteMultipartUploadCommandInput extends CompleteMultipartUploadRequest {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link CompleteMultipartUploadCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartUploadOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @public
|
|
26
|
-
* <p>Completes a multipart upload by assembling previously uploaded parts.</p>
|
|
27
|
-
* <p>You first initiate the multipart upload and then upload all parts using the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
|
|
28
|
-
* operation or the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a>
|
|
29
|
-
* operation. After successfully uploading all relevant parts of an upload, you call this
|
|
30
|
-
* <code>CompleteMultipartUpload</code> operation to complete the upload. Upon receiving this request, Amazon S3 concatenates all the parts
|
|
31
|
-
* in ascending order by part number to create a new object. In the CompleteMultipartUpload
|
|
32
|
-
* request, you must provide the parts list and ensure that the parts list is complete.
|
|
33
|
-
* The CompleteMultipartUpload API operation concatenates the parts that you provide in the list. For each part in the list,
|
|
34
|
-
* you must provide the <code>PartNumber</code> value and the <code>ETag</code> value that are returned after that part
|
|
35
|
-
* was uploaded.</p>
|
|
36
|
-
* <p>The processing of a CompleteMultipartUpload request could take several minutes to
|
|
37
|
-
* finalize. After Amazon S3 begins processing the request, it sends an HTTP response header that
|
|
38
|
-
* specifies a <code>200 OK</code> response. While processing is in progress, Amazon S3 periodically sends white
|
|
39
|
-
* space characters to keep the connection from timing out. A request could fail after the
|
|
40
|
-
* initial <code>200 OK</code> response has been sent. This means that a <code>200 OK</code> response can
|
|
41
|
-
* contain either a success or an error. The error response might be embedded in the <code>200 OK</code> response.
|
|
42
|
-
* If you call this API operation directly, make sure to design
|
|
43
|
-
* your application to parse the contents of the response and handle it appropriately. If you
|
|
44
|
-
* use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply
|
|
45
|
-
* error handling per your configuration settings (including automatically retrying the
|
|
46
|
-
* request as appropriate). If the condition persists, the SDKs throw an exception (or, for
|
|
47
|
-
* the SDKs that don't use exceptions, they return an error). </p>
|
|
48
|
-
* <p>Note that if <code>CompleteMultipartUpload</code> fails, applications should be prepared
|
|
49
|
-
* to retry the failed requests. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html">Amazon S3 Error Best
|
|
50
|
-
* Practices</a>.</p>
|
|
51
|
-
* <important>
|
|
52
|
-
* <p>You can't use <code>Content-Type: application/x-www-form-urlencoded</code> for the
|
|
53
|
-
* CompleteMultipartUpload requests. Also, if you don't provide a
|
|
54
|
-
* <code>Content-Type</code> header, <code>CompleteMultipartUpload</code> can still return a <code>200
|
|
55
|
-
* OK</code> response.</p>
|
|
56
|
-
* </important>
|
|
57
|
-
* <p>For more information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading Objects Using Multipart
|
|
58
|
-
* Upload</a> in the <i>Amazon S3
|
|
59
|
-
* User Guide</i>.</p>
|
|
60
|
-
* <note>
|
|
61
|
-
* <p>
|
|
62
|
-
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
|
|
63
|
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
64
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
65
|
-
* </note>
|
|
66
|
-
* <dl>
|
|
67
|
-
* <dt>Permissions</dt>
|
|
68
|
-
* <dd>
|
|
69
|
-
* <ul>
|
|
70
|
-
* <li>
|
|
71
|
-
* <p>
|
|
72
|
-
* <b>General purpose bucket permissions</b> - For information about permissions required to use the multipart upload API, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload
|
|
73
|
-
* and Permissions</a> in the <i>Amazon S3
|
|
74
|
-
* User Guide</i>.</p>
|
|
75
|
-
* </li>
|
|
76
|
-
* <li>
|
|
77
|
-
* <p>
|
|
78
|
-
* <b>Directory bucket permissions</b> - To grant access to this API operation on a directory bucket, we recommend that you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
79
|
-
* <code>CreateSession</code>
|
|
80
|
-
* </a> API operation for session-based authorization. Specifically, you grant the <code>s3express:CreateSession</code> permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the <code>CreateSession</code> API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another <code>CreateSession</code> API call to generate a new session token for use.
|
|
81
|
-
* Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
82
|
-
* <code>CreateSession</code>
|
|
83
|
-
* </a>.</p>
|
|
84
|
-
* </li>
|
|
85
|
-
* </ul>
|
|
86
|
-
* </dd>
|
|
87
|
-
* <dt>Special errors</dt>
|
|
88
|
-
* <dd>
|
|
89
|
-
* <ul>
|
|
90
|
-
* <li>
|
|
91
|
-
* <p>Error Code: <code>EntityTooSmall</code>
|
|
92
|
-
* </p>
|
|
93
|
-
* <ul>
|
|
94
|
-
* <li>
|
|
95
|
-
* <p>Description: Your proposed upload is smaller than the minimum allowed object
|
|
96
|
-
* size. Each part must be at least 5 MB in size, except the last part.</p>
|
|
97
|
-
* </li>
|
|
98
|
-
* <li>
|
|
99
|
-
* <p>HTTP Status Code: 400 Bad Request</p>
|
|
100
|
-
* </li>
|
|
101
|
-
* </ul>
|
|
102
|
-
* </li>
|
|
103
|
-
* <li>
|
|
104
|
-
* <p>Error Code: <code>InvalidPart</code>
|
|
105
|
-
* </p>
|
|
106
|
-
* <ul>
|
|
107
|
-
* <li>
|
|
108
|
-
* <p>Description: One or more of the specified parts could not be found. The part
|
|
109
|
-
* might not have been uploaded, or the specified ETag might not have
|
|
110
|
-
* matched the uploaded part's ETag.</p>
|
|
111
|
-
* </li>
|
|
112
|
-
* <li>
|
|
113
|
-
* <p>HTTP Status Code: 400 Bad Request</p>
|
|
114
|
-
* </li>
|
|
115
|
-
* </ul>
|
|
116
|
-
* </li>
|
|
117
|
-
* <li>
|
|
118
|
-
* <p>Error Code: <code>InvalidPartOrder</code>
|
|
119
|
-
* </p>
|
|
120
|
-
* <ul>
|
|
121
|
-
* <li>
|
|
122
|
-
* <p>Description: The list of parts was not in ascending order. The parts list
|
|
123
|
-
* must be specified in order by part number.</p>
|
|
124
|
-
* </li>
|
|
125
|
-
* <li>
|
|
126
|
-
* <p>HTTP Status Code: 400 Bad Request</p>
|
|
127
|
-
* </li>
|
|
128
|
-
* </ul>
|
|
129
|
-
* </li>
|
|
130
|
-
* <li>
|
|
131
|
-
* <p>Error Code: <code>NoSuchUpload</code>
|
|
132
|
-
* </p>
|
|
133
|
-
* <ul>
|
|
134
|
-
* <li>
|
|
135
|
-
* <p>Description: The specified multipart upload does not exist. The upload ID
|
|
136
|
-
* might be invalid, or the multipart upload might have been aborted or
|
|
137
|
-
* completed.</p>
|
|
138
|
-
* </li>
|
|
139
|
-
* <li>
|
|
140
|
-
* <p>HTTP Status Code: 404 Not Found</p>
|
|
141
|
-
* </li>
|
|
142
|
-
* </ul>
|
|
143
|
-
* </li>
|
|
144
|
-
* </ul>
|
|
145
|
-
* </dd>
|
|
146
|
-
* <dt>HTTP Host header syntax</dt>
|
|
147
|
-
* <dd>
|
|
148
|
-
* <p>
|
|
149
|
-
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
150
|
-
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
151
|
-
* </dd>
|
|
152
|
-
* </dl>
|
|
153
|
-
* <p>The following operations are related to <code>CompleteMultipartUpload</code>:</p>
|
|
154
|
-
* <ul>
|
|
155
|
-
* <li>
|
|
156
|
-
* <p>
|
|
157
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>
|
|
158
|
-
* </p>
|
|
159
|
-
* </li>
|
|
160
|
-
* <li>
|
|
161
|
-
* <p>
|
|
162
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
|
|
163
|
-
* </p>
|
|
164
|
-
* </li>
|
|
165
|
-
* <li>
|
|
166
|
-
* <p>
|
|
167
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html">AbortMultipartUpload</a>
|
|
168
|
-
* </p>
|
|
169
|
-
* </li>
|
|
170
|
-
* <li>
|
|
171
|
-
* <p>
|
|
172
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html">ListParts</a>
|
|
173
|
-
* </p>
|
|
174
|
-
* </li>
|
|
175
|
-
* <li>
|
|
176
|
-
* <p>
|
|
177
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html">ListMultipartUploads</a>
|
|
178
|
-
* </p>
|
|
179
|
-
* </li>
|
|
180
|
-
* </ul>
|
|
181
|
-
* @example
|
|
182
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
183
|
-
* ```javascript
|
|
184
|
-
* import { S3Client, CompleteMultipartUploadCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
185
|
-
* // const { S3Client, CompleteMultipartUploadCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
186
|
-
* const client = new S3Client(config);
|
|
187
|
-
* const input = { // CompleteMultipartUploadRequest
|
|
188
|
-
* Bucket: "STRING_VALUE", // required
|
|
189
|
-
* Key: "STRING_VALUE", // required
|
|
190
|
-
* MultipartUpload: { // CompletedMultipartUpload
|
|
191
|
-
* Parts: [ // CompletedPartList
|
|
192
|
-
* { // CompletedPart
|
|
193
|
-
* ETag: "STRING_VALUE",
|
|
194
|
-
* ChecksumCRC32: "STRING_VALUE",
|
|
195
|
-
* ChecksumCRC32C: "STRING_VALUE",
|
|
196
|
-
* ChecksumSHA1: "STRING_VALUE",
|
|
197
|
-
* ChecksumSHA256: "STRING_VALUE",
|
|
198
|
-
* PartNumber: Number("int"),
|
|
199
|
-
* },
|
|
200
|
-
* ],
|
|
201
|
-
* },
|
|
202
|
-
* UploadId: "STRING_VALUE", // required
|
|
203
|
-
* ChecksumCRC32: "STRING_VALUE",
|
|
204
|
-
* ChecksumCRC32C: "STRING_VALUE",
|
|
205
|
-
* ChecksumSHA1: "STRING_VALUE",
|
|
206
|
-
* ChecksumSHA256: "STRING_VALUE",
|
|
207
|
-
* RequestPayer: "requester",
|
|
208
|
-
* ExpectedBucketOwner: "STRING_VALUE",
|
|
209
|
-
* SSECustomerAlgorithm: "STRING_VALUE",
|
|
210
|
-
* SSECustomerKey: "STRING_VALUE",
|
|
211
|
-
* SSECustomerKeyMD5: "STRING_VALUE",
|
|
212
|
-
* };
|
|
213
|
-
* const command = new CompleteMultipartUploadCommand(input);
|
|
214
|
-
* const response = await client.send(command);
|
|
215
|
-
* // { // CompleteMultipartUploadOutput
|
|
216
|
-
* // Location: "STRING_VALUE",
|
|
217
|
-
* // Bucket: "STRING_VALUE",
|
|
218
|
-
* // Key: "STRING_VALUE",
|
|
219
|
-
* // Expiration: "STRING_VALUE",
|
|
220
|
-
* // ETag: "STRING_VALUE",
|
|
221
|
-
* // ChecksumCRC32: "STRING_VALUE",
|
|
222
|
-
* // ChecksumCRC32C: "STRING_VALUE",
|
|
223
|
-
* // ChecksumSHA1: "STRING_VALUE",
|
|
224
|
-
* // ChecksumSHA256: "STRING_VALUE",
|
|
225
|
-
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
226
|
-
* // VersionId: "STRING_VALUE",
|
|
227
|
-
* // SSEKMSKeyId: "STRING_VALUE",
|
|
228
|
-
* // BucketKeyEnabled: true || false,
|
|
229
|
-
* // RequestCharged: "requester",
|
|
230
|
-
* // };
|
|
231
|
-
*
|
|
232
|
-
* ```
|
|
233
|
-
*
|
|
234
|
-
* @param CompleteMultipartUploadCommandInput - {@link CompleteMultipartUploadCommandInput}
|
|
235
|
-
* @returns {@link CompleteMultipartUploadCommandOutput}
|
|
236
|
-
* @see {@link CompleteMultipartUploadCommandInput} for command's `input` shape.
|
|
237
|
-
* @see {@link CompleteMultipartUploadCommandOutput} for command's `response` shape.
|
|
238
|
-
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
239
|
-
*
|
|
240
|
-
* @throws {@link S3ServiceException}
|
|
241
|
-
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
242
|
-
*
|
|
243
|
-
* @example To complete multipart upload
|
|
244
|
-
* ```javascript
|
|
245
|
-
* // The following example completes a multipart upload.
|
|
246
|
-
* const input = {
|
|
247
|
-
* "Bucket": "examplebucket",
|
|
248
|
-
* "Key": "bigobject",
|
|
249
|
-
* "MultipartUpload": {
|
|
250
|
-
* "Parts": [
|
|
251
|
-
* {
|
|
252
|
-
* "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
|
|
253
|
-
* "PartNumber": "1"
|
|
254
|
-
* },
|
|
255
|
-
* {
|
|
256
|
-
* "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
|
|
257
|
-
* "PartNumber": "2"
|
|
258
|
-
* }
|
|
259
|
-
* ]
|
|
260
|
-
* },
|
|
261
|
-
* "UploadId": "7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
|
|
262
|
-
* };
|
|
263
|
-
* const command = new CompleteMultipartUploadCommand(input);
|
|
264
|
-
* const response = await client.send(command);
|
|
265
|
-
* /* response ==
|
|
266
|
-
* {
|
|
267
|
-
* "Bucket": "acexamplebucket",
|
|
268
|
-
* "ETag": "\"4d9031c7644d8081c2829f4ea23c55f7-2\"",
|
|
269
|
-
* "Key": "bigobject",
|
|
270
|
-
* "Location": "https://examplebucket.s3.<Region>.amazonaws.com/bigobject"
|
|
271
|
-
* }
|
|
272
|
-
* *\/
|
|
273
|
-
* // example id: to-complete-multipart-upload-1481851590483
|
|
274
|
-
* ```
|
|
275
|
-
*
|
|
276
|
-
*/
|
|
277
|
-
export declare class CompleteMultipartUploadCommand extends $Command<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, S3ClientResolvedConfig> {
|
|
278
|
-
readonly input: CompleteMultipartUploadCommandInput;
|
|
279
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
280
|
-
/**
|
|
281
|
-
* @public
|
|
282
|
-
*/
|
|
283
|
-
constructor(input: CompleteMultipartUploadCommandInput);
|
|
284
|
-
/**
|
|
285
|
-
* @internal
|
|
286
|
-
*/
|
|
287
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput>;
|
|
288
|
-
/**
|
|
289
|
-
* @internal
|
|
290
|
-
*/
|
|
291
|
-
private serialize;
|
|
292
|
-
/**
|
|
293
|
-
* @internal
|
|
294
|
-
*/
|
|
295
|
-
private deserialize;
|
|
296
|
-
}
|
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { CopyObjectOutput, CopyObjectRequest } from "../models/models_0";
|
|
5
|
-
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export { __MetadataBearer, $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link CopyObjectCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface CopyObjectCommandInput extends CopyObjectRequest {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link CopyObjectCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @public
|
|
26
|
-
* <p>Creates a copy of an object that is already stored in Amazon S3.</p>
|
|
27
|
-
* <note>
|
|
28
|
-
* <p>You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your
|
|
29
|
-
* object up to 5 GB in size in a single atomic action using this API. However, to copy an
|
|
30
|
-
* object greater than 5 GB, you must use the multipart upload Upload Part - Copy
|
|
31
|
-
* (UploadPartCopy) API. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html">Copy Object Using the
|
|
32
|
-
* REST Multipart Upload API</a>.</p>
|
|
33
|
-
* </note>
|
|
34
|
-
* <p>You can copy individual objects between general purpose buckets, between directory buckets, and
|
|
35
|
-
* between general purpose buckets and directory buckets.</p>
|
|
36
|
-
* <note>
|
|
37
|
-
* <p>
|
|
38
|
-
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
|
|
39
|
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
40
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
41
|
-
* </note>
|
|
42
|
-
* <p>Both the
|
|
43
|
-
* Region that you want to copy the object from and the Region that you want to copy the
|
|
44
|
-
* object to must be enabled for your account.</p>
|
|
45
|
-
* <important>
|
|
46
|
-
* <p>Amazon S3 transfer acceleration does not support cross-Region copies. If you request a
|
|
47
|
-
* cross-Region copy using a transfer acceleration endpoint, you get a <code>400 Bad
|
|
48
|
-
* Request</code> error. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html">Transfer
|
|
49
|
-
* Acceleration</a>.</p>
|
|
50
|
-
* </important>
|
|
51
|
-
* <dl>
|
|
52
|
-
* <dt>Authentication and authorization</dt>
|
|
53
|
-
* <dd>
|
|
54
|
-
* <p>All <code>CopyObject</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including
|
|
55
|
-
* <code>x-amz-copy-source</code>, must be signed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>.</p>
|
|
56
|
-
* <p>
|
|
57
|
-
* <b>Directory buckets</b> - You must use the IAM credentials to authenticate and authorize your access to the <code>CopyObject</code> API operation, instead of using the
|
|
58
|
-
* temporary security credentials through the <code>CreateSession</code> API operation.</p>
|
|
59
|
-
* <p>Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.</p>
|
|
60
|
-
* </dd>
|
|
61
|
-
* <dt>Permissions</dt>
|
|
62
|
-
* <dd>
|
|
63
|
-
* <p>You must have
|
|
64
|
-
* <i>read</i> access to the source object and <i>write</i>
|
|
65
|
-
* access to the destination bucket.</p>
|
|
66
|
-
* <ul>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>
|
|
69
|
-
* <b>General purpose bucket permissions</b> -
|
|
70
|
-
* You must have permissions in an IAM policy based on the source and destination
|
|
71
|
-
* bucket types in a <code>CopyObject</code> operation.</p>
|
|
72
|
-
* <ul>
|
|
73
|
-
* <li>
|
|
74
|
-
* <p>If the source object is in a general purpose bucket, you must have
|
|
75
|
-
* <b>
|
|
76
|
-
* <code>s3:GetObject</code>
|
|
77
|
-
* </b>
|
|
78
|
-
* permission to read the source object that is being copied. </p>
|
|
79
|
-
* </li>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>If the destination bucket is a general purpose bucket, you must have
|
|
82
|
-
* <b>
|
|
83
|
-
* <code>s3:PubObject</code>
|
|
84
|
-
* </b>
|
|
85
|
-
* permission to write the object copy to the destination bucket. </p>
|
|
86
|
-
* </li>
|
|
87
|
-
* </ul>
|
|
88
|
-
* </li>
|
|
89
|
-
* <li>
|
|
90
|
-
* <p>
|
|
91
|
-
* <b>Directory bucket permissions</b> -
|
|
92
|
-
* You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination
|
|
93
|
-
* bucket types in a <code>CopyObject</code> operation.</p>
|
|
94
|
-
* <ul>
|
|
95
|
-
* <li>
|
|
96
|
-
* <p>If the source object that you want to copy is in a
|
|
97
|
-
* directory bucket, you must have the <b>
|
|
98
|
-
* <code>s3express:CreateSession</code>
|
|
99
|
-
* </b> permission in
|
|
100
|
-
* the <code>Action</code> element of a policy to read the object. By default, the session is in the <code>ReadWrite</code> mode. If you want to restrict the access, you can explicitly set the <code>s3express:SessionMode</code> condition key to <code>ReadOnly</code> on the copy source bucket.</p>
|
|
101
|
-
* </li>
|
|
102
|
-
* <li>
|
|
103
|
-
* <p>If the copy destination is a directory bucket, you must have the <b>
|
|
104
|
-
* <code>s3express:CreateSession</code>
|
|
105
|
-
* </b> permission in the
|
|
106
|
-
* <code>Action</code> element of a policy to write the object
|
|
107
|
-
* to the destination. The <code>s3express:SessionMode</code> condition
|
|
108
|
-
* key can't be set to <code>ReadOnly</code> on the copy destination bucket. </p>
|
|
109
|
-
* </li>
|
|
110
|
-
* </ul>
|
|
111
|
-
* <p>For example policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example bucket policies for S3 Express One Zone</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html">Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone</a> in the
|
|
112
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
113
|
-
* </li>
|
|
114
|
-
* </ul>
|
|
115
|
-
* </dd>
|
|
116
|
-
* <dt>Response and special errors</dt>
|
|
117
|
-
* <dd>
|
|
118
|
-
* <p>When the request is an HTTP 1.1 request, the response is chunk encoded.
|
|
119
|
-
* When the request is not an HTTP 1.1 request, the response would not contain the <code>Content-Length</code>.
|
|
120
|
-
* You always need to read the entire response body to check if the copy succeeds.
|
|
121
|
-
* to keep the connection alive while we copy the data. </p>
|
|
122
|
-
* <ul>
|
|
123
|
-
* <li>
|
|
124
|
-
* <p>If the copy is successful, you receive a response with information about the copied
|
|
125
|
-
* object.</p>
|
|
126
|
-
* </li>
|
|
127
|
-
* <li>
|
|
128
|
-
* <p>A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3
|
|
129
|
-
* is copying the files. A <code>200 OK</code> response can contain either a success or an error.</p>
|
|
130
|
-
* <ul>
|
|
131
|
-
* <li>
|
|
132
|
-
* <p>If the error occurs before the copy action starts, you receive a
|
|
133
|
-
* standard Amazon S3 error.</p>
|
|
134
|
-
* </li>
|
|
135
|
-
* <li>
|
|
136
|
-
* <p>If the error occurs during the copy operation, the error response is
|
|
137
|
-
* embedded in the <code>200 OK</code> response. For example, in a cross-region copy, you
|
|
138
|
-
* may encounter throttling and receive a <code>200 OK</code> response.
|
|
139
|
-
* For more information, see <a href="repost.aws/knowledge-center/s3-resolve-200-internalerror">Resolve
|
|
140
|
-
* the Error 200 response when copying objects to Amazon S3</a>.
|
|
141
|
-
* The <code>200 OK</code> status code means the copy was accepted, but
|
|
142
|
-
* it doesn't mean the copy is complete. Another example is
|
|
143
|
-
* when you disconnect from Amazon S3 before the copy is complete, Amazon S3 might cancel the copy and you may receive a <code>200 OK</code> response.
|
|
144
|
-
* You must stay connected to Amazon S3 until the entire response is successfully received and processed.</p>
|
|
145
|
-
* <p>If you call this API operation directly, make
|
|
146
|
-
* sure to design your application to parse the content of the response and handle it
|
|
147
|
-
* appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the
|
|
148
|
-
* embedded error and apply error handling per your configuration settings (including
|
|
149
|
-
* automatically retrying the request as appropriate). If the condition persists, the SDKs
|
|
150
|
-
* throw an exception (or, for the SDKs that don't use exceptions, they return an
|
|
151
|
-
* error).</p>
|
|
152
|
-
* </li>
|
|
153
|
-
* </ul>
|
|
154
|
-
* </li>
|
|
155
|
-
* </ul>
|
|
156
|
-
* </dd>
|
|
157
|
-
* <dt>Charge</dt>
|
|
158
|
-
* <dd>
|
|
159
|
-
* <p>The copy request charge is based on the storage class and Region that you specify for
|
|
160
|
-
* the destination object. The request can also result in a data retrieval charge for the
|
|
161
|
-
* source if the source storage class bills for data retrieval. For pricing information, see
|
|
162
|
-
* <a href="http://aws.amazon.com/s3/pricing/">Amazon S3 pricing</a>.</p>
|
|
163
|
-
* </dd>
|
|
164
|
-
* <dt>HTTP Host header syntax</dt>
|
|
165
|
-
* <dd>
|
|
166
|
-
* <p>
|
|
167
|
-
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
168
|
-
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
169
|
-
* </dd>
|
|
170
|
-
* </dl>
|
|
171
|
-
* <p>The following operations are related to <code>CopyObject</code>:</p>
|
|
172
|
-
* <ul>
|
|
173
|
-
* <li>
|
|
174
|
-
* <p>
|
|
175
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a>
|
|
176
|
-
* </p>
|
|
177
|
-
* </li>
|
|
178
|
-
* <li>
|
|
179
|
-
* <p>
|
|
180
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>
|
|
181
|
-
* </p>
|
|
182
|
-
* </li>
|
|
183
|
-
* </ul>
|
|
184
|
-
* @example
|
|
185
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
186
|
-
* ```javascript
|
|
187
|
-
* import { S3Client, CopyObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
188
|
-
* // const { S3Client, CopyObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
189
|
-
* const client = new S3Client(config);
|
|
190
|
-
* const input = { // CopyObjectRequest
|
|
191
|
-
* ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control",
|
|
192
|
-
* Bucket: "STRING_VALUE", // required
|
|
193
|
-
* CacheControl: "STRING_VALUE",
|
|
194
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
195
|
-
* ContentDisposition: "STRING_VALUE",
|
|
196
|
-
* ContentEncoding: "STRING_VALUE",
|
|
197
|
-
* ContentLanguage: "STRING_VALUE",
|
|
198
|
-
* ContentType: "STRING_VALUE",
|
|
199
|
-
* CopySource: "STRING_VALUE", // required
|
|
200
|
-
* CopySourceIfMatch: "STRING_VALUE",
|
|
201
|
-
* CopySourceIfModifiedSince: new Date("TIMESTAMP"),
|
|
202
|
-
* CopySourceIfNoneMatch: "STRING_VALUE",
|
|
203
|
-
* CopySourceIfUnmodifiedSince: new Date("TIMESTAMP"),
|
|
204
|
-
* Expires: new Date("TIMESTAMP"),
|
|
205
|
-
* GrantFullControl: "STRING_VALUE",
|
|
206
|
-
* GrantRead: "STRING_VALUE",
|
|
207
|
-
* GrantReadACP: "STRING_VALUE",
|
|
208
|
-
* GrantWriteACP: "STRING_VALUE",
|
|
209
|
-
* Key: "STRING_VALUE", // required
|
|
210
|
-
* Metadata: { // Metadata
|
|
211
|
-
* "<keys>": "STRING_VALUE",
|
|
212
|
-
* },
|
|
213
|
-
* MetadataDirective: "COPY" || "REPLACE",
|
|
214
|
-
* TaggingDirective: "COPY" || "REPLACE",
|
|
215
|
-
* ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
216
|
-
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
217
|
-
* WebsiteRedirectLocation: "STRING_VALUE",
|
|
218
|
-
* SSECustomerAlgorithm: "STRING_VALUE",
|
|
219
|
-
* SSECustomerKey: "STRING_VALUE",
|
|
220
|
-
* SSECustomerKeyMD5: "STRING_VALUE",
|
|
221
|
-
* SSEKMSKeyId: "STRING_VALUE",
|
|
222
|
-
* SSEKMSEncryptionContext: "STRING_VALUE",
|
|
223
|
-
* BucketKeyEnabled: true || false,
|
|
224
|
-
* CopySourceSSECustomerAlgorithm: "STRING_VALUE",
|
|
225
|
-
* CopySourceSSECustomerKey: "STRING_VALUE",
|
|
226
|
-
* CopySourceSSECustomerKeyMD5: "STRING_VALUE",
|
|
227
|
-
* RequestPayer: "requester",
|
|
228
|
-
* Tagging: "STRING_VALUE",
|
|
229
|
-
* ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
|
|
230
|
-
* ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
|
|
231
|
-
* ObjectLockLegalHoldStatus: "ON" || "OFF",
|
|
232
|
-
* ExpectedBucketOwner: "STRING_VALUE",
|
|
233
|
-
* ExpectedSourceBucketOwner: "STRING_VALUE",
|
|
234
|
-
* };
|
|
235
|
-
* const command = new CopyObjectCommand(input);
|
|
236
|
-
* const response = await client.send(command);
|
|
237
|
-
* // { // CopyObjectOutput
|
|
238
|
-
* // CopyObjectResult: { // CopyObjectResult
|
|
239
|
-
* // ETag: "STRING_VALUE",
|
|
240
|
-
* // LastModified: new Date("TIMESTAMP"),
|
|
241
|
-
* // ChecksumCRC32: "STRING_VALUE",
|
|
242
|
-
* // ChecksumCRC32C: "STRING_VALUE",
|
|
243
|
-
* // ChecksumSHA1: "STRING_VALUE",
|
|
244
|
-
* // ChecksumSHA256: "STRING_VALUE",
|
|
245
|
-
* // },
|
|
246
|
-
* // Expiration: "STRING_VALUE",
|
|
247
|
-
* // CopySourceVersionId: "STRING_VALUE",
|
|
248
|
-
* // VersionId: "STRING_VALUE",
|
|
249
|
-
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
250
|
-
* // SSECustomerAlgorithm: "STRING_VALUE",
|
|
251
|
-
* // SSECustomerKeyMD5: "STRING_VALUE",
|
|
252
|
-
* // SSEKMSKeyId: "STRING_VALUE",
|
|
253
|
-
* // SSEKMSEncryptionContext: "STRING_VALUE",
|
|
254
|
-
* // BucketKeyEnabled: true || false,
|
|
255
|
-
* // RequestCharged: "requester",
|
|
256
|
-
* // };
|
|
257
|
-
*
|
|
258
|
-
* ```
|
|
259
|
-
*
|
|
260
|
-
* @param CopyObjectCommandInput - {@link CopyObjectCommandInput}
|
|
261
|
-
* @returns {@link CopyObjectCommandOutput}
|
|
262
|
-
* @see {@link CopyObjectCommandInput} for command's `input` shape.
|
|
263
|
-
* @see {@link CopyObjectCommandOutput} for command's `response` shape.
|
|
264
|
-
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
265
|
-
*
|
|
266
|
-
* @throws {@link ObjectNotInActiveTierError} (client fault)
|
|
267
|
-
* <p>The source object of the COPY action is not in the active tier and is only stored in
|
|
268
|
-
* Amazon S3 Glacier.</p>
|
|
269
|
-
*
|
|
270
|
-
* @throws {@link S3ServiceException}
|
|
271
|
-
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
272
|
-
*
|
|
273
|
-
* @example To copy an object
|
|
274
|
-
* ```javascript
|
|
275
|
-
* // The following example copies an object from one bucket to another.
|
|
276
|
-
* const input = {
|
|
277
|
-
* "Bucket": "destinationbucket",
|
|
278
|
-
* "CopySource": "/sourcebucket/HappyFacejpg",
|
|
279
|
-
* "Key": "HappyFaceCopyjpg"
|
|
280
|
-
* };
|
|
281
|
-
* const command = new CopyObjectCommand(input);
|
|
282
|
-
* const response = await client.send(command);
|
|
283
|
-
* /* response ==
|
|
284
|
-
* {
|
|
285
|
-
* "CopyObjectResult": {
|
|
286
|
-
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
287
|
-
* "LastModified": "2016-12-15T17:38:53.000Z"
|
|
288
|
-
* }
|
|
289
|
-
* }
|
|
290
|
-
* *\/
|
|
291
|
-
* // example id: to-copy-an-object-1481823186878
|
|
292
|
-
* ```
|
|
293
|
-
*
|
|
294
|
-
*/
|
|
295
|
-
export declare class CopyObjectCommand extends $Command<CopyObjectCommandInput, CopyObjectCommandOutput, S3ClientResolvedConfig> {
|
|
296
|
-
readonly input: CopyObjectCommandInput;
|
|
297
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
298
|
-
/**
|
|
299
|
-
* @public
|
|
300
|
-
*/
|
|
301
|
-
constructor(input: CopyObjectCommandInput);
|
|
302
|
-
/**
|
|
303
|
-
* @internal
|
|
304
|
-
*/
|
|
305
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopyObjectCommandInput, CopyObjectCommandOutput>;
|
|
306
|
-
/**
|
|
307
|
-
* @internal
|
|
308
|
-
*/
|
|
309
|
-
private serialize;
|
|
310
|
-
/**
|
|
311
|
-
* @internal
|
|
312
|
-
*/
|
|
313
|
-
private deserialize;
|
|
314
|
-
}
|