@aws-sdk/client-s3 3.289.0 → 3.290.0

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.
Files changed (94) hide show
  1. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +4 -0
  2. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -0
  3. package/dist-types/commands/CopyObjectCommand.d.ts +5 -0
  4. package/dist-types/commands/CreateBucketCommand.d.ts +11 -0
  5. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +1 -0
  6. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -0
  7. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -0
  8. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -0
  9. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -0
  10. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  11. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +1 -0
  13. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -0
  14. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -0
  15. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -0
  17. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -0
  19. package/dist-types/commands/DeleteObjectCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -0
  21. package/dist-types/commands/DeleteObjectsCommand.d.ts +1 -0
  22. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -0
  23. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -0
  24. package/dist-types/commands/GetBucketAclCommand.d.ts +1 -0
  25. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -0
  26. package/dist-types/commands/GetBucketCorsCommand.d.ts +1 -0
  27. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -0
  28. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  29. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -0
  30. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -0
  31. package/dist-types/commands/GetBucketLocationCommand.d.ts +1 -0
  32. package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -0
  33. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -0
  34. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -0
  35. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -0
  36. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -0
  37. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -0
  38. package/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -0
  39. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -0
  40. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -0
  41. package/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -0
  42. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -0
  43. package/dist-types/commands/GetObjectAclCommand.d.ts +4 -0
  44. package/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -0
  45. package/dist-types/commands/GetObjectCommand.d.ts +7 -0
  46. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -0
  47. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -0
  48. package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -0
  49. package/dist-types/commands/GetObjectTaggingCommand.d.ts +1 -0
  50. package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -0
  51. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -0
  52. package/dist-types/commands/HeadBucketCommand.d.ts +4 -0
  53. package/dist-types/commands/HeadObjectCommand.d.ts +4 -0
  54. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -0
  55. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
  56. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -0
  57. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -0
  58. package/dist-types/commands/ListBucketsCommand.d.ts +1 -0
  59. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -0
  60. package/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -0
  61. package/dist-types/commands/ListObjectsCommand.d.ts +4 -0
  62. package/dist-types/commands/ListObjectsV2Command.d.ts +4 -0
  63. package/dist-types/commands/ListPartsCommand.d.ts +1 -0
  64. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -0
  65. package/dist-types/commands/PutBucketAclCommand.d.ts +1 -0
  66. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -0
  67. package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -0
  68. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -0
  69. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  70. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -0
  71. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -0
  72. package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -0
  73. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -0
  74. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -0
  75. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -0
  76. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -0
  77. package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -0
  78. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -0
  79. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -0
  80. package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -0
  81. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -0
  82. package/dist-types/commands/PutObjectAclCommand.d.ts +4 -0
  83. package/dist-types/commands/PutObjectCommand.d.ts +1 -0
  84. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -0
  85. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -0
  86. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -0
  87. package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -0
  88. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -0
  89. package/dist-types/commands/RestoreObjectCommand.d.ts +4 -0
  90. package/dist-types/commands/SelectObjectContentCommand.d.ts +1 -0
  91. package/dist-types/commands/UploadPartCommand.d.ts +1 -0
  92. package/dist-types/commands/UploadPartCopyCommand.d.ts +1 -0
  93. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -0
  94. package/package.json +45 -45
@@ -67,6 +67,10 @@ export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadO
67
67
  * @see {@link AbortMultipartUploadCommandOutput} for command's `response` shape.
68
68
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
69
69
  *
70
+ * @throws {@link NoSuchUpload} (client fault)
71
+ * <p>The specified multipart upload does not exist.</p>
72
+ *
73
+ *
70
74
  * @example To abort a multipart upload
71
75
  * ```javascript
72
76
  * // The following example aborts a multipart upload.
@@ -139,6 +139,7 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
139
139
  * @see {@link CompleteMultipartUploadCommandOutput} for command's `response` shape.
140
140
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
141
141
  *
142
+ *
142
143
  * @example To complete multipart upload
143
144
  * ```javascript
144
145
  * // The following example completes a multipart upload.
@@ -212,6 +212,11 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
212
212
  * @see {@link CopyObjectCommandOutput} for command's `response` shape.
213
213
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
214
214
  *
215
+ * @throws {@link ObjectNotInActiveTierError} (client fault)
216
+ * <p>The source object of the COPY action is not in the active tier and is only stored in
217
+ * Amazon S3 Glacier.</p>
218
+ *
219
+ *
215
220
  * @example To copy an object
216
221
  * ```javascript
217
222
  * // The following example copies an object from one bucket to another.
@@ -174,6 +174,17 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
174
174
  * @see {@link CreateBucketCommandOutput} for command's `response` shape.
175
175
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
176
176
  *
177
+ * @throws {@link BucketAlreadyExists} (client fault)
178
+ * <p>The requested bucket name is not available. The bucket namespace is shared by all users
179
+ * of the system. Select a different name and try again.</p>
180
+ *
181
+ * @throws {@link BucketAlreadyOwnedByYou} (client fault)
182
+ * <p>The bucket you tried to create already exists, and you own it. Amazon S3 returns this error
183
+ * in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you
184
+ * re-create an existing bucket that you already own in the North Virginia Region, Amazon S3
185
+ * returns 200 OK and resets the bucket access control lists (ACLs).</p>
186
+ *
187
+ *
177
188
  * @example To create a bucket in a specific region
178
189
  * ```javascript
179
190
  * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
@@ -296,6 +296,7 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
296
296
  * @see {@link CreateMultipartUploadCommandOutput} for command's `response` shape.
297
297
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
298
298
  *
299
+ *
299
300
  * @example To initiate a multipart upload
300
301
  * ```javascript
301
302
  * // The following example initiates a multipart upload.
@@ -56,6 +56,7 @@ export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __Metad
56
56
  * @see {@link DeleteBucketAnalyticsConfigurationCommandOutput} for command's `response` shape.
57
57
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
58
58
  *
59
+ *
59
60
  */
60
61
  export declare class DeleteBucketAnalyticsConfigurationCommand extends $Command<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig> {
61
62
  readonly input: DeleteBucketAnalyticsConfigurationCommandInput;
@@ -45,6 +45,7 @@ export interface DeleteBucketCommandOutput extends __MetadataBearer {
45
45
  * @see {@link DeleteBucketCommandOutput} for command's `response` shape.
46
46
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
47
47
  *
48
+ *
48
49
  * @example To delete a bucket
49
50
  * ```javascript
50
51
  * // The following example deletes the specified bucket.
@@ -49,6 +49,7 @@ export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
49
49
  * @see {@link DeleteBucketCorsCommandOutput} for command's `response` shape.
50
50
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
51
51
  *
