@nocobase/plugin-file-manager 0.17.0-alpha.7 → 0.18.0-alpha.2
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
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts
CHANGED
|
@@ -23,24 +23,60 @@ export interface PutBucketPolicyCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Applies an Amazon S3 bucket policy to an Amazon S3 bucket
|
|
27
|
-
*
|
|
28
|
-
* <
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* <
|
|
35
|
-
* <
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
26
|
+
* <p>Applies an Amazon S3 bucket policy to an Amazon S3 bucket.</p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>
|
|
29
|
+
* <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>
|
|
30
|
+
* </code>. Virtual-hosted-style requests aren't supported.
|
|
31
|
+
* 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
|
|
32
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
33
|
+
* </note>
|
|
34
|
+
* <dl>
|
|
35
|
+
* <dt>Permissions</dt>
|
|
36
|
+
* <dd>
|
|
37
|
+
* <p>If you are using an identity other than the
|
|
38
|
+
* root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the
|
|
39
|
+
* <code>PutBucketPolicy</code> permissions on the specified bucket and belong to the
|
|
40
|
+
* bucket owner's account in order to use this operation.</p>
|
|
41
|
+
* <p>If you don't have <code>PutBucketPolicy</code> permissions, Amazon S3 returns a <code>403
|
|
42
|
+
* Access Denied</code> error. If you have the correct permissions, but you're not using an
|
|
43
|
+
* identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
|
|
44
|
+
* Allowed</code> error.</p>
|
|
45
|
+
* <important>
|
|
46
|
+
* <p>To ensure that bucket owners don't inadvertently lock themselves out of their own
|
|
47
|
+
* buckets, the root principal in a bucket owner's Amazon Web Services account can perform the
|
|
48
|
+
* <code>GetBucketPolicy</code>, <code>PutBucketPolicy</code>, and
|
|
49
|
+
* <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly
|
|
50
|
+
* denies the root principal's access. Bucket owner root principals can only be blocked
|
|
51
|
+
* from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations
|
|
52
|
+
* policies.</p>
|
|
53
|
+
* </important>
|
|
54
|
+
* <ul>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>
|
|
57
|
+
* <b>General purpose bucket permissions</b> - The <code>s3:PutBucketPolicy</code> permission is required in a policy.
|
|
58
|
+
* For more information about general purpose buckets bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
|
|
59
|
+
* Policies</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>
|
|
63
|
+
* <b>Directory bucket permissions</b> - To grant access to this API operation, you must have the <code>s3express:PutBucketPolicy</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>
|
|
64
|
+
* </li>
|
|
65
|
+
* </ul>
|
|
66
|
+
* </dd>
|
|
67
|
+
* <dt>Example bucket policies</dt>
|
|
68
|
+
* <dd>
|
|
69
|
+
* <p>
|
|
70
|
+
* <b>General purpose buckets example bucket policies</b> - See <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html">Bucket policy examples</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
71
|
+
* <p>
|
|
72
|
+
* <b>Directory bucket example bucket policies</b> - 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> in the <i>Amazon S3 User Guide</i>.</p>
|
|
73
|
+
* </dd>
|
|
74
|
+
* <dt>HTTP Host header syntax</dt>
|
|
75
|
+
* <dd>
|
|
76
|
+
* <p>
|
|
77
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
78
|
+
* </dd>
|
|
79
|
+
* </dl>
|
|
44
80
|
* <p>The following operations are related to <code>PutBucketPolicy</code>:</p>
|
|
45
81
|
* <ul>
|
|
46
82
|
* <li>
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { PutBucketReplicationRequest } from "../models/
|
|
4
|
+
import { PutBucketReplicationRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -23,12 +23,19 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p> Creates a replication configuration or replaces an existing one. For more information,
|
|
27
30
|
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
28
31
|
* <p>Specify the replication configuration in the request body. In the replication
|
|
29
32
|
* configuration, you provide the name of the destination bucket or buckets where you want
|
|
30
33
|
* Amazon S3 to replicate objects, the IAM role that Amazon S3 can assume to replicate objects on your
|
|
31
|
-
* behalf, and other relevant information
|
|
34
|
+
* behalf, and other relevant information. You can invoke this request for a specific
|
|
35
|
+
* Amazon Web Services Region by using the
|
|
36
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requestedregion">
|
|
37
|
+
* <code>aws:RequestedRegion</code>
|
|
38
|
+
* </a> condition key.</p>
|
|
32
39
|
* <p>A replication configuration must include at least one rule, and can contain a maximum of
|
|
33
40
|
* 1,000. Each rule identifies a subset of objects to replicate by filtering the objects in
|
|
34
41
|
* the source bucket. To choose additional subsets of objects to replicate, add a rule for
|
|
@@ -47,31 +54,33 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
|
|
|
47
54
|
* <dl>
|
|
48
55
|
* <dt>Handling Replication of Encrypted Objects</dt>
|
|
49
56
|
* <dd>
|
|
50
|
-
* <p>By default, Amazon S3 doesn't replicate objects that are stored at rest using
|
|
51
|
-
* encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects,
|
|
52
|
-
* <code>SourceSelectionCriteria</code>,
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-config-for-kms-objects.html">Replicating
|
|
56
|
-
* Created with SSE Using KMS keys</a>.</p>
|
|
57
|
+
* <p>By default, Amazon S3 doesn't replicate objects that are stored at rest using
|
|
58
|
+
* server-side encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects,
|
|
59
|
+
* add the following: <code>SourceSelectionCriteria</code>,
|
|
60
|
+
* <code>SseKmsEncryptedObjects</code>, <code>Status</code>,
|
|
61
|
+
* <code>EncryptionConfiguration</code>, and <code>ReplicaKmsKeyID</code>. For
|
|
62
|
+
* information about replication configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-config-for-kms-objects.html">Replicating
|
|
63
|
+
* Objects Created with SSE Using KMS keys</a>.</p>
|
|
57
64
|
* <p>For information on <code>PutBucketReplication</code> errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ReplicationErrorCodeList">List of
|
|
58
|
-
*
|
|
65
|
+
* replication-related error codes</a>
|
|
59
66
|
* </p>
|
|
60
67
|
* </dd>
|
|
61
68
|
* <dt>Permissions</dt>
|
|
62
69
|
* <dd>
|
|
63
70
|
* <p>To create a <code>PutBucketReplication</code> request, you must have
|
|
64
|
-
*
|
|
71
|
+
* <code>s3:PutReplicationConfiguration</code> permissions for the bucket.
|
|
65
72
|
*
|
|
66
73
|
* </p>
|
|
67
|
-
* <p>By default, a resource owner, in this case the Amazon Web Services account that created the
|
|
68
|
-
* can perform this operation. The resource owner can also grant others
|
|
69
|
-
* the operation. For more information about permissions, see
|
|
70
|
-
*
|
|
71
|
-
*
|
|
74
|
+
* <p>By default, a resource owner, in this case the Amazon Web Services account that created the
|
|
75
|
+
* bucket, can perform this operation. The resource owner can also grant others
|
|
76
|
+
* permissions to perform the operation. For more information about permissions, see
|
|
77
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in
|
|
78
|
+
* a Policy</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access
|
|
79
|
+
* Permissions to Your Amazon S3 Resources</a>.</p>
|
|
72
80
|
* <note>
|
|
73
|
-
* <p>To perform this operation, the user or role performing the action must have
|
|
74
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">iam:PassRole</a>
|
|
81
|
+
* <p>To perform this operation, the user or role performing the action must have
|
|
82
|
+
* the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">iam:PassRole</a>
|
|
83
|
+
* permission.</p>
|
|
75
84
|
* </note>
|
|
76
85
|
* </dd>
|
|
77
86
|
* </dl>
|
|
@@ -136,7 +145,7 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
|
|
|
136
145
|
* Destination: { // Destination
|
|
137
146
|
* Bucket: "STRING_VALUE", // required
|
|
138
147
|
* Account: "STRING_VALUE",
|
|
139
|
-
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
148
|
+
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
140
149
|
* AccessControlTranslation: { // AccessControlTranslation
|
|
141
150
|
* Owner: "Destination", // required
|
|
142
151
|
* },
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { PutBucketRequestPaymentRequest } from "../models/
|
|
4
|
+
import { PutBucketRequestPaymentRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -23,7 +23,10 @@ export interface PutBucketRequestPaymentCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets the request payment configuration for a bucket. By default, the bucket owner pays
|
|
27
30
|
* for downloads from the bucket. This configuration parameter enables the bucket owner (only)
|
|
28
31
|
* to specify that the person requesting the download will be charged for the download. For
|
|
29
32
|
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html">Requester Pays
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { PutBucketTaggingRequest } from "../models/
|
|
4
|
+
import { PutBucketTaggingRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -23,15 +23,18 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets the tags for a bucket.</p>
|
|
27
30
|
* <p>Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this,
|
|
28
31
|
* sign up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost
|
|
29
32
|
* of combined resources, organize your billing information according to resources with the
|
|
30
33
|
* same tag key values. For example, you can tag several resources with a specific application
|
|
31
34
|
* name, and then organize your billing information to see the total cost of that application
|
|
32
35
|
* across several services. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Cost Allocation and
|
|
33
|
-
* Tagging</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/
|
|
34
|
-
* Tags</a>.</p>
|
|
36
|
+
* Tagging</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html">Using Cost Allocation in Amazon S3
|
|
37
|
+
* Bucket Tags</a>.</p>
|
|
35
38
|
* <note>
|
|
36
39
|
* <p> When this operation sets the tags for a bucket, it will overwrite any current tags
|
|
37
40
|
* the bucket already has. You cannot use this operation to add tags to an existing list of
|
|
@@ -42,47 +45,30 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
42
45
|
* and can grant this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
43
46
|
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
44
47
|
* <p>
|
|
45
|
-
* <code>PutBucketTagging</code> has the following special errors
|
|
48
|
+
* <code>PutBucketTagging</code> has the following special errors. For more Amazon S3 errors
|
|
49
|
+
* see, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html">Error
|
|
50
|
+
* Responses</a>.</p>
|
|
46
51
|
* <ul>
|
|
47
52
|
* <li>
|
|
48
|
-
* <p>
|
|
49
|
-
*
|
|
50
|
-
* <
|
|
51
|
-
*
|
|
52
|
-
* <p>Description: The tag provided was not a valid tag. This error can occur if
|
|
53
|
-
* the tag did not pass input validation. For information about tag restrictions,
|
|
54
|
-
* see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html">User-Defined Tag Restrictions</a> and <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html">Amazon Web Services-Generated Cost Allocation Tag Restrictions</a>.</p>
|
|
55
|
-
* </li>
|
|
56
|
-
* </ul>
|
|
53
|
+
* <p>
|
|
54
|
+
* <code>InvalidTag</code> - The tag provided was not a valid tag. This error
|
|
55
|
+
* can occur if the tag did not pass input validation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html">Using
|
|
56
|
+
* Cost Allocation in Amazon S3 Bucket Tags</a>.</p>
|
|
57
57
|
* </li>
|
|
58
58
|
* <li>
|
|
59
|
-
* <p>
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>Description: The XML provided does not match the schema.</p>
|
|
64
|
-
* </li>
|
|
65
|
-
* </ul>
|
|
59
|
+
* <p>
|
|
60
|
+
* <code>MalformedXML</code> - The XML provided does not match the
|
|
61
|
+
* schema.</p>
|
|
66
62
|
* </li>
|
|
67
63
|
* <li>
|
|
68
|
-
* <p>
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* <li>
|
|
72
|
-
* <p>Description: A conflicting conditional action is currently in progress
|
|
73
|
-
* against this resource. Please try again.</p>
|
|
74
|
-
* </li>
|
|
75
|
-
* </ul>
|
|
64
|
+
* <p>
|
|
65
|
+
* <code>OperationAborted</code> - A conflicting conditional action is
|
|
66
|
+
* currently in progress against this resource. Please try again.</p>
|
|
76
67
|
* </li>
|
|
77
68
|
* <li>
|
|
78
|
-
* <p>
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* <li>
|
|
82
|
-
* <p>Description: The service was unable to apply the provided tag to the
|
|
83
|
-
* bucket.</p>
|
|
84
|
-
* </li>
|
|
85
|
-
* </ul>
|
|
69
|
+
* <p>
|
|
70
|
+
* <code>InternalError</code> - The service was unable to apply the provided
|
|
71
|
+
* tag to the bucket.</p>
|
|
86
72
|
* </li>
|
|
87
73
|
* </ul>
|
|
88
74
|
* <p>The following operations are related to <code>PutBucketTagging</code>:</p>
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { PutBucketVersioningRequest } from "../models/
|
|
4
|
+
import { PutBucketVersioningRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -23,7 +23,10 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets the versioning state of an existing bucket.</p>
|
|
27
30
|
* <p>You can set the versioning state with one of the following values:</p>
|
|
28
31
|
* <p>
|
|
29
32
|
* <b>Enabled</b>—Enables versioning for the objects in the
|
|
@@ -39,12 +42,12 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
39
42
|
* <code>MfaDelete</code> request elements in a request to set the versioning state of the
|
|
40
43
|
* bucket.</p>
|
|
41
44
|
* <important>
|
|
42
|
-
* <p>If you have an object expiration lifecycle configuration in your non-versioned bucket
|
|
43
|
-
* you want to maintain the same permanent delete behavior when you enable versioning,
|
|
44
|
-
* must add a noncurrent expiration policy. The noncurrent expiration lifecycle
|
|
45
|
-
* manage the deletes of the noncurrent object versions in the
|
|
46
|
-
* version-enabled bucket maintains one current and zero or more
|
|
47
|
-
* versions.) For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-and-other-bucket-config">Lifecycle and Versioning</a>.</p>
|
|
45
|
+
* <p>If you have an object expiration lifecycle configuration in your non-versioned bucket
|
|
46
|
+
* and you want to maintain the same permanent delete behavior when you enable versioning,
|
|
47
|
+
* you must add a noncurrent expiration policy. The noncurrent expiration lifecycle
|
|
48
|
+
* configuration will manage the deletes of the noncurrent object versions in the
|
|
49
|
+
* version-enabled bucket. (A version-enabled bucket maintains one current and zero or more
|
|
50
|
+
* noncurrent object versions.) For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-and-other-bucket-config">Lifecycle and Versioning</a>.</p>
|
|
48
51
|
* </important>
|
|
49
52
|
* <p>The following operations are related to <code>PutBucketVersioning</code>:</p>
|
|
50
53
|
* <ul>
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { PutBucketWebsiteRequest } from "../models/
|
|
4
|
+
import { PutBucketWebsiteRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -23,7 +23,10 @@ export interface PutBucketWebsiteCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets the configuration of the website that is specified in the <code>website</code>
|
|
27
30
|
* subresource. To configure a bucket as a website, you can add this subresource on the bucket
|
|
28
31
|
* with website configuration information such as the file name of the index document and any
|
|
29
32
|
* redirect rules. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html">Hosting Websites on Amazon S3</a>.</p>
|
|
@@ -145,6 +148,7 @@ export interface PutBucketWebsiteCommandOutput extends __MetadataBearer {
|
|
|
145
148
|
* <p>Amazon S3 has a limitation of 50 routing rules per website configuration. If you require more
|
|
146
149
|
* than 50 routing rules, you can use object redirect. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html">Configuring an
|
|
147
150
|
* Object Redirect</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
151
|
+
* <p>The maximum request length is limited to 128 KB.</p>
|
|
148
152
|
* @example
|
|
149
153
|
* Use a bare-bones client and the command you need to make an API call.
|
|
150
154
|
* ```javascript
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { PutObjectAclOutput, PutObjectAclRequest } from "../models/
|
|
4
|
+
import { PutObjectAclOutput, PutObjectAclRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -23,11 +23,14 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
27
|
-
*
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Uses the <code>acl</code> subresource to set the access control list (ACL) permissions
|
|
30
|
+
* for a new or existing object in an S3 bucket. You must have the <code>WRITE_ACP</code>
|
|
28
31
|
* permission to set the ACL of an object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#permissions">What
|
|
29
32
|
* permissions can I grant?</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
30
|
-
* <p>This
|
|
33
|
+
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
31
34
|
* <p>Depending on your application needs, you can choose to set the ACL on an object using
|
|
32
35
|
* either the request body or the headers. For example, if you have an existing application
|
|
33
36
|
* that updates a bucket ACL using the request body, you can continue to use that approach.
|
|
@@ -47,29 +50,32 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
47
50
|
* <p>You can set access permissions using one of the following methods:</p>
|
|
48
51
|
* <ul>
|
|
49
52
|
* <li>
|
|
50
|
-
* <p>Specify a canned ACL with the <code>x-amz-acl</code> request header. Amazon S3
|
|
51
|
-
* a set of predefined ACLs, known as canned ACLs. Each canned ACL has
|
|
52
|
-
* of grantees and permissions. Specify the canned ACL name as
|
|
53
|
-
* <code>x-amz-ac</code>l. If you use this header, you cannot use
|
|
54
|
-
* control-specific headers in your request. For more information,
|
|
55
|
-
*
|
|
53
|
+
* <p>Specify a canned ACL with the <code>x-amz-acl</code> request header. Amazon S3
|
|
54
|
+
* supports a set of predefined ACLs, known as canned ACLs. Each canned ACL has
|
|
55
|
+
* a predefined set of grantees and permissions. Specify the canned ACL name as
|
|
56
|
+
* the value of <code>x-amz-ac</code>l. If you use this header, you cannot use
|
|
57
|
+
* other access control-specific headers in your request. For more information,
|
|
58
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
|
|
59
|
+
* ACL</a>.</p>
|
|
56
60
|
* </li>
|
|
57
61
|
* <li>
|
|
58
|
-
* <p>Specify access permissions explicitly with the
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
62
|
+
* <p>Specify access permissions explicitly with the
|
|
63
|
+
* <code>x-amz-grant-read</code>, <code>x-amz-grant-read-acp</code>,
|
|
64
|
+
* <code>x-amz-grant-write-acp</code>, and
|
|
65
|
+
* <code>x-amz-grant-full-control</code> headers. When using these headers,
|
|
66
|
+
* you specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3
|
|
67
|
+
* groups) who will receive the permission. If you use these ACL-specific
|
|
68
|
+
* headers, you cannot use <code>x-amz-acl</code> header to set a canned ACL.
|
|
69
|
+
* These parameters map to the set of permissions that Amazon S3 supports in an ACL.
|
|
70
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL)
|
|
71
|
+
* Overview</a>.</p>
|
|
72
|
+
* <p>You specify each grantee as a type=value pair, where the type is one of
|
|
73
|
+
* the following:</p>
|
|
68
74
|
* <ul>
|
|
69
75
|
* <li>
|
|
70
76
|
* <p>
|
|
71
|
-
* <code>id</code> – if the value specified is the canonical user ID
|
|
72
|
-
* Amazon Web Services account</p>
|
|
77
|
+
* <code>id</code> – if the value specified is the canonical user ID
|
|
78
|
+
* of an Amazon Web Services account</p>
|
|
73
79
|
* </li>
|
|
74
80
|
* <li>
|
|
75
81
|
* <p>
|
|
@@ -78,8 +84,8 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
78
84
|
* </li>
|
|
79
85
|
* <li>
|
|
80
86
|
* <p>
|
|
81
|
-
* <code>emailAddress</code> – if the value specified is the email
|
|
82
|
-
* an Amazon Web Services account</p>
|
|
87
|
+
* <code>emailAddress</code> – if the value specified is the email
|
|
88
|
+
* address of an Amazon Web Services account</p>
|
|
83
89
|
* <note>
|
|
84
90
|
* <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p>
|
|
85
91
|
* <ul>
|
|
@@ -112,29 +118,29 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
112
118
|
* </note>
|
|
113
119
|
* </li>
|
|
114
120
|
* </ul>
|
|
115
|
-
* <p>For example, the following <code>x-amz-grant-read</code> header grants
|
|
116
|
-
* objects permission to the two Amazon Web Services accounts identified by their email
|
|
121
|
+
* <p>For example, the following <code>x-amz-grant-read</code> header grants
|
|
122
|
+
* list objects permission to the two Amazon Web Services accounts identified by their email
|
|
117
123
|
* addresses.</p>
|
|
118
124
|
* <p>
|
|
119
125
|
* <code>x-amz-grant-read: emailAddress="xyz@amazon.com",
|
|
120
|
-
*
|
|
126
|
+
* emailAddress="abc@amazon.com" </code>
|
|
121
127
|
* </p>
|
|
122
128
|
* </li>
|
|
123
129
|
* </ul>
|
|
124
|
-
* <p>You can use either a canned ACL or specify access permissions explicitly. You
|
|
125
|
-
* both.</p>
|
|
130
|
+
* <p>You can use either a canned ACL or specify access permissions explicitly. You
|
|
131
|
+
* cannot do both.</p>
|
|
126
132
|
* </dd>
|
|
127
133
|
* <dt>Grantee Values</dt>
|
|
128
134
|
* <dd>
|
|
129
|
-
* <p>You can specify the person (grantee) to whom you're assigning access rights
|
|
130
|
-
* request elements) in the following ways:</p>
|
|
135
|
+
* <p>You can specify the person (grantee) to whom you're assigning access rights
|
|
136
|
+
* (using request elements) in the following ways:</p>
|
|
131
137
|
* <ul>
|
|
132
138
|
* <li>
|
|
133
139
|
* <p>By the person's ID:</p>
|
|
134
140
|
* <p>
|
|
135
141
|
* <code><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
136
|
-
*
|
|
137
|
-
*
|
|
142
|
+
* xsi:type="CanonicalUser"><ID><>ID<></ID><DisplayName><>GranteesEmail<></DisplayName>
|
|
143
|
+
* </Grantee></code>
|
|
138
144
|
* </p>
|
|
139
145
|
* <p>DisplayName is optional and ignored in the request.</p>
|
|
140
146
|
* </li>
|
|
@@ -142,17 +148,17 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
142
148
|
* <p>By URI:</p>
|
|
143
149
|
* <p>
|
|
144
150
|
* <code><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
145
|
-
*
|
|
151
|
+
* xsi:type="Group"><URI><>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<></URI></Grantee></code>
|
|
146
152
|
* </p>
|
|
147
153
|
* </li>
|
|
148
154
|
* <li>
|
|
149
155
|
* <p>By Email address:</p>
|
|
150
156
|
* <p>
|
|
151
157
|
* <code><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
152
|
-
*
|
|
158
|
+
* xsi:type="AmazonCustomerByEmail"><EmailAddress><>Grantees@email.com<></EmailAddress>lt;/Grantee></code>
|
|
153
159
|
* </p>
|
|
154
|
-
* <p>The grantee is resolved to the CanonicalUser and, in a response to a GET
|
|
155
|
-
* acl request, appears as the CanonicalUser.</p>
|
|
160
|
+
* <p>The grantee is resolved to the CanonicalUser and, in a response to a GET
|
|
161
|
+
* Object acl request, appears as the CanonicalUser.</p>
|
|
156
162
|
* <note>
|
|
157
163
|
* <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p>
|
|
158
164
|
* <ul>
|
|
@@ -188,9 +194,9 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
188
194
|
* </dd>
|
|
189
195
|
* <dt>Versioning</dt>
|
|
190
196
|
* <dd>
|
|
191
|
-
* <p>The ACL of an object is set at the object version level. By default, PUT sets
|
|
192
|
-
* the current version of an object. To set the ACL of a different
|
|
193
|
-
* <code>versionId</code> subresource.</p>
|
|
197
|
+
* <p>The ACL of an object is set at the object version level. By default, PUT sets
|
|
198
|
+
* the ACL of the current version of an object. To set the ACL of a different
|
|
199
|
+
* version, use the <code>versionId</code> subresource.</p>
|
|
194
200
|
* </dd>
|
|
195
201
|
* </dl>
|
|
196
202
|
* <p>The following operations are related to <code>PutObjectAcl</code>:</p>
|