@aws-sdk/client-s3 3.36.0 → 3.39.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 (231) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/S3.js +0 -3
  3. package/dist-cjs/S3Client.js +0 -8
  4. package/dist-cjs/commands/AbortMultipartUploadCommand.js +0 -62
  5. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +0 -133
  6. package/dist-cjs/commands/CopyObjectCommand.js +0 -193
  7. package/dist-cjs/commands/CreateBucketCommand.js +0 -142
  8. package/dist-cjs/commands/CreateMultipartUploadCommand.js +0 -281
  9. package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -53
  10. package/dist-cjs/commands/DeleteBucketCommand.js +0 -41
  11. package/dist-cjs/commands/DeleteBucketCorsCommand.js +0 -45
  12. package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +0 -47
  13. package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -46
  14. package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +0 -49
  15. package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +0 -49
  16. package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +0 -59
  17. package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +0 -42
  18. package/dist-cjs/commands/DeleteBucketPolicyCommand.js +0 -56
  19. package/dist-cjs/commands/DeleteBucketReplicationCommand.js +0 -49
  20. package/dist-cjs/commands/DeleteBucketTaggingCommand.js +0 -41
  21. package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +0 -50
  22. package/dist-cjs/commands/DeleteObjectCommand.js +0 -54
  23. package/dist-cjs/commands/DeleteObjectTaggingCommand.js +0 -48
  24. package/dist-cjs/commands/DeleteObjectsCommand.js +0 -80
  25. package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +0 -52
  26. package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +0 -50
  27. package/dist-cjs/commands/GetBucketAclCommand.js +0 -39
  28. package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +0 -53
  29. package/dist-cjs/commands/GetBucketCorsCommand.js +0 -44
  30. package/dist-cjs/commands/GetBucketEncryptionCommand.js +0 -45
  31. package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -46
  32. package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +0 -53
  33. package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +0 -79
  34. package/dist-cjs/commands/GetBucketLocationCommand.js +0 -44
  35. package/dist-cjs/commands/GetBucketLoggingCommand.js +0 -39
  36. package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +0 -60
  37. package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +0 -44
  38. package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +0 -41
  39. package/dist-cjs/commands/GetBucketPolicyCommand.js +0 -50
  40. package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +0 -54
  41. package/dist-cjs/commands/GetBucketReplicationCommand.js +0 -58
  42. package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +0 -34
  43. package/dist-cjs/commands/GetBucketTaggingCommand.js +0 -55
  44. package/dist-cjs/commands/GetBucketVersioningCommand.js +0 -48
  45. package/dist-cjs/commands/GetBucketWebsiteCommand.js +0 -44
  46. package/dist-cjs/commands/GetObjectAclCommand.js +0 -50
  47. package/dist-cjs/commands/GetObjectCommand.js +0 -204
  48. package/dist-cjs/commands/GetObjectLegalHoldCommand.js +0 -25
  49. package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +0 -27
  50. package/dist-cjs/commands/GetObjectRetentionCommand.js +0 -25
  51. package/dist-cjs/commands/GetObjectTaggingCommand.js +0 -51
  52. package/dist-cjs/commands/GetObjectTorrentCommand.js +0 -40
  53. package/dist-cjs/commands/GetPublicAccessBlockCommand.js +0 -63
  54. package/dist-cjs/commands/HeadBucketCommand.js +0 -39
  55. package/dist-cjs/commands/HeadObjectCommand.js +0 -135
  56. package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -63
  57. package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -46
  58. package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +0 -62
  59. package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +0 -64
  60. package/dist-cjs/commands/ListBucketsCommand.js +0 -24
  61. package/dist-cjs/commands/ListMultipartUploadsCommand.js +0 -74
  62. package/dist-cjs/commands/ListObjectVersionsCommand.js +0 -62
  63. package/dist-cjs/commands/ListObjectsCommand.js +0 -61
  64. package/dist-cjs/commands/ListObjectsV2Command.js +0 -65
  65. package/dist-cjs/commands/ListPartsCommand.js +0 -68
  66. package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +0 -69
  67. package/dist-cjs/commands/PutBucketAclCommand.js +0 -213
  68. package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +0 -139
  69. package/dist-cjs/commands/PutBucketCorsCommand.js +0 -80
  70. package/dist-cjs/commands/PutBucketEncryptionCommand.js +0 -56
  71. package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -106
  72. package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +0 -124
  73. package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +0 -117
  74. package/dist-cjs/commands/PutBucketLoggingCommand.js +0 -103
  75. package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +0 -74
  76. package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +0 -85
  77. package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +0 -40
  78. package/dist-cjs/commands/PutBucketPolicyCommand.js +0 -53
  79. package/dist-cjs/commands/PutBucketReplicationCommand.js +0 -93
  80. package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +0 -42
  81. package/dist-cjs/commands/PutBucketTaggingCommand.js +0 -102
  82. package/dist-cjs/commands/PutBucketVersioningCommand.js +0 -72
  83. package/dist-cjs/commands/PutBucketWebsiteCommand.js +0 -149
  84. package/dist-cjs/commands/PutObjectAclCommand.js +0 -200
  85. package/dist-cjs/commands/PutObjectCommand.js +0 -118
  86. package/dist-cjs/commands/PutObjectLegalHoldCommand.js +0 -27
  87. package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +0 -44
  88. package/dist-cjs/commands/PutObjectRetentionCommand.js +0 -36
  89. package/dist-cjs/commands/PutObjectTaggingCommand.js +0 -127
  90. package/dist-cjs/commands/PutPublicAccessBlockCommand.js +0 -68
  91. package/dist-cjs/commands/RestoreObjectCommand.js +0 -315
  92. package/dist-cjs/commands/SelectObjectContentCommand.js +0 -140
  93. package/dist-cjs/commands/UploadPartCommand.js +0 -161
  94. package/dist-cjs/commands/UploadPartCopyCommand.js +0 -202
  95. package/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -46
  96. package/dist-cjs/commands/index.js +95 -0
  97. package/dist-cjs/endpoints.js +6 -1
  98. package/dist-cjs/index.js +5 -101
  99. package/dist-cjs/models/models_0.js +0 -753
  100. package/dist-cjs/models/models_1.js +0 -96
  101. package/dist-cjs/pagination/ListObjectsV2Paginator.js +0 -10
  102. package/dist-cjs/pagination/ListPartsPaginator.js +0 -10
  103. package/dist-cjs/pagination/index.js +6 -0
  104. package/dist-cjs/protocols/Aws_restXml.js +0 -2
  105. package/dist-cjs/runtimeConfig.browser.js +1 -5
  106. package/dist-cjs/runtimeConfig.js +1 -5
  107. package/dist-cjs/runtimeConfig.native.js +0 -3
  108. package/dist-cjs/runtimeConfig.shared.js +0 -3
  109. package/dist-cjs/waiters/index.js +7 -0
  110. package/dist-cjs/waiters/waitForBucketExists.js +0 -9
  111. package/dist-cjs/waiters/waitForBucketNotExists.js +0 -9
  112. package/dist-cjs/waiters/waitForObjectExists.js +0 -9
  113. package/dist-cjs/waiters/waitForObjectNotExists.js +0 -9
  114. package/dist-es/commands/index.js +92 -0
  115. package/dist-es/endpoints.js +6 -1
  116. package/dist-es/index.js +5 -101
  117. package/dist-es/pagination/index.js +3 -0
  118. package/dist-es/waiters/index.js +4 -0
  119. package/dist-types/commands/index.d.ts +92 -0
  120. package/dist-types/index.d.ts +5 -101
  121. package/dist-types/pagination/index.d.ts +3 -0
  122. package/dist-types/ts3.4/S3.d.ts +93 -5172
  123. package/dist-types/ts3.4/S3Client.d.ts +30 -109
  124. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +2 -58
  125. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +2 -129
  126. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +2 -189
  127. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +2 -138
  128. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +2 -277
  129. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -49
  130. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -37
  131. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +2 -41
  132. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +2 -43
  133. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -42
  134. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -45
  135. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +2 -45
  136. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -55
  137. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -38
  138. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +2 -52
  139. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +2 -45
  140. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +2 -37
  141. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +2 -46
  142. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +2 -50
  143. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +2 -44
  144. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +2 -76
  145. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +2 -48
  146. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -46
  147. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +2 -35
  148. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -49
  149. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +2 -40
  150. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +2 -41
  151. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -42
  152. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -49
  153. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -75
  154. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +2 -40
  155. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +2 -35
  156. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -56
  157. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -40
  158. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +2 -37
  159. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +2 -46
  160. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +2 -50
  161. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +2 -54
  162. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +2 -30
  163. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +2 -51
  164. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +2 -44
  165. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +2 -40
  166. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +2 -46
  167. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +2 -200
  168. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +2 -21
  169. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +2 -23
  170. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +2 -21
  171. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +2 -47
  172. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +2 -36
  173. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +2 -59
  174. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +2 -35
  175. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +2 -131
  176. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -59
  177. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -42
  178. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -58
  179. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -60
  180. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +2 -70
  182. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +2 -58
  183. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +2 -57
  184. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +2 -61
  185. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +2 -64
  186. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +2 -65
  187. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +2 -209
  188. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -135
  189. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +2 -76
  190. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +2 -52
  191. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -102
  192. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -120
  193. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -113
  194. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +2 -99
  195. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -70
  196. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -81
  197. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +2 -36
  198. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +2 -49
  199. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +2 -89
  200. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +2 -38
  201. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +2 -98
  202. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +2 -68
  203. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +2 -145
  204. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +2 -196
  205. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +5 -121
  206. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +2 -23
  207. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +2 -40
  208. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +2 -32
  209. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +2 -123
  210. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +2 -64
  211. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +2 -311
  212. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +2 -136
  213. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +5 -164
  214. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +2 -198
  215. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +5 -49
  216. package/dist-types/ts3.4/commands/index.d.ts +92 -0
  217. package/dist-types/ts3.4/index.d.ts +5 -101
  218. package/dist-types/ts3.4/models/models_0.d.ts +1305 -7281
  219. package/dist-types/ts3.4/models/models_1.d.ts +223 -956
  220. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  221. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -4
  222. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -4
  223. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -4
  224. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  225. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  226. package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +2 -9
  227. package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +2 -9
  228. package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +2 -9
  229. package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +2 -9
  230. package/dist-types/waiters/index.d.ts +4 -0
  231. package/package.json +46 -46
