@tachybase/module-file 1.3.17 → 1.3.19
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 +8 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +14 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +5 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +2 -3
- 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/models/models_0.js +31 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +22 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +210 -66
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +15 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +2 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +5 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +13 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +27 -21
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +41 -21
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +37 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +28 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +6 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +8 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +10 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +10 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +8 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +8 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +8 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +22 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +12 -13
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +44 -46
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +10 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +10 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +14 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +7 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +14 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +8 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +14 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +10 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +7 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +9 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +30 -30
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +31 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +49 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +26 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +19 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +11 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +22 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +23 -15
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +4 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +77 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +37 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +35 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +29 -28
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +38 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +24 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +21 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +7 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +22 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +31 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +12 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +12 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +18 -15
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +11 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +15 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +13 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +15 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +17 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +96 -81
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +14 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +144 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +21 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +17 -15
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +27 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +5 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +28 -30
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +576 -300
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +351 -121
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +32 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +26 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +34 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +5 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +17 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +7 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
- 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 +1 -1
- 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/PutObjectLockConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +37 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +49 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +36 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +50 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +40 -40
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +70 -51
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -6
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/.bin/uuid +21 -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 -14
- package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
- package/dist/node_modules/multer-cos/index.js +16 -16
- package/dist/node_modules/multer-cos/package.json +1 -1
- package/dist/node_modules/multer-s3/index.js +3 -3
- package/dist/node_modules/multer-s3/package.json +1 -1
- package/package.json +12 -12
|
@@ -23,7 +23,7 @@ export interface GetObjectAclCommandOutput extends GetObjectAclOutput, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetObjectAclCommand_base: {
|
|
25
25
|
new (input: GetObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectAclCommandInput, GetObjectAclCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectAclCommandInput, GetObjectAclCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -118,61 +118,61 @@ declare const GetObjectAclCommand_base: {
|
|
|
118
118
|
* @throws {@link S3ServiceException}
|
|
119
119
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
120
120
|
*
|
|
121
|
-
*
|
|
121
|
+
*
|
|
122
122
|
* @example To retrieve object ACL
|
|
123
123
|
* ```javascript
|
|
124
124
|
* // The following example retrieves access control list (ACL) of an object.
|
|
125
125
|
* const input = {
|
|
126
|
-
*
|
|
127
|
-
*
|
|
126
|
+
* Bucket: "examplebucket",
|
|
127
|
+
* Key: "HappyFace.jpg"
|
|
128
128
|
* };
|
|
129
129
|
* const command = new GetObjectAclCommand(input);
|
|
130
130
|
* const response = await client.send(command);
|
|
131
|
-
* /* response
|
|
131
|
+
* /* response is
|
|
132
132
|
* {
|
|
133
|
-
*
|
|
133
|
+
* Grants: [
|
|
134
134
|
* {
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
135
|
+
* Grantee: {
|
|
136
|
+
* DisplayName: "owner-display-name",
|
|
137
|
+
* ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
|
138
|
+
* Type: "CanonicalUser"
|
|
139
139
|
* },
|
|
140
|
-
*
|
|
140
|
+
* Permission: "WRITE"
|
|
141
141
|
* },
|
|
142
142
|
* {
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
143
|
+
* Grantee: {
|
|
144
|
+
* DisplayName: "owner-display-name",
|
|
145
|
+
* ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
|
146
|
+
* Type: "CanonicalUser"
|
|
147
147
|
* },
|
|
148
|
-
*
|
|
148
|
+
* Permission: "WRITE_ACP"
|
|
149
149
|
* },
|
|
150
150
|
* {
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
151
|
+
* Grantee: {
|
|
152
|
+
* DisplayName: "owner-display-name",
|
|
153
|
+
* ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
|
154
|
+
* Type: "CanonicalUser"
|
|
155
155
|
* },
|
|
156
|
-
*
|
|
156
|
+
* Permission: "READ"
|
|
157
157
|
* },
|
|
158
158
|
* {
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
159
|
+
* Grantee: {
|
|
160
|
+
* DisplayName: "owner-display-name",
|
|
161
|
+
* ID: "852b113eexamplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
|
|
162
|
+
* Type: "CanonicalUser"
|
|
163
163
|
* },
|
|
164
|
-
*
|
|
164
|
+
* Permission: "READ_ACP"
|
|
165
165
|
* }
|
|
166
166
|
* ],
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
167
|
+
* Owner: {
|
|
168
|
+
* DisplayName: "owner-display-name",
|
|
169
|
+
* ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
170
170
|
* }
|
|
171
171
|
* }
|
|
172
172
|
* *\/
|
|
173
|
-
* // example id: to-retrieve-object-acl-1481833557740
|
|
174
173
|
* ```
|
|
175
174
|
*
|
|
175
|
+
* @public
|
|
176
176
|
*/
|
|
177
177
|
export declare class GetObjectAclCommand extends GetObjectAclCommand_base {
|
|
178
178
|
/** @internal type navigation helper, not in runtime. */
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts
CHANGED
|
@@ -23,22 +23,22 @@ export interface GetObjectAttributesCommandOutput extends GetObjectAttributesOut
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetObjectAttributesCommand_base: {
|
|
25
25
|
new (input: GetObjectAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetObjectAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves all the metadata from an object without returning the object itself. This
|
|
30
|
+
* <p>Retrieves all of the metadata from an object without returning the object itself. This
|
|
31
31
|
* operation is useful if you're interested only in an object's metadata. </p>
|
|
32
32
|
* <p>
|
|
33
33
|
* <code>GetObjectAttributes</code> combines the functionality of <code>HeadObject</code>
|
|
34
|
-
* and <code>ListParts</code>. All of the data returned with
|
|
34
|
+
* and <code>ListParts</code>. All of the data returned with both of those individual calls
|
|
35
35
|
* can be returned with a single call to <code>GetObjectAttributes</code>.</p>
|
|
36
36
|
* <note>
|
|
37
37
|
* <p>
|
|
38
38
|
* <b>Directory buckets</b> -
|
|
39
|
-
* 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
|
|
40
|
-
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
41
|
-
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">
|
|
39
|
+
* 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>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
40
|
+
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
41
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
|
|
42
42
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
43
43
|
* </note>
|
|
44
44
|
* <dl>
|
|
@@ -48,16 +48,24 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
48
48
|
* <li>
|
|
49
49
|
* <p>
|
|
50
50
|
* <b>General purpose bucket permissions</b> - To
|
|
51
|
-
* use <code>GetObjectAttributes</code>, you must have READ access to the
|
|
52
|
-
*
|
|
53
|
-
* whether the bucket is versioned
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
51
|
+
* use <code>GetObjectAttributes</code>, you must have READ access to the object.</p>
|
|
52
|
+
* <p>The other permissions that you need to use this operation depend on
|
|
53
|
+
* whether the bucket is versioned and if a version ID is passed in the <code>GetObjectAttributes</code> request. </p>
|
|
54
|
+
* <ul>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>If you pass a version ID in your request, you need both the <code>s3:GetObjectVersion</code> and
|
|
57
|
+
* <code>s3:GetObjectVersionAttributes</code> permissions.</p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>If you do not pass a version ID in your request, you need the
|
|
57
61
|
* <code>s3:GetObject</code> and <code>s3:GetObjectAttributes</code>
|
|
58
|
-
* permissions.
|
|
62
|
+
* permissions. </p>
|
|
63
|
+
* </li>
|
|
64
|
+
* </ul>
|
|
65
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying
|
|
59
66
|
* Permissions in a Policy</a> in the
|
|
60
|
-
* <i>Amazon S3 User Guide</i
|
|
67
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
68
|
+
* <p>If the object that you request does
|
|
61
69
|
* not exist, the error Amazon S3 returns depends on whether you also have the
|
|
62
70
|
* <code>s3:ListBucket</code> permission.</p>
|
|
63
71
|
* <ul>
|
|
@@ -105,10 +113,10 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
105
113
|
* error. It's because the encryption method can't be changed when you retrieve
|
|
106
114
|
* the object.</p>
|
|
107
115
|
* </note>
|
|
108
|
-
* <p>If you
|
|
109
|
-
* encryption keys (SSE-C)
|
|
110
|
-
* the metadata from the object, you must use the following headers
|
|
111
|
-
*
|
|
116
|
+
* <p>If you encrypted an object when you stored the object in Amazon S3 by using server-side encryption with customer-provided
|
|
117
|
+
* encryption keys (SSE-C), then when you retrieve
|
|
118
|
+
* the metadata from the object, you must use the following headers. These headers provide the
|
|
119
|
+
* server with the encryption key required to retrieve the object's metadata. The
|
|
112
120
|
* headers are: </p>
|
|
113
121
|
* <ul>
|
|
114
122
|
* <li>
|
|
@@ -271,8 +279,10 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
271
279
|
* // Checksum: { // Checksum
|
|
272
280
|
* // ChecksumCRC32: "STRING_VALUE",
|
|
273
281
|
* // ChecksumCRC32C: "STRING_VALUE",
|
|
282
|
+
* // ChecksumCRC64NVME: "STRING_VALUE",
|
|
274
283
|
* // ChecksumSHA1: "STRING_VALUE",
|
|
275
284
|
* // ChecksumSHA256: "STRING_VALUE",
|
|
285
|
+
* // ChecksumType: "COMPOSITE" || "FULL_OBJECT",
|
|
276
286
|
* // },
|
|
277
287
|
* // ObjectParts: { // GetObjectAttributesParts
|
|
278
288
|
* // TotalPartsCount: Number("int"),
|
|
@@ -286,12 +296,13 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
286
296
|
* // Size: Number("long"),
|
|
287
297
|
* // ChecksumCRC32: "STRING_VALUE",
|
|
288
298
|
* // ChecksumCRC32C: "STRING_VALUE",
|
|
299
|
+
* // ChecksumCRC64NVME: "STRING_VALUE",
|
|
289
300
|
* // ChecksumSHA1: "STRING_VALUE",
|
|
290
301
|
* // ChecksumSHA256: "STRING_VALUE",
|
|
291
302
|
* // },
|
|
292
303
|
* // ],
|
|
293
304
|
* // },
|
|
294
|
-
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
305
|
+
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS",
|
|
295
306
|
* // ObjectSize: Number("long"),
|
|
296
307
|
* // };
|
|
297
308
|
*
|
|
@@ -309,6 +320,7 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
309
320
|
* @throws {@link S3ServiceException}
|
|
310
321
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
311
322
|
*
|
|
323
|
+
*
|
|
312
324
|
* @public
|
|
313
325
|
*/
|
|
314
326
|
export declare class GetObjectAttributesCommand extends GetObjectAttributesCommand_base {
|
|
@@ -24,7 +24,7 @@ export interface GetObjectCommandOutput extends Omit<GetObjectOutput, "Body">, _
|
|
|
24
24
|
}
|
|
25
25
|
declare const GetObjectCommand_base: {
|
|
26
26
|
new (input: GetObjectCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectCommandInput, GetObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (
|
|
27
|
+
new (input: GetObjectCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectCommandInput, GetObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -42,9 +42,9 @@ declare const GetObjectCommand_base: {
|
|
|
42
42
|
* Header Bucket Specification</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
43
43
|
* <p>
|
|
44
44
|
* <b>Directory buckets</b> -
|
|
45
|
-
* 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>
|
|
46
|
-
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
47
|
-
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">
|
|
45
|
+
* 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>amzn-s3-demo-bucket--usw2-az1--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>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
46
|
+
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
47
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
|
|
48
48
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
49
49
|
* <dl>
|
|
50
50
|
* <dt>Permissions</dt>
|
|
@@ -112,7 +112,7 @@ declare const GetObjectCommand_base: {
|
|
|
112
112
|
* Objects</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
113
113
|
* <p>
|
|
114
114
|
* <b>Directory buckets </b> -
|
|
115
|
-
*
|
|
115
|
+
* Directory buckets only support <code>EXPRESS_ONEZONE</code> (the S3 Express One Zone storage class) in Availability Zones and <code>ONEZONE_IA</code> (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
|
116
116
|
* Unsupported storage class values won't write a destination object and will respond with the HTTP status code <code>400 Bad Request</code>.</p>
|
|
117
117
|
* </dd>
|
|
118
118
|
* <dt>Encryption</dt>
|
|
@@ -235,6 +235,11 @@ declare const GetObjectCommand_base: {
|
|
|
235
235
|
* };
|
|
236
236
|
* const command = new GetObjectCommand(input);
|
|
237
237
|
* const response = await client.send(command);
|
|
238
|
+
* // consume or destroy the stream to free the socket.
|
|
239
|
+
* const bytes = await response.Body.transformToByteArray();
|
|
240
|
+
* // const str = await response.Body.transformToString();
|
|
241
|
+
* // response.Body.destroy(); // only applicable to Node.js Readable streams.
|
|
242
|
+
*
|
|
238
243
|
* // { // GetObjectOutput
|
|
239
244
|
* // Body: "<SdkStream>", // see \@smithy/types -> StreamingBlobPayloadOutputTypes
|
|
240
245
|
* // DeleteMarker: true || false,
|
|
@@ -246,8 +251,10 @@ declare const GetObjectCommand_base: {
|
|
|
246
251
|
* // ETag: "STRING_VALUE",
|
|
247
252
|
* // ChecksumCRC32: "STRING_VALUE",
|
|
248
253
|
* // ChecksumCRC32C: "STRING_VALUE",
|
|
254
|
+
* // ChecksumCRC64NVME: "STRING_VALUE",
|
|
249
255
|
* // ChecksumSHA1: "STRING_VALUE",
|
|
250
256
|
* // ChecksumSHA256: "STRING_VALUE",
|
|
257
|
+
* // ChecksumType: "COMPOSITE" || "FULL_OBJECT",
|
|
251
258
|
* // MissingMeta: Number("int"),
|
|
252
259
|
* // VersionId: "STRING_VALUE",
|
|
253
260
|
* // CacheControl: "STRING_VALUE",
|
|
@@ -259,7 +266,7 @@ declare const GetObjectCommand_base: {
|
|
|
259
266
|
* // Expires: new Date("TIMESTAMP"),
|
|
260
267
|
* // ExpiresString: "STRING_VALUE",
|
|
261
268
|
* // WebsiteRedirectLocation: "STRING_VALUE",
|
|
262
|
-
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
269
|
+
* // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse",
|
|
263
270
|
* // Metadata: { // Metadata
|
|
264
271
|
* // "<keys>": "STRING_VALUE",
|
|
265
272
|
* // },
|
|
@@ -267,7 +274,7 @@ declare const GetObjectCommand_base: {
|
|
|
267
274
|
* // SSECustomerKeyMD5: "STRING_VALUE",
|
|
268
275
|
* // SSEKMSKeyId: "STRING_VALUE",
|
|
269
276
|
* // BucketKeyEnabled: true || false,
|
|
270
|
-
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
277
|
+
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS",
|
|
271
278
|
* // RequestCharged: "requester",
|
|
272
279
|
* // ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED",
|
|
273
280
|
* // PartsCount: Number("int"),
|
|
@@ -301,56 +308,65 @@ declare const GetObjectCommand_base: {
|
|
|
301
308
|
* @throws {@link S3ServiceException}
|
|
302
309
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
303
310
|
*
|
|
304
|
-
*
|
|
311
|
+
*
|
|
305
312
|
* @example To retrieve a byte range of an object
|
|
306
313
|
* ```javascript
|
|
307
314
|
* // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
|
|
308
315
|
* const input = {
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
*
|
|
316
|
+
* Bucket: "examplebucket",
|
|
317
|
+
* Key: "SampleFile.txt",
|
|
318
|
+
* Range: "bytes=0-9"
|
|
312
319
|
* };
|
|
313
320
|
* const command = new GetObjectCommand(input);
|
|
314
321
|
* const response = await client.send(command);
|
|
315
|
-
*
|
|
322
|
+
* // consume or destroy the stream to free the socket.
|
|
323
|
+
* const bytes = await response.Body.transformToByteArray();
|
|
324
|
+
* // const str = await response.Body.transformToString();
|
|
325
|
+
* // response.Body.destroy(); // only applicable to Node.js Readable streams.
|
|
326
|
+
*
|
|
327
|
+
* /* response is
|
|
316
328
|
* {
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
329
|
+
* AcceptRanges: "bytes",
|
|
330
|
+
* ContentLength: 10,
|
|
331
|
+
* ContentRange: "bytes 0-9/43",
|
|
332
|
+
* ContentType: "text/plain",
|
|
333
|
+
* ETag: `"0d94420ffd0bc68cd3d152506b97a9cc"`,
|
|
334
|
+
* LastModified: "2014-10-09T22:57:28.000Z",
|
|
335
|
+
* Metadata: { /* empty *\/ },
|
|
336
|
+
* VersionId: "null"
|
|
325
337
|
* }
|
|
326
338
|
* *\/
|
|
327
|
-
* // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
|
|
328
339
|
* ```
|
|
329
340
|
*
|
|
330
341
|
* @example To retrieve an object
|
|
331
342
|
* ```javascript
|
|
332
343
|
* // The following example retrieves an object for an S3 bucket.
|
|
333
344
|
* const input = {
|
|
334
|
-
*
|
|
335
|
-
*
|
|
345
|
+
* Bucket: "examplebucket",
|
|
346
|
+
* Key: "HappyFace.jpg"
|
|
336
347
|
* };
|
|
337
348
|
* const command = new GetObjectCommand(input);
|
|
338
349
|
* const response = await client.send(command);
|
|
339
|
-
*
|
|
350
|
+
* // consume or destroy the stream to free the socket.
|
|
351
|
+
* const bytes = await response.Body.transformToByteArray();
|
|
352
|
+
* // const str = await response.Body.transformToString();
|
|
353
|
+
* // response.Body.destroy(); // only applicable to Node.js Readable streams.
|
|
354
|
+
*
|
|
355
|
+
* /* response is
|
|
340
356
|
* {
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
*
|
|
348
|
-
*
|
|
357
|
+
* AcceptRanges: "bytes",
|
|
358
|
+
* ContentLength: 3191,
|
|
359
|
+
* ContentType: "image/jpeg",
|
|
360
|
+
* ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
|
|
361
|
+
* LastModified: "2016-12-15T01:19:41.000Z",
|
|
362
|
+
* Metadata: { /* empty *\/ },
|
|
363
|
+
* TagCount: 2,
|
|
364
|
+
* VersionId: "null"
|
|
349
365
|
* }
|
|
350
366
|
* *\/
|
|
351
|
-
* // example id: to-retrieve-an-object-1481827837012
|
|
352
367
|
* ```
|
|
353
368
|
*
|
|
369
|
+
* @public
|
|
354
370
|
*/
|
|
355
371
|
export declare class GetObjectCommand extends GetObjectCommand_base {
|
|
356
372
|
/** @internal type navigation helper, not in runtime. */
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface GetObjectLegalHoldCommandOutput extends GetObjectLegalHoldOutpu
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetObjectLegalHoldCommand_base: {
|
|
25
25
|
new (input: GetObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -73,6 +73,7 @@ declare const GetObjectLegalHoldCommand_base: {
|
|
|
73
73
|
* @throws {@link S3ServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class GetObjectLegalHoldCommand extends GetObjectLegalHoldCommand_base {
|
|
@@ -23,7 +23,7 @@ export interface GetObjectLockConfigurationCommandOutput extends GetObjectLockCo
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetObjectLockConfigurationCommand_base: {
|
|
25
25
|
new (input: GetObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectLockConfigurationCommandInput, GetObjectLockConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectLockConfigurationCommandInput, GetObjectLockConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -77,6 +77,7 @@ declare const GetObjectLockConfigurationCommand_base: {
|
|
|
77
77
|
* @throws {@link S3ServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class GetObjectLockConfigurationCommand extends GetObjectLockConfigurationCommand_base {
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface GetObjectRetentionCommandOutput extends GetObjectRetentionOutpu
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetObjectRetentionCommand_base: {
|
|
25
25
|
new (input: GetObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectRetentionCommandInput, GetObjectRetentionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectRetentionCommandInput, GetObjectRetentionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -74,6 +74,7 @@ declare const GetObjectRetentionCommand_base: {
|
|
|
74
74
|
* @throws {@link S3ServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class GetObjectRetentionCommand extends GetObjectRetentionCommand_base {
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetObjectTaggingCommand_base: {
|
|
25
25
|
new (input: GetObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectTaggingCommandInput, GetObjectTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectTaggingCommandInput, GetObjectTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -95,58 +95,57 @@ declare const GetObjectTaggingCommand_base: {
|
|
|
95
95
|
* @throws {@link S3ServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
97
97
|
*
|
|
98
|
-
*
|
|
99
|
-
* @example To retrieve tag set of
|
|
98
|
+
*
|
|
99
|
+
* @example To retrieve tag set of a specific object version
|
|
100
100
|
* ```javascript
|
|
101
|
-
* // The following example retrieves tag set of an object.
|
|
101
|
+
* // The following example retrieves tag set of an object. The request specifies object version.
|
|
102
102
|
* const input = {
|
|
103
|
-
*
|
|
104
|
-
*
|
|
103
|
+
* Bucket: "examplebucket",
|
|
104
|
+
* Key: "exampleobject",
|
|
105
|
+
* VersionId: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
105
106
|
* };
|
|
106
107
|
* const command = new GetObjectTaggingCommand(input);
|
|
107
108
|
* const response = await client.send(command);
|
|
108
|
-
* /* response
|
|
109
|
+
* /* response is
|
|
109
110
|
* {
|
|
110
|
-
*
|
|
111
|
-
* {
|
|
112
|
-
* "Key": "Key4",
|
|
113
|
-
* "Value": "Value4"
|
|
114
|
-
* },
|
|
111
|
+
* TagSet: [
|
|
115
112
|
* {
|
|
116
|
-
*
|
|
117
|
-
*
|
|
113
|
+
* Key: "Key1",
|
|
114
|
+
* Value: "Value1"
|
|
118
115
|
* }
|
|
119
116
|
* ],
|
|
120
|
-
*
|
|
117
|
+
* VersionId: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
121
118
|
* }
|
|
122
119
|
* *\/
|
|
123
|
-
* // example id: to-retrieve-tag-set-of-an-object-1481833847896
|
|
124
120
|
* ```
|
|
125
121
|
*
|
|
126
|
-
* @example To retrieve tag set of
|
|
122
|
+
* @example To retrieve tag set of an object
|
|
127
123
|
* ```javascript
|
|
128
|
-
* // The following example retrieves tag set of an object.
|
|
124
|
+
* // The following example retrieves tag set of an object.
|
|
129
125
|
* const input = {
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
126
|
+
* Bucket: "examplebucket",
|
|
127
|
+
* Key: "HappyFace.jpg"
|
|
133
128
|
* };
|
|
134
129
|
* const command = new GetObjectTaggingCommand(input);
|
|
135
130
|
* const response = await client.send(command);
|
|
136
|
-
* /* response
|
|
131
|
+
* /* response is
|
|
137
132
|
* {
|
|
138
|
-
*
|
|
133
|
+
* TagSet: [
|
|
134
|
+
* {
|
|
135
|
+
* Key: "Key4",
|
|
136
|
+
* Value: "Value4"
|
|
137
|
+
* },
|
|
139
138
|
* {
|
|
140
|
-
*
|
|
141
|
-
*
|
|
139
|
+
* Key: "Key3",
|
|
140
|
+
* Value: "Value3"
|
|
142
141
|
* }
|
|
143
142
|
* ],
|
|
144
|
-
*
|
|
143
|
+
* VersionId: "null"
|
|
145
144
|
* }
|
|
146
145
|
* *\/
|
|
147
|
-
* // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
|
|
148
146
|
* ```
|
|
149
147
|
*
|
|
148
|
+
* @public
|
|
150
149
|
*/
|
|
151
150
|
export declare class GetObjectTaggingCommand extends GetObjectTaggingCommand_base {
|
|
152
151
|
/** @internal type navigation helper, not in runtime. */
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface GetObjectTorrentCommandOutput extends Omit<GetObjectTorrentOutp
|
|
|
24
24
|
}
|
|
25
25
|
declare const GetObjectTorrentCommand_base: {
|
|
26
26
|
new (input: GetObjectTorrentCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectTorrentCommandInput, GetObjectTorrentCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (
|
|
27
|
+
new (input: GetObjectTorrentCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectTorrentCommandInput, GetObjectTorrentCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -62,6 +62,11 @@ declare const GetObjectTorrentCommand_base: {
|
|
|
62
62
|
* };
|
|
63
63
|
* const command = new GetObjectTorrentCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
65
|
+
* // consume or destroy the stream to free the socket.
|
|
66
|
+
* const bytes = await response.Body.transformToByteArray();
|
|
67
|
+
* // const str = await response.Body.transformToString();
|
|
68
|
+
* // response.Body.destroy(); // only applicable to Node.js Readable streams.
|
|
69
|
+
*
|
|
65
70
|
* // { // GetObjectTorrentOutput
|
|
66
71
|
* // Body: "<SdkStream>", // see \@smithy/types -> StreamingBlobPayloadOutputTypes
|
|
67
72
|
* // RequestCharged: "requester",
|
|
@@ -78,19 +83,27 @@ declare const GetObjectTorrentCommand_base: {
|
|
|
78
83
|
* @throws {@link S3ServiceException}
|
|
79
84
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
80
85
|
*
|
|
81
|
-
*
|
|
86
|
+
*
|
|
82
87
|
* @example To retrieve torrent files for an object
|
|
83
88
|
* ```javascript
|
|
84
89
|
* // The following example retrieves torrent files of an object.
|
|
85
90
|
* const input = {
|
|
86
|
-
*
|
|
87
|
-
*
|
|
91
|
+
* Bucket: "examplebucket",
|
|
92
|
+
* Key: "HappyFace.jpg"
|
|
88
93
|
* };
|
|
89
94
|
* const command = new GetObjectTorrentCommand(input);
|
|
90
|
-
* await client.send(command);
|
|
91
|
-
* //
|
|
95
|
+
* const response = await client.send(command);
|
|
96
|
+
* // consume or destroy the stream to free the socket.
|
|
97
|
+
* const bytes = await response.Body.transformToByteArray();
|
|
98
|
+
* // const str = await response.Body.transformToString();
|
|
99
|
+
* // response.Body.destroy(); // only applicable to Node.js Readable streams.
|
|
100
|
+
*
|
|
101
|
+
* /* response is
|
|
102
|
+
* { /* empty *\/ }
|
|
103
|
+
* *\/
|
|
92
104
|
* ```
|
|
93
105
|
*
|
|
106
|
+
* @public
|
|
94
107
|
*/
|
|
95
108
|
export declare class GetObjectTorrentCommand extends GetObjectTorrentCommand_base {
|
|
96
109
|
/** @internal type navigation helper, not in runtime. */
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface GetPublicAccessBlockCommandOutput extends GetPublicAccessBlockO
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetPublicAccessBlockCommand_base: {
|
|
25
25
|
new (input: GetPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl<GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl<GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -99,6 +99,7 @@ declare const GetPublicAccessBlockCommand_base: {
|
|
|
99
99
|
* @throws {@link S3ServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
101
101
|
*
|
|
102
|
+
*
|
|
102
103
|
* @public
|
|
103
104
|
*/
|
|
104
105
|
export declare class GetPublicAccessBlockCommand extends GetPublicAccessBlockCommand_base {
|