@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
@@ -1,6 +1,218 @@
1
1
  /// <reference types="node" />
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
3
  import { Readable } from "stream";
3
- import { Grant, ObjectCannedACL, ObjectLockLegalHoldStatus, ObjectLockMode, ReplicationStatus, RequestCharged, RequestPayer, ServerSideEncryption, StorageClass, Tagging, Tier } from "./models_0";
4
+ import { ChecksumAlgorithm, Grant, ObjectCannedACL, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, PublicAccessBlockConfiguration, ReplicationStatus, RequestCharged, RequestPayer, ServerSideEncryption, StorageClass, Tagging } from "./models_0";
5
+ import { S3ServiceException as __BaseException } from "./S3ServiceException";
6
+ export interface PutObjectRetentionOutput {
7
+ /**
8
+ * <p>If present, indicates that the requester was successfully charged for the
9
+ * request.</p>
10
+ */
11
+ RequestCharged?: RequestCharged | string;
12
+ }
13
+ export declare namespace PutObjectRetentionOutput {
14
+ /**
15
+ * @internal
16
+ */
17
+ const filterSensitiveLog: (obj: PutObjectRetentionOutput) => any;
18
+ }
19
+ export interface PutObjectRetentionRequest {
20
+ /**
21
+ * <p>The bucket name that contains the object you want to apply this Object Retention
22
+ * configuration to. </p>
23
+ * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
24
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
25
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
26
+ */
27
+ Bucket: string | undefined;
28
+ /**
29
+ * <p>The key name for the object that you want to apply this Object Retention configuration
30
+ * to.</p>
31
+ */
32
+ Key: string | undefined;
33
+ /**
34
+ * <p>The container element for the Object Retention configuration.</p>
35
+ */
36
+ Retention?: ObjectLockRetention;
37
+ /**
38
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
39
+ * owners need not specify this parameter in their requests. For information about downloading
40
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
41
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
42
+ */
43
+ RequestPayer?: RequestPayer | string;
44
+ /**
45
+ * <p>The version ID for the object that you want to apply this Object Retention configuration
46
+ * to.</p>
47
+ */
48
+ VersionId?: string;
49
+ /**
50
+ * <p>Indicates whether this action should bypass Governance-mode restrictions.</p>
51
+ */
52
+ BypassGovernanceRetention?: boolean;
53
+ /**
54
+ * <p>The MD5 hash for the request body.</p>
55
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
56
+ */
57
+ ContentMD5?: string;
58
+ /**
59
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
60
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
61
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
62
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
63
+ * the <i>Amazon S3 User Guide</i>.</p>
64
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
65
+ * <code>ChecksumAlgorithm</code> parameter.</p>
66
+ */
67
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
68
+ /**
69
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
70
+ */
71
+ ExpectedBucketOwner?: string;
72
+ }
73
+ export declare namespace PutObjectRetentionRequest {
74
+ /**
75
+ * @internal
76
+ */
77
+ const filterSensitiveLog: (obj: PutObjectRetentionRequest) => any;
78
+ }
79
+ export interface PutObjectTaggingOutput {
80
+ /**
81
+ * <p>The versionId of the object the tag-set was added to.</p>
82
+ */
83
+ VersionId?: string;
84
+ }
85
+ export declare namespace PutObjectTaggingOutput {
86
+ /**
87
+ * @internal
88
+ */
89
+ const filterSensitiveLog: (obj: PutObjectTaggingOutput) => any;
90
+ }
91
+ export interface PutObjectTaggingRequest {
92
+ /**
93
+ * <p>The bucket name containing the object. </p>
94
+ * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
95
+ * <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
96
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
97
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
98
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
99
+ */
100
+ Bucket: string | undefined;
101
+ /**
102
+ * <p>Name of the object key.</p>
103
+ */
104
+ Key: string | undefined;
105
+ /**
106
+ * <p>The versionId of the object that the tag-set will be added to.</p>
107
+ */
108
+ VersionId?: string;
109
+ /**
110
+ * <p>The MD5 hash for the request body.</p>
111
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
112
+ */
113
+ ContentMD5?: string;
114
+ /**
115
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
116
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
117
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
118
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
119
+ * the <i>Amazon S3 User Guide</i>.</p>
120
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
121
+ * <code>ChecksumAlgorithm</code> parameter.</p>
122
+ */
123
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
124
+ /**
125
+ * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p>
126
+ */
127
+ Tagging: Tagging | undefined;
128
+ /**
129
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
130
+ */
131
+ ExpectedBucketOwner?: string;
132
+ /**
133
+ * <p>Confirms that the requester knows that they will be charged for the request. Bucket
134
+ * owners need not specify this parameter in their requests. For information about downloading
135
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
136
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
137
+ */
138
+ RequestPayer?: RequestPayer | string;
139
+ }
140
+ export declare namespace PutObjectTaggingRequest {
141
+ /**
142
+ * @internal
143
+ */
144
+ const filterSensitiveLog: (obj: PutObjectTaggingRequest) => any;
145
+ }
146
+ export interface PutPublicAccessBlockRequest {
147
+ /**
148
+ * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you want
149
+ * to set.</p>
150
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
151
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
152
+ */
153
+ Bucket: string | undefined;
154
+ /**
155
+ * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p>
156
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
157
+ */
158
+ ContentMD5?: string;
159
+ /**
160
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
161
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
162
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
163
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
164
+ * the <i>Amazon S3 User Guide</i>.</p>
165
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
166
+ * <code>ChecksumAlgorithm</code> parameter.</p>
167
+ */
168
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
169
+ /**
170
+ * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
171
+ * bucket. You can enable the configuration options in any combination. For more information
172
+ * about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
173
+ */
174
+ PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
175
+ /**
176
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
177
+ */
178
+ ExpectedBucketOwner?: string;
179
+ }
180
+ export declare namespace PutPublicAccessBlockRequest {
181
+ /**
182
+ * @internal
183
+ */
184
+ const filterSensitiveLog: (obj: PutPublicAccessBlockRequest) => any;
185
+ }
186
+ /**
187
+ * <p>This action is not allowed against this storage tier.</p>
188
+ */
189
+ export declare class ObjectAlreadyInActiveTierError extends __BaseException {
190
+ readonly name: "ObjectAlreadyInActiveTierError";
191
+ readonly $fault: "client";
192
+ /**
193
+ * @internal
194
+ */
195
+ constructor(opts: __ExceptionOptionType<ObjectAlreadyInActiveTierError, __BaseException>);
196
+ }
197
+ export interface RestoreObjectOutput {
198
+ /**
199
+ * <p>If present, indicates that the requester was successfully charged for the
200
+ * request.</p>
201
+ */
202
+ RequestCharged?: RequestCharged | string;
203
+ /**
204
+ * <p>Indicates the path in the provided S3 output location where Select results will be
205
+ * restored to.</p>
206
+ */
207
+ RestoreOutputPath?: string;
208
+ }
209
+ export declare namespace RestoreObjectOutput {
210
+ /**
211
+ * @internal
212
+ */
213
+ const filterSensitiveLog: (obj: RestoreObjectOutput) => any;
214
+ }
215
+ export declare type Tier = "Bulk" | "Expedited" | "Standard";
4
216
  /**
5
217
  * <p>Container for S3 Glacier job parameters.</p>
6
218
  */