@@ -6,60 +6,11 @@ export interface GetBucketTaggingCommandInput extends GetBucketTaggingRequest {
6
6
  }
7
7
  export interface GetBucketTaggingCommandOutput extends GetBucketTaggingOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns the tag set associated with the bucket.</p>
11
- * <p>To use this operation, you must have permission to perform the
12
- * <code>s3:GetBucketTagging</code> action. By default, the bucket owner has this
13
- * permission and can grant this permission to others.</p>
14
- *
15
- * <p>
16
- * <code>GetBucketTagging</code> has the following special error:</p>
17
- * <ul>
18
- * <li>
19
- * <p>Error code: <code>NoSuchTagSetError</code>
20
- * </p>
21
- * <ul>
22
- * <li>
23
- * <p>Description: There is no tag set associated with the bucket.</p>
24
- * </li>
25
- * </ul>
26
- * </li>
27
- * </ul>
28
- *
29
- * <p>The following operations are related to <code>GetBucketTagging</code>:</p>
30
- * <ul>
31
- * <li>
32
- * <p>
33
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html">PutBucketTagging</a>
34
- * </p>
35
- * </li>
36
- * <li>
37
- * <p>
38
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html">DeleteBucketTagging</a>
39
- * </p>
40
- * </li>
41
- * </ul>
42
- * @example
43
- * Use a bare-bones client and the command you need to make an API call.
44
- * ```javascript
45
- * import { S3Client, GetBucketTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import
46
- * // const { S3Client, GetBucketTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import
47
- * const client = new S3Client(config);
48
- * const command = new GetBucketTaggingCommand(input);
49
- * const response = await client.send(command);
50
- * ```
51
- *
52
- * @see {@link GetBucketTaggingCommandInput} for command's `input` shape.
53
- * @see {@link GetBucketTaggingCommandOutput} for command's `response` shape.
54
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
55
- *
56
- */
9
+
57
10
  export declare class GetBucketTaggingCommand extends $Command<GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput, S3ClientResolvedConfig> {
58
11
  readonly input: GetBucketTaggingCommandInput;
59
12
  constructor(input: GetBucketTaggingCommandInput);
60
- /**
61
- * @internal
62
- */
13
+
63
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput>;
64
15
  private serialize;
65
16
  private deserialize;
@@ -6,53 +6,11 @@ export interface GetBucketVersioningCommandInput extends GetBucketVersioningRequ
6
6
  }
