@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
@@ -8,7 +8,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
8
8
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
9
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
10
10
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
11
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
11
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, GetAwsChunkedEncodingStream, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
12
12
  import { Readable } from "stream";
13
13
  import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand";
14
14
  import { CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput } from "./commands/CompleteMultipartUploadCommand";
@@ -53,6 +53,7 @@ import { GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput } from "./c
53
53
  import { GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput } from "./commands/GetBucketVersioningCommand";
54
54
  import { GetBucketWebsiteCommandInput, GetBucketWebsiteCommandOutput } from "./commands/GetBucketWebsiteCommand";
55
55
  import { GetObjectAclCommandInput, GetObjectAclCommandOutput } from "./commands/GetObjectAclCommand";
56
+ import { GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput } from "./commands/GetObjectAttributesCommand";
56
57
  import { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObjectCommand";
57
58
  import { GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput } from "./commands/GetObjectLegalHoldCommand";
58
59
  import { GetObjectLockConfigurationCommandInput, GetObjectLockConfigurationCommandOutput } from "./commands/GetObjectLockConfigurationCommand";
@@ -102,8 +103,8 @@ import { SelectObjectContentCommandInput, SelectObjectContentCommandOutput } fro
102
103
  import { UploadPartCommandInput, UploadPartCommandOutput } from "./commands/UploadPartCommand";
103
104
  import { UploadPartCopyCommandInput, UploadPartCopyCommandOutput } from "./commands/UploadPartCopyCommand";
104
105
  import { WriteGetObjectResponseCommandInput, WriteGetObjectResponseCommandOutput } from "./commands/WriteGetObjectResponseCommand";
105
- export declare type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateMultipartUploadCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
106
- export declare type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateMultipartUploadCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
106
+ export declare type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateMultipartUploadCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
107
+ export declare type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateMultipartUploadCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
107
108
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
108
109
  /**
109
110
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -212,10 +213,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
212
213
  * @internal
213
214
  */
214
215
  defaultUserAgentProvider?: Provider<__UserAgent>;
215
- /**
216
- * The function that provides necessary utilities for generating and parsing event stream
217
- */
218
- eventStreamSerdeProvider?: __EventStreamSerdeProvider;
219
216
  /**
220
217
  * A function that, given a hash constructor and a stream, calculates the
221
218
  * hash of the streamed value.
@@ -228,6 +225,21 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
228
225
  * @internal
229
226
  */
230
227
  md5?: __HashConstructor;
228
+ /**
229
+ * A constructor for a class implementing the {@link __Hash} interface
230
+ * that computes SHA1 hashes.
231
+ * @internal
232
+ */
233
+ sha1?: __HashConstructor;
234
+ /**
235
+ * A function that returns Readable Stream which follows aws-chunked encoding stream.
236
+ * @internal
237
+ */
238
+ getAwsChunkedEncodingStream?: GetAwsChunkedEncodingStream;
239
+ /**
240
+ * The function that provides necessary utilities for generating and parsing event stream
241
+ */
242
+ eventStreamSerdeProvider?: __EventStreamSerdeProvider;
231
243
  /**
232
244
  * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
233
245
  */
@@ -10,9 +10,10 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
10
10
  * <p>Creates a copy of an object that is already stored in Amazon S3.</p>
11
11
  * <note>
12
12
  * <p>You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your
13
- * object up to 5 GB in size in a single atomic action using this API. However, to copy
14
- * an object greater than 5 GB, you must use the multipart upload Upload Part - Copy API.
15
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html">Copy Object Using the REST Multipart Upload API</a>.</p>
13
+ * object up to 5 GB in size in a single atomic action using this API. However, to copy an
14
+ * object greater than 5 GB, you must use the multipart upload Upload Part - Copy
15
+ * (UploadPartCopy) API. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html">Copy Object Using the
16
+ * REST Multipart Upload API</a>.</p>
16
17
  * </note>
17
18
  * <p>All copy requests must be authenticated. Additionally, you must have
18
19
  * <i>read</i> access to the source object and <i>write</i>
@@ -55,8 +56,7 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
55
56
  * Amazon S3-specific condition keys, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html">Actions, Resources, and Condition Keys for
56
57
  * Amazon S3</a>.</p>
57
58
  * <p>
58
- * <b>
59
- * <code>x-amz-copy-source-if</code> Headers</b>
59
+ * <b>x-amz-copy-source-if Headers</b>
60
60
  * </p>
61
61
  * <p>To only copy an object under certain conditions, such as whether the <code>Etag</code>
62
62
  * matches or whether the object was modified before or after a specified date, use the
@@ -151,6 +151,12 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
151
151
  * all objects written to the bucket by any account will be owned by the bucket owner.</p>
152
152
  * </note>
153
153
  * <p>
154
+ * <b>Checksums</b>
155
+ * </p>
156
+ * <p>When copying an object, if it has a checksum, that checksum will be copied to the new object
157
+ * by default. When you copy the object over, you may optionally specify a different checksum
158
+ * algorithm to use with the <code>x-amz-checksum-algorithm</code> header.</p>
159
+ * <p>
154
160
  * <b>Storage Class Options</b>
155
161
  * </p>
156
162
  * <p>You can use the <code>CopyObject</code> action to change the storage class of an
@@ -97,13 +97,19 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
97
97
  * used to encrypt data, specify the following headers in the request.</p>
98
98
  * <ul>
99
99
  * <li>
100
- * <p>x-amz-server-side-encryption</p>
100
+ * <p>
101
+ * <code>x-amz-server-side-encryption</code>
102
+ * </p>
101
103
  * </li>
102
104
  * <li>
103
- * <p>x-amz-server-side-encryption-aws-kms-key-id</p>
105
+ * <p>
106
+ * <code>x-amz-server-side-encryption-aws-kms-key-id</code>
107
+ * </p>
104
108
  * </li>
105
109
  * <li>
106
- * <p>x-amz-server-side-encryption-context</p>
110
+ * <p>
111
+ * <code>x-amz-server-side-encryption-context</code>
112
+ * </p>
107
113
  * </li>
108
114
  * </ul>
109
115
  * <note>
@@ -123,13 +129,19 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
123
129
  * encryption keys, provide all the following headers in the request.</p>
124
130
  * <ul>
125
131
  * <li>
126
- * <p>x-amz-server-side-encryption-customer-algorithm</p>
132
+ * <p>
133
+ * <code>x-amz-server-side-encryption-customer-algorithm</code>
134
+ * </p>
127
135
  * </li>
128
136
  * <li>
129
- * <p>x-amz-server-side-encryption-customer-key</p>
137
+ * <p>
138
+ * <code>x-amz-server-side-encryption-customer-key</code>
139
+ * </p>
130
140
  * </li>
131
141
  * <li>
132
- * <p>x-amz-server-side-encryption-customer-key-MD5</p>
142
+ * <p>
143
+ * <code>x-amz-server-side-encryption-customer-key-MD5</code>
144
+ * </p>
133
145
  * </li>
134
146
  * </ul>
135
147
  * <p>For more information about server-side encryption with KMS keys (SSE-KMS),
@@ -163,19 +175,29 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
163
175
  * use:</p>
164
176
  * <ul>
165
177
  * <li>
166
- * <p>x-amz-grant-read</p>
178
+ * <p>
179
+ * <code>x-amz-grant-read</code>
180
+ * </p>
167
181
  * </li>
168
182
  * <li>
169
- * <p>x-amz-grant-write</p>
183
+ * <p>
184
+ * <code>x-amz-grant-write</code>
185
+ * </p>
170
186
  * </li>
171
187
  * <li>
172
- * <p>x-amz-grant-read-acp</p>
188
+ * <p>
189
+ * <code>x-amz-grant-read-acp</code>
190
+ * </p>
173
191
  * </li>
174
192
  * <li>
175
- * <p>x-amz-grant-write-acp</p>
193
+ * <p>
194
+ * <code>x-amz-grant-write-acp</code>
195
+ * </p>
176
196
  * </li>
177
197
  * <li>
178
- * <p>x-amz-grant-full-control</p>
198
+ * <p>
199
+ * <code>x-amz-grant-full-control</code>
200
+ * </p>
179
201
  * </li>
180
202
  * </ul>
181
203
  * <p>You specify each grantee as a type=value pair, where the type is one of
@@ -7,13 +7,15 @@ export interface GetBucketCorsCommandInput extends GetBucketCorsRequest {
7
7
  export interface GetBucketCorsCommandOutput extends GetBucketCorsOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns the cors configuration information set for the bucket.</p>
10
+ * <p>Returns the Cross-Origin Resource Sharing (CORS) configuration information set for the
11
+ * bucket.</p>
11
12
  *
12
- * <p> To use this operation, you must have permission to perform the s3:GetBucketCORS action.
13
- * By default, the bucket owner has this permission and can grant it to others.</p>
13
+ * <p> To use this operation, you must have permission to perform the
14
+ * <code>s3:GetBucketCORS</code> action. By default, the bucket owner has this permission
15
+ * and can grant it to others.</p>
14
16
  *
15
- * <p> For more information about cors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html"> Enabling
16
- * Cross-Origin Resource Sharing</a>.</p>
17
+ * <p> For more information about CORS, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html"> Enabling Cross-Origin Resource
18
+ * Sharing</a>.</p>
17
19
  *
18
20
  * <p>The following operations are related to <code>GetBucketCors</code>:</p>
19
21
  * <ul>
@@ -16,7 +16,7 @@ export interface GetBucketTaggingCommandOutput extends GetBucketTaggingOutput, _
16
16
  * <code>GetBucketTagging</code> has the following special error:</p>
17
17
  * <ul>
18
18
  * <li>
19
- * <p>Error code: <code>NoSuchTagSetError</code>
19
+ * <p>Error code: <code>NoSuchTagSet</code>
20
20
  * </p>
21
21
  * <ul>
22
22
  * <li>
@@ -8,7 +8,10 @@ export interface GetObjectAclCommandOutput extends GetObjectAclOutput, __Metadat
8
8
  }
9
9
  /**
10
10
  * <p>Returns the access control list (ACL) of an object. To use this operation, you must have
11
- * <code>READ_ACP</code> access to the object.</p>
11
+ * <code>s3:GetObjectAcl</code> permissions or <code>READ_ACP</code> access to the object.
12
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#acl-access-policy-permission-mapping">Mapping of ACL permissions and access policy permissions</a> in the <i>Amazon S3
13
+ * User Guide</i>
14
+ * </p>
12
15
  * <p>This action is not supported by Amazon S3 on Outposts.</p>
13
16
  * <p>
14
17
  * <b>Versioning</b>
@@ -31,6 +34,11 @@ export interface GetObjectAclCommandOutput extends GetObjectAclOutput, __Metadat
31
34
  * </li>
32
35
  * <li>
33
36
  * <p>
37
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
38
+ * </p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
34
42
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html">DeleteObject</a>
35
43
  * </p>
36
44
  * </li>
@@ -0,0 +1,190 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetObjectAttributesOutput, GetObjectAttributesRequest } from "../models/models_0";
4
+ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
+ export interface GetObjectAttributesCommandInput extends GetObjectAttributesRequest {
6
+ }
7
+ export interface GetObjectAttributesCommandOutput extends GetObjectAttributesOutput, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves all the metadata from an object without returning the object itself. This
11
+ * action is useful if you're interested only in an object's metadata. To use
12
+ * <code>GetObjectAttributes</code>, you must have READ access to the object.</p>
13
+ *
14
+ * <p>
15
+ * <code>GetObjectAttributes</code> combines the functionality of
16
+ * <code>GetObjectAcl</code>, <code>GetObjectLegalHold</code>,
17
+ * <code>GetObjectLockConfiguration</code>, <code>GetObjectRetention</code>,
18
+ * <code>GetObjectTagging</code>, <code>HeadObject</code>, and <code>ListParts</code>. All
19
+ * of the data returned with each of those individual calls can be returned with a single call
20
+ * to <code>GetObjectAttributes</code>.</p>
21
+ *
22
+ * <p>If you encrypt an object by using server-side encryption with customer-provided
23
+ * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the
24
+ * metadata from the object, you must use the following headers:</p>
25
+ * <ul>
26
+ * <li>
27
+ * <p>
28
+ * <code>x-amz-server-side-encryption-customer-algorithm</code>
29
+ * </p>
30
+ * </li>
31
+ * <li>
32
+ * <p>
33
+ * <code>x-amz-server-side-encryption-customer-key</code>
34
+ * </p>
35
+ * </li>
36
+ * <li>
37
+ * <p>
38
+ * <code>x-amz-server-side-encryption-customer-key-MD5</code>
39
+ * </p>
40
+ * </li>
41
+ * </ul>
42
+ * <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
43
+ * (Using Customer-Provided Encryption Keys)</a> in the
44
+ * <i>Amazon S3 User Guide</i>.</p>
45
+ * <note>
46
+ * <ul>
47
+ * <li>
48
+ * <p>Encryption request headers, such as
49
+ * <code>x-amz-server-side-encryption</code>, should not be sent for GET requests
50
+ * if your object uses server-side encryption with Amazon Web Services KMS keys stored in Amazon Web Services Key
51
+ * Management Service (SSE-KMS) or server-side encryption with Amazon S3 managed
52
+ * encryption keys (SSE-S3). If your object does use these types of keys, you'll get
53
+ * an HTTP <code>400 Bad Request</code> error.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * The last modified property in this case is the creation date of the object.</p>
58
+ * </li>
59
+ * </ul>
60
+ * </note>
61
+ *
62
+ * <p>Consider the following when using request headers:</p>
63
+ * <ul>
64
+ * <li>
65
+ * <p> If both of the <code>If-Match</code> and <code>If-Unmodified-Since</code>
66
+ * headers are present in the request as follows, then Amazon S3 returns the HTTP
67
+ * status code <code>200 OK</code> and the data requested:</p>
68
+ * <ul>
69
+ * <li>
70
+ * <p>
71
+ * <code>If-Match</code> condition evaluates to <code>true</code>.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>
75
+ * <code>If-Unmodified-Since</code> condition evaluates to
76
+ * <code>false</code>.</p>
77
+ * </li>
78
+ * </ul>
79
+ * </li>
80
+ * <li>
81
+ * <p>If both of the <code>If-None-Match</code> and <code>If-Modified-Since</code>
82
+ * headers are present in the request as follows, then Amazon S3 returns the HTTP status code
83
+ * <code>304 Not Modified</code>:</p>
84
+ * <ul>
85
+ * <li>
86
+ * <p>
87
+ * <code>If-None-Match</code> condition evaluates to
88
+ * <code>false</code>.</p>
89
+ * </li>
90
+ * <li>
91
+ * <p>
92
+ * <code>If-Modified-Since</code> condition evaluates to
93
+ * <code>true</code>.</p>
94
+ * </li>
95
+ * </ul>
96
+ * </li>
97
+ * </ul>
98
+ *
99
+ * <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>.</p>
100
+ *
101
+ * <p>
102
+ * <b>Permissions</b>
103
+ * </p>
104
+ * <p>The permissions that you need to use this operation depend on whether the bucket is
105
+ * versioned. If the bucket is versioned, you need both the <code>s3:GetObjectVersion</code>
106
+ * and <code>s3:GetObjectVersionAttributes</code> permissions for this operation. If the
107
+ * bucket is not versioned, you need the <code>s3:GetObject</code> and
108
+ * <code>s3:GetObjectAttributes</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying
109
+ * Permissions in a Policy</a> in the <i>Amazon S3 User Guide</i>. If the
110
+ * object that you request does not exist, the error Amazon S3 returns depends on whether you also
111
+ * have the <code>s3:ListBucket</code> permission.</p>
112
+ * <ul>
113
+ * <li>
114
+ * <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3
115
+ * returns an HTTP status code <code>404 Not Found</code> ("no such key") error.</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>If you don't have the <code>s3:ListBucket</code> permission, Amazon S3 returns an
119
+ * HTTP status code <code>403 Forbidden</code> ("access denied") error.</p>
120
+ * </li>
121
+ * </ul>
122
+ *
123
+ * <p>The following actions are related to <code>GetObjectAttributes</code>:</p>
124
+ * <ul>
125
+ * <li>
126
+ * <p>
127
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>
128
+ * </p>
129
+ * </li>
130
+ * <li>
131
+ * <p>
132
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html">GetObjectAcl</a>
133
+ * </p>
134
+ * </li>
135
+ * <li>
136
+ * <p>
137
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLegalHold.html">GetObjectLegalHold</a>
138
+ * </p>
139
+ * </li>
140
+ * <li>
141
+ * <p>
142
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLockConfiguration.html">GetObjectLockConfiguration</a>
143
+ * </p>
144
+ * </li>
145
+ * <li>
146
+ * <p>
147
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html">GetObjectRetention</a>
148
+ * </p>
149
+ * </li>
150
+ * <li>
151
+ * <p>
152
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a>
153
+ * </p>
154
+ * </li>
155
+ * <li>
156
+ * <p>
157
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html">HeadObject</a>
158
+ * </p>
159
+ * </li>
160
+ * <li>
161
+ * <p>
162
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html">ListParts</a>
163
+ * </p>
164
+ * </li>
165
+ * </ul>
166
+ * @example
167
+ * Use a bare-bones client and the command you need to make an API call.
168
+ * ```javascript
169
+ * import { S3Client, GetObjectAttributesCommand } from "@aws-sdk/client-s3"; // ES Modules import
170
+ * // const { S3Client, GetObjectAttributesCommand } = require("@aws-sdk/client-s3"); // CommonJS import
171
+ * const client = new S3Client(config);
172
+ * const command = new GetObjectAttributesCommand(input);
173
+ * const response = await client.send(command);
174
+ * ```
175
+ *
176
+ * @see {@link GetObjectAttributesCommandInput} for command's `input` shape.
177
+ * @see {@link GetObjectAttributesCommandOutput} for command's `response` shape.
178
+ * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
179
+ *
180
+ */
181
+ export declare class GetObjectAttributesCommand extends $Command<GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput, S3ClientResolvedConfig> {
182
+ readonly input: GetObjectAttributesCommandInput;
183
+ constructor(input: GetObjectAttributesCommandInput);
184
+ /**
185
+ * @internal
186
+ */
187
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput>;
188
+ private serialize;
189
+ private deserialize;
190
+ }
@@ -25,9 +25,7 @@ export interface GetObjectCommandOutput extends GetObjectOutput, __MetadataBeare
25
25
  * <code>/examplebucket/photos/2006/February/sample.jpg</code>. For more information about
26
26
  * request types, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket">HTTP Host Header Bucket Specification</a>.</p>
27
27
  *
28
- * <p>To distribute large files to many people, you can save bandwidth costs by using
29
- * BitTorrent. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3Torrent.html">Amazon S3
30
- * Torrent</a>. For more information about returning the ACL of an object, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html">GetObjectAcl</a>.</p>
28
+ * <p>For more information about returning the ACL of an object, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html">GetObjectAcl</a>.</p>
31
29
  *
32
30
  * <p>If the object you are retrieving is stored in the S3 Glacier or
33
31
  * S3 Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive or
@@ -112,8 +110,8 @@ export interface GetObjectCommandOutput extends GetObjectOutput, __MetadataBeare
112
110
  * <b>Overriding Response Header Values</b>
113
111
  * </p>
114
112
  * <p>There are times when you want to override certain response header values in a GET
115
- * response. For example, you might override the Content-Disposition response header value in
116
- * your GET request.</p>
113
+ * response. For example, you might override the <code>Content-Disposition</code> response
114
+ * header value in your GET request.</p>
117
115
  *
118
116
  * <p>You can override values for a set of response headers using the following query
119
117
  * parameters. These response header values are sent only on a successful request, that is,
@@ -7,8 +7,18 @@ export interface GetObjectLegalHoldCommandInput extends GetObjectLegalHoldReques
7
7
  export interface GetObjectLegalHoldCommandOutput extends GetObjectLegalHoldOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets an object's current Legal Hold status. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.</p>
10
+ * <p>Gets an object's current legal hold status. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
11
+ * Objects</a>.</p>
11
12
  * <p>This action is not supported by Amazon S3 on Outposts.</p>
13
+ *
14
+ * <p>The following action is related to <code>GetObjectLegalHold</code>:</p>
15
+ * <ul>
16
+ * <li>
17
+ * <p>
18
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
19
+ * </p>
20
+ * </li>
21
+ * </ul>
12
22
  * @example
13
23
  * Use a bare-bones client and the command you need to make an API call.
14
24
  * ```javascript
@@ -11,6 +11,15 @@ export interface GetObjectLockConfigurationCommandOutput extends GetObjectLockCo
11
11
  * configuration will be applied by default to every new object placed in the specified
12
12
  * bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
13
13
  * Objects</a>.</p>
14
+ *
15
+ * <p>The following action is related to <code>GetObjectLockConfiguration</code>:</p>
16
+ * <ul>
17
+ * <li>
18
+ * <p>
19
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
20
+ * </p>
21
+ * </li>
22
+ * </ul>
14
23
  * @example
15
24
  * Use a bare-bones client and the command you need to make an API call.
16
25
  * ```javascript
@@ -9,6 +9,15 @@ export interface GetObjectRetentionCommandOutput extends GetObjectRetentionOutpu
9
9
  /**
10
10
  * <p>Retrieves an object's retention settings. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.</p>
11
11
  * <p>This action is not supported by Amazon S3 on Outposts.</p>
12
+ *
13
+ * <p>The following action is related to <code>GetObjectRetention</code>:</p>
14
+ * <ul>
15
+ * <li>
16
+ * <p>
17
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
18
+ * </p>
19
+ * </li>
20
+ * </ul>
12
21
  * @example
13
22
  * Use a bare-bones client and the command you need to make an API call.
14
23
  * ```javascript
@@ -22,16 +22,21 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
22
22
  *
23
23
  * <p> For information about the Amazon S3 object tagging feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html">Object Tagging</a>.</p>
24
24
  *
25
- * <p>The following action is related to <code>GetObjectTagging</code>:</p>
25
+ * <p>The following actions are related to <code>GetObjectTagging</code>:</p>
26
26
  * <ul>
27
27
  * <li>
28
28
  * <p>
29
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html">PutObjectTagging</a>
29
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html">DeleteObjectTagging</a>
30
30
  * </p>
31
31
  * </li>
32
32
  * <li>
33
33
  * <p>
34
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html">DeleteObjectTagging</a>
34
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
35
+ * </p>
36
+ * </li>
37
+ * <li>
38
+ * <p>
39
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html">PutObjectTagging</a>
35
40
  * </p>
36
41
  * </li>
37
42
  * </ul>
@@ -111,13 +111,18 @@ export interface HeadObjectCommandOutput extends HeadObjectOutput, __MetadataBea
111
111
  * </li>
112
112
  * </ul>
113
113
  *
114
- * <p>The following action is related to <code>HeadObject</code>:</p>
114
+ * <p>The following actions are related to <code>HeadObject</code>:</p>
115
115
  * <ul>
116
116
  * <li>
117
117
  * <p>
118
118
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>
119
119
  * </p>
120
120
  * </li>
121
+ * <li>
122
+ * <p>
123
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
124
+ * </p>
125
+ * </li>
121
126
  * </ul>
122
127
  * @example
123
128
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,8 @@ export interface ListBucketsCommandInput {
7
7
  export interface ListBucketsCommandOutput extends ListBucketsOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns a list of all buckets owned by the authenticated sender of the request.</p>
10
+ * <p>Returns a list of all buckets owned by the authenticated sender of the request. To use
11
+ * this operation, you must have the <code>s3:ListAllMyBuckets</code> permission.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -17,6 +17,9 @@ export interface ListPartsCommandOutput extends ListPartsOutput, __MetadataBeare
17
17
  * and a <code>NextPartNumberMarker</code> element. In subsequent <code>ListParts</code>
18
18
  * requests you can include the part-number-marker query string parameter and set its value to
19
19
  * the <code>NextPartNumberMarker</code> field value from the previous response.</p>
20
+ * <p>If the upload was created using a checksum algorithm, you will need to have permission
21
+ * to the <code>kms:Decrypt</code> action for the request to succeed.
22
+ * </p>
20
23
  *
21
24
  * <p>For more information on multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading Objects Using Multipart
22
25
  * Upload</a>.</p>
@@ -48,6 +51,11 @@ export interface ListPartsCommandOutput extends ListPartsOutput, __MetadataBeare
48
51
  * </li>
49
52
  * <li>
50
53
  * <p>
54
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
55
+ * </p>
56
+ * </li>
57
+ * <li>
58
+ * <p>
51
59
  * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html">ListMultipartUploads</a>
52
60
  * </p>
53
61
  * </li>