@nocobase/plugin-file-manager 1.5.11 → 1.5.13
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/externalVersion.js +6 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +24 -3
- 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 +34520 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +20 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +26 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +123 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +22 -51
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +24 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +24 -51
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +23 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +23 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +26 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +19 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +24 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +18 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +23 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +24 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +21 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +25 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +23 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +25 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +27 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +26 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +26 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +22 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +19 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +24 -3
- 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 +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +41 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +63 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +2 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +2 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +2 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +4054 -5980
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +22 -13
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +24 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +46 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +48 -32
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +85 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +130 -84
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +113 -90
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +152 -102
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +92 -41
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +35 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +68 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +74 -32
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +50 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +34 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +33 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +62 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +69 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +85 -41
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +55 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +92 -66
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +111 -84
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +41 -43
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +62 -45
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +101 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +43 -30
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +37 -28
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +108 -89
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +25 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +24 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +60 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +49 -43
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +24 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +133 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +116 -78
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +24 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +57 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +26 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +31 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +158 -93
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +25 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +24 -85
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +95 -68
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +132 -85
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +24 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +43 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +3842 -3109
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1620 -883
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +21 -13
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +20 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +25 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +4 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +71 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +47 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +55 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +34 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +34 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +37 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +36 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +36 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +38 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +36 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +36 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +34 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +34 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +32 -21
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +43 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +878 -916
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +404 -271
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +48 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +48 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -2
- 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/package.json +1 -1
- package/dist/node_modules/multer-s3/index.js +40813 -33
- package/dist/node_modules/multer-s3/package.json +1 -1
- package/package.json +3 -3
- 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/extensionConfiguration.js +0 -2
- 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/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
|
@@ -1,62 +1,577 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import { AccessControlPolicy, BucketVersioningStatus, ChecksumAlgorithm, ErrorDocument, Grant, IndexDocument, ObjectCannedACL, ObjectLockConfiguration, ObjectLockLegalHold, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, Payer, PublicAccessBlockConfiguration, RedirectAllRequestsTo, ReplicationConfiguration, ReplicationStatus, RequestCharged, RequestPayer, RoutingRule, ServerSideEncryption, StorageClass, Tag } from "./models_0";
|
|
3
|
+
import { AccessControlPolicy, BucketVersioningStatus, ChecksumAlgorithm, ChecksumType, CORSRule, ErrorDocument, Grant, IndexDocument, IntelligentTieringConfiguration, InventoryConfiguration, LifecycleRule, LoggingEnabled, MetricsConfiguration, NotificationConfiguration, ObjectCannedACL, ObjectLockConfiguration, ObjectLockLegalHold, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, OwnershipControls, Payer, PublicAccessBlockConfiguration, RedirectAllRequestsTo, ReplicationConfiguration, ReplicationStatus, RequestCharged, RequestPayer, RoutingRule, ServerSideEncryption, ServerSideEncryptionConfiguration, StorageClass, Tag, TransitionDefaultMinimumObjectSize } from "./models_0";
|
|
4
4
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
5
5
|
/**
|
|
6
|
+
* <p>Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more
|
|
7
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling
|
|
8
|
+
* Cross-Origin Resource Sharing</a> in the
|
|
9
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
6
10
|
* @public
|
|
7
11
|
*/
|
|
8
|
-
export interface
|
|
12
|
+
export interface CORSConfiguration {
|
|
9
13
|
/**
|
|
14
|
+
* <p>A set of origins and methods (cross-origin access that you want to allow). You can add
|
|
15
|
+
* up to 100 rules to the configuration.</p>
|
|
10
16
|
* @public
|
|
11
|
-
|
|
17
|
+
*/
|
|
18
|
+
CORSRules: CORSRule[] | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface PutBucketCorsRequest {
|
|
24
|
+
/**
|
|
25
|
+
* <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p>
|
|
12
26
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
13
27
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
28
|
+
* @public
|
|
14
29
|
*/
|
|
15
30
|
Bucket: string | undefined;
|
|
16
31
|
/**
|
|
32
|
+
* <p>Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more
|
|
33
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling
|
|
34
|
+
* Cross-Origin Resource Sharing</a> in the
|
|
35
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
17
36
|
* @public
|
|
18
|
-
|
|
37
|
+
*/
|
|
38
|
+
CORSConfiguration: CORSConfiguration | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. This header must be used as a message
|
|
19
41
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
20
|
-
* information,
|
|
42
|
+
* information, go to <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC
|
|
43
|
+
* 1864.</a>
|
|
44
|
+
* </p>
|
|
21
45
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
46
|
+
* @public
|
|
22
47
|
*/
|
|
23
|
-
ContentMD5?: string;
|
|
48
|
+
ContentMD5?: string | undefined;
|
|
24
49
|
/**
|
|
50
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
51
|
+
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
52
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
53
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
54
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
55
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
56
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
25
57
|
* @public
|
|
26
|
-
|
|
58
|
+
*/
|
|
59
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
ExpectedBucketOwner?: string | undefined;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export interface PutBucketEncryptionRequest {
|
|
70
|
+
/**
|
|
71
|
+
* <p>Specifies default encryption for a bucket using server-side encryption with different
|
|
72
|
+
* key options.</p>
|
|
73
|
+
* <p>
|
|
74
|
+
* <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
75
|
+
* </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
|
|
76
|
+
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
77
|
+
* <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
|
|
78
|
+
* </p>
|
|
79
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
80
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
Bucket: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the server-side encryption
|
|
86
|
+
* configuration.</p>
|
|
87
|
+
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
88
|
+
* <note>
|
|
89
|
+
* <p>This functionality is not supported for directory buckets.</p>
|
|
90
|
+
* </note>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
ContentMD5?: string | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
27
96
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
28
97
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
29
98
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
30
99
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
31
100
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
32
101
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
102
|
+
* <note>
|
|
103
|
+
* <p>For directory buckets, when you use Amazon Web Services SDKs, <code>CRC32</code> is the default checksum algorithm that's used for performance.</p>
|
|
104
|
+
* </note>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>Specifies the default server-side-encryption configuration.</p>
|
|
110
|
+
* @public
|
|
33
111
|
*/
|
|
34
|
-
|
|
112
|
+
ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined;
|
|
35
113
|
/**
|
|
114
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
115
|
+
* <note>
|
|
116
|
+
* <p>For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code
|
|
117
|
+
* <code>501 Not Implemented</code>.</p>
|
|
118
|
+
* </note>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
ExpectedBucketOwner?: string | undefined;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export interface PutBucketIntelligentTieringConfigurationRequest {
|
|
127
|
+
/**
|
|
128
|
+
* <p>The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.</p>
|
|
129
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
130
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
Bucket: string | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* <p>The ID used to identify the S3 Intelligent-Tiering configuration.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
Id: string | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>Container for S3 Intelligent-Tiering configuration.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
IntelligentTieringConfiguration: IntelligentTieringConfiguration | undefined;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export interface PutBucketInventoryConfigurationRequest {
|
|
149
|
+
/**
|
|
150
|
+
* <p>The name of the bucket where the inventory configuration will be stored.</p>
|
|
151
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
152
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
Bucket: string | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* <p>The ID used to identify the inventory configuration.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
Id: string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* <p>Specifies the inventory configuration.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
InventoryConfiguration: InventoryConfiguration | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
ExpectedBucketOwner?: string | undefined;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export interface PutBucketLifecycleConfigurationOutput {
|
|
176
|
+
/**
|
|
177
|
+
* <p>Indicates which default minimum object size behavior is applied to the lifecycle
|
|
178
|
+
* configuration.</p>
|
|
179
|
+
* <note>
|
|
180
|
+
* <p>This parameter applies to general purpose buckets only. It is not supported for
|
|
181
|
+
* directory bucket lifecycle configurations.</p>
|
|
182
|
+
* </note>
|
|
183
|
+
* <ul>
|
|
184
|
+
* <li>
|
|
185
|
+
* <p>
|
|
186
|
+
* <code>all_storage_classes_128K</code> - Objects smaller than 128 KB will not
|
|
187
|
+
* transition to any storage class by default. </p>
|
|
188
|
+
* </li>
|
|
189
|
+
* <li>
|
|
190
|
+
* <p>
|
|
191
|
+
* <code>varies_by_storage_class</code> - Objects smaller than 128 KB will
|
|
192
|
+
* transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By
|
|
193
|
+
* default, all other storage classes will prevent transitions smaller than 128 KB.
|
|
194
|
+
* </p>
|
|
195
|
+
* </li>
|
|
196
|
+
* </ul>
|
|
197
|
+
* <p>To customize the minimum object size for any transition you can add a filter that
|
|
198
|
+
* specifies a custom <code>ObjectSizeGreaterThan</code> or <code>ObjectSizeLessThan</code> in
|
|
199
|
+
* the body of your transition rule. Custom filters always take precedence over the default
|
|
200
|
+
* transition behavior.</p>
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize | undefined;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* <p>Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more
|
|
207
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object Lifecycle Management</a>
|
|
208
|
+
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
export interface BucketLifecycleConfiguration {
|
|
212
|
+
/**
|
|
213
|
+
* <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p>
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
Rules: LifecycleRule[] | undefined;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export interface PutBucketLifecycleConfigurationRequest {
|
|
222
|
+
/**
|
|
223
|
+
* <p>The name of the bucket for which to set the configuration.</p>
|
|
224
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
225
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
Bucket: string | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
231
|
+
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
232
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
233
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
234
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
235
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
236
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p>
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
LifecycleConfiguration?: BucketLifecycleConfiguration | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
247
|
+
* <note>
|
|
248
|
+
* <p>This parameter applies to general purpose buckets only. It is not supported for
|
|
249
|
+
* directory bucket lifecycle configurations.</p>
|
|
250
|
+
* </note>
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
ExpectedBucketOwner?: string | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* <p>Indicates which default minimum object size behavior is applied to the lifecycle
|
|
256
|
+
* configuration.</p>
|
|
257
|
+
* <note>
|
|
258
|
+
* <p>This parameter applies to general purpose buckets only. It is not supported for
|
|
259
|
+
* directory bucket lifecycle configurations.</p>
|
|
260
|
+
* </note>
|
|
261
|
+
* <ul>
|
|
262
|
+
* <li>
|
|
263
|
+
* <p>
|
|
264
|
+
* <code>all_storage_classes_128K</code> - Objects smaller than 128 KB will not
|
|
265
|
+
* transition to any storage class by default. </p>
|
|
266
|
+
* </li>
|
|
267
|
+
* <li>
|
|
268
|
+
* <p>
|
|
269
|
+
* <code>varies_by_storage_class</code> - Objects smaller than 128 KB will
|
|
270
|
+
* transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By
|
|
271
|
+
* default, all other storage classes will prevent transitions smaller than 128 KB.
|
|
272
|
+
* </p>
|
|
273
|
+
* </li>
|
|
274
|
+
* </ul>
|
|
275
|
+
* <p>To customize the minimum object size for any transition you can add a filter that
|
|
276
|
+
* specifies a custom <code>ObjectSizeGreaterThan</code> or <code>ObjectSizeLessThan</code> in
|
|
277
|
+
* the body of your transition rule. Custom filters always take precedence over the default
|
|
278
|
+
* transition behavior.</p>
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize | undefined;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* <p>Container for logging status information.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
export interface BucketLoggingStatus {
|
|
288
|
+
/**
|
|
289
|
+
* <p>Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys
|
|
290
|
+
* for a bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html">PUT Bucket logging</a> in the
|
|
291
|
+
* <i>Amazon S3 API Reference</i>.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
LoggingEnabled?: LoggingEnabled | undefined;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
export interface PutBucketLoggingRequest {
|
|
300
|
+
/**
|
|
301
|
+
* <p>The name of the bucket for which to set the logging parameters.</p>
|
|
302
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
303
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
Bucket: string | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* <p>Container for logging status information.</p>
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
311
|
+
BucketLoggingStatus: BucketLoggingStatus | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p>
|
|
314
|
+
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
ContentMD5?: string | undefined;
|
|
318
|
+
/**
|
|
319
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
320
|
+
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
321
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
322
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
323
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
324
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
325
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
329
|
+
/**
|
|
330
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
ExpectedBucketOwner?: string | undefined;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
export interface PutBucketMetricsConfigurationRequest {
|
|
339
|
+
/**
|
|
340
|
+
* <p>The name of the bucket for which the metrics configuration is set.</p>
|
|
341
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
342
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
Bucket: string | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* <p>The ID used to identify the metrics configuration. The ID has a 64 character limit and
|
|
348
|
+
* can only contain letters, numbers, periods, dashes, and underscores.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
Id: string | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* <p>Specifies the metrics configuration.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
MetricsConfiguration: MetricsConfiguration | undefined;
|
|
357
|
+
/**
|
|
358
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
36
359
|
* @public
|
|
360
|
+
*/
|
|
361
|
+
ExpectedBucketOwner?: string | undefined;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
export interface PutBucketNotificationConfigurationRequest {
|
|
367
|
+
/**
|
|
368
|
+
* <p>The name of the bucket.</p>
|
|
369
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
370
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
Bucket: string | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* <p>A container for specifying the notification configuration of the bucket. If this element
|
|
376
|
+
* is empty, notifications are turned off for the bucket.</p>
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
NotificationConfiguration: NotificationConfiguration | undefined;
|
|
380
|
+
/**
|
|
381
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
ExpectedBucketOwner?: string | undefined;
|
|
385
|
+
/**
|
|
386
|
+
* <p>Skips validation of Amazon SQS, Amazon SNS, and Lambda
|
|
387
|
+
* destinations. True or false value.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
SkipDestinationValidation?: boolean | undefined;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
*/
|
|
395
|
+
export interface PutBucketOwnershipControlsRequest {
|
|
396
|
+
/**
|
|
397
|
+
* <p>The name of the Amazon S3 bucket whose <code>OwnershipControls</code> you want to set.</p>
|
|
398
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
399
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
400
|
+
* @public
|
|
401
|
+
*/
|
|
402
|
+
Bucket: string | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p>
|
|
405
|
+
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
ContentMD5?: string | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
ExpectedBucketOwner?: string | undefined;
|
|
414
|
+
/**
|
|
415
|
+
* <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, BucketOwnerPreferred, or
|
|
416
|
+
* ObjectWriter) that you want to apply to this Amazon S3 bucket.</p>
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
OwnershipControls: OwnershipControls | undefined;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* @public
|
|
423
|
+
*/
|
|
424
|
+
export interface PutBucketPolicyRequest {
|
|
425
|
+
/**
|
|
426
|
+
* <p>The name of the bucket.</p>
|
|
427
|
+
* <p>
|
|
428
|
+
* <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
429
|
+
* </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
|
|
430
|
+
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
431
|
+
* <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
|
|
432
|
+
* </p>
|
|
433
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
434
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
Bucket: string | undefined;
|
|
438
|
+
/**
|
|
439
|
+
* <p>The MD5 hash of the request body.</p>
|
|
440
|
+
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
441
|
+
* <note>
|
|
442
|
+
* <p>This functionality is not supported for directory buckets.</p>
|
|
443
|
+
* </note>
|
|
444
|
+
* @public
|
|
445
|
+
*/
|
|
446
|
+
ContentMD5?: string | undefined;
|
|
447
|
+
/**
|
|
448
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
449
|
+
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum-<i>algorithm</i>
|
|
450
|
+
* </code> or
|
|
451
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>.</p>
|
|
452
|
+
* <p>For the <code>x-amz-checksum-<i>algorithm</i>
|
|
453
|
+
* </code> header, replace <code>
|
|
454
|
+
* <i>algorithm</i>
|
|
455
|
+
* </code> with the supported algorithm from the following list: </p>
|
|
456
|
+
* <ul>
|
|
457
|
+
* <li>
|
|
458
|
+
* <p>
|
|
459
|
+
* <code>CRC32</code>
|
|
460
|
+
* </p>
|
|
461
|
+
* </li>
|
|
462
|
+
* <li>
|
|
463
|
+
* <p>
|
|
464
|
+
* <code>CRC32C</code>
|
|
465
|
+
* </p>
|
|
466
|
+
* </li>
|
|
467
|
+
* <li>
|
|
468
|
+
* <p>
|
|
469
|
+
* <code>CRC64NVME</code>
|
|
470
|
+
* </p>
|
|
471
|
+
* </li>
|
|
472
|
+
* <li>
|
|
473
|
+
* <p>
|
|
474
|
+
* <code>SHA1</code>
|
|
475
|
+
* </p>
|
|
476
|
+
* </li>
|
|
477
|
+
* <li>
|
|
478
|
+
* <p>
|
|
479
|
+
* <code>SHA256</code>
|
|
480
|
+
* </p>
|
|
481
|
+
* </li>
|
|
482
|
+
* </ul>
|
|
483
|
+
* <p>For more
|
|
484
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
485
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
486
|
+
* <p>If the individual checksum value you provide through <code>x-amz-checksum-<i>algorithm</i>
|
|
487
|
+
* </code> doesn't match the checksum algorithm you set through <code>x-amz-sdk-checksum-algorithm</code>, Amazon S3 fails the request with a <code>BadDigest</code> error.</p>
|
|
488
|
+
* <note>
|
|
489
|
+
* <p>For directory buckets, when you use Amazon Web Services SDKs, <code>CRC32</code> is the default checksum algorithm that's used for performance.</p>
|
|
490
|
+
* </note>
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
494
|
+
/**
|
|
495
|
+
* <p>Set this parameter to true to confirm that you want to remove your permissions to change
|
|
496
|
+
* this bucket policy in the future.</p>
|
|
497
|
+
* <note>
|
|
498
|
+
* <p>This functionality is not supported for directory buckets.</p>
|
|
499
|
+
* </note>
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
ConfirmRemoveSelfBucketAccess?: boolean | undefined;
|
|
503
|
+
/**
|
|
504
|
+
* <p>The bucket policy as a JSON document.</p>
|
|
505
|
+
* <p>For directory buckets, the only IAM action supported in the bucket policy is
|
|
506
|
+
* <code>s3express:CreateSession</code>.</p>
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
Policy: string | undefined;
|
|
510
|
+
/**
|
|
511
|
+
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
512
|
+
* <note>
|
|
513
|
+
* <p>For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code
|
|
514
|
+
* <code>501 Not Implemented</code>.</p>
|
|
515
|
+
* </note>
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
ExpectedBucketOwner?: string | undefined;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
export interface PutBucketReplicationRequest {
|
|
524
|
+
/**
|
|
525
|
+
* <p>The name of the bucket</p>
|
|
526
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
527
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
Bucket: string | undefined;
|
|
531
|
+
/**
|
|
532
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a message
|
|
533
|
+
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
534
|
+
* information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
|
|
535
|
+
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
536
|
+
* @public
|
|
537
|
+
*/
|
|
538
|
+
ContentMD5?: string | undefined;
|
|
539
|
+
/**
|
|
540
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
541
|
+
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
542
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
543
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
544
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
545
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
546
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
550
|
+
/**
|
|
37
551
|
* <p>A container for replication rules. You can add up to 1,000 rules. The maximum size of a
|
|
38
552
|
* replication configuration is 2 MB.</p>
|
|
553
|
+
* @public
|
|
39
554
|
*/
|
|
40
555
|
ReplicationConfiguration: ReplicationConfiguration | undefined;
|
|
41
556
|
/**
|
|
42
|
-
* @public
|
|
43
557
|
* <p>A token to allow Object Lock to be enabled for an existing bucket.</p>
|
|
558
|
+
* @public
|
|
44
559
|
*/
|
|
45
|
-
Token?: string;
|
|
560
|
+
Token?: string | undefined;
|
|
46
561
|
/**
|
|
47
|
-
* @public
|
|
48
562
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
563
|
+
* @public
|
|
49
564
|
*/
|
|
50
|
-
ExpectedBucketOwner?: string;
|
|
565
|
+
ExpectedBucketOwner?: string | undefined;
|
|
51
566
|
}
|
|
52
567
|
/**
|
|
53
|
-
* @public
|
|
54
568
|
* <p>Container for Payer.</p>
|
|
569
|
+
* @public
|
|
55
570
|
*/
|
|
56
571
|
export interface RequestPaymentConfiguration {
|
|
57
572
|
/**
|
|
58
|
-
* @public
|
|
59
573
|
* <p>Specifies who pays for the download and request fees.</p>
|
|
574
|
+
* @public
|
|
60
575
|
*/
|
|
61
576
|
Payer: Payer | undefined;
|
|
62
577
|
}
|
|
@@ -65,50 +580,50 @@ export interface RequestPaymentConfiguration {
|
|
|
65
580
|
*/
|
|
66
581
|
export interface PutBucketRequestPaymentRequest {
|
|
67
582
|
/**
|
|
68
|
-
* @public
|
|
69
583
|
* <p>The bucket name.</p>
|
|
70
584
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
71
585
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
586
|
+
* @public
|
|
72
587
|
*/
|
|
73
588
|
Bucket: string | undefined;
|
|
74
589
|
/**
|
|
75
|
-
*
|
|
76
|
-
* <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message
|
|
590
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a message
|
|
77
591
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
78
592
|
* information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
|
|
79
593
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
594
|
+
* @public
|
|
80
595
|
*/
|
|
81
|
-
ContentMD5?: string;
|
|
596
|
+
ContentMD5?: string | undefined;
|
|
82
597
|
/**
|
|
83
|
-
*
|
|
84
|
-
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
598
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
85
599
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
86
600
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
87
601
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
88
602
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
89
603
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
90
604
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
605
|
+
* @public
|
|
91
606
|
*/
|
|
92
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
607
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
93
608
|
/**
|
|
94
|
-
* @public
|
|
95
609
|
* <p>Container for Payer.</p>
|
|
610
|
+
* @public
|
|
96
611
|
*/
|
|
97
612
|
RequestPaymentConfiguration: RequestPaymentConfiguration | undefined;
|
|
98
613
|
/**
|
|
99
|
-
* @public
|
|
100
614
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
615
|
+
* @public
|
|
101
616
|
*/
|
|
102
|
-
ExpectedBucketOwner?: string;
|
|
617
|
+
ExpectedBucketOwner?: string | undefined;
|
|
103
618
|
}
|
|
104
619
|
/**
|
|
105
|
-
* @public
|
|
106
620
|
* <p>Container for <code>TagSet</code> elements.</p>
|
|
621
|
+
* @public
|
|
107
622
|
*/
|
|
108
623
|
export interface Tagging {
|
|
109
624
|
/**
|
|
110
|
-
* @public
|
|
111
625
|
* <p>A collection for a set of tags</p>
|
|
626
|
+
* @public
|
|
112
627
|
*/
|
|
113
628
|
TagSet: Tag[] | undefined;
|
|
114
629
|
}
|
|
@@ -117,41 +632,41 @@ export interface Tagging {
|
|
|
117
632
|
*/
|
|
118
633
|
export interface PutBucketTaggingRequest {
|
|
119
634
|
/**
|
|
120
|
-
* @public
|
|
121
635
|
* <p>The bucket name.</p>
|
|
122
636
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
123
637
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
638
|
+
* @public
|
|
124
639
|
*/
|
|
125
640
|
Bucket: string | undefined;
|
|
126
641
|
/**
|
|
127
|
-
*
|
|
128
|
-
* <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message
|
|
642
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a message
|
|
129
643
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
130
644
|
* information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
|
|
131
645
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
646
|
+
* @public
|
|
132
647
|
*/
|
|
133
|
-
ContentMD5?: string;
|
|
648
|
+
ContentMD5?: string | undefined;
|
|
134
649
|
/**
|
|
135
|
-
*
|
|
136
|
-
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
650
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
137
651
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
138
652
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
139
653
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
140
654
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
141
655
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
142
656
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
657
|
+
* @public
|
|
143
658
|
*/
|
|
144
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
659
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
145
660
|
/**
|
|
146
|
-
* @public
|
|
147
661
|
* <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p>
|
|
662
|
+
* @public
|
|
148
663
|
*/
|
|
149
664
|
Tagging: Tagging | undefined;
|
|
150
665
|
/**
|
|
151
|
-
* @public
|
|
152
666
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
667
|
+
* @public
|
|
153
668
|
*/
|
|
154
|
-
ExpectedBucketOwner?: string;
|
|
669
|
+
ExpectedBucketOwner?: string | undefined;
|
|
155
670
|
}
|
|
156
671
|
/**
|
|
157
672
|
* @public
|
|
@@ -166,294 +681,360 @@ export declare const MFADelete: {
|
|
|
166
681
|
*/
|
|
167
682
|
export type MFADelete = (typeof MFADelete)[keyof typeof MFADelete];
|
|
168
683
|
/**
|
|
169
|
-
* @public
|
|
170
684
|
* <p>Describes the versioning state of an Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html">PUT
|
|
171
685
|
* Bucket versioning</a> in the <i>Amazon S3 API Reference</i>.</p>
|
|
686
|
+
* @public
|
|
172
687
|
*/
|
|
173
688
|
export interface VersioningConfiguration {
|
|
174
689
|
/**
|
|
175
|
-
* @public
|
|
176
690
|
* <p>Specifies whether MFA delete is enabled in the bucket versioning configuration. This
|
|
177
691
|
* element is only returned if the bucket has been configured with MFA delete. If the bucket
|
|
178
692
|
* has never been so configured, this element is not returned.</p>
|
|
693
|
+
* @public
|
|
179
694
|
*/
|
|
180
|
-
MFADelete?: MFADelete;
|
|
695
|
+
MFADelete?: MFADelete | undefined;
|
|
181
696
|
/**
|
|
182
|
-
* @public
|
|
183
697
|
* <p>The versioning state of the bucket.</p>
|
|
698
|
+
* @public
|
|
184
699
|
*/
|
|
185
|
-
Status?: BucketVersioningStatus;
|
|
700
|
+
Status?: BucketVersioningStatus | undefined;
|
|
186
701
|
}
|
|
187
702
|
/**
|
|
188
703
|
* @public
|
|
189
704
|
*/
|
|
190
705
|
export interface PutBucketVersioningRequest {
|
|
191
706
|
/**
|
|
192
|
-
* @public
|
|
193
707
|
* <p>The bucket name.</p>
|
|
194
708
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
195
709
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
710
|
+
* @public
|
|
196
711
|
*/
|
|
197
712
|
Bucket: string | undefined;
|
|
198
713
|
/**
|
|
199
|
-
*
|
|
200
|
-
* <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a
|
|
714
|
+
* <p>>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a
|
|
201
715
|
* message integrity check to verify that the request body was not corrupted in transit. For
|
|
202
716
|
* more information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC
|
|
203
717
|
* 1864</a>.</p>
|
|
204
718
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
719
|
+
* @public
|
|
205
720
|
*/
|
|
206
|
-
ContentMD5?: string;
|
|
721
|
+
ContentMD5?: string | undefined;
|
|
207
722
|
/**
|
|
208
|
-
*
|
|
209
|
-
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
723
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
210
724
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
211
725
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
212
726
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
213
727
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
214
728
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
215
729
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
730
|
+
* @public
|
|
216
731
|
*/
|
|
217
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
732
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
218
733
|
/**
|
|
219
|
-
* @public
|
|
220
734
|
* <p>The concatenation of the authentication device's serial number, a space, and the value
|
|
221
735
|
* that is displayed on your authentication device.</p>
|
|
736
|
+
* @public
|
|
222
737
|
*/
|
|
223
|
-
MFA?: string;
|
|
738
|
+
MFA?: string | undefined;
|
|
224
739
|
/**
|
|
225
|
-
* @public
|
|
226
740
|
* <p>Container for setting the versioning state.</p>
|
|
741
|
+
* @public
|
|
227
742
|
*/
|
|
228
743
|
VersioningConfiguration: VersioningConfiguration | undefined;
|
|
229
744
|
/**
|
|
230
|
-
* @public
|
|
231
745
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
746
|
+
* @public
|
|
232
747
|
*/
|
|
233
|
-
ExpectedBucketOwner?: string;
|
|
748
|
+
ExpectedBucketOwner?: string | undefined;
|
|
234
749
|
}
|
|
235
750
|
/**
|
|
236
|
-
* @public
|
|
237
751
|
* <p>Specifies website configuration parameters for an Amazon S3 bucket.</p>
|
|
752
|
+
* @public
|
|
238
753
|
*/
|
|
239
754
|
export interface WebsiteConfiguration {
|
|
240
755
|
/**
|
|
241
|
-
* @public
|
|
242
756
|
* <p>The name of the error document for the website.</p>
|
|
757
|
+
* @public
|
|
243
758
|
*/
|
|
244
|
-
ErrorDocument?: ErrorDocument;
|
|
759
|
+
ErrorDocument?: ErrorDocument | undefined;
|
|
245
760
|
/**
|
|
246
|
-
* @public
|
|
247
761
|
* <p>The name of the index document for the website.</p>
|
|
762
|
+
* @public
|
|
248
763
|
*/
|
|
249
|
-
IndexDocument?: IndexDocument;
|
|
764
|
+
IndexDocument?: IndexDocument | undefined;
|
|
250
765
|
/**
|
|
251
|
-
* @public
|
|
252
766
|
* <p>The redirect behavior for every request to this bucket's website endpoint.</p>
|
|
253
767
|
* <important>
|
|
254
768
|
* <p>If you specify this property, you can't specify any other property.</p>
|
|
255
769
|
* </important>
|
|
770
|
+
* @public
|
|
256
771
|
*/
|
|
257
|
-
RedirectAllRequestsTo?: RedirectAllRequestsTo;
|
|
772
|
+
RedirectAllRequestsTo?: RedirectAllRequestsTo | undefined;
|
|
258
773
|
/**
|
|
259
|
-
* @public
|
|
260
774
|
* <p>Rules that define when a redirect is applied and the redirect behavior.</p>
|
|
775
|
+
* @public
|
|
261
776
|
*/
|
|
262
|
-
RoutingRules?: RoutingRule[];
|
|
777
|
+
RoutingRules?: RoutingRule[] | undefined;
|
|
263
778
|
}
|
|
264
779
|
/**
|
|
265
780
|
* @public
|
|
266
781
|
*/
|
|
267
782
|
export interface PutBucketWebsiteRequest {
|
|
268
783
|
/**
|
|
269
|
-
* @public
|
|
270
784
|
* <p>The bucket name.</p>
|
|
271
785
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
272
786
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
787
|
+
* @public
|
|
273
788
|
*/
|
|
274
789
|
Bucket: string | undefined;
|
|
275
790
|
/**
|
|
276
|
-
*
|
|
277
|
-
* <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message
|
|
791
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a message
|
|
278
792
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
279
793
|
* information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
|
|
280
794
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
281
|
-
*/
|
|
282
|
-
ContentMD5?: string;
|
|
283
|
-
/**
|
|
284
795
|
* @public
|
|
285
|
-
|
|
796
|
+
*/
|
|
797
|
+
ContentMD5?: string | undefined;
|
|
798
|
+
/**
|
|
799
|
+
* <p>Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any
|
|
286
800
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
287
801
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
288
802
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
289
803
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
290
804
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
291
805
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
806
|
+
* @public
|
|
292
807
|
*/
|
|
293
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
808
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
294
809
|
/**
|
|
295
|
-
* @public
|
|
296
810
|
* <p>Container for the request.</p>
|
|
811
|
+
* @public
|
|
297
812
|
*/
|
|
298
813
|
WebsiteConfiguration: WebsiteConfiguration | undefined;
|
|
299
814
|
/**
|
|
300
|
-
* @public
|
|
301
815
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
816
|
+
* @public
|
|
817
|
+
*/
|
|
818
|
+
ExpectedBucketOwner?: string | undefined;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* <p>
|
|
822
|
+
* The existing object was created with a different encryption type.
|
|
823
|
+
* Subsequent write requests must include the appropriate encryption
|
|
824
|
+
* parameters in the request or while creating the session.
|
|
825
|
+
* </p>
|
|
826
|
+
* @public
|
|
827
|
+
*/
|
|
828
|
+
export declare class EncryptionTypeMismatch extends __BaseException {
|
|
829
|
+
readonly name: "EncryptionTypeMismatch";
|
|
830
|
+
readonly $fault: "client";
|
|
831
|
+
/**
|
|
832
|
+
* @internal
|
|
833
|
+
*/
|
|
834
|
+
constructor(opts: __ExceptionOptionType<EncryptionTypeMismatch, __BaseException>);
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* <p>You may receive this error in multiple cases. Depending on the reason for the error, you may receive one of the messages below:</p>
|
|
838
|
+
* <ul>
|
|
839
|
+
* <li>
|
|
840
|
+
* <p>Cannot specify both a write offset value and user-defined object metadata for existing objects.</p>
|
|
841
|
+
* </li>
|
|
842
|
+
* <li>
|
|
843
|
+
* <p>Checksum Type mismatch occurred, expected checksum Type: sha1, actual checksum Type: crc32c.</p>
|
|
844
|
+
* </li>
|
|
845
|
+
* <li>
|
|
846
|
+
* <p>Request body cannot be empty when 'write offset' is specified.</p>
|
|
847
|
+
* </li>
|
|
848
|
+
* </ul>
|
|
849
|
+
* @public
|
|
850
|
+
*/
|
|
851
|
+
export declare class InvalidRequest extends __BaseException {
|
|
852
|
+
readonly name: "InvalidRequest";
|
|
853
|
+
readonly $fault: "client";
|
|
854
|
+
/**
|
|
855
|
+
* @internal
|
|
856
|
+
*/
|
|
857
|
+
constructor(opts: __ExceptionOptionType<InvalidRequest, __BaseException>);
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* <p>
|
|
861
|
+
* The write offset value that you specified does not match the current object size.
|
|
862
|
+
* </p>
|
|
863
|
+
* @public
|
|
864
|
+
*/
|
|
865
|
+
export declare class InvalidWriteOffset extends __BaseException {
|
|
866
|
+
readonly name: "InvalidWriteOffset";
|
|
867
|
+
readonly $fault: "client";
|
|
868
|
+
/**
|
|
869
|
+
* @internal
|
|
302
870
|
*/
|
|
303
|
-
|
|
871
|
+
constructor(opts: __ExceptionOptionType<InvalidWriteOffset, __BaseException>);
|
|
304
872
|
}
|
|
305
873
|
/**
|
|
306
874
|
* @public
|
|
307
875
|
*/
|
|
308
876
|
export interface PutObjectOutput {
|
|
309
877
|
/**
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
* URL-encoded.</p>
|
|
878
|
+
* <p>If the expiration is configured for the object (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>) in the <i>Amazon S3 User Guide</i>,
|
|
879
|
+
* the response includes this header. It includes the <code>expiry-date</code> and
|
|
880
|
+
* <code>rule-id</code> key-value pairs that provide information about object expiration.
|
|
881
|
+
* The value of the <code>rule-id</code> is URL-encoded.</p>
|
|
315
882
|
* <note>
|
|
316
|
-
* <p>
|
|
883
|
+
* <p>Object expiration information is not returned in directory buckets and this header returns the value "<code>NotImplemented</code>" in all responses for directory buckets.</p>
|
|
317
884
|
* </note>
|
|
885
|
+
* @public
|
|
318
886
|
*/
|
|
319
|
-
Expiration?: string;
|
|
887
|
+
Expiration?: string | undefined;
|
|
320
888
|
/**
|
|
321
|
-
* @public
|
|
322
889
|
* <p>Entity tag for the uploaded object.</p>
|
|
323
890
|
* <p>
|
|
324
|
-
* <b>General purpose buckets </b> - To ensure that data is not
|
|
325
|
-
* for objects where the
|
|
326
|
-
*
|
|
327
|
-
*
|
|
891
|
+
* <b>General purpose buckets </b> - To ensure that data is not
|
|
892
|
+
* corrupted traversing the network, for objects where the ETag is the MD5 digest of the
|
|
893
|
+
* object, you can calculate the MD5 while putting an object to Amazon S3 and compare the returned
|
|
894
|
+
* ETag to the calculated MD5 value.</p>
|
|
328
895
|
* <p>
|
|
329
|
-
* <b>Directory buckets </b> - The ETag for the object in
|
|
896
|
+
* <b>Directory buckets </b> - The ETag for the object in
|
|
897
|
+
* a directory bucket isn't the MD5 digest of the object.</p>
|
|
898
|
+
* @public
|
|
330
899
|
*/
|
|
331
|
-
ETag?: string;
|
|
900
|
+
ETag?: string | undefined;
|
|
332
901
|
/**
|
|
333
|
-
*
|
|
334
|
-
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
902
|
+
* <p>The Base64 encoded, 32-bit <code>CRC32 checksum</code> of the object. This checksum is only be present if the checksum was uploaded
|
|
335
903
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
336
904
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
337
905
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
906
|
+
* @public
|
|
338
907
|
*/
|
|
339
|
-
ChecksumCRC32?: string;
|
|
908
|
+
ChecksumCRC32?: string | undefined;
|
|
340
909
|
/**
|
|
341
|
-
*
|
|
342
|
-
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
910
|
+
* <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This checksum is only present if the checksum was uploaded
|
|
343
911
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
344
912
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
345
913
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
914
|
+
* @public
|
|
346
915
|
*/
|
|
347
|
-
ChecksumCRC32C?: string;
|
|
916
|
+
ChecksumCRC32C?: string | undefined;
|
|
348
917
|
/**
|
|
918
|
+
* <p>The Base64 encoded, 64-bit <code>CRC64NVME</code> checksum of the object. This header
|
|
919
|
+
* is present if the object was uploaded with the <code>CRC64NVME</code> checksum algorithm, or if it
|
|
920
|
+
* was uploaded without a checksum (and Amazon S3 added the default checksum,
|
|
921
|
+
* <code>CRC64NVME</code>, to the uploaded object). For more information about how
|
|
922
|
+
* checksums are calculated with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity
|
|
923
|
+
* in the Amazon S3 User Guide</a>.</p>
|
|
349
924
|
* @public
|
|
350
|
-
|
|
925
|
+
*/
|
|
926
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
927
|
+
/**
|
|
928
|
+
* <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This will only be present if the object was uploaded
|
|
351
929
|
* with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
352
930
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
353
931
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
932
|
+
* @public
|
|
354
933
|
*/
|
|
355
|
-
ChecksumSHA1?: string;
|
|
934
|
+
ChecksumSHA1?: string | undefined;
|
|
356
935
|
/**
|
|
357
|
-
*
|
|
358
|
-
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
936
|
+
* <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This will only be present if the object was uploaded
|
|
359
937
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
360
938
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
361
939
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
940
|
+
* @public
|
|
362
941
|
*/
|
|
363
|
-
ChecksumSHA256?: string;
|
|
942
|
+
ChecksumSHA256?: string | undefined;
|
|
364
943
|
/**
|
|
944
|
+
* <p>This header specifies the checksum type of the object, which determines how part-level
|
|
945
|
+
* checksums are combined to create an object-level checksum for multipart objects. For
|
|
946
|
+
* <code>PutObject</code> uploads, the checksum type is always <code>FULL_OBJECT</code>. You can use this header as a
|
|
947
|
+
* data integrity check to verify that the checksum type that is received is the same checksum
|
|
948
|
+
* that was specified. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
365
949
|
* @public
|
|
366
|
-
* <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
|
|
367
|
-
* <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
|
|
368
|
-
* <note>
|
|
369
|
-
* <p>For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
|
|
370
|
-
* </note>
|
|
371
950
|
*/
|
|
372
|
-
|
|
951
|
+
ChecksumType?: ChecksumType | undefined;
|
|
373
952
|
/**
|
|
953
|
+
* <p>The server-side encryption algorithm used when you store this object in Amazon S3.</p>
|
|
374
954
|
* @public
|
|
955
|
+
*/
|
|
956
|
+
ServerSideEncryption?: ServerSideEncryption | undefined;
|
|
957
|
+
/**
|
|
375
958
|
* <p>Version ID of the object.</p>
|
|
376
959
|
* <p>If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID
|
|
377
960
|
* for the object being stored. Amazon S3 returns this ID in the response. When you enable
|
|
378
961
|
* versioning for a bucket, if Amazon S3 receives multiple write requests for the same object
|
|
379
962
|
* simultaneously, it stores all of the objects. For more information about versioning, see
|
|
380
|
-
*
|
|
381
|
-
* Versioning-Enabled Buckets</a> in the <i>Amazon S3
|
|
382
|
-
*
|
|
383
|
-
* of a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a>. </p>
|
|
963
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html">Adding Objects to
|
|
964
|
+
* Versioning-Enabled Buckets</a> in the <i>Amazon S3 User Guide</i>. For
|
|
965
|
+
* information about returning the versioning state of a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a>. </p>
|
|
384
966
|
* <note>
|
|
385
967
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
386
968
|
* </note>
|
|
969
|
+
* @public
|
|
387
970
|
*/
|
|
388
|
-
VersionId?: string;
|
|
971
|
+
VersionId?: string | undefined;
|
|
389
972
|
/**
|
|
390
|
-
* @public
|
|
391
973
|
* <p>If server-side encryption with a customer-provided encryption key was requested, the
|
|
392
974
|
* response will include this header to confirm the encryption algorithm that's used.</p>
|
|
393
975
|
* <note>
|
|
394
976
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
395
977
|
* </note>
|
|
978
|
+
* @public
|
|
396
979
|
*/
|
|
397
|
-
SSECustomerAlgorithm?: string;
|
|
980
|
+
SSECustomerAlgorithm?: string | undefined;
|
|
398
981
|
/**
|
|
399
|
-
* @public
|
|
400
982
|
* <p>If server-side encryption with a customer-provided encryption key was requested, the
|
|
401
|
-
* response will include this header to provide the round-trip message integrity verification
|
|
402
|
-
* the customer-provided encryption key.</p>
|
|
983
|
+
* response will include this header to provide the round-trip message integrity verification
|
|
984
|
+
* of the customer-provided encryption key.</p>
|
|
403
985
|
* <note>
|
|
404
986
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
405
987
|
* </note>
|
|
988
|
+
* @public
|
|
406
989
|
*/
|
|
407
|
-
SSECustomerKeyMD5?: string;
|
|
990
|
+
SSECustomerKeyMD5?: string | undefined;
|
|
408
991
|
/**
|
|
992
|
+
* <p>If present, indicates the ID of the KMS key that was used for object encryption.</p>
|
|
409
993
|
* @public
|
|
410
|
-
* <p>If <code>x-amz-server-side-encryption</code> has a valid value of <code>aws:kms</code>
|
|
411
|
-
* or <code>aws:kms:dsse</code>, this header indicates the ID of the Key Management Service (KMS)
|
|
412
|
-
* symmetric encryption customer managed key that was used for the object. </p>
|
|
413
|
-
* <note>
|
|
414
|
-
* <p>This functionality is not supported for directory buckets.</p>
|
|
415
|
-
* </note>
|
|
416
994
|
*/
|
|
417
|
-
SSEKMSKeyId?: string;
|
|
995
|
+
SSEKMSKeyId?: string | undefined;
|
|
418
996
|
/**
|
|
419
|
-
*
|
|
420
|
-
*
|
|
421
|
-
* value
|
|
422
|
-
*
|
|
423
|
-
* passed on to Amazon Web Services KMS for future <code>GetObject</code> or <code>CopyObject</code>
|
|
997
|
+
* <p>If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of
|
|
998
|
+
* this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
|
|
999
|
+
* This value is stored as object metadata and automatically gets
|
|
1000
|
+
* passed on to Amazon Web Services KMS for future <code>GetObject</code>
|
|
424
1001
|
* operations on this object.</p>
|
|
425
|
-
*
|
|
426
|
-
* <p>This functionality is not supported for directory buckets.</p>
|
|
427
|
-
* </note>
|
|
1002
|
+
* @public
|
|
428
1003
|
*/
|
|
429
|
-
SSEKMSEncryptionContext?: string;
|
|
1004
|
+
SSEKMSEncryptionContext?: string | undefined;
|
|
430
1005
|
/**
|
|
431
|
-
* @public
|
|
432
1006
|
* <p>Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption
|
|
433
1007
|
* with Key Management Service (KMS) keys (SSE-KMS).</p>
|
|
1008
|
+
* @public
|
|
1009
|
+
*/
|
|
1010
|
+
BucketKeyEnabled?: boolean | undefined;
|
|
1011
|
+
/**
|
|
1012
|
+
* <p>
|
|
1013
|
+
* The size of the object in bytes. This value is only be present if you append to an object.
|
|
1014
|
+
* </p>
|
|
434
1015
|
* <note>
|
|
435
|
-
* <p>This functionality is
|
|
1016
|
+
* <p>This functionality is only supported for objects in the Amazon S3 Express One Zone storage class in directory buckets.</p>
|
|
436
1017
|
* </note>
|
|
1018
|
+
* @public
|
|
437
1019
|
*/
|
|
438
|
-
|
|
1020
|
+
Size?: number | undefined;
|
|
439
1021
|
/**
|
|
440
|
-
* @public
|
|
441
1022
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
442
1023
|
* request.</p>
|
|
443
1024
|
* <note>
|
|
444
1025
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
445
1026
|
* </note>
|
|
1027
|
+
* @public
|
|
446
1028
|
*/
|
|
447
|
-
RequestCharged?: RequestCharged;
|
|
1029
|
+
RequestCharged?: RequestCharged | undefined;
|
|
448
1030
|
}
|
|
449
1031
|
/**
|
|
450
1032
|
* @public
|
|
451
1033
|
*/
|
|
452
1034
|
export interface PutObjectRequest {
|
|
453
1035
|
/**
|
|
454
|
-
* @public
|
|
455
1036
|
* <p>The canned ACL to apply to the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
|
|
456
|
-
*
|
|
1037
|
+
* ACL</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
457
1038
|
* <p>When adding a new object, you can use headers to grant ACL-based permissions to
|
|
458
1039
|
* individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are
|
|
459
1040
|
* then added to the ACL on the object. By default, all objects are private. Only the owner
|
|
@@ -466,7 +1047,7 @@ export interface PutObjectRequest {
|
|
|
466
1047
|
* specify bucket owner full control ACLs, such as the <code>bucket-owner-full-control</code>
|
|
467
1048
|
* canned ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that
|
|
468
1049
|
* contain other ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a
|
|
469
|
-
*
|
|
1050
|
+
* <code>400</code> error with the error code <code>AccessControlListNotSupported</code>.
|
|
470
1051
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html"> Controlling ownership of
|
|
471
1052
|
* objects and disabling ACLs</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
472
1053
|
* <note>
|
|
@@ -479,21 +1060,22 @@ export interface PutObjectRequest {
|
|
|
479
1060
|
* </li>
|
|
480
1061
|
* </ul>
|
|
481
1062
|
* </note>
|
|
1063
|
+
* @public
|
|
482
1064
|
*/
|
|
483
|
-
ACL?: ObjectCannedACL;
|
|
1065
|
+
ACL?: ObjectCannedACL | undefined;
|
|
484
1066
|
/**
|
|
485
|
-
* @public
|
|
486
1067
|
* <p>Object data.</p>
|
|
1068
|
+
* @public
|
|
487
1069
|
*/
|
|
488
|
-
Body?: StreamingBlobTypes;
|
|
1070
|
+
Body?: StreamingBlobTypes | undefined;
|
|
489
1071
|
/**
|
|
490
|
-
* @public
|
|
491
1072
|
* <p>The bucket name to which the PUT action was initiated. </p>
|
|
492
1073
|
* <p>
|
|
493
|
-
* <b>Directory buckets</b> -
|
|
494
|
-
*
|
|
495
|
-
* <i>
|
|
496
|
-
* <i>
|
|
1074
|
+
* <b>Directory buckets</b> -
|
|
1075
|
+
* When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
|
|
1076
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
|
|
1077
|
+
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
1078
|
+
* <i>amzn-s3-demo-bucket</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
|
|
497
1079
|
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
|
|
498
1080
|
* rules</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
499
1081
|
* <p>
|
|
@@ -502,67 +1084,68 @@ export interface PutObjectRequest {
|
|
|
502
1084
|
* <p>Access points and Object Lambda access points are not supported by directory buckets.</p>
|
|
503
1085
|
* </note>
|
|
504
1086
|
* <p>
|
|
505
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
506
|
-
*
|
|
1087
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
1088
|
+
* form <code>
|
|
1089
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
507
1090
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
508
1091
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1092
|
+
* @public
|
|
509
1093
|
*/
|
|
510
1094
|
Bucket: string | undefined;
|
|
511
1095
|
/**
|
|
512
|
-
* @public
|
|
513
1096
|
* <p>Can be used to specify caching behavior along the request/reply chain. For more
|
|
514
1097
|
* information, see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9</a>.</p>
|
|
1098
|
+
* @public
|
|
515
1099
|
*/
|
|
516
|
-
CacheControl?: string;
|
|
1100
|
+
CacheControl?: string | undefined;
|
|
517
1101
|
/**
|
|
518
|
-
* @public
|
|
519
1102
|
* <p>Specifies presentational information for the object. For more information, see <a href="https://www.rfc-editor.org/rfc/rfc6266#section-4">https://www.rfc-editor.org/rfc/rfc6266#section-4</a>.</p>
|
|
1103
|
+
* @public
|
|
520
1104
|
*/
|
|
521
|
-
ContentDisposition?: string;
|
|
1105
|
+
ContentDisposition?: string | undefined;
|
|
522
1106
|
/**
|
|
523
|
-
* @public
|
|
524
1107
|
* <p>Specifies what content encodings have been applied to the object and thus what decoding
|
|
525
1108
|
* mechanisms must be applied to obtain the media-type referenced by the Content-Type header
|
|
526
1109
|
* field. For more information, see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding">https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding</a>.</p>
|
|
1110
|
+
* @public
|
|
527
1111
|
*/
|
|
528
|
-
ContentEncoding?: string;
|
|
1112
|
+
ContentEncoding?: string | undefined;
|
|
529
1113
|
/**
|
|
530
|
-
* @public
|
|
531
1114
|
* <p>The language the content is in.</p>
|
|
1115
|
+
* @public
|
|
532
1116
|
*/
|
|
533
|
-
ContentLanguage?: string;
|
|
1117
|
+
ContentLanguage?: string | undefined;
|
|
534
1118
|
/**
|
|
535
|
-
* @public
|
|
536
1119
|
* <p>Size of the body in bytes. This parameter is useful when the size of the body cannot be
|
|
537
1120
|
* determined automatically. For more information, see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length">https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length</a>.</p>
|
|
1121
|
+
* @public
|
|
538
1122
|
*/
|
|
539
|
-
ContentLength?: number;
|
|
1123
|
+
ContentLength?: number | undefined;
|
|
540
1124
|
/**
|
|
541
|
-
*
|
|
542
|
-
* <p>The base64-encoded 128-bit MD5 digest of the message (without the headers) according to
|
|
1125
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the message (without the headers) according to
|
|
543
1126
|
* RFC 1864. This header can be used as a message integrity check to verify that the data is
|
|
544
1127
|
* the same data that was originally sent. Although it is optional, we recommend using the
|
|
545
1128
|
* Content-MD5 mechanism as an end-to-end integrity check. For more information about REST
|
|
546
1129
|
* request authentication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>.</p>
|
|
547
1130
|
* <note>
|
|
548
|
-
* <p>The <code>Content-MD5</code> header is
|
|
549
|
-
*
|
|
550
|
-
*
|
|
551
|
-
*
|
|
1131
|
+
* <p>The <code>Content-MD5</code> or <code>x-amz-sdk-checksum-algorithm</code> header is
|
|
1132
|
+
* required for any request to upload an object with a retention period configured using
|
|
1133
|
+
* Amazon S3 Object Lock. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object">Uploading objects to an Object Lock enabled bucket </a> in the
|
|
1134
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
552
1135
|
* </note>
|
|
553
1136
|
* <note>
|
|
554
1137
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
555
1138
|
* </note>
|
|
1139
|
+
* @public
|
|
556
1140
|
*/
|
|
557
|
-
ContentMD5?: string;
|
|
1141
|
+
ContentMD5?: string | undefined;
|
|
558
1142
|
/**
|
|
559
|
-
* @public
|
|
560
1143
|
* <p>A standard MIME type describing the format of the contents. For more information, see
|
|
561
1144
|
* <a href="https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type">https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type</a>.</p>
|
|
1145
|
+
* @public
|
|
562
1146
|
*/
|
|
563
|
-
ContentType?: string;
|
|
1147
|
+
ContentType?: string | undefined;
|
|
564
1148
|
/**
|
|
565
|
-
* @public
|
|
566
1149
|
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
567
1150
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum-<i>algorithm</i>
|
|
568
1151
|
* </code> or
|
|
@@ -573,70 +1156,115 @@ export interface PutObjectRequest {
|
|
|
573
1156
|
* </code> with the supported algorithm from the following list: </p>
|
|
574
1157
|
* <ul>
|
|
575
1158
|
* <li>
|
|
576
|
-
* <p>
|
|
1159
|
+
* <p>
|
|
1160
|
+
* <code>CRC32</code>
|
|
1161
|
+
* </p>
|
|
1162
|
+
* </li>
|
|
1163
|
+
* <li>
|
|
1164
|
+
* <p>
|
|
1165
|
+
* <code>CRC32C</code>
|
|
1166
|
+
* </p>
|
|
577
1167
|
* </li>
|
|
578
1168
|
* <li>
|
|
579
|
-
* <p>
|
|
1169
|
+
* <p>
|
|
1170
|
+
* <code>CRC64NVME</code>
|
|
1171
|
+
* </p>
|
|
580
1172
|
* </li>
|
|
581
1173
|
* <li>
|
|
582
|
-
* <p>
|
|
1174
|
+
* <p>
|
|
1175
|
+
* <code>SHA1</code>
|
|
1176
|
+
* </p>
|
|
583
1177
|
* </li>
|
|
584
1178
|
* <li>
|
|
585
|
-
* <p>
|
|
1179
|
+
* <p>
|
|
1180
|
+
* <code>SHA256</code>
|
|
1181
|
+
* </p>
|
|
586
1182
|
* </li>
|
|
587
1183
|
* </ul>
|
|
588
1184
|
* <p>For more
|
|
589
1185
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
590
1186
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
591
1187
|
* <p>If the individual checksum value you provide through <code>x-amz-checksum-<i>algorithm</i>
|
|
592
|
-
* </code> doesn't match the checksum algorithm you set through <code>x-amz-sdk-checksum-algorithm</code>,
|
|
593
|
-
* <code>ChecksumAlgorithm</code> parameter and uses the checksum algorithm that matches the provided value in <code>x-amz-checksum-<i>algorithm</i>
|
|
594
|
-
* </code>.</p>
|
|
1188
|
+
* </code> doesn't match the checksum algorithm you set through <code>x-amz-sdk-checksum-algorithm</code>, Amazon S3 fails the request with a <code>BadDigest</code> error.</p>
|
|
595
1189
|
* <note>
|
|
596
|
-
* <p>
|
|
1190
|
+
* <p>The <code>Content-MD5</code> or <code>x-amz-sdk-checksum-algorithm</code> header is
|
|
1191
|
+
* required for any request to upload an object with a retention period configured using
|
|
1192
|
+
* Amazon S3 Object Lock. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object">Uploading objects to an Object Lock enabled bucket </a> in the
|
|
1193
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
597
1194
|
* </note>
|
|
1195
|
+
* <p>For directory buckets, when you use Amazon Web Services SDKs, <code>CRC32</code> is the default checksum algorithm that's used for performance.</p>
|
|
1196
|
+
* @public
|
|
598
1197
|
*/
|
|
599
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
1198
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
600
1199
|
/**
|
|
601
|
-
* @public
|
|
602
1200
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
603
|
-
* This header specifies the
|
|
1201
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. For more information, see
|
|
604
1202
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
605
1203
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
1204
|
+
* @public
|
|
606
1205
|
*/
|
|
607
|
-
ChecksumCRC32?: string;
|
|
1206
|
+
ChecksumCRC32?: string | undefined;
|
|
608
1207
|
/**
|
|
609
|
-
* @public
|
|
610
1208
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
611
|
-
* This header specifies the
|
|
1209
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. For more information, see
|
|
612
1210
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
613
1211
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
1212
|
+
* @public
|
|
614
1213
|
*/
|
|
615
|
-
ChecksumCRC32C?: string;
|
|
1214
|
+
ChecksumCRC32C?: string | undefined;
|
|
616
1215
|
/**
|
|
1216
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1217
|
+
* the same data that was originally sent. This header specifies the Base64 encoded, 64-bit
|
|
1218
|
+
* <code>CRC64NVME</code> checksum of the object. The <code>CRC64NVME</code> checksum is
|
|
1219
|
+
* always a full object checksum. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity
|
|
1220
|
+
* in the Amazon S3 User Guide</a>.</p>
|
|
617
1221
|
* @public
|
|
1222
|
+
*/
|
|
1223
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
1224
|
+
/**
|
|
618
1225
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
619
|
-
* This header specifies the
|
|
1226
|
+
* This header specifies the Base64 encoded, 160-bit <code>SHA1</code> digest of the object. For more information, see
|
|
620
1227
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
621
1228
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
1229
|
+
* @public
|
|
622
1230
|
*/
|
|
623
|
-
ChecksumSHA1?: string;
|
|
1231
|
+
ChecksumSHA1?: string | undefined;
|
|
624
1232
|
/**
|
|
625
|
-
* @public
|
|
626
1233
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
627
|
-
* This header specifies the
|
|
1234
|
+
* This header specifies the Base64 encoded, 256-bit <code>SHA256</code> digest of the object. For more information, see
|
|
628
1235
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
629
1236
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
1237
|
+
* @public
|
|
630
1238
|
*/
|
|
631
|
-
ChecksumSHA256?: string;
|
|
1239
|
+
ChecksumSHA256?: string | undefined;
|
|
632
1240
|
/**
|
|
633
|
-
* @public
|
|
634
1241
|
* <p>The date and time at which the object is no longer cacheable. For more information, see
|
|
635
1242
|
* <a href="https://www.rfc-editor.org/rfc/rfc7234#section-5.3">https://www.rfc-editor.org/rfc/rfc7234#section-5.3</a>.</p>
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
Expires?: Date | undefined;
|
|
1246
|
+
/**
|
|
1247
|
+
* <p>Uploads the object only if the ETag (entity tag) value provided during the WRITE
|
|
1248
|
+
* operation matches the ETag of the object in S3. If the ETag values do not match, the
|
|
1249
|
+
* operation returns a <code>412 Precondition Failed</code> error.</p>
|
|
1250
|
+
* <p>If a conflicting operation occurs during the upload S3 returns a <code>409 ConditionalRequestConflict</code> response. On a 409 failure you should fetch the object's ETag and retry the upload.</p>
|
|
1251
|
+
* <p>Expects the ETag value as a string.</p>
|
|
1252
|
+
* <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>, or <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html">Conditional requests</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1253
|
+
* @public
|
|
636
1254
|
*/
|
|
637
|
-
|
|
1255
|
+
IfMatch?: string | undefined;
|
|
638
1256
|
/**
|
|
1257
|
+
* <p>Uploads the object only if the object key name does not already exist in the bucket
|
|
1258
|
+
* specified. Otherwise, Amazon S3 returns a <code>412 Precondition Failed</code> error.</p>
|
|
1259
|
+
* <p>If a conflicting operation occurs during the upload S3 returns a <code>409
|
|
1260
|
+
* ConditionalRequestConflict</code> response. On a 409 failure you should retry the
|
|
1261
|
+
* upload.</p>
|
|
1262
|
+
* <p>Expects the '*' (asterisk) character.</p>
|
|
1263
|
+
* <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>, or <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html">Conditional requests</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
639
1264
|
* @public
|
|
1265
|
+
*/
|
|
1266
|
+
IfNoneMatch?: string | undefined;
|
|
1267
|
+
/**
|
|
640
1268
|
* <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.</p>
|
|
641
1269
|
* <note>
|
|
642
1270
|
* <ul>
|
|
@@ -648,10 +1276,10 @@ export interface PutObjectRequest {
|
|
|
648
1276
|
* </li>
|
|
649
1277
|
* </ul>
|
|
650
1278
|
* </note>
|
|
1279
|
+
* @public
|
|
651
1280
|
*/
|
|
652
|
-
GrantFullControl?: string;
|
|
1281
|
+
GrantFullControl?: string | undefined;
|
|
653
1282
|
/**
|
|
654
|
-
* @public
|
|
655
1283
|
* <p>Allows grantee to read the object data and its metadata.</p>
|
|
656
1284
|
* <note>
|
|
657
1285
|
* <ul>
|
|
@@ -663,10 +1291,10 @@ export interface PutObjectRequest {
|
|
|
663
1291
|
* </li>
|
|
664
1292
|
* </ul>
|
|
665
1293
|
* </note>
|
|
1294
|
+
* @public
|
|
666
1295
|
*/
|
|
667
|
-
GrantRead?: string;
|
|
1296
|
+
GrantRead?: string | undefined;
|
|
668
1297
|
/**
|
|
669
|
-
* @public
|
|
670
1298
|
* <p>Allows grantee to read the object ACL.</p>
|
|
671
1299
|
* <note>
|
|
672
1300
|
* <ul>
|
|
@@ -678,10 +1306,10 @@ export interface PutObjectRequest {
|
|
|
678
1306
|
* </li>
|
|
679
1307
|
* </ul>
|
|
680
1308
|
* </note>
|
|
1309
|
+
* @public
|
|
681
1310
|
*/
|
|
682
|
-
GrantReadACP?: string;
|
|
1311
|
+
GrantReadACP?: string | undefined;
|
|
683
1312
|
/**
|
|
684
|
-
* @public
|
|
685
1313
|
* <p>Allows grantee to write the ACL for the applicable object.</p>
|
|
686
1314
|
* <note>
|
|
687
1315
|
* <ul>
|
|
@@ -693,60 +1321,97 @@ export interface PutObjectRequest {
|
|
|
693
1321
|
* </li>
|
|
694
1322
|
* </ul>
|
|
695
1323
|
* </note>
|
|
1324
|
+
* @public
|
|
696
1325
|
*/
|
|
697
|
-
GrantWriteACP?: string;
|
|
1326
|
+
GrantWriteACP?: string | undefined;
|
|
698
1327
|
/**
|
|
699
|
-
* @public
|
|
700
1328
|
* <p>Object key for which the PUT action was initiated.</p>
|
|
1329
|
+
* @public
|
|
701
1330
|
*/
|
|
702
1331
|
Key: string | undefined;
|
|
703
1332
|
/**
|
|
1333
|
+
* <p>
|
|
1334
|
+
* Specifies the offset for appending data to existing objects in bytes.
|
|
1335
|
+
* The offset must be equal to the size of the existing object being appended to.
|
|
1336
|
+
* If no object exists, setting this header to 0 will create a new object.
|
|
1337
|
+
* </p>
|
|
1338
|
+
* <note>
|
|
1339
|
+
* <p>This functionality is only supported for objects in the Amazon S3 Express One Zone storage class in directory buckets.</p>
|
|
1340
|
+
* </note>
|
|
704
1341
|
* @public
|
|
705
|
-
* <p>A map of metadata to store with the object in S3.</p>
|
|
706
1342
|
*/
|
|
707
|
-
|
|
1343
|
+
WriteOffsetBytes?: number | undefined;
|
|
708
1344
|
/**
|
|
1345
|
+
* <p>A map of metadata to store with the object in S3.</p>
|
|
709
1346
|
* @public
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
*
|
|
714
|
-
*
|
|
715
|
-
*
|
|
716
|
-
*
|
|
717
|
-
*
|
|
718
|
-
*
|
|
1347
|
+
*/
|
|
1348
|
+
Metadata?: Record<string, string> | undefined;
|
|
1349
|
+
/**
|
|
1350
|
+
* <p>The server-side encryption algorithm that was used when you store this object in Amazon S3
|
|
1351
|
+
* (for example, <code>AES256</code>, <code>aws:kms</code>, <code>aws:kms:dsse</code>).</p>
|
|
1352
|
+
* <ul>
|
|
1353
|
+
* <li>
|
|
1354
|
+
* <p>
|
|
1355
|
+
* <b>General purpose buckets </b> - You have four mutually
|
|
1356
|
+
* exclusive options to protect data using server-side encryption in Amazon S3, depending on
|
|
1357
|
+
* how you choose to manage the encryption keys. Specifically, the encryption key
|
|
1358
|
+
* options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
|
|
1359
|
+
* customer-provided keys (SSE-C). Amazon S3 encrypts data with server-side encryption by
|
|
1360
|
+
* using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt
|
|
1361
|
+
* data at rest by using server-side encryption with other key options. For more
|
|
719
1362
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Using Server-Side
|
|
720
1363
|
* Encryption</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
721
|
-
*
|
|
722
|
-
* <
|
|
1364
|
+
* </li>
|
|
1365
|
+
* <li>
|
|
1366
|
+
* <p>
|
|
1367
|
+
* <b>Directory buckets </b> -
|
|
1368
|
+
* For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) and server-side encryption with KMS keys (SSE-KMS) (<code>aws:kms</code>). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your
|
|
1369
|
+
* <code>CreateSession</code> requests or <code>PUT</code> object requests. Then, new objects
|
|
1370
|
+
* are automatically encrypted with the desired encryption settings. For more
|
|
1371
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html">Protecting data with server-side encryption</a> in the <i>Amazon S3 User Guide</i>. For more information about the encryption overriding behaviors in directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html">Specifying server-side encryption with KMS for new object uploads</a>. </p>
|
|
1372
|
+
* <p>In the Zonal endpoint API calls (except <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_UploadPartCopy.html">UploadPartCopy</a>) using the REST API, the encryption request headers must match the encryption settings that are specified in the <code>CreateSession</code> request.
|
|
1373
|
+
* You can't override the values of the encryption settings (<code>x-amz-server-side-encryption</code>, <code>x-amz-server-side-encryption-aws-kms-key-id</code>, <code>x-amz-server-side-encryption-context</code>, and <code>x-amz-server-side-encryption-bucket-key-enabled</code>) that are specified in the <code>CreateSession</code> request.
|
|
1374
|
+
* You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and
|
|
1375
|
+
* Amazon S3 will use the encryption settings values from the <code>CreateSession</code> request to protect new objects in the directory bucket.
|
|
1376
|
+
* </p>
|
|
1377
|
+
* <note>
|
|
1378
|
+
* <p>When you use the CLI or the Amazon Web Services SDKs, for <code>CreateSession</code>, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the
|
|
1379
|
+
* <code>CreateSession</code> request. It's not supported to override the encryption settings values in the <code>CreateSession</code> request.
|
|
1380
|
+
* So in the Zonal endpoint API calls (except <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_UploadPartCopy.html">UploadPartCopy</a>),
|
|
1381
|
+
* the encryption request headers must match the default encryption configuration of the directory bucket.
|
|
1382
|
+
*
|
|
1383
|
+
* </p>
|
|
1384
|
+
* </note>
|
|
1385
|
+
* </li>
|
|
1386
|
+
* </ul>
|
|
1387
|
+
* @public
|
|
723
1388
|
*/
|
|
724
|
-
ServerSideEncryption?: ServerSideEncryption;
|
|
1389
|
+
ServerSideEncryption?: ServerSideEncryption | undefined;
|
|
725
1390
|
/**
|
|
726
|
-
* @public
|
|
727
1391
|
* <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The
|
|
728
1392
|
* STANDARD storage class provides high durability and high availability. Depending on
|
|
729
|
-
* performance needs, you can specify a different Storage Class. For more information, see
|
|
730
|
-
* <
|
|
1393
|
+
* performance needs, you can specify a different Storage Class. For more information, see
|
|
1394
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage
|
|
1395
|
+
* Classes</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
731
1396
|
* <note>
|
|
732
1397
|
* <ul>
|
|
733
1398
|
* <li>
|
|
734
|
-
* <p>For directory buckets, only the S3 Express One Zone storage class is supported to store
|
|
1399
|
+
* <p>For directory buckets, only the S3 Express One Zone storage class is supported to store
|
|
1400
|
+
* newly created objects.</p>
|
|
735
1401
|
* </li>
|
|
736
1402
|
* <li>
|
|
737
|
-
* <p>Amazon S3 on Outposts only uses
|
|
738
|
-
* the OUTPOSTS Storage Class.</p>
|
|
1403
|
+
* <p>Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.</p>
|
|
739
1404
|
* </li>
|
|
740
1405
|
* </ul>
|
|
741
1406
|
* </note>
|
|
1407
|
+
* @public
|
|
742
1408
|
*/
|
|
743
|
-
StorageClass?: StorageClass;
|
|
1409
|
+
StorageClass?: StorageClass | undefined;
|
|
744
1410
|
/**
|
|
745
|
-
* @public
|
|
746
1411
|
* <p>If the bucket is configured as a website, redirects requests for this object to another
|
|
747
1412
|
* object in the same bucket or to an external URL. Amazon S3 stores the value of this header in
|
|
748
|
-
* the object metadata. For information about object metadata, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html">Object Key and Metadata</a> in the
|
|
749
|
-
*
|
|
1413
|
+
* the object metadata. For information about object metadata, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html">Object Key and Metadata</a> in the
|
|
1414
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
750
1415
|
* <p>In the following example, the request header sets the redirect to an object
|
|
751
1416
|
* (anotherPage.html) in the same bucket:</p>
|
|
752
1417
|
* <p>
|
|
@@ -759,24 +1424,23 @@ export interface PutObjectRequest {
|
|
|
759
1424
|
* </p>
|
|
760
1425
|
* <p>For more information about website hosting in Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html">Hosting Websites on Amazon S3</a> and
|
|
761
1426
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html">How to
|
|
762
|
-
*
|
|
763
|
-
* User Guide</i>. </p>
|
|
1427
|
+
* Configure Website Page Redirects</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
764
1428
|
* <note>
|
|
765
1429
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
766
1430
|
* </note>
|
|
1431
|
+
* @public
|
|
767
1432
|
*/
|
|
768
|
-
WebsiteRedirectLocation?: string;
|
|
1433
|
+
WebsiteRedirectLocation?: string | undefined;
|
|
769
1434
|
/**
|
|
770
|
-
* @public
|
|
771
1435
|
* <p>Specifies the algorithm to use when encrypting the object (for example,
|
|
772
|
-
*
|
|
1436
|
+
* <code>AES256</code>).</p>
|
|
773
1437
|
* <note>
|
|
774
1438
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
775
1439
|
* </note>
|
|
1440
|
+
* @public
|
|
776
1441
|
*/
|
|
777
|
-
SSECustomerAlgorithm?: string;
|
|
1442
|
+
SSECustomerAlgorithm?: string | undefined;
|
|
778
1443
|
/**
|
|
779
|
-
* @public
|
|
780
1444
|
* <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
|
|
781
1445
|
* value is used to store the object and then it is discarded; Amazon S3 does not store the
|
|
782
1446
|
* encryption key. The key must be appropriate for use with the algorithm specified in the
|
|
@@ -784,165 +1448,191 @@ export interface PutObjectRequest {
|
|
|
784
1448
|
* <note>
|
|
785
1449
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
786
1450
|
* </note>
|
|
1451
|
+
* @public
|
|
787
1452
|
*/
|
|
788
|
-
SSECustomerKey?: string;
|
|
1453
|
+
SSECustomerKey?: string | undefined;
|
|
789
1454
|
/**
|
|
790
|
-
* @public
|
|
791
1455
|
* <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
|
|
792
1456
|
* this header for a message integrity check to ensure that the encryption key was transmitted
|
|
793
1457
|
* without error.</p>
|
|
794
1458
|
* <note>
|
|
795
1459
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
796
1460
|
* </note>
|
|
797
|
-
*/
|
|
798
|
-
SSECustomerKeyMD5?: string;
|
|
799
|
-
/**
|
|
800
1461
|
* @public
|
|
801
|
-
* <p>If <code>x-amz-server-side-encryption</code> has a valid value of <code>aws:kms</code>
|
|
802
|
-
* or <code>aws:kms:dsse</code>, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the Key Management Service (KMS)
|
|
803
|
-
* symmetric encryption customer managed key that was used for the object. If you specify
|
|
804
|
-
* <code>x-amz-server-side-encryption:aws:kms</code> or
|
|
805
|
-
* <code>x-amz-server-side-encryption:aws:kms:dsse</code>, but do not provide<code>
|
|
806
|
-
* x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon Web Services managed key
|
|
807
|
-
* (<code>aws/s3</code>) to protect the data. If the KMS key does not exist in the same
|
|
808
|
-
* account that's issuing the command, you must use the full ARN and not just the ID. </p>
|
|
809
|
-
* <note>
|
|
810
|
-
* <p>This functionality is not supported for directory buckets.</p>
|
|
811
|
-
* </note>
|
|
812
1462
|
*/
|
|
813
|
-
|
|
1463
|
+
SSECustomerKeyMD5?: string | undefined;
|
|
814
1464
|
/**
|
|
1465
|
+
* <p>Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for object encryption. If the KMS key doesn't exist in the same
|
|
1466
|
+
* account that's issuing the command, you must use the full Key ARN not the Key ID.</p>
|
|
1467
|
+
* <p>
|
|
1468
|
+
* <b>General purpose buckets</b> - If you specify <code>x-amz-server-side-encryption</code> with <code>aws:kms</code> or <code>aws:kms:dsse</code>, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS
|
|
1469
|
+
* key to use. If you specify
|
|
1470
|
+
* <code>x-amz-server-side-encryption:aws:kms</code> or
|
|
1471
|
+
* <code>x-amz-server-side-encryption:aws:kms:dsse</code>, but do not provide <code>x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon Web Services managed key
|
|
1472
|
+
* (<code>aws/s3</code>) to protect the data.</p>
|
|
1473
|
+
* <p>
|
|
1474
|
+
* <b>Directory buckets</b> - To encrypt data using SSE-KMS, it's recommended to specify the
|
|
1475
|
+
* <code>x-amz-server-side-encryption</code> header to <code>aws:kms</code>. Then, the <code>x-amz-server-side-encryption-aws-kms-key-id</code> header implicitly uses
|
|
1476
|
+
* the bucket's default KMS customer managed key ID. If you want to explicitly set the <code>
|
|
1477
|
+
* x-amz-server-side-encryption-aws-kms-key-id</code> header, it must match the bucket's default customer managed key (using key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a> per directory bucket's lifetime.
|
|
1478
|
+
* The <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed key</a> (<code>aws/s3</code>) isn't supported.
|
|
1479
|
+
*
|
|
1480
|
+
* Incorrect key specification results in an HTTP <code>400 Bad Request</code> error. </p>
|
|
1481
|
+
* @public
|
|
1482
|
+
*/
|
|
1483
|
+
SSEKMSKeyId?: string | undefined;
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of
|
|
1486
|
+
* this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
|
|
1487
|
+
* This value is stored as object metadata and automatically gets passed on
|
|
1488
|
+
* to Amazon Web Services KMS for future <code>GetObject</code> operations on
|
|
1489
|
+
* this object.</p>
|
|
1490
|
+
* <p>
|
|
1491
|
+
* <b>General purpose buckets</b> - This value must be explicitly added during <code>CopyObject</code> operations if you want an additional encryption context for your object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context">Encryption context</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1492
|
+
* <p>
|
|
1493
|
+
* <b>Directory buckets</b> - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported. </p>
|
|
815
1494
|
* @public
|
|
816
|
-
* <p>Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of
|
|
817
|
-
* this header is a base64-encoded UTF-8 string holding JSON with the encryption context
|
|
818
|
-
* key-value pairs. This value is stored as object metadata and automatically gets passed on
|
|
819
|
-
* to Amazon Web Services KMS for future <code>GetObject</code> or <code>CopyObject</code> operations on
|
|
820
|
-
* this object. This value must be explicitly added during <code>CopyObject</code> operations.</p>
|
|
821
|
-
* <note>
|
|
822
|
-
* <p>This functionality is not supported for directory buckets.</p>
|
|
823
|
-
* </note>
|
|
824
1495
|
*/
|
|
825
|
-
SSEKMSEncryptionContext?: string;
|
|
1496
|
+
SSEKMSEncryptionContext?: string | undefined;
|
|
826
1497
|
/**
|
|
827
|
-
* @public
|
|
828
1498
|
* <p>Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with
|
|
829
|
-
* server-side encryption using Key Management Service (KMS) keys (SSE-KMS)
|
|
1499
|
+
* server-side encryption using Key Management Service (KMS) keys (SSE-KMS).</p>
|
|
1500
|
+
* <p>
|
|
1501
|
+
* <b>General purpose buckets</b> - Setting this header to
|
|
830
1502
|
* <code>true</code> causes Amazon S3 to use an S3 Bucket Key for object encryption with
|
|
831
|
-
* SSE-KMS
|
|
832
|
-
* <p>Specifying this header with a PUT action doesn’t affect bucket-level settings for S3
|
|
1503
|
+
* SSE-KMS. Also, specifying this header with a PUT action doesn't affect bucket-level settings for S3
|
|
833
1504
|
* Bucket Key.</p>
|
|
834
|
-
* <
|
|
835
|
-
* <
|
|
836
|
-
*
|
|
1505
|
+
* <p>
|
|
1506
|
+
* <b>Directory buckets</b> - S3 Bucket Keys are always enabled for <code>GET</code> and <code>PUT</code> operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets
|
|
1507
|
+
* to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops">the Copy operation in Batch Operations</a>, or
|
|
1508
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job">the import jobs</a>. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.</p>
|
|
1509
|
+
* @public
|
|
837
1510
|
*/
|
|
838
|
-
BucketKeyEnabled?: boolean;
|
|
1511
|
+
BucketKeyEnabled?: boolean | undefined;
|
|
839
1512
|
/**
|
|
840
|
-
* @public
|
|
841
1513
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
842
1514
|
* owners need not specify this parameter in their requests. If either the source or
|
|
843
|
-
* destination S3 bucket has Requester Pays enabled, the requester will pay for
|
|
844
|
-
*
|
|
845
|
-
*
|
|
1515
|
+
* destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding
|
|
1516
|
+
* charges to copy the object. For information about downloading objects from Requester Pays
|
|
1517
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
846
1518
|
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
847
1519
|
* <note>
|
|
848
1520
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
849
1521
|
* </note>
|
|
1522
|
+
* @public
|
|
850
1523
|
*/
|
|
851
|
-
RequestPayer?: RequestPayer;
|
|
1524
|
+
RequestPayer?: RequestPayer | undefined;
|
|
852
1525
|
/**
|
|
853
|
-
* @public
|
|
854
1526
|
* <p>The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For
|
|
855
1527
|
* example, "Key1=Value1")</p>
|
|
856
1528
|
* <note>
|
|
857
1529
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
858
1530
|
* </note>
|
|
1531
|
+
* @public
|
|
859
1532
|
*/
|
|
860
|
-
Tagging?: string;
|
|
1533
|
+
Tagging?: string | undefined;
|
|
861
1534
|
/**
|
|
862
|
-
* @public
|
|
863
1535
|
* <p>The Object Lock mode that you want to apply to this object.</p>
|
|
864
1536
|
* <note>
|
|
865
1537
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
866
1538
|
* </note>
|
|
1539
|
+
* @public
|
|
867
1540
|
*/
|
|
868
|
-
ObjectLockMode?: ObjectLockMode;
|
|
1541
|
+
ObjectLockMode?: ObjectLockMode | undefined;
|
|
869
1542
|
/**
|
|
870
|
-
* @public
|
|
871
1543
|
* <p>The date and time when you want this object's Object Lock to expire. Must be formatted
|
|
872
1544
|
* as a timestamp parameter.</p>
|
|
873
1545
|
* <note>
|
|
874
1546
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
875
1547
|
* </note>
|
|
1548
|
+
* @public
|
|
876
1549
|
*/
|
|
877
|
-
ObjectLockRetainUntilDate?: Date;
|
|
1550
|
+
ObjectLockRetainUntilDate?: Date | undefined;
|
|
878
1551
|
/**
|
|
879
|
-
* @public
|
|
880
1552
|
* <p>Specifies whether a legal hold will be applied to this object. For more information
|
|
881
|
-
* about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object Lock</a> in the
|
|
1553
|
+
* about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object Lock</a> in the
|
|
1554
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
882
1555
|
* <note>
|
|
883
1556
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
884
1557
|
* </note>
|
|
1558
|
+
* @public
|
|
885
1559
|
*/
|
|
886
|
-
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
|
|
1560
|
+
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
|
|
887
1561
|
/**
|
|
888
|
-
* @public
|
|
889
1562
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1563
|
+
* @public
|
|
1564
|
+
*/
|
|
1565
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1566
|
+
}
|
|
1567
|
+
/**
|
|
1568
|
+
* <p>
|
|
1569
|
+
* You have attempted to add more parts than the maximum of 10000
|
|
1570
|
+
* that are allowed for this object. You can use the CopyObject operation
|
|
1571
|
+
* to copy this object to another and then add more data to the newly copied object.
|
|
1572
|
+
* </p>
|
|
1573
|
+
* @public
|
|
1574
|
+
*/
|
|
1575
|
+
export declare class TooManyParts extends __BaseException {
|
|
1576
|
+
readonly name: "TooManyParts";
|
|
1577
|
+
readonly $fault: "client";
|
|
1578
|
+
/**
|
|
1579
|
+
* @internal
|
|
890
1580
|
*/
|
|
891
|
-
|
|
1581
|
+
constructor(opts: __ExceptionOptionType<TooManyParts, __BaseException>);
|
|
892
1582
|
}
|
|
893
1583
|
/**
|
|
894
1584
|
* @public
|
|
895
1585
|
*/
|
|
896
1586
|
export interface PutObjectAclOutput {
|
|
897
1587
|
/**
|
|
898
|
-
* @public
|
|
899
1588
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
900
1589
|
* request.</p>
|
|
901
1590
|
* <note>
|
|
902
1591
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
903
1592
|
* </note>
|
|
1593
|
+
* @public
|
|
904
1594
|
*/
|
|
905
|
-
RequestCharged?: RequestCharged;
|
|
1595
|
+
RequestCharged?: RequestCharged | undefined;
|
|
906
1596
|
}
|
|
907
1597
|
/**
|
|
908
1598
|
* @public
|
|
909
1599
|
*/
|
|
910
1600
|
export interface PutObjectAclRequest {
|
|
911
1601
|
/**
|
|
912
|
-
* @public
|
|
913
1602
|
* <p>The canned ACL to apply to the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
|
|
914
1603
|
* ACL</a>.</p>
|
|
1604
|
+
* @public
|
|
915
1605
|
*/
|
|
916
|
-
ACL?: ObjectCannedACL;
|
|
1606
|
+
ACL?: ObjectCannedACL | undefined;
|
|
917
1607
|
/**
|
|
918
|
-
* @public
|
|
919
1608
|
* <p>Contains the elements that set the ACL permissions for an object per grantee.</p>
|
|
1609
|
+
* @public
|
|
920
1610
|
*/
|
|
921
|
-
AccessControlPolicy?: AccessControlPolicy;
|
|
1611
|
+
AccessControlPolicy?: AccessControlPolicy | undefined;
|
|
922
1612
|
/**
|
|
923
|
-
* @public
|
|
924
1613
|
* <p>The bucket name that contains the object to which you want to attach the ACL. </p>
|
|
925
1614
|
* <p>
|
|
926
1615
|
* <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
927
1616
|
* <p>
|
|
928
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
929
|
-
*
|
|
1617
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
1618
|
+
* form <code>
|
|
1619
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
930
1620
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
931
1621
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1622
|
+
* @public
|
|
932
1623
|
*/
|
|
933
1624
|
Bucket: string | undefined;
|
|
934
1625
|
/**
|
|
935
|
-
*
|
|
936
|
-
* <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message
|
|
1626
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. This header must be used as a message
|
|
937
1627
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
938
1628
|
* information, go to <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC
|
|
939
1629
|
* 1864.></a>
|
|
940
1630
|
* </p>
|
|
941
1631
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
1632
|
+
* @public
|
|
942
1633
|
*/
|
|
943
|
-
ContentMD5?: string;
|
|
1634
|
+
ContentMD5?: string | undefined;
|
|
944
1635
|
/**
|
|
945
|
-
* @public
|
|
946
1636
|
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
947
1637
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
948
1638
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
@@ -950,136 +1640,136 @@ export interface PutObjectAclRequest {
|
|
|
950
1640
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
951
1641
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
952
1642
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
1643
|
+
* @public
|
|
953
1644
|
*/
|
|
954
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
1645
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
955
1646
|
/**
|
|
956
|
-
* @public
|
|
957
1647
|
* <p>Allows grantee the read, write, read ACP, and write ACP permissions on the
|
|
958
1648
|
* bucket.</p>
|
|
959
1649
|
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
1650
|
+
* @public
|
|
960
1651
|
*/
|
|
961
|
-
GrantFullControl?: string;
|
|
1652
|
+
GrantFullControl?: string | undefined;
|
|
962
1653
|
/**
|
|
963
|
-
* @public
|
|
964
1654
|
* <p>Allows grantee to list the objects in the bucket.</p>
|
|
965
1655
|
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
1656
|
+
* @public
|
|
966
1657
|
*/
|
|
967
|
-
GrantRead?: string;
|
|
1658
|
+
GrantRead?: string | undefined;
|
|
968
1659
|
/**
|
|
969
|
-
* @public
|
|
970
1660
|
* <p>Allows grantee to read the bucket ACL.</p>
|
|
971
1661
|
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
1662
|
+
* @public
|
|
972
1663
|
*/
|
|
973
|
-
GrantReadACP?: string;
|
|
1664
|
+
GrantReadACP?: string | undefined;
|
|
974
1665
|
/**
|
|
975
|
-
* @public
|
|
976
1666
|
* <p>Allows grantee to create new objects in the bucket.</p>
|
|
977
1667
|
* <p>For the bucket and object owners of existing objects, also allows deletions and
|
|
978
1668
|
* overwrites of those objects.</p>
|
|
1669
|
+
* @public
|
|
979
1670
|
*/
|
|
980
|
-
GrantWrite?: string;
|
|
1671
|
+
GrantWrite?: string | undefined;
|
|
981
1672
|
/**
|
|
982
|
-
* @public
|
|
983
1673
|
* <p>Allows grantee to write the ACL for the applicable bucket.</p>
|
|
984
1674
|
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
1675
|
+
* @public
|
|
985
1676
|
*/
|
|
986
|
-
GrantWriteACP?: string;
|
|
1677
|
+
GrantWriteACP?: string | undefined;
|
|
987
1678
|
/**
|
|
988
|
-
* @public
|
|
989
1679
|
* <p>Key for which the PUT action was initiated.</p>
|
|
1680
|
+
* @public
|
|
990
1681
|
*/
|
|
991
1682
|
Key: string | undefined;
|
|
992
1683
|
/**
|
|
993
|
-
* @public
|
|
994
1684
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
995
1685
|
* owners need not specify this parameter in their requests. If either the source or
|
|
996
|
-
* destination S3 bucket has Requester Pays enabled, the requester will pay for
|
|
997
|
-
*
|
|
998
|
-
*
|
|
1686
|
+
* destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding
|
|
1687
|
+
* charges to copy the object. For information about downloading objects from Requester Pays
|
|
1688
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
999
1689
|
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1000
1690
|
* <note>
|
|
1001
1691
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1002
1692
|
* </note>
|
|
1693
|
+
* @public
|
|
1003
1694
|
*/
|
|
1004
|
-
RequestPayer?: RequestPayer;
|
|
1695
|
+
RequestPayer?: RequestPayer | undefined;
|
|
1005
1696
|
/**
|
|
1006
|
-
* @public
|
|
1007
1697
|
* <p>Version ID used to reference a specific version of the object.</p>
|
|
1008
1698
|
* <note>
|
|
1009
1699
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1010
1700
|
* </note>
|
|
1701
|
+
* @public
|
|
1011
1702
|
*/
|
|
1012
|
-
VersionId?: string;
|
|
1703
|
+
VersionId?: string | undefined;
|
|
1013
1704
|
/**
|
|
1014
|
-
* @public
|
|
1015
1705
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1706
|
+
* @public
|
|
1016
1707
|
*/
|
|
1017
|
-
ExpectedBucketOwner?: string;
|
|
1708
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1018
1709
|
}
|
|
1019
1710
|
/**
|
|
1020
1711
|
* @public
|
|
1021
1712
|
*/
|
|
1022
1713
|
export interface PutObjectLegalHoldOutput {
|
|
1023
1714
|
/**
|
|
1024
|
-
* @public
|
|
1025
1715
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
1026
1716
|
* request.</p>
|
|
1027
1717
|
* <note>
|
|
1028
1718
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1029
1719
|
* </note>
|
|
1720
|
+
* @public
|
|
1030
1721
|
*/
|
|
1031
|
-
RequestCharged?: RequestCharged;
|
|
1722
|
+
RequestCharged?: RequestCharged | undefined;
|
|
1032
1723
|
}
|
|
1033
1724
|
/**
|
|
1034
1725
|
* @public
|
|
1035
1726
|
*/
|
|
1036
1727
|
export interface PutObjectLegalHoldRequest {
|
|
1037
1728
|
/**
|
|
1038
|
-
* @public
|
|
1039
1729
|
* <p>The bucket name containing the object that you want to place a legal hold on. </p>
|
|
1040
1730
|
* <p>
|
|
1041
1731
|
* <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1042
1732
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
1043
1733
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1734
|
+
* @public
|
|
1044
1735
|
*/
|
|
1045
1736
|
Bucket: string | undefined;
|
|
1046
1737
|
/**
|
|
1047
|
-
* @public
|
|
1048
1738
|
* <p>The key name for the object that you want to place a legal hold on.</p>
|
|
1739
|
+
* @public
|
|
1049
1740
|
*/
|
|
1050
1741
|
Key: string | undefined;
|
|
1051
1742
|
/**
|
|
1052
|
-
* @public
|
|
1053
1743
|
* <p>Container element for the legal hold configuration you want to apply to the specified
|
|
1054
1744
|
* object.</p>
|
|
1745
|
+
* @public
|
|
1055
1746
|
*/
|
|
1056
|
-
LegalHold?: ObjectLockLegalHold;
|
|
1747
|
+
LegalHold?: ObjectLockLegalHold | undefined;
|
|
1057
1748
|
/**
|
|
1058
|
-
* @public
|
|
1059
1749
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
1060
1750
|
* owners need not specify this parameter in their requests. If either the source or
|
|
1061
|
-
* destination S3 bucket has Requester Pays enabled, the requester will pay for
|
|
1062
|
-
*
|
|
1063
|
-
*
|
|
1751
|
+
* destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding
|
|
1752
|
+
* charges to copy the object. For information about downloading objects from Requester Pays
|
|
1753
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
1064
1754
|
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1065
1755
|
* <note>
|
|
1066
1756
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1067
1757
|
* </note>
|
|
1758
|
+
* @public
|
|
1068
1759
|
*/
|
|
1069
|
-
RequestPayer?: RequestPayer;
|
|
1760
|
+
RequestPayer?: RequestPayer | undefined;
|
|
1070
1761
|
/**
|
|
1071
|
-
* @public
|
|
1072
1762
|
* <p>The version ID of the object that you want to place a legal hold on.</p>
|
|
1763
|
+
* @public
|
|
1073
1764
|
*/
|
|
1074
|
-
VersionId?: string;
|
|
1765
|
+
VersionId?: string | undefined;
|
|
1075
1766
|
/**
|
|
1076
|
-
* @public
|
|
1077
1767
|
* <p>The MD5 hash for the request body.</p>
|
|
1078
1768
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
1769
|
+
* @public
|
|
1079
1770
|
*/
|
|
1080
|
-
ContentMD5?: string;
|
|
1771
|
+
ContentMD5?: string | undefined;
|
|
1081
1772
|
/**
|
|
1082
|
-
* @public
|
|
1083
1773
|
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
1084
1774
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
1085
1775
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
@@ -1087,70 +1777,70 @@ export interface PutObjectLegalHoldRequest {
|
|
|
1087
1777
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1088
1778
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
1089
1779
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
1780
|
+
* @public
|
|
1090
1781
|
*/
|
|
1091
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
1782
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
1092
1783
|
/**
|
|
1093
|
-
* @public
|
|
1094
1784
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1785
|
+
* @public
|
|
1095
1786
|
*/
|
|
1096
|
-
ExpectedBucketOwner?: string;
|
|
1787
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1097
1788
|
}
|
|
1098
1789
|
/**
|
|
1099
1790
|
* @public
|
|
1100
1791
|
*/
|
|
1101
1792
|
export interface PutObjectLockConfigurationOutput {
|
|
1102
1793
|
/**
|
|
1103
|
-
* @public
|
|
1104
1794
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
1105
1795
|
* request.</p>
|
|
1106
1796
|
* <note>
|
|
1107
1797
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1108
1798
|
* </note>
|
|
1799
|
+
* @public
|
|
1109
1800
|
*/
|
|
1110
|
-
RequestCharged?: RequestCharged;
|
|
1801
|
+
RequestCharged?: RequestCharged | undefined;
|
|
1111
1802
|
}
|
|
1112
1803
|
/**
|
|
1113
1804
|
* @public
|
|
1114
1805
|
*/
|
|
1115
1806
|
export interface PutObjectLockConfigurationRequest {
|
|
1116
1807
|
/**
|
|
1117
|
-
* @public
|
|
1118
1808
|
* <p>The bucket whose Object Lock configuration you want to create or replace.</p>
|
|
1119
1809
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
1120
1810
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1811
|
+
* @public
|
|
1121
1812
|
*/
|
|
1122
1813
|
Bucket: string | undefined;
|
|
1123
1814
|
/**
|
|
1124
|
-
* @public
|
|
1125
1815
|
* <p>The Object Lock configuration that you want to apply to the specified bucket.</p>
|
|
1816
|
+
* @public
|
|
1126
1817
|
*/
|
|
1127
|
-
ObjectLockConfiguration?: ObjectLockConfiguration;
|
|
1818
|
+
ObjectLockConfiguration?: ObjectLockConfiguration | undefined;
|
|
1128
1819
|
/**
|
|
1129
|
-
* @public
|
|
1130
1820
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
1131
1821
|
* owners need not specify this parameter in their requests. If either the source or
|
|
1132
|
-
* destination S3 bucket has Requester Pays enabled, the requester will pay for
|
|
1133
|
-
*
|
|
1134
|
-
*
|
|
1822
|
+
* destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding
|
|
1823
|
+
* charges to copy the object. For information about downloading objects from Requester Pays
|
|
1824
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
1135
1825
|
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1136
1826
|
* <note>
|
|
1137
1827
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1138
1828
|
* </note>
|
|
1829
|
+
* @public
|
|
1139
1830
|
*/
|
|
1140
|
-
RequestPayer?: RequestPayer;
|
|
1831
|
+
RequestPayer?: RequestPayer | undefined;
|
|
1141
1832
|
/**
|
|
1142
|
-
* @public
|
|
1143
1833
|
* <p>A token to allow Object Lock to be enabled for an existing bucket.</p>
|
|
1834
|
+
* @public
|
|
1144
1835
|
*/
|
|
1145
|
-
Token?: string;
|
|
1836
|
+
Token?: string | undefined;
|
|
1146
1837
|
/**
|
|
1147
|
-
* @public
|
|
1148
1838
|
* <p>The MD5 hash for the request body.</p>
|
|
1149
1839
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
1840
|
+
* @public
|
|
1150
1841
|
*/
|
|
1151
|
-
ContentMD5?: string;
|
|
1842
|
+
ContentMD5?: string | undefined;
|
|
1152
1843
|
/**
|
|
1153
|
-
* @public
|
|
1154
1844
|
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
1155
1845
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
1156
1846
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
@@ -1158,85 +1848,85 @@ export interface PutObjectLockConfigurationRequest {
|
|
|
1158
1848
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1159
1849
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
1160
1850
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
1851
|
+
* @public
|
|
1161
1852
|
*/
|
|
1162
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
1853
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
1163
1854
|
/**
|
|
1164
|
-
* @public
|
|
1165
1855
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1856
|
+
* @public
|
|
1166
1857
|
*/
|
|
1167
|
-
ExpectedBucketOwner?: string;
|
|
1858
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1168
1859
|
}
|
|
1169
1860
|
/**
|
|
1170
1861
|
* @public
|
|
1171
1862
|
*/
|
|
1172
1863
|
export interface PutObjectRetentionOutput {
|
|
1173
1864
|
/**
|
|
1174
|
-
* @public
|
|
1175
1865
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
1176
1866
|
* request.</p>
|
|
1177
1867
|
* <note>
|
|
1178
1868
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1179
1869
|
* </note>
|
|
1870
|
+
* @public
|
|
1180
1871
|
*/
|
|
1181
|
-
RequestCharged?: RequestCharged;
|
|
1872
|
+
RequestCharged?: RequestCharged | undefined;
|
|
1182
1873
|
}
|
|
1183
1874
|
/**
|
|
1184
1875
|
* @public
|
|
1185
1876
|
*/
|
|
1186
1877
|
export interface PutObjectRetentionRequest {
|
|
1187
1878
|
/**
|
|
1188
|
-
* @public
|
|
1189
1879
|
* <p>The bucket name that contains the object you want to apply this Object Retention
|
|
1190
1880
|
* configuration to. </p>
|
|
1191
1881
|
* <p>
|
|
1192
1882
|
* <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1193
1883
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
1194
1884
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1885
|
+
* @public
|
|
1195
1886
|
*/
|
|
1196
1887
|
Bucket: string | undefined;
|
|
1197
1888
|
/**
|
|
1198
|
-
* @public
|
|
1199
1889
|
* <p>The key name for the object that you want to apply this Object Retention configuration
|
|
1200
1890
|
* to.</p>
|
|
1891
|
+
* @public
|
|
1201
1892
|
*/
|
|
1202
1893
|
Key: string | undefined;
|
|
1203
1894
|
/**
|
|
1204
|
-
* @public
|
|
1205
1895
|
* <p>The container element for the Object Retention configuration.</p>
|
|
1896
|
+
* @public
|
|
1206
1897
|
*/
|
|
1207
|
-
Retention?: ObjectLockRetention;
|
|
1898
|
+
Retention?: ObjectLockRetention | undefined;
|
|
1208
1899
|
/**
|
|
1209
|
-
* @public
|
|
1210
1900
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
1211
1901
|
* owners need not specify this parameter in their requests. If either the source or
|
|
1212
|
-
* destination S3 bucket has Requester Pays enabled, the requester will pay for
|
|
1213
|
-
*
|
|
1214
|
-
*
|
|
1902
|
+
* destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding
|
|
1903
|
+
* charges to copy the object. For information about downloading objects from Requester Pays
|
|
1904
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
1215
1905
|
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1216
1906
|
* <note>
|
|
1217
1907
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1218
1908
|
* </note>
|
|
1909
|
+
* @public
|
|
1219
1910
|
*/
|
|
1220
|
-
RequestPayer?: RequestPayer;
|
|
1911
|
+
RequestPayer?: RequestPayer | undefined;
|
|
1221
1912
|
/**
|
|
1222
|
-
* @public
|
|
1223
1913
|
* <p>The version ID for the object that you want to apply this Object Retention configuration
|
|
1224
1914
|
* to.</p>
|
|
1915
|
+
* @public
|
|
1225
1916
|
*/
|
|
1226
|
-
VersionId?: string;
|
|
1917
|
+
VersionId?: string | undefined;
|
|
1227
1918
|
/**
|
|
1228
|
-
* @public
|
|
1229
1919
|
* <p>Indicates whether this action should bypass Governance-mode restrictions.</p>
|
|
1920
|
+
* @public
|
|
1230
1921
|
*/
|
|
1231
|
-
BypassGovernanceRetention?: boolean;
|
|
1922
|
+
BypassGovernanceRetention?: boolean | undefined;
|
|
1232
1923
|
/**
|
|
1233
|
-
* @public
|
|
1234
1924
|
* <p>The MD5 hash for the request body.</p>
|
|
1235
1925
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
1926
|
+
* @public
|
|
1236
1927
|
*/
|
|
1237
|
-
ContentMD5?: string;
|
|
1928
|
+
ContentMD5?: string | undefined;
|
|
1238
1929
|
/**
|
|
1239
|
-
* @public
|
|
1240
1930
|
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
1241
1931
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
1242
1932
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
@@ -1244,58 +1934,59 @@ export interface PutObjectRetentionRequest {
|
|
|
1244
1934
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1245
1935
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
1246
1936
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
1937
|
+
* @public
|
|
1247
1938
|
*/
|
|
1248
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
1939
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
1249
1940
|
/**
|
|
1250
|
-
* @public
|
|
1251
1941
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1942
|
+
* @public
|
|
1252
1943
|
*/
|
|
1253
|
-
ExpectedBucketOwner?: string;
|
|
1944
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1254
1945
|
}
|
|
1255
1946
|
/**
|
|
1256
1947
|
* @public
|
|
1257
1948
|
*/
|
|
1258
1949
|
export interface PutObjectTaggingOutput {
|
|
1259
1950
|
/**
|
|
1260
|
-
* @public
|
|
1261
1951
|
* <p>The versionId of the object the tag-set was added to.</p>
|
|
1952
|
+
* @public
|
|
1262
1953
|
*/
|
|
1263
|
-
VersionId?: string;
|
|
1954
|
+
VersionId?: string | undefined;
|
|
1264
1955
|
}
|
|
1265
1956
|
/**
|
|
1266
1957
|
* @public
|
|
1267
1958
|
*/
|
|
1268
1959
|
export interface PutObjectTaggingRequest {
|
|
1269
1960
|
/**
|
|
1270
|
-
* @public
|
|
1271
1961
|
* <p>The bucket name containing the object. </p>
|
|
1272
1962
|
* <p>
|
|
1273
1963
|
* <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1274
1964
|
* <p>
|
|
1275
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
1276
|
-
*
|
|
1965
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
1966
|
+
* form <code>
|
|
1967
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1277
1968
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
1278
1969
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1970
|
+
* @public
|
|
1279
1971
|
*/
|
|
1280
1972
|
Bucket: string | undefined;
|
|
1281
1973
|
/**
|
|
1282
|
-
* @public
|
|
1283
1974
|
* <p>Name of the object key.</p>
|
|
1975
|
+
* @public
|
|
1284
1976
|
*/
|
|
1285
1977
|
Key: string | undefined;
|
|
1286
1978
|
/**
|
|
1287
|
-
* @public
|
|
1288
1979
|
* <p>The versionId of the object that the tag-set will be added to.</p>
|
|
1980
|
+
* @public
|
|
1289
1981
|
*/
|
|
1290
|
-
VersionId?: string;
|
|
1982
|
+
VersionId?: string | undefined;
|
|
1291
1983
|
/**
|
|
1292
|
-
* @public
|
|
1293
1984
|
* <p>The MD5 hash for the request body.</p>
|
|
1294
1985
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
1986
|
+
* @public
|
|
1295
1987
|
*/
|
|
1296
|
-
ContentMD5?: string;
|
|
1988
|
+
ContentMD5?: string | undefined;
|
|
1297
1989
|
/**
|
|
1298
|
-
* @public
|
|
1299
1990
|
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
1300
1991
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
1301
1992
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
@@ -1303,52 +1994,52 @@ export interface PutObjectTaggingRequest {
|
|
|
1303
1994
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1304
1995
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
1305
1996
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
1997
|
+
* @public
|
|
1306
1998
|
*/
|
|
1307
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
1999
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
1308
2000
|
/**
|
|
1309
|
-
* @public
|
|
1310
2001
|
* <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p>
|
|
2002
|
+
* @public
|
|
1311
2003
|
*/
|
|
1312
2004
|
Tagging: Tagging | undefined;
|
|
1313
2005
|
/**
|
|
1314
|
-
* @public
|
|
1315
2006
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
2007
|
+
* @public
|
|
1316
2008
|
*/
|
|
1317
|
-
ExpectedBucketOwner?: string;
|
|
2009
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1318
2010
|
/**
|
|
1319
|
-
* @public
|
|
1320
2011
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
1321
2012
|
* owners need not specify this parameter in their requests. If either the source or
|
|
1322
|
-
* destination S3 bucket has Requester Pays enabled, the requester will pay for
|
|
1323
|
-
*
|
|
1324
|
-
*
|
|
2013
|
+
* destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding
|
|
2014
|
+
* charges to copy the object. For information about downloading objects from Requester Pays
|
|
2015
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
1325
2016
|
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1326
2017
|
* <note>
|
|
1327
2018
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1328
2019
|
* </note>
|
|
2020
|
+
* @public
|
|
1329
2021
|
*/
|
|
1330
|
-
RequestPayer?: RequestPayer;
|
|
2022
|
+
RequestPayer?: RequestPayer | undefined;
|
|
1331
2023
|
}
|
|
1332
2024
|
/**
|
|
1333
2025
|
* @public
|
|
1334
2026
|
*/
|
|
1335
2027
|
export interface PutPublicAccessBlockRequest {
|
|
1336
2028
|
/**
|
|
1337
|
-
* @public
|
|
1338
2029
|
* <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you want
|
|
1339
2030
|
* to set.</p>
|
|
1340
2031
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
1341
2032
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
2033
|
+
* @public
|
|
1342
2034
|
*/
|
|
1343
2035
|
Bucket: string | undefined;
|
|
1344
2036
|
/**
|
|
1345
|
-
* @public
|
|
1346
2037
|
* <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p>
|
|
1347
2038
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
2039
|
+
* @public
|
|
1348
2040
|
*/
|
|
1349
|
-
ContentMD5?: string;
|
|
2041
|
+
ContentMD5?: string | undefined;
|
|
1350
2042
|
/**
|
|
1351
|
-
* @public
|
|
1352
2043
|
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
1353
2044
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
1354
2045
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
@@ -1356,24 +2047,25 @@ export interface PutPublicAccessBlockRequest {
|
|
|
1356
2047
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1357
2048
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
1358
2049
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
2050
|
+
* @public
|
|
1359
2051
|
*/
|
|
1360
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
2052
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
1361
2053
|
/**
|
|
1362
|
-
* @public
|
|
1363
2054
|
* <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
|
|
1364
2055
|
* bucket. You can enable the configuration options in any combination. For more information
|
|
1365
2056
|
* about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2057
|
+
* @public
|
|
1366
2058
|
*/
|
|
1367
2059
|
PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
|
|
1368
2060
|
/**
|
|
1369
|
-
* @public
|
|
1370
2061
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
2062
|
+
* @public
|
|
1371
2063
|
*/
|
|
1372
|
-
ExpectedBucketOwner?: string;
|
|
2064
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1373
2065
|
}
|
|
1374
2066
|
/**
|
|
1375
|
-
* @public
|
|
1376
2067
|
* <p>This action is not allowed against this storage tier.</p>
|
|
2068
|
+
* @public
|
|
1377
2069
|
*/
|
|
1378
2070
|
export declare class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
1379
2071
|
readonly name: "ObjectAlreadyInActiveTierError";
|
|
@@ -1388,20 +2080,20 @@ export declare class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
|
1388
2080
|
*/
|
|
1389
2081
|
export interface RestoreObjectOutput {
|
|
1390
2082
|
/**
|
|
1391
|
-
* @public
|
|
1392
2083
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
1393
2084
|
* request.</p>
|
|
1394
2085
|
* <note>
|
|
1395
2086
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1396
2087
|
* </note>
|
|
2088
|
+
* @public
|
|
1397
2089
|
*/
|
|
1398
|
-
RequestCharged?: RequestCharged;
|
|
2090
|
+
RequestCharged?: RequestCharged | undefined;
|
|
1399
2091
|
/**
|
|
1400
|
-
* @public
|
|
1401
2092
|
* <p>Indicates the path in the provided S3 output location where Select results will be
|
|
1402
2093
|
* restored to.</p>
|
|
2094
|
+
* @public
|
|
1403
2095
|
*/
|
|
1404
|
-
RestoreOutputPath?: string;
|
|
2096
|
+
RestoreOutputPath?: string | undefined;
|
|
1405
2097
|
}
|
|
1406
2098
|
/**
|
|
1407
2099
|
* @public
|
|
@@ -1417,114 +2109,114 @@ export declare const Tier: {
|
|
|
1417
2109
|
*/
|
|
1418
2110
|
export type Tier = (typeof Tier)[keyof typeof Tier];
|
|
1419
2111
|
/**
|
|
1420
|
-
* @public
|
|
1421
2112
|
* <p>Container for S3 Glacier job parameters.</p>
|
|
2113
|
+
* @public
|
|
1422
2114
|
*/
|
|
1423
2115
|
export interface GlacierJobParameters {
|
|
1424
2116
|
/**
|
|
1425
|
-
* @public
|
|
1426
2117
|
* <p>Retrieval tier at which the restore will be processed.</p>
|
|
2118
|
+
* @public
|
|
1427
2119
|
*/
|
|
1428
2120
|
Tier: Tier | undefined;
|
|
1429
2121
|
}
|
|
1430
2122
|
/**
|
|
1431
|
-
* @public
|
|
1432
2123
|
* <p>Contains the type of server-side encryption used.</p>
|
|
2124
|
+
* @public
|
|
1433
2125
|
*/
|
|
1434
2126
|
export interface Encryption {
|
|
1435
2127
|
/**
|
|
1436
|
-
* @public
|
|
1437
2128
|
* <p>The server-side encryption algorithm used when storing job results in Amazon S3 (for example,
|
|
1438
2129
|
* AES256, <code>aws:kms</code>).</p>
|
|
2130
|
+
* @public
|
|
1439
2131
|
*/
|
|
1440
2132
|
EncryptionType: ServerSideEncryption | undefined;
|
|
1441
2133
|
/**
|
|
1442
|
-
* @public
|
|
1443
2134
|
* <p>If the encryption type is <code>aws:kms</code>, this optional value specifies the ID of
|
|
1444
2135
|
* the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only
|
|
1445
2136
|
* supports symmetric encryption KMS keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Asymmetric keys in KMS</a> in the <i>Amazon Web Services Key Management Service
|
|
1446
2137
|
* Developer Guide</i>.</p>
|
|
2138
|
+
* @public
|
|
1447
2139
|
*/
|
|
1448
|
-
KMSKeyId?: string;
|
|
2140
|
+
KMSKeyId?: string | undefined;
|
|
1449
2141
|
/**
|
|
1450
|
-
* @public
|
|
1451
2142
|
* <p>If the encryption type is <code>aws:kms</code>, this optional value can be used to
|
|
1452
2143
|
* specify the encryption context for the restore results.</p>
|
|
2144
|
+
* @public
|
|
1453
2145
|
*/
|
|
1454
|
-
KMSContext?: string;
|
|
2146
|
+
KMSContext?: string | undefined;
|
|
1455
2147
|
}
|
|
1456
2148
|
/**
|
|
1457
|
-
* @public
|
|
1458
2149
|
* <p>A metadata key-value pair to store with an object.</p>
|
|
2150
|
+
* @public
|
|
1459
2151
|
*/
|
|
1460
2152
|
export interface MetadataEntry {
|
|
1461
2153
|
/**
|
|
1462
|
-
* @public
|
|
1463
2154
|
* <p>Name of the object.</p>
|
|
2155
|
+
* @public
|
|
1464
2156
|
*/
|
|
1465
|
-
Name?: string;
|
|
2157
|
+
Name?: string | undefined;
|
|
1466
2158
|
/**
|
|
1467
|
-
* @public
|
|
1468
2159
|
* <p>Value of the object.</p>
|
|
2160
|
+
* @public
|
|
1469
2161
|
*/
|
|
1470
|
-
Value?: string;
|
|
2162
|
+
Value?: string | undefined;
|
|
1471
2163
|
}
|
|
1472
2164
|
/**
|
|
1473
|
-
* @public
|
|
1474
2165
|
* <p>Describes an Amazon S3 location that will receive the results of the restore request.</p>
|
|
2166
|
+
* @public
|
|
1475
2167
|
*/
|
|
1476
2168
|
export interface S3Location {
|
|
1477
2169
|
/**
|
|
1478
|
-
* @public
|
|
1479
2170
|
* <p>The name of the bucket where the restore results will be placed.</p>
|
|
2171
|
+
* @public
|
|
1480
2172
|
*/
|
|
1481
2173
|
BucketName: string | undefined;
|
|
1482
2174
|
/**
|
|
1483
|
-
* @public
|
|
1484
2175
|
* <p>The prefix that is prepended to the restore results for this request.</p>
|
|
2176
|
+
* @public
|
|
1485
2177
|
*/
|
|
1486
2178
|
Prefix: string | undefined;
|
|
1487
2179
|
/**
|
|
1488
|
-
* @public
|
|
1489
2180
|
* <p>Contains the type of server-side encryption used.</p>
|
|
2181
|
+
* @public
|
|
1490
2182
|
*/
|
|
1491
|
-
Encryption?: Encryption;
|
|
2183
|
+
Encryption?: Encryption | undefined;
|
|
1492
2184
|
/**
|
|
1493
|
-
* @public
|
|
1494
2185
|
* <p>The canned ACL to apply to the restore results.</p>
|
|
2186
|
+
* @public
|
|
1495
2187
|
*/
|
|
1496
|
-
CannedACL?: ObjectCannedACL;
|
|
2188
|
+
CannedACL?: ObjectCannedACL | undefined;
|
|
1497
2189
|
/**
|
|
1498
|
-
* @public
|
|
1499
2190
|
* <p>A list of grants that control access to the staged results.</p>
|
|
2191
|
+
* @public
|
|
1500
2192
|
*/
|
|
1501
|
-
AccessControlList?: Grant[];
|
|
2193
|
+
AccessControlList?: Grant[] | undefined;
|
|
1502
2194
|
/**
|
|
1503
|
-
* @public
|
|
1504
2195
|
* <p>The tag-set that is applied to the restore results.</p>
|
|
2196
|
+
* @public
|
|
1505
2197
|
*/
|
|
1506
|
-
Tagging?: Tagging;
|
|
2198
|
+
Tagging?: Tagging | undefined;
|
|
1507
2199
|
/**
|
|
1508
|
-
* @public
|
|
1509
2200
|
* <p>A list of metadata to store with the restore results in S3.</p>
|
|
2201
|
+
* @public
|
|
1510
2202
|
*/
|
|
1511
|
-
UserMetadata?: MetadataEntry[];
|
|
2203
|
+
UserMetadata?: MetadataEntry[] | undefined;
|
|
1512
2204
|
/**
|
|
1513
|
-
* @public
|
|
1514
2205
|
* <p>The class of storage used to store the restore results.</p>
|
|
2206
|
+
* @public
|
|
1515
2207
|
*/
|
|
1516
|
-
StorageClass?: StorageClass;
|
|
2208
|
+
StorageClass?: StorageClass | undefined;
|
|
1517
2209
|
}
|
|
1518
2210
|
/**
|
|
1519
|
-
* @public
|
|
1520
2211
|
* <p>Describes the location where the restore job's output is stored.</p>
|
|
2212
|
+
* @public
|
|
1521
2213
|
*/
|
|
1522
2214
|
export interface OutputLocation {
|
|
1523
2215
|
/**
|
|
1524
|
-
* @public
|
|
1525
2216
|
* <p>Describes an S3 location that will receive the results of the restore request.</p>
|
|
2217
|
+
* @public
|
|
1526
2218
|
*/
|
|
1527
|
-
S3?: S3Location;
|
|
2219
|
+
S3?: S3Location | undefined;
|
|
1528
2220
|
}
|
|
1529
2221
|
/**
|
|
1530
2222
|
* @public
|
|
@@ -1564,13 +2256,12 @@ export declare const FileHeaderInfo: {
|
|
|
1564
2256
|
*/
|
|
1565
2257
|
export type FileHeaderInfo = (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo];
|
|
1566
2258
|
/**
|
|
1567
|
-
* @public
|
|
1568
2259
|
* <p>Describes how an uncompressed comma-separated values (CSV)-formatted input object is
|
|
1569
2260
|
* formatted.</p>
|
|
2261
|
+
* @public
|
|
1570
2262
|
*/
|
|
1571
2263
|
export interface CSVInput {
|
|
1572
2264
|
/**
|
|
1573
|
-
* @public
|
|
1574
2265
|
* <p>Describes the first line of input. Valid values are:</p>
|
|
1575
2266
|
* <ul>
|
|
1576
2267
|
* <li>
|
|
@@ -1589,38 +2280,38 @@ export interface CSVInput {
|
|
|
1589
2280
|
* identify a column in an expression (<code>SELECT "name" FROM OBJECT</code>). </p>
|
|
1590
2281
|
* </li>
|
|
1591
2282
|
* </ul>
|
|
2283
|
+
* @public
|
|
1592
2284
|
*/
|
|
1593
|
-
FileHeaderInfo?: FileHeaderInfo;
|
|
2285
|
+
FileHeaderInfo?: FileHeaderInfo | undefined;
|
|
1594
2286
|
/**
|
|
1595
|
-
* @public
|
|
1596
2287
|
* <p>A single character used to indicate that a row should be ignored when the character is
|
|
1597
2288
|
* present at the start of that row. You can specify any character to indicate a comment line.
|
|
1598
2289
|
* The default character is <code>#</code>.</p>
|
|
1599
2290
|
* <p>Default: <code>#</code>
|
|
1600
2291
|
* </p>
|
|
2292
|
+
* @public
|
|
1601
2293
|
*/
|
|
1602
|
-
Comments?: string;
|
|
2294
|
+
Comments?: string | undefined;
|
|
1603
2295
|
/**
|
|
1604
|
-
* @public
|
|
1605
2296
|
* <p>A single character used for escaping the quotation mark character inside an already
|
|
1606
2297
|
* escaped value. For example, the value <code>""" a , b """</code> is parsed as <code>" a , b
|
|
1607
2298
|
* "</code>.</p>
|
|
2299
|
+
* @public
|
|
1608
2300
|
*/
|
|
1609
|
-
QuoteEscapeCharacter?: string;
|
|
2301
|
+
QuoteEscapeCharacter?: string | undefined;
|
|
1610
2302
|
/**
|
|
1611
|
-
* @public
|
|
1612
2303
|
* <p>A single character used to separate individual records in the input. Instead of the
|
|
1613
2304
|
* default value, you can specify an arbitrary delimiter.</p>
|
|
2305
|
+
* @public
|
|
1614
2306
|
*/
|
|
1615
|
-
RecordDelimiter?: string;
|
|
2307
|
+
RecordDelimiter?: string | undefined;
|
|
1616
2308
|
/**
|
|
1617
|
-
* @public
|
|
1618
2309
|
* <p>A single character used to separate individual fields in a record. You can specify an
|
|
1619
2310
|
* arbitrary delimiter.</p>
|
|
2311
|
+
* @public
|
|
1620
2312
|
*/
|
|
1621
|
-
FieldDelimiter?: string;
|
|
2313
|
+
FieldDelimiter?: string | undefined;
|
|
1622
2314
|
/**
|
|
1623
|
-
* @public
|
|
1624
2315
|
* <p>A single character used for escaping when the field delimiter is part of the value. For
|
|
1625
2316
|
* example, if the value is <code>a, b</code>, Amazon S3 wraps this field value in quotation marks,
|
|
1626
2317
|
* as follows: <code>" a , b "</code>.</p>
|
|
@@ -1629,15 +2320,16 @@ export interface CSVInput {
|
|
|
1629
2320
|
* </p>
|
|
1630
2321
|
* <p>Ancestors: <code>CSV</code>
|
|
1631
2322
|
* </p>
|
|
2323
|
+
* @public
|
|
1632
2324
|
*/
|
|
1633
|
-
QuoteCharacter?: string;
|
|
2325
|
+
QuoteCharacter?: string | undefined;
|
|
1634
2326
|
/**
|
|
1635
|
-
* @public
|
|
1636
2327
|
* <p>Specifies that CSV field values may contain quoted record delimiters and such records
|
|
1637
2328
|
* should be allowed. Default value is FALSE. Setting this value to TRUE may lower
|
|
1638
2329
|
* performance.</p>
|
|
2330
|
+
* @public
|
|
1639
2331
|
*/
|
|
1640
|
-
AllowQuotedRecordDelimiter?: boolean;
|
|
2332
|
+
AllowQuotedRecordDelimiter?: boolean | undefined;
|
|
1641
2333
|
}
|
|
1642
2334
|
/**
|
|
1643
2335
|
* @public
|
|
@@ -1652,48 +2344,48 @@ export declare const JSONType: {
|
|
|
1652
2344
|
*/
|
|
1653
2345
|
export type JSONType = (typeof JSONType)[keyof typeof JSONType];
|
|
1654
2346
|
/**
|
|
1655
|
-
* @public
|
|
1656
2347
|
* <p>Specifies JSON as object's input serialization format.</p>
|
|
2348
|
+
* @public
|
|
1657
2349
|
*/
|
|
1658
2350
|
export interface JSONInput {
|
|
1659
2351
|
/**
|
|
1660
|
-
* @public
|
|
1661
2352
|
* <p>The type of JSON. Valid values: Document, Lines.</p>
|
|
2353
|
+
* @public
|
|
1662
2354
|
*/
|
|
1663
|
-
Type?: JSONType;
|
|
2355
|
+
Type?: JSONType | undefined;
|
|
1664
2356
|
}
|
|
1665
2357
|
/**
|
|
1666
|
-
* @public
|
|
1667
2358
|
* <p>Container for Parquet.</p>
|
|
2359
|
+
* @public
|
|
1668
2360
|
*/
|
|
1669
2361
|
export interface ParquetInput {
|
|
1670
2362
|
}
|
|
1671
2363
|
/**
|
|
1672
|
-
* @public
|
|
1673
2364
|
* <p>Describes the serialization format of the object.</p>
|
|
2365
|
+
* @public
|
|
1674
2366
|
*/
|
|
1675
2367
|
export interface InputSerialization {
|
|
1676
2368
|
/**
|
|
1677
|
-
* @public
|
|
1678
2369
|
* <p>Describes the serialization of a CSV-encoded object.</p>
|
|
2370
|
+
* @public
|
|
1679
2371
|
*/
|
|
1680
|
-
CSV?: CSVInput;
|
|
2372
|
+
CSV?: CSVInput | undefined;
|
|
1681
2373
|
/**
|
|
1682
|
-
* @public
|
|
1683
2374
|
* <p>Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value:
|
|
1684
2375
|
* NONE.</p>
|
|
2376
|
+
* @public
|
|
1685
2377
|
*/
|
|
1686
|
-
CompressionType?: CompressionType;
|
|
2378
|
+
CompressionType?: CompressionType | undefined;
|
|
1687
2379
|
/**
|
|
1688
|
-
* @public
|
|
1689
2380
|
* <p>Specifies JSON as object's input serialization format.</p>
|
|
2381
|
+
* @public
|
|
1690
2382
|
*/
|
|
1691
|
-
JSON?: JSONInput;
|
|
2383
|
+
JSON?: JSONInput | undefined;
|
|
1692
2384
|
/**
|
|
1693
|
-
* @public
|
|
1694
2385
|
* <p>Specifies Parquet as object's input serialization format.</p>
|
|
2386
|
+
* @public
|
|
1695
2387
|
*/
|
|
1696
|
-
Parquet?: ParquetInput;
|
|
2388
|
+
Parquet?: ParquetInput | undefined;
|
|
1697
2389
|
}
|
|
1698
2390
|
/**
|
|
1699
2391
|
* @public
|
|
@@ -1708,13 +2400,12 @@ export declare const QuoteFields: {
|
|
|
1708
2400
|
*/
|
|
1709
2401
|
export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
|
|
1710
2402
|
/**
|
|
1711
|
-
* @public
|
|
1712
2403
|
* <p>Describes how uncompressed comma-separated values (CSV)-formatted results are
|
|
1713
2404
|
* formatted.</p>
|
|
2405
|
+
* @public
|
|
1714
2406
|
*/
|
|
1715
2407
|
export interface CSVOutput {
|
|
1716
2408
|
/**
|
|
1717
|
-
* @public
|
|
1718
2409
|
* <p>Indicates whether to use quotation marks around output fields. </p>
|
|
1719
2410
|
* <ul>
|
|
1720
2411
|
* <li>
|
|
@@ -1726,85 +2417,96 @@ export interface CSVOutput {
|
|
|
1726
2417
|
* <code>ASNEEDED</code>: Use quotation marks for output fields when needed.</p>
|
|
1727
2418
|
* </li>
|
|
1728
2419
|
* </ul>
|
|
2420
|
+
* @public
|
|
1729
2421
|
*/
|
|
1730
|
-
QuoteFields?: QuoteFields;
|
|
2422
|
+
QuoteFields?: QuoteFields | undefined;
|
|
1731
2423
|
/**
|
|
1732
|
-
* @public
|
|
1733
2424
|
* <p>The single character used for escaping the quote character inside an already escaped
|
|
1734
2425
|
* value.</p>
|
|
2426
|
+
* @public
|
|
1735
2427
|
*/
|
|
1736
|
-
QuoteEscapeCharacter?: string;
|
|
2428
|
+
QuoteEscapeCharacter?: string | undefined;
|
|
1737
2429
|
/**
|
|
1738
|
-
* @public
|
|
1739
2430
|
* <p>A single character used to separate individual records in the output. Instead of the
|
|
1740
2431
|
* default value, you can specify an arbitrary delimiter.</p>
|
|
2432
|
+
* @public
|
|
1741
2433
|
*/
|
|
1742
|
-
RecordDelimiter?: string;
|
|
2434
|
+
RecordDelimiter?: string | undefined;
|
|
1743
2435
|
/**
|
|
1744
|
-
* @public
|
|
1745
2436
|
* <p>The value used to separate individual fields in a record. You can specify an arbitrary
|
|
1746
2437
|
* delimiter.</p>
|
|
2438
|
+
* @public
|
|
1747
2439
|
*/
|
|
1748
|
-
FieldDelimiter?: string;
|
|
2440
|
+
FieldDelimiter?: string | undefined;
|
|
1749
2441
|
/**
|
|
1750
|
-
* @public
|
|
1751
2442
|
* <p>A single character used for escaping when the field delimiter is part of the value. For
|
|
1752
2443
|
* example, if the value is <code>a, b</code>, Amazon S3 wraps this field value in quotation marks,
|
|
1753
2444
|
* as follows: <code>" a , b "</code>.</p>
|
|
2445
|
+
* @public
|
|
1754
2446
|
*/
|
|
1755
|
-
QuoteCharacter?: string;
|
|
2447
|
+
QuoteCharacter?: string | undefined;
|
|
1756
2448
|
}
|
|
1757
2449
|
/**
|
|
1758
|
-
* @public
|
|
1759
2450
|
* <p>Specifies JSON as request's output serialization format.</p>
|
|
2451
|
+
* @public
|
|
1760
2452
|
*/
|
|
1761
2453
|
export interface JSONOutput {
|
|
1762
2454
|
/**
|
|
1763
|
-
* @public
|
|
1764
2455
|
* <p>The value used to separate individual records in the output. If no value is specified,
|
|
1765
2456
|
* Amazon S3 uses a newline character ('\n').</p>
|
|
2457
|
+
* @public
|
|
1766
2458
|
*/
|
|
1767
|
-
RecordDelimiter?: string;
|
|
2459
|
+
RecordDelimiter?: string | undefined;
|
|
1768
2460
|
}
|
|
1769
2461
|
/**
|
|
1770
|
-
* @public
|
|
1771
2462
|
* <p>Describes how results of the Select job are serialized.</p>
|
|
2463
|
+
* @public
|
|
1772
2464
|
*/
|
|
1773
2465
|
export interface OutputSerialization {
|
|
1774
2466
|
/**
|
|
1775
|
-
* @public
|
|
1776
2467
|
* <p>Describes the serialization of CSV-encoded Select results.</p>
|
|
2468
|
+
* @public
|
|
1777
2469
|
*/
|
|
1778
|
-
CSV?: CSVOutput;
|
|
2470
|
+
CSV?: CSVOutput | undefined;
|
|
1779
2471
|
/**
|
|
1780
|
-
* @public
|
|
1781
2472
|
* <p>Specifies JSON as request's output serialization format.</p>
|
|
2473
|
+
* @public
|
|
1782
2474
|
*/
|
|
1783
|
-
JSON?: JSONOutput;
|
|
2475
|
+
JSON?: JSONOutput | undefined;
|
|
1784
2476
|
}
|
|
1785
2477
|
/**
|
|
2478
|
+
* <important>
|
|
2479
|
+
* <p>Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2480
|
+
* </p>
|
|
2481
|
+
* </important>
|
|
2482
|
+
* <p>Describes the parameters for Select job types.</p>
|
|
2483
|
+
* <p>Learn <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">How to optimize querying your data in Amazon S3</a> using
|
|
2484
|
+
* <a href="https://docs.aws.amazon.com/athena/latest/ug/what-is.html">Amazon Athena</a>, <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html">S3 Object Lambda</a>, or client-side filtering.</p>
|
|
1786
2485
|
* @public
|
|
1787
|
-
* <p>Describes the parameters for Select job types.</p>
|
|
1788
2486
|
*/
|
|
1789
2487
|
export interface SelectParameters {
|
|
1790
2488
|
/**
|
|
1791
|
-
* @public
|
|
1792
2489
|
* <p>Describes the serialization format of the object.</p>
|
|
2490
|
+
* @public
|
|
1793
2491
|
*/
|
|
1794
2492
|
InputSerialization: InputSerialization | undefined;
|
|
1795
2493
|
/**
|
|
1796
|
-
* @public
|
|
1797
2494
|
* <p>The type of the provided expression (for example, SQL).</p>
|
|
2495
|
+
* @public
|
|
1798
2496
|
*/
|
|
1799
2497
|
ExpressionType: ExpressionType | undefined;
|
|
1800
2498
|
/**
|
|
2499
|
+
* <important>
|
|
2500
|
+
* <p>Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2501
|
+
* </p>
|
|
2502
|
+
* </important>
|
|
2503
|
+
* <p>The expression that is used to query the object.</p>
|
|
1801
2504
|
* @public
|
|
1802
|
-
* <p>The expression that is used to query the object.</p>
|
|
1803
2505
|
*/
|
|
1804
2506
|
Expression: string | undefined;
|
|
1805
2507
|
/**
|
|
1806
|
-
* @public
|
|
1807
2508
|
* <p>Describes how the results of the Select job are serialized.</p>
|
|
2509
|
+
* @public
|
|
1808
2510
|
*/
|
|
1809
2511
|
OutputSerialization: OutputSerialization | undefined;
|
|
1810
2512
|
}
|
|
@@ -1820,96 +2522,104 @@ export declare const RestoreRequestType: {
|
|
|
1820
2522
|
*/
|
|
1821
2523
|
export type RestoreRequestType = (typeof RestoreRequestType)[keyof typeof RestoreRequestType];
|
|
1822
2524
|
/**
|
|
1823
|
-
* @public
|
|
1824
2525
|
* <p>Container for restore job parameters.</p>
|
|
2526
|
+
* @public
|
|
1825
2527
|
*/
|
|
1826
2528
|
export interface RestoreRequest {
|
|
1827
2529
|
/**
|
|
1828
|
-
* @public
|
|
1829
2530
|
* <p>Lifetime of the active copy in days. Do not use with restores that specify
|
|
1830
2531
|
* <code>OutputLocation</code>.</p>
|
|
1831
2532
|
* <p>The Days element is required for regular restores, and must not be provided for select
|
|
1832
2533
|
* requests.</p>
|
|
2534
|
+
* @public
|
|
1833
2535
|
*/
|
|
1834
|
-
Days?: number;
|
|
2536
|
+
Days?: number | undefined;
|
|
1835
2537
|
/**
|
|
1836
|
-
* @public
|
|
1837
2538
|
* <p>S3 Glacier related parameters pertaining to this job. Do not use with restores that
|
|
1838
2539
|
* specify <code>OutputLocation</code>.</p>
|
|
2540
|
+
* @public
|
|
1839
2541
|
*/
|
|
1840
|
-
GlacierJobParameters?: GlacierJobParameters;
|
|
2542
|
+
GlacierJobParameters?: GlacierJobParameters | undefined;
|
|
1841
2543
|
/**
|
|
2544
|
+
* <important>
|
|
2545
|
+
* <p>Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2546
|
+
* </p>
|
|
2547
|
+
* </important>
|
|
2548
|
+
* <p>Type of restore request.</p>
|
|
1842
2549
|
* @public
|
|
1843
|
-
* <p>Type of restore request.</p>
|
|
1844
2550
|
*/
|
|
1845
|
-
Type?: RestoreRequestType;
|
|
2551
|
+
Type?: RestoreRequestType | undefined;
|
|
1846
2552
|
/**
|
|
1847
|
-
* @public
|
|
1848
2553
|
* <p>Retrieval tier at which the restore will be processed.</p>
|
|
2554
|
+
* @public
|
|
1849
2555
|
*/
|
|
1850
|
-
Tier?: Tier;
|
|
2556
|
+
Tier?: Tier | undefined;
|
|
1851
2557
|
/**
|
|
1852
|
-
* @public
|
|
1853
2558
|
* <p>The optional description for the job.</p>
|
|
2559
|
+
* @public
|
|
1854
2560
|
*/
|
|
1855
|
-
Description?: string;
|
|
2561
|
+
Description?: string | undefined;
|
|
1856
2562
|
/**
|
|
2563
|
+
* <important>
|
|
2564
|
+
* <p>Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2565
|
+
* </p>
|
|
2566
|
+
* </important>
|
|
2567
|
+
* <p>Describes the parameters for Select job types.</p>
|
|
1857
2568
|
* @public
|
|
1858
|
-
* <p>Describes the parameters for Select job types.</p>
|
|
1859
2569
|
*/
|
|
1860
|
-
SelectParameters?: SelectParameters;
|
|
2570
|
+
SelectParameters?: SelectParameters | undefined;
|
|
1861
2571
|
/**
|
|
1862
|
-
* @public
|
|
1863
2572
|
* <p>Describes the location where the restore job's output is stored.</p>
|
|
2573
|
+
* @public
|
|
1864
2574
|
*/
|
|
1865
|
-
OutputLocation?: OutputLocation;
|
|
2575
|
+
OutputLocation?: OutputLocation | undefined;
|
|
1866
2576
|
}
|
|
1867
2577
|
/**
|
|
1868
2578
|
* @public
|
|
1869
2579
|
*/
|
|
1870
2580
|
export interface RestoreObjectRequest {
|
|
1871
2581
|
/**
|
|
1872
|
-
* @public
|
|
1873
2582
|
* <p>The bucket name containing the object to restore. </p>
|
|
1874
2583
|
* <p>
|
|
1875
2584
|
* <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1876
2585
|
* <p>
|
|
1877
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
1878
|
-
*
|
|
2586
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
2587
|
+
* form <code>
|
|
2588
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1879
2589
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
1880
2590
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
2591
|
+
* @public
|
|
1881
2592
|
*/
|
|
1882
2593
|
Bucket: string | undefined;
|
|
1883
2594
|
/**
|
|
1884
|
-
* @public
|
|
1885
2595
|
* <p>Object key for which the action was initiated.</p>
|
|
2596
|
+
* @public
|
|
1886
2597
|
*/
|
|
1887
2598
|
Key: string | undefined;
|
|
1888
2599
|
/**
|
|
1889
|
-
* @public
|
|
1890
2600
|
* <p>VersionId used to reference a specific version of the object.</p>
|
|
2601
|
+
* @public
|
|
1891
2602
|
*/
|
|
1892
|
-
VersionId?: string;
|
|
2603
|
+
VersionId?: string | undefined;
|
|
1893
2604
|
/**
|
|
1894
|
-
* @public
|
|
1895
2605
|
* <p>Container for restore job parameters.</p>
|
|
2606
|
+
* @public
|
|
1896
2607
|
*/
|
|
1897
|
-
RestoreRequest?: RestoreRequest;
|
|
2608
|
+
RestoreRequest?: RestoreRequest | undefined;
|
|
1898
2609
|
/**
|
|
1899
|
-
* @public
|
|
1900
2610
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
1901
2611
|
* owners need not specify this parameter in their requests. If either the source or
|
|
1902
|
-
* destination S3 bucket has Requester Pays enabled, the requester will pay for
|
|
1903
|
-
*
|
|
1904
|
-
*
|
|
2612
|
+
* destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding
|
|
2613
|
+
* charges to copy the object. For information about downloading objects from Requester Pays
|
|
2614
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
1905
2615
|
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1906
2616
|
* <note>
|
|
1907
2617
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1908
2618
|
* </note>
|
|
2619
|
+
* @public
|
|
1909
2620
|
*/
|
|
1910
|
-
RequestPayer?: RequestPayer;
|
|
2621
|
+
RequestPayer?: RequestPayer | undefined;
|
|
1911
2622
|
/**
|
|
1912
|
-
* @public
|
|
1913
2623
|
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
1914
2624
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
1915
2625
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
@@ -1917,106 +2627,112 @@ export interface RestoreObjectRequest {
|
|
|
1917
2627
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1918
2628
|
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
1919
2629
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
2630
|
+
* @public
|
|
1920
2631
|
*/
|
|
1921
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
2632
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
1922
2633
|
/**
|
|
1923
|
-
* @public
|
|
1924
2634
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
2635
|
+
* @public
|
|
1925
2636
|
*/
|
|
1926
|
-
ExpectedBucketOwner?: string;
|
|
2637
|
+
ExpectedBucketOwner?: string | undefined;
|
|
1927
2638
|
}
|
|
1928
2639
|
/**
|
|
1929
|
-
* @public
|
|
1930
2640
|
* <p></p>
|
|
2641
|
+
* @public
|
|
1931
2642
|
*/
|
|
1932
2643
|
export interface ContinuationEvent {
|
|
1933
2644
|
}
|
|
1934
2645
|
/**
|
|
1935
|
-
* @public
|
|
1936
2646
|
* <p>A message that indicates the request is complete and no more messages will be sent. You
|
|
1937
2647
|
* should not assume that the request is complete until the client receives an
|
|
1938
2648
|
* <code>EndEvent</code>.</p>
|
|
2649
|
+
* @public
|
|
1939
2650
|
*/
|
|
1940
2651
|
export interface EndEvent {
|
|
1941
2652
|
}
|
|
1942
2653
|
/**
|
|
1943
|
-
* @public
|
|
1944
2654
|
* <p>This data type contains information about progress of an operation.</p>
|
|
2655
|
+
* @public
|
|
1945
2656
|
*/
|
|
1946
2657
|
export interface Progress {
|
|
1947
2658
|
/**
|
|
1948
|
-
* @public
|
|
1949
2659
|
* <p>The current number of object bytes scanned.</p>
|
|
2660
|
+
* @public
|
|
1950
2661
|
*/
|
|
1951
|
-
BytesScanned?: number;
|
|
2662
|
+
BytesScanned?: number | undefined;
|
|
1952
2663
|
/**
|
|
1953
|
-
* @public
|
|
1954
2664
|
* <p>The current number of uncompressed object bytes processed.</p>
|
|
2665
|
+
* @public
|
|
1955
2666
|
*/
|
|
1956
|
-
BytesProcessed?: number;
|
|
2667
|
+
BytesProcessed?: number | undefined;
|
|
1957
2668
|
/**
|
|
1958
|
-
* @public
|
|
1959
2669
|
* <p>The current number of bytes of records payload data returned.</p>
|
|
2670
|
+
* @public
|
|
1960
2671
|
*/
|
|
1961
|
-
BytesReturned?: number;
|
|
2672
|
+
BytesReturned?: number | undefined;
|
|
1962
2673
|
}
|
|
1963
2674
|
/**
|
|
1964
|
-
* @public
|
|
1965
2675
|
* <p>This data type contains information about the progress event of an operation.</p>
|
|
2676
|
+
* @public
|
|
1966
2677
|
*/
|
|
1967
2678
|
export interface ProgressEvent {
|
|
1968
2679
|
/**
|
|
1969
|
-
* @public
|
|
1970
2680
|
* <p>The Progress event details.</p>
|
|
2681
|
+
* @public
|
|
1971
2682
|
*/
|
|
1972
|
-
Details?: Progress;
|
|
2683
|
+
Details?: Progress | undefined;
|
|
1973
2684
|
}
|
|
1974
2685
|
/**
|
|
1975
|
-
* @public
|
|
1976
2686
|
* <p>The container for the records event.</p>
|
|
2687
|
+
* @public
|
|
1977
2688
|
*/
|
|
1978
2689
|
export interface RecordsEvent {
|
|
1979
2690
|
/**
|
|
2691
|
+
* <p>The byte array of partial, one or more result records. S3 Select doesn't guarantee that
|
|
2692
|
+
* a record will be self-contained in one record frame. To ensure continuous streaming of
|
|
2693
|
+
* data, S3 Select might split the same record across multiple record frames instead of
|
|
2694
|
+
* aggregating the results in memory. Some S3 clients (for example, the SDK for Java) handle this behavior by creating a <code>ByteStream</code> out of the response by
|
|
2695
|
+
* default. Other clients might not handle this behavior by default. In those cases, you must
|
|
2696
|
+
* aggregate the results on the client side and parse the response.</p>
|
|
1980
2697
|
* @public
|
|
1981
|
-
* <p>The byte array of partial, one or more result records.</p>
|
|
1982
2698
|
*/
|
|
1983
|
-
Payload?: Uint8Array;
|
|
2699
|
+
Payload?: Uint8Array | undefined;
|
|
1984
2700
|
}
|
|
1985
2701
|
/**
|
|
1986
|
-
* @public
|
|
1987
2702
|
* <p>Container for the stats details.</p>
|
|
2703
|
+
* @public
|
|
1988
2704
|
*/
|
|
1989
2705
|
export interface Stats {
|
|
1990
2706
|
/**
|
|
1991
|
-
* @public
|
|
1992
2707
|
* <p>The total number of object bytes scanned.</p>
|
|
2708
|
+
* @public
|
|
1993
2709
|
*/
|
|
1994
|
-
BytesScanned?: number;
|
|
2710
|
+
BytesScanned?: number | undefined;
|
|
1995
2711
|
/**
|
|
1996
|
-
* @public
|
|
1997
2712
|
* <p>The total number of uncompressed object bytes processed.</p>
|
|
2713
|
+
* @public
|
|
1998
2714
|
*/
|
|
1999
|
-
BytesProcessed?: number;
|
|
2715
|
+
BytesProcessed?: number | undefined;
|
|
2000
2716
|
/**
|
|
2001
|
-
* @public
|
|
2002
2717
|
* <p>The total number of bytes of records payload data returned.</p>
|
|
2718
|
+
* @public
|
|
2003
2719
|
*/
|
|
2004
|
-
BytesReturned?: number;
|
|
2720
|
+
BytesReturned?: number | undefined;
|
|
2005
2721
|
}
|
|
2006
2722
|
/**
|
|
2007
|
-
* @public
|
|
2008
2723
|
* <p>Container for the Stats Event.</p>
|
|
2724
|
+
* @public
|
|
2009
2725
|
*/
|
|
2010
2726
|
export interface StatsEvent {
|
|
2011
2727
|
/**
|
|
2012
|
-
* @public
|
|
2013
2728
|
* <p>The Stats event details.</p>
|
|
2729
|
+
* @public
|
|
2014
2730
|
*/
|
|
2015
|
-
Details?: Stats;
|
|
2731
|
+
Details?: Stats | undefined;
|
|
2016
2732
|
}
|
|
2017
2733
|
/**
|
|
2018
|
-
* @public
|
|
2019
2734
|
* <p>The container for selecting objects from a content event stream.</p>
|
|
2735
|
+
* @public
|
|
2020
2736
|
*/
|
|
2021
2737
|
export type SelectObjectContentEventStream = SelectObjectContentEventStream.ContMember | SelectObjectContentEventStream.EndMember | SelectObjectContentEventStream.ProgressMember | SelectObjectContentEventStream.RecordsMember | SelectObjectContentEventStream.StatsMember | SelectObjectContentEventStream.$UnknownMember;
|
|
2022
2738
|
/**
|
|
@@ -2024,8 +2740,8 @@ export type SelectObjectContentEventStream = SelectObjectContentEventStream.Cont
|
|
|
2024
2740
|
*/
|
|
2025
2741
|
export declare namespace SelectObjectContentEventStream {
|
|
2026
2742
|
/**
|
|
2027
|
-
* @public
|
|
2028
2743
|
* <p>The Records Event.</p>
|
|
2744
|
+
* @public
|
|
2029
2745
|
*/
|
|
2030
2746
|
interface RecordsMember {
|
|
2031
2747
|
Records: RecordsEvent;
|
|
@@ -2036,8 +2752,8 @@ export declare namespace SelectObjectContentEventStream {
|
|
|
2036
2752
|
$unknown?: never;
|
|
2037
2753
|
}
|
|
2038
2754
|
/**
|
|
2039
|
-
* @public
|
|
2040
2755
|
* <p>The Stats Event.</p>
|
|
2756
|
+
* @public
|
|
2041
2757
|
*/
|
|
2042
2758
|
interface StatsMember {
|
|
2043
2759
|
Records?: never;
|
|
@@ -2048,8 +2764,8 @@ export declare namespace SelectObjectContentEventStream {
|
|
|
2048
2764
|
$unknown?: never;
|
|
2049
2765
|
}
|
|
2050
2766
|
/**
|
|
2051
|
-
* @public
|
|
2052
2767
|
* <p>The Progress Event.</p>
|
|
2768
|
+
* @public
|
|
2053
2769
|
*/
|
|
2054
2770
|
interface ProgressMember {
|
|
2055
2771
|
Records?: never;
|
|
@@ -2060,8 +2776,8 @@ export declare namespace SelectObjectContentEventStream {
|
|
|
2060
2776
|
$unknown?: never;
|
|
2061
2777
|
}
|
|
2062
2778
|
/**
|
|
2063
|
-
* @public
|
|
2064
2779
|
* <p>The Continuation Event.</p>
|
|
2780
|
+
* @public
|
|
2065
2781
|
*/
|
|
2066
2782
|
interface ContMember {
|
|
2067
2783
|
Records?: never;
|
|
@@ -2072,8 +2788,8 @@ export declare namespace SelectObjectContentEventStream {
|
|
|
2072
2788
|
$unknown?: never;
|
|
2073
2789
|
}
|
|
2074
2790
|
/**
|
|
2075
|
-
* @public
|
|
2076
2791
|
* <p>The End Event.</p>
|
|
2792
|
+
* @public
|
|
2077
2793
|
*/
|
|
2078
2794
|
interface EndMember {
|
|
2079
2795
|
Records?: never;
|
|
@@ -2109,125 +2825,128 @@ export declare namespace SelectObjectContentEventStream {
|
|
|
2109
2825
|
*/
|
|
2110
2826
|
export interface SelectObjectContentOutput {
|
|
2111
2827
|
/**
|
|
2112
|
-
* @public
|
|
2113
2828
|
* <p>The array of results.</p>
|
|
2829
|
+
* @public
|
|
2114
2830
|
*/
|
|
2115
|
-
Payload?: AsyncIterable<SelectObjectContentEventStream
|
|
2831
|
+
Payload?: AsyncIterable<SelectObjectContentEventStream> | undefined;
|
|
2116
2832
|
}
|
|
2117
2833
|
/**
|
|
2118
|
-
* @public
|
|
2119
2834
|
* <p>Container for specifying if periodic <code>QueryProgress</code> messages should be
|
|
2120
2835
|
* sent.</p>
|
|
2836
|
+
* @public
|
|
2121
2837
|
*/
|
|
2122
2838
|
export interface RequestProgress {
|
|
2123
2839
|
/**
|
|
2124
|
-
* @public
|
|
2125
2840
|
* <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE,
|
|
2126
2841
|
* FALSE. Default value: FALSE.</p>
|
|
2842
|
+
* @public
|
|
2127
2843
|
*/
|
|
2128
|
-
Enabled?: boolean;
|
|
2844
|
+
Enabled?: boolean | undefined;
|
|
2129
2845
|
}
|
|
2130
2846
|
/**
|
|
2131
|
-
* @public
|
|
2132
2847
|
* <p>Specifies the byte range of the object to get the records from. A record is processed
|
|
2133
2848
|
* when its first byte is contained by the range. This parameter is optional, but when
|
|
2134
2849
|
* specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the
|
|
2135
2850
|
* start and end of the range.</p>
|
|
2851
|
+
* @public
|
|
2136
2852
|
*/
|
|
2137
2853
|
export interface ScanRange {
|
|
2138
2854
|
/**
|
|
2139
|
-
* @public
|
|
2140
2855
|
* <p>Specifies the start of the byte range. This parameter is optional. Valid values:
|
|
2141
2856
|
* non-negative integers. The default value is 0. If only <code>start</code> is supplied, it
|
|
2142
2857
|
* means scan from that point to the end of the file. For example,
|
|
2143
2858
|
* <code><scanrange><start>50</start></scanrange></code> means scan
|
|
2144
2859
|
* from byte 50 until the end of the file.</p>
|
|
2860
|
+
* @public
|
|
2145
2861
|
*/
|
|
2146
|
-
Start?: number;
|
|
2862
|
+
Start?: number | undefined;
|
|
2147
2863
|
/**
|
|
2148
|
-
* @public
|
|
2149
2864
|
* <p>Specifies the end of the byte range. This parameter is optional. Valid values:
|
|
2150
2865
|
* non-negative integers. The default value is one less than the size of the object being
|
|
2151
2866
|
* queried. If only the End parameter is supplied, it is interpreted to mean scan the last N
|
|
2152
2867
|
* bytes of the file. For example,
|
|
2153
2868
|
* <code><scanrange><end>50</end></scanrange></code> means scan the
|
|
2154
2869
|
* last 50 bytes.</p>
|
|
2870
|
+
* @public
|
|
2155
2871
|
*/
|
|
2156
|
-
End?: number;
|
|
2872
|
+
End?: number | undefined;
|
|
2157
2873
|
}
|
|
2158
2874
|
/**
|
|
2159
|
-
*
|
|
2160
|
-
*
|
|
2875
|
+
* <note>
|
|
2876
|
+
* <p>Learn Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. <a href="http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/">Learn more</a>
|
|
2877
|
+
* </p>
|
|
2878
|
+
* </note>
|
|
2879
|
+
* <p>Request to filter the contents of an Amazon S3 object based on a simple Structured Query
|
|
2161
2880
|
* Language (SQL) statement. In the request, along with the SQL expression, you must specify a
|
|
2162
2881
|
* data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data
|
|
2163
2882
|
* into records. It returns only records that match the specified SQL expression. You must
|
|
2164
2883
|
* also specify the data serialization format for the response. For more information, see
|
|
2165
2884
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html">S3Select API Documentation</a>.</p>
|
|
2885
|
+
* @public
|
|
2166
2886
|
*/
|
|
2167
2887
|
export interface SelectObjectContentRequest {
|
|
2168
2888
|
/**
|
|
2169
|
-
* @public
|
|
2170
2889
|
* <p>The S3 bucket.</p>
|
|
2171
2890
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
2172
2891
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
2892
|
+
* @public
|
|
2173
2893
|
*/
|
|
2174
2894
|
Bucket: string | undefined;
|
|
2175
2895
|
/**
|
|
2176
|
-
* @public
|
|
2177
2896
|
* <p>The object key.</p>
|
|
2897
|
+
* @public
|
|
2178
2898
|
*/
|
|
2179
2899
|
Key: string | undefined;
|
|
2180
2900
|
/**
|
|
2181
|
-
* @public
|
|
2182
2901
|
* <p>The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created
|
|
2183
2902
|
* using a checksum algorithm. For more information,
|
|
2184
2903
|
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
|
|
2185
2904
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
2905
|
+
* @public
|
|
2186
2906
|
*/
|
|
2187
|
-
SSECustomerAlgorithm?: string;
|
|
2907
|
+
SSECustomerAlgorithm?: string | undefined;
|
|
2188
2908
|
/**
|
|
2189
|
-
* @public
|
|
2190
2909
|
* <p>The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm.
|
|
2191
2910
|
* For more information, see
|
|
2192
2911
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
|
|
2193
2912
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
2913
|
+
* @public
|
|
2194
2914
|
*/
|
|
2195
|
-
SSECustomerKey?: string;
|
|
2915
|
+
SSECustomerKey?: string | undefined;
|
|
2196
2916
|
/**
|
|
2197
|
-
* @public
|
|
2198
2917
|
* <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum
|
|
2199
2918
|
* algorithm. For more information,
|
|
2200
2919
|
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
|
|
2201
2920
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
2921
|
+
* @public
|
|
2202
2922
|
*/
|
|
2203
|
-
SSECustomerKeyMD5?: string;
|
|
2923
|
+
SSECustomerKeyMD5?: string | undefined;
|
|
2204
2924
|
/**
|
|
2205
|
-
* @public
|
|
2206
2925
|
* <p>The expression that is used to query the object.</p>
|
|
2926
|
+
* @public
|
|
2207
2927
|
*/
|
|
2208
2928
|
Expression: string | undefined;
|
|
2209
2929
|
/**
|
|
2210
|
-
* @public
|
|
2211
2930
|
* <p>The type of the provided expression (for example, SQL).</p>
|
|
2931
|
+
* @public
|
|
2212
2932
|
*/
|
|
2213
2933
|
ExpressionType: ExpressionType | undefined;
|
|
2214
2934
|
/**
|
|
2215
|
-
* @public
|
|
2216
2935
|
* <p>Specifies if periodic request progress information should be enabled.</p>
|
|
2936
|
+
* @public
|
|
2217
2937
|
*/
|
|
2218
|
-
RequestProgress?: RequestProgress;
|
|
2938
|
+
RequestProgress?: RequestProgress | undefined;
|
|
2219
2939
|
/**
|
|
2220
|
-
* @public
|
|
2221
2940
|
* <p>Describes the format of the data in the object that is being queried.</p>
|
|
2941
|
+
* @public
|
|
2222
2942
|
*/
|
|
2223
2943
|
InputSerialization: InputSerialization | undefined;
|
|
2224
2944
|
/**
|
|
2225
|
-
* @public
|
|
2226
2945
|
* <p>Describes the format of the data that you want Amazon S3 to return in response.</p>
|
|
2946
|
+
* @public
|
|
2227
2947
|
*/
|
|
2228
2948
|
OutputSerialization: OutputSerialization | undefined;
|
|
2229
2949
|
/**
|
|
2230
|
-
* @public
|
|
2231
2950
|
* <p>Specifies the byte range of the object to get the records from. A record is processed
|
|
2232
2951
|
* when its first byte is contained by the range. This parameter is optional, but when
|
|
2233
2952
|
* specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the
|
|
@@ -2252,128 +2971,126 @@ export interface SelectObjectContentRequest {
|
|
|
2252
2971
|
* process only the records within the last 50 bytes of the file.</p>
|
|
2253
2972
|
* </li>
|
|
2254
2973
|
* </ul>
|
|
2974
|
+
* @public
|
|
2255
2975
|
*/
|
|
2256
|
-
ScanRange?: ScanRange;
|
|
2976
|
+
ScanRange?: ScanRange | undefined;
|
|
2257
2977
|
/**
|
|
2258
|
-
* @public
|
|
2259
2978
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
2979
|
+
* @public
|
|
2260
2980
|
*/
|
|
2261
|
-
ExpectedBucketOwner?: string;
|
|
2981
|
+
ExpectedBucketOwner?: string | undefined;
|
|
2262
2982
|
}
|
|
2263
2983
|
/**
|
|
2264
2984
|
* @public
|
|
2265
2985
|
*/
|
|
2266
2986
|
export interface UploadPartOutput {
|
|
2267
2987
|
/**
|
|
2988
|
+
* <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for
|
|
2989
|
+
* example, <code>AES256</code>, <code>aws:kms</code>).</p>
|
|
2268
2990
|
* @public
|
|
2269
|
-
* <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
|
|
2270
|
-
* <code>AES256</code>, <code>aws:kms</code>).</p>
|
|
2271
|
-
* <note>
|
|
2272
|
-
* <p>For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
|
|
2273
|
-
* </note>
|
|
2274
2991
|
*/
|
|
2275
|
-
ServerSideEncryption?: ServerSideEncryption;
|
|
2992
|
+
ServerSideEncryption?: ServerSideEncryption | undefined;
|
|
2276
2993
|
/**
|
|
2277
|
-
* @public
|
|
2278
2994
|
* <p>Entity tag for the uploaded object.</p>
|
|
2995
|
+
* @public
|
|
2279
2996
|
*/
|
|
2280
|
-
ETag?: string;
|
|
2997
|
+
ETag?: string | undefined;
|
|
2281
2998
|
/**
|
|
2282
|
-
*
|
|
2283
|
-
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
2999
|
+
* <p>The Base64 encoded, 32-bit <code>CRC32 checksum</code> of the object. This checksum is only be present if the checksum was uploaded
|
|
2284
3000
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2285
3001
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2286
3002
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3003
|
+
* @public
|
|
2287
3004
|
*/
|
|
2288
|
-
ChecksumCRC32?: string;
|
|
3005
|
+
ChecksumCRC32?: string | undefined;
|
|
2289
3006
|
/**
|
|
2290
|
-
*
|
|
2291
|
-
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
3007
|
+
* <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This checksum is only present if the checksum was uploaded
|
|
2292
3008
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2293
3009
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2294
3010
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3011
|
+
* @public
|
|
2295
3012
|
*/
|
|
2296
|
-
ChecksumCRC32C?: string;
|
|
3013
|
+
ChecksumCRC32C?: string | undefined;
|
|
2297
3014
|
/**
|
|
3015
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3016
|
+
* the same data that was originally sent. This header specifies the Base64 encoded, 64-bit
|
|
3017
|
+
* <code>CRC64NVME</code> checksum of the part. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2298
3018
|
* @public
|
|
2299
|
-
|
|
3019
|
+
*/
|
|
3020
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
3021
|
+
/**
|
|
3022
|
+
* <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This will only be present if the object was uploaded
|
|
2300
3023
|
* with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2301
3024
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2302
3025
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3026
|
+
* @public
|
|
2303
3027
|
*/
|
|
2304
|
-
ChecksumSHA1?: string;
|
|
3028
|
+
ChecksumSHA1?: string | undefined;
|
|
2305
3029
|
/**
|
|
2306
|
-
*
|
|
2307
|
-
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
3030
|
+
* <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This will only be present if the object was uploaded
|
|
2308
3031
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2309
3032
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2310
3033
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3034
|
+
* @public
|
|
2311
3035
|
*/
|
|
2312
|
-
ChecksumSHA256?: string;
|
|
3036
|
+
ChecksumSHA256?: string | undefined;
|
|
2313
3037
|
/**
|
|
2314
|
-
* @public
|
|
2315
3038
|
* <p>If server-side encryption with a customer-provided encryption key was requested, the
|
|
2316
3039
|
* response will include this header to confirm the encryption algorithm that's used.</p>
|
|
2317
3040
|
* <note>
|
|
2318
3041
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2319
3042
|
* </note>
|
|
3043
|
+
* @public
|
|
2320
3044
|
*/
|
|
2321
|
-
SSECustomerAlgorithm?: string;
|
|
3045
|
+
SSECustomerAlgorithm?: string | undefined;
|
|
2322
3046
|
/**
|
|
2323
|
-
* @public
|
|
2324
3047
|
* <p>If server-side encryption with a customer-provided encryption key was requested, the
|
|
2325
|
-
* response will include this header to provide the round-trip message integrity verification
|
|
2326
|
-
* the customer-provided encryption key.</p>
|
|
3048
|
+
* response will include this header to provide the round-trip message integrity verification
|
|
3049
|
+
* of the customer-provided encryption key.</p>
|
|
2327
3050
|
* <note>
|
|
2328
3051
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2329
3052
|
* </note>
|
|
3053
|
+
* @public
|
|
2330
3054
|
*/
|
|
2331
|
-
SSECustomerKeyMD5?: string;
|
|
3055
|
+
SSECustomerKeyMD5?: string | undefined;
|
|
2332
3056
|
/**
|
|
3057
|
+
* <p>If present, indicates the ID of the KMS key that was used for object encryption.</p>
|
|
2333
3058
|
* @public
|
|
2334
|
-
* <p>If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key
|
|
2335
|
-
* that was used for the object.</p>
|
|
2336
|
-
* <note>
|
|
2337
|
-
* <p>This functionality is not supported for directory buckets.</p>
|
|
2338
|
-
* </note>
|
|
2339
3059
|
*/
|
|
2340
|
-
SSEKMSKeyId?: string;
|
|
3060
|
+
SSEKMSKeyId?: string | undefined;
|
|
2341
3061
|
/**
|
|
2342
|
-
* @public
|
|
2343
3062
|
* <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
|
|
2344
3063
|
* with Key Management Service (KMS) keys (SSE-KMS).</p>
|
|
2345
|
-
*
|
|
2346
|
-
* <p>This functionality is not supported for directory buckets.</p>
|
|
2347
|
-
* </note>
|
|
3064
|
+
* @public
|
|
2348
3065
|
*/
|
|
2349
|
-
BucketKeyEnabled?: boolean;
|
|
3066
|
+
BucketKeyEnabled?: boolean | undefined;
|
|
2350
3067
|
/**
|
|
2351
|
-
* @public
|
|
2352
3068
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
2353
3069
|
* request.</p>
|
|
2354
3070
|
* <note>
|
|
2355
3071
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2356
3072
|
* </note>
|
|
3073
|
+
* @public
|
|
2357
3074
|
*/
|
|
2358
|
-
RequestCharged?: RequestCharged;
|
|
3075
|
+
RequestCharged?: RequestCharged | undefined;
|
|
2359
3076
|
}
|
|
2360
3077
|
/**
|
|
2361
3078
|
* @public
|
|
2362
3079
|
*/
|
|
2363
3080
|
export interface UploadPartRequest {
|
|
2364
3081
|
/**
|
|
2365
|
-
* @public
|
|
2366
3082
|
* <p>Object data.</p>
|
|
3083
|
+
* @public
|
|
2367
3084
|
*/
|
|
2368
|
-
Body?: StreamingBlobTypes;
|
|
3085
|
+
Body?: StreamingBlobTypes | undefined;
|
|
2369
3086
|
/**
|
|
2370
|
-
* @public
|
|
2371
3087
|
* <p>The name of the bucket to which the multipart upload was initiated.</p>
|
|
2372
3088
|
* <p>
|
|
2373
|
-
* <b>Directory buckets</b> -
|
|
2374
|
-
*
|
|
2375
|
-
* <i>
|
|
2376
|
-
* <i>
|
|
3089
|
+
* <b>Directory buckets</b> -
|
|
3090
|
+
* When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
|
|
3091
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
|
|
3092
|
+
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
3093
|
+
* <i>amzn-s3-demo-bucket</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
|
|
2377
3094
|
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
|
|
2378
3095
|
* rules</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2379
3096
|
* <p>
|
|
@@ -2382,30 +3099,31 @@ export interface UploadPartRequest {
|
|
|
2382
3099
|
* <p>Access points and Object Lambda access points are not supported by directory buckets.</p>
|
|
2383
3100
|
* </note>
|
|
2384
3101
|
* <p>
|
|
2385
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
2386
|
-
*
|
|
3102
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
3103
|
+
* form <code>
|
|
3104
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2387
3105
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
2388
3106
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
3107
|
+
* @public
|
|
2389
3108
|
*/
|
|
2390
3109
|
Bucket: string | undefined;
|
|
2391
3110
|
/**
|
|
2392
|
-
* @public
|
|
2393
3111
|
* <p>Size of the body in bytes. This parameter is useful when the size of the body cannot be
|
|
2394
3112
|
* determined automatically.</p>
|
|
3113
|
+
* @public
|
|
2395
3114
|
*/
|
|
2396
|
-
ContentLength?: number;
|
|
3115
|
+
ContentLength?: number | undefined;
|
|
2397
3116
|
/**
|
|
2398
|
-
*
|
|
2399
|
-
* <p>The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated
|
|
3117
|
+
* <p>The Base64 encoded 128-bit MD5 digest of the part data. This parameter is auto-populated
|
|
2400
3118
|
* when using the command from the CLI. This parameter is required if object lock parameters
|
|
2401
3119
|
* are specified.</p>
|
|
2402
3120
|
* <note>
|
|
2403
3121
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2404
3122
|
* </note>
|
|
3123
|
+
* @public
|
|
2405
3124
|
*/
|
|
2406
|
-
ContentMD5?: string;
|
|
3125
|
+
ContentMD5?: string | undefined;
|
|
2407
3126
|
/**
|
|
2408
|
-
* @public
|
|
2409
3127
|
* <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
|
|
2410
3128
|
* additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
2411
3129
|
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
@@ -2415,67 +3133,73 @@ export interface UploadPartRequest {
|
|
|
2415
3133
|
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
2416
3134
|
* <p>This checksum algorithm must be the same for all parts and it match the checksum value
|
|
2417
3135
|
* supplied in the <code>CreateMultipartUpload</code> request.</p>
|
|
3136
|
+
* @public
|
|
2418
3137
|
*/
|
|
2419
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
3138
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
2420
3139
|
/**
|
|
2421
|
-
* @public
|
|
2422
3140
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
2423
|
-
* This header specifies the
|
|
3141
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. For more information, see
|
|
2424
3142
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
2425
3143
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
3144
|
+
* @public
|
|
2426
3145
|
*/
|
|
2427
|
-
ChecksumCRC32?: string;
|
|
3146
|
+
ChecksumCRC32?: string | undefined;
|
|
2428
3147
|
/**
|
|
2429
|
-
* @public
|
|
2430
3148
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
2431
|
-
* This header specifies the
|
|
3149
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. For more information, see
|
|
2432
3150
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
2433
3151
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
3152
|
+
* @public
|
|
2434
3153
|
*/
|
|
2435
|
-
ChecksumCRC32C?: string;
|
|
3154
|
+
ChecksumCRC32C?: string | undefined;
|
|
2436
3155
|
/**
|
|
3156
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3157
|
+
* the same data that was originally sent. This header specifies the Base64 encoded, 64-bit
|
|
3158
|
+
* <code>CRC64NVME</code> checksum of the part. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2437
3159
|
* @public
|
|
3160
|
+
*/
|
|
3161
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
3162
|
+
/**
|
|
2438
3163
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
2439
|
-
* This header specifies the
|
|
3164
|
+
* This header specifies the Base64 encoded, 160-bit <code>SHA1</code> digest of the object. For more information, see
|
|
2440
3165
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
2441
3166
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
3167
|
+
* @public
|
|
2442
3168
|
*/
|
|
2443
|
-
ChecksumSHA1?: string;
|
|
3169
|
+
ChecksumSHA1?: string | undefined;
|
|
2444
3170
|
/**
|
|
2445
|
-
* @public
|
|
2446
3171
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
2447
|
-
* This header specifies the
|
|
3172
|
+
* This header specifies the Base64 encoded, 256-bit <code>SHA256</code> digest of the object. For more information, see
|
|
2448
3173
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
2449
3174
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
3175
|
+
* @public
|
|
2450
3176
|
*/
|
|
2451
|
-
ChecksumSHA256?: string;
|
|
3177
|
+
ChecksumSHA256?: string | undefined;
|
|
2452
3178
|
/**
|
|
2453
|
-
* @public
|
|
2454
3179
|
* <p>Object key for which the multipart upload was initiated.</p>
|
|
3180
|
+
* @public
|
|
2455
3181
|
*/
|
|
2456
3182
|
Key: string | undefined;
|
|
2457
3183
|
/**
|
|
2458
|
-
* @public
|
|
2459
3184
|
* <p>Part number of part being uploaded. This is a positive integer between 1 and
|
|
2460
3185
|
* 10,000.</p>
|
|
3186
|
+
* @public
|
|
2461
3187
|
*/
|
|
2462
3188
|
PartNumber: number | undefined;
|
|
2463
3189
|
/**
|
|
2464
|
-
* @public
|
|
2465
3190
|
* <p>Upload ID identifying the multipart upload whose part is being uploaded.</p>
|
|
3191
|
+
* @public
|
|
2466
3192
|
*/
|
|
2467
3193
|
UploadId: string | undefined;
|
|
2468
3194
|
/**
|
|
2469
|
-
*
|
|
2470
|
-
* <p>Specifies the algorithm to use when encrypting the object (for example,
|
|
2471
|
-
* AES256).</p>
|
|
3195
|
+
* <p>Specifies the algorithm to use when encrypting the object (for example, AES256).</p>
|
|
2472
3196
|
* <note>
|
|
2473
3197
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2474
3198
|
* </note>
|
|
3199
|
+
* @public
|
|
2475
3200
|
*/
|
|
2476
|
-
SSECustomerAlgorithm?: string;
|
|
3201
|
+
SSECustomerAlgorithm?: string | undefined;
|
|
2477
3202
|
/**
|
|
2478
|
-
* @public
|
|
2479
3203
|
* <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
|
|
2480
3204
|
* value is used to store the object and then it is discarded; Amazon S3 does not store the
|
|
2481
3205
|
* encryption key. The key must be appropriate for use with the algorithm specified in the
|
|
@@ -2484,187 +3208,188 @@ export interface UploadPartRequest {
|
|
|
2484
3208
|
* <note>
|
|
2485
3209
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2486
3210
|
* </note>
|
|
3211
|
+
* @public
|
|
2487
3212
|
*/
|
|
2488
|
-
SSECustomerKey?: string;
|
|
3213
|
+
SSECustomerKey?: string | undefined;
|
|
2489
3214
|
/**
|
|
2490
|
-
* @public
|
|
2491
3215
|
* <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
|
|
2492
3216
|
* this header for a message integrity check to ensure that the encryption key was transmitted
|
|
2493
3217
|
* without error.</p>
|
|
2494
3218
|
* <note>
|
|
2495
3219
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2496
3220
|
* </note>
|
|
3221
|
+
* @public
|
|
2497
3222
|
*/
|
|
2498
|
-
SSECustomerKeyMD5?: string;
|
|
3223
|
+
SSECustomerKeyMD5?: string | undefined;
|
|
2499
3224
|
/**
|
|
2500
|
-
* @public
|
|
2501
3225
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
2502
3226
|
* owners need not specify this parameter in their requests. If either the source or
|
|
2503
|
-
* destination S3 bucket has Requester Pays enabled, the requester will pay for
|
|
2504
|
-
*
|
|
2505
|
-
*
|
|
3227
|
+
* destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding
|
|
3228
|
+
* charges to copy the object. For information about downloading objects from Requester Pays
|
|
3229
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
2506
3230
|
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2507
3231
|
* <note>
|
|
2508
3232
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2509
3233
|
* </note>
|
|
3234
|
+
* @public
|
|
2510
3235
|
*/
|
|
2511
|
-
RequestPayer?: RequestPayer;
|
|
3236
|
+
RequestPayer?: RequestPayer | undefined;
|
|
2512
3237
|
/**
|
|
2513
|
-
* @public
|
|
2514
3238
|
* <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3239
|
+
* @public
|
|
2515
3240
|
*/
|
|
2516
|
-
ExpectedBucketOwner?: string;
|
|
3241
|
+
ExpectedBucketOwner?: string | undefined;
|
|
2517
3242
|
}
|
|
2518
3243
|
/**
|
|
2519
|
-
* @public
|
|
2520
3244
|
* <p>Container for all response elements.</p>
|
|
3245
|
+
* @public
|
|
2521
3246
|
*/
|
|
2522
3247
|
export interface CopyPartResult {
|
|
2523
3248
|
/**
|
|
2524
|
-
* @public
|
|
2525
3249
|
* <p>Entity tag of the object.</p>
|
|
3250
|
+
* @public
|
|
2526
3251
|
*/
|
|
2527
|
-
ETag?: string;
|
|
3252
|
+
ETag?: string | undefined;
|
|
2528
3253
|
/**
|
|
2529
|
-
* @public
|
|
2530
3254
|
* <p>Date and time at which the object was uploaded.</p>
|
|
3255
|
+
* @public
|
|
2531
3256
|
*/
|
|
2532
|
-
LastModified?: Date;
|
|
3257
|
+
LastModified?: Date | undefined;
|
|
2533
3258
|
/**
|
|
3259
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3260
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC32</code> checksum of the part. For more information, see
|
|
3261
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3262
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
2534
3263
|
* @public
|
|
2535
|
-
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
2536
|
-
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2537
|
-
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2538
|
-
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2539
3264
|
*/
|
|
2540
|
-
ChecksumCRC32?: string;
|
|
3265
|
+
ChecksumCRC32?: string | undefined;
|
|
2541
3266
|
/**
|
|
3267
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3268
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC32C</code> checksum of the part. For more information, see
|
|
3269
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3270
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
2542
3271
|
* @public
|
|
2543
|
-
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
2544
|
-
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2545
|
-
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2546
|
-
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2547
3272
|
*/
|
|
2548
|
-
ChecksumCRC32C?: string;
|
|
3273
|
+
ChecksumCRC32C?: string | undefined;
|
|
2549
3274
|
/**
|
|
3275
|
+
* <p>The Base64 encoded, 64-bit <code>CRC64NVME</code> checksum of the part. This checksum is present
|
|
3276
|
+
* if the multipart upload request was created with the <code>CRC64NVME</code> checksum algorithm to the uploaded object). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2550
3277
|
* @public
|
|
2551
|
-
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
2552
|
-
* with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2553
|
-
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2554
|
-
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2555
3278
|
*/
|
|
2556
|
-
|
|
3279
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
2557
3280
|
/**
|
|
3281
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3282
|
+
* This header specifies the Base64 encoded, 160-bit <code>SHA1</code> checksum of the part. For more information, see
|
|
3283
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3284
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
3285
|
+
* @public
|
|
3286
|
+
*/
|
|
3287
|
+
ChecksumSHA1?: string | undefined;
|
|
3288
|
+
/**
|
|
3289
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3290
|
+
* This header specifies the Base64 encoded, 256-bit <code>SHA256</code> checksum of the part. For more information, see
|
|
3291
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3292
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
2558
3293
|
* @public
|
|
2559
|
-
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
2560
|
-
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2561
|
-
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2562
|
-
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2563
3294
|
*/
|
|
2564
|
-
ChecksumSHA256?: string;
|
|
3295
|
+
ChecksumSHA256?: string | undefined;
|
|
2565
3296
|
}
|
|
2566
3297
|
/**
|
|
2567
3298
|
* @public
|
|
2568
3299
|
*/
|
|
2569
3300
|
export interface UploadPartCopyOutput {
|
|
2570
3301
|
/**
|
|
2571
|
-
* @public
|
|
2572
3302
|
* <p>The version of the source object that was copied, if you have enabled versioning on the
|
|
2573
3303
|
* source bucket.</p>
|
|
2574
3304
|
* <note>
|
|
2575
3305
|
* <p>This functionality is not supported when the source object is in a directory bucket.</p>
|
|
2576
3306
|
* </note>
|
|
3307
|
+
* @public
|
|
2577
3308
|
*/
|
|
2578
|
-
CopySourceVersionId?: string;
|
|
3309
|
+
CopySourceVersionId?: string | undefined;
|
|
2579
3310
|
/**
|
|
2580
|
-
* @public
|
|
2581
3311
|
* <p>Container for all response elements.</p>
|
|
3312
|
+
* @public
|
|
2582
3313
|
*/
|
|
2583
|
-
CopyPartResult?: CopyPartResult;
|
|
3314
|
+
CopyPartResult?: CopyPartResult | undefined;
|
|
2584
3315
|
/**
|
|
3316
|
+
* <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for
|
|
3317
|
+
* example, <code>AES256</code>, <code>aws:kms</code>).</p>
|
|
2585
3318
|
* @public
|
|
2586
|
-
* <p>The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
|
|
2587
|
-
* <code>AES256</code>, <code>aws:kms</code>).</p>
|
|
2588
|
-
* <note>
|
|
2589
|
-
* <p>For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
|
|
2590
|
-
* </note>
|
|
2591
3319
|
*/
|
|
2592
|
-
ServerSideEncryption?: ServerSideEncryption;
|
|
3320
|
+
ServerSideEncryption?: ServerSideEncryption | undefined;
|
|
2593
3321
|
/**
|
|
2594
|
-
* @public
|
|
2595
3322
|
* <p>If server-side encryption with a customer-provided encryption key was requested, the
|
|
2596
3323
|
* response will include this header to confirm the encryption algorithm that's used.</p>
|
|
2597
3324
|
* <note>
|
|
2598
3325
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2599
3326
|
* </note>
|
|
3327
|
+
* @public
|
|
2600
3328
|
*/
|
|
2601
|
-
SSECustomerAlgorithm?: string;
|
|
3329
|
+
SSECustomerAlgorithm?: string | undefined;
|
|
2602
3330
|
/**
|
|
2603
|
-
* @public
|
|
2604
3331
|
* <p>If server-side encryption with a customer-provided encryption key was requested, the
|
|
2605
|
-
* response will include this header to provide the round-trip message integrity verification
|
|
2606
|
-
* the customer-provided encryption key.</p>
|
|
3332
|
+
* response will include this header to provide the round-trip message integrity verification
|
|
3333
|
+
* of the customer-provided encryption key.</p>
|
|
2607
3334
|
* <note>
|
|
2608
3335
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2609
3336
|
* </note>
|
|
3337
|
+
* @public
|
|
2610
3338
|
*/
|
|
2611
|
-
SSECustomerKeyMD5?: string;
|
|
3339
|
+
SSECustomerKeyMD5?: string | undefined;
|
|
2612
3340
|
/**
|
|
3341
|
+
* <p>If present, indicates the ID of the KMS key that was used for object encryption.</p>
|
|
2613
3342
|
* @public
|
|
2614
|
-
* <p>If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key
|
|
2615
|
-
* that was used for the object.</p>
|
|
2616
|
-
* <note>
|
|
2617
|
-
* <p>This functionality is not supported for directory buckets.</p>
|
|
2618
|
-
* </note>
|
|
2619
3343
|
*/
|
|
2620
|
-
SSEKMSKeyId?: string;
|
|
3344
|
+
SSEKMSKeyId?: string | undefined;
|
|
2621
3345
|
/**
|
|
2622
|
-
* @public
|
|
2623
3346
|
* <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption
|
|
2624
3347
|
* with Key Management Service (KMS) keys (SSE-KMS).</p>
|
|
2625
|
-
*
|
|
2626
|
-
* <p>This functionality is not supported for directory buckets.</p>
|
|
2627
|
-
* </note>
|
|
3348
|
+
* @public
|
|
2628
3349
|
*/
|
|
2629
|
-
BucketKeyEnabled?: boolean;
|
|
3350
|
+
BucketKeyEnabled?: boolean | undefined;
|
|
2630
3351
|
/**
|
|
2631
|
-
* @public
|
|
2632
3352
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
2633
3353
|
* request.</p>
|
|
2634
3354
|
* <note>
|
|
2635
3355
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2636
3356
|
* </note>
|
|
3357
|
+
* @public
|
|
2637
3358
|
*/
|
|
2638
|
-
RequestCharged?: RequestCharged;
|
|
3359
|
+
RequestCharged?: RequestCharged | undefined;
|
|
2639
3360
|
}
|
|
2640
3361
|
/**
|
|
2641
3362
|
* @public
|
|
2642
3363
|
*/
|
|
2643
3364
|
export interface UploadPartCopyRequest {
|
|
2644
3365
|
/**
|
|
2645
|
-
* @public
|
|
2646
3366
|
* <p>The bucket name.</p>
|
|
2647
3367
|
* <p>
|
|
2648
3368
|
* <b>Directory buckets</b> - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
|
|
2649
|
-
* <i>
|
|
2650
|
-
* <i>
|
|
2651
|
-
* <i>
|
|
3369
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
|
|
3370
|
+
* <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
|
|
3371
|
+
* <i>amzn-s3-demo-bucket</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
|
|
2652
3372
|
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
|
|
2653
3373
|
* rules</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3374
|
+
* <note>
|
|
3375
|
+
* <p>Copying objects across different Amazon Web Services Regions isn't supported when the source or destination bucket is in Amazon Web Services Local Zones. The source and destination buckets must have the same parent Amazon Web Services Region. Otherwise,
|
|
3376
|
+
* you get an HTTP <code>400 Bad Request</code> error with the error code <code>InvalidRequest</code>.</p>
|
|
3377
|
+
* </note>
|
|
2654
3378
|
* <p>
|
|
2655
3379
|
* <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2656
3380
|
* <note>
|
|
2657
3381
|
* <p>Access points and Object Lambda access points are not supported by directory buckets.</p>
|
|
2658
3382
|
* </note>
|
|
2659
3383
|
* <p>
|
|
2660
|
-
* <b>S3 on Outposts</b> - When you use this action with
|
|
2661
|
-
*
|
|
3384
|
+
* <b>S3 on Outposts</b> - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
3385
|
+
* form <code>
|
|
3386
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For more information about S3 on Outposts, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">What is S3 on Outposts?</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2662
3387
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
2663
3388
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
3389
|
+
* @public
|
|
2664
3390
|
*/
|
|
2665
3391
|
Bucket: string | undefined;
|
|
2666
3392
|
/**
|
|
2667
|
-
* @public
|
|
2668
3393
|
* <p>Specifies the source object for the copy operation. You specify the value in one of two
|
|
2669
3394
|
* formats, depending on whether you want to access the source object through an <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html">access point</a>:</p>
|
|
2670
3395
|
* <ul>
|
|
@@ -2690,128 +3415,123 @@ export interface UploadPartCopyRequest {
|
|
|
2690
3415
|
* <p>Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. The value must be URL-encoded. </p>
|
|
2691
3416
|
* </li>
|
|
2692
3417
|
* </ul>
|
|
2693
|
-
* <p>If your bucket has versioning enabled, you could have multiple versions of the
|
|
2694
|
-
*
|
|
2695
|
-
* version of the source object to copy
|
|
2696
|
-
*
|
|
2697
|
-
*
|
|
2698
|
-
*
|
|
2699
|
-
*
|
|
2700
|
-
*
|
|
2701
|
-
*
|
|
2702
|
-
*
|
|
2703
|
-
* <code>
|
|
2704
|
-
*
|
|
2705
|
-
* as a version for the <code>x-amz-copy-source</code>. </p>
|
|
3418
|
+
* <p>If your bucket has versioning enabled, you could have multiple versions of the same
|
|
3419
|
+
* object. By default, <code>x-amz-copy-source</code> identifies the current version of the
|
|
3420
|
+
* source object to copy. To copy a specific version of the source object to copy, append
|
|
3421
|
+
* <code>?versionId=<version-id></code> to the <code>x-amz-copy-source</code> request
|
|
3422
|
+
* header (for example, <code>x-amz-copy-source:
|
|
3423
|
+
* /awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). </p>
|
|
3424
|
+
* <p>If the current version is a delete marker and you don't specify a versionId in the
|
|
3425
|
+
* <code>x-amz-copy-source</code> request header, Amazon S3 returns a <code>404 Not Found</code>
|
|
3426
|
+
* error, because the object does not exist. If you specify versionId in the
|
|
3427
|
+
* <code>x-amz-copy-source</code> and the versionId is a delete marker, Amazon S3 returns an
|
|
3428
|
+
* HTTP <code>400 Bad Request</code> error, because you are not allowed to specify a delete
|
|
3429
|
+
* marker as a version for the <code>x-amz-copy-source</code>. </p>
|
|
2706
3430
|
* <note>
|
|
2707
3431
|
* <p>
|
|
2708
|
-
* <b>Directory buckets</b> -
|
|
3432
|
+
* <b>Directory buckets</b> -
|
|
3433
|
+
* S3 Versioning isn't enabled and supported for directory buckets.</p>
|
|
2709
3434
|
* </note>
|
|
3435
|
+
* @public
|
|
2710
3436
|
*/
|
|
2711
3437
|
CopySource: string | undefined;
|
|
2712
3438
|
/**
|
|
2713
|
-
* @public
|
|
2714
3439
|
* <p>Copies the object if its entity tag (ETag) matches the specified tag.</p>
|
|
2715
|
-
* <p>If both of the
|
|
2716
|
-
*
|
|
2717
|
-
*
|
|
2718
|
-
* request as follows:</p>
|
|
3440
|
+
* <p>If both of the <code>x-amz-copy-source-if-match</code> and
|
|
3441
|
+
* <code>x-amz-copy-source-if-unmodified-since</code> headers are present in the request as
|
|
3442
|
+
* follows:</p>
|
|
2719
3443
|
* <p>
|
|
2720
3444
|
* <code>x-amz-copy-source-if-match</code> condition evaluates to <code>true</code>,
|
|
2721
3445
|
* and;</p>
|
|
2722
3446
|
* <p>
|
|
2723
3447
|
* <code>x-amz-copy-source-if-unmodified-since</code> condition evaluates to
|
|
2724
|
-
*
|
|
3448
|
+
* <code>false</code>;</p>
|
|
2725
3449
|
* <p>Amazon S3 returns <code>200 OK</code> and copies the data.
|
|
2726
3450
|
* </p>
|
|
3451
|
+
* @public
|
|
2727
3452
|
*/
|
|
2728
|
-
CopySourceIfMatch?: string;
|
|
3453
|
+
CopySourceIfMatch?: string | undefined;
|
|
2729
3454
|
/**
|
|
2730
|
-
* @public
|
|
2731
3455
|
* <p>Copies the object if it has been modified since the specified time.</p>
|
|
2732
|
-
* <p>If both of the
|
|
2733
|
-
*
|
|
2734
|
-
*
|
|
2735
|
-
* request as follows:</p>
|
|
3456
|
+
* <p>If both of the <code>x-amz-copy-source-if-none-match</code> and
|
|
3457
|
+
* <code>x-amz-copy-source-if-modified-since</code> headers are present in the request as
|
|
3458
|
+
* follows:</p>
|
|
2736
3459
|
* <p>
|
|
2737
|
-
* <code>x-amz-copy-source-if-none-match</code> condition evaluates to
|
|
2738
|
-
*
|
|
3460
|
+
* <code>x-amz-copy-source-if-none-match</code> condition evaluates to <code>false</code>,
|
|
3461
|
+
* and;</p>
|
|
2739
3462
|
* <p>
|
|
2740
3463
|
* <code>x-amz-copy-source-if-modified-since</code> condition evaluates to
|
|
2741
|
-
*
|
|
3464
|
+
* <code>true</code>;</p>
|
|
2742
3465
|
* <p>Amazon S3 returns <code>412 Precondition Failed</code> response code.
|
|
2743
3466
|
* </p>
|
|
3467
|
+
* @public
|
|
2744
3468
|
*/
|
|
2745
|
-
CopySourceIfModifiedSince?: Date;
|
|
3469
|
+
CopySourceIfModifiedSince?: Date | undefined;
|
|
2746
3470
|
/**
|
|
2747
|
-
* @public
|
|
2748
3471
|
* <p>Copies the object if its entity tag (ETag) is different than the specified ETag.</p>
|
|
2749
|
-
* <p>If both of the
|
|
2750
|
-
*
|
|
2751
|
-
*
|
|
2752
|
-
* request as follows:</p>
|
|
3472
|
+
* <p>If both of the <code>x-amz-copy-source-if-none-match</code> and
|
|
3473
|
+
* <code>x-amz-copy-source-if-modified-since</code> headers are present in the request as
|
|
3474
|
+
* follows:</p>
|
|
2753
3475
|
* <p>
|
|
2754
|
-
* <code>x-amz-copy-source-if-none-match</code> condition evaluates to
|
|
2755
|
-
*
|
|
3476
|
+
* <code>x-amz-copy-source-if-none-match</code> condition evaluates to <code>false</code>,
|
|
3477
|
+
* and;</p>
|
|
2756
3478
|
* <p>
|
|
2757
3479
|
* <code>x-amz-copy-source-if-modified-since</code> condition evaluates to
|
|
2758
|
-
*
|
|
3480
|
+
* <code>true</code>;</p>
|
|
2759
3481
|
* <p>Amazon S3 returns <code>412 Precondition Failed</code> response code.
|
|
2760
3482
|
* </p>
|
|
3483
|
+
* @public
|
|
2761
3484
|
*/
|
|
2762
|
-
CopySourceIfNoneMatch?: string;
|
|
3485
|
+
CopySourceIfNoneMatch?: string | undefined;
|
|
2763
3486
|
/**
|
|
2764
|
-
* @public
|
|
2765
3487
|
* <p>Copies the object if it hasn't been modified since the specified time.</p>
|
|
2766
|
-
* <p>If both of the
|
|
2767
|
-
*
|
|
2768
|
-
*
|
|
2769
|
-
* request as follows:</p>
|
|
3488
|
+
* <p>If both of the <code>x-amz-copy-source-if-match</code> and
|
|
3489
|
+
* <code>x-amz-copy-source-if-unmodified-since</code> headers are present in the request as
|
|
3490
|
+
* follows:</p>
|
|
2770
3491
|
* <p>
|
|
2771
3492
|
* <code>x-amz-copy-source-if-match</code> condition evaluates to <code>true</code>,
|
|
2772
3493
|
* and;</p>
|
|
2773
3494
|
* <p>
|
|
2774
3495
|
* <code>x-amz-copy-source-if-unmodified-since</code> condition evaluates to
|
|
2775
|
-
*
|
|
3496
|
+
* <code>false</code>;</p>
|
|
2776
3497
|
* <p>Amazon S3 returns <code>200 OK</code> and copies the data.
|
|
2777
3498
|
* </p>
|
|
3499
|
+
* @public
|
|
2778
3500
|
*/
|
|
2779
|
-
CopySourceIfUnmodifiedSince?: Date;
|
|
3501
|
+
CopySourceIfUnmodifiedSince?: Date | undefined;
|
|
2780
3502
|
/**
|
|
2781
|
-
* @public
|
|
2782
3503
|
* <p>The range of bytes to copy from the source object. The range value must use the form
|
|
2783
3504
|
* bytes=first-last, where the first and last are the zero-based byte offsets to copy. For
|
|
2784
3505
|
* example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You
|
|
2785
3506
|
* can copy a range only if the source object is greater than 5 MB.</p>
|
|
3507
|
+
* @public
|
|
2786
3508
|
*/
|
|
2787
|
-
CopySourceRange?: string;
|
|
3509
|
+
CopySourceRange?: string | undefined;
|
|
2788
3510
|
/**
|
|
2789
|
-
* @public
|
|
2790
3511
|
* <p>Object key for which the multipart upload was initiated.</p>
|
|
3512
|
+
* @public
|
|
2791
3513
|
*/
|
|
2792
3514
|
Key: string | undefined;
|
|
2793
3515
|
/**
|
|
2794
|
-
* @public
|
|
2795
3516
|
* <p>Part number of part being copied. This is a positive integer between 1 and
|
|
2796
3517
|
* 10,000.</p>
|
|
3518
|
+
* @public
|
|
2797
3519
|
*/
|
|
2798
3520
|
PartNumber: number | undefined;
|
|
2799
3521
|
/**
|
|
2800
|
-
* @public
|
|
2801
3522
|
* <p>Upload ID identifying the multipart upload whose part is being copied.</p>
|
|
3523
|
+
* @public
|
|
2802
3524
|
*/
|
|
2803
3525
|
UploadId: string | undefined;
|
|
2804
3526
|
/**
|
|
2805
|
-
*
|
|
2806
|
-
* <p>Specifies the algorithm to use when encrypting the object (for example,
|
|
2807
|
-
* AES256).</p>
|
|
3527
|
+
* <p>Specifies the algorithm to use when encrypting the object (for example, AES256).</p>
|
|
2808
3528
|
* <note>
|
|
2809
3529
|
* <p>This functionality is not supported when the destination bucket is a directory bucket.</p>
|
|
2810
3530
|
* </note>
|
|
3531
|
+
* @public
|
|
2811
3532
|
*/
|
|
2812
|
-
SSECustomerAlgorithm?: string;
|
|
3533
|
+
SSECustomerAlgorithm?: string | undefined;
|
|
2813
3534
|
/**
|
|
2814
|
-
* @public
|
|
2815
3535
|
* <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
|
|
2816
3536
|
* value is used to store the object and then it is discarded; Amazon S3 does not store the
|
|
2817
3537
|
* encryption key. The key must be appropriate for use with the algorithm specified in the
|
|
@@ -2820,93 +3540,93 @@ export interface UploadPartCopyRequest {
|
|
|
2820
3540
|
* <note>
|
|
2821
3541
|
* <p>This functionality is not supported when the destination bucket is a directory bucket.</p>
|
|
2822
3542
|
* </note>
|
|
3543
|
+
* @public
|
|
2823
3544
|
*/
|
|
2824
|
-
SSECustomerKey?: string;
|
|
3545
|
+
SSECustomerKey?: string | undefined;
|
|
2825
3546
|
/**
|
|
2826
|
-
* @public
|
|
2827
3547
|
* <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
|
|
2828
3548
|
* this header for a message integrity check to ensure that the encryption key was transmitted
|
|
2829
3549
|
* without error.</p>
|
|
2830
3550
|
* <note>
|
|
2831
3551
|
* <p>This functionality is not supported when the destination bucket is a directory bucket.</p>
|
|
2832
3552
|
* </note>
|
|
3553
|
+
* @public
|
|
2833
3554
|
*/
|
|
2834
|
-
SSECustomerKeyMD5?: string;
|
|
3555
|
+
SSECustomerKeyMD5?: string | undefined;
|
|
2835
3556
|
/**
|
|
2836
|
-
* @public
|
|
2837
3557
|
* <p>Specifies the algorithm to use when decrypting the source object (for example,
|
|
2838
|
-
*
|
|
3558
|
+
* <code>AES256</code>).</p>
|
|
2839
3559
|
* <note>
|
|
2840
3560
|
* <p>This functionality is not supported when the source object is in a directory bucket.</p>
|
|
2841
3561
|
* </note>
|
|
3562
|
+
* @public
|
|
2842
3563
|
*/
|
|
2843
|
-
CopySourceSSECustomerAlgorithm?: string;
|
|
3564
|
+
CopySourceSSECustomerAlgorithm?: string | undefined;
|
|
2844
3565
|
/**
|
|
2845
|
-
* @public
|
|
2846
3566
|
* <p>Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source
|
|
2847
3567
|
* object. The encryption key provided in this header must be one that was used when the
|
|
2848
3568
|
* source object was created.</p>
|
|
2849
3569
|
* <note>
|
|
2850
3570
|
* <p>This functionality is not supported when the source object is in a directory bucket.</p>
|
|
2851
3571
|
* </note>
|
|
3572
|
+
* @public
|
|
2852
3573
|
*/
|
|
2853
|
-
CopySourceSSECustomerKey?: string;
|
|
3574
|
+
CopySourceSSECustomerKey?: string | undefined;
|
|
2854
3575
|
/**
|
|
2855
|
-
* @public
|
|
2856
3576
|
* <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
|
|
2857
3577
|
* this header for a message integrity check to ensure that the encryption key was transmitted
|
|
2858
3578
|
* without error.</p>
|
|
2859
3579
|
* <note>
|
|
2860
3580
|
* <p>This functionality is not supported when the source object is in a directory bucket.</p>
|
|
2861
3581
|
* </note>
|
|
3582
|
+
* @public
|
|
2862
3583
|
*/
|
|
2863
|
-
CopySourceSSECustomerKeyMD5?: string;
|
|
3584
|
+
CopySourceSSECustomerKeyMD5?: string | undefined;
|
|
2864
3585
|
/**
|
|
2865
|
-
* @public
|
|
2866
3586
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
2867
3587
|
* owners need not specify this parameter in their requests. If either the source or
|
|
2868
|
-
* destination S3 bucket has Requester Pays enabled, the requester will pay for
|
|
2869
|
-
*
|
|
2870
|
-
*
|
|
3588
|
+
* destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding
|
|
3589
|
+
* charges to copy the object. For information about downloading objects from Requester Pays
|
|
3590
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
2871
3591
|
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2872
3592
|
* <note>
|
|
2873
3593
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2874
3594
|
* </note>
|
|
3595
|
+
* @public
|
|
2875
3596
|
*/
|
|
2876
|
-
RequestPayer?: RequestPayer;
|
|
3597
|
+
RequestPayer?: RequestPayer | undefined;
|
|
2877
3598
|
/**
|
|
2878
|
-
* @public
|
|
2879
3599
|
* <p>The account ID of the expected destination bucket owner. If the account ID that you provide does not match the actual owner of the destination bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3600
|
+
* @public
|
|
2880
3601
|
*/
|
|
2881
|
-
ExpectedBucketOwner?: string;
|
|
3602
|
+
ExpectedBucketOwner?: string | undefined;
|
|
2882
3603
|
/**
|
|
2883
|
-
* @public
|
|
2884
3604
|
* <p>The account ID of the expected source bucket owner. If the account ID that you provide does not match the actual owner of the source bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3605
|
+
* @public
|
|
2885
3606
|
*/
|
|
2886
|
-
ExpectedSourceBucketOwner?: string;
|
|
3607
|
+
ExpectedSourceBucketOwner?: string | undefined;
|
|
2887
3608
|
}
|
|
2888
3609
|
/**
|
|
2889
3610
|
* @public
|
|
2890
3611
|
*/
|
|
2891
3612
|
export interface WriteGetObjectResponseRequest {
|
|
2892
3613
|
/**
|
|
2893
|
-
* @public
|
|
2894
3614
|
* <p>Route prefix to the HTTP URL generated.</p>
|
|
3615
|
+
* @public
|
|
2895
3616
|
*/
|
|
2896
3617
|
RequestRoute: string | undefined;
|
|
2897
3618
|
/**
|
|
2898
|
-
* @public
|
|
2899
3619
|
* <p>A single use encrypted token that maps <code>WriteGetObjectResponse</code> to the end
|
|
2900
3620
|
* user <code>GetObject</code> request.</p>
|
|
3621
|
+
* @public
|
|
2901
3622
|
*/
|
|
2902
3623
|
RequestToken: string | undefined;
|
|
2903
3624
|
/**
|
|
2904
|
-
* @public
|
|
2905
3625
|
* <p>The object data.</p>
|
|
3626
|
+
* @public
|
|
2906
3627
|
*/
|
|
2907
|
-
Body?: StreamingBlobTypes;
|
|
3628
|
+
Body?: StreamingBlobTypes | undefined;
|
|
2908
3629
|
/**
|
|
2909
|
-
* @public
|
|
2910
3630
|
* <p>The integer status code for an HTTP response of a corresponding <code>GetObject</code>
|
|
2911
3631
|
* request. The following is a list of status codes.</p>
|
|
2912
3632
|
* <ul>
|
|
@@ -2981,71 +3701,71 @@ export interface WriteGetObjectResponseRequest {
|
|
|
2981
3701
|
* </p>
|
|
2982
3702
|
* </li>
|
|
2983
3703
|
* </ul>
|
|
3704
|
+
* @public
|
|
2984
3705
|
*/
|
|
2985
|
-
StatusCode?: number;
|
|
3706
|
+
StatusCode?: number | undefined;
|
|
2986
3707
|
/**
|
|
2987
|
-
* @public
|
|
2988
3708
|
* <p>A string that uniquely identifies an error condition. Returned in the <Code> tag
|
|
2989
3709
|
* of the error XML response for a corresponding <code>GetObject</code> call. Cannot be used
|
|
2990
3710
|
* with a successful <code>StatusCode</code> header or when the transformed object is provided
|
|
2991
3711
|
* in the body. All error codes from S3 are sentence-cased. The regular expression (regex)
|
|
2992
3712
|
* value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p>
|
|
3713
|
+
* @public
|
|
2993
3714
|
*/
|
|
2994
|
-
ErrorCode?: string;
|
|
3715
|
+
ErrorCode?: string | undefined;
|
|
2995
3716
|
/**
|
|
2996
|
-
* @public
|
|
2997
3717
|
* <p>Contains a generic description of the error condition. Returned in the <Message>
|
|
2998
3718
|
* tag of the error XML response for a corresponding <code>GetObject</code> call. Cannot be
|
|
2999
3719
|
* used with a successful <code>StatusCode</code> header or when the transformed object is
|
|
3000
3720
|
* provided in body.</p>
|
|
3721
|
+
* @public
|
|
3001
3722
|
*/
|
|
3002
|
-
ErrorMessage?: string;
|
|
3723
|
+
ErrorMessage?: string | undefined;
|
|
3003
3724
|
/**
|
|
3004
|
-
* @public
|
|
3005
3725
|
* <p>Indicates that a range of bytes was specified.</p>
|
|
3726
|
+
* @public
|
|
3006
3727
|
*/
|
|
3007
|
-
AcceptRanges?: string;
|
|
3728
|
+
AcceptRanges?: string | undefined;
|
|
3008
3729
|
/**
|
|
3009
|
-
* @public
|
|
3010
3730
|
* <p>Specifies caching behavior along the request/reply chain.</p>
|
|
3731
|
+
* @public
|
|
3011
3732
|
*/
|
|
3012
|
-
CacheControl?: string;
|
|
3733
|
+
CacheControl?: string | undefined;
|
|
3013
3734
|
/**
|
|
3014
|
-
* @public
|
|
3015
3735
|
* <p>Specifies presentational information for the object.</p>
|
|
3736
|
+
* @public
|
|
3016
3737
|
*/
|
|
3017
|
-
ContentDisposition?: string;
|
|
3738
|
+
ContentDisposition?: string | undefined;
|
|
3018
3739
|
/**
|
|
3019
|
-
* @public
|
|
3020
3740
|
* <p>Specifies what content encodings have been applied to the object and thus what decoding
|
|
3021
3741
|
* mechanisms must be applied to obtain the media-type referenced by the Content-Type header
|
|
3022
3742
|
* field.</p>
|
|
3743
|
+
* @public
|
|
3023
3744
|
*/
|
|
3024
|
-
ContentEncoding?: string;
|
|
3745
|
+
ContentEncoding?: string | undefined;
|
|
3025
3746
|
/**
|
|
3026
|
-
* @public
|
|
3027
3747
|
* <p>The language the content is in.</p>
|
|
3748
|
+
* @public
|
|
3028
3749
|
*/
|
|
3029
|
-
ContentLanguage?: string;
|
|
3750
|
+
ContentLanguage?: string | undefined;
|
|
3030
3751
|
/**
|
|
3031
|
-
* @public
|
|
3032
3752
|
* <p>The size of the content body in bytes.</p>
|
|
3753
|
+
* @public
|
|
3033
3754
|
*/
|
|
3034
|
-
ContentLength?: number;
|
|
3755
|
+
ContentLength?: number | undefined;
|
|
3035
3756
|
/**
|
|
3036
|
-
* @public
|
|
3037
3757
|
* <p>The portion of the object returned in the response.</p>
|
|
3758
|
+
* @public
|
|
3038
3759
|
*/
|
|
3039
|
-
ContentRange?: string;
|
|
3760
|
+
ContentRange?: string | undefined;
|
|
3040
3761
|
/**
|
|
3041
|
-
* @public
|
|
3042
3762
|
* <p>A standard MIME type describing the format of the object data.</p>
|
|
3763
|
+
* @public
|
|
3043
3764
|
*/
|
|
3044
|
-
ContentType?: string;
|
|
3765
|
+
ContentType?: string | undefined;
|
|
3045
3766
|
/**
|
|
3046
|
-
* @public
|
|
3047
3767
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3048
|
-
* the same data that was originally sent. This specifies the
|
|
3768
|
+
* the same data that was originally sent. This specifies the Base64 encoded, 32-bit <code>CRC32</code>
|
|
3049
3769
|
* checksum of the object returned by the Object Lambda function. This may not match the
|
|
3050
3770
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3051
3771
|
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
@@ -3054,12 +3774,12 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3054
3774
|
* <p>Only one checksum header can be specified at a time. If you supply multiple checksum
|
|
3055
3775
|
* headers, this request will fail.</p>
|
|
3056
3776
|
* <p></p>
|
|
3777
|
+
* @public
|
|
3057
3778
|
*/
|
|
3058
|
-
ChecksumCRC32?: string;
|
|
3779
|
+
ChecksumCRC32?: string | undefined;
|
|
3059
3780
|
/**
|
|
3060
|
-
* @public
|
|
3061
3781
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3062
|
-
* the same data that was originally sent. This specifies the
|
|
3782
|
+
* the same data that was originally sent. This specifies the Base64 encoded, 32-bit <code>CRC32C</code>
|
|
3063
3783
|
* checksum of the object returned by the Object Lambda function. This may not match the
|
|
3064
3784
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3065
3785
|
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
@@ -3067,12 +3787,19 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3067
3787
|
* integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3068
3788
|
* <p>Only one checksum header can be specified at a time. If you supply multiple checksum
|
|
3069
3789
|
* headers, this request will fail.</p>
|
|
3790
|
+
* @public
|
|
3070
3791
|
*/
|
|
3071
|
-
ChecksumCRC32C?: string;
|
|
3792
|
+
ChecksumCRC32C?: string | undefined;
|
|
3072
3793
|
/**
|
|
3794
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3795
|
+
* the same data that was originally sent. This header specifies the Base64 encoded, 64-bit
|
|
3796
|
+
* <code>CRC64NVME</code> checksum of the part. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3073
3797
|
* @public
|
|
3798
|
+
*/
|
|
3799
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
3800
|
+
/**
|
|
3074
3801
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3075
|
-
* the same data that was originally sent. This specifies the
|
|
3802
|
+
* the same data that was originally sent. This specifies the Base64 encoded, 160-bit <code>SHA1</code>
|
|
3076
3803
|
* digest of the object returned by the Object Lambda function. This may not match the
|
|
3077
3804
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3078
3805
|
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
@@ -3080,12 +3807,12 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3080
3807
|
* integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3081
3808
|
* <p>Only one checksum header can be specified at a time. If you supply multiple checksum
|
|
3082
3809
|
* headers, this request will fail.</p>
|
|
3810
|
+
* @public
|
|
3083
3811
|
*/
|
|
3084
|
-
ChecksumSHA1?: string;
|
|
3812
|
+
ChecksumSHA1?: string | undefined;
|
|
3085
3813
|
/**
|
|
3086
|
-
* @public
|
|
3087
3814
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3088
|
-
* the same data that was originally sent. This specifies the
|
|
3815
|
+
* the same data that was originally sent. This specifies the Base64 encoded, 256-bit <code>SHA256</code>
|
|
3089
3816
|
* digest of the object returned by the Object Lambda function. This may not match the
|
|
3090
3817
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3091
3818
|
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
@@ -3093,143 +3820,153 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3093
3820
|
* integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3094
3821
|
* <p>Only one checksum header can be specified at a time. If you supply multiple checksum
|
|
3095
3822
|
* headers, this request will fail.</p>
|
|
3823
|
+
* @public
|
|
3096
3824
|
*/
|
|
3097
|
-
ChecksumSHA256?: string;
|
|
3825
|
+
ChecksumSHA256?: string | undefined;
|
|
3098
3826
|
/**
|
|
3099
|
-
* @public
|
|
3100
3827
|
* <p>Specifies whether an object stored in Amazon S3 is (<code>true</code>) or is not
|
|
3101
|
-
* (<code>false</code>) a delete marker. </p>
|
|
3828
|
+
* (<code>false</code>) a delete marker. To learn more about delete markers, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html">Working with delete markers</a>.</p>
|
|
3829
|
+
* @public
|
|
3102
3830
|
*/
|
|
3103
|
-
DeleteMarker?: boolean;
|
|
3831
|
+
DeleteMarker?: boolean | undefined;
|
|
3104
3832
|
/**
|
|
3105
|
-
* @public
|
|
3106
3833
|
* <p>An opaque identifier assigned by a web server to a specific version of a resource found
|
|
3107
3834
|
* at a URL. </p>
|
|
3835
|
+
* @public
|
|
3108
3836
|
*/
|
|
3109
|
-
ETag?: string;
|
|
3837
|
+
ETag?: string | undefined;
|
|
3110
3838
|
/**
|
|
3111
|
-
* @public
|
|
3112
3839
|
* <p>The date and time at which the object is no longer cacheable.</p>
|
|
3840
|
+
* @public
|
|
3113
3841
|
*/
|
|
3114
|
-
Expires?: Date;
|
|
3842
|
+
Expires?: Date | undefined;
|
|
3115
3843
|
/**
|
|
3116
|
-
* @public
|
|
3117
3844
|
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the response includes
|
|
3118
3845
|
* this header. It includes the <code>expiry-date</code> and <code>rule-id</code> key-value
|
|
3119
3846
|
* pairs that provide the object expiration information. The value of the <code>rule-id</code>
|
|
3120
3847
|
* is URL-encoded. </p>
|
|
3848
|
+
* @public
|
|
3121
3849
|
*/
|
|
3122
|
-
Expiration?: string;
|
|
3850
|
+
Expiration?: string | undefined;
|
|
3123
3851
|
/**
|
|
3124
|
-
* @public
|
|
3125
3852
|
* <p>The date and time that the object was last modified.</p>
|
|
3853
|
+
* @public
|
|
3126
3854
|
*/
|
|
3127
|
-
LastModified?: Date;
|
|
3855
|
+
LastModified?: Date | undefined;
|
|
3128
3856
|
/**
|
|
3129
|
-
* @public
|
|
3130
3857
|
* <p>Set to the number of metadata entries not returned in <code>x-amz-meta</code> headers.
|
|
3131
3858
|
* This can happen if you create metadata using an API like SOAP that supports more flexible
|
|
3132
3859
|
* metadata than the REST API. For example, using SOAP, you can create metadata whose values
|
|
3133
3860
|
* are not legal HTTP headers.</p>
|
|
3861
|
+
* @public
|
|
3134
3862
|
*/
|
|
3135
|
-
MissingMeta?: number;
|
|
3863
|
+
MissingMeta?: number | undefined;
|
|
3136
3864
|
/**
|
|
3137
|
-
* @public
|
|
3138
3865
|
* <p>A map of metadata to store with the object in S3.</p>
|
|
3866
|
+
* @public
|
|
3139
3867
|
*/
|
|
3140
|
-
Metadata?: Record<string, string
|
|
3868
|
+
Metadata?: Record<string, string> | undefined;
|
|
3141
3869
|
/**
|
|
3142
|
-
* @public
|
|
3143
3870
|
* <p>Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information
|
|
3144
3871
|
* about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a>.</p>
|
|
3872
|
+
* @public
|
|
3145
3873
|
*/
|
|
3146
|
-
ObjectLockMode?: ObjectLockMode;
|
|
3874
|
+
ObjectLockMode?: ObjectLockMode | undefined;
|
|
3147
3875
|
/**
|
|
3148
|
-
* @public
|
|
3149
3876
|
* <p>Indicates whether an object stored in Amazon S3 has an active legal hold.</p>
|
|
3877
|
+
* @public
|
|
3150
3878
|
*/
|
|
3151
|
-
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
|
|
3879
|
+
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
|
|
3152
3880
|
/**
|
|
3153
|
-
* @public
|
|
3154
3881
|
* <p>The date and time when Object Lock is configured to expire.</p>
|
|
3882
|
+
* @public
|
|
3155
3883
|
*/
|
|
3156
|
-
ObjectLockRetainUntilDate?: Date;
|
|
3884
|
+
ObjectLockRetainUntilDate?: Date | undefined;
|
|
3157
3885
|
/**
|
|
3158
|
-
* @public
|
|
3159
3886
|
* <p>The count of parts this object has.</p>
|
|
3887
|
+
* @public
|
|
3160
3888
|
*/
|
|
3161
|
-
PartsCount?: number;
|
|
3889
|
+
PartsCount?: number | undefined;
|
|
3162
3890
|
/**
|
|
3163
|
-
* @public
|
|
3164
3891
|
* <p>Indicates if request involves bucket that is either a source or destination in a
|
|
3165
3892
|
* Replication rule. For more information about S3 Replication, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html">Replication</a>.</p>
|
|
3893
|
+
* @public
|
|
3166
3894
|
*/
|
|
3167
|
-
ReplicationStatus?: ReplicationStatus;
|
|
3895
|
+
ReplicationStatus?: ReplicationStatus | undefined;
|
|
3168
3896
|
/**
|
|
3169
|
-
* @public
|
|
3170
3897
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
3171
3898
|
* request.</p>
|
|
3172
3899
|
* <note>
|
|
3173
3900
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
3174
3901
|
* </note>
|
|
3902
|
+
* @public
|
|
3175
3903
|
*/
|
|
3176
|
-
RequestCharged?: RequestCharged;
|
|
3904
|
+
RequestCharged?: RequestCharged | undefined;
|
|
3177
3905
|
/**
|
|
3178
|
-
* @public
|
|
3179
3906
|
* <p>Provides information about object restoration operation and expiration time of the
|
|
3180
3907
|
* restored object copy.</p>
|
|
3908
|
+
* @public
|
|
3181
3909
|
*/
|
|
3182
|
-
Restore?: string;
|
|
3910
|
+
Restore?: string | undefined;
|
|
3183
3911
|
/**
|
|
3184
|
-
* @public
|
|
3185
3912
|
* <p> The server-side encryption algorithm used when storing requested object in Amazon S3 (for
|
|
3186
3913
|
* example, AES256, <code>aws:kms</code>).</p>
|
|
3914
|
+
* @public
|
|
3187
3915
|
*/
|
|
3188
|
-
ServerSideEncryption?: ServerSideEncryption;
|
|
3916
|
+
ServerSideEncryption?: ServerSideEncryption | undefined;
|
|
3189
3917
|
/**
|
|
3190
|
-
* @public
|
|
3191
3918
|
* <p>Encryption algorithm used if server-side encryption with a customer-provided encryption
|
|
3192
3919
|
* key was specified for object stored in Amazon S3.</p>
|
|
3920
|
+
* @public
|
|
3193
3921
|
*/
|
|
3194
|
-
SSECustomerAlgorithm?: string;
|
|
3922
|
+
SSECustomerAlgorithm?: string | undefined;
|
|
3195
3923
|
/**
|
|
3924
|
+
* <p> If present, specifies the ID (Key ID, Key ARN, or Key Alias) of the Amazon Web Services Key
|
|
3925
|
+
* Management Service (Amazon Web Services KMS) symmetric encryption customer managed key that was used for stored in
|
|
3926
|
+
* Amazon S3 object. </p>
|
|
3196
3927
|
* @public
|
|
3197
|
-
* <p> If present, specifies the ID (Key ID, Key ARN, or Key Alias) of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
|
|
3198
|
-
* encryption customer managed key that was used for stored in Amazon S3 object. </p>
|
|
3199
3928
|
*/
|
|
3200
|
-
SSEKMSKeyId?: string;
|
|
3929
|
+
SSEKMSKeyId?: string | undefined;
|
|
3201
3930
|
/**
|
|
3202
|
-
* @public
|
|
3203
3931
|
* <p> 128-bit MD5 digest of customer-provided encryption key used in Amazon S3 to encrypt data
|
|
3204
3932
|
* stored in S3. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html">Protecting data
|
|
3205
3933
|
* using server-side encryption with customer-provided encryption keys
|
|
3206
3934
|
* (SSE-C)</a>.</p>
|
|
3935
|
+
* @public
|
|
3207
3936
|
*/
|
|
3208
|
-
SSECustomerKeyMD5?: string;
|
|
3937
|
+
SSECustomerKeyMD5?: string | undefined;
|
|
3209
3938
|
/**
|
|
3210
|
-
* @public
|
|
3211
3939
|
* <p>Provides storage class information of the object. Amazon S3 returns this header for all
|
|
3212
3940
|
* objects except for S3 Standard storage class objects.</p>
|
|
3213
3941
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a>.</p>
|
|
3942
|
+
* @public
|
|
3214
3943
|
*/
|
|
3215
|
-
StorageClass?: StorageClass;
|
|
3944
|
+
StorageClass?: StorageClass | undefined;
|
|
3216
3945
|
/**
|
|
3217
|
-
* @public
|
|
3218
3946
|
* <p>The number of tags, if any, on the object.</p>
|
|
3947
|
+
* @public
|
|
3219
3948
|
*/
|
|
3220
|
-
TagCount?: number;
|
|
3949
|
+
TagCount?: number | undefined;
|
|
3221
3950
|
/**
|
|
3222
|
-
* @public
|
|
3223
3951
|
* <p>An ID used to reference a specific version of the object.</p>
|
|
3952
|
+
* @public
|
|
3224
3953
|
*/
|
|
3225
|
-
VersionId?: string;
|
|
3954
|
+
VersionId?: string | undefined;
|
|
3226
3955
|
/**
|
|
3227
|
-
* @public
|
|
3228
3956
|
* <p> Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side
|
|
3229
3957
|
* encryption with Amazon Web Services KMS (SSE-KMS).</p>
|
|
3958
|
+
* @public
|
|
3230
3959
|
*/
|
|
3231
|
-
BucketKeyEnabled?: boolean;
|
|
3960
|
+
BucketKeyEnabled?: boolean | undefined;
|
|
3232
3961
|
}
|
|
3962
|
+
/**
|
|
3963
|
+
* @internal
|
|
3964
|
+
*/
|
|
3965
|
+
export declare const PutBucketEncryptionRequestFilterSensitiveLog: (obj: PutBucketEncryptionRequest) => any;
|
|
3966
|
+
/**
|
|
3967
|
+
* @internal
|
|
3968
|
+
*/
|
|
3969
|
+
export declare const PutBucketInventoryConfigurationRequestFilterSensitiveLog: (obj: PutBucketInventoryConfigurationRequest) => any;
|
|
3233
3970
|
/**
|
|
3234
3971
|
* @internal
|
|
3235
3972
|
*/
|