7
7
  export interface GetBucketVersioningCommandOutput extends GetBucketVersioningOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns the versioning state of a bucket.</p>
11
- * <p>To retrieve the versioning state of a bucket, you must be the bucket owner.</p>
12
- *
13
- * <p>This implementation also returns the MFA Delete status of the versioning state. If the
14
- * MFA Delete status is <code>enabled</code>, the bucket owner must use an authentication
15
- * device to change the versioning state of the bucket.</p>
16
- *
17
- * <p>The following operations are related to <code>GetBucketVersioning</code>:</p>
18
- * <ul>
19
- * <li>
20
- * <p>
21
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>
22
- * </p>
23
- * </li>
24
- * <li>
25
- * <p>
26
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a>
27
- * </p>
28
- * </li>
29
- * <li>
30
- * <p>
31
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html">DeleteObject</a>
32
- * </p>
33
- * </li>
34
- * </ul>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { S3Client, GetBucketVersioningCommand } from "@aws-sdk/client-s3"; // ES Modules import
39
- * // const { S3Client, GetBucketVersioningCommand } = require("@aws-sdk/client-s3"); // CommonJS import
40
- * const client = new S3Client(config);
41
- * const command = new GetBucketVersioningCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link GetBucketVersioningCommandInput} for command's `input` shape.
46
- * @see {@link GetBucketVersioningCommandOutput} for command's `response` shape.
47
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
9
+
50
10
  export declare class GetBucketVersioningCommand extends $Command<GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput, S3ClientResolvedConfig> {
51
11
  readonly input: GetBucketVersioningCommandInput;
52
12
  constructor(input: GetBucketVersioningCommandInput);
53
- /**
54
- * @internal
55
- */
13
+
56
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput>;
57
15
  private serialize;
58
16
  private deserialize;
@@ -6,49 +6,11 @@ export interface GetBucketWebsiteCommandInput extends GetBucketWebsiteRequest {
6
6
  }
7
7
  export interface GetBucketWebsiteCommandOutput extends GetBucketWebsiteOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns the website configuration for a bucket. To host website on Amazon S3, you can
11
- * configure a bucket as website by adding a website configuration. For more information about
12
- * hosting websites, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html">Hosting Websites on
13
- * Amazon S3</a>. </p>
14
- * <p>This GET action requires the <code>S3:GetBucketWebsite</code> permission. By default,
15
- * only the bucket owner can read the bucket website configuration. However, bucket owners can
16
- * allow other users to read the website configuration by writing a bucket policy granting
17
- * them the <code>S3:GetBucketWebsite</code> permission.</p>
18
- * <p>The following operations are related to <code>DeleteBucketWebsite</code>:</p>
19
- * <ul>
20
- * <li>
21
- * <p>
22
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketWebsite.html">DeleteBucketWebsite</a>
23
- * </p>
24
- * </li>
25
- * <li>
26
- * <p>
27
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html">PutBucketWebsite</a>
28
- * </p>
29
- * </li>
30
- * </ul>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { S3Client, GetBucketWebsiteCommand } from "@aws-sdk/client-s3"; // ES Modules import
35
- * // const { S3Client, GetBucketWebsiteCommand } = require("@aws-sdk/client-s3"); // CommonJS import
36
- * const client = new S3Client(config);
37
- * const command = new GetBucketWebsiteCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link GetBucketWebsiteCommandInput} for command's `input` shape.
42
- * @see {@link GetBucketWebsiteCommandOutput} for command's `response` shape.
43
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
9
+
46
10
  export declare class GetBucketWebsiteCommand extends $Command<GetBucketWebsiteCommandInput, GetBucketWebsiteCommandOutput, S3ClientResolvedConfig> {
47
11
  readonly input: GetBucketWebsiteCommandInput;
48
12
  constructor(input: GetBucketWebsiteCommandInput);
49
- /**
50
- * @internal
51
- */
13
+
52
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetBucketWebsiteCommandInput, GetBucketWebsiteCommandOutput>;
53
15
  private serialize;
54
16
  private deserialize;
@@ -6,55 +6,11 @@ export interface GetObjectAclCommandInput extends GetObjectAclRequest {
6
6
  }
7
7
  export interface GetObjectAclCommandOutput extends GetObjectAclOutput, __MetadataBearer {
8
8
  }
9
- /**
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>
12
- * <p>This action is not supported by Amazon S3 on Outposts.</p>
13
- * <p>
14
- * <b>Versioning</b>
15
- * </p>
16
- * <p>By default, GET returns ACL information about the current version of an object. To
17
- * return ACL information about a different version, use the versionId subresource.</p>
18
- *
19
- * <p>The following operations are related to <code>GetObjectAcl</code>:</p>
20
- * <ul>
21
- * <li>
22
- * <p>
23
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>
24
- * </p>
25
- * </li>
26
- * <li>
27
- * <p>
28
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html">DeleteObject</a>
29
- * </p>
30
- * </li>
31
- * <li>
32
- * <p>
33
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a>
34
- * </p>
35
- * </li>
36
- * </ul>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { S3Client, GetObjectAclCommand } from "@aws-sdk/client-s3"; // ES Modules import
41
- * // const { S3Client, GetObjectAclCommand } = require("@aws-sdk/client-s3"); // CommonJS import
42
- * const client = new S3Client(config);
43
- * const command = new GetObjectAclCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link GetObjectAclCommandInput} for command's `input` shape.
48
- * @see {@link GetObjectAclCommandOutput} for command's `response` shape.
49
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
9
+
52
10
  export declare class GetObjectAclCommand extends $Command<GetObjectAclCommandInput, GetObjectAclCommandOutput, S3ClientResolvedConfig> {
53
11
  readonly input: GetObjectAclCommandInput;
54
12
  constructor(input: GetObjectAclCommandInput);
55
- /**
56
- * @internal
57
- */
13
+
58
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectAclCommandInput, GetObjectAclCommandOutput>;
59
15
  private serialize;
60
16
  private deserialize;
@@ -6,209 +6,11 @@ export interface GetObjectCommandInput extends GetObjectRequest {
6
6
  }
7
7
  export interface GetObjectCommandOutput extends GetObjectOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves objects from Amazon S3. To use <code>GET</code>, you must have <code>READ</code>
11
- * access to the object. If you grant <code>READ</code> access to the anonymous user, you can
12
- * return the object without using an authorization header.</p>
13
- *
14
- * <p>An Amazon S3 bucket has no directory hierarchy such as you would find in a typical computer
15
- * file system. You can, however, create a logical hierarchy by using object key names that
16
- * imply a folder structure. For example, instead of naming an object <code>sample.jpg</code>,
17
- * you can name it <code>photos/2006/February/sample.jpg</code>.</p>
18
- *
19
- * <p>To get an object from such a logical hierarchy, specify the full key name for the object
20
- * in the <code>GET</code> operation. For a virtual hosted-style request example, if you have
21
- * the object <code>photos/2006/February/sample.jpg</code>, specify the resource as
22
- * <code>/photos/2006/February/sample.jpg</code>. For a path-style request example, if you
23
- * have the object <code>photos/2006/February/sample.jpg</code> in the bucket named
24
- * <code>examplebucket</code>, specify the resource as
25
- * <code>/examplebucket/photos/2006/February/sample.jpg</code>. For more information about
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
- *
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>
31
- *
32
- * <p>If the object you are retrieving is stored in the S3 Glacier or
33
- * S3 Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive or
34
- * S3 Intelligent-Tiering Deep Archive tiers, before you can retrieve the object you must first restore a
35
- * copy using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html">RestoreObject</a>. Otherwise, this action returns an
36
- * <code>InvalidObjectStateError</code> error. For information about restoring archived
37
- * objects, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html">Restoring Archived
38
- * Objects</a>.</p>
39
- *
40
- * <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>, should not
41
- * be sent for GET requests if your object uses server-side encryption with KMS keys (SSE-KMS)
42
- * or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your
43
- * object does use these types of keys, you’ll get an HTTP 400 BadRequest error.</p>
44
- * <p>If you encrypt an object by using server-side encryption with customer-provided
45
- * encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,
46
- * you must use the following headers:</p>
47
- * <ul>
48
- * <li>
49
- * <p>x-amz-server-side-encryption-customer-algorithm</p>
50
- * </li>
51
- * <li>
52
- * <p>x-amz-server-side-encryption-customer-key</p>
53
- * </li>
54
- * <li>
55
- * <p>x-amz-server-side-encryption-customer-key-MD5</p>
56
- * </li>
57
- * </ul>
58
- * <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption (Using
59
- * Customer-Provided Encryption Keys)</a>.</p>
60
- *
61
- * <p>Assuming you have the relevant permission to read object tags, the response also returns the
62
- * <code>x-amz-tagging-count</code> header that provides the count of number of tags
63
- * associated with the object. You can use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a> to retrieve
64
- * the tag set associated with an object.</p>
65
- *
66
- * <p>
67
- * <b>Permissions</b>
68
- * </p>
69
- * <p>You need the relevant read object (or version) permission for this operation. For more
70
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions
71
- * in a Policy</a>. If the object you request does not exist, the error Amazon S3 returns
72
- * depends on whether you also have the <code>s3:ListBucket</code> permission.</p>
73
- * <ul>
74
- * <li>
75
- * <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3 will
76
- * return an HTTP status code 404 ("no such key") error.</p>
77
- * </li>
78
- * <li>
79
- * <p>If you don’t have the <code>s3:ListBucket</code> permission, Amazon S3 will return an
80
- * HTTP status code 403 ("access denied") error.</p>
81
- * </li>
82
- * </ul>
83
- *
84
- *
85
- * <p>
86
- * <b>Versioning</b>
87
- * </p>
88
- * <p>By default, the GET action returns the current version of an object. To return a
89
- * different version, use the <code>versionId</code> subresource.</p>
90
- *
91
- * <note>
92
- * <ul>
93
- * <li>
94
- * <p>You need the <code>s3:GetObjectVersion</code> permission to access a specific version of an object.
95
- * </p>
96
- * </li>
97
- * <li>
98
- * <p>If the current version of the object is a delete marker, Amazon S3 behaves as if the
99
- * object was deleted and includes <code>x-amz-delete-marker: true</code> in the
100
- * response.</p>
101
- * </li>
102
- * </ul>
103
- * </note>
104
- *
105
- *
106
- * <p>For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html">PutBucketVersioning</a>. </p>
107
- *
108
- * <p>
109
- * <b>Overriding Response Header Values</b>
110
- * </p>
111
- * <p>There are times when you want to override certain response header values in a GET
112
- * response. For example, you might override the Content-Disposition response header value in
113
- * your GET request.</p>
114
- *
115
- * <p>You can override values for a set of response headers using the following query
116
- * parameters. These response header values are sent only on a successful request, that is,
117
- * when status code 200 OK is returned. The set of headers you can override using these
118
- * parameters is a subset of the headers that Amazon S3 accepts when you create an object. The
119
- * response headers that you can override for the GET response are <code>Content-Type</code>,
120
- * <code>Content-Language</code>, <code>Expires</code>, <code>Cache-Control</code>,
121
- * <code>Content-Disposition</code>, and <code>Content-Encoding</code>. To override these
122
- * header values in the GET response, you use the following request parameters.</p>
123
- *
124
- * <note>
125
- * <p>You must sign the request, either using an Authorization header or a presigned URL,
126
- * when using these parameters. They cannot be used with an unsigned (anonymous)
127
- * request.</p>
128
- * </note>
129
- * <ul>
130
- * <li>
131
- * <p>
132
- * <code>response-content-type</code>
133
- * </p>
134
- * </li>
135
- * <li>
136
- * <p>
137
- * <code>response-content-language</code>
138
- * </p>
139
- * </li>
140
- * <li>
141
- * <p>
142
- * <code>response-expires</code>
143
- * </p>
144
- * </li>
145
- * <li>
146
- * <p>
147
- * <code>response-cache-control</code>
148
- * </p>
149
- * </li>
150
- * <li>
151
- * <p>
152
- * <code>response-content-disposition</code>
153
- * </p>
154
- * </li>
155
- * <li>
156
- * <p>
157
- * <code>response-content-encoding</code>
158
- * </p>
159
- * </li>
160
- * </ul>
161
- *
162
- * <p>
163
- * <b>Additional Considerations about Request Headers</b>
164
- * </p>
165
- *
166
- * <p>If both of the <code>If-Match</code> and <code>If-Unmodified-Since</code> headers are
167
- * present in the request as follows: <code>If-Match</code> condition evaluates to
168
- * <code>true</code>, and; <code>If-Unmodified-Since</code> condition evaluates to
169
- * <code>false</code>; then, S3 returns 200 OK and the data requested. </p>
170
- *
171
- * <p>If both of the <code>If-None-Match</code> and <code>If-Modified-Since</code> headers are
172
- * present in the request as follows:<code> If-None-Match</code> condition evaluates to
173
- * <code>false</code>, and; <code>If-Modified-Since</code> condition evaluates to
174
- * <code>true</code>; then, S3 returns 304 Not Modified response code.</p>
175
- *
176
- * <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>.</p>
177
- *
178
- * <p>The following operations are related to <code>GetObject</code>:</p>
179
- * <ul>
180
- * <li>
181
- * <p>
182
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html">ListBuckets</a>
183
- * </p>
184
- * </li>
185
- * <li>
186
- * <p>
187
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html">GetObjectAcl</a>
188
- * </p>
189
- * </li>
190
- * </ul>
191
- * @example
192
- * Use a bare-bones client and the command you need to make an API call.
193
- * ```javascript
194
- * import { S3Client, GetObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import
195
- * // const { S3Client, GetObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import
196
- * const client = new S3Client(config);
197
- * const command = new GetObjectCommand(input);
198
- * const response = await client.send(command);
199
- * ```
200
- *
201
- * @see {@link GetObjectCommandInput} for command's `input` shape.
202
- * @see {@link GetObjectCommandOutput} for command's `response` shape.
203
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
204
- *
205
- */
9
+
206
10
  export declare class GetObjectCommand extends $Command<GetObjectCommandInput, GetObjectCommandOutput, S3ClientResolvedConfig> {
207
11
  readonly input: GetObjectCommandInput;
208
12
  constructor(input: GetObjectCommandInput);
209
- /**
210
- * @internal
211
- */
13
+
212
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectCommandInput, GetObjectCommandOutput>;
213
15
  private serialize;
214
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface GetObjectLegalHoldCommandInput extends GetObjectLegalHoldReques
6
6
  }
7
7
  export interface GetObjectLegalHoldCommandOutput extends GetObjectLegalHoldOutput, __MetadataBearer {
8
8
  }
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>
11
- * <p>This action is not supported by Amazon S3 on Outposts.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { S3Client, GetObjectLegalHoldCommand } from "@aws-sdk/client-s3"; // ES Modules import
16
- * // const { S3Client, GetObjectLegalHoldCommand } = require("@aws-sdk/client-s3"); // CommonJS import
17
- * const client = new S3Client(config);
18
- * const command = new GetObjectLegalHoldCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link GetObjectLegalHoldCommandInput} for command's `input` shape.
23
- * @see {@link GetObjectLegalHoldCommandOutput} for command's `response` shape.
24
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class GetObjectLegalHoldCommand extends $Command<GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput, S3ClientResolvedConfig> {
28
11
  readonly input: GetObjectLegalHoldCommandInput;
29
12
  constructor(input: GetObjectLegalHoldCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,32 +6,11 @@ export interface GetObjectLockConfigurationCommandInput extends GetObjectLockCon
6
6
  }
7
7
  export interface GetObjectLockConfigurationCommandOutput extends GetObjectLockConfigurationOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock
11
- * configuration will be applied by default to every new object placed in the specified
12
- * bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
13
- * Objects</a>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { S3Client, GetObjectLockConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
18
- * // const { S3Client, GetObjectLockConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
19
- * const client = new S3Client(config);
20
- * const command = new GetObjectLockConfigurationCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link GetObjectLockConfigurationCommandInput} for command's `input` shape.
25
- * @see {@link GetObjectLockConfigurationCommandOutput} for command's `response` shape.
26
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class GetObjectLockConfigurationCommand extends $Command<GetObjectLockConfigurationCommandInput, GetObjectLockConfigurationCommandOutput, S3ClientResolvedConfig> {
30
11
  readonly input: GetObjectLockConfigurationCommandInput;
31
12
  constructor(input: GetObjectLockConfigurationCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectLockConfigurationCommandInput, GetObjectLockConfigurationCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface GetObjectRetentionCommandInput extends GetObjectRetentionReques
6
6
  }
7
7
  export interface GetObjectRetentionCommandOutput extends GetObjectRetentionOutput, __MetadataBearer {
8
8
  }
9
- /**
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
- * <p>This action is not supported by Amazon S3 on Outposts.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { S3Client, GetObjectRetentionCommand } from "@aws-sdk/client-s3"; // ES Modules import
16
- * // const { S3Client, GetObjectRetentionCommand } = require("@aws-sdk/client-s3"); // CommonJS import
17
- * const client = new S3Client(config);
18
- * const command = new GetObjectRetentionCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link GetObjectRetentionCommandInput} for command's `input` shape.
23
- * @see {@link GetObjectRetentionCommandOutput} for command's `response` shape.
24
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class GetObjectRetentionCommand extends $Command<GetObjectRetentionCommandInput, GetObjectRetentionCommandOutput, S3ClientResolvedConfig> {
28
11
  readonly input: GetObjectRetentionCommandInput;
29
12
  constructor(input: GetObjectRetentionCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectRetentionCommandInput, GetObjectRetentionCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,56 +6,11 @@ export interface GetObjectTaggingCommandInput extends GetObjectTaggingRequest {
6
6
  }
7
7
  export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns the tag-set of an object. You send the GET request against the tagging
11
- * subresource associated with the object.</p>
12
- *
13
- * <p>To use this operation, you must have permission to perform the
14
- * <code>s3:GetObjectTagging</code> action. By default, the GET action returns
15
- * information about current version of an object. For a versioned bucket, you can have
16
- * multiple versions of an object in your bucket. To retrieve tags of any other version, use
17
- * the versionId query parameter. You also need permission for the
18
- * <code>s3:GetObjectVersionTagging</code> action.</p>
19
- *
20
- * <p> By default, the bucket owner has this permission and can grant this permission to
21
- * others.</p>
22
- *
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
- *
25
- * <p>The following action is related to <code>GetObjectTagging</code>:</p>
26
- * <ul>
27
- * <li>
28
- * <p>
29
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html">PutObjectTagging</a>
30
- * </p>
31
- * </li>
32
- * <li>
33
- * <p>
34
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html">DeleteObjectTagging</a>
35
- * </p>
36
- * </li>
37
- * </ul>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { S3Client, GetObjectTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import
42
- * // const { S3Client, GetObjectTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import
43
- * const client = new S3Client(config);
44
- * const command = new GetObjectTaggingCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link GetObjectTaggingCommandInput} for command's `input` shape.
49
- * @see {@link GetObjectTaggingCommandOutput} for command's `response` shape.
50
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
9
+
53
10
  export declare class GetObjectTaggingCommand extends $Command<GetObjectTaggingCommandInput, GetObjectTaggingCommandOutput, S3ClientResolvedConfig> {
54
11
  readonly input: GetObjectTaggingCommandInput;
55
12
  constructor(input: GetObjectTaggingCommandInput);
56
- /**
57
- * @internal
58
- */
13
+
59
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectTaggingCommandInput, GetObjectTaggingCommandOutput>;
60
15
  private serialize;
61
16
  private deserialize;
@@ -6,45 +6,11 @@ export interface GetObjectTorrentCommandInput extends GetObjectTorrentRequest {
6
6
  }
7
7
  export interface GetObjectTorrentCommandOutput extends GetObjectTorrentOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're
11
- * distributing large files. For more information about BitTorrent, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3Torrent.html">Using BitTorrent with Amazon S3</a>.</p>
12
- * <note>
13
- * <p>You can get torrent only for objects that are less than 5 GB in size, and that are
14
- * not encrypted using server-side encryption with a customer-provided encryption
15
- * key.</p>
16
- * </note>
17
- * <p>To use GET, you must have READ access to the object.</p>
18
- * <p>This action is not supported by Amazon S3 on Outposts.</p>
19
- * <p>The following action is related to <code>GetObjectTorrent</code>:</p>
20
- * <ul>
21
- * <li>
22
- * <p>
23
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>
24
- * </p>
25
- * </li>
26
- * </ul>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { S3Client, GetObjectTorrentCommand } from "@aws-sdk/client-s3"; // ES Modules import
31
- * // const { S3Client, GetObjectTorrentCommand } = require("@aws-sdk/client-s3"); // CommonJS import
32
- * const client = new S3Client(config);
33
- * const command = new GetObjectTorrentCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link GetObjectTorrentCommandInput} for command's `input` shape.
38
- * @see {@link GetObjectTorrentCommandOutput} for command's `response` shape.
39
- * @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
9
+
42
10
  export declare class GetObjectTorrentCommand extends $Command<GetObjectTorrentCommandInput, GetObjectTorrentCommandOutput, S3ClientResolvedConfig> {
43
11
  readonly input: GetObjectTorrentCommandInput;
44
12
  constructor(input: GetObjectTorrentCommandInput);
45
- /**
46
- * @internal
47
- */
13
+
48
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectTorrentCommandInput, GetObjectTorrentCommandOutput>;
49
15
  private serialize;
50
16
  private deserialize;