@aws-sdk/client-s3 3.417.0 → 3.420.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 (200) hide show
  1. package/dist-cjs/commands/AbortMultipartUploadCommand.js +5 -0
  2. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +5 -0
  3. package/dist-cjs/commands/CopyObjectCommand.js +5 -0
  4. package/dist-cjs/commands/CreateBucketCommand.js +5 -0
  5. package/dist-cjs/commands/CreateMultipartUploadCommand.js +5 -0
  6. package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +5 -0
  7. package/dist-cjs/commands/DeleteBucketCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteBucketCorsCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +5 -0
  10. package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +5 -0
  11. package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +5 -0
  12. package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +5 -0
  13. package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +5 -0
  14. package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +5 -0
  15. package/dist-cjs/commands/DeleteBucketPolicyCommand.js +5 -0
  16. package/dist-cjs/commands/DeleteBucketReplicationCommand.js +5 -0
  17. package/dist-cjs/commands/DeleteBucketTaggingCommand.js +5 -0
  18. package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +5 -0
  19. package/dist-cjs/commands/DeleteObjectCommand.js +5 -0
  20. package/dist-cjs/commands/DeleteObjectTaggingCommand.js +5 -0
  21. package/dist-cjs/commands/DeleteObjectsCommand.js +5 -0
  22. package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +5 -0
  23. package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +5 -0
  24. package/dist-cjs/commands/GetBucketAclCommand.js +5 -0
  25. package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +5 -0
  26. package/dist-cjs/commands/GetBucketCorsCommand.js +5 -0
  27. package/dist-cjs/commands/GetBucketEncryptionCommand.js +5 -0
  28. package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +5 -0
  29. package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +5 -0
  30. package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +5 -0
  31. package/dist-cjs/commands/GetBucketLocationCommand.js +5 -0
  32. package/dist-cjs/commands/GetBucketLoggingCommand.js +5 -0
  33. package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +5 -0
  34. package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +5 -0
  35. package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +5 -0
  36. package/dist-cjs/commands/GetBucketPolicyCommand.js +5 -0
  37. package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +5 -0
  38. package/dist-cjs/commands/GetBucketReplicationCommand.js +5 -0
  39. package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +5 -0
  40. package/dist-cjs/commands/GetBucketTaggingCommand.js +5 -0
  41. package/dist-cjs/commands/GetBucketVersioningCommand.js +5 -0
  42. package/dist-cjs/commands/GetBucketWebsiteCommand.js +5 -0
  43. package/dist-cjs/commands/GetObjectAclCommand.js +5 -0
  44. package/dist-cjs/commands/GetObjectAttributesCommand.js +5 -0
  45. package/dist-cjs/commands/GetObjectCommand.js +5 -0
  46. package/dist-cjs/commands/GetObjectLegalHoldCommand.js +5 -0
  47. package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +5 -0
  48. package/dist-cjs/commands/GetObjectRetentionCommand.js +5 -0
  49. package/dist-cjs/commands/GetObjectTaggingCommand.js +5 -0
  50. package/dist-cjs/commands/GetObjectTorrentCommand.js +5 -0
  51. package/dist-cjs/commands/GetPublicAccessBlockCommand.js +5 -0
  52. package/dist-cjs/commands/HeadBucketCommand.js +5 -0
  53. package/dist-cjs/commands/HeadObjectCommand.js +5 -0
  54. package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +5 -0
  55. package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +5 -0
  56. package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +5 -0
  57. package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +5 -0
  58. package/dist-cjs/commands/ListBucketsCommand.js +5 -0
  59. package/dist-cjs/commands/ListMultipartUploadsCommand.js +5 -0
  60. package/dist-cjs/commands/ListObjectVersionsCommand.js +5 -0
  61. package/dist-cjs/commands/ListObjectsCommand.js +5 -0
  62. package/dist-cjs/commands/ListObjectsV2Command.js +5 -0
  63. package/dist-cjs/commands/ListPartsCommand.js +5 -0
  64. package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +5 -0
  65. package/dist-cjs/commands/PutBucketAclCommand.js +5 -0
  66. package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +5 -0
  67. package/dist-cjs/commands/PutBucketCorsCommand.js +5 -0
  68. package/dist-cjs/commands/PutBucketEncryptionCommand.js +5 -0
  69. package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +5 -0
  70. package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +5 -0
  71. package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +5 -0
  72. package/dist-cjs/commands/PutBucketLoggingCommand.js +5 -0
  73. package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +5 -0
  74. package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +5 -0
  75. package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +5 -0
  76. package/dist-cjs/commands/PutBucketPolicyCommand.js +5 -0
  77. package/dist-cjs/commands/PutBucketReplicationCommand.js +5 -0
  78. package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +5 -0
  79. package/dist-cjs/commands/PutBucketTaggingCommand.js +5 -0
  80. package/dist-cjs/commands/PutBucketVersioningCommand.js +5 -0
  81. package/dist-cjs/commands/PutBucketWebsiteCommand.js +5 -0
  82. package/dist-cjs/commands/PutObjectAclCommand.js +5 -0
  83. package/dist-cjs/commands/PutObjectCommand.js +5 -0
  84. package/dist-cjs/commands/PutObjectLegalHoldCommand.js +5 -0
  85. package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +5 -0
  86. package/dist-cjs/commands/PutObjectRetentionCommand.js +5 -0
  87. package/dist-cjs/commands/PutObjectTaggingCommand.js +5 -0
  88. package/dist-cjs/commands/PutPublicAccessBlockCommand.js +5 -0
  89. package/dist-cjs/commands/RestoreObjectCommand.js +5 -0
  90. package/dist-cjs/commands/SelectObjectContentCommand.js +5 -0
  91. package/dist-cjs/commands/UploadPartCommand.js +5 -0
  92. package/dist-cjs/commands/UploadPartCopyCommand.js +5 -0
  93. package/dist-cjs/commands/WriteGetObjectResponseCommand.js +5 -0
  94. package/dist-cjs/models/models_0.js +1 -0
  95. package/dist-es/commands/AbortMultipartUploadCommand.js +5 -0
  96. package/dist-es/commands/CompleteMultipartUploadCommand.js +5 -0
  97. package/dist-es/commands/CopyObjectCommand.js +5 -0
  98. package/dist-es/commands/CreateBucketCommand.js +5 -0
  99. package/dist-es/commands/CreateMultipartUploadCommand.js +5 -0
  100. package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +5 -0
  101. package/dist-es/commands/DeleteBucketCommand.js +5 -0
  102. package/dist-es/commands/DeleteBucketCorsCommand.js +5 -0
  103. package/dist-es/commands/DeleteBucketEncryptionCommand.js +5 -0
  104. package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +5 -0
  105. package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +5 -0
  106. package/dist-es/commands/DeleteBucketLifecycleCommand.js +5 -0
  107. package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +5 -0
  108. package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +5 -0
  109. package/dist-es/commands/DeleteBucketPolicyCommand.js +5 -0
  110. package/dist-es/commands/DeleteBucketReplicationCommand.js +5 -0
  111. package/dist-es/commands/DeleteBucketTaggingCommand.js +5 -0
  112. package/dist-es/commands/DeleteBucketWebsiteCommand.js +5 -0
  113. package/dist-es/commands/DeleteObjectCommand.js +5 -0
  114. package/dist-es/commands/DeleteObjectTaggingCommand.js +5 -0
  115. package/dist-es/commands/DeleteObjectsCommand.js +5 -0
  116. package/dist-es/commands/DeletePublicAccessBlockCommand.js +5 -0
  117. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +5 -0
  118. package/dist-es/commands/GetBucketAclCommand.js +5 -0
  119. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +5 -0
  120. package/dist-es/commands/GetBucketCorsCommand.js +5 -0
  121. package/dist-es/commands/GetBucketEncryptionCommand.js +5 -0
  122. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +5 -0
  123. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +5 -0
  124. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +5 -0
  125. package/dist-es/commands/GetBucketLocationCommand.js +5 -0
  126. package/dist-es/commands/GetBucketLoggingCommand.js +5 -0
  127. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +5 -0
  128. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +5 -0
  129. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +5 -0
  130. package/dist-es/commands/GetBucketPolicyCommand.js +5 -0
  131. package/dist-es/commands/GetBucketPolicyStatusCommand.js +5 -0
  132. package/dist-es/commands/GetBucketReplicationCommand.js +5 -0
  133. package/dist-es/commands/GetBucketRequestPaymentCommand.js +5 -0
  134. package/dist-es/commands/GetBucketTaggingCommand.js +5 -0
  135. package/dist-es/commands/GetBucketVersioningCommand.js +5 -0
  136. package/dist-es/commands/GetBucketWebsiteCommand.js +5 -0
  137. package/dist-es/commands/GetObjectAclCommand.js +5 -0
  138. package/dist-es/commands/GetObjectAttributesCommand.js +5 -0
  139. package/dist-es/commands/GetObjectCommand.js +5 -0
  140. package/dist-es/commands/GetObjectLegalHoldCommand.js +5 -0
  141. package/dist-es/commands/GetObjectLockConfigurationCommand.js +5 -0
  142. package/dist-es/commands/GetObjectRetentionCommand.js +5 -0
  143. package/dist-es/commands/GetObjectTaggingCommand.js +5 -0
  144. package/dist-es/commands/GetObjectTorrentCommand.js +5 -0
  145. package/dist-es/commands/GetPublicAccessBlockCommand.js +5 -0
  146. package/dist-es/commands/HeadBucketCommand.js +5 -0
  147. package/dist-es/commands/HeadObjectCommand.js +5 -0
  148. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +5 -0
  149. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +5 -0
  150. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +5 -0
  151. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +5 -0
  152. package/dist-es/commands/ListBucketsCommand.js +5 -0
  153. package/dist-es/commands/ListMultipartUploadsCommand.js +5 -0
  154. package/dist-es/commands/ListObjectVersionsCommand.js +5 -0
  155. package/dist-es/commands/ListObjectsCommand.js +5 -0
  156. package/dist-es/commands/ListObjectsV2Command.js +5 -0
  157. package/dist-es/commands/ListPartsCommand.js +5 -0
  158. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +5 -0
  159. package/dist-es/commands/PutBucketAclCommand.js +5 -0
  160. package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +5 -0
  161. package/dist-es/commands/PutBucketCorsCommand.js +5 -0
  162. package/dist-es/commands/PutBucketEncryptionCommand.js +5 -0
  163. package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +5 -0
  164. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +5 -0
  165. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +5 -0
  166. package/dist-es/commands/PutBucketLoggingCommand.js +5 -0
  167. package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +5 -0
  168. package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +5 -0
  169. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +5 -0
  170. package/dist-es/commands/PutBucketPolicyCommand.js +5 -0
  171. package/dist-es/commands/PutBucketReplicationCommand.js +5 -0
  172. package/dist-es/commands/PutBucketRequestPaymentCommand.js +5 -0
  173. package/dist-es/commands/PutBucketTaggingCommand.js +5 -0
  174. package/dist-es/commands/PutBucketVersioningCommand.js +5 -0
  175. package/dist-es/commands/PutBucketWebsiteCommand.js +5 -0
  176. package/dist-es/commands/PutObjectAclCommand.js +5 -0
  177. package/dist-es/commands/PutObjectCommand.js +5 -0
  178. package/dist-es/commands/PutObjectLegalHoldCommand.js +5 -0
  179. package/dist-es/commands/PutObjectLockConfigurationCommand.js +5 -0
  180. package/dist-es/commands/PutObjectRetentionCommand.js +5 -0
  181. package/dist-es/commands/PutObjectTaggingCommand.js +5 -0
  182. package/dist-es/commands/PutPublicAccessBlockCommand.js +5 -0
  183. package/dist-es/commands/RestoreObjectCommand.js +5 -0
  184. package/dist-es/commands/SelectObjectContentCommand.js +5 -0
  185. package/dist-es/commands/UploadPartCommand.js +5 -0
  186. package/dist-es/commands/UploadPartCopyCommand.js +5 -0
  187. package/dist-es/commands/WriteGetObjectResponseCommand.js +5 -0
  188. package/dist-es/models/models_0.js +1 -0
  189. package/dist-types/commands/CreateBucketCommand.d.ts +13 -13
  190. package/dist-types/commands/DeleteObjectCommand.d.ts +10 -10
  191. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -11
  192. package/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
  193. package/dist-types/commands/GetObjectCommand.d.ts +1 -1
  194. package/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -19
  195. package/dist-types/commands/HeadObjectCommand.d.ts +1 -1
  196. package/dist-types/commands/PutObjectCommand.d.ts +43 -43
  197. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
  198. package/dist-types/models/models_0.d.ts +1 -0
  199. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  200. package/package.json +46 -46
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketCorsCommand, se_PutBucketCorsCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketCorsCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutBucketCorsCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutBucketCors",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { PutBucketEncryptionRequestFilterSensitiveLog } from "../models/models_0";
6
7
  import { de_PutBucketEncryptionCommand, se_PutBucketEncryptionCommand } from "../protocols/Aws_restXml";