52
+ *
52
53
  * @example To delete cors configuration on a bucket.
53
54
  * ```javascript
54
55
  * // The following example deletes CORS configuration on a bucket.
@@ -51,6 +51,7 @@ export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {
51
51
  * @see {@link DeleteBucketEncryptionCommandOutput} for command's `response` shape.
52
52
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
53
53
  *
54
+ *
54
55
  */
55
56
  export declare class DeleteBucketEncryptionCommand extends $Command<DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, S3ClientResolvedConfig> {
56
57
  readonly input: DeleteBucketEncryptionCommandInput;
@@ -51,6 +51,7 @@ export interface DeleteBucketIntelligentTieringConfigurationCommandOutput extend
51
51
  * @see {@link DeleteBucketIntelligentTieringConfigurationCommandOutput} for command's `response` shape.
52
52
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
53
53
  *
54
+ *
54
55
  */
55
56
  export declare class DeleteBucketIntelligentTieringConfigurationCommand extends $Command<DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput, S3ClientResolvedConfig> {
56
57
  readonly input: DeleteBucketIntelligentTieringConfigurationCommandInput;
@@ -54,6 +54,7 @@ export interface DeleteBucketInventoryConfigurationCommandOutput extends __Metad
54
54
  * @see {@link DeleteBucketInventoryConfigurationCommandOutput} for command's `response` shape.
55
55
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
56
56
  *
57
+ *
57
58
  */
58
59
  export declare class DeleteBucketInventoryConfigurationCommand extends $Command<DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig> {
59
60
  readonly input: DeleteBucketInventoryConfigurationCommandInput;
@@ -52,6 +52,7 @@ export interface DeleteBucketLifecycleCommandOutput extends __MetadataBearer {
52
52
  * @see {@link DeleteBucketLifecycleCommandOutput} for command's `response` shape.
53
53
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
54
54
  *
55
+ *
55
56
  * @example To delete lifecycle configuration on a bucket.
56
57
  * ```javascript
57
58
  * // The following example deletes lifecycle configuration on a bucket.
@@ -62,6 +62,7 @@ export interface DeleteBucketMetricsConfigurationCommandOutput extends __Metadat
62
62
  * @see {@link DeleteBucketMetricsConfigurationCommandOutput} for command's `response` shape.
63
63
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
64
64
  *
65
+ *
65
66
  */
66
67
  export declare class DeleteBucketMetricsConfigurationCommand extends $Command<DeleteBucketMetricsConfigurationCommandInput, DeleteBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig> {
67
68
  readonly input: DeleteBucketMetricsConfigurationCommandInput;
@@ -47,6 +47,7 @@ export interface DeleteBucketOwnershipControlsCommandOutput extends __MetadataBe
47
47
  * @see {@link DeleteBucketOwnershipControlsCommandOutput} for command's `response` shape.
48
48
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
49
49
  *
50
+ *
50
51
  */
51
52
  export declare class DeleteBucketOwnershipControlsCommand extends $Command<DeleteBucketOwnershipControlsCommandInput, DeleteBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig> {
52
53
  readonly input: DeleteBucketOwnershipControlsCommandInput;
@@ -58,6 +58,7 @@ export interface DeleteBucketPolicyCommandOutput extends __MetadataBearer {
58
58
  * @see {@link DeleteBucketPolicyCommandOutput} for command's `response` shape.
59
59
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
60
60
  *
61
+ *
61
62
  * @example To delete bucket policy
62
63
  * ```javascript
63
64
  * // The following example deletes bucket policy on the specified bucket.
@@ -52,6 +52,7 @@ export interface DeleteBucketReplicationCommandOutput extends __MetadataBearer {
52
52
  * @see {@link DeleteBucketReplicationCommandOutput} for command's `response` shape.
53
53
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
54
54
  *
55
+ *
55
56
  * @example To delete bucket replication configuration
56
57
  * ```javascript
57
58
  * // The following example deletes replication configuration set on bucket.
@@ -45,6 +45,7 @@ export interface DeleteBucketTaggingCommandOutput extends __MetadataBearer {
45
45
  * @see {@link DeleteBucketTaggingCommandOutput} for command's `response` shape.
46
46
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
47
47
  *
48
+ *
48
49
  * @example To delete bucket tags
49
50
  * ```javascript
50
51
  * // The following example deletes bucket tags.
@@ -52,6 +52,7 @@ export interface DeleteBucketWebsiteCommandOutput extends __MetadataBearer {
52
52
  * @see {@link DeleteBucketWebsiteCommandOutput} for command's `response` shape.
53
53
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
54
54
  *
55
+ *
55
56
  * @example To delete bucket website configuration
56
57
  * ```javascript
57
58
  * // The following example deletes bucket website configuration.
@@ -54,6 +54,7 @@ export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __Metadat
54
54
  * @see {@link DeleteObjectCommandOutput} for command's `response` shape.
55
55
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
56
56
  *
57
+ *
57
58
  * @example To delete an object (from a non-versioned bucket)
58
59
  * ```javascript
59
60
  * // The following example deletes an object from a non-versioned bucket.
@@ -50,6 +50,7 @@ export interface DeleteObjectTaggingCommandOutput extends DeleteObjectTaggingOut
50
50
  * @see {@link DeleteObjectTaggingCommandOutput} for command's `response` shape.
51
51
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
52
52
  *
53
+ *
53
54
  * @example To remove tag set from an object
54
55
  * ```javascript
55
56
  * // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
@@ -80,6 +80,7 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad
80
80
  * @see {@link DeleteObjectsCommandOutput} for command's `response` shape.
81
81
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
82
82
  *
83
+ *
83
84
  * @example To delete multiple objects from a versioned bucket
84
85
  * ```javascript
85
86
  * // The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
@@ -56,6 +56,7 @@ export interface DeletePublicAccessBlockCommandOutput extends __MetadataBearer {
56
56
  * @see {@link DeletePublicAccessBlockCommandOutput} for command's `response` shape.
57
57
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
58
58
  *
59
+ *
59
60
  */
60
61
  export declare class DeletePublicAccessBlockCommand extends $Command<DeletePublicAccessBlockCommandInput, DeletePublicAccessBlockCommandOutput, S3ClientResolvedConfig> {
61
62
  readonly input: DeletePublicAccessBlockCommandInput;
@@ -54,6 +54,7 @@ export interface GetBucketAccelerateConfigurationCommandOutput extends GetBucket
54
54
  * @see {@link GetBucketAccelerateConfigurationCommandOutput} for command's `response` shape.
55
55
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
56
56
  *
57
+ *
57
58
  */
58
59
  export declare class GetBucketAccelerateConfigurationCommand extends $Command<GetBucketAccelerateConfigurationCommandInput, GetBucketAccelerateConfigurationCommandOutput, S3ClientResolvedConfig> {
59
60
  readonly input: GetBucketAccelerateConfigurationCommandInput;
@@ -50,6 +50,7 @@ export interface GetBucketAclCommandOutput extends GetBucketAclOutput, __Metadat
50
50
  * @see {@link GetBucketAclCommandOutput} for command's `response` shape.
51
51
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
52
52
  *
53
+ *
53
54
  */
54
55
  export declare class GetBucketAclCommand extends $Command<GetBucketAclCommandInput, GetBucketAclCommandOutput, S3ClientResolvedConfig> {
55
56
  readonly input: GetBucketAclCommandInput;
@@ -57,6 +57,7 @@ export interface GetBucketAnalyticsConfigurationCommandOutput extends GetBucketA
57
57
  * @see {@link GetBucketAnalyticsConfigurationCommandOutput} for command's `response` shape.
58
58
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
59
59
  *
60
+ *
60
61
  */
61
62
  export declare class GetBucketAnalyticsConfigurationCommand extends $Command<GetBucketAnalyticsConfigurationCommandInput, GetBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig> {
62
63
  readonly input: GetBucketAnalyticsConfigurationCommandInput;
@@ -48,6 +48,7 @@ export interface GetBucketCorsCommandOutput extends GetBucketCorsOutput, __Metad
48
48
  * @see {@link GetBucketCorsCommandOutput} for command's `response` shape.
49
49
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
50
50
  *
51
+ *
51
52
  * @example To get cors configuration set on a bucket
52
53
  * ```javascript
53
54
  * // The following example returns cross-origin resource sharing (CORS) configuration set on a bucket.
@@ -50,6 +50,7 @@ export interface GetBucketEncryptionCommandOutput extends GetBucketEncryptionOut
50
50
  * @see {@link GetBucketEncryptionCommandOutput} for command's `response` shape.
51
51
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
52
52
  *
53
+ *
53
54
  */
54
55
  export declare class GetBucketEncryptionCommand extends $Command<GetBucketEncryptionCommandInput, GetBucketEncryptionCommandOutput, S3ClientResolvedConfig> {
55
56
  readonly input: GetBucketEncryptionCommandInput;
@@ -51,6 +51,7 @@ export interface GetBucketIntelligentTieringConfigurationCommandOutput extends G
51
51
  * @see {@link GetBucketIntelligentTieringConfigurationCommandOutput} for command's `response` shape.
52
52
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
53
53
  *
54
+ *
54
55
  */
55
56
  export declare class GetBucketIntelligentTieringConfigurationCommand extends $Command<GetBucketIntelligentTieringConfigurationCommandInput, GetBucketIntelligentTieringConfigurationCommandOutput, S3ClientResolvedConfig> {
56
57
  readonly input: GetBucketIntelligentTieringConfigurationCommandInput;
@@ -55,6 +55,7 @@ export interface GetBucketInventoryConfigurationCommandOutput extends GetBucketI
55
55
  * @see {@link GetBucketInventoryConfigurationCommandOutput} for command's `response` shape.
56
56
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
57
57
  *
58
+ *
58
59
  */
59
60
  export declare class GetBucketInventoryConfigurationCommand extends $Command<GetBucketInventoryConfigurationCommandInput, GetBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig> {
60
61
  readonly input: GetBucketInventoryConfigurationCommandInput;
@@ -82,6 +82,7 @@ export interface GetBucketLifecycleConfigurationCommandOutput extends GetBucketL
82
82
  * @see {@link GetBucketLifecycleConfigurationCommandOutput} for command's `response` shape.
83
83
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
84
84
  *
85
+ *
85
86
  * @example To get lifecycle configuration on a bucket
86
87
  * ```javascript
87
88
  * // The following example retrieves lifecycle configuration on set on a bucket.
@@ -46,6 +46,7 @@ export interface GetBucketLocationCommandOutput extends GetBucketLocationOutput,
46
46
  * @see {@link GetBucketLocationCommandOutput} for command's `response` shape.
47
47
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
48
48
  *
49
+ *
49
50
  * @example To get bucket location
50
51
  * ```javascript
51
52
  * // The following example returns bucket location.
@@ -43,6 +43,7 @@ export interface GetBucketLoggingCommandOutput extends GetBucketLoggingOutput, _
43
43
  * @see {@link GetBucketLoggingCommandOutput} for command's `response` shape.
44
44
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
45
45
  *
46
+ *
46
47
  */
47
48
  export declare class GetBucketLoggingCommand extends $Command<GetBucketLoggingCommandInput, GetBucketLoggingCommandOutput, S3ClientResolvedConfig> {
48
49
  readonly input: GetBucketLoggingCommandInput;
@@ -62,6 +62,7 @@ export interface GetBucketMetricsConfigurationCommandOutput extends GetBucketMet
62
62
  * @see {@link GetBucketMetricsConfigurationCommandOutput} for command's `response` shape.
63
63
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
64
64
  *
65
+ *
65
66
  */
66
67
  export declare class GetBucketMetricsConfigurationCommand extends $Command<GetBucketMetricsConfigurationCommandInput, GetBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig> {
67
68
  readonly input: GetBucketMetricsConfigurationCommandInput;
@@ -46,6 +46,7 @@ export interface GetBucketNotificationConfigurationCommandOutput extends Notific
46
46
  * @see {@link GetBucketNotificationConfigurationCommandOutput} for command's `response` shape.
47
47
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
48
48
  *
49
+ *
49
50
  */
50
51
  export declare class GetBucketNotificationConfigurationCommand extends $Command<GetBucketNotificationConfigurationCommandInput, GetBucketNotificationConfigurationCommandOutput, S3ClientResolvedConfig> {
51
52
  readonly input: GetBucketNotificationConfigurationCommandInput;
@@ -46,6 +46,7 @@ export interface GetBucketOwnershipControlsCommandOutput extends GetBucketOwners
46
46
  * @see {@link GetBucketOwnershipControlsCommandOutput} for command's `response` shape.
47
47
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
48
48
  *
49
+ *
49
50
  */
50
51
  export declare class GetBucketOwnershipControlsCommand extends $Command<GetBucketOwnershipControlsCommandInput, GetBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig> {
51
52
  readonly input: GetBucketOwnershipControlsCommandInput;
@@ -51,6 +51,7 @@ export interface GetBucketPolicyCommandOutput extends GetBucketPolicyOutput, __M
51
51
  * @see {@link GetBucketPolicyCommandOutput} for command's `response` shape.
52
52
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
53
53
  *
54
+ *
54
55
  * @example To get bucket policy
55
56
  * ```javascript
56
57
  * // The following example returns bucket policy associated with a bucket.
@@ -57,6 +57,7 @@ export interface GetBucketPolicyStatusCommandOutput extends GetBucketPolicyStatu
57
57
  * @see {@link GetBucketPolicyStatusCommandOutput} for command's `response` shape.
58
58
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
59
59
  *
60
+ *
60
61
  */
61
62
  export declare class GetBucketPolicyStatusCommand extends $Command<GetBucketPolicyStatusCommandInput, GetBucketPolicyStatusCommandOutput, S3ClientResolvedConfig> {
62
63
  readonly input: GetBucketPolicyStatusCommandInput;
@@ -58,6 +58,7 @@ export interface GetBucketReplicationCommandOutput extends GetBucketReplicationO
58
58
  * @see {@link GetBucketReplicationCommandOutput} for command's `response` shape.
59
59
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
60
60
  *
61
+ *
61
62
  * @example To get replication configuration set on a bucket
62
63
  * ```javascript
63
64
  * // The following example returns replication configuration set on a bucket.
@@ -38,6 +38,7 @@ export interface GetBucketRequestPaymentCommandOutput extends GetBucketRequestPa
38
38
  * @see {@link GetBucketRequestPaymentCommandOutput} for command's `response` shape.
39
39
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
40
40
  *
41
+ *
41
42
  * @example To get bucket versioning configuration
42
43
  * ```javascript
43
44
  * // The following example retrieves bucket versioning configuration.
@@ -58,6 +58,7 @@ export interface GetBucketTaggingCommandOutput extends GetBucketTaggingOutput, _
58
58
  * @see {@link GetBucketTaggingCommandOutput} for command's `response` shape.
59
59
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
60
60
  *
61
+ *
61
62
  * @example To get tag set associated with a bucket
62
63
  * ```javascript
63
64
  * // The following example returns tag set associated with a bucket
@@ -51,6 +51,7 @@ export interface GetBucketVersioningCommandOutput extends GetBucketVersioningOut
51
51
  * @see {@link GetBucketVersioningCommandOutput} for command's `response` shape.
52
52
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
53
53
  *
54
+ *
54
55
  * @example To get bucket versioning configuration
55
56
  * ```javascript
56
57
  * // The following example retrieves bucket versioning configuration.
@@ -49,6 +49,7 @@ export interface GetBucketWebsiteCommandOutput extends GetBucketWebsiteOutput, _
49
49
  * @see {@link GetBucketWebsiteCommandOutput} for command's `response` shape.
50
50
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
51
51
  *
52
+ *
52
53
  * @example To get bucket website configuration
53
54
  * ```javascript
54
55
  * // The following example retrieves website configuration of a bucket.
@@ -69,6 +69,10 @@ export interface GetObjectAclCommandOutput extends GetObjectAclOutput, __Metadat
69
69
  * @see {@link GetObjectAclCommandOutput} for command's `response` shape.
70
70
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
71
71
  *
72
+ * @throws {@link NoSuchKey} (client fault)
73
+ * <p>The specified key does not exist.</p>
74
+ *
75
+ *
72
76
  * @example To retrieve object ACL
73
77
  * ```javascript
74
78
  * // The following example retrieves access control list (ACL) of an object.
@@ -178,6 +178,10 @@ export interface GetObjectAttributesCommandOutput extends GetObjectAttributesOut
178
178
  * @see {@link GetObjectAttributesCommandOutput} for command's `response` shape.
179
179
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
180
180
  *
181
+ * @throws {@link NoSuchKey} (client fault)
182
+ * <p>The specified key does not exist.</p>
183
+ *
184
+ *
181
185
  */
182
186
  export declare class GetObjectAttributesCommand extends $Command<GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput, S3ClientResolvedConfig> {
183
187
  readonly input: GetObjectAttributesCommandInput;
@@ -190,6 +190,13 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectOu
190
190
  * @see {@link GetObjectCommandOutput} for command's `response` shape.
191
191
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
192
192
  *
193
+ * @throws {@link InvalidObjectState} (client fault)
194
+ * <p>Object is archived and inaccessible until restored.</p>
195
+ *
196
+ * @throws {@link NoSuchKey} (client fault)
197
+ * <p>The specified key does not exist.</p>
198
+ *
199
+ *
193
200
  * @example To retrieve a byte range of an object
194
201
  * ```javascript
195
202
  * // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
@@ -39,6 +39,7 @@ export interface GetObjectLegalHoldCommandOutput extends GetObjectLegalHoldOutpu
39
39
  * @see {@link GetObjectLegalHoldCommandOutput} for command's `response` shape.
40
40
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
41
41
  *
42
+ *
42
43
  */
43
44
  export declare class GetObjectLegalHoldCommand extends $Command<GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput, S3ClientResolvedConfig> {
44
45
  readonly input: GetObjectLegalHoldCommandInput;
@@ -40,6 +40,7 @@ export interface GetObjectLockConfigurationCommandOutput extends GetObjectLockCo
40
40
  * @see {@link GetObjectLockConfigurationCommandOutput} for command's `response` shape.
41
41
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
42
42
  *
43
+ *
43
44
  */
44
45
  export declare class GetObjectLockConfigurationCommand extends $Command<GetObjectLockConfigurationCommandInput, GetObjectLockConfigurationCommandOutput, S3ClientResolvedConfig> {
45
46
  readonly input: GetObjectLockConfigurationCommandInput;
@@ -38,6 +38,7 @@ export interface GetObjectRetentionCommandOutput extends GetObjectRetentionOutpu
38
38
  * @see {@link GetObjectRetentionCommandOutput} for command's `response` shape.
39
39
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
40
40
  *
41
+ *
41
42
  */
42
43
  export declare class GetObjectRetentionCommand extends $Command<GetObjectRetentionCommandInput, GetObjectRetentionCommandOutput, S3ClientResolvedConfig> {
43
44
  readonly input: GetObjectRetentionCommandInput;
@@ -57,6 +57,7 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
57
57
  * @see {@link GetObjectTaggingCommandOutput} for command's `response` shape.
58
58
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
59
59
  *
60
+ *
60
61
  * @example To retrieve tag set of a specific object version
61
62
  * ```javascript
62
63
  * // The following example retrieves tag set of an object. The request specifies object version.
@@ -45,6 +45,7 @@ export interface GetObjectTorrentCommandOutput extends __WithSdkStreamMixin<GetO
45
45
  * @see {@link GetObjectTorrentCommandOutput} for command's `response` shape.
46
46
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
47
47
  *
48
+ *
48
49
  * @example To retrieve torrent files for an object
49
50
  * ```javascript
50
51
  * // The following example retrieves torrent files of an object.
@@ -65,6 +65,7 @@ export interface GetPublicAccessBlockCommandOutput extends GetPublicAccessBlockO
65
65
  * @see {@link GetPublicAccessBlockCommandOutput} for command's `response` shape.
66
66
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
67
67
  *
68
+ *
68
69
  */
69
70
  export declare class GetPublicAccessBlockCommand extends $Command<GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput, S3ClientResolvedConfig> {
70
71
  readonly input: GetPublicAccessBlockCommandInput;
@@ -39,6 +39,10 @@ export interface HeadBucketCommandOutput extends __MetadataBearer {
39
39
  * @see {@link HeadBucketCommandOutput} for command's `response` shape.
40
40
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
41
41
  *
42
+ * @throws {@link NotFound} (client fault)
43
+ * <p>The specified content does not exist.</p>
44
+ *
45
+ *
42
46
  * @example To determine if bucket exists
43
47
  * ```javascript
44
48
  * // This operation checks to see if a bucket exists.
@@ -138,6 +138,10 @@ export interface HeadObjectCommandOutput extends HeadObjectOutput, __MetadataBea
138
138
  * @see {@link HeadObjectCommandOutput} for command's `response` shape.
139
139
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
140
140
  *
141
+ * @throws {@link NotFound} (client fault)
142
+ * <p>The specified content does not exist.</p>
143
+ *
144
+ *
141
145
  * @example To retrieve metadata of an object without returning the object itself
142
146
  * ```javascript
143
147
  * // The following example retrieves an object metadata.
@@ -64,6 +64,7 @@ export interface ListBucketAnalyticsConfigurationsCommandOutput extends ListBuck
64
64
  * @see {@link ListBucketAnalyticsConfigurationsCommandOutput} for command's `response` shape.
65
65
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
66
66
  *
67
+ *
67
68
  */
68
69
  export declare class ListBucketAnalyticsConfigurationsCommand extends $Command<ListBucketAnalyticsConfigurationsCommandInput, ListBucketAnalyticsConfigurationsCommandOutput, S3ClientResolvedConfig> {
69
70
  readonly input: ListBucketAnalyticsConfigurationsCommandInput;
@@ -51,6 +51,7 @@ export interface ListBucketIntelligentTieringConfigurationsCommandOutput extends
51
51
  * @see {@link ListBucketIntelligentTieringConfigurationsCommandOutput} for command's `response` shape.
52
52
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
53
53
  *
54
+ *
54
55
  */
55
56
  export declare class ListBucketIntelligentTieringConfigurationsCommand extends $Command<ListBucketIntelligentTieringConfigurationsCommandInput, ListBucketIntelligentTieringConfigurationsCommandOutput, S3ClientResolvedConfig> {
56
57
  readonly input: ListBucketIntelligentTieringConfigurationsCommandInput;
@@ -63,6 +63,7 @@ export interface ListBucketInventoryConfigurationsCommandOutput extends ListBuck
63
63
  * @see {@link ListBucketInventoryConfigurationsCommandOutput} for command's `response` shape.
64
64
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
65
65
  *
66
+ *
66
67
  */
67
68
  export declare class ListBucketInventoryConfigurationsCommand extends $Command<ListBucketInventoryConfigurationsCommandInput, ListBucketInventoryConfigurationsCommandOutput, S3ClientResolvedConfig> {
68
69
  readonly input: ListBucketInventoryConfigurationsCommandInput;
@@ -65,6 +65,7 @@ export interface ListBucketMetricsConfigurationsCommandOutput extends ListBucket
65
65
  * @see {@link ListBucketMetricsConfigurationsCommandOutput} for command's `response` shape.
66
66
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
67
67
  *
68
+ *
68
69
  */
69
70
  export declare class ListBucketMetricsConfigurationsCommand extends $Command<ListBucketMetricsConfigurationsCommandInput, ListBucketMetricsConfigurationsCommandOutput, S3ClientResolvedConfig> {
70
71
  readonly input: ListBucketMetricsConfigurationsCommandInput;
@@ -30,6 +30,7 @@ export interface ListBucketsCommandOutput extends ListBucketsOutput, __MetadataB
30
30
  * @see {@link ListBucketsCommandOutput} for command's `response` shape.
31
31
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
32
32
  *
33
+ *
33
34
  * @example To list object versions
34
35
  * ```javascript
35
36
  * // The following example return versions of an object with specific key name prefix. The request limits the number of items returned to two. If there are are more than two object version, S3 returns NextToken in the response. You can specify this token value in your next request to fetch next set of object versions.
@@ -74,6 +74,7 @@ export interface ListMultipartUploadsCommandOutput extends ListMultipartUploadsO
74
74
  * @see {@link ListMultipartUploadsCommandOutput} for command's `response` shape.
75
75
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
76
76
  *
77
+ *
77
78
  * @example To list in-progress multipart uploads on a bucket
78
79
  * ```javascript
79
80
  * // The following example lists in-progress multipart uploads on a specific bucket.
@@ -67,6 +67,7 @@ export interface ListObjectVersionsCommandOutput extends ListObjectVersionsOutpu
67
67
  * @see {@link ListObjectVersionsCommandOutput} for command's `response` shape.
68
68
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
69
69
  *
70
+ *
70
71
  * @example To list object versions
71
72
  * ```javascript
72
73
  * // The following example return versions of an object with specific key name prefix. The request limits the number of items returned to two. If there are are more than two object version, S3 returns NextToken in the response. You can specify this token value in your next request to fetch next set of object versions.
@@ -64,6 +64,10 @@ export interface ListObjectsCommandOutput extends ListObjectsOutput, __MetadataB
64
64
  * @see {@link ListObjectsCommandOutput} for command's `response` shape.
65
65
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
66
66
  *
67
+ * @throws {@link NoSuchBucket} (client fault)
68
+ * <p>The specified bucket does not exist.</p>
69
+ *
70
+ *
67
71
  * @example To list objects in a bucket
68
72
  * ```javascript
69
73
  * // The following example list two objects in a bucket.
@@ -66,6 +66,10 @@ export interface ListObjectsV2CommandOutput extends ListObjectsV2Output, __Metad
66
66
  * @see {@link ListObjectsV2CommandOutput} for command's `response` shape.
67
67
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
68
68
  *
69
+ * @throws {@link NoSuchBucket} (client fault)
70
+ * <p>The specified bucket does not exist.</p>
71
+ *
72
+ *
69
73
  * @example To get object list
70
74
  * ```javascript
71
75
  * // The following example retrieves object list. The request specifies max keys to limit response to include only 2 object keys.
@@ -78,6 +78,7 @@ export interface ListPartsCommandOutput extends ListPartsOutput, __MetadataBeare
78
78
  * @see {@link ListPartsCommandOutput} for command's `response` shape.
79
79
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
80
80
  *
81
+ *
81
82
  * @example To list parts of a multipart upload.
82
83
  * ```javascript
83
84
  * // The following example lists parts uploaded for a specific multipart upload.
@@ -66,6 +66,7 @@ export interface PutBucketAccelerateConfigurationCommandOutput extends __Metadat
66
66
  * @see {@link PutBucketAccelerateConfigurationCommandOutput} for command's `response` shape.
67
67
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
68
68
  *
69
+ *
69
70
  */
70
71
  export declare class PutBucketAccelerateConfigurationCommand extends $Command<PutBucketAccelerateConfigurationCommandInput, PutBucketAccelerateConfigurationCommandOutput, S3ClientResolvedConfig> {
71
72
  readonly input: PutBucketAccelerateConfigurationCommandInput;
@@ -217,6 +217,7 @@ export interface PutBucketAclCommandOutput extends __MetadataBearer {
217
217
  * @see {@link PutBucketAclCommandOutput} for command's `response` shape.
218
218
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
219
219
  *
220
+ *
220
221
  * @example Put bucket acl
221
222
  * ```javascript
222
223
  * // The following example replaces existing ACL on a bucket. The ACL grants the bucket owner (specified using the owner ID) and write permission to the LogDelivery group. Because this is a replace operation, you must specify all the grants in your request. To incrementally add or remove ACL grants, you might use the console.
@@ -133,6 +133,7 @@ export interface PutBucketAnalyticsConfigurationCommandOutput extends __Metadata
133
133
  * @see {@link PutBucketAnalyticsConfigurationCommandOutput} for command's `response` shape.
134
134
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
135
135
  *
136
+ *
136
137
  */
137
138
  export declare class PutBucketAnalyticsConfigurationCommand extends $Command<PutBucketAnalyticsConfigurationCommandInput, PutBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig> {
138
139
  readonly input: PutBucketAnalyticsConfigurationCommandInput;
@@ -84,6 +84,7 @@ export interface PutBucketCorsCommandOutput extends __MetadataBearer {
84
84
  * @see {@link PutBucketCorsCommandOutput} for command's `response` shape.
85
85
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
86
86
  *
87
+ *
87
88
  * @example To set cors configuration on a bucket.
88
89
  * ```javascript
89
90
  * // The following example enables PUT, POST, and DELETE requests from www.example.com, and enables GET requests from any domain.
@@ -62,6 +62,7 @@ export interface PutBucketEncryptionCommandOutput extends __MetadataBearer {
62
62
  * @see {@link PutBucketEncryptionCommandOutput} for command's `response` shape.
63
63
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
64
64
  *
65
+ *
65
66
  */
66
67
  export declare class PutBucketEncryptionCommand extends $Command<PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput, S3ClientResolvedConfig> {
67
68
  readonly input: PutBucketEncryptionCommandInput;
@@ -110,6 +110,7 @@ export interface PutBucketIntelligentTieringConfigurationCommandOutput extends _
110
110
  * @see {@link PutBucketIntelligentTieringConfigurationCommandOutput} for command's `response` shape.
111
111
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
112
112
  *
113
+ *
113
114
  */
114
115
  export declare class PutBucketIntelligentTieringConfigurationCommand extends $Command<PutBucketIntelligentTieringConfigurationCommandInput, PutBucketIntelligentTieringConfigurationCommandOutput, S3ClientResolvedConfig> {
115
116
  readonly input: PutBucketIntelligentTieringConfigurationCommandInput;
@@ -127,6 +127,7 @@ export interface PutBucketInventoryConfigurationCommandOutput extends __Metadata
127
127
  * @see {@link PutBucketInventoryConfigurationCommandOutput} for command's `response` shape.
128
128
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
129
129
  *
130
+ *
130
131
  */
131
132
  export declare class PutBucketInventoryConfigurationCommand extends $Command<PutBucketInventoryConfigurationCommandInput, PutBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig> {
132
133
  readonly input: PutBucketInventoryConfigurationCommandInput;
@@ -116,6 +116,7 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
116
116
  * @see {@link PutBucketLifecycleConfigurationCommandOutput} for command's `response` shape.
117
117
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
118
118
  *
119
+ *
119
120
  * @example Put bucket lifecycle
120
121
  * ```javascript
121
122
  * // The following example replaces existing lifecycle configuration, if any, on the specified bucket.
@@ -104,6 +104,7 @@ export interface PutBucketLoggingCommandOutput extends __MetadataBearer {
104
104
  * @see {@link PutBucketLoggingCommandOutput} for command's `response` shape.
105
105
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
106
106
  *
107
+ *
107
108
  * @example Set logging configuration for a bucket
108
109
  * ```javascript
109
110
  * // The following example sets logging policy on a bucket. For the Log Delivery group to deliver logs to the destination bucket, it needs permission for the READ_ACP action which the policy grants.
@@ -75,6 +75,7 @@ export interface PutBucketMetricsConfigurationCommandOutput extends __MetadataBe
75
75
  * @see {@link PutBucketMetricsConfigurationCommandOutput} for command's `response` shape.
76
76
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
77
77
  *
78
+ *
78
79
  */
79
80
  export declare class PutBucketMetricsConfigurationCommand extends $Command<PutBucketMetricsConfigurationCommandInput, PutBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig> {
80
81
  readonly input: PutBucketMetricsConfigurationCommandInput;
@@ -83,6 +83,7 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad
83
83
  * @see {@link PutBucketNotificationConfigurationCommandOutput} for command's `response` shape.
84
84
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
85
85
  *
86
+ *
86
87
  * @example Set notification configuration for a bucket
87
88
  * ```javascript
88
89
  * // The following example sets notification configuration on a bucket to publish the object created events to an SNS topic.
@@ -45,6 +45,7 @@ export interface PutBucketOwnershipControlsCommandOutput extends __MetadataBeare
45
45
  * @see {@link PutBucketOwnershipControlsCommandOutput} for command's `response` shape.
46
46
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
47
47
  *
48
+ *
48
49
  */
49
50
  export declare class PutBucketOwnershipControlsCommand extends $Command<PutBucketOwnershipControlsCommandInput, PutBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig> {
50
51
  readonly input: PutBucketOwnershipControlsCommandInput;
@@ -55,6 +55,7 @@ export interface PutBucketPolicyCommandOutput extends __MetadataBearer {
55
55
  * @see {@link PutBucketPolicyCommandOutput} for command's `response` shape.
56
56
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
57
57
  *
58
+ *
58
59
  * @example Set bucket policy
59
60
  * ```javascript
60
61
  * // The following example sets a permission policy on a bucket.
@@ -90,6 +90,7 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
90
90
  * @see {@link PutBucketReplicationCommandOutput} for command's `response` shape.
91
91
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
92
92
  *
93
+ *
93
94
  * @example Set replication configuration on a bucket
94
95
  * ```javascript
95
96
  * // The following example sets replication configuration on a bucket.
@@ -46,6 +46,7 @@ export interface PutBucketRequestPaymentCommandOutput extends __MetadataBearer {
46
46
  * @see {@link PutBucketRequestPaymentCommandOutput} for command's `response` shape.
47
47
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
48
48
  *
49
+ *
49
50
  * @example Set request payment configuration on a bucket.
50
51
  * ```javascript
51
52
  * // The following example sets request payment configuration on a bucket so that person requesting the download is charged.
@@ -103,6 +103,7 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
103
103
  * @see {@link PutBucketTaggingCommandOutput} for command's `response` shape.
104
104
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
105
105
  *
106
+ *
106
107
  * @example Set tags on a bucket
107
108
  * ```javascript
108
109
  * // The following example sets tags on a bucket. Any existing tags are replaced.
@@ -71,6 +71,7 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
71
71
  * @see {@link PutBucketVersioningCommandOutput} for command's `response` shape.
72
72
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
73
73
  *
74
+ *
74
75
  * @example Set versioning configuration on a bucket
75
76
  * ```javascript
76
77
  * // The following example sets versioning configuration on bucket. The configuration enables versioning on the bucket.
@@ -150,6 +150,7 @@ export interface PutBucketWebsiteCommandOutput extends __MetadataBearer {
150
150
  * @see {@link PutBucketWebsiteCommandOutput} for command's `response` shape.
151
151
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
152
152
  *
153
+ *
153
154
  * @example Set website configuration on a bucket
154
155
  * ```javascript
155
156
  * // The following example adds website configuration to a bucket.
@@ -207,6 +207,10 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
207
207
  * @see {@link PutObjectAclCommandOutput} for command's `response` shape.
208
208
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
209
209
  *
210
+ * @throws {@link NoSuchKey} (client fault)
211
+ * <p>The specified key does not exist.</p>
212
+ *
213
+ *
210
214
  * @example To grant permissions using object ACL
211
215
  * ```javascript
212
216
  * // The following example adds grants to an object ACL. The first permission grants user1 and user2 FULL_CONTROL and the AllUsers group READ permission.
@@ -137,6 +137,7 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
137
137
  * @see {@link PutObjectCommandOutput} for command's `response` shape.
138
138
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
139
139
  *
140
+ *
140
141
  * @example To upload an object
141
142
  * ```javascript
142
143
  * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
@@ -32,6 +32,7 @@ export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutpu
32
32
  * @see {@link PutObjectLegalHoldCommandOutput} for command's `response` shape.
33
33
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
34
34
  *
35
+ *
35
36
  */
36
37
  export declare class PutObjectLegalHoldCommand extends $Command<PutObjectLegalHoldCommandInput, PutObjectLegalHoldCommandOutput, S3ClientResolvedConfig> {
37
38
  readonly input: PutObjectLegalHoldCommandInput;
@@ -49,6 +49,7 @@ export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockCo
49
49
  * @see {@link PutObjectLockConfigurationCommandOutput} for command's `response` shape.
50
50
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
51
51
  *
52
+ *
52
53
  */
53
54
  export declare class PutObjectLockConfigurationCommand extends $Command<PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput, S3ClientResolvedConfig> {
54
55
  readonly input: PutObjectLockConfigurationCommandInput;
@@ -34,6 +34,7 @@ export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutpu
34
34
  * @see {@link PutObjectRetentionCommandOutput} for command's `response` shape.
35
35
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
36
36
  *
37
+ *
37
38
  */
38
39
  export declare class PutObjectRetentionCommand extends $Command<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, S3ClientResolvedConfig> {
39
40
  readonly input: PutObjectRetentionCommandInput;
@@ -120,6 +120,7 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _
120
120
  * @see {@link PutObjectTaggingCommandOutput} for command's `response` shape.
121
121
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
122
122
  *
123
+ *
123
124
  * @example To add tags to an existing object
124
125
  * ```javascript
125
126
  * // The following example adds tags to an existing object.
@@ -67,6 +67,7 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
67
67
  * @see {@link PutPublicAccessBlockCommandOutput} for command's `response` shape.
68
68
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
69
69
  *
70
+ *
70
71
  */
71
72
  export declare class PutPublicAccessBlockCommand extends $Command<PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput, S3ClientResolvedConfig> {
72
73
  readonly input: PutPublicAccessBlockCommandInput;
@@ -312,6 +312,10 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
312
312
  * @see {@link RestoreObjectCommandOutput} for command's `response` shape.
313
313
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
314
314
  *
315
+ * @throws {@link ObjectAlreadyInActiveTierError} (client fault)
316
+ * <p>This action is not allowed against this storage tier.</p>
317
+ *
318
+ *
315
319
  * @example To restore an archived object
316
320
  * ```javascript
317
321
  * // The following example restores for one day an archived copy of an object back into Amazon S3 bucket.
@@ -143,6 +143,7 @@ export interface SelectObjectContentCommandOutput extends SelectObjectContentOut
143
143
  * @see {@link SelectObjectContentCommandOutput} for command's `response` shape.
144
144
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
145
145
  *
146
+ *
146
147
  */
147
148
  export declare class SelectObjectContentCommand extends $Command<SelectObjectContentCommandInput, SelectObjectContentCommandOutput, S3ClientResolvedConfig> {
148
149
  readonly input: SelectObjectContentCommandInput;
@@ -158,6 +158,7 @@ export interface UploadPartCommandOutput extends UploadPartOutput, __MetadataBea
158
158
  * @see {@link UploadPartCommandOutput} for command's `response` shape.
159
159
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
160
160
  *
161
+ *
161
162
  * @example To upload a part
162
163
  * ```javascript
163
164
  * // The following example uploads part 1 of a multipart upload. The example specifies a file name for the part data. The Upload ID is same that is returned by the initiate multipart upload.
@@ -195,6 +195,7 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met
195
195
  * @see {@link UploadPartCopyCommandOutput} for command's `response` shape.
196
196
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
197
197
  *
198
+ *
198
199
  * @example To upload a part by copying byte range from an existing object as data source
199
200
  * ```javascript
200
201
  * // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.
@@ -61,6 +61,7 @@ export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {
61
61
  * @see {@link WriteGetObjectResponseCommandOutput} for command's `response` shape.
62
62
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
63
63
  *
64
+ *
64
65
  */
65
66
  export declare class WriteGetObjectResponseCommand extends $Command<WriteGetObjectResponseCommandInput, WriteGetObjectResponseCommandOutput, S3ClientResolvedConfig> {
66
67
  readonly input: WriteGetObjectResponseCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -24,54 +24,54 @@
24
24
  "@aws-crypto/sha1-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-browser": "3.0.0",
26
26
  "@aws-crypto/sha256-js": "3.0.0",
27
- "@aws-sdk/client-sts": "3.289.0",
28
- "@aws-sdk/config-resolver": "3.289.0",
29
- "@aws-sdk/credential-provider-node": "3.289.0",
30
- "@aws-sdk/eventstream-serde-browser": "3.289.0",
31
- "@aws-sdk/eventstream-serde-config-resolver": "3.289.0",
32
- "@aws-sdk/eventstream-serde-node": "3.289.0",
33
- "@aws-sdk/fetch-http-handler": "3.289.0",
34
- "@aws-sdk/hash-blob-browser": "3.289.0",
35
- "@aws-sdk/hash-node": "3.289.0",
36
- "@aws-sdk/hash-stream-node": "3.289.0",
37
- "@aws-sdk/invalid-dependency": "3.289.0",
38
- "@aws-sdk/md5-js": "3.289.0",
39
- "@aws-sdk/middleware-bucket-endpoint": "3.289.0",
40
- "@aws-sdk/middleware-content-length": "3.289.0",
41
- "@aws-sdk/middleware-endpoint": "3.289.0",
42
- "@aws-sdk/middleware-expect-continue": "3.289.0",
43
- "@aws-sdk/middleware-flexible-checksums": "3.289.0",
44
- "@aws-sdk/middleware-host-header": "3.289.0",
45
- "@aws-sdk/middleware-location-constraint": "3.289.0",
46
- "@aws-sdk/middleware-logger": "3.289.0",
47
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
48
- "@aws-sdk/middleware-retry": "3.289.0",
49
- "@aws-sdk/middleware-sdk-s3": "3.289.0",
50
- "@aws-sdk/middleware-serde": "3.289.0",
51
- "@aws-sdk/middleware-signing": "3.289.0",
52
- "@aws-sdk/middleware-ssec": "3.289.0",
53
- "@aws-sdk/middleware-stack": "3.289.0",
54
- "@aws-sdk/middleware-user-agent": "3.289.0",
55
- "@aws-sdk/node-config-provider": "3.289.0",
56
- "@aws-sdk/node-http-handler": "3.289.0",
57
- "@aws-sdk/protocol-http": "3.289.0",
58
- "@aws-sdk/signature-v4-multi-region": "3.289.0",
59
- "@aws-sdk/smithy-client": "3.289.0",
60
- "@aws-sdk/types": "3.289.0",
61
- "@aws-sdk/url-parser": "3.289.0",
27
+ "@aws-sdk/client-sts": "3.290.0",
28
+ "@aws-sdk/config-resolver": "3.290.0",
29
+ "@aws-sdk/credential-provider-node": "3.290.0",
30
+ "@aws-sdk/eventstream-serde-browser": "3.290.0",
31
+ "@aws-sdk/eventstream-serde-config-resolver": "3.290.0",
32
+ "@aws-sdk/eventstream-serde-node": "3.290.0",
33
+ "@aws-sdk/fetch-http-handler": "3.290.0",
34
+ "@aws-sdk/hash-blob-browser": "3.290.0",
35
+ "@aws-sdk/hash-node": "3.290.0",
36
+ "@aws-sdk/hash-stream-node": "3.290.0",
37
+ "@aws-sdk/invalid-dependency": "3.290.0",
38
+ "@aws-sdk/md5-js": "3.290.0",
39
+ "@aws-sdk/middleware-bucket-endpoint": "3.290.0",
40
+ "@aws-sdk/middleware-content-length": "3.290.0",
41
+ "@aws-sdk/middleware-endpoint": "3.290.0",
42
+ "@aws-sdk/middleware-expect-continue": "3.290.0",
43
+ "@aws-sdk/middleware-flexible-checksums": "3.290.0",
44
+ "@aws-sdk/middleware-host-header": "3.290.0",
45
+ "@aws-sdk/middleware-location-constraint": "3.290.0",
46
+ "@aws-sdk/middleware-logger": "3.290.0",
47
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
48
+ "@aws-sdk/middleware-retry": "3.290.0",
49
+ "@aws-sdk/middleware-sdk-s3": "3.290.0",
50
+ "@aws-sdk/middleware-serde": "3.290.0",
51
+ "@aws-sdk/middleware-signing": "3.290.0",
52
+ "@aws-sdk/middleware-ssec": "3.290.0",
53
+ "@aws-sdk/middleware-stack": "3.290.0",
54
+ "@aws-sdk/middleware-user-agent": "3.290.0",
55
+ "@aws-sdk/node-config-provider": "3.290.0",
56
+ "@aws-sdk/node-http-handler": "3.290.0",
57
+ "@aws-sdk/protocol-http": "3.290.0",
58
+ "@aws-sdk/signature-v4-multi-region": "3.290.0",
59
+ "@aws-sdk/smithy-client": "3.290.0",
60
+ "@aws-sdk/types": "3.290.0",
61
+ "@aws-sdk/url-parser": "3.290.0",
62
62
  "@aws-sdk/util-base64": "3.208.0",
63
63
  "@aws-sdk/util-body-length-browser": "3.188.0",
64
64
  "@aws-sdk/util-body-length-node": "3.208.0",
65
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
66
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
67
- "@aws-sdk/util-endpoints": "3.289.0",
68
- "@aws-sdk/util-retry": "3.289.0",
69
- "@aws-sdk/util-stream-browser": "3.289.0",
70
- "@aws-sdk/util-stream-node": "3.289.0",
71
- "@aws-sdk/util-user-agent-browser": "3.289.0",
72
- "@aws-sdk/util-user-agent-node": "3.289.0",
65
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
66
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
67
+ "@aws-sdk/util-endpoints": "3.290.0",
68
+ "@aws-sdk/util-retry": "3.290.0",
69
+ "@aws-sdk/util-stream-browser": "3.290.0",
70
+ "@aws-sdk/util-stream-node": "3.290.0",
71
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
72
+ "@aws-sdk/util-user-agent-node": "3.290.0",
73
73
  "@aws-sdk/util-utf8": "3.254.0",
74
- "@aws-sdk/util-waiter": "3.289.0",
74
+ "@aws-sdk/util-waiter": "3.290.0",
75
75
  "@aws-sdk/xml-builder": "3.201.0",
76
76
  "fast-xml-parser": "4.1.2",
77
77
  "tslib": "^2.3.1"