@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,6 +1,6 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
4
4
|
import { GetObjectOutput, GetObjectRequest } from "../models/models_0";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
6
|
/**
|
|
@@ -19,162 +19,146 @@ export interface GetObjectCommandInput extends GetObjectRequest {
|
|
|
19
19
|
*
|
|
20
20
|
* The output of {@link GetObjectCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface GetObjectCommandOutput extends
|
|
22
|
+
export interface GetObjectCommandOutput extends Omit<GetObjectOutput, "Body">, __MetadataBearer {
|
|
23
|
+
Body?: StreamingBlobPayloadOutputTypes;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
26
|
* @public
|
|
26
|
-
* <p>Retrieves
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* imply a folder structure. For example, instead of naming an object <code>sample.jpg</code>,
|
|
32
|
-
* you can name it <code>photos/2006/February/sample.jpg</code>.</p>
|
|
33
|
-
* <p>To get an object from such a logical hierarchy, specify the full key name for the object
|
|
34
|
-
* in the <code>GET</code> operation. For a virtual hosted-style request example, if you have
|
|
35
|
-
* the object <code>photos/2006/February/sample.jpg</code>, specify the resource as
|
|
27
|
+
* <p>Retrieves an object from Amazon S3.</p>
|
|
28
|
+
* <p>In the <code>GetObject</code> request, specify the full key name for the object.</p>
|
|
29
|
+
* <p>
|
|
30
|
+
* <b>General purpose buckets</b> - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have
|
|
31
|
+
* the object <code>photos/2006/February/sample.jpg</code>, specify the object key name as
|
|
36
32
|
* <code>/photos/2006/February/sample.jpg</code>. For a path-style request example, if you
|
|
37
33
|
* have the object <code>photos/2006/February/sample.jpg</code> in the bucket named
|
|
38
|
-
* <code>examplebucket</code>, specify the
|
|
34
|
+
* <code>examplebucket</code>, specify the object key name as
|
|
39
35
|
* <code>/examplebucket/photos/2006/February/sample.jpg</code>. For more information about
|
|
40
36
|
* request types, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket">HTTP Host
|
|
41
|
-
* Header Bucket Specification</a>.</p>
|
|
42
|
-
* <p>
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* copy using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html">RestoreObject</a>. Otherwise, this action returns an
|
|
47
|
-
* <code>InvalidObjectState</code> error. For information about restoring archived objects,
|
|
48
|
-
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html">Restoring
|
|
49
|
-
* Archived Objects</a>.</p>
|
|
50
|
-
* <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>, should not
|
|
51
|
-
* be sent for GET requests if your object uses server-side encryption with Key Management Service (KMS)
|
|
52
|
-
* keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or
|
|
53
|
-
* server-side encryption with Amazon S3 managed encryption keys (SSE-S3). If your object does use
|
|
54
|
-
* these types of keys, you’ll get an HTTP 400 Bad Request error.</p>
|
|
55
|
-
* <p>If you encrypt an object by using server-side encryption with customer-provided
|
|
56
|
-
* encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,
|
|
57
|
-
* you must use the following headers:</p>
|
|
58
|
-
* <ul>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>
|
|
61
|
-
* <code>x-amz-server-side-encryption-customer-algorithm</code>
|
|
62
|
-
* </p>
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>
|
|
66
|
-
* <code>x-amz-server-side-encryption-customer-key</code>
|
|
67
|
-
* </p>
|
|
68
|
-
* </li>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>
|
|
71
|
-
* <code>x-amz-server-side-encryption-customer-key-MD5</code>
|
|
72
|
-
* </p>
|
|
73
|
-
* </li>
|
|
74
|
-
* </ul>
|
|
75
|
-
* <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
|
|
76
|
-
* (Using Customer-Provided Encryption Keys)</a>.</p>
|
|
77
|
-
* <p>Assuming you have the relevant permission to read object tags, the response also returns
|
|
78
|
-
* the <code>x-amz-tagging-count</code> header that provides the count of number of tags
|
|
79
|
-
* associated with the object. You can use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a> to retrieve
|
|
80
|
-
* the tag set associated with an object.</p>
|
|
37
|
+
* Header Bucket Specification</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
38
|
+
* <p>
|
|
39
|
+
* <b>Directory buckets</b> - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object <code>photos/2006/February/sample.jpg</code> in the bucket named <code>examplebucket--use1-az5--x-s3</code>, specify the object key name as <code>/photos/2006/February/sample.jpg</code>. Also, when you make requests to this API operation, your requests are sent 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>
|
|
40
|
+
* </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
|
|
41
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
81
42
|
* <dl>
|
|
82
43
|
* <dt>Permissions</dt>
|
|
83
44
|
* <dd>
|
|
84
|
-
* <
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
* returns an
|
|
90
|
-
*
|
|
91
|
-
*
|
|
45
|
+
* <ul>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>
|
|
48
|
+
* <b>General purpose bucket permissions</b> - You must have the required permissions in a policy. To use <code>GetObject</code>, you must have the <code>READ</code>
|
|
49
|
+
* access to the object (or version). If you grant <code>READ</code> access to the anonymous user, the <code>GetObject</code> operation
|
|
50
|
+
* returns the object without using an authorization header. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying permissions in
|
|
51
|
+
* a policy</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
52
|
+
* <p>If you include a <code>versionId</code> in your request header, you must have the
|
|
53
|
+
* <code>s3:GetObjectVersion</code> permission to access a specific
|
|
54
|
+
* version of an object. The <code>s3:GetObject</code> permission is not required in this scenario.</p>
|
|
55
|
+
* <p>If you request the
|
|
56
|
+
* current version of an object without a specific <code>versionId</code> in the request header, only
|
|
57
|
+
* the <code>s3:GetObject</code> permission is required. The <code>s3:GetObjectVersion</code> permission is not required in this scenario.
|
|
58
|
+
* </p>
|
|
59
|
+
* <p>If the object that you request doesn’t exist, the error that
|
|
60
|
+
* Amazon S3 returns depends on whether you also have the <code>s3:ListBucket</code>
|
|
61
|
+
* permission.</p>
|
|
62
|
+
* <ul>
|
|
63
|
+
* <li>
|
|
64
|
+
* <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3
|
|
65
|
+
* returns an HTTP status code <code>404 Not Found</code> error.</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>If you don’t have the <code>s3:ListBucket</code> permission, Amazon S3 returns an
|
|
69
|
+
* HTTP status code <code>403 Access Denied</code> error.</p>
|
|
70
|
+
* </li>
|
|
71
|
+
* </ul>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>
|
|
75
|
+
* <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">
|
|
76
|
+
* <code>CreateSession</code>
|
|
77
|
+
* </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.
|
|
78
|
+
* 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">
|
|
79
|
+
* <code>CreateSession</code>
|
|
80
|
+
* </a>.</p>
|
|
81
|
+
* </li>
|
|
82
|
+
* </ul>
|
|
92
83
|
* </dd>
|
|
93
|
-
* <dt>
|
|
84
|
+
* <dt>Storage classes</dt>
|
|
94
85
|
* <dd>
|
|
95
|
-
* <p>
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* <
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
* required. <code>s3:GetObjectVersion</code> permission won't be required.</p>
|
|
106
|
-
* </li>
|
|
107
|
-
* <li>
|
|
108
|
-
* <p>If the current version of the object is a delete marker, Amazon S3 behaves as if the
|
|
109
|
-
* object was deleted and includes <code>x-amz-delete-marker: true</code> in the
|
|
110
|
-
* response.</p>
|
|
111
|
-
* </li>
|
|
112
|
-
* </ul>
|
|
113
|
-
* </note>
|
|
114
|
-
* <p>For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html">PutBucketVersioning</a>. </p>
|
|
86
|
+
* <p>If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the
|
|
87
|
+
* S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the
|
|
88
|
+
* S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a
|
|
89
|
+
* copy using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html">RestoreObject</a>. Otherwise, this operation returns an
|
|
90
|
+
* <code>InvalidObjectState</code> error. For information about restoring archived objects,
|
|
91
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html">Restoring
|
|
92
|
+
* Archived Objects</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
93
|
+
* <p>
|
|
94
|
+
* <b>Directory buckets </b> - For directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects.
|
|
95
|
+
* Unsupported storage class values won't write a destination object and will respond with the HTTP status code <code>400 Bad Request</code>.</p>
|
|
115
96
|
* </dd>
|
|
116
|
-
* <dt>
|
|
97
|
+
* <dt>Encryption</dt>
|
|
117
98
|
* <dd>
|
|
118
|
-
* <p>
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* <
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
99
|
+
* <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>, should not
|
|
100
|
+
* be sent for the <code>GetObject</code> requests, if your object uses server-side encryption with Amazon S3 managed encryption keys (SSE-S3), server-side encryption with Key Management Service (KMS)
|
|
101
|
+
* keys (SSE-KMS), or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you include the header in your <code>GetObject</code> requests for the object that uses
|
|
102
|
+
* these types of keys, you’ll get an HTTP <code>400 Bad Request</code> error.</p>
|
|
103
|
+
* </dd>
|
|
104
|
+
* <dt>Overriding response header values through the request</dt>
|
|
105
|
+
* <dd>
|
|
106
|
+
* <p>There are times when you want to override certain response header values of a
|
|
107
|
+
* <code>GetObject</code> response. For example, you might override the
|
|
108
|
+
* <code>Content-Disposition</code> response header value through your <code>GetObject</code>
|
|
109
|
+
* request.</p>
|
|
110
|
+
* <p>You can override values for a set of response headers. These modified response header values are included only in a successful response, that is, when the HTTP status code <code>200 OK</code> is returned.
|
|
111
|
+
* The headers you can override using the following query parameters in the request are a subset of the headers that Amazon S3 accepts when you create an object.
|
|
112
|
+
* </p>
|
|
113
|
+
* <p>The response headers that you can override for the
|
|
114
|
+
* <code>GetObject</code> response are <code>Cache-Control</code>, <code>Content-Disposition</code>,
|
|
115
|
+
* <code>Content-Encoding</code>, <code>Content-Language</code>, <code>Content-Type</code>, and <code>Expires</code>.</p>
|
|
116
|
+
* <p>To override values for a set of response headers in the
|
|
117
|
+
* <code>GetObject</code> response, you can use the following query
|
|
118
|
+
* parameters in the request.</p>
|
|
134
119
|
* <ul>
|
|
135
120
|
* <li>
|
|
136
121
|
* <p>
|
|
137
|
-
* <code>response-
|
|
122
|
+
* <code>response-cache-control</code>
|
|
138
123
|
* </p>
|
|
139
124
|
* </li>
|
|
140
125
|
* <li>
|
|
141
126
|
* <p>
|
|
142
|
-
* <code>response-content-
|
|
127
|
+
* <code>response-content-disposition</code>
|
|
143
128
|
* </p>
|
|
144
129
|
* </li>
|
|
145
130
|
* <li>
|
|
146
131
|
* <p>
|
|
147
|
-
* <code>response-
|
|
132
|
+
* <code>response-content-encoding</code>
|
|
148
133
|
* </p>
|
|
149
134
|
* </li>
|
|
150
135
|
* <li>
|
|
151
136
|
* <p>
|
|
152
|
-
* <code>response-
|
|
137
|
+
* <code>response-content-language</code>
|
|
153
138
|
* </p>
|
|
154
139
|
* </li>
|
|
155
140
|
* <li>
|
|
156
141
|
* <p>
|
|
157
|
-
* <code>response-content-
|
|
142
|
+
* <code>response-content-type</code>
|
|
158
143
|
* </p>
|
|
159
144
|
* </li>
|
|
160
145
|
* <li>
|
|
161
146
|
* <p>
|
|
162
|
-
* <code>response-
|
|
147
|
+
* <code>response-expires</code>
|
|
163
148
|
* </p>
|
|
164
149
|
* </li>
|
|
165
150
|
* </ul>
|
|
151
|
+
* <note>
|
|
152
|
+
* <p>When you use these parameters, you must sign the request by using either an Authorization header or a
|
|
153
|
+
* presigned URL. These parameters cannot be used with an
|
|
154
|
+
* unsigned (anonymous) request.</p>
|
|
155
|
+
* </note>
|
|
166
156
|
* </dd>
|
|
167
|
-
* <dt>
|
|
157
|
+
* <dt>HTTP Host header syntax</dt>
|
|
168
158
|
* <dd>
|
|
169
|
-
* <p>
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* <code>false</code>; then, S3 returns 200 OK and the data requested. </p>
|
|
173
|
-
* <p>If both of the <code>If-None-Match</code> and <code>If-Modified-Since</code> headers are
|
|
174
|
-
* present in the request as follows:<code> If-None-Match</code> condition evaluates to
|
|
175
|
-
* <code>false</code>, and; <code>If-Modified-Since</code> condition evaluates to
|
|
176
|
-
* <code>true</code>; then, S3 returns 304 Not Modified response code.</p>
|
|
177
|
-
* <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>.</p>
|
|
159
|
+
* <p>
|
|
160
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
161
|
+
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
178
162
|
* </dd>
|
|
179
163
|
* </dl>
|
|
180
164
|
* <p>The following operations are related to <code>GetObject</code>:</p>
|
|
@@ -252,9 +236,9 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectOu
|
|
|
252
236
|
* // SSECustomerKeyMD5: "STRING_VALUE",
|
|
253
237
|
* // SSEKMSKeyId: "STRING_VALUE",
|
|
254
238
|
* // BucketKeyEnabled: true || false,
|
|
255
|
-
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
239
|
+
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
256
240
|
* // RequestCharged: "requester",
|
|
257
|
-
* // ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA",
|
|
241
|
+
* // ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED",
|
|
258
242
|
* // PartsCount: Number("int"),
|
|
259
243
|
* // TagCount: Number("int"),
|
|
260
244
|
* // ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
|
|
@@ -272,6 +256,13 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectOu
|
|
|
272
256
|
*
|
|
273
257
|
* @throws {@link InvalidObjectState} (client fault)
|
|
274
258
|
* <p>Object is archived and inaccessible until restored.</p>
|
|
259
|
+
* <p>If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the
|
|
260
|
+
* S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the
|
|
261
|
+
* S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a
|
|
262
|
+
* copy using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html">RestoreObject</a>. Otherwise, this operation returns an
|
|
263
|
+
* <code>InvalidObjectState</code> error. For information about restoring archived objects,
|
|
264
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html">Restoring
|
|
265
|
+
* Archived Objects</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
275
266
|
*
|
|
276
267
|
* @throws {@link NoSuchKey} (client fault)
|
|
277
268
|
* <p>The specified key does not exist.</p>
|
|
@@ -279,53 +270,53 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectOu
|
|
|
279
270
|
* @throws {@link S3ServiceException}
|
|
280
271
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
281
272
|
*
|
|
282
|
-
* @example To retrieve
|
|
273
|
+
* @example To retrieve an object
|
|
283
274
|
* ```javascript
|
|
284
|
-
* // The following example retrieves an object for an S3 bucket.
|
|
275
|
+
* // The following example retrieves an object for an S3 bucket.
|
|
285
276
|
* const input = {
|
|
286
277
|
* "Bucket": "examplebucket",
|
|
287
|
-
* "Key": "
|
|
288
|
-
* "Range": "bytes=0-9"
|
|
278
|
+
* "Key": "HappyFace.jpg"
|
|
289
279
|
* };
|
|
290
280
|
* const command = new GetObjectCommand(input);
|
|
291
281
|
* const response = await client.send(command);
|
|
292
282
|
* /* response ==
|
|
293
283
|
* {
|
|
294
284
|
* "AcceptRanges": "bytes",
|
|
295
|
-
* "ContentLength": "
|
|
296
|
-
* "
|
|
297
|
-
* "
|
|
298
|
-
* "
|
|
299
|
-
* "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
|
|
285
|
+
* "ContentLength": "3191",
|
|
286
|
+
* "ContentType": "image/jpeg",
|
|
287
|
+
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
288
|
+
* "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
|
|
300
289
|
* "Metadata": {},
|
|
290
|
+
* "TagCount": 2,
|
|
301
291
|
* "VersionId": "null"
|
|
302
292
|
* }
|
|
303
293
|
* *\/
|
|
304
|
-
* // example id: to-retrieve-
|
|
294
|
+
* // example id: to-retrieve-an-object-1481827837012
|
|
305
295
|
* ```
|
|
306
296
|
*
|
|
307
|
-
* @example To retrieve an object
|
|
297
|
+
* @example To retrieve a byte range of an object
|
|
308
298
|
* ```javascript
|
|
309
|
-
* // The following example retrieves an object for an S3 bucket.
|
|
299
|
+
* // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
|
|
310
300
|
* const input = {
|
|
311
301
|
* "Bucket": "examplebucket",
|
|
312
|
-
* "Key": "
|
|
302
|
+
* "Key": "SampleFile.txt",
|
|
303
|
+
* "Range": "bytes=0-9"
|
|
313
304
|
* };
|
|
314
305
|
* const command = new GetObjectCommand(input);
|
|
315
306
|
* const response = await client.send(command);
|
|
316
307
|
* /* response ==
|
|
317
308
|
* {
|
|
318
309
|
* "AcceptRanges": "bytes",
|
|
319
|
-
* "ContentLength": "
|
|
320
|
-
* "
|
|
321
|
-
* "
|
|
322
|
-
* "
|
|
310
|
+
* "ContentLength": "10",
|
|
311
|
+
* "ContentRange": "bytes 0-9/43",
|
|
312
|
+
* "ContentType": "text/plain",
|
|
313
|
+
* "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
|
|
314
|
+
* "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
|
|
323
315
|
* "Metadata": {},
|
|
324
|
-
* "TagCount": 2,
|
|
325
316
|
* "VersionId": "null"
|
|
326
317
|
* }
|
|
327
318
|
* *\/
|
|
328
|
-
* // example id: to-retrieve-an-object
|
|
319
|
+
* // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
|
|
329
320
|
* ```
|
|
330
321
|
*
|
|
331
322
|
*/
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts
CHANGED
|
@@ -23,9 +23,12 @@ export interface GetObjectLegalHoldCommandOutput extends GetObjectLegalHoldOutpu
|
|
|
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>Gets an object's current legal hold status. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
|
|
27
30
|
* Objects</a>.</p>
|
|
28
|
-
* <p>This
|
|
31
|
+
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
29
32
|
* <p>The following action is related to <code>GetObjectLegalHold</code>:</p>
|
|
30
33
|
* <ul>
|
|
31
34
|
* <li>
|
|
@@ -23,7 +23,10 @@ export interface GetObjectLockConfigurationCommandOutput extends GetObjectLockCo
|
|
|
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>Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock
|
|
27
30
|
* configuration will be applied by default to every new object placed in the specified
|
|
28
31
|
* bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.</p>
|
|
29
32
|
* <p>The following action is related to <code>GetObjectLockConfiguration</code>:</p>
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts
CHANGED
|
@@ -23,9 +23,12 @@ export interface GetObjectRetentionCommandOutput extends GetObjectRetentionOutpu
|
|
|
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>Retrieves an object's retention settings. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
|
|
27
30
|
* Objects</a>.</p>
|
|
28
|
-
* <p>This
|
|
31
|
+
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
29
32
|
* <p>The following action is related to <code>GetObjectRetention</code>:</p>
|
|
30
33
|
* <ul>
|
|
31
34
|
* <li>
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts
CHANGED
|
@@ -23,7 +23,10 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
|
|
|
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>Returns the tag-set of an object. You send the GET request against the tagging
|
|
27
30
|
* subresource associated with the object.</p>
|
|
28
31
|
* <p>To use this operation, you must have permission to perform the
|
|
29
32
|
* <code>s3:GetObjectTagging</code> action. By default, the GET action returns information
|
|
@@ -88,13 +91,12 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
|
|
|
88
91
|
* @throws {@link S3ServiceException}
|
|
89
92
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
90
93
|
*
|
|
91
|
-
* @example To retrieve tag set of
|
|
94
|
+
* @example To retrieve tag set of an object
|
|
92
95
|
* ```javascript
|
|
93
|
-
* // The following example retrieves tag set of an object.
|
|
96
|
+
* // The following example retrieves tag set of an object.
|
|
94
97
|
* const input = {
|
|
95
98
|
* "Bucket": "examplebucket",
|
|
96
|
-
* "Key": "
|
|
97
|
-
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
99
|
+
* "Key": "HappyFace.jpg"
|
|
98
100
|
* };
|
|
99
101
|
* const command = new GetObjectTaggingCommand(input);
|
|
100
102
|
* const response = await client.send(command);
|
|
@@ -102,22 +104,27 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
|
|
|
102
104
|
* {
|
|
103
105
|
* "TagSet": [
|
|
104
106
|
* {
|
|
105
|
-
* "Key": "
|
|
106
|
-
* "Value": "
|
|
107
|
+
* "Key": "Key4",
|
|
108
|
+
* "Value": "Value4"
|
|
109
|
+
* },
|
|
110
|
+
* {
|
|
111
|
+
* "Key": "Key3",
|
|
112
|
+
* "Value": "Value3"
|
|
107
113
|
* }
|
|
108
114
|
* ],
|
|
109
|
-
* "VersionId": "
|
|
115
|
+
* "VersionId": "null"
|
|
110
116
|
* }
|
|
111
117
|
* *\/
|
|
112
|
-
* // example id: to-retrieve-tag-set-of-
|
|
118
|
+
* // example id: to-retrieve-tag-set-of-an-object-1481833847896
|
|
113
119
|
* ```
|
|
114
120
|
*
|
|
115
|
-
* @example To retrieve tag set of
|
|
121
|
+
* @example To retrieve tag set of a specific object version
|
|
116
122
|
* ```javascript
|
|
117
|
-
* // The following example retrieves tag set of an object.
|
|
123
|
+
* // The following example retrieves tag set of an object. The request specifies object version.
|
|
118
124
|
* const input = {
|
|
119
125
|
* "Bucket": "examplebucket",
|
|
120
|
-
* "Key": "
|
|
126
|
+
* "Key": "exampleobject",
|
|
127
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
121
128
|
* };
|
|
122
129
|
* const command = new GetObjectTaggingCommand(input);
|
|
123
130
|
* const response = await client.send(command);
|
|
@@ -125,18 +132,14 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
|
|
|
125
132
|
* {
|
|
126
133
|
* "TagSet": [
|
|
127
134
|
* {
|
|
128
|
-
* "Key": "
|
|
129
|
-
* "Value": "
|
|
130
|
-
* },
|
|
131
|
-
* {
|
|
132
|
-
* "Key": "Key3",
|
|
133
|
-
* "Value": "Value3"
|
|
135
|
+
* "Key": "Key1",
|
|
136
|
+
* "Value": "Value1"
|
|
134
137
|
* }
|
|
135
138
|
* ],
|
|
136
|
-
* "VersionId": "
|
|
139
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
137
140
|
* }
|
|
138
141
|
* *\/
|
|
139
|
-
* // example id: to-retrieve-tag-set-of-
|
|
142
|
+
* // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
|
|
140
143
|
* ```
|
|
141
144
|
*
|
|
142
145
|
*/
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
4
4
|
import { GetObjectTorrentOutput, GetObjectTorrentRequest } from "../models/models_0";
|
|
5
5
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
6
|
/**
|
|
@@ -19,11 +19,15 @@ export interface GetObjectTorrentCommandInput extends GetObjectTorrentRequest {
|
|
|
19
19
|
*
|
|
20
20
|
* The output of {@link GetObjectTorrentCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface GetObjectTorrentCommandOutput extends
|
|
22
|
+
export interface GetObjectTorrentCommandOutput extends Omit<GetObjectTorrentOutput, "Body">, __MetadataBearer {
|
|
23
|
+
Body?: StreamingBlobPayloadOutputTypes;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
26
|
* @public
|
|
26
|
-
* <
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
29
|
+
* </note>
|
|
30
|
+
* <p>Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're
|
|
27
31
|
* distributing large files.</p>
|
|
28
32
|
* <note>
|
|
29
33
|
* <p>You can get torrent only for objects that are less than 5 GB in size, and that are
|
|
@@ -31,7 +35,7 @@ export interface GetObjectTorrentCommandOutput extends __WithSdkStreamMixin<GetO
|
|
|
31
35
|
* key.</p>
|
|
32
36
|
* </note>
|
|
33
37
|
* <p>To use GET, you must have READ access to the object.</p>
|
|
34
|
-
* <p>This
|
|
38
|
+
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
35
39
|
* <p>The following action is related to <code>GetObjectTorrent</code>:</p>
|
|
36
40
|
* <ul>
|
|
37
41
|
* <li>
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts
CHANGED
|
@@ -23,7 +23,10 @@ export interface GetPublicAccessBlockCommandOutput extends GetPublicAccessBlockO
|
|
|
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>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket. To use
|
|
27
30
|
* this operation, you must have the <code>s3:GetBucketPublicAccessBlock</code> permission.
|
|
28
31
|
* 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>
|