@nocobase/plugin-file-manager 1.6.0-beta.2 → 1.6.0-beta.4
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/dist/client/index.js +1 -1
- package/dist/client/schemas/storageTypes/ali-oss.d.ts +3 -0
- package/dist/client/schemas/storageTypes/index.d.ts +9 -0
- package/dist/client/schemas/storageTypes/s3.d.ts +3 -0
- package/dist/client/schemas/storageTypes/tx-cos.d.ts +3 -0
- package/dist/externalVersion.js +6 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +1302 -101
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +12 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +10 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +13 -21
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +10 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +10 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +2 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +1300 -378
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +143 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +2257 -1975
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +16 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +18 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +16 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +1302 -101
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +12 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +10 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +12 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +12 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +12 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +12 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +12 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +12 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +12 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +10 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +10 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +2 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +1 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +1066 -362
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +116 -46
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1739 -1453
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +16 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +18 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +16 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +5312 -115
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +39 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +8 -96
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +66 -212
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +161 -253
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +124 -201
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +212 -247
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +8 -45
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +7 -85
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +8 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +12 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -43
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -45
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +8 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +11 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -44
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +22 -97
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +9 -57
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +5 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +7 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +23 -158
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -83
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +27 -238
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +7 -44
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +14 -72
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +11 -82
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +7 -95
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +10 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +9 -74
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +9 -127
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +9 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -66
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +13 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +9 -108
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +7 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +22 -110
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +7 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +9 -135
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +6 -74
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +7 -91
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +12 -126
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +117 -228
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +166 -290
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +6 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +7 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +6 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +13 -109
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +7 -63
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +8 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +21 -109
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +87 -216
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +12 -85
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -75
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +13 -82
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -76
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +5 -84
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +23 -262
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +13 -153
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +6 -130
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +24 -185
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +20 -165
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +15 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +122 -201
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +25 -83
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +10 -112
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +22 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +63 -99
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +71 -121
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +81 -197
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +54 -144
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +13 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +25 -134
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +6 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +20 -108
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +41 -171
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +7 -63
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +54 -104
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +24 -76
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +9 -93
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +129 -220
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +99 -342
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +13 -67
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +9 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +77 -108
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +14 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +214 -337
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +98 -200
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +92 -189
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +121 -237
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +34 -113
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +2 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +1 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2799 -5390
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +354 -1959
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +3 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +188 -764
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +38 -45
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +9 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +34 -41
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +8 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +2 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +36 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +6 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +5 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +11 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +11 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +5 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +2 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +1189 -639
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +123 -251
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +188 -212
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +62 -78
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +14 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +52 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
- package/dist/node_modules/mime-match/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
- package/dist/node_modules/multer-cos/index.js +1 -1
- package/dist/node_modules/multer-cos/package.json +1 -1
- package/dist/node_modules/multer-s3/index.js +4 -4
- package/dist/node_modules/multer-s3/package.json +1 -1
- package/dist/server/actions/attachments.js +2 -1
- package/dist/server/collections/attachments.js +1 -0
- package/dist/server/collections/storages.js +1 -0
- package/dist/server/server.d.ts +1 -0
- package/dist/server/server.js +8 -14
- package/package.json +3 -3
- 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/ListDirectoryBucketsCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.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/runtimeExtensions.js +0 -22
- 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/ListDirectoryBucketsCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.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/runtimeExtensions.js +0 -18
- 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/ListDirectoryBucketsCommand.d.ts +0 -98
- 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/pagination/ListDirectoryBucketsPaginator.d.ts +0 -7
- 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/commands/CreateSessionCommand.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/extensionConfiguration.d.ts +0 -7
- 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/runtimeExtensions.d.ts +0 -11
|
@@ -1,174 +1,158 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { UploadPartCopyOutput, UploadPartCopyRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export { __MetadataBearer, $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link UploadPartCopyCommand}.
|
|
14
|
-
*/
|
|
15
6
|
export interface UploadPartCopyCommandInput extends UploadPartCopyRequest {
|
|
16
7
|
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UploadPartCopyCommand}.
|
|
21
|
-
*/
|
|
22
8
|
export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __MetadataBearer {
|
|
23
9
|
}
|
|
24
10
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* a byte range, you add the request header <code>x-amz-copy-source-range</code> in your
|
|
11
|
+
* <p>Uploads a part by copying data from an existing object as data source. You specify the
|
|
12
|
+
* data source by adding the request header <code>x-amz-copy-source</code> in your request and
|
|
13
|
+
* a byte range by adding the request header <code>x-amz-copy-source-range</code> in your
|
|
29
14
|
* request. </p>
|
|
30
|
-
* <p>For information about maximum and minimum part sizes and other multipart upload
|
|
31
|
-
* specifications, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html">Multipart upload limits</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
15
|
+
* <p>For information about maximum and minimum part sizes and other multipart upload specifications, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html">Multipart upload limits</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
32
16
|
* <note>
|
|
33
|
-
* <p>Instead of
|
|
34
|
-
* action
|
|
17
|
+
* <p>Instead of using an existing object as part data, you might use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
|
|
18
|
+
* action and provide data in your request.</p>
|
|
35
19
|
* </note>
|
|
20
|
+
*
|
|
36
21
|
* <p>You must initiate a multipart upload before you can upload any part. In response to your
|
|
37
|
-
* initiate request
|
|
22
|
+
* initiate request. Amazon S3 returns a unique identifier, the upload ID, that you must include in
|
|
38
23
|
* your upload part request.</p>
|
|
39
|
-
* <p>For
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* <
|
|
53
|
-
* <p>
|
|
54
|
-
*
|
|
24
|
+
* <p>For more information about using the <code>UploadPartCopy</code> operation, see the
|
|
25
|
+
* following:</p>
|
|
26
|
+
*
|
|
27
|
+
* <ul>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>For conceptual information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading Objects Using Multipart
|
|
30
|
+
* Upload</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
31
|
+
* </li>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>For information about permissions required to use the multipart upload API, see
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload and
|
|
35
|
+
* Permissions</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>For information about copying objects using a single atomic action vs. a multipart
|
|
39
|
+
* upload, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html">Operations on Objects</a> in
|
|
40
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>For information about using server-side encryption with customer-provided
|
|
44
|
+
* encryption keys with the <code>UploadPartCopy</code> operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* </ul>
|
|
47
|
+
* <p>Note the following additional considerations about the request headers
|
|
48
|
+
* <code>x-amz-copy-source-if-match</code>, <code>x-amz-copy-source-if-none-match</code>,
|
|
49
|
+
* <code>x-amz-copy-source-if-unmodified-since</code>, and
|
|
50
|
+
* <code>x-amz-copy-source-if-modified-since</code>:</p>
|
|
51
|
+
* <p> </p>
|
|
52
|
+
* <ul>
|
|
53
|
+
* <li>
|
|
54
|
+
* <p>
|
|
55
|
+
* <b>Consideration 1</b> - If both of the
|
|
56
|
+
* <code>x-amz-copy-source-if-match</code> and
|
|
57
|
+
* <code>x-amz-copy-source-if-unmodified-since</code> headers are present in the
|
|
58
|
+
* request as follows:</p>
|
|
59
|
+
* <p>
|
|
60
|
+
* <code>x-amz-copy-source-if-match</code> condition evaluates to <code>true</code>,
|
|
61
|
+
* and;</p>
|
|
62
|
+
* <p>
|
|
63
|
+
* <code>x-amz-copy-source-if-unmodified-since</code> condition evaluates to
|
|
64
|
+
* <code>false</code>;</p>
|
|
65
|
+
* <p>Amazon S3 returns <code>200 OK</code> and copies the data.
|
|
66
|
+
* </p>
|
|
67
|
+
*
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
55
70
|
* <p>
|
|
56
|
-
* <b>
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
71
|
+
* <b>Consideration 2</b> - If both of the
|
|
72
|
+
* <code>x-amz-copy-source-if-none-match</code> and
|
|
73
|
+
* <code>x-amz-copy-source-if-modified-since</code> headers are present in the
|
|
74
|
+
* request as follows:</p>
|
|
75
|
+
* <p>
|
|
76
|
+
* <code>x-amz-copy-source-if-none-match</code> condition evaluates to
|
|
77
|
+
* <code>false</code>, and;</p>
|
|
78
|
+
* <p>
|
|
79
|
+
* <code>x-amz-copy-source-if-modified-since</code> condition evaluates to
|
|
80
|
+
* <code>true</code>;</p>
|
|
81
|
+
* <p>Amazon S3 returns <code>412 Precondition Failed</code> response code.
|
|
82
|
+
* </p>
|
|
83
|
+
* </li>
|
|
84
|
+
* </ul>
|
|
85
|
+
* <p>
|
|
86
|
+
* <b>Versioning</b>
|
|
87
|
+
* </p>
|
|
88
|
+
* <p>If your bucket has versioning enabled, you could have multiple versions of the same
|
|
89
|
+
* object. By default, <code>x-amz-copy-source</code> identifies the current version of the
|
|
90
|
+
* object to copy. If the current version is a delete marker and you don't specify a versionId
|
|
91
|
+
* in the <code>x-amz-copy-source</code>, Amazon S3 returns a 404 error, because the object does
|
|
92
|
+
* not exist. If you specify versionId in the <code>x-amz-copy-source</code> and the versionId
|
|
93
|
+
* is a delete marker, Amazon S3 returns an HTTP 400 error, because you are not allowed to specify
|
|
94
|
+
* a delete marker as a version for the <code>x-amz-copy-source</code>. </p>
|
|
95
|
+
* <p>You can optionally specify a specific version of the source object to copy by adding the
|
|
96
|
+
* <code>versionId</code> subresource as shown in the following example:</p>
|
|
97
|
+
* <p>
|
|
98
|
+
* <code>x-amz-copy-source: /bucket/object?versionId=version id</code>
|
|
99
|
+
* </p>
|
|
100
|
+
*
|
|
101
|
+
* <p class="title">
|
|
102
|
+
* <b>Special Errors</b>
|
|
103
|
+
* </p>
|
|
104
|
+
* <ul>
|
|
105
|
+
* <li>
|
|
64
106
|
* <ul>
|
|
65
107
|
* <li>
|
|
66
108
|
* <p>
|
|
67
|
-
* <
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* <code>s3:PubObject</code>
|
|
77
|
-
* </b> permission to write the object copy to the destination bucket.
|
|
78
|
-
* </p>
|
|
79
|
-
* </li>
|
|
80
|
-
* </ul>
|
|
81
|
-
* <p>For information about permissions required to use the multipart upload API, see
|
|
82
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload and Permissions</a> in the
|
|
83
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
109
|
+
* <i>Code: NoSuchUpload</i>
|
|
110
|
+
* </p>
|
|
111
|
+
* </li>
|
|
112
|
+
* <li>
|
|
113
|
+
* <p>
|
|
114
|
+
* <i>Cause: The specified multipart upload does not exist. The upload
|
|
115
|
+
* ID might be invalid, or the multipart upload might have been aborted or
|
|
116
|
+
* completed.</i>
|
|
117
|
+
* </p>
|
|
84
118
|
* </li>
|
|
85
119
|
* <li>
|
|
86
120
|
* <p>
|
|
87
|
-
* <
|
|
88
|
-
*
|
|
89
|
-
* bucket types in an <code>UploadPartCopy</code> operation.</p>
|
|
90
|
-
* <ul>
|
|
91
|
-
* <li>
|
|
92
|
-
* <p>If the source object that you want to copy is in a
|
|
93
|
-
* directory bucket, you must have the <b>
|
|
94
|
-
* <code>s3express:CreateSession</code>
|
|
95
|
-
* </b> permission in
|
|
96
|
-
* the <code>Action</code> element of a policy to read the object
|
|
97
|
-
* .
|
|
98
|
-
* 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>
|
|
99
|
-
* </li>
|
|
100
|
-
* <li>
|
|
101
|
-
* <p>If the copy destination is a directory bucket, you must have the
|
|
102
|
-
* <b>
|
|
103
|
-
* <code>s3express:CreateSession</code>
|
|
104
|
-
* </b> permission in the
|
|
105
|
-
* <code>Action</code> element of a policy to write the object
|
|
106
|
-
* to the destination. The <code>s3express:SessionMode</code> condition
|
|
107
|
-
* key cannot be set to <code>ReadOnly</code> on the copy destination. </p>
|
|
108
|
-
* </li>
|
|
109
|
-
* </ul>
|
|
110
|
-
* <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
|
|
111
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
121
|
+
* <i>HTTP Status Code: 404 Not Found</i>
|
|
122
|
+
* </p>
|
|
112
123
|
* </li>
|
|
113
124
|
* </ul>
|
|
114
|
-
* </
|
|
115
|
-
* <
|
|
116
|
-
* <dd>
|
|
125
|
+
* </li>
|
|
126
|
+
* <li>
|
|
117
127
|
* <ul>
|
|
118
128
|
* <li>
|
|
119
129
|
* <p>
|
|
120
|
-
* <
|
|
121
|
-
*
|
|
122
|
-
* For information about using server-side encryption with customer-provided
|
|
123
|
-
* encryption keys with the <code>UploadPartCopy</code> operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>.
|
|
130
|
+
* <i>Code: InvalidRequest</i>
|
|
124
131
|
* </p>
|
|
125
132
|
* </li>
|
|
126
133
|
* <li>
|
|
127
134
|
* <p>
|
|
128
|
-
* <
|
|
129
|
-
*
|
|
130
|
-
* </ul>
|
|
131
|
-
* </dd>
|
|
132
|
-
* <dt>Special errors</dt>
|
|
133
|
-
* <dd>
|
|
134
|
-
* <ul>
|
|
135
|
-
* <li>
|
|
136
|
-
* <p>Error Code: <code>NoSuchUpload</code>
|
|
135
|
+
* <i>Cause: The specified copy source is not supported as a byte-range
|
|
136
|
+
* copy source.</i>
|
|
137
137
|
* </p>
|
|
138
|
-
* <ul>
|
|
139
|
-
* <li>
|
|
140
|
-
* <p>Description: The specified multipart upload does not exist. The
|
|
141
|
-
* upload ID might be invalid, or the multipart upload might have been
|
|
142
|
-
* aborted or completed.</p>
|
|
143
|
-
* </li>
|
|
144
|
-
* <li>
|
|
145
|
-
* <p>HTTP Status Code: 404 Not Found</p>
|
|
146
|
-
* </li>
|
|
147
|
-
* </ul>
|
|
148
138
|
* </li>
|
|
149
139
|
* <li>
|
|
150
|
-
* <p>
|
|
140
|
+
* <p>
|
|
141
|
+
* <i>HTTP Status Code: 400 Bad Request</i>
|
|
151
142
|
* </p>
|
|
152
|
-
* <ul>
|
|
153
|
-
* <li>
|
|
154
|
-
* <p>Description: The specified copy source is not supported as a
|
|
155
|
-
* byte-range copy source.</p>
|
|
156
|
-
* </li>
|
|
157
|
-
* <li>
|
|
158
|
-
* <p>HTTP Status Code: 400 Bad Request</p>
|
|
159
|
-
* </li>
|
|
160
|
-
* </ul>
|
|
161
143
|
* </li>
|
|
162
144
|
* </ul>
|
|
163
|
-
* </
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
* <p
|
|
145
|
+
* </li>
|
|
146
|
+
* </ul>
|
|
147
|
+
*
|
|
148
|
+
*
|
|
149
|
+
*
|
|
150
|
+
*
|
|
151
|
+
*
|
|
152
|
+
*
|
|
153
|
+
* <p class="title">
|
|
154
|
+
* <b>Related Resources</b>
|
|
155
|
+
* </p>
|
|
172
156
|
* <ul>
|
|
173
157
|
* <li>
|
|
174
158
|
* <p>
|
|
@@ -207,123 +191,23 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met
|
|
|
207
191
|
* import { S3Client, UploadPartCopyCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
208
192
|
* // const { S3Client, UploadPartCopyCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
209
193
|
* const client = new S3Client(config);
|
|
210
|
-
* const input = { // UploadPartCopyRequest
|
|
211
|
-
* Bucket: "STRING_VALUE", // required
|
|
212
|
-
* CopySource: "STRING_VALUE", // required
|
|
213
|
-
* CopySourceIfMatch: "STRING_VALUE",
|
|
214
|
-
* CopySourceIfModifiedSince: new Date("TIMESTAMP"),
|
|
215
|
-
* CopySourceIfNoneMatch: "STRING_VALUE",
|
|
216
|
-
* CopySourceIfUnmodifiedSince: new Date("TIMESTAMP"),
|
|
217
|
-
* CopySourceRange: "STRING_VALUE",
|
|
218
|
-
* Key: "STRING_VALUE", // required
|
|
219
|
-
* PartNumber: Number("int"), // required
|
|
220
|
-
* UploadId: "STRING_VALUE", // required
|
|
221
|
-
* SSECustomerAlgorithm: "STRING_VALUE",
|
|
222
|
-
* SSECustomerKey: "STRING_VALUE",
|
|
223
|
-
* SSECustomerKeyMD5: "STRING_VALUE",
|
|
224
|
-
* CopySourceSSECustomerAlgorithm: "STRING_VALUE",
|
|
225
|
-
* CopySourceSSECustomerKey: "STRING_VALUE",
|
|
226
|
-
* CopySourceSSECustomerKeyMD5: "STRING_VALUE",
|
|
227
|
-
* RequestPayer: "requester",
|
|
228
|
-
* ExpectedBucketOwner: "STRING_VALUE",
|
|
229
|
-
* ExpectedSourceBucketOwner: "STRING_VALUE",
|
|
230
|
-
* };
|
|
231
194
|
* const command = new UploadPartCopyCommand(input);
|
|
232
195
|
* const response = await client.send(command);
|
|
233
|
-
* // { // UploadPartCopyOutput
|
|
234
|
-
* // CopySourceVersionId: "STRING_VALUE",
|
|
235
|
-
* // CopyPartResult: { // CopyPartResult
|
|
236
|
-
* // ETag: "STRING_VALUE",
|
|
237
|
-
* // LastModified: new Date("TIMESTAMP"),
|
|
238
|
-
* // ChecksumCRC32: "STRING_VALUE",
|
|
239
|
-
* // ChecksumCRC32C: "STRING_VALUE",
|
|
240
|
-
* // ChecksumSHA1: "STRING_VALUE",
|
|
241
|
-
* // ChecksumSHA256: "STRING_VALUE",
|
|
242
|
-
* // },
|
|
243
|
-
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
244
|
-
* // SSECustomerAlgorithm: "STRING_VALUE",
|
|
245
|
-
* // SSECustomerKeyMD5: "STRING_VALUE",
|
|
246
|
-
* // SSEKMSKeyId: "STRING_VALUE",
|
|
247
|
-
* // BucketKeyEnabled: true || false,
|
|
248
|
-
* // RequestCharged: "requester",
|
|
249
|
-
* // };
|
|
250
|
-
*
|
|
251
196
|
* ```
|
|
252
197
|
*
|
|
253
|
-
* @param UploadPartCopyCommandInput - {@link UploadPartCopyCommandInput}
|
|
254
|
-
* @returns {@link UploadPartCopyCommandOutput}
|
|
255
198
|
* @see {@link UploadPartCopyCommandInput} for command's `input` shape.
|
|
256
199
|
* @see {@link UploadPartCopyCommandOutput} for command's `response` shape.
|
|
257
200
|
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
258
201
|
*
|
|
259
|
-
* @throws {@link S3ServiceException}
|
|
260
|
-
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
261
|
-
*
|
|
262
|
-
* @example To upload a part by copying data from an existing object as data source
|
|
263
|
-
* ```javascript
|
|
264
|
-
* // The following example uploads a part of a multipart upload by copying data from an existing object as data source.
|
|
265
|
-
* const input = {
|
|
266
|
-
* "Bucket": "examplebucket",
|
|
267
|
-
* "CopySource": "/bucketname/sourceobjectkey",
|
|
268
|
-
* "Key": "examplelargeobject",
|
|
269
|
-
* "PartNumber": "1",
|
|
270
|
-
* "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
|
271
|
-
* };
|
|
272
|
-
* const command = new UploadPartCopyCommand(input);
|
|
273
|
-
* const response = await client.send(command);
|
|
274
|
-
* /* response ==
|
|
275
|
-
* {
|
|
276
|
-
* "CopyPartResult": {
|
|
277
|
-
* "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
|
|
278
|
-
* "LastModified": "2016-12-29T21:24:43.000Z"
|
|
279
|
-
* }
|
|
280
|
-
* }
|
|
281
|
-
* *\/
|
|
282
|
-
* // example id: to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348
|
|
283
|
-
* ```
|
|
284
|
-
*
|
|
285
|
-
* @example To upload a part by copying byte range from an existing object as data source
|
|
286
|
-
* ```javascript
|
|
287
|
-
* // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.
|
|
288
|
-
* const input = {
|
|
289
|
-
* "Bucket": "examplebucket",
|
|
290
|
-
* "CopySource": "/bucketname/sourceobjectkey",
|
|
291
|
-
* "CopySourceRange": "bytes=1-100000",
|
|
292
|
-
* "Key": "examplelargeobject",
|
|
293
|
-
* "PartNumber": "2",
|
|
294
|
-
* "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
|
295
|
-
* };
|
|
296
|
-
* const command = new UploadPartCopyCommand(input);
|
|
297
|
-
* const response = await client.send(command);
|
|
298
|
-
* /* response ==
|
|
299
|
-
* {
|
|
300
|
-
* "CopyPartResult": {
|
|
301
|
-
* "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
|
|
302
|
-
* "LastModified": "2016-12-29T21:44:28.000Z"
|
|
303
|
-
* }
|
|
304
|
-
* }
|
|
305
|
-
* *\/
|
|
306
|
-
* // example id: to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594
|
|
307
|
-
* ```
|
|
308
|
-
*
|
|
309
202
|
*/
|
|
310
203
|
export declare class UploadPartCopyCommand extends $Command<UploadPartCopyCommandInput, UploadPartCopyCommandOutput, S3ClientResolvedConfig> {
|
|
311
204
|
readonly input: UploadPartCopyCommandInput;
|
|
312
205
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
313
|
-
/**
|
|
314
|
-
* @public
|
|
315
|
-
*/
|
|
316
206
|
constructor(input: UploadPartCopyCommandInput);
|
|
317
207
|
/**
|
|
318
208
|
* @internal
|
|
319
209
|
*/
|
|
320
210
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UploadPartCopyCommandInput, UploadPartCopyCommandOutput>;
|
|
321
|
-
/**
|
|
322
|
-
* @internal
|
|
323
|
-
*/
|
|
324
211
|
private serialize;
|
|
325
|
-
/**
|
|
326
|
-
* @internal
|
|
327
|
-
*/
|
|
328
212
|
private deserialize;
|
|
329
213
|
}
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts
CHANGED
|
@@ -1,149 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
5
|
import { WriteGetObjectResponseRequest } from "../models/models_1";
|
|
5
6
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
7
|
+
declare type WriteGetObjectResponseCommandInputType = Omit<WriteGetObjectResponseRequest, "Body"> & {
|
|
8
|
+
/**
|
|
9
|
+
* For *`WriteGetObjectResponseRequest["Body"]`*, see {@link WriteGetObjectResponseRequest.Body}.
|
|
10
|
+
*/
|
|
11
|
+
Body?: WriteGetObjectResponseRequest["Body"] | string | Uint8Array | Buffer;
|
|
12
|
+
};
|
|
6
13
|
/**
|
|
7
|
-
* @
|
|
8
|
-
*/
|
|
9
|
-
export { __MetadataBearer, $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link WriteGetObjectResponseCommand}.
|
|
14
|
+
* This interface extends from `WriteGetObjectResponseRequest` interface. There are more parameters than `Body` defined in {@link WriteGetObjectResponseRequest}
|
|
14
15
|
*/
|
|
15
|
-
export interface WriteGetObjectResponseCommandInput extends
|
|
16
|
-
Body?: StreamingBlobPayloadInputTypes;
|
|
16
|
+
export interface WriteGetObjectResponseCommandInput extends WriteGetObjectResponseCommandInputType {
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
19
|
-
* @public
|
|
20
|
-
*
|
|
21
|
-
* The output of {@link WriteGetObjectResponseCommand}.
|
|
22
|
-
*/
|
|
23
18
|
export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {
|
|
24
19
|
}
|
|
25
20
|
/**
|
|
26
|
-
*
|
|
27
|
-
* <
|
|
28
|
-
*
|
|
29
|
-
* </note>
|
|
30
|
-
* <p>Passes transformed objects to a <code>GetObject</code> operation when using Object Lambda access points. For
|
|
31
|
-
* information about Object Lambda access points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html">Transforming objects with
|
|
21
|
+
* <p>Passes transformed
|
|
22
|
+
* objects to a <code>GetObject</code> operation when using Object Lambda access points. For information about
|
|
23
|
+
* Object Lambda access points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html">Transforming objects with
|
|
32
24
|
* Object Lambda access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
33
25
|
* <p>This operation supports metadata that can be returned by <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>, in addition to
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* <p>You can include any number of metadata headers. When including a metadata header, it
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* <p>Example
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* such as names, addresses, dates, credit card numbers, and social security numbers from
|
|
53
|
-
* documents in your Amazon S3 bucket. </p>
|
|
54
|
-
* <p>Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural
|
|
55
|
-
* language processing (NLP) service using machine learning to find insights and relationships
|
|
56
|
-
* in text. It automatically redacts personally identifiable information (PII) such as names,
|
|
57
|
-
* addresses, dates, credit card numbers, and social security numbers from documents in your
|
|
58
|
-
* Amazon S3 bucket. </p>
|
|
59
|
-
* <p>Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is
|
|
60
|
-
* equipped to decompress objects stored in S3 in one of six compressed file formats including
|
|
61
|
-
* bzip2, gzip, snappy, zlib, zstandard and ZIP. </p>
|
|
62
|
-
* <p>For information on how to view and use these functions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-examples.html">Using Amazon Web Services built Lambda
|
|
63
|
-
* functions</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
26
|
+
* <code>RequestRoute</code>, <code>RequestToken</code>, <code>StatusCode</code>,
|
|
27
|
+
* <code>ErrorCode</code>, and <code>ErrorMessage</code>. The <code>GetObject</code>
|
|
28
|
+
* response metadata is supported so that the <code>WriteGetObjectResponse</code> caller,
|
|
29
|
+
* typically an Lambda function, can provide the same metadata when it internally invokes
|
|
30
|
+
* <code>GetObject</code>. When <code>WriteGetObjectResponse</code> is called by a
|
|
31
|
+
* customer-owned Lambda function, the metadata returned to the end user
|
|
32
|
+
* <code>GetObject</code> call might differ from what Amazon S3 would normally return.</p>
|
|
33
|
+
* <p>You can include any number of metadata headers. When including a metadata header, it should be
|
|
34
|
+
* prefaced with <code>x-amz-meta</code>. For example, <code>x-amz-meta-my-custom-header: MyCustomValue</code>.
|
|
35
|
+
* The primary use case for this is to forward <code>GetObject</code> metadata.</p>
|
|
36
|
+
* <p>Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to detect and redact
|
|
37
|
+
* personally identifiable information (PII) and decompress S3 objects. These Lambda functions
|
|
38
|
+
* are available in the Amazon Web Services Serverless Application Repository, and can be selected through the Amazon Web Services Management Console when you create your
|
|
39
|
+
* Object Lambda access point.</p>
|
|
40
|
+
* <p>Example 1: PII Access Control - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically detects personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket. </p>
|
|
41
|
+
* <p>Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically redacts personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket. </p>
|
|
42
|
+
* <p>Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is equipped to decompress objects stored in S3 in one of six compressed file formats including bzip2, gzip, snappy, zlib, zstandard and ZIP. </p>
|
|
43
|
+
* <p>For information on how to view and use these functions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-examples.html">Using Amazon Web Services built Lambda functions</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
64
44
|
* @example
|
|
65
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
66
46
|
* ```javascript
|
|
67
47
|
* import { S3Client, WriteGetObjectResponseCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
68
48
|
* // const { S3Client, WriteGetObjectResponseCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
69
49
|
* const client = new S3Client(config);
|
|
70
|
-
* const input = { // WriteGetObjectResponseRequest
|
|
71
|
-
* RequestRoute: "STRING_VALUE", // required
|
|
72
|
-
* RequestToken: "STRING_VALUE", // required
|
|
73
|
-
* Body: "STREAMING_BLOB_VALUE",
|
|
74
|
-
* StatusCode: Number("int"),
|
|
75
|
-
* ErrorCode: "STRING_VALUE",
|
|
76
|
-
* ErrorMessage: "STRING_VALUE",
|
|
77
|
-
* AcceptRanges: "STRING_VALUE",
|
|
78
|
-
* CacheControl: "STRING_VALUE",
|
|
79
|
-
* ContentDisposition: "STRING_VALUE",
|
|
80
|
-
* ContentEncoding: "STRING_VALUE",
|
|
81
|
-
* ContentLanguage: "STRING_VALUE",
|
|
82
|
-
* ContentLength: Number("long"),
|
|
83
|
-
* ContentRange: "STRING_VALUE",
|
|
84
|
-
* ContentType: "STRING_VALUE",
|
|
85
|
-
* ChecksumCRC32: "STRING_VALUE",
|
|
86
|
-
* ChecksumCRC32C: "STRING_VALUE",
|
|
87
|
-
* ChecksumSHA1: "STRING_VALUE",
|
|
88
|
-
* ChecksumSHA256: "STRING_VALUE",
|
|
89
|
-
* DeleteMarker: true || false,
|
|
90
|
-
* ETag: "STRING_VALUE",
|
|
91
|
-
* Expires: new Date("TIMESTAMP"),
|
|
92
|
-
* Expiration: "STRING_VALUE",
|
|
93
|
-
* LastModified: new Date("TIMESTAMP"),
|
|
94
|
-
* MissingMeta: Number("int"),
|
|
95
|
-
* Metadata: { // Metadata
|
|
96
|
-
* "<keys>": "STRING_VALUE",
|
|
97
|
-
* },
|
|
98
|
-
* ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
|
|
99
|
-
* ObjectLockLegalHoldStatus: "ON" || "OFF",
|
|
100
|
-
* ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
|
|
101
|
-
* PartsCount: Number("int"),
|
|
102
|
-
* ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED",
|
|
103
|
-
* RequestCharged: "requester",
|
|
104
|
-
* Restore: "STRING_VALUE",
|
|
105
|
-
* ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
106
|
-
* SSECustomerAlgorithm: "STRING_VALUE",
|
|
107
|
-
* SSEKMSKeyId: "STRING_VALUE",
|
|
108
|
-
* SSECustomerKeyMD5: "STRING_VALUE",
|
|
109
|
-
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
110
|
-
* TagCount: Number("int"),
|
|
111
|
-
* VersionId: "STRING_VALUE",
|
|
112
|
-
* BucketKeyEnabled: true || false,
|
|
113
|
-
* };
|
|
114
50
|
* const command = new WriteGetObjectResponseCommand(input);
|
|
115
51
|
* const response = await client.send(command);
|
|
116
|
-
* // {};
|
|
117
|
-
*
|
|
118
52
|
* ```
|
|
119
53
|
*
|
|
120
|
-
* @param WriteGetObjectResponseCommandInput - {@link WriteGetObjectResponseCommandInput}
|
|
121
|
-
* @returns {@link WriteGetObjectResponseCommandOutput}
|
|
122
54
|
* @see {@link WriteGetObjectResponseCommandInput} for command's `input` shape.
|
|
123
55
|
* @see {@link WriteGetObjectResponseCommandOutput} for command's `response` shape.
|
|
124
56
|
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
125
57
|
*
|
|
126
|
-
* @throws {@link S3ServiceException}
|
|
127
|
-
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
128
|
-
*
|
|
129
58
|
*/
|
|
130
59
|
export declare class WriteGetObjectResponseCommand extends $Command<WriteGetObjectResponseCommandInput, WriteGetObjectResponseCommandOutput, S3ClientResolvedConfig> {
|
|
131
60
|
readonly input: WriteGetObjectResponseCommandInput;
|
|
132
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
133
|
-
/**
|
|
134
|
-
* @public
|
|
135
|
-
*/
|
|
136
62
|
constructor(input: WriteGetObjectResponseCommandInput);
|
|
137
63
|
/**
|
|
138
64
|
* @internal
|
|
139
65
|
*/
|
|
140
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<WriteGetObjectResponseCommandInput, WriteGetObjectResponseCommandOutput>;
|
|
141
|
-
/**
|
|
142
|
-
* @internal
|
|
143
|
-
*/
|
|
144
67
|
private serialize;
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
*/
|
|
148
68
|
private deserialize;
|
|
149
69
|
}
|
|
70
|
+
export {};
|
|
@@ -3,7 +3,6 @@ export * from "./CompleteMultipartUploadCommand";
|
|
|
3
3
|
export * from "./CopyObjectCommand";
|
|
4
4
|
export * from "./CreateBucketCommand";
|
|
5
5
|
export * from "./CreateMultipartUploadCommand";
|
|
6
|
-
export * from "./CreateSessionCommand";
|
|
7
6
|
export * from "./DeleteBucketAnalyticsConfigurationCommand";
|
|
8
7
|
export * from "./DeleteBucketCommand";
|
|
9
8
|
export * from "./DeleteBucketCorsCommand";
|
|
@@ -57,7 +56,6 @@ export * from "./ListBucketIntelligentTieringConfigurationsCommand";
|
|
|
57
56
|
export * from "./ListBucketInventoryConfigurationsCommand";
|
|
58
57
|
export * from "./ListBucketMetricsConfigurationsCommand";
|
|
59
58
|
export * from "./ListBucketsCommand";
|
|
60
|
-
export * from "./ListDirectoryBucketsCommand";
|
|
61
59
|
export * from "./ListMultipartUploadsCommand";
|
|
62
60
|
export * from "./ListObjectVersionsCommand";
|
|
63
61
|
export * from "./ListObjectsCommand";
|