@nocobase/plugin-file-manager 0.17.0-alpha.7 → 0.18.0-alpha.1
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 +11 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +10 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +59 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +58 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +10 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +50 -32
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +18 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +226 -97
- 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 +5 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +20 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +22 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +11 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +55 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +54 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +45 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +25 -0
- 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 +218 -93
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +2 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +5 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +20 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +14 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +37 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +98 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +108 -164
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +116 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +146 -222
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +145 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +35 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +6 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +48 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +83 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +109 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +7 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +6 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +7 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +54 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +113 -73
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +127 -136
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +23 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +8 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +53 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +95 -80
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +98 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +117 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +4 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +52 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +47 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +46 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +8 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +9 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +23 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +33 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +22 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +54 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +29 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +23 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +11 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +6 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +46 -40
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +150 -119
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +7 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +24 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +99 -94
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +51 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +104 -71
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +108 -99
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +9 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +3714 -1386
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1639 -111
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
- 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 +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +9 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +45 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +9 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +34 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +17 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +5 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +8 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +4 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +42 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +6 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +5 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +7 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +235 -303
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +201 -41
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
- 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 +24 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +72 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +18 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- 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/index.js +14 -106
- package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
- package/dist/node_modules/multer-cos/index.js +4 -4
- package/dist/node_modules/multer-cos/package.json +1 -1
- package/dist/node_modules/multer-s3/index.js +4 -4
- package/dist/node_modules/multer-s3/package.json +1 -1
- package/dist/server/migrations/20231120142523-fix-storage.js +1 -0
- package/package.json +2 -2
- package/dist/node_modules/multer-aliyun-oss/bridge.js +0 -1010
- package/dist/node_modules/multer-aliyun-oss/events.js +0 -977
- package/dist/node_modules/multer-aliyun-oss/setup-node-sandbox.js +0 -461
- package/dist/node_modules/multer-aliyun-oss/setup-sandbox.js +0 -545
|
@@ -31,197 +31,141 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
|
|
|
31
31
|
* (UploadPartCopy) API. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html">Copy Object Using the
|
|
32
32
|
* REST Multipart Upload API</a>.</p>
|
|
33
33
|
* </note>
|
|
34
|
-
* <p>
|
|
35
|
-
*
|
|
36
|
-
* access to the destination bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>. Both the
|
|
37
|
-
* Region that you want to copy the object from and the Region that you want to copy the
|
|
38
|
-
* object to must be enabled for your account.</p>
|
|
39
|
-
* <p>A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3
|
|
40
|
-
* is copying the files. If the error occurs before the copy action starts, you receive a
|
|
41
|
-
* standard Amazon S3 error. If the error occurs during the copy operation, the error response is
|
|
42
|
-
* embedded in the <code>200 OK</code> response. This means that a <code>200 OK</code>
|
|
43
|
-
* response can contain either a success or an error. If you call the S3 API directly, make
|
|
44
|
-
* sure to design your application to parse the contents of the response and handle it
|
|
45
|
-
* appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the
|
|
46
|
-
* embedded error and apply error handling per your configuration settings (including
|
|
47
|
-
* automatically retrying the request as appropriate). If the condition persists, the SDKs
|
|
48
|
-
* throws an exception (or, for the SDKs that don't use exceptions, they return the
|
|
49
|
-
* error).</p>
|
|
50
|
-
* <p>If the copy is successful, you receive a response with information about the copied
|
|
51
|
-
* object.</p>
|
|
34
|
+
* <p>You can copy individual objects between general purpose buckets, between directory buckets, and
|
|
35
|
+
* between general purpose buckets and directory buckets.</p>
|
|
52
36
|
* <note>
|
|
53
|
-
* <p>
|
|
54
|
-
*
|
|
55
|
-
*
|
|
37
|
+
* <p>
|
|
38
|
+
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
|
|
39
|
+
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
40
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
56
41
|
* </note>
|
|
57
|
-
* <p>
|
|
58
|
-
*
|
|
42
|
+
* <p>Both the
|
|
43
|
+
* Region that you want to copy the object from and the Region that you want to copy the
|
|
44
|
+
* object to must be enabled for your account.</p>
|
|
59
45
|
* <important>
|
|
60
46
|
* <p>Amazon S3 transfer acceleration does not support cross-Region copies. If you request a
|
|
61
|
-
* cross-Region copy using a transfer acceleration endpoint, you get a
|
|
47
|
+
* cross-Region copy using a transfer acceleration endpoint, you get a <code>400 Bad
|
|
62
48
|
* Request</code> error. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html">Transfer
|
|
63
|
-
*
|
|
49
|
+
* Acceleration</a>.</p>
|
|
64
50
|
* </important>
|
|
65
51
|
* <dl>
|
|
66
|
-
* <dt>
|
|
52
|
+
* <dt>Authentication and authorization</dt>
|
|
67
53
|
* <dd>
|
|
68
|
-
* <p>
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* <code>x-amz-metadata-directive</code> header. When you grant permissions, you can use
|
|
75
|
-
* the <code>s3:x-amz-metadata-directive</code> condition key to enforce certain metadata
|
|
76
|
-
* behavior when objects are uploaded. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html">Specifying Conditions in a
|
|
77
|
-
* Policy</a> in the <i>Amazon S3 User Guide</i>. For a complete list of
|
|
78
|
-
* Amazon S3-specific condition keys, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html">Actions, Resources, and Condition Keys for
|
|
79
|
-
* Amazon S3</a>.</p>
|
|
80
|
-
* <note>
|
|
81
|
-
* <p>
|
|
82
|
-
* <code>x-amz-website-redirect-location</code> is unique to each object and must be
|
|
83
|
-
* specified in the request headers to copy the value.</p>
|
|
84
|
-
* </note>
|
|
54
|
+
* <p>All <code>CopyObject</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including
|
|
55
|
+
* <code>x-amz-copy-source</code>, must be signed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>.</p>
|
|
56
|
+
* <p>
|
|
57
|
+
* <b>Directory buckets</b> - You must use the IAM credentials to authenticate and authorize your access to the <code>CopyObject</code> API operation, instead of using the
|
|
58
|
+
* temporary security credentials through the <code>CreateSession</code> API operation.</p>
|
|
59
|
+
* <p>Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.</p>
|
|
85
60
|
* </dd>
|
|
86
|
-
* <dt>
|
|
61
|
+
* <dt>Permissions</dt>
|
|
87
62
|
* <dd>
|
|
88
|
-
* <p>
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* <ul>
|
|
92
|
-
* <li>
|
|
93
|
-
* <p>
|
|
94
|
-
* <code>x-amz-copy-source-if-match</code>
|
|
95
|
-
* </p>
|
|
96
|
-
* </li>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>
|
|
99
|
-
* <code>x-amz-copy-source-if-none-match</code>
|
|
100
|
-
* </p>
|
|
101
|
-
* </li>
|
|
102
|
-
* <li>
|
|
103
|
-
* <p>
|
|
104
|
-
* <code>x-amz-copy-source-if-unmodified-since</code>
|
|
105
|
-
* </p>
|
|
106
|
-
* </li>
|
|
107
|
-
* <li>
|
|
108
|
-
* <p>
|
|
109
|
-
* <code>x-amz-copy-source-if-modified-since</code>
|
|
110
|
-
* </p>
|
|
111
|
-
* </li>
|
|
112
|
-
* </ul>
|
|
113
|
-
* <p> If both the <code>x-amz-copy-source-if-match</code> and
|
|
114
|
-
* <code>x-amz-copy-source-if-unmodified-since</code> headers are present in the request
|
|
115
|
-
* and evaluate as follows, Amazon S3 returns <code>200 OK</code> and copies the data:</p>
|
|
63
|
+
* <p>You must have
|
|
64
|
+
* <i>read</i> access to the source object and <i>write</i>
|
|
65
|
+
* access to the destination bucket.</p>
|
|
116
66
|
* <ul>
|
|
117
67
|
* <li>
|
|
118
68
|
* <p>
|
|
119
|
-
* <
|
|
69
|
+
* <b>General purpose bucket permissions</b> -
|
|
70
|
+
* You must have permissions in an IAM policy based on the source and destination
|
|
71
|
+
* bucket types in a <code>CopyObject</code> operation.</p>
|
|
72
|
+
* <ul>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>If the source object is in a general purpose bucket, you must have
|
|
75
|
+
* <b>
|
|
76
|
+
* <code>s3:GetObject</code>
|
|
77
|
+
* </b>
|
|
78
|
+
* permission to read the source object that is being copied. </p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>If the destination bucket is a general purpose bucket, you must have
|
|
82
|
+
* <b>
|
|
83
|
+
* <code>s3:PubObject</code>
|
|
84
|
+
* </b>
|
|
85
|
+
* permission to write the object copy to the destination bucket. </p>
|
|
86
|
+
* </li>
|
|
87
|
+
* </ul>
|
|
120
88
|
* </li>
|
|
121
89
|
* <li>
|
|
122
90
|
* <p>
|
|
123
|
-
* <
|
|
124
|
-
*
|
|
91
|
+
* <b>Directory bucket permissions</b> -
|
|
92
|
+
* You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination
|
|
93
|
+
* bucket types in a <code>CopyObject</code> operation.</p>
|
|
94
|
+
* <ul>
|
|
95
|
+
* <li>
|
|
96
|
+
* <p>If the source object that you want to copy is in a
|
|
97
|
+
* directory bucket, you must have the <b>
|
|
98
|
+
* <code>s3express:CreateSession</code>
|
|
99
|
+
* </b> permission in
|
|
100
|
+
* the <code>Action</code> element of a policy to read the object. By default, the session is in the <code>ReadWrite</code> mode. If you want to restrict the access, you can explicitly set the <code>s3express:SessionMode</code> condition key to <code>ReadOnly</code> on the copy source bucket.</p>
|
|
101
|
+
* </li>
|
|
102
|
+
* <li>
|
|
103
|
+
* <p>If the copy destination is a directory bucket, you must have the <b>
|
|
104
|
+
* <code>s3express:CreateSession</code>
|
|
105
|
+
* </b> permission in the
|
|
106
|
+
* <code>Action</code> element of a policy to write the object
|
|
107
|
+
* to the destination. The <code>s3express:SessionMode</code> condition
|
|
108
|
+
* key can't be set to <code>ReadOnly</code> on the copy destination bucket. </p>
|
|
109
|
+
* </li>
|
|
110
|
+
* </ul>
|
|
111
|
+
* <p>For example policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example bucket policies for S3 Express One Zone</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html">Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone</a> in the
|
|
112
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
125
113
|
* </li>
|
|
126
114
|
* </ul>
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
115
|
+
* </dd>
|
|
116
|
+
* <dt>Response and special errors</dt>
|
|
117
|
+
* <dd>
|
|
118
|
+
* <p>When the request is an HTTP 1.1 request, the response is chunk encoded.
|
|
119
|
+
* When the request is not an HTTP 1.1 request, the response would not contain the <code>Content-Length</code>.
|
|
120
|
+
* You always need to read the entire response body to check if the copy succeeds.
|
|
121
|
+
* to keep the connection alive while we copy the data. </p>
|
|
131
122
|
* <ul>
|
|
132
123
|
* <li>
|
|
133
|
-
* <p>
|
|
134
|
-
*
|
|
124
|
+
* <p>If the copy is successful, you receive a response with information about the copied
|
|
125
|
+
* object.</p>
|
|
135
126
|
* </li>
|
|
136
127
|
* <li>
|
|
137
|
-
* <p>
|
|
138
|
-
* <code>
|
|
139
|
-
*
|
|
128
|
+
* <p>A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3
|
|
129
|
+
* is copying the files. A <code>200 OK</code> response can contain either a success or an error.</p>
|
|
130
|
+
* <ul>
|
|
131
|
+
* <li>
|
|
132
|
+
* <p>If the error occurs before the copy action starts, you receive a
|
|
133
|
+
* standard Amazon S3 error.</p>
|
|
134
|
+
* </li>
|
|
135
|
+
* <li>
|
|
136
|
+
* <p>If the error occurs during the copy operation, the error response is
|
|
137
|
+
* embedded in the <code>200 OK</code> response. For example, in a cross-region copy, you
|
|
138
|
+
* may encounter throttling and receive a <code>200 OK</code> response.
|
|
139
|
+
* For more information, see <a href="repost.aws/knowledge-center/s3-resolve-200-internalerror">Resolve
|
|
140
|
+
* the Error 200 response when copying objects to Amazon S3</a>.
|
|
141
|
+
* The <code>200 OK</code> status code means the copy was accepted, but
|
|
142
|
+
* it doesn't mean the copy is complete. Another example is
|
|
143
|
+
* when you disconnect from Amazon S3 before the copy is complete, Amazon S3 might cancel the copy and you may receive a <code>200 OK</code> response.
|
|
144
|
+
* You must stay connected to Amazon S3 until the entire response is successfully received and processed.</p>
|
|
145
|
+
* <p>If you call this API operation directly, make
|
|
146
|
+
* sure to design your application to parse the content of the response and handle it
|
|
147
|
+
* appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the
|
|
148
|
+
* embedded error and apply error handling per your configuration settings (including
|
|
149
|
+
* automatically retrying the request as appropriate). If the condition persists, the SDKs
|
|
150
|
+
* throw an exception (or, for the SDKs that don't use exceptions, they return an
|
|
151
|
+
* error).</p>
|
|
152
|
+
* </li>
|
|
153
|
+
* </ul>
|
|
140
154
|
* </li>
|
|
141
155
|
* </ul>
|
|
142
|
-
* <note>
|
|
143
|
-
* <p>All headers with the <code>x-amz-</code> prefix, including
|
|
144
|
-
* <code>x-amz-copy-source</code>, must be signed.</p>
|
|
145
|
-
* </note>
|
|
146
156
|
* </dd>
|
|
147
|
-
* <dt>
|
|
157
|
+
* <dt>Charge</dt>
|
|
148
158
|
* <dd>
|
|
149
|
-
* <p>
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* base level of encryption configuration that uses server-side encryption with Amazon S3
|
|
154
|
-
* managed keys (SSE-S3). If the destination bucket has a default encryption
|
|
155
|
-
* configuration that uses server-side encryption with Key Management Service (KMS) keys
|
|
156
|
-
* (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or
|
|
157
|
-
* server-side encryption with customer-provided encryption keys (SSE-C), Amazon S3 uses
|
|
158
|
-
* the corresponding KMS key, or a customer-provided key to encrypt the target
|
|
159
|
-
* object copy.</p>
|
|
160
|
-
* <p>When you perform a <code>CopyObject</code> operation, if you want to use a different type
|
|
161
|
-
* of encryption setting for the target object, you can use other appropriate
|
|
162
|
-
* encryption-related headers to encrypt the target object with a KMS key, an Amazon S3 managed
|
|
163
|
-
* key, or a customer-provided key. With server-side encryption, Amazon S3 encrypts your data as it
|
|
164
|
-
* writes your data to disks in its data centers and decrypts the data when you access it. If the
|
|
165
|
-
* encryption setting in your request is different from the default encryption configuration
|
|
166
|
-
* of the destination bucket, the encryption setting in your request takes precedence. If the
|
|
167
|
-
* source object for the copy is stored in Amazon S3 using SSE-C, you must provide the necessary
|
|
168
|
-
* encryption information in your request so that Amazon S3 can decrypt the object for copying. For
|
|
169
|
-
* more information about server-side encryption, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html">Using Server-Side
|
|
170
|
-
* Encryption</a>.</p>
|
|
171
|
-
* <p>If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the
|
|
172
|
-
* object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket Keys</a> in the
|
|
173
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
159
|
+
* <p>The copy request charge is based on the storage class and Region that you specify for
|
|
160
|
+
* the destination object. The request can also result in a data retrieval charge for the
|
|
161
|
+
* source if the source storage class bills for data retrieval. For pricing information, see
|
|
162
|
+
* <a href="http://aws.amazon.com/s3/pricing/">Amazon S3 pricing</a>.</p>
|
|
174
163
|
* </dd>
|
|
175
|
-
* <dt>
|
|
176
|
-
* Headers</dt>
|
|
164
|
+
* <dt>HTTP Host header syntax</dt>
|
|
177
165
|
* <dd>
|
|
178
|
-
* <p>
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
* that are defined by Amazon S3. These permissions are then added to the ACL on the object. For more
|
|
182
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL) Overview</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html">Managing ACLs Using the REST
|
|
183
|
-
* API</a>. </p>
|
|
184
|
-
* <p>If the bucket that you're copying objects to uses the bucket owner enforced setting for
|
|
185
|
-
* S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that use
|
|
186
|
-
* this setting only accept <code>PUT</code> requests that don't specify an ACL or <code>PUT</code> requests that
|
|
187
|
-
* specify bucket owner full control ACLs, such as the <code>bucket-owner-full-control</code>
|
|
188
|
-
* canned ACL or an equivalent form of this ACL expressed in the XML format.</p>
|
|
189
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html"> Controlling ownership of
|
|
190
|
-
* objects and disabling ACLs</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
191
|
-
* <note>
|
|
192
|
-
* <p>If your bucket uses the bucket owner enforced setting for Object Ownership, all
|
|
193
|
-
* objects written to the bucket by any account will be owned by the bucket owner.</p>
|
|
194
|
-
* </note>
|
|
195
|
-
* </dd>
|
|
196
|
-
* <dt>Checksums</dt>
|
|
197
|
-
* <dd>
|
|
198
|
-
* <p>When copying an object, if it has a checksum, that checksum will be copied to the new
|
|
199
|
-
* object by default. When you copy the object over, you can optionally specify a different
|
|
200
|
-
* checksum algorithm to use with the <code>x-amz-checksum-algorithm</code> header.</p>
|
|
201
|
-
* </dd>
|
|
202
|
-
* <dt>Storage Class Options</dt>
|
|
203
|
-
* <dd>
|
|
204
|
-
* <p>You can use the <code>CopyObject</code> action to change the storage class of an object
|
|
205
|
-
* that is already stored in Amazon S3 by using the <code>StorageClass</code> parameter. For more
|
|
206
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a> in the
|
|
207
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
208
|
-
* <p>If the source object's storage class is GLACIER, you must restore a copy of
|
|
209
|
-
* this object before you can use it as a source object for the copy operation. For
|
|
210
|
-
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html">RestoreObject</a>. For
|
|
211
|
-
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html">Copying
|
|
212
|
-
* Objects</a>.</p>
|
|
213
|
-
* </dd>
|
|
214
|
-
* <dt>Versioning</dt>
|
|
215
|
-
* <dd>
|
|
216
|
-
* <p>By default, <code>x-amz-copy-source</code> header identifies the current version of an object
|
|
217
|
-
* to copy. If the current version is a delete marker, Amazon S3 behaves as if the object was
|
|
218
|
-
* deleted. To copy a different version, use the <code>versionId</code> subresource.</p>
|
|
219
|
-
* <p>If you enable versioning on the target bucket, Amazon S3 generates a unique version ID for
|
|
220
|
-
* the object being copied. This version ID is different from the version ID of the source
|
|
221
|
-
* object. Amazon S3 returns the version ID of the copied object in the
|
|
222
|
-
* <code>x-amz-version-id</code> response header in the response.</p>
|
|
223
|
-
* <p>If you do not enable versioning or suspend it on the target bucket, the version ID that
|
|
224
|
-
* Amazon S3 generates is always null.</p>
|
|
166
|
+
* <p>
|
|
167
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
168
|
+
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
225
169
|
* </dd>
|
|
226
170
|
* </dl>
|
|
227
171
|
* <p>The following operations are related to <code>CopyObject</code>:</p>
|
|
@@ -269,7 +213,7 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
|
|
|
269
213
|
* MetadataDirective: "COPY" || "REPLACE",
|
|
270
214
|
* TaggingDirective: "COPY" || "REPLACE",
|
|
271
215
|
* ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
272
|
-
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
216
|
+
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
273
217
|
* WebsiteRedirectLocation: "STRING_VALUE",
|
|
274
218
|
* SSECustomerAlgorithm: "STRING_VALUE",
|
|
275
219
|
* SSECustomerKey: "STRING_VALUE",
|
|
@@ -23,78 +23,117 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">
|
|
28
|
+
* <code>CreateBucket</code>
|
|
29
|
+
* </a>.</p>
|
|
30
|
+
* </note>
|
|
31
|
+
* <p>Creates a new S3 bucket. To create a bucket, you must set up Amazon S3 and have a
|
|
27
32
|
* valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to
|
|
28
33
|
* create buckets. By creating the bucket, you become the bucket owner.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* <p>If you want to create an Amazon S3 on Outposts bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">Create Bucket</a>. </p>
|
|
33
|
-
* <p>By default, the bucket is created in the US East (N. Virginia) Region. You can
|
|
34
|
-
* optionally specify a Region in the request body. You might choose a Region to optimize
|
|
35
|
-
* latency, minimize costs, or address regulatory requirements. For example, if you reside in
|
|
36
|
-
* Europe, you will probably find it advantageous to create buckets in the Europe (Ireland)
|
|
37
|
-
* Region. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">Accessing a
|
|
38
|
-
* bucket</a>.</p>
|
|
34
|
+
* <p>There are two types of buckets: general purpose buckets and directory buckets. For more
|
|
35
|
+
* information about these bucket types, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html">Creating, configuring, and
|
|
36
|
+
* working with Amazon S3 buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
39
37
|
* <note>
|
|
40
|
-
* <
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
38
|
+
* <ul>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <b>General purpose buckets</b> - If you send your <code>CreateBucket</code> request to the <code>s3.amazonaws.com</code> global endpoint,
|
|
42
|
+
* the request goes to the <code>us-east-1</code> Region. So the signature
|
|
43
|
+
* calculations in Signature Version 4 must use <code>us-east-1</code> as the Region, even
|
|
44
|
+
* if the location constraint in the request specifies another Region where the bucket is
|
|
45
|
+
* to be created. If you create a bucket in a Region other than US East (N. Virginia), your
|
|
46
|
+
* application must be able to handle 307 redirect. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html">Virtual hosting of
|
|
47
|
+
* buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>
|
|
51
|
+
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
|
|
52
|
+
* </code>. Virtual-hosted-style requests aren't supported.
|
|
53
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
54
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
55
|
+
* </li>
|
|
56
|
+
* </ul>
|
|
47
57
|
* </note>
|
|
48
58
|
* <dl>
|
|
49
59
|
* <dt>Permissions</dt>
|
|
50
60
|
* <dd>
|
|
51
|
-
* <p>In addition to <code>s3:CreateBucket</code>, the following permissions are required when
|
|
52
|
-
* your <code>CreateBucket</code> request includes specific headers:</p>
|
|
53
61
|
* <ul>
|
|
54
62
|
* <li>
|
|
55
63
|
* <p>
|
|
56
|
-
* <b>
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
64
|
+
* <b>General purpose bucket permissions</b> - In addition to the <code>s3:CreateBucket</code> permission, the following permissions are
|
|
65
|
+
* required in a policy when your <code>CreateBucket</code> request includes specific
|
|
66
|
+
* headers: </p>
|
|
67
|
+
* <ul>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>
|
|
70
|
+
* <b>Access control lists (ACLs)</b> - In your <code>CreateBucket</code> request, if you specify an access control list (ACL)
|
|
71
|
+
* and set it to <code>public-read</code>, <code>public-read-write</code>,
|
|
72
|
+
* <code>authenticated-read</code>, or if you explicitly specify any other custom ACLs, both <code>s3:CreateBucket</code> and
|
|
73
|
+
* <code>s3:PutBucketAcl</code> permissions are required. In your <code>CreateBucket</code> request, if you set the ACL to <code>private</code>,
|
|
74
|
+
* or if you don't specify any ACLs, only the <code>s3:CreateBucket</code> permission is required.
|
|
75
|
+
* </p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>
|
|
79
|
+
* <b>Object Lock</b> - In your
|
|
80
|
+
* <code>CreateBucket</code> request, if you set
|
|
81
|
+
* <code>x-amz-bucket-object-lock-enabled</code> to true, the
|
|
82
|
+
* <code>s3:PutBucketObjectLockConfiguration</code> and
|
|
83
|
+
* <code>s3:PutBucketVersioning</code> permissions are required.</p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>
|
|
87
|
+
* <b>S3 Object Ownership</b> - If your
|
|
88
|
+
* <code>CreateBucket</code> request includes the
|
|
89
|
+
* <code>x-amz-object-ownership</code> header, then the
|
|
90
|
+
* <code>s3:PutBucketOwnershipControls</code> permission is required.</p>
|
|
91
|
+
* <important>
|
|
92
|
+
* <p>If your <code>CreateBucket</code> request sets <code>BucketOwnerEnforced</code> for
|
|
93
|
+
* Amazon S3 Object Ownership and specifies a bucket ACL that provides access to an external
|
|
94
|
+
* Amazon Web Services account, your request fails with a <code>400</code> error and returns the
|
|
95
|
+
* <code>InvalidBucketAcLWithObjectOwnership</code> error code. For more information,
|
|
96
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-ownership-existing-bucket.html">Setting Object
|
|
97
|
+
* Ownership on an existing bucket </a> in the <i>Amazon S3 User Guide</i>.
|
|
98
|
+
* </p>
|
|
99
|
+
* </important>
|
|
100
|
+
* </li>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>
|
|
103
|
+
* <b>S3 Block Public Access</b> - If your
|
|
104
|
+
* specific use case requires granting public access to your S3 resources, you
|
|
105
|
+
* can disable Block Public Access. Specifically, you can create a new bucket with Block
|
|
106
|
+
* Public Access enabled, then separately call the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">
|
|
107
|
+
* <code>DeletePublicAccessBlock</code>
|
|
108
|
+
* </a> API. To use this operation, you must have the
|
|
109
|
+
* <code>s3:PutBucketPublicAccessBlock</code> permission. For more information about S3 Block Public
|
|
110
|
+
* Access, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html">Blocking
|
|
111
|
+
* public access to your Amazon S3 storage </a> in the
|
|
112
|
+
* <i>Amazon S3 User Guide</i>. </p>
|
|
113
|
+
* </li>
|
|
114
|
+
* </ul>
|
|
62
115
|
* </li>
|
|
63
116
|
* <li>
|
|
64
117
|
* <p>
|
|
65
|
-
* <b>
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* <code>x-amz-object-ownership</code> header in your <code>CreateBucket</code> request to set the <code>ObjectOwnership</code> setting of your choice.
|
|
76
|
-
* For more information about S3 Object Ownership, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Controlling object
|
|
77
|
-
* ownership </a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>
|
|
81
|
-
* <b>S3 Block Public Access</b> - If your specific use case requires granting public access to your S3 resources, you can disable Block Public Access. You can create a new bucket with Block Public Access enabled, then separately call the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">
|
|
82
|
-
* <code>DeletePublicAccessBlock</code>
|
|
83
|
-
* </a> API. To use this operation, you must have the
|
|
84
|
-
* <code>s3:PutBucketPublicAccessBlock</code> permission. By default, all Block
|
|
85
|
-
* Public Access settings are enabled for new buckets. To avoid inadvertent exposure of
|
|
86
|
-
* your resources, we recommend keeping the S3 Block Public Access settings enabled. For more information about S3 Block Public Access, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Blocking public
|
|
87
|
-
* access to your Amazon S3 storage </a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
118
|
+
* <b>Directory bucket permissions</b> - You must have the <code>s3express:CreateBucket</code> permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
119
|
+
* <important>
|
|
120
|
+
* <p>The permissions for ACLs, Object Lock, S3 Object Ownership, and S3 Block Public Access are not supported for directory buckets.
|
|
121
|
+
* For directory buckets, all Block Public Access settings are enabled at the bucket level and S3
|
|
122
|
+
* Object Ownership is set to Bucket owner enforced (ACLs disabled). These settings can't be modified.
|
|
123
|
+
* </p>
|
|
124
|
+
* <p>For more information about permissions for creating and working with
|
|
125
|
+
* directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">Directory buckets</a> in the <i>Amazon S3 User Guide</i>.
|
|
126
|
+
* For more information about supported S3 features for directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-one-zone.html#s3-express-features">Features of S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
127
|
+
* </important>
|
|
88
128
|
* </li>
|
|
89
129
|
* </ul>
|
|
90
130
|
* </dd>
|
|
131
|
+
* <dt>HTTP Host header syntax</dt>
|
|
132
|
+
* <dd>
|
|
133
|
+
* <p>
|
|
134
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
135
|
+
* </dd>
|
|
91
136
|
* </dl>
|
|
92
|
-
* <important>
|
|
93
|
-
* <p> If your <code>CreateBucket</code> request sets <code>BucketOwnerEnforced</code> for Amazon S3 Object Ownership
|
|
94
|
-
* and specifies a bucket ACL that provides access to an external Amazon Web Services account, your request fails with a <code>400</code> error and returns the <code>InvalidBucketAcLWithObjectOwnership</code> error code. For more information,
|
|
95
|
-
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-ownership-existing-bucket.html">Setting Object
|
|
96
|
-
* Ownership on an existing bucket </a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
97
|
-
* </important>
|
|
98
137
|
* <p>The following operations are related to <code>CreateBucket</code>:</p>
|
|
99
138
|
* <ul>
|
|
100
139
|
* <li>
|
|
@@ -118,7 +157,15 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
|
|
|
118
157
|
* ACL: "private" || "public-read" || "public-read-write" || "authenticated-read",
|
|
119
158
|
* Bucket: "STRING_VALUE", // required
|
|
120
159
|
* CreateBucketConfiguration: { // CreateBucketConfiguration
|
|
121
|
-
* LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-north-1" || "eu-south-1" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
|
|
160
|
+
* LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
|
|
161
|
+
* Location: { // LocationInfo
|
|
162
|
+
* Type: "AvailabilityZone",
|
|
163
|
+
* Name: "STRING_VALUE",
|
|
164
|
+
* },
|
|
165
|
+
* Bucket: { // BucketInfo
|
|
166
|
+
* DataRedundancy: "SingleAvailabilityZone",
|
|
167
|
+
* Type: "Directory",
|
|
168
|
+
* },
|
|
122
169
|
* },
|
|
123
170
|
* GrantFullControl: "STRING_VALUE",
|
|
124
171
|
* GrantRead: "STRING_VALUE",
|
|
@@ -155,39 +202,39 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
|
|
|
155
202
|
* @throws {@link S3ServiceException}
|
|
156
203
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
157
204
|
*
|
|
158
|
-
* @example To create a bucket
|
|
205
|
+
* @example To create a bucket in a specific region
|
|
159
206
|
* ```javascript
|
|
160
|
-
* // The following example creates a bucket.
|
|
207
|
+
* // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
|
|
161
208
|
* const input = {
|
|
162
|
-
* "Bucket": "examplebucket"
|
|
209
|
+
* "Bucket": "examplebucket",
|
|
210
|
+
* "CreateBucketConfiguration": {
|
|
211
|
+
* "LocationConstraint": "eu-west-1"
|
|
212
|
+
* }
|
|
163
213
|
* };
|
|
164
214
|
* const command = new CreateBucketCommand(input);
|
|
165
215
|
* const response = await client.send(command);
|
|
166
216
|
* /* response ==
|
|
167
217
|
* {
|
|
168
|
-
* "Location": "/
|
|
218
|
+
* "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
|
|
169
219
|
* }
|
|
170
220
|
* *\/
|
|
171
|
-
* // example id: to-create-a-bucket
|
|
221
|
+
* // example id: to-create-a-bucket-in-a-specific-region-1483399072992
|
|
172
222
|
* ```
|
|
173
223
|
*
|
|
174
|
-
* @example To create a bucket
|
|
224
|
+
* @example To create a bucket
|
|
175
225
|
* ```javascript
|
|
176
|
-
* // The following example creates a bucket.
|
|
226
|
+
* // The following example creates a bucket.
|
|
177
227
|
* const input = {
|
|
178
|
-
* "Bucket": "examplebucket"
|
|
179
|
-
* "CreateBucketConfiguration": {
|
|
180
|
-
* "LocationConstraint": "eu-west-1"
|
|
181
|
-
* }
|
|
228
|
+
* "Bucket": "examplebucket"
|
|
182
229
|
* };
|
|
183
230
|
* const command = new CreateBucketCommand(input);
|
|
184
231
|
* const response = await client.send(command);
|
|
185
232
|
* /* response ==
|
|
186
233
|
* {
|
|
187
|
-
* "Location": "
|
|
234
|
+
* "Location": "/examplebucket"
|
|
188
235
|
* }
|
|
189
236
|
* *\/
|
|
190
|
-
* // example id: to-create-a-bucket
|
|
237
|
+
* // example id: to-create-a-bucket--1472851826060
|
|
191
238
|
* ```
|
|
192
239
|
*
|
|
193
240
|
*/
|