7
8
  export { $Command };
@@ -42,6 +43,10 @@ export class PutBucketEncryptionCommand extends $Command {
42
43
  commandName,
43
44
  inputFilterSensitiveLog: PutBucketEncryptionRequestFilterSensitiveLog,
44
45
  outputFilterSensitiveLog: (_) => _,
46
+ [SMITHY_CONTEXT_KEY]: {
47
+ service: "AmazonS3",
48
+ operation: "PutBucketEncryption",
49
+ },
45
50
  };
46
51
  const { requestHandler } = configuration;
47
52
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutBucketIntelligentTieringConfigurationCommand, se_PutBucketIntelligentTieringConfigurationCommand, } from "../protocols/Aws_restXml";
5
6
  export { $Command };
6
7
  export class PutBucketIntelligentTieringConfigurationCommand extends $Command {
@@ -35,6 +36,10 @@ export class PutBucketIntelligentTieringConfigurationCommand extends $Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: (_) => _,
37
38
  outputFilterSensitiveLog: (_) => _,
39
+ [SMITHY_CONTEXT_KEY]: {
40
+ service: "AmazonS3",
41
+ operation: "PutBucketIntelligentTieringConfiguration",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { PutBucketInventoryConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_PutBucketInventoryConfigurationCommand, se_PutBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
6
7
  export { $Command };
@@ -36,6 +37,10 @@ export class PutBucketInventoryConfigurationCommand extends $Command {
36
37
  commandName,
37
38
  inputFilterSensitiveLog: PutBucketInventoryConfigurationRequestFilterSensitiveLog,
38
39
  outputFilterSensitiveLog: (_) => _,
40
+ [SMITHY_CONTEXT_KEY]: {
41
+ service: "AmazonS3",
42
+ operation: "PutBucketInventoryConfiguration",
43
+ },
39
44
  };
40
45
  const { requestHandler } = configuration;
41
46
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketLifecycleConfigurationCommand, se_PutBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketLifecycleConfigurationCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutBucketLifecycleConfigurationCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutBucketLifecycleConfiguration",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketLoggingCommand, se_PutBucketLoggingCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketLoggingCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutBucketLoggingCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutBucketLogging",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutBucketMetricsConfigurationCommand, se_PutBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
5
6
  export { $Command };
6
7
  export class PutBucketMetricsConfigurationCommand extends $Command {
@@ -35,6 +36,10 @@ export class PutBucketMetricsConfigurationCommand extends $Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: (_) => _,
37
38
  outputFilterSensitiveLog: (_) => _,
39
+ [SMITHY_CONTEXT_KEY]: {
40
+ service: "AmazonS3",
41
+ operation: "PutBucketMetricsConfiguration",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutBucketNotificationConfigurationCommand, se_PutBucketNotificationConfigurationCommand, } from "../protocols/Aws_restXml";
5
6
  export { $Command };
6
7
  export class PutBucketNotificationConfigurationCommand extends $Command {
@@ -35,6 +36,10 @@ export class PutBucketNotificationConfigurationCommand extends $Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: (_) => _,
37
38
  outputFilterSensitiveLog: (_) => _,
39
+ [SMITHY_CONTEXT_KEY]: {
40
+ service: "AmazonS3",
41
+ operation: "PutBucketNotificationConfiguration",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketOwnershipControlsCommand, se_PutBucketOwnershipControlsCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketOwnershipControlsCommand extends $Command {
@@ -37,6 +38,10 @@ export class PutBucketOwnershipControlsCommand extends $Command {
37
38
  commandName,
38
39
  inputFilterSensitiveLog: (_) => _,
39
40
  outputFilterSensitiveLog: (_) => _,
41
+ [SMITHY_CONTEXT_KEY]: {
42
+ service: "AmazonS3",
43
+ operation: "PutBucketOwnershipControls",
44
+ },
40
45
  };
41
46
  const { requestHandler } = configuration;
42
47
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketPolicyCommand, se_PutBucketPolicyCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketPolicyCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutBucketPolicyCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutBucketPolicy",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketReplicationCommand, se_PutBucketReplicationCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketReplicationCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutBucketReplicationCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutBucketReplication",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketRequestPaymentCommand, se_PutBucketRequestPaymentCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketRequestPaymentCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutBucketRequestPaymentCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutBucketRequestPayment",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketTaggingCommand, se_PutBucketTaggingCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketTaggingCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutBucketTaggingCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutBucketTagging",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketVersioningCommand, se_PutBucketVersioningCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketVersioningCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutBucketVersioningCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutBucketVersioning",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutBucketWebsiteCommand, se_PutBucketWebsiteCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutBucketWebsiteCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutBucketWebsiteCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutBucketWebsite",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutObjectAclCommand, se_PutObjectAclCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutObjectAclCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutObjectAclCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutObjectAcl",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,6 +4,7 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
4
4
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
5
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
6
6
  import { Command as $Command } from "@smithy/smithy-client";
7
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
7
8
  import { PutObjectOutputFilterSensitiveLog, PutObjectRequestFilterSensitiveLog, } from "../models/models_0";
8
9
  import { de_PutObjectCommand, se_PutObjectCommand } from "../protocols/Aws_restXml";
9
10
  export { $Command };
@@ -46,6 +47,10 @@ export class PutObjectCommand extends $Command {
46
47
  commandName,
47
48
  inputFilterSensitiveLog: PutObjectRequestFilterSensitiveLog,
48
49
  outputFilterSensitiveLog: PutObjectOutputFilterSensitiveLog,
50
+ [SMITHY_CONTEXT_KEY]: {
51
+ service: "AmazonS3",
52
+ operation: "PutObject",
53
+ },
49
54
  };
50
55
  const { requestHandler } = configuration;
51
56
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutObjectLegalHoldCommand, se_PutObjectLegalHoldCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutObjectLegalHoldCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutObjectLegalHoldCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutObjectLegalHold",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutObjectLockConfigurationCommand, se_PutObjectLockConfigurationCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutObjectLockConfigurationCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutObjectLockConfigurationCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutObjectLockConfiguration",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutObjectRetentionCommand, se_PutObjectRetentionCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutObjectRetentionCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutObjectRetentionCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutObjectRetention",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutObjectTaggingCommand, se_PutObjectTaggingCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutObjectTaggingCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutObjectTaggingCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutObjectTagging",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_PutPublicAccessBlockCommand, se_PutPublicAccessBlockCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
7
8
  export class PutPublicAccessBlockCommand extends $Command {
@@ -41,6 +42,10 @@ export class PutPublicAccessBlockCommand extends $Command {
41
42
  commandName,
42
43
  inputFilterSensitiveLog: (_) => _,
43
44
  outputFilterSensitiveLog: (_) => _,
45
+ [SMITHY_CONTEXT_KEY]: {
46
+ service: "AmazonS3",
47
+ operation: "PutPublicAccessBlock",
48
+ },
44
49
  };
45
50
  const { requestHandler } = configuration;
46
51
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { RestoreObjectRequestFilterSensitiveLog } from "../models/models_1";
6
7
  import { de_RestoreObjectCommand, se_RestoreObjectCommand } from "../protocols/Aws_restXml";
7
8
  export { $Command };
@@ -42,6 +43,10 @@ export class RestoreObjectCommand extends $Command {
42
43
  commandName,
43
44
  inputFilterSensitiveLog: RestoreObjectRequestFilterSensitiveLog,
44
45
  outputFilterSensitiveLog: (_) => _,
46
+ [SMITHY_CONTEXT_KEY]: {
47
+ service: "AmazonS3",
48
+ operation: "RestoreObject",
49
+ },
45
50
  };
46
51
  const { requestHandler } = configuration;
47
52
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { SelectObjectContentOutputFilterSensitiveLog, SelectObjectContentRequestFilterSensitiveLog, } from "../models/models_1";
6
7
  import { de_SelectObjectContentCommand, se_SelectObjectContentCommand } from "../protocols/Aws_restXml";
7
8
  export { $Command };
@@ -38,6 +39,10 @@ export class SelectObjectContentCommand extends $Command {
38
39
  commandName,
39
40
  inputFilterSensitiveLog: SelectObjectContentRequestFilterSensitiveLog,
40
41
  outputFilterSensitiveLog: SelectObjectContentOutputFilterSensitiveLog,
42
+ [SMITHY_CONTEXT_KEY]: {
43
+ service: "AmazonS3",
44
+ operation: "SelectObjectContent",
45
+ },
41
46
  };
42
47
  const { requestHandler } = configuration;
43
48
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,6 +3,7 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
5
5
  import { Command as $Command } from "@smithy/smithy-client";
6
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
7
  import { UploadPartOutputFilterSensitiveLog, UploadPartRequestFilterSensitiveLog, } from "../models/models_1";
7
8
  import { de_UploadPartCommand, se_UploadPartCommand } from "../protocols/Aws_restXml";
8
9
  export { $Command };
@@ -44,6 +45,10 @@ export class UploadPartCommand extends $Command {
44
45
  commandName,
45
46
  inputFilterSensitiveLog: UploadPartRequestFilterSensitiveLog,
46
47
  outputFilterSensitiveLog: UploadPartOutputFilterSensitiveLog,
48
+ [SMITHY_CONTEXT_KEY]: {
49
+ service: "AmazonS3",
50
+ operation: "UploadPart",
51
+ },
47
52
  };
48
53
  const { requestHandler } = configuration;
49
54
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,6 +3,7 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
5
5
  import { Command as $Command } from "@smithy/smithy-client";
6
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
6
7
  import { UploadPartCopyOutputFilterSensitiveLog, UploadPartCopyRequestFilterSensitiveLog, } from "../models/models_1";
7
8
  import { de_UploadPartCopyCommand, se_UploadPartCopyCommand } from "../protocols/Aws_restXml";
8
9
  export { $Command };
@@ -40,6 +41,10 @@ export class UploadPartCopyCommand extends $Command {
40
41
  commandName,
41
42
  inputFilterSensitiveLog: UploadPartCopyRequestFilterSensitiveLog,
42
43
  outputFilterSensitiveLog: UploadPartCopyOutputFilterSensitiveLog,
44
+ [SMITHY_CONTEXT_KEY]: {
45
+ service: "AmazonS3",
46
+ operation: "UploadPartCopy",
47
+ },
43
48
  };
44
49
  const { requestHandler } = configuration;
45
50
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { WriteGetObjectResponseRequestFilterSensitiveLog } from "../models/models_1";
5
6
  import { de_WriteGetObjectResponseCommand, se_WriteGetObjectResponseCommand } from "../protocols/Aws_restXml";
6
7
  export { $Command };
@@ -36,6 +37,10 @@ export class WriteGetObjectResponseCommand extends $Command {
36
37
  commandName,
37
38
  inputFilterSensitiveLog: WriteGetObjectResponseRequestFilterSensitiveLog,
38
39
  outputFilterSensitiveLog: (_) => _,
40
+ [SMITHY_CONTEXT_KEY]: {
41
+ service: "AmazonS3",
42
+ operation: "WriteGetObjectResponse",
43
+ },
39
44
  };
40
45
  const { requestHandler } = configuration;
41
46
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -356,6 +356,7 @@ export const Protocol = {
356
356
  };
357
357
  export const ReplicationStatus = {
358
358
  COMPLETE: "COMPLETE",
359
+ COMPLETED: "COMPLETED",
359
360
  FAILED: "FAILED",
360
361
  PENDING: "PENDING",
361
362
  REPLICA: "REPLICA",
@@ -181,39 +181,39 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
181
181
  * @throws {@link S3ServiceException}
182
182
  * <p>Base exception class for all service exceptions from S3 service.</p>
183
183
  *
184
- * @example To create a bucket
184
+ * @example To create a bucket in a specific region
185
185
  * ```javascript
186
- * // The following example creates a bucket.
186
+ * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
187
187
  * const input = {
188
- * "Bucket": "examplebucket"
188
+ * "Bucket": "examplebucket",
189
+ * "CreateBucketConfiguration": {
190
+ * "LocationConstraint": "eu-west-1"
191
+ * }
189
192
  * };
190
193
  * const command = new CreateBucketCommand(input);
191
194
  * const response = await client.send(command);
192
195
  * /* response ==
193
196
  * {
194
- * "Location": "/examplebucket"
197
+ * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
195
198
  * }
196
199
  * *\/
197
- * // example id: to-create-a-bucket--1472851826060
200
+ * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
198
201
  * ```
199
202
  *
200
- * @example To create a bucket in a specific region
203
+ * @example To create a bucket
201
204
  * ```javascript
202
- * // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
205
+ * // The following example creates a bucket.
203
206
  * const input = {
204
- * "Bucket": "examplebucket",
205
- * "CreateBucketConfiguration": {
206
- * "LocationConstraint": "eu-west-1"
207
- * }
207
+ * "Bucket": "examplebucket"
208
208
  * };
209
209
  * const command = new CreateBucketCommand(input);
210
210
  * const response = await client.send(command);
211
211
  * /* response ==
212
212
  * {
213
- * "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
213
+ * "Location": "/examplebucket"
214
214
  * }
215
215
  * *\/
216
- * // example id: to-create-a-bucket-in-a-specific-region-1483399072992
216
+ * // example id: to-create-a-bucket--1472851826060
217
217
  * ```
218
218
  *
219
219
  */
@@ -83,28 +83,28 @@ export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __Metadat
83
83
  * @throws {@link S3ServiceException}
84
84
  * <p>Base exception class for all service exceptions from S3 service.</p>
85
85
  *
86
- * @example To delete an object
86
+ * @example To delete an object (from a non-versioned bucket)
87
87
  * ```javascript
88
- * // The following example deletes an object from an S3 bucket.
88
+ * // The following example deletes an object from a non-versioned bucket.
89
89
  * const input = {
90
- * "Bucket": "examplebucket",
91
- * "Key": "objectkey.jpg"
90
+ * "Bucket": "ExampleBucket",
91
+ * "Key": "HappyFace.jpg"
92
92
  * };
93
93
  * const command = new DeleteObjectCommand(input);
94
94
  * await client.send(command);
95
- * // example id: to-delete-an-object-1472850136595
95
+ * // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
96
96
  * ```
97
97
  *
98
- * @example To delete an object (from a non-versioned bucket)
98
+ * @example To delete an object
99
99
  * ```javascript
100
- * // The following example deletes an object from a non-versioned bucket.
100
+ * // The following example deletes an object from an S3 bucket.
101
101
  * const input = {
102
- * "Bucket": "ExampleBucket",
103
- * "Key": "HappyFace.jpg"
102
+ * "Bucket": "examplebucket",
103
+ * "Key": "objectkey.jpg"
104
104
  * };
105
105
  * const command = new DeleteObjectCommand(input);
106
106
  * await client.send(command);
107
- * // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
107
+ * // example id: to-delete-an-object-1472850136595
108
108
  * ```
109
109
  *
110
110
  */