@@ -29,7 +241,8 @@ export interface Encryption {
29
241
  * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies the ID of
30
242
  * the symmetric customer managed key to use for encryption of job results. Amazon S3 only
31
243
  * supports symmetric keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using symmetric and
32
- * asymmetric keys</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.</p>
244
+ * asymmetric keys</a> in the <i>Amazon Web Services Key Management Service Developer
245
+ * Guide</i>.</p>
33
246
  */
34
247
  KMSKeyId?: string;
35
248
  /**
@@ -162,7 +375,8 @@ export interface CSVInput {
162
375
  Comments?: string;
163
376
  /**
164
377
  * <p>A single character used for escaping the quotation mark character inside an already
165
- * escaped value. For example, the value """ a , b """ is parsed as " a , b ".</p>
378
+ * escaped value. For example, the value <code>""" a , b """</code> is parsed as <code>" a , b
379
+ * "</code>.</p>
166
380
  */
167
381
  QuoteEscapeCharacter?: string;
168
382
  /**
@@ -420,7 +634,8 @@ export interface RestoreObjectRequest {
420
634
  /**
421
635
  * <p>The bucket name containing the object to restore. </p>
422
636
  * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
423
- * <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. When using this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
637
+ * <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
638
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
424
639
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
425
640
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
426
641
  */
@@ -440,12 +655,22 @@ export interface RestoreObjectRequest {
440
655
  /**
441
656
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
442
657
  * owners need not specify this parameter in their requests. For information about downloading
443
- * objects from requester pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
444
- * Requestor Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
658
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
659
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
445
660
  */
446
661
  RequestPayer?: RequestPayer | string;
447
662
  /**
448
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP <code>403 (Access Denied)</code> error.</p>
663
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
664
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
665
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
666
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
667
+ * the <i>Amazon S3 User Guide</i>.</p>
668
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
669
+ * <code>ChecksumAlgorithm</code> parameter.</p>
670
+ */
671
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
672
+ /**
673
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
449
674
  */
450
675
  ExpectedBucketOwner?: string;
451
676
  }
@@ -690,8 +915,8 @@ export declare namespace RequestProgress {
690
915
  export interface ScanRange {
691
916
  /**
692
917
  * <p>Specifies the start of the byte range. This parameter is optional. Valid values:
693
- * non-negative integers. The default value is 0. If only start is supplied, it means scan
694
- * from that point to the end of the file.For example;
918
+ * non-negative integers. The default value is 0. If only <code>start</code> is supplied, it
919
+ * means scan from that point to the end of the file. For example,
695
920
  * <code><scanrange><start>50</start></scanrange></code> means scan
696
921
  * from byte 50 until the end of the file.</p>
697
922
  */
@@ -732,17 +957,24 @@ export interface SelectObjectContentRequest {
732
957
  */
733
958
  Key: string | undefined;
734
959
  /**
735
- * <p>The SSE Algorithm used to encrypt the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption (Using Customer-Provided Encryption Keys</a>. </p>
960
+ * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created
961
+ * using a checksum algorithm. For more information,
962
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
963
+ * <i>Amazon S3 User Guide</i>.</p>
736
964
  */
737
965
  SSECustomerAlgorithm?: string;
738
966
  /**
739
- * <p>The SSE Customer Key. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
740
- * (Using Customer-Provided Encryption Keys</a>. </p>
967
+ * <p>The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm.
968
+ * For more information, see
969
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
970
+ * <i>Amazon S3 User Guide</i>.</p>
741
971
  */
742
972
  SSECustomerKey?: string;
743
973
  /**
744
- * <p>The SSE Customer Key MD5. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
745
- * (Using Customer-Provided Encryption Keys</a>. </p>
974
+ * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum
975
+ * algorithm. For more information,
976
+ * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
977
+ * <i>Amazon S3 User Guide</i>.</p>
746
978
  */
747
979
  SSECustomerKeyMD5?: string;
748
980
  /**
@@ -793,7 +1025,7 @@ export interface SelectObjectContentRequest {
793
1025
  */
794
1026
  ScanRange?: ScanRange;
795
1027
  /**
796
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP <code>403 (Access Denied)</code> error.</p>
1028
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
797
1029
  */
798
1030
  ExpectedBucketOwner?: string;
799
1031
  }
@@ -813,6 +1045,34 @@ export interface UploadPartOutput {
813
1045
  * <p>Entity tag for the uploaded object.</p>
814
1046
  */
815
1047
  ETag?: string;
1048
+ /**
1049
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
1050
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1051
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1052
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1053
+ */
1054
+ ChecksumCRC32?: string;
1055
+ /**
1056
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
1057
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1058
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1059
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1060
+ */
1061
+ ChecksumCRC32C?: string;
1062
+ /**
1063
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
1064
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1065
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1066
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1067
+ */
1068
+ ChecksumSHA1?: string;
1069
+ /**
1070
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
1071
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1072
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1073
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1074
+ */
1075
+ ChecksumSHA256?: string;
816
1076
  /**
817
1077
  * <p>If server-side encryption with a customer-provided encryption key was requested, the
818
1078
  * response will include this header confirming the encryption algorithm used.</p>
@@ -853,7 +1113,8 @@ export interface UploadPartRequest {
853
1113
  /**
854
1114
  * <p>The name of the bucket to which the multipart upload was initiated.</p>
855
1115
  * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
856
- * <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. When using this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
1116
+ * <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
1117
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
857
1118
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
858
1119
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
859
1120
  */
@@ -869,6 +1130,46 @@ export interface UploadPartRequest {
869
1130
  * are specified.</p>
870
1131
  */
871
1132
  ContentMD5?: string;
1133
+ /**
1134
+ * <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
1135
+ * additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
1136
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
1137
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
1138
+ * the <i>Amazon S3 User Guide</i>.</p>
1139
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided
1140
+ * <code>ChecksumAlgorithm</code> parameter.</p>
1141
+ * <p>This checksum algorithm must be the same for all parts and it match the checksum
1142
+ * value supplied in the <code>CreateMultipartUpload</code> request.</p>
1143
+ */
1144
+ ChecksumAlgorithm?: ChecksumAlgorithm | string;
1145
+ /**
1146
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1147
+ * This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
1148
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
1149
+ * <i>Amazon S3 User Guide</i>.</p>
1150
+ */
1151
+ ChecksumCRC32?: string;
1152
+ /**
1153
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1154
+ * This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see
1155
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
1156
+ * <i>Amazon S3 User Guide</i>.</p>
1157
+ */
1158
+ ChecksumCRC32C?: string;
1159
+ /**
1160
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1161
+ * This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see
1162
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
1163
+ * <i>Amazon S3 User Guide</i>.</p>
1164
+ */
1165
+ ChecksumSHA1?: string;
1166
+ /**
1167
+ * <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
1168
+ * This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see
1169
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
1170
+ * <i>Amazon S3 User Guide</i>.</p>
1171
+ */
1172
+ ChecksumSHA256?: string;
872
1173
  /**
873
1174
  * <p>Object key for which the multipart upload was initiated.</p>
874
1175
  */
@@ -904,12 +1205,12 @@ export interface UploadPartRequest {
904
1205
  /**
905
1206
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
906
1207
  * owners need not specify this parameter in their requests. For information about downloading
907
- * objects from requester pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
908
- * Requestor Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1208
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1209
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
909
1210
  */
910
1211
  RequestPayer?: RequestPayer | string;
911
1212
  /**
912
- * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP <code>403 (Access Denied)</code> error.</p>
1213
+ * <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
913
1214
  */
914
1215
  ExpectedBucketOwner?: string;
915
1216
  }
@@ -931,6 +1232,34 @@ export interface CopyPartResult {
931
1232
  * <p>Date and time at which the object was uploaded.</p>
932
1233
  */
933
1234
  LastModified?: Date;
1235
+ /**
1236
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
1237
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1238
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1239
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1240
+ */
1241
+ ChecksumCRC32?: string;
1242
+ /**
1243
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
1244
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1245
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1246
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1247
+ */
1248
+ ChecksumCRC32C?: string;
1249
+ /**
1250
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
1251
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1252
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1253
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1254
+ */
1255
+ ChecksumSHA1?: string;
1256
+ /**
1257
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
1258
+ * with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
1259
+ * with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
1260
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1261
+ */
1262
+ ChecksumSHA256?: string;
934
1263
  }
935
1264
  export declare namespace CopyPartResult {
936
1265
  /**
@@ -989,7 +1318,8 @@ export interface UploadPartCopyRequest {
989
1318
  /**
990
1319
  * <p>The bucket name.</p>
991
1320
  * <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
992
- * <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. When using this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
1321
+ * <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
1322
+ * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
993
1323
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
994
1324
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
995
1325
  */
@@ -999,19 +1329,18 @@ export interface UploadPartCopyRequest {
999
1329
  * formats, depending on whether you want to access the source object through an <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html">access point</a>:</p>
1000
1330
  * <ul>
1001
1331
  * <li>
1002
- * <p>For objects not accessed through an access point, specify the name of the source
1003
- * bucket and key of the source object, separated by a slash (/). For example, to copy
1004
- * the object <code>reports/january.pdf</code> from the bucket
1005
- * <code>awsexamplebucket</code>, use
1006
- * <code>awsexamplebucket/reports/january.pdf</code>. The value must be URL
1007
- * encoded.</p>
1332
+ * <p>For objects not accessed through an access point, specify the name of the source bucket
1333
+ * and key of the source object, separated by a slash (/). For example, to copy the
1334
+ * object <code>reports/january.pdf</code> from the bucket
1335
+ * <code>awsexamplebucket</code>, use <code>awsexamplebucket/reports/january.pdf</code>.
1336
+ * The value must be URL-encoded.</p>
1008
1337
  * </li>
1009
1338
  * <li>
1010
1339
  * <p>For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through access point <code>my-access-point</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. The value must be URL encoded.</p>
1011
1340
  * <note>
1012
1341
  * <p>Amazon S3 supports copy operations using access points only when the source and destination buckets are in the same Amazon Web Services Region.</p>
1013
1342
  * </note>
1014
- * <p>Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. The value must be URL encoded. </p>
1343
+ * <p>Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. The value must be URL-encoded. </p>
1015
1344
  * </li>
1016
1345
  * </ul>
1017
1346
  * <p>To copy a specific version of an object, append <code>?versionId=<version-id></code>
@@ -1096,16 +1425,16 @@ export interface UploadPartCopyRequest {
1096
1425
  /**
1097
1426
  * <p>Confirms that the requester knows that they will be charged for the request. Bucket
1098
1427
  * owners need not specify this parameter in their requests. For information about downloading
1099
- * objects from requester pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1100
- * Requestor Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1428
+ * objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
1429
+ * Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
1101
1430
  */
1102
1431
  RequestPayer?: RequestPayer | string;
1103
1432
  /**
1104
- * <p>The account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP <code>403 (Access Denied)</code> error.</p>
1433
+ * <p>The account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1105
1434
  */
1106
1435
  ExpectedBucketOwner?: string;
1107
1436
  /**
1108
- * <p>The account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP <code>403 (Access Denied)</code> error.</p>
1437
+ * <p>The account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1109
1438
  */
1110
1439
  ExpectedSourceBucketOwner?: string;
1111
1440
  }
@@ -1138,72 +1467,72 @@ export interface WriteGetObjectResponseRequest {
1138
1467
  * <ul>
1139
1468
  * <li>
1140
1469
  * <p>
1141
- * <i>200 - OK</i>
1470
+ * <code>200 - OK</code>
1142
1471
  * </p>
1143
1472
  * </li>
1144
1473
  * <li>
1145
1474
  * <p>
1146
- * <i>206 - Partial Content</i>
1475
+ * <code>206 - Partial Content</code>
1147
1476
  * </p>
1148
1477
  * </li>
1149
1478
  * <li>
1150
1479
  * <p>
1151
- * <i>304 - Not Modified</i>
1480
+ * <code>304 - Not Modified</code>
1152
1481
  * </p>
1153
1482
  * </li>
1154
1483
  * <li>
1155
1484
  * <p>
1156
- * <i>400 - Bad Request</i>
1485
+ * <code>400 - Bad Request</code>
1157
1486
  * </p>
1158
1487
  * </li>
1159
1488
  * <li>
1160
1489
  * <p>
1161
- * <i>401 - Unauthorized</i>
1490
+ * <code>401 - Unauthorized</code>
1162
1491
  * </p>
1163
1492
  * </li>
1164
1493
  * <li>
1165
1494
  * <p>
1166
- * <i>403 - Forbidden</i>
1495
+ * <code>403 - Forbidden</code>
1167
1496
  * </p>
1168
1497
  * </li>
1169
1498
  * <li>
1170
1499
  * <p>
1171
- * <i>404 - Not Found</i>
1500
+ * <code>404 - Not Found</code>
1172
1501
  * </p>
1173
1502
  * </li>
1174
1503
  * <li>
1175
1504
  * <p>
1176
- * <i>405 - Method Not Allowed</i>
1505
+ * <code>405 - Method Not Allowed</code>
1177
1506
  * </p>
1178
1507
  * </li>
1179
1508
  * <li>
1180
1509
  * <p>
1181
- * <i>409 - Conflict</i>
1510
+ * <code>409 - Conflict</code>
1182
1511
  * </p>
1183
1512
  * </li>
1184
1513
  * <li>
1185
1514
  * <p>
1186
- * <i>411 - Length Required</i>
1515
+ * <code>411 - Length Required</code>
1187
1516
  * </p>
1188
1517
  * </li>
1189
1518
  * <li>
1190
1519
  * <p>
1191
- * <i>412 - Precondition Failed</i>
1520
+ * <code>412 - Precondition Failed</code>
1192
1521
  * </p>
1193
1522
  * </li>
1194
1523
  * <li>
1195
1524
  * <p>
1196
- * <i>416 - Range Not Satisfiable</i>
1525
+ * <code>416 - Range Not Satisfiable</code>
1197
1526
  * </p>
1198
1527
  * </li>
1199
1528
  * <li>
1200
1529
  * <p>
1201
- * <i>500 - Internal Server Error</i>
1530
+ * <code>500 - Internal Server Error</code>
1202
1531
  * </p>
1203
1532
  * </li>
1204
1533
  * <li>
1205
1534
  * <p>
1206
- * <i>503 - Service Unavailable</i>
1535
+ * <code>503 - Service Unavailable</code>
1207
1536
  * </p>
1208
1537
  * </li>
1209
1538
  * </ul>
@@ -1213,7 +1542,8 @@ export interface WriteGetObjectResponseRequest {
1213
1542
  * <p>A string that uniquely identifies an error condition. Returned in the <Code> tag
1214
1543
  * of the error XML response for a corresponding <code>GetObject</code> call. Cannot be used
1215
1544
  * with a successful <code>StatusCode</code> header or when the transformed object is provided
1216
- * in the body. All error codes from S3 are sentence-cased. Regex value is "^[A-Z][a-zA-Z]+$".</p>
1545
+ * in the body. All error codes from S3 are sentence-cased. The regular expression (regex)
1546
+ * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p>
1217
1547
  */
1218
1548
  ErrorCode?: string;
1219
1549
  /**
@@ -1257,6 +1587,55 @@ export interface WriteGetObjectResponseRequest {
1257
1587
  * <p>A standard MIME type describing the format of the object data.</p>
1258
1588
  */
1259
1589
  ContentType?: string;
1590
+ /**
1591
+ * <p>This header can be used as a data integrity check to verify that the data received is the
1592
+ * same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32 checksum
1593
+ * of the object returned by the Object Lambda function. This may not match the checksum for the
1594
+ * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
1595
+ * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1596
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1597
+ * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1598
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1599
+ * checksum headers, this request will fail.</p>
1600
+ * <p></p>
1601
+ */
1602
+ ChecksumCRC32?: string;
1603
+ /**
1604
+ * <p>This header can be used as a data integrity check to verify that the data received is the
1605
+ * same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C checksum
1606
+ * of the object returned by the Object Lambda function. This may not match the checksum for the
1607
+ * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
1608
+ * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1609
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1610
+ * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1611
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1612
+ * checksum headers, this request will fail.</p>
1613
+ */
1614
+ ChecksumCRC32C?: string;
1615
+ /**
1616
+ * <p>This header can be used as a data integrity check to verify that the data received is the
1617
+ * same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1 digest
1618
+ * of the object returned by the Object Lambda function. This may not match the checksum for the
1619
+ * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
1620
+ * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1621
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1622
+ * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1623
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1624
+ * checksum headers, this request will fail.</p>
1625
+ */
1626
+ ChecksumSHA1?: string;
1627
+ /**
1628
+ * <p>This header can be used as a data integrity check to verify that the data received is the
1629
+ * same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256 digest
1630
+ * of the object returned by the Object Lambda function. This may not match the checksum for the
1631
+ * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
1632
+ * <code>GetObject</code> request required checksum validation. For more information about checksums, see
1633
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
1634
+ * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1635
+ * <p>Only one checksum header can be specified at a time. If you supply multiple
1636
+ * checksum headers, this request will fail.</p>
1637
+ */
1638
+ ChecksumSHA256?: string;
1260
1639
  /**
1261
1640
  * <p>Specifies whether an object stored in Amazon S3 is (<code>true</code>) or is not
1262
1641
  * (<code>false</code>) a delete marker. </p>
@@ -1272,7 +1651,10 @@ export interface WriteGetObjectResponseRequest {
1272
1651
  */
1273
1652
  Expires?: Date;
1274
1653
  /**
1275
- * <p>If object stored in Amazon S3 expiration is configured (see PUT Bucket lifecycle) it includes expiry-date and rule-id key-value pairs providing object expiration information. The value of the rule-id is URL encoded. </p>
1654
+ * <p>If the object expiration is configured (see PUT Bucket lifecycle), the response
1655
+ * includes this header. It includes the <code>expiry-date</code> and <code>rule-id</code>
1656
+ * key-value pairs that provide the object expiration information. The value of the
1657
+ * <code>rule-id</code> is URL-encoded. </p>
1276
1658
  */
1277
1659
  Expiration?: string;
1278
1660
  /**
@@ -1344,7 +1726,11 @@ export interface WriteGetObjectResponseRequest {
1344
1726
  */
1345
1727
  SSECustomerKeyMD5?: string;
1346
1728
  /**
1347
- * <p> The class of storage used to store object in Amazon S3.</p>
1729
+ * <p>Provides storage class information of the object. Amazon S3 returns this header for all
1730
+ * objects except for S3 Standard storage class objects.</p>
1731
+ *
1732
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage
1733
+ * Classes</a>.</p>
1348
1734
  */
1349
1735
  StorageClass?: StorageClass | string;
1350
1736
  /**