@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
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
5
|
-
import { PutObjectOutput, PutObjectRequest } from "../models/
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes } from "@smithy/types";
|
|
4
|
+
import { PutObjectOutput, PutObjectRequest } from "../models/models_1";
|
|
6
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
10
9
|
export { __MetadataBearer, $Command };
|
|
11
|
-
export type PutObjectCommandInputType = Omit<PutObjectRequest, "Body"> & {
|
|
12
|
-
/**
|
|
13
|
-
* For *`PutObjectRequest["Body"]`*, see {@link PutObjectRequest.Body}.
|
|
14
|
-
*/
|
|
15
|
-
Body?: PutObjectRequest["Body"] | string | Uint8Array | Buffer;
|
|
16
|
-
};
|
|
17
10
|
/**
|
|
18
11
|
* @public
|
|
19
12
|
*
|
|
20
13
|
* The input for {@link PutObjectCommand}.
|
|
21
14
|
*/
|
|
22
|
-
export interface PutObjectCommandInput extends
|
|
15
|
+
export interface PutObjectCommandInput extends Omit<PutObjectRequest, "Body"> {
|
|
16
|
+
Body?: StreamingBlobPayloadInputTypes;
|
|
23
17
|
}
|
|
24
18
|
/**
|
|
25
19
|
* @public
|
|
@@ -30,84 +24,121 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
30
24
|
}
|
|
31
25
|
/**
|
|
32
26
|
* @public
|
|
33
|
-
* <p>Adds an object to a bucket
|
|
34
|
-
* to it.</p>
|
|
35
|
-
* <note>
|
|
36
|
-
* <p>Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the
|
|
37
|
-
* entire object to the bucket. You cannot use <code>PutObject</code> to only update a
|
|
38
|
-
* single piece of metadata for an existing object. You must put the entire object with
|
|
39
|
-
* updated metadata if you want to update some values.</p>
|
|
40
|
-
* </note>
|
|
41
|
-
* <p>Amazon S3 is a distributed system. If it receives multiple write requests for the same object
|
|
42
|
-
* simultaneously, it overwrites all but the last object written. To prevent objects from
|
|
43
|
-
* being deleted or overwritten, you can use <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Amazon S3 Object
|
|
44
|
-
* Lock</a>.</p>
|
|
45
|
-
* <p>To ensure that data is not corrupted traversing the network, use the
|
|
46
|
-
* <code>Content-MD5</code> header. When you use this header, Amazon S3 checks the object
|
|
47
|
-
* against the provided MD5 value and, if they do not match, returns an error. Additionally,
|
|
48
|
-
* you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to
|
|
49
|
-
* the calculated MD5 value.</p>
|
|
27
|
+
* <p>Adds an object to a bucket.</p>
|
|
50
28
|
* <note>
|
|
51
29
|
* <ul>
|
|
52
30
|
* <li>
|
|
53
|
-
* <p>
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* <p>To successfully change the objects acl of your <code>PutObject</code> request,
|
|
58
|
-
* you must have the <code>s3:PutObjectAcl</code> in your IAM permissions.</p>
|
|
31
|
+
* <p>Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the
|
|
32
|
+
* entire object to the bucket. You cannot use <code>PutObject</code> to only update a
|
|
33
|
+
* single piece of metadata for an existing object. You must put the entire object with
|
|
34
|
+
* updated metadata if you want to update some values.</p>
|
|
59
35
|
* </li>
|
|
60
36
|
* <li>
|
|
61
|
-
* <p>
|
|
62
|
-
*
|
|
37
|
+
* <p>If your bucket uses the bucket owner enforced setting for Object Ownership, ACLs are disabled and no longer affect permissions. All
|
|
38
|
+
* objects written to the bucket by any account will be owned by the bucket owner.</p>
|
|
63
39
|
* </li>
|
|
64
40
|
* <li>
|
|
65
|
-
* <p>
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
41
|
+
* <p>
|
|
42
|
+
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
|
|
43
|
+
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
44
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
69
45
|
* </li>
|
|
70
46
|
* </ul>
|
|
71
47
|
* </note>
|
|
72
|
-
* <p>
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* contain other ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a
|
|
92
|
-
* <code>400</code> error with the error code <code>AccessControlListNotSupported</code>.
|
|
93
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html"> Controlling ownership of
|
|
94
|
-
* objects and disabling ACLs</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
95
|
-
* <note>
|
|
96
|
-
* <p>If your bucket uses the bucket owner enforced setting for Object Ownership, all
|
|
97
|
-
* objects written to the bucket by any account will be owned by the bucket owner.</p>
|
|
98
|
-
* </note>
|
|
99
|
-
* <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The
|
|
100
|
-
* STANDARD storage class provides high durability and high availability. Depending on
|
|
101
|
-
* performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses
|
|
102
|
-
* the OUTPOSTS Storage Class. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a> in the
|
|
103
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
104
|
-
* <p>If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID
|
|
105
|
-
* for the object being stored. Amazon S3 returns this ID in the response. When you enable
|
|
106
|
-
* versioning for a bucket, if Amazon S3 receives multiple write requests for the same object
|
|
107
|
-
* simultaneously, it stores all of the objects. For more information about versioning, see
|
|
48
|
+
* <p>Amazon S3 is a distributed system. If it receives multiple write requests for the same object
|
|
49
|
+
* simultaneously, it overwrites all but the last object written. However, Amazon S3 provides features that can modify this behavior:</p>
|
|
50
|
+
* <ul>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <b>S3 Object Lock</b> - To prevent objects from
|
|
54
|
+
* being deleted or overwritten, you can use <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Amazon S3 Object
|
|
55
|
+
* Lock</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
56
|
+
* <note>
|
|
57
|
+
* <p>This functionality is not supported for directory buckets.</p>
|
|
58
|
+
* </note>
|
|
59
|
+
* </li>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>
|
|
62
|
+
* <b>S3 Versioning</b> - When you enable
|
|
63
|
+
* versioning for a bucket, if Amazon S3 receives multiple write requests for the same object
|
|
64
|
+
* simultaneously, it stores all versions of the objects. For each write request that is made to the same object, Amazon S3 automatically generates a unique version ID
|
|
65
|
+
* of that object being stored in Amazon S3.
|
|
66
|
+
* You can retrieve, replace, or delete any version of the object. For more information about versioning, see
|
|
108
67
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html">Adding Objects to
|
|
109
|
-
*
|
|
110
|
-
*
|
|
68
|
+
* Versioning-Enabled Buckets</a> in the <i>Amazon S3
|
|
69
|
+
* User Guide</i>. For information about returning the versioning state
|
|
70
|
+
* of a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a>. </p>
|
|
71
|
+
* <note>
|
|
72
|
+
* <p>This functionality is not supported for directory buckets.</p>
|
|
73
|
+
* </note>
|
|
74
|
+
* </li>
|
|
75
|
+
* </ul>
|
|
76
|
+
* <dl>
|
|
77
|
+
* <dt>Permissions</dt>
|
|
78
|
+
* <dd>
|
|
79
|
+
* <ul>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>
|
|
82
|
+
* <b>General purpose bucket permissions</b> - The following permissions are required in your policies when your
|
|
83
|
+
* <code>PutObject</code> request includes specific headers.</p>
|
|
84
|
+
* <ul>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>
|
|
87
|
+
* <b>
|
|
88
|
+
* <code>s3:PutObject</code>
|
|
89
|
+
* </b> - To successfully complete the <code>PutObject</code> request, you must always have the <code>s3:PutObject</code> permission on a bucket to add an object
|
|
90
|
+
* to it.</p>
|
|
91
|
+
* </li>
|
|
92
|
+
* <li>
|
|
93
|
+
* <p>
|
|
94
|
+
* <b>
|
|
95
|
+
* <code>s3:PutObjectAcl</code>
|
|
96
|
+
* </b> - To successfully change the objects ACL of your <code>PutObject</code> request, you must have the <code>s3:PutObjectAcl</code>.</p>
|
|
97
|
+
* </li>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>
|
|
100
|
+
* <b>
|
|
101
|
+
* <code>s3:PutObjectTagging</code>
|
|
102
|
+
* </b> - To successfully set the tag-set with your <code>PutObject</code> request, you
|
|
103
|
+
* must have the <code>s3:PutObjectTagging</code>.</p>
|
|
104
|
+
* </li>
|
|
105
|
+
* </ul>
|
|
106
|
+
* </li>
|
|
107
|
+
* <li>
|
|
108
|
+
* <p>
|
|
109
|
+
* <b>Directory bucket permissions</b> - To grant access to this API operation on a directory bucket, we recommend that you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
110
|
+
* <code>CreateSession</code>
|
|
111
|
+
* </a> API operation for session-based authorization. Specifically, you grant the <code>s3express:CreateSession</code> permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the <code>CreateSession</code> API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another <code>CreateSession</code> API call to generate a new session token for use.
|
|
112
|
+
* Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
113
|
+
* <code>CreateSession</code>
|
|
114
|
+
* </a>.</p>
|
|
115
|
+
* </li>
|
|
116
|
+
* </ul>
|
|
117
|
+
* </dd>
|
|
118
|
+
* <dt>Data integrity with Content-MD5</dt>
|
|
119
|
+
* <dd>
|
|
120
|
+
* <ul>
|
|
121
|
+
* <li>
|
|
122
|
+
* <p>
|
|
123
|
+
* <b>General purpose bucket</b> - To ensure that data is not corrupted traversing the network, use the
|
|
124
|
+
* <code>Content-MD5</code> header. When you use this header, Amazon S3 checks the object
|
|
125
|
+
* against the provided MD5 value and, if they do not match, Amazon S3 returns an error. Alternatively, when the object's ETag is its MD5 digest,
|
|
126
|
+
* you can calculate the MD5 while putting the object to Amazon S3 and compare the returned ETag to
|
|
127
|
+
* the calculated MD5 value.</p>
|
|
128
|
+
* </li>
|
|
129
|
+
* <li>
|
|
130
|
+
* <p>
|
|
131
|
+
* <b>Directory bucket</b> - This functionality is not supported for directory buckets.</p>
|
|
132
|
+
* </li>
|
|
133
|
+
* </ul>
|
|
134
|
+
* </dd>
|
|
135
|
+
* <dt>HTTP Host header syntax</dt>
|
|
136
|
+
* <dd>
|
|
137
|
+
* <p>
|
|
138
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
139
|
+
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
140
|
+
* </dd>
|
|
141
|
+
* </dl>
|
|
111
142
|
* <p>For more information about related Amazon S3 APIs, see the following:</p>
|
|
112
143
|
* <ul>
|
|
113
144
|
* <li>
|
|
@@ -153,7 +184,7 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
153
184
|
* "<keys>": "STRING_VALUE",
|
|
154
185
|
* },
|
|
155
186
|
* ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
156
|
-
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
187
|
+
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
157
188
|
* WebsiteRedirectLocation: "STRING_VALUE",
|
|
158
189
|
* SSECustomerAlgorithm: "STRING_VALUE",
|
|
159
190
|
* SSECustomerKey: "STRING_VALUE",
|
|
@@ -198,107 +229,107 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
198
229
|
* @throws {@link S3ServiceException}
|
|
199
230
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
200
231
|
*
|
|
201
|
-
* @example To
|
|
232
|
+
* @example To create an object.
|
|
202
233
|
* ```javascript
|
|
203
|
-
* // The following example creates an object.
|
|
234
|
+
* // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
204
235
|
* const input = {
|
|
205
236
|
* "Body": "filetoupload",
|
|
206
237
|
* "Bucket": "examplebucket",
|
|
207
|
-
* "Key": "
|
|
208
|
-
* "Metadata": {
|
|
209
|
-
* "metadata1": "value1",
|
|
210
|
-
* "metadata2": "value2"
|
|
211
|
-
* }
|
|
238
|
+
* "Key": "objectkey"
|
|
212
239
|
* };
|
|
213
240
|
* const command = new PutObjectCommand(input);
|
|
214
241
|
* const response = await client.send(command);
|
|
215
242
|
* /* response ==
|
|
216
243
|
* {
|
|
217
244
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
218
|
-
* "VersionId": "
|
|
245
|
+
* "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
|
|
219
246
|
* }
|
|
220
247
|
* *\/
|
|
221
|
-
* // example id: to-
|
|
248
|
+
* // example id: to-create-an-object-1483147613675
|
|
222
249
|
* ```
|
|
223
250
|
*
|
|
224
|
-
* @example To upload an object
|
|
251
|
+
* @example To upload an object
|
|
225
252
|
* ```javascript
|
|
226
|
-
* // The following example uploads an object. The
|
|
253
|
+
* // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
|
|
227
254
|
* const input = {
|
|
228
255
|
* "Body": "HappyFace.jpg",
|
|
229
256
|
* "Bucket": "examplebucket",
|
|
230
|
-
* "Key": "HappyFace.jpg"
|
|
231
|
-
* "ServerSideEncryption": "AES256",
|
|
232
|
-
* "StorageClass": "STANDARD_IA"
|
|
257
|
+
* "Key": "HappyFace.jpg"
|
|
233
258
|
* };
|
|
234
259
|
* const command = new PutObjectCommand(input);
|
|
235
260
|
* const response = await client.send(command);
|
|
236
261
|
* /* response ==
|
|
237
262
|
* {
|
|
238
263
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
239
|
-
* "
|
|
240
|
-
* "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
|
|
264
|
+
* "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
|
|
241
265
|
* }
|
|
242
266
|
* *\/
|
|
243
|
-
* // example id: to-upload-an-object-
|
|
267
|
+
* // example id: to-upload-an-object-1481760101010
|
|
244
268
|
* ```
|
|
245
269
|
*
|
|
246
|
-
* @example To
|
|
270
|
+
* @example To upload object and specify user-defined metadata
|
|
247
271
|
* ```javascript
|
|
248
|
-
* // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
272
|
+
* // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
249
273
|
* const input = {
|
|
250
274
|
* "Body": "filetoupload",
|
|
251
275
|
* "Bucket": "examplebucket",
|
|
252
|
-
* "Key": "
|
|
276
|
+
* "Key": "exampleobject",
|
|
277
|
+
* "Metadata": {
|
|
278
|
+
* "metadata1": "value1",
|
|
279
|
+
* "metadata2": "value2"
|
|
280
|
+
* }
|
|
253
281
|
* };
|
|
254
282
|
* const command = new PutObjectCommand(input);
|
|
255
283
|
* const response = await client.send(command);
|
|
256
284
|
* /* response ==
|
|
257
285
|
* {
|
|
258
286
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
259
|
-
* "VersionId": "
|
|
287
|
+
* "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
|
|
260
288
|
* }
|
|
261
289
|
* *\/
|
|
262
|
-
* // example id: to-
|
|
290
|
+
* // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
|
|
263
291
|
* ```
|
|
264
292
|
*
|
|
265
|
-
* @example To upload an object and specify
|
|
293
|
+
* @example To upload an object and specify optional tags
|
|
266
294
|
* ```javascript
|
|
267
|
-
* // The following example uploads
|
|
295
|
+
* // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
|
|
268
296
|
* const input = {
|
|
269
|
-
* "
|
|
270
|
-
* "Body": "filetoupload",
|
|
297
|
+
* "Body": "c:\\HappyFace.jpg",
|
|
271
298
|
* "Bucket": "examplebucket",
|
|
272
|
-
* "Key": "
|
|
299
|
+
* "Key": "HappyFace.jpg",
|
|
300
|
+
* "Tagging": "key1=value1&key2=value2"
|
|
273
301
|
* };
|
|
274
302
|
* const command = new PutObjectCommand(input);
|
|
275
303
|
* const response = await client.send(command);
|
|
276
304
|
* /* response ==
|
|
277
305
|
* {
|
|
278
306
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
279
|
-
* "VersionId": "
|
|
307
|
+
* "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
|
|
280
308
|
* }
|
|
281
309
|
* *\/
|
|
282
|
-
* // example id: to-upload-an-object-and-specify-
|
|
310
|
+
* // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
|
|
283
311
|
* ```
|
|
284
312
|
*
|
|
285
|
-
* @example To upload an object
|
|
313
|
+
* @example To upload an object (specify optional headers)
|
|
286
314
|
* ```javascript
|
|
287
|
-
* // The following example uploads an object
|
|
315
|
+
* // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
|
|
288
316
|
* const input = {
|
|
289
317
|
* "Body": "HappyFace.jpg",
|
|
290
318
|
* "Bucket": "examplebucket",
|
|
291
|
-
* "Key": "HappyFace.jpg"
|
|
319
|
+
* "Key": "HappyFace.jpg",
|
|
320
|
+
* "ServerSideEncryption": "AES256",
|
|
321
|
+
* "StorageClass": "STANDARD_IA"
|
|
292
322
|
* };
|
|
293
323
|
* const command = new PutObjectCommand(input);
|
|
294
324
|
* const response = await client.send(command);
|
|
295
325
|
* /* response ==
|
|
296
326
|
* {
|
|
297
327
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
298
|
-
* "
|
|
328
|
+
* "ServerSideEncryption": "AES256",
|
|
329
|
+
* "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
|
|
299
330
|
* }
|
|
300
331
|
* *\/
|
|
301
|
-
* // example id: to-upload-an-object-
|
|
332
|
+
* // example id: to-upload-an-object-(specify-optional-headers)
|
|
302
333
|
* ```
|
|
303
334
|
*
|
|
304
335
|
* @example To upload an object and specify server-side encryption and object tags
|
|
@@ -323,24 +354,24 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
323
354
|
* // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
|
|
324
355
|
* ```
|
|
325
356
|
*
|
|
326
|
-
* @example To upload an object and specify
|
|
357
|
+
* @example To upload an object and specify canned ACL.
|
|
327
358
|
* ```javascript
|
|
328
|
-
* // The following example uploads
|
|
359
|
+
* // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
329
360
|
* const input = {
|
|
330
|
-
* "
|
|
361
|
+
* "ACL": "authenticated-read",
|
|
362
|
+
* "Body": "filetoupload",
|
|
331
363
|
* "Bucket": "examplebucket",
|
|
332
|
-
* "Key": "
|
|
333
|
-
* "Tagging": "key1=value1&key2=value2"
|
|
364
|
+
* "Key": "exampleobject"
|
|
334
365
|
* };
|
|
335
366
|
* const command = new PutObjectCommand(input);
|
|
336
367
|
* const response = await client.send(command);
|
|
337
368
|
* /* response ==
|
|
338
369
|
* {
|
|
339
370
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
340
|
-
* "VersionId": "
|
|
371
|
+
* "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
|
|
341
372
|
* }
|
|
342
373
|
* *\/
|
|
343
|
-
* // example id: to-upload-an-object-and-specify-
|
|
374
|
+
* // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
|
|
344
375
|
* ```
|
|
345
376
|
*
|
|
346
377
|
*/
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.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 { PutObjectLegalHoldOutput, PutObjectLegalHoldRequest } from "../models/
|
|
4
|
+
import { PutObjectLegalHoldOutput, PutObjectLegalHoldRequest } from "../models/models_1";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -23,10 +23,13 @@ export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutpu
|
|
|
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>Applies a legal hold configuration to the specified object. For more information, see
|
|
27
30
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
|
|
28
31
|
* Objects</a>.</p>
|
|
29
|
-
* <p>This
|
|
32
|
+
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
30
33
|
* @example
|
|
31
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
35
|
* ```javascript
|
|
@@ -23,7 +23,10 @@ export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockCo
|
|
|
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>Places an Object Lock configuration on the specified bucket. The rule specified in the
|
|
27
30
|
* Object Lock configuration will be applied by default to every new object placed in the
|
|
28
31
|
* specified bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>. </p>
|
|
29
32
|
* <note>
|
|
@@ -38,8 +41,9 @@ export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockCo
|
|
|
38
41
|
* <code>Days</code> and <code>Years</code> at the same time.</p>
|
|
39
42
|
* </li>
|
|
40
43
|
* <li>
|
|
41
|
-
* <p>You can
|
|
42
|
-
*
|
|
44
|
+
* <p>You can enable Object Lock for new or existing buckets. For more
|
|
45
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html">Configuring Object
|
|
46
|
+
* Lock</a>.</p>
|
|
43
47
|
* </li>
|
|
44
48
|
* </ul>
|
|
45
49
|
* </note>
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts
CHANGED
|
@@ -23,11 +23,14 @@ export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutpu
|
|
|
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>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>.
|
|
27
30
|
* Users or accounts require the <code>s3:PutObjectRetention</code> permission in order to
|
|
28
31
|
* place an Object Retention configuration on objects. Bypassing a Governance Retention
|
|
29
32
|
* configuration requires the <code>s3:BypassGovernanceRetention</code> permission. </p>
|
|
30
|
-
* <p>This
|
|
33
|
+
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts
CHANGED
|
@@ -23,10 +23,14 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets the supplied tag-set to an object that already exists in a bucket. A tag is a
|
|
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>
|
|
30
34
|
* <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
|
|
31
35
|
* Restrictions</a>. Note that Amazon S3 limits the maximum number of tags to 10 tags per
|
|
32
36
|
* object.</p>
|
|
@@ -35,69 +39,31 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _
|
|
|
35
39
|
* permission and can grant this permission to others.</p>
|
|
36
40
|
* <p>To put tags of any other version, use the <code>versionId</code> query parameter. You
|
|
37
41
|
* also need permission for the <code>s3:PutObjectVersionTagging</code> action.</p>
|
|
38
|
-
* <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>
|
|
39
42
|
* <p>
|
|
40
|
-
* <code>PutObjectTagging</code> has the following special errors
|
|
43
|
+
* <code>PutObjectTagging</code> has the following special errors. For more Amazon S3 errors
|
|
44
|
+
* see, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html">Error
|
|
45
|
+
* Responses</a>.</p>
|
|
41
46
|
* <ul>
|
|
42
47
|
* <li>
|
|
43
|
-
* <
|
|
44
|
-
* <
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* </p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>
|
|
51
|
-
* <i>Cause: The tag provided was not a valid tag. This error can occur
|
|
52
|
-
* 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
|
|
53
|
-
* Tagging</a>.</i>
|
|
54
|
-
* </p>
|
|
55
|
-
* </li>
|
|
56
|
-
* </ul>
|
|
48
|
+
* <p>
|
|
49
|
+
* <code>InvalidTag</code> - The tag provided was not a valid tag. This error
|
|
50
|
+
* can occur if the tag did not pass input validation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html">Object
|
|
51
|
+
* Tagging</a>.</p>
|
|
57
52
|
* </li>
|
|
58
53
|
* <li>
|
|
59
|
-
* <
|
|
60
|
-
* <
|
|
61
|
-
*
|
|
62
|
-
* <i>Code: MalformedXMLError </i>
|
|
63
|
-
* </p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>
|
|
67
|
-
* <i>Cause: The XML provided does not match the schema.</i>
|
|
68
|
-
* </p>
|
|
69
|
-
* </li>
|
|
70
|
-
* </ul>
|
|
54
|
+
* <p>
|
|
55
|
+
* <code>MalformedXML</code> - The XML provided does not match the
|
|
56
|
+
* schema.</p>
|
|
71
57
|
* </li>
|
|
72
58
|
* <li>
|
|
73
|
-
* <
|
|
74
|
-
* <
|
|
75
|
-
*
|
|
76
|
-
* <i>Code: OperationAbortedError </i>
|
|
77
|
-
* </p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>
|
|
81
|
-
* <i>Cause: A conflicting conditional action is currently in progress
|
|
82
|
-
* against this resource. Please try again.</i>
|
|
83
|
-
* </p>
|
|
84
|
-
* </li>
|
|
85
|
-
* </ul>
|
|
59
|
+
* <p>
|
|
60
|
+
* <code>OperationAborted</code> - A conflicting conditional action is
|
|
61
|
+
* currently in progress against this resource. Please try again.</p>
|
|
86
62
|
* </li>
|
|
87
63
|
* <li>
|
|
88
|
-
* <
|
|
89
|
-
* <
|
|
90
|
-
*
|
|
91
|
-
* <i>Code: InternalError</i>
|
|
92
|
-
* </p>
|
|
93
|
-
* </li>
|
|
94
|
-
* <li>
|
|
95
|
-
* <p>
|
|
96
|
-
* <i>Cause: The service was unable to apply the provided tag to the
|
|
97
|
-
* object.</i>
|
|
98
|
-
* </p>
|
|
99
|
-
* </li>
|
|
100
|
-
* </ul>
|
|
64
|
+
* <p>
|
|
65
|
+
* <code>InternalError</code> - The service was unable to apply the provided
|
|
66
|
+
* tag to the object.</p>
|
|
101
67
|
* </li>
|
|
102
68
|
* </ul>
|
|
103
69
|
* <p>The following operations are related to <code>PutObjectTagging</code>:</p>
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts
CHANGED
|
@@ -23,7 +23,10 @@ export interface PutPublicAccessBlockCommandOutput 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 or modifies the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket.
|
|
27
30
|
* To use this operation, you must have the <code>s3:PutBucketPublicAccessBlock</code>
|
|
28
31
|
* 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
|
|
29
32
|
* Policy</a>.</p>
|