@nocobase/plugin-file-manager 1.6.0-beta.3 → 1.6.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.js +1 -1
- package/dist/client/schemas/storageTypes/ali-oss.d.ts +3 -0
- package/dist/client/schemas/storageTypes/index.d.ts +9 -0
- package/dist/client/schemas/storageTypes/s3.d.ts +3 -0
- package/dist/client/schemas/storageTypes/tx-cos.d.ts +3 -0
- package/dist/externalVersion.js +6 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +1302 -101
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +12 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +10 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +13 -21
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +10 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +10 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +2 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +1300 -378
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +143 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +2257 -1975
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +16 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +18 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +16 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +1302 -101
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +12 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +10 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +12 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +12 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +12 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +12 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +12 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +12 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +11 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +13 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +13 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +12 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +10 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +10 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +10 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +11 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +2 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +1 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +1066 -362
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +116 -46
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +1739 -1453
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +16 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +18 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +16 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +5312 -115
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +39 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +8 -96
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +66 -212
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +161 -253
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +124 -201
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +212 -247
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +8 -45
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +7 -85
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +8 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +12 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -43
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -45
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +8 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +11 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -44
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +22 -97
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +9 -57
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +5 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +7 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +23 -158
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -83
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +27 -238
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +7 -44
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +12 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +14 -72
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +11 -82
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +7 -95
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +10 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +9 -74
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +9 -127
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +9 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -66
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +13 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +9 -108
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +7 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +22 -110
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +7 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +9 -135
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +6 -74
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +7 -91
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +12 -126
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +117 -228
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +166 -290
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +6 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +7 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +6 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +13 -109
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +7 -63
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +8 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +21 -109
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +87 -216
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +12 -85
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -75
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +13 -82
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -76
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +5 -84
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +23 -262
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +13 -153
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +6 -130
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +24 -185
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +20 -165
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +15 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +122 -201
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +25 -83
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +10 -112
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +22 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +63 -99
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +71 -121
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +81 -197
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +54 -144
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +13 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +25 -134
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +6 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +20 -108
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +41 -171
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +7 -63
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +54 -104
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +24 -76
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +9 -93
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +129 -220
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +99 -342
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +13 -67
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +9 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +77 -108
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +14 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +214 -337
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +98 -200
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +92 -189
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +121 -237
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +34 -113
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +2 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +1 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2799 -5390
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +354 -1959
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +3 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +188 -764
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +38 -45
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +9 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +34 -41
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +8 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +2 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +36 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +6 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +5 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +4 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +11 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +3 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +11 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +5 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +2 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +1189 -639
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +123 -251
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +188 -212
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +62 -78
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +14 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +52 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
- package/dist/node_modules/mime-match/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
- package/dist/node_modules/multer-cos/index.js +1 -1
- package/dist/node_modules/multer-cos/package.json +1 -1
- package/dist/node_modules/multer-s3/index.js +4 -4
- package/dist/node_modules/multer-s3/package.json +1 -1
- package/dist/server/actions/attachments.js +2 -1
- package/dist/server/collections/attachments.js +1 -0
- package/dist/server/collections/storages.js +1 -0
- package/dist/server/server.d.ts +1 -0
- package/dist/server/server.js +8 -14
- package/package.json +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +0 -55
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +0 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +0 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +0 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +0 -145
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +0 -98
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +0 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +0 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +0 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +0 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +0 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +0 -11
|
@@ -1,49 +1,31 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
4
|
-
import { PutObjectLockConfigurationOutput, PutObjectLockConfigurationRequest } from "../models/
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { PutObjectLockConfigurationOutput, PutObjectLockConfigurationRequest } from "../models/models_0";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export { __MetadataBearer, $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link PutObjectLockConfigurationCommand}.
|
|
14
|
-
*/
|
|
15
6
|
export interface PutObjectLockConfigurationCommandInput extends PutObjectLockConfigurationRequest {
|
|
16
7
|
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link PutObjectLockConfigurationCommand}.
|
|
21
|
-
*/
|
|
22
8
|
export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockConfigurationOutput, __MetadataBearer {
|
|
23
9
|
}
|
|
24
10
|
/**
|
|
25
|
-
*
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* <p>Places an Object Lock configuration on the specified bucket. The rule specified in the
|
|
11
|
+
* <p>Places an Object Lock configuration on the specified bucket. The rule specified in the
|
|
30
12
|
* Object Lock configuration will be applied by default to every new object placed in the
|
|
31
|
-
* specified bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.
|
|
13
|
+
* specified bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.
|
|
14
|
+
* </p>
|
|
32
15
|
* <note>
|
|
33
16
|
* <ul>
|
|
34
17
|
* <li>
|
|
35
18
|
* <p>The <code>DefaultRetention</code> settings require both a mode and a
|
|
36
|
-
*
|
|
19
|
+
* period.</p>
|
|
37
20
|
* </li>
|
|
38
21
|
* <li>
|
|
39
|
-
* <p>The <code>DefaultRetention</code> period can be either <code>Days</code>
|
|
40
|
-
*
|
|
41
|
-
*
|
|
22
|
+
* <p>The <code>DefaultRetention</code> period can be either <code>Days</code>
|
|
23
|
+
* or <code>Years</code> but you must select one. You cannot specify <code>Days</code>
|
|
24
|
+
* and <code>Years</code> at the same time.</p>
|
|
42
25
|
* </li>
|
|
43
26
|
* <li>
|
|
44
|
-
* <p>You can enable Object Lock for new
|
|
45
|
-
*
|
|
46
|
-
* Lock</a>.</p>
|
|
27
|
+
* <p>You can only enable Object Lock for new buckets. If you want to turn on
|
|
28
|
+
* Object Lock for an existing bucket, contact Amazon Web Services Support.</p>
|
|
47
29
|
* </li>
|
|
48
30
|
* </ul>
|
|
49
31
|
* </note>
|
|
@@ -53,59 +35,23 @@ export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockCo
|
|
|
53
35
|
* import { S3Client, PutObjectLockConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
54
36
|
* // const { S3Client, PutObjectLockConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
55
37
|
* const client = new S3Client(config);
|
|
56
|
-
* const input = { // PutObjectLockConfigurationRequest
|
|
57
|
-
* Bucket: "STRING_VALUE", // required
|
|
58
|
-
* ObjectLockConfiguration: { // ObjectLockConfiguration
|
|
59
|
-
* ObjectLockEnabled: "Enabled",
|
|
60
|
-
* Rule: { // ObjectLockRule
|
|
61
|
-
* DefaultRetention: { // DefaultRetention
|
|
62
|
-
* Mode: "GOVERNANCE" || "COMPLIANCE",
|
|
63
|
-
* Days: Number("int"),
|
|
64
|
-
* Years: Number("int"),
|
|
65
|
-
* },
|
|
66
|
-
* },
|
|
67
|
-
* },
|
|
68
|
-
* RequestPayer: "requester",
|
|
69
|
-
* Token: "STRING_VALUE",
|
|
70
|
-
* ContentMD5: "STRING_VALUE",
|
|
71
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
72
|
-
* ExpectedBucketOwner: "STRING_VALUE",
|
|
73
|
-
* };
|
|
74
38
|
* const command = new PutObjectLockConfigurationCommand(input);
|
|
75
39
|
* const response = await client.send(command);
|
|
76
|
-
* // { // PutObjectLockConfigurationOutput
|
|
77
|
-
* // RequestCharged: "requester",
|
|
78
|
-
* // };
|
|
79
|
-
*
|
|
80
40
|
* ```
|
|
81
41
|
*
|
|
82
|
-
* @param PutObjectLockConfigurationCommandInput - {@link PutObjectLockConfigurationCommandInput}
|
|
83
|
-
* @returns {@link PutObjectLockConfigurationCommandOutput}
|
|
84
42
|
* @see {@link PutObjectLockConfigurationCommandInput} for command's `input` shape.
|
|
85
43
|
* @see {@link PutObjectLockConfigurationCommandOutput} for command's `response` shape.
|
|
86
44
|
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
87
45
|
*
|
|
88
|
-
* @throws {@link S3ServiceException}
|
|
89
|
-
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
90
|
-
*
|
|
91
46
|
*/
|
|
92
47
|
export declare class PutObjectLockConfigurationCommand extends $Command<PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput, S3ClientResolvedConfig> {
|
|
93
48
|
readonly input: PutObjectLockConfigurationCommandInput;
|
|
94
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
95
|
-
/**
|
|
96
|
-
* @public
|
|
97
|
-
*/
|
|
98
50
|
constructor(input: PutObjectLockConfigurationCommandInput);
|
|
99
51
|
/**
|
|
100
52
|
* @internal
|
|
101
53
|
*/
|
|
102
54
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput>;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
55
|
private serialize;
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
56
|
private deserialize;
|
|
111
57
|
}
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts
CHANGED
|
@@ -1,91 +1,42 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { PutObjectRetentionOutput, PutObjectRetentionRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export { __MetadataBearer, $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link PutObjectRetentionCommand}.
|
|
14
|
-
*/
|
|
15
6
|
export interface PutObjectRetentionCommandInput extends PutObjectRetentionRequest {
|
|
16
7
|
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link PutObjectRetentionCommand}.
|
|
21
|
-
*/
|
|
22
8
|
export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutput, __MetadataBearer {
|
|
23
9
|
}
|
|
24
10
|
/**
|
|
25
|
-
*
|
|
26
|
-
* <
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* place an Object Retention configuration on objects. Bypassing a Governance Retention
|
|
32
|
-
* configuration requires the <code>s3:BypassGovernanceRetention</code> permission. </p>
|
|
33
|
-
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
11
|
+
* <p>Places an Object Retention configuration on an object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.
|
|
12
|
+
* Users or accounts require the <code>s3:PutObjectRetention</code> permission in order to place
|
|
13
|
+
* an Object Retention configuration on objects. Bypassing a Governance Retention configuration
|
|
14
|
+
* requires the <code>s3:BypassGovernanceRetention</code> permission.
|
|
15
|
+
* </p>
|
|
16
|
+
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
34
17
|
* @example
|
|
35
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
19
|
* ```javascript
|
|
37
20
|
* import { S3Client, PutObjectRetentionCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
38
21
|
* // const { S3Client, PutObjectRetentionCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
39
22
|
* const client = new S3Client(config);
|
|
40
|
-
* const input = { // PutObjectRetentionRequest
|
|
41
|
-
* Bucket: "STRING_VALUE", // required
|
|
42
|
-
* Key: "STRING_VALUE", // required
|
|
43
|
-
* Retention: { // ObjectLockRetention
|
|
44
|
-
* Mode: "GOVERNANCE" || "COMPLIANCE",
|
|
45
|
-
* RetainUntilDate: new Date("TIMESTAMP"),
|
|
46
|
-
* },
|
|
47
|
-
* RequestPayer: "requester",
|
|
48
|
-
* VersionId: "STRING_VALUE",
|
|
49
|
-
* BypassGovernanceRetention: true || false,
|
|
50
|
-
* ContentMD5: "STRING_VALUE",
|
|
51
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
52
|
-
* ExpectedBucketOwner: "STRING_VALUE",
|
|
53
|
-
* };
|
|
54
23
|
* const command = new PutObjectRetentionCommand(input);
|
|
55
24
|
* const response = await client.send(command);
|
|
56
|
-
* // { // PutObjectRetentionOutput
|
|
57
|
-
* // RequestCharged: "requester",
|
|
58
|
-
* // };
|
|
59
|
-
*
|
|
60
25
|
* ```
|
|
61
26
|
*
|
|
62
|
-
* @param PutObjectRetentionCommandInput - {@link PutObjectRetentionCommandInput}
|
|
63
|
-
* @returns {@link PutObjectRetentionCommandOutput}
|
|
64
27
|
* @see {@link PutObjectRetentionCommandInput} for command's `input` shape.
|
|
65
28
|
* @see {@link PutObjectRetentionCommandOutput} for command's `response` shape.
|
|
66
29
|
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
67
30
|
*
|
|
68
|
-
* @throws {@link S3ServiceException}
|
|
69
|
-
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
70
|
-
*
|
|
71
31
|
*/
|
|
72
32
|
export declare class PutObjectRetentionCommand extends $Command<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, S3ClientResolvedConfig> {
|
|
73
33
|
readonly input: PutObjectRetentionCommandInput;
|
|
74
34
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
-
/**
|
|
76
|
-
* @public
|
|
77
|
-
*/
|
|
78
35
|
constructor(input: PutObjectRetentionCommandInput);
|
|
79
36
|
/**
|
|
80
37
|
* @internal
|
|
81
38
|
*/
|
|
82
39
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput>;
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
40
|
private serialize;
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
41
|
private deserialize;
|
|
91
42
|
}
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts
CHANGED
|
@@ -1,72 +1,105 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { PutObjectTaggingOutput, PutObjectTaggingRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export { __MetadataBearer, $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link PutObjectTaggingCommand}.
|
|
14
|
-
*/
|
|
15
6
|
export interface PutObjectTaggingCommandInput extends PutObjectTaggingRequest {
|
|
16
7
|
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link PutObjectTaggingCommand}.
|
|
21
|
-
*/
|
|
22
8
|
export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, __MetadataBearer {
|
|
23
9
|
}
|
|
24
10
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* </
|
|
29
|
-
*
|
|
30
|
-
* key-value pair. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html">Object Tagging</a>.</p>
|
|
31
|
-
* <p>You can associate tags with an object by sending a PUT request against the tagging
|
|
32
|
-
* subresource that is associated with the object. You can retrieve tags by sending a GET
|
|
33
|
-
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a>.</p>
|
|
11
|
+
* <p>Sets the supplied tag-set to an object that already exists in a bucket.</p>
|
|
12
|
+
* <p>A tag is a key-value pair. You can associate tags with an object by sending a PUT
|
|
13
|
+
* request against the tagging subresource that is associated with the object. You can
|
|
14
|
+
* retrieve tags by sending a GET request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a>.</p>
|
|
15
|
+
*
|
|
34
16
|
* <p>For tagging-related restrictions related to characters and encodings, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html">Tag
|
|
35
17
|
* Restrictions</a>. Note that Amazon S3 limits the maximum number of tags to 10 tags per
|
|
36
18
|
* object.</p>
|
|
19
|
+
*
|
|
37
20
|
* <p>To use this operation, you must have permission to perform the
|
|
38
21
|
* <code>s3:PutObjectTagging</code> action. By default, the bucket owner has this
|
|
39
22
|
* permission and can grant this permission to others.</p>
|
|
23
|
+
*
|
|
40
24
|
* <p>To put tags of any other version, use the <code>versionId</code> query parameter. You
|
|
41
25
|
* also need permission for the <code>s3:PutObjectVersionTagging</code> action.</p>
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
26
|
+
*
|
|
27
|
+
* <p>For information about the Amazon S3 object tagging feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html">Object Tagging</a>.</p>
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* <p class="title">
|
|
31
|
+
* <b>Special Errors</b>
|
|
32
|
+
* </p>
|
|
46
33
|
* <ul>
|
|
47
34
|
* <li>
|
|
48
|
-
* <
|
|
49
|
-
* <
|
|
50
|
-
*
|
|
51
|
-
*
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>
|
|
38
|
+
* <i>Code: InvalidTagError </i>
|
|
39
|
+
* </p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>
|
|
43
|
+
* <i>Cause: The tag provided was not a valid tag. This error can occur
|
|
44
|
+
* if the tag did not pass input validation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html">Object Tagging</a>.</i>
|
|
45
|
+
* </p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
52
48
|
* </li>
|
|
53
49
|
* <li>
|
|
54
|
-
* <
|
|
55
|
-
* <
|
|
56
|
-
*
|
|
50
|
+
* <ul>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <i>Code: MalformedXMLError </i>
|
|
54
|
+
* </p>
|
|
55
|
+
* </li>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>
|
|
58
|
+
* <i>Cause: The XML provided does not match the schema.</i>
|
|
59
|
+
* </p>
|
|
60
|
+
* </li>
|
|
61
|
+
* </ul>
|
|
57
62
|
* </li>
|
|
58
63
|
* <li>
|
|
59
|
-
* <
|
|
60
|
-
* <
|
|
61
|
-
*
|
|
64
|
+
* <ul>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>
|
|
67
|
+
* <i>Code: OperationAbortedError </i>
|
|
68
|
+
* </p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <i>Cause: A conflicting conditional action is currently in
|
|
73
|
+
* progress against this resource. Please try again.</i>
|
|
74
|
+
* </p>
|
|
75
|
+
* </li>
|
|
76
|
+
* </ul>
|
|
62
77
|
* </li>
|
|
63
78
|
* <li>
|
|
64
|
-
* <
|
|
65
|
-
* <
|
|
66
|
-
*
|
|
79
|
+
* <ul>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>
|
|
82
|
+
* <i>Code: InternalError</i>
|
|
83
|
+
* </p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>
|
|
87
|
+
* <i>Cause: The service was unable to apply the provided tag to the
|
|
88
|
+
* object.</i>
|
|
89
|
+
* </p>
|
|
90
|
+
* </li>
|
|
91
|
+
* </ul>
|
|
67
92
|
* </li>
|
|
68
93
|
* </ul>
|
|
69
|
-
*
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* <p class="title">
|
|
101
|
+
* <b>Related Resources</b>
|
|
102
|
+
* </p>
|
|
70
103
|
* <ul>
|
|
71
104
|
* <li>
|
|
72
105
|
* <p>
|
|
@@ -85,87 +118,23 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _
|
|
|
85
118
|
* import { S3Client, PutObjectTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
86
119
|
* // const { S3Client, PutObjectTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
87
120
|
* const client = new S3Client(config);
|
|
88
|
-
* const input = { // PutObjectTaggingRequest
|
|
89
|
-
* Bucket: "STRING_VALUE", // required
|
|
90
|
-
* Key: "STRING_VALUE", // required
|
|
91
|
-
* VersionId: "STRING_VALUE",
|
|
92
|
-
* ContentMD5: "STRING_VALUE",
|
|
93
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
94
|
-
* Tagging: { // Tagging
|
|
95
|
-
* TagSet: [ // TagSet // required
|
|
96
|
-
* { // Tag
|
|
97
|
-
* Key: "STRING_VALUE", // required
|
|
98
|
-
* Value: "STRING_VALUE", // required
|
|
99
|
-
* },
|
|
100
|
-
* ],
|
|
101
|
-
* },
|
|
102
|
-
* ExpectedBucketOwner: "STRING_VALUE",
|
|
103
|
-
* RequestPayer: "requester",
|
|
104
|
-
* };
|
|
105
121
|
* const command = new PutObjectTaggingCommand(input);
|
|
106
122
|
* const response = await client.send(command);
|
|
107
|
-
* // { // PutObjectTaggingOutput
|
|
108
|
-
* // VersionId: "STRING_VALUE",
|
|
109
|
-
* // };
|
|
110
|
-
*
|
|
111
123
|
* ```
|
|
112
124
|
*
|
|
113
|
-
* @param PutObjectTaggingCommandInput - {@link PutObjectTaggingCommandInput}
|
|
114
|
-
* @returns {@link PutObjectTaggingCommandOutput}
|
|
115
125
|
* @see {@link PutObjectTaggingCommandInput} for command's `input` shape.
|
|
116
126
|
* @see {@link PutObjectTaggingCommandOutput} for command's `response` shape.
|
|
117
127
|
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
118
128
|
*
|
|
119
|
-
* @throws {@link S3ServiceException}
|
|
120
|
-
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
121
|
-
*
|
|
122
|
-
* @example To add tags to an existing object
|
|
123
|
-
* ```javascript
|
|
124
|
-
* // The following example adds tags to an existing object.
|
|
125
|
-
* const input = {
|
|
126
|
-
* "Bucket": "examplebucket",
|
|
127
|
-
* "Key": "HappyFace.jpg",
|
|
128
|
-
* "Tagging": {
|
|
129
|
-
* "TagSet": [
|
|
130
|
-
* {
|
|
131
|
-
* "Key": "Key3",
|
|
132
|
-
* "Value": "Value3"
|
|
133
|
-
* },
|
|
134
|
-
* {
|
|
135
|
-
* "Key": "Key4",
|
|
136
|
-
* "Value": "Value4"
|
|
137
|
-
* }
|
|
138
|
-
* ]
|
|
139
|
-
* }
|
|
140
|
-
* };
|
|
141
|
-
* const command = new PutObjectTaggingCommand(input);
|
|
142
|
-
* const response = await client.send(command);
|
|
143
|
-
* /* response ==
|
|
144
|
-
* {
|
|
145
|
-
* "VersionId": "null"
|
|
146
|
-
* }
|
|
147
|
-
* *\/
|
|
148
|
-
* // example id: to-add-tags-to-an-existing-object-1481764668793
|
|
149
|
-
* ```
|
|
150
|
-
*
|
|
151
129
|
*/
|
|
152
130
|
export declare class PutObjectTaggingCommand extends $Command<PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput, S3ClientResolvedConfig> {
|
|
153
131
|
readonly input: PutObjectTaggingCommandInput;
|
|
154
132
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
155
|
-
/**
|
|
156
|
-
* @public
|
|
157
|
-
*/
|
|
158
133
|
constructor(input: PutObjectTaggingCommandInput);
|
|
159
134
|
/**
|
|
160
135
|
* @internal
|
|
161
136
|
*/
|
|
162
137
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput>;
|
|
163
|
-
/**
|
|
164
|
-
* @internal
|
|
165
|
-
*/
|
|
166
138
|
private serialize;
|
|
167
|
-
/**
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
139
|
private deserialize;
|
|
171
140
|
}
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts
CHANGED
|
@@ -1,35 +1,18 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { PutPublicAccessBlockRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export { __MetadataBearer, $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link PutPublicAccessBlockCommand}.
|
|
14
|
-
*/
|
|
15
6
|
export interface PutPublicAccessBlockCommandInput extends PutPublicAccessBlockRequest {
|
|
16
7
|
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link PutPublicAccessBlockCommand}.
|
|
21
|
-
*/
|
|
22
8
|
export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
|
|
23
9
|
}
|
|
24
10
|
/**
|
|
25
|
-
*
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket.
|
|
11
|
+
* <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket.
|
|
30
12
|
* To use this operation, you must have the <code>s3:PutBucketPublicAccessBlock</code>
|
|
31
13
|
* permission. For more information about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in a
|
|
32
|
-
*
|
|
14
|
+
* Policy</a>.</p>
|
|
15
|
+
*
|
|
33
16
|
* <important>
|
|
34
17
|
* <p>When Amazon S3 evaluates the <code>PublicAccessBlock</code> configuration for a bucket or
|
|
35
18
|
* an object, it checks the <code>PublicAccessBlock</code> configuration for both the
|
|
@@ -38,8 +21,15 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
|
|
|
38
21
|
* the account, Amazon S3 uses the most restrictive combination of the bucket-level and
|
|
39
22
|
* account-level settings.</p>
|
|
40
23
|
* </important>
|
|
24
|
+
*
|
|
25
|
+
*
|
|
41
26
|
* <p>For more information about when Amazon S3 considers a bucket or an object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a>.</p>
|
|
42
|
-
*
|
|
27
|
+
*
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* <p class="title">
|
|
31
|
+
* <b>Related Resources</b>
|
|
32
|
+
* </p>
|
|
43
33
|
* <ul>
|
|
44
34
|
* <li>
|
|
45
35
|
* <p>
|
|
@@ -69,51 +59,23 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
|
|
|
69
59
|
* import { S3Client, PutPublicAccessBlockCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
70
60
|
* // const { S3Client, PutPublicAccessBlockCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
71
61
|
* const client = new S3Client(config);
|
|
72
|
-
* const input = { // PutPublicAccessBlockRequest
|
|
73
|
-
* Bucket: "STRING_VALUE", // required
|
|
74
|
-
* ContentMD5: "STRING_VALUE",
|
|
75
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
76
|
-
* PublicAccessBlockConfiguration: { // PublicAccessBlockConfiguration
|
|
77
|
-
* BlockPublicAcls: true || false,
|
|
78
|
-
* IgnorePublicAcls: true || false,
|
|
79
|
-
* BlockPublicPolicy: true || false,
|
|
80
|
-
* RestrictPublicBuckets: true || false,
|
|
81
|
-
* },
|
|
82
|
-
* ExpectedBucketOwner: "STRING_VALUE",
|
|
83
|
-
* };
|
|
84
62
|
* const command = new PutPublicAccessBlockCommand(input);
|
|
85
63
|
* const response = await client.send(command);
|
|
86
|
-
* // {};
|
|
87
|
-
*
|
|
88
64
|
* ```
|
|
89
65
|
*
|
|
90
|
-
* @param PutPublicAccessBlockCommandInput - {@link PutPublicAccessBlockCommandInput}
|
|
91
|
-
* @returns {@link PutPublicAccessBlockCommandOutput}
|
|
92
66
|
* @see {@link PutPublicAccessBlockCommandInput} for command's `input` shape.
|
|
93
67
|
* @see {@link PutPublicAccessBlockCommandOutput} for command's `response` shape.
|
|
94
68
|
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
95
69
|
*
|
|
96
|
-
* @throws {@link S3ServiceException}
|
|
97
|
-
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
98
|
-
*
|
|
99
70
|
*/
|
|
100
71
|
export declare class PutPublicAccessBlockCommand extends $Command<PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput, S3ClientResolvedConfig> {
|
|
101
72
|
readonly input: PutPublicAccessBlockCommandInput;
|
|
102
73
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
103
|
-
/**
|
|
104
|
-
* @public
|
|
105
|
-
*/
|
|
106
74
|
constructor(input: PutPublicAccessBlockCommandInput);
|
|
107
75
|
/**
|
|
108
76
|
* @internal
|
|
109
77
|
*/
|
|
110
78
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput>;
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
79
|
private serialize;
|
|
115
|
-
/**
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
118
80
|
private deserialize;
|
|
119
81
|
}
|