@aws-sdk/client-s3 3.50.0 → 3.53.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 (228) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist-cjs/S3.js +15 -0
  3. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +2 -0
  4. package/dist-cjs/commands/DeleteObjectsCommand.js +6 -2
  5. package/dist-cjs/commands/GetObjectAttributesCommand.js +40 -0
  6. package/dist-cjs/commands/GetObjectCommand.js +7 -0
  7. package/dist-cjs/commands/ListPartsCommand.js +2 -0
  8. package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
  9. package/dist-cjs/commands/PutBucketAclCommand.js +6 -2
  10. package/dist-cjs/commands/PutBucketCorsCommand.js +6 -2
  11. package/dist-cjs/commands/PutBucketEncryptionCommand.js +6 -2
  12. package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
  13. package/dist-cjs/commands/PutBucketLoggingCommand.js +6 -2
  14. package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +2 -2
  15. package/dist-cjs/commands/PutBucketPolicyCommand.js +6 -2
  16. package/dist-cjs/commands/PutBucketReplicationCommand.js +6 -2
  17. package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +6 -2
  18. package/dist-cjs/commands/PutBucketTaggingCommand.js +6 -2
  19. package/dist-cjs/commands/PutBucketVersioningCommand.js +6 -2
  20. package/dist-cjs/commands/PutBucketWebsiteCommand.js +6 -2
  21. package/dist-cjs/commands/PutObjectAclCommand.js +6 -2
  22. package/dist-cjs/commands/PutObjectCommand.js +6 -0
  23. package/dist-cjs/commands/PutObjectLegalHoldCommand.js +6 -2
  24. package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +6 -2
  25. package/dist-cjs/commands/PutObjectRetentionCommand.js +9 -5
  26. package/dist-cjs/commands/PutObjectTaggingCommand.js +9 -5
  27. package/dist-cjs/commands/PutPublicAccessBlockCommand.js +8 -4
  28. package/dist-cjs/commands/RestoreObjectCommand.js +7 -2
  29. package/dist-cjs/commands/UploadPartCommand.js +6 -0
  30. package/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -2
  31. package/dist-cjs/commands/index.js +1 -0
  32. package/dist-cjs/index.js +3 -0
  33. package/dist-cjs/models/S3ServiceException.js +11 -0
  34. package/dist-cjs/models/models_0.js +165 -41
  35. package/dist-cjs/models/models_1.js +51 -1
  36. package/dist-cjs/protocols/Aws_restXml.js +962 -1057
  37. package/dist-cjs/runtimeConfig.browser.js +17 -13
  38. package/dist-cjs/runtimeConfig.js +17 -14
  39. package/dist-es/S3.js +15 -0
  40. package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -0
  41. package/dist-es/commands/DeleteObjectsCommand.js +6 -2
  42. package/dist-es/commands/GetObjectAttributesCommand.js +43 -0
  43. package/dist-es/commands/GetObjectCommand.js +7 -0
  44. package/dist-es/commands/ListPartsCommand.js +2 -0
  45. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
  46. package/dist-es/commands/PutBucketAclCommand.js +6 -2
  47. package/dist-es/commands/PutBucketCorsCommand.js +6 -2
  48. package/dist-es/commands/PutBucketEncryptionCommand.js +6 -2
  49. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
  50. package/dist-es/commands/PutBucketLoggingCommand.js +6 -2
  51. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -2
  52. package/dist-es/commands/PutBucketPolicyCommand.js +6 -2
  53. package/dist-es/commands/PutBucketReplicationCommand.js +6 -2
  54. package/dist-es/commands/PutBucketRequestPaymentCommand.js +6 -2
  55. package/dist-es/commands/PutBucketTaggingCommand.js +6 -2
  56. package/dist-es/commands/PutBucketVersioningCommand.js +6 -2
  57. package/dist-es/commands/PutBucketWebsiteCommand.js +6 -2
  58. package/dist-es/commands/PutObjectAclCommand.js +6 -2
  59. package/dist-es/commands/PutObjectCommand.js +6 -0
  60. package/dist-es/commands/PutObjectLegalHoldCommand.js +6 -2
  61. package/dist-es/commands/PutObjectLockConfigurationCommand.js +6 -2
  62. package/dist-es/commands/PutObjectRetentionCommand.js +7 -3
  63. package/dist-es/commands/PutObjectTaggingCommand.js +7 -3
  64. package/dist-es/commands/PutPublicAccessBlockCommand.js +7 -3
  65. package/dist-es/commands/RestoreObjectCommand.js +7 -2
  66. package/dist-es/commands/UploadPartCommand.js +6 -0
  67. package/dist-es/commands/WriteGetObjectResponseCommand.js +0 -2
  68. package/dist-es/commands/index.js +1 -0
  69. package/dist-es/index.js +1 -0
  70. package/dist-es/models/S3ServiceException.js +12 -0
  71. package/dist-es/models/models_0.js +141 -27
  72. package/dist-es/models/models_1.js +38 -1
  73. package/dist-es/protocols/Aws_restXml.js +1366 -900
  74. package/dist-es/runtimeConfig.browser.js +5 -3
  75. package/dist-es/runtimeConfig.js +5 -4
  76. package/dist-types/S3.d.ts +332 -90
  77. package/dist-types/S3Client.d.ts +19 -7
  78. package/dist-types/commands/CopyObjectCommand.d.ts +11 -5
  79. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +33 -11
  80. package/dist-types/commands/GetBucketCorsCommand.d.ts +7 -5
  81. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
  82. package/dist-types/commands/GetObjectAclCommand.d.ts +9 -1
  83. package/dist-types/commands/GetObjectAttributesCommand.d.ts +190 -0
  84. package/dist-types/commands/GetObjectCommand.d.ts +3 -5
  85. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +11 -1
  86. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +9 -0
  87. package/dist-types/commands/GetObjectRetentionCommand.d.ts +9 -0
  88. package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -3
  89. package/dist-types/commands/HeadObjectCommand.d.ts +6 -1
  90. package/dist-types/commands/ListBucketsCommand.d.ts +2 -1
  91. package/dist-types/commands/ListPartsCommand.d.ts +8 -0
  92. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -4
  93. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -1
  94. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -4
  95. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -1
  96. package/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -4
  97. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  98. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -8
  99. package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  100. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  101. package/dist-types/commands/RestoreObjectCommand.d.ts +24 -32
  102. package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -4
  103. package/dist-types/commands/index.d.ts +1 -0
  104. package/dist-types/index.d.ts +1 -0
  105. package/dist-types/models/S3ServiceException.d.ts +10 -0
  106. package/dist-types/models/models_0.d.ts +1065 -406
  107. package/dist-types/models/models_1.d.ts +434 -48
  108. package/dist-types/protocols/Aws_restXml.d.ts +3 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  110. package/dist-types/runtimeConfig.d.ts +2 -0
  111. package/dist-types/runtimeConfig.native.d.ts +3 -1
  112. package/dist-types/ts3.4/S3.d.ts +470 -0
  113. package/dist-types/ts3.4/S3Client.d.ts +184 -0
  114. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +24 -0
  197. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +17 -0
  199. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +17 -0
  201. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +17 -0
  202. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +24 -0
  205. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +24 -0
  207. package/dist-types/ts3.4/commands/index.d.ts +93 -0
  208. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  209. package/dist-types/ts3.4/index.d.ts +7 -0
  210. package/dist-types/ts3.4/models/S3ServiceException.d.ts +6 -0
  211. package/dist-types/ts3.4/models/index.d.ts +2 -0
  212. package/dist-types/ts3.4/models/models_0.d.ts +3903 -0
  213. package/dist-types/ts3.4/models/models_1.d.ts +767 -0
  214. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  215. package/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +4 -0
  216. package/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +4 -0
  217. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  218. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +281 -0
  219. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +49 -0
  220. package/dist-types/ts3.4/runtimeConfig.d.ts +50 -0
  221. package/dist-types/ts3.4/runtimeConfig.native.d.ts +48 -0
  222. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +15 -0
  223. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  224. package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +7 -0
  225. package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +7 -0
  226. package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +7 -0
  227. package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +7 -0
  228. package/package.json +50 -47
@@ -11,10 +11,10 @@ export interface PutBucketAccelerateConfigurationCommandOutput extends __Metadat
11
11
  * bucket-level feature that enables you to perform faster data transfers to Amazon S3.</p>
12
12
  *
13
13
  * <p> To use this operation, you must have permission to perform the
14
- * s3:PutAccelerateConfiguration action. The bucket owner has this permission by default. The
15
- * bucket owner can grant this permission to others. For more information about permissions,
16
- * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access Permissions to Your Amazon S3
17
- * Resources</a>.</p>
14
+ * <code>s3:PutAccelerateConfiguration</code> action. The bucket owner has this permission
15
+ * by default. The bucket owner can grant this permission to others. For more information
16
+ * about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
17
+ * Access Permissions to Your Amazon S3 Resources</a>.</p>
18
18
  *
19
19
  * <p> The Transfer Acceleration state of a bucket can be set to one of the following two
20
20
  * values:</p>
@@ -11,7 +11,9 @@ export interface PutBucketEncryptionCommandOutput extends __MetadataBearer {
11
11
  * encryption and Amazon S3 Bucket Key for an existing bucket.</p>
12
12
  * <p>Default encryption for a bucket can use server-side encryption with Amazon S3-managed keys
13
13
  * (SSE-S3) or customer managed keys (SSE-KMS). If you specify default encryption
14
- * using SSE-KMS, you can also configure Amazon S3 Bucket Key. For information about default
14
+ * using SSE-KMS, you can also configure Amazon S3 Bucket Key. When the default encryption is SSE-KMS, if
15
+ * you upload an object to the bucket and do not specify the KMS key to use for encryption, Amazon S3
16
+ * uses the default Amazon Web Services managed KMS key for your account. For information about default
15
17
  * encryption, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 default bucket encryption</a>
16
18
  * in the <i>Amazon S3 User Guide</i>. For more information about S3 Bucket Keys,
17
19
  * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket Keys</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -8,6 +8,8 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
8
8
  }
9
9
  /**
10
10
  * <p>Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle
11
+ * configuration. Keep in mind that this will overwrite an existing lifecycle configuration, so if
12
+ * you want to retain any configuration details, they must be included in the new lifecycle
11
13
  * configuration. For information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html">Managing your storage
12
14
  * lifecycle</a>.</p>
13
15
  *
@@ -59,7 +61,7 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
59
61
  * subresources (for example, lifecycle configuration and website configuration). Only the
60
62
  * resource owner (that is, the Amazon Web Services account that created it) can access the resource. The
61
63
  * resource owner can optionally grant access permissions to others by writing an access
62
- * policy. For this operation, a user must get the s3:PutLifecycleConfiguration
64
+ * policy. For this operation, a user must get the <code>s3:PutLifecycleConfiguration</code>
63
65
  * permission.</p>
64
66
  *
65
67
  * <p>You can also explicitly deny permissions. Explicit deny also supersedes any other
@@ -68,13 +70,19 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
68
70
  *
69
71
  * <ul>
70
72
  * <li>
71
- * <p>s3:DeleteObject</p>
73
+ * <p>
74
+ * <code>s3:DeleteObject</code>
75
+ * </p>
72
76
  * </li>
73
77
  * <li>
74
- * <p>s3:DeleteObjectVersion</p>
78
+ * <p>
79
+ * <code>s3:DeleteObjectVersion</code>
80
+ * </p>
75
81
  * </li>
76
82
  * <li>
77
- * <p>s3:PutLifecycleConfiguration</p>
83
+ * <p>
84
+ * <code>s3:PutLifecycleConfiguration</code>
85
+ * </p>
78
86
  * </li>
79
87
  * </ul>
80
88
  *
@@ -38,7 +38,8 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad
38
38
  *
39
39
  * <p>You can disable notifications by adding the empty NotificationConfiguration
40
40
  * element.</p>
41
- *
41
+ * <p>For more information about the number of event notification configurations that you can create per bucket, see
42
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#limits_s3">Amazon S3 service quotas</a> in <i>Amazon Web Services General Reference</i>.</p>
42
43
  * <p>By default, only the bucket owner can configure notifications on a bucket. However,
43
44
  * bucket owners can use a bucket policy to grant permission to other users to set this
44
45
  * configuration with <code>s3:PutBucketNotification</code> permission.</p>
@@ -7,8 +7,7 @@ export interface PutBucketVersioningCommandInput extends PutBucketVersioningRequ
7
7
  export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Sets the versioning state of an existing bucket. To set the versioning state, you must
11
- * be the bucket owner.</p>
10
+ * <p>Sets the versioning state of an existing bucket.</p>
12
11
  * <p>You can set the versioning state with one of the following values:</p>
13
12
  *
14
13
  * <p>
@@ -22,8 +21,9 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
22
21
  * <p>If the versioning state has never been set on a bucket, it has no versioning state; a
23
22
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a> request does not return a versioning state value.</p>
24
23
  *
25
- * <p>If the bucket owner enables MFA Delete in the bucket versioning configuration, the
26
- * bucket owner must include the <code>x-amz-mfa request</code> header and the
24
+ * <p>In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner
25
+ * and want to enable MFA Delete in the bucket versioning configuration, you must
26
+ * include the <code>x-amz-mfa request</code> header and the
27
27
  * <code>Status</code> and the <code>MfaDelete</code> request elements in a request to set
28
28
  * the versioning state of the bucket.</p>
29
29
  *
@@ -7,7 +7,7 @@ export interface PutObjectLegalHoldCommandInput extends PutObjectLegalHoldReques
7
7
  export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Applies a Legal Hold configuration to the specified object. For more information, see
10
+ * <p>Applies a legal hold configuration to the specified object. For more information, see
11
11
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
12
12
  * Objects</a>.</p>
13
13
  * <p>This action is not supported by Amazon S3 on Outposts.</p>
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { PutObjectRetentionOutput, PutObjectRetentionRequest } from "../models/models_0";
3
+ import { PutObjectRetentionOutput, PutObjectRetentionRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  export interface PutObjectRetentionCommandInput extends PutObjectRetentionRequest {
6
6
  }
@@ -13,13 +13,6 @@ export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutpu
13
13
  * requires the <code>s3:BypassGovernanceRetention</code> permission.
14
14
  * </p>
15
15
  * <p>This action is not supported by Amazon S3 on Outposts.</p>
16
- *
17
- * <p>
18
- * <b>Permissions</b>
19
- * </p>
20
- * <p>When the Object Lock retention mode is set to compliance, you need <code>s3:PutObjectRetention</code> and
21
- * <code>s3:BypassGovernanceRetention</code> permissions. For other requests to <code>PutObjectRetention</code>,
22
- * only <code>s3:PutObjectRetention</code> permissions are required.</p>
23
16
  * @example
24
17
  * Use a bare-bones client and the command you need to make an API call.
25
18
  * ```javascript
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { PutObjectTaggingOutput, PutObjectTaggingRequest } from "../models/models_0";
3
+ import { PutObjectTaggingOutput, PutObjectTaggingRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  export interface PutObjectTaggingCommandInput extends PutObjectTaggingRequest {
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { PutPublicAccessBlockRequest } from "../models/models_0";
3
+ import { PutPublicAccessBlockRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  export interface PutPublicAccessBlockCommandInput extends PutPublicAccessBlockRequest {
6
6
  }
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { RestoreObjectOutput } from "../models/models_0";
4
- import { RestoreObjectRequest } from "../models/models_1";
3
+ import { RestoreObjectOutput, RestoreObjectRequest } from "../models/models_1";
5
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
6
5
  export interface RestoreObjectCommandInput extends RestoreObjectRequest {
7
6
  }
@@ -145,42 +144,35 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
145
144
  * <ul>
146
145
  * <li>
147
146
  * <p>
148
- * <b>
149
- * <code>Expedited</code>
150
- * </b> - Expedited retrievals
151
- * allow you to quickly access your data stored in the S3 Glacier
152
- * storage class or S3 Intelligent-Tiering Archive tier when occasional urgent requests for a
153
- * subset of archives are required. For all but the largest archived objects (250 MB+),
154
- * data accessed using Expedited retrievals is typically made available within 1–5
155
- * minutes. Provisioned capacity ensures that retrieval capacity for Expedited
156
- * retrievals is available when you need it. Expedited retrievals and provisioned
157
- * capacity are not available for objects stored in the S3 Glacier Deep Archive
158
- * storage class or S3 Intelligent-Tiering Deep Archive tier.</p>
147
+ * <code>Expedited</code> - Expedited retrievals allow you to quickly access your
148
+ * data stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive
149
+ * tier when occasional urgent requests for a subset of archives are required. For all
150
+ * but the largest archived objects (250 MB+), data accessed using Expedited retrievals
151
+ * is typically made available within 1–5 minutes. Provisioned capacity ensures that
152
+ * retrieval capacity for Expedited retrievals is available when you need it. Expedited
153
+ * retrievals and provisioned capacity are not available for objects stored in the
154
+ * S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.</p>
159
155
  * </li>
160
156
  * <li>
161
157
  * <p>
162
- * <b>
163
- * <code>Standard</code>
164
- * </b> - Standard retrievals allow
165
- * you to access any of your archived objects within several hours. This is the default
166
- * option for retrieval requests that do not specify the retrieval option. Standard
167
- * retrievals typically finish within 3–5 hours for objects stored in the
168
- * S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. They
169
- * typically finish within 12 hours for objects stored in the
170
- * S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
171
- * Standard retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
158
+ * <code>Standard</code> - Standard retrievals allow you to access any of your
159
+ * archived objects within several hours. This is the default option for retrieval
160
+ * requests that do not specify the retrieval option. Standard retrievals typically
161
+ * finish within 3–5 hours for objects stored in the S3 Glacier storage
162
+ * class or S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for
163
+ * objects stored in the S3 Glacier Deep Archive storage class or
164
+ * S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored in
165
+ * S3 Intelligent-Tiering.</p>
172
166
  * </li>
173
167
  * <li>
174
168
  * <p>
175
- * <b>
176
- * <code>Bulk</code>
177
- * </b> - Bulk retrievals are the
178
- * lowest-cost retrieval option in S3 Glacier, enabling you to retrieve large amounts,
179
- * even petabytes, of data inexpensively. Bulk retrievals typically finish within 5–12
180
- * hours for objects stored in the S3 Glacier storage class or
181
- * S3 Intelligent-Tiering Archive tier. They typically finish within 48 hours for objects stored
182
- * in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
183
- * Bulk retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
169
+ * <code>Bulk</code> - Bulk retrievals are the lowest-cost retrieval option in
170
+ * S3 Glacier, enabling you to retrieve large amounts, even petabytes, of data
171
+ * inexpensively. Bulk retrievals typically finish within 5–12 hours for objects stored
172
+ * in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. They
173
+ * typically finish within 48 hours for objects stored in the
174
+ * S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. Bulk
175
+ * retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
184
176
  * </li>
185
177
  * </ul>
186
178
  * <p>For more information about archive retrieval options and provisioned capacity for
@@ -36,13 +36,13 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met
36
36
  * Permissions</a> in the <i>Amazon S3 User Guide</i>.</p>
37
37
  * </li>
38
38
  * <li>
39
- * <p>For information about copying objects using a single atomic action vs. the
40
- * multipart upload, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html">Operations on
41
- * Objects</a> in the <i>Amazon S3 User Guide</i>.</p>
39
+ * <p>For information about copying objects using a single atomic action vs. a multipart
40
+ * upload, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html">Operations on Objects</a> in
41
+ * the <i>Amazon S3 User Guide</i>.</p>
42
42
  * </li>
43
43
  * <li>
44
44
  * <p>For information about using server-side encryption with customer-provided
45
- * encryption keys with the UploadPartCopy operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>.</p>
45
+ * encryption keys with the <code>UploadPartCopy</code> operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>.</p>
46
46
  * </li>
47
47
  * </ul>
48
48
  * <p>Note the following additional considerations about the request headers
@@ -41,6 +41,7 @@ export * from "./GetBucketTaggingCommand";
41
41
  export * from "./GetBucketVersioningCommand";
42
42
  export * from "./GetBucketWebsiteCommand";
43
43
  export * from "./GetObjectAclCommand";
44
+ export * from "./GetObjectAttributesCommand";
44
45
  export * from "./GetObjectCommand";
45
46
  export * from "./GetObjectLegalHoldCommand";
46
47
  export * from "./GetObjectLockConfigurationCommand";
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { S3ServiceException } from "./models/S3ServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from S3 service.
4
+ */
5
+ export declare class S3ServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }