@aws-sdk/client-s3 3.614.0 → 3.616.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 (72) hide show
  1. package/dist-cjs/index.js +174 -64
  2. package/dist-es/S3Client.js +7 -7
  3. package/dist-es/commands/AbortMultipartUploadCommand.js +2 -0
  4. package/dist-es/commands/CreateBucketCommand.js +2 -0
  5. package/dist-es/commands/CreateMultipartUploadCommand.js +2 -0
  6. package/dist-es/commands/CreateSessionCommand.js +2 -0
  7. package/dist-es/commands/DeleteObjectCommand.js +2 -0
  8. package/dist-es/commands/DeleteObjectTaggingCommand.js +2 -0
  9. package/dist-es/commands/DeleteObjectsCommand.js +2 -0
  10. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +2 -0
  11. package/dist-es/commands/GetBucketAclCommand.js +2 -0
  12. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +2 -0
  13. package/dist-es/commands/GetBucketCorsCommand.js +2 -0
  14. package/dist-es/commands/GetBucketEncryptionCommand.js +2 -0
  15. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -0
  16. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +2 -0
  17. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +2 -0
  18. package/dist-es/commands/GetBucketLocationCommand.js +2 -0
  19. package/dist-es/commands/GetBucketLoggingCommand.js +2 -0
  20. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +2 -0
  21. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +2 -0
  22. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +2 -0
  23. package/dist-es/commands/GetBucketPolicyCommand.js +2 -0
  24. package/dist-es/commands/GetBucketPolicyStatusCommand.js +2 -0
  25. package/dist-es/commands/GetBucketReplicationCommand.js +2 -0
  26. package/dist-es/commands/GetBucketRequestPaymentCommand.js +2 -0
  27. package/dist-es/commands/GetBucketTaggingCommand.js +2 -0
  28. package/dist-es/commands/GetBucketVersioningCommand.js +2 -0
  29. package/dist-es/commands/GetBucketWebsiteCommand.js +2 -0
  30. package/dist-es/commands/GetObjectAclCommand.js +2 -0
  31. package/dist-es/commands/GetObjectAttributesCommand.js +2 -0
  32. package/dist-es/commands/GetObjectLegalHoldCommand.js +2 -0
  33. package/dist-es/commands/GetObjectLockConfigurationCommand.js +2 -0
  34. package/dist-es/commands/GetObjectRetentionCommand.js +2 -0
  35. package/dist-es/commands/GetObjectTaggingCommand.js +2 -0
  36. package/dist-es/commands/GetPublicAccessBlockCommand.js +2 -0
  37. package/dist-es/commands/HeadBucketCommand.js +2 -0
  38. package/dist-es/commands/HeadObjectCommand.js +2 -1
  39. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -0
  40. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -0
  41. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +2 -0
  42. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +2 -0
  43. package/dist-es/commands/ListBucketsCommand.js +2 -0
  44. package/dist-es/commands/ListDirectoryBucketsCommand.js +2 -0
  45. package/dist-es/commands/ListMultipartUploadsCommand.js +2 -0
  46. package/dist-es/commands/ListObjectVersionsCommand.js +2 -0
  47. package/dist-es/commands/ListObjectsCommand.js +2 -0
  48. package/dist-es/commands/ListObjectsV2Command.js +2 -0
  49. package/dist-es/commands/ListPartsCommand.js +2 -0
  50. package/dist-es/commands/PutObjectAclCommand.js +2 -0
  51. package/dist-es/commands/PutObjectCommand.js +2 -1
  52. package/dist-es/commands/PutObjectLegalHoldCommand.js +2 -0
  53. package/dist-es/commands/PutObjectLockConfigurationCommand.js +2 -0
  54. package/dist-es/commands/PutObjectRetentionCommand.js +2 -0
  55. package/dist-es/commands/PutObjectTaggingCommand.js +2 -0
  56. package/dist-es/commands/RestoreObjectCommand.js +2 -0
  57. package/dist-es/commands/SelectObjectContentCommand.js +2 -0
  58. package/dist-es/commands/UploadPartCommand.js +2 -0
  59. package/dist-types/S3Client.d.ts +2 -2
  60. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -11
  61. package/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
  62. package/dist-types/commands/GetObjectCommand.d.ts +19 -19
  63. package/dist-types/commands/PutObjectCommand.d.ts +50 -50
  64. package/dist-types/commands/UploadPartCopyCommand.d.ts +13 -13
  65. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  66. package/dist-types/runtimeConfig.d.ts +1 -1
  67. package/dist-types/runtimeConfig.native.d.ts +1 -1
  68. package/dist-types/ts3.4/S3Client.d.ts +2 -2
  69. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -4
  70. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
  71. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  72. package/package.json +25 -25
@@ -22,17 +22,15 @@ export class S3Client extends __Client {
22
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
23
23
  const _config_2 = resolveRegionConfig(_config_1);
24
24
  const _config_3 = resolveEndpointConfig(_config_2);
25
- const _config_4 = resolveRetryConfig(_config_3);
26
- const _config_5 = resolveHostHeaderConfig(_config_4);
27
- const _config_6 = resolveAwsAuthConfig(_config_5);
28
- const _config_7 = resolveS3Config(_config_6, { session: [() => this, CreateSessionCommand] });
29
- const _config_8 = resolveUserAgentConfig(_config_7);
25
+ const _config_4 = resolveHostHeaderConfig(_config_3);
26
+ const _config_5 = resolveAwsAuthConfig(_config_4);
27
+ const _config_6 = resolveS3Config(_config_5, { session: [() => this, CreateSessionCommand] });
28
+ const _config_7 = resolveUserAgentConfig(_config_6);
29
+ const _config_8 = resolveRetryConfig(_config_7);
30
30
  const _config_9 = resolveEventStreamSerdeConfig(_config_8);
31
31
  const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
32
32
  super(_config_10);
33
33
  this.config = _config_10;
34
- this.middlewareStack.use(getRetryPlugin(this.config));
35
- this.middlewareStack.use(getContentLengthPlugin(this.config));
36
34
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
37
35
  this.middlewareStack.use(getLoggerPlugin(this.config));
38
36
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
@@ -42,6 +40,8 @@ export class S3Client extends __Client {
42
40
  this.middlewareStack.use(getRegionRedirectMiddlewarePlugin(this.config));
43
41
  this.middlewareStack.use(getS3ExpressPlugin(this.config));
44
42
  this.middlewareStack.use(getUserAgentPlugin(this.config));
43
+ this.middlewareStack.use(getRetryPlugin(this.config));
44
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
45
45
  }
46
46
  destroy() {
47
47
  super.destroy();
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class AbortMultipartUploadCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "AbortMultipartUpload", {})
@@ -1,4 +1,5 @@
1
1
  import { getLocationConstraintPlugin } from "@aws-sdk/middleware-location-constraint";
2
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
5
  import { Command as $Command } from "@smithy/smithy-client";
@@ -17,6 +18,7 @@ export class CreateBucketCommand extends $Command
17
18
  return [
18
19
  getSerdePlugin(config, this.serialize, this.deserialize),
19
20
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
+ getThrow200ExceptionsPlugin(config),
20
22
  getLocationConstraintPlugin(config),
21
23
  ];
22
24
  })
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
2
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
@@ -17,6 +18,7 @@ export class CreateMultipartUploadCommand extends $Command
17
18
  return [
18
19
  getSerdePlugin(config, this.serialize, this.deserialize),
19
20
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
+ getThrow200ExceptionsPlugin(config),
20
22
  getSsecPlugin(config),
21
23
  ];
22
24
  })
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -16,6 +17,7 @@ export class CreateSessionCommand extends $Command
16
17
  return [
17
18
  getSerdePlugin(config, this.serialize, this.deserialize),
18
19
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
+ getThrow200ExceptionsPlugin(config),
19
21
  ];
20
22
  })
21
23
  .s("AmazonS3", "CreateSession", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class DeleteObjectCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "DeleteObject", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,6 +15,7 @@ export class DeleteObjectTaggingCommand extends $Command
14
15
  return [
15
16
  getSerdePlugin(config, this.serialize, this.deserialize),
16
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ getThrow200ExceptionsPlugin(config),
17
19
  ];
18
20
  })
19
21
  .s("AmazonS3", "DeleteObjectTagging", {})
@@ -1,4 +1,5 @@
1
1
  import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
2
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
5
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class DeleteObjectsCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  getFlexibleChecksumsPlugin(config, {
19
21
  input: this.input,
20
22
  requestAlgorithmMember: "ChecksumAlgorithm",
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketAccelerateConfigurationCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketAccelerateConfiguration", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketAclCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketAcl", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketAnalyticsConfigurationCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketAnalyticsConfiguration", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketCorsCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketCors", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -16,6 +17,7 @@ export class GetBucketEncryptionCommand extends $Command
16
17
  return [
17
18
  getSerdePlugin(config, this.serialize, this.deserialize),
18
19
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
+ getThrow200ExceptionsPlugin(config),
19
21
  ];
20
22
  })
21
23
  .s("AmazonS3", "GetBucketEncryption", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketIntelligentTieringConfigurationCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketIntelligentTieringConfiguration", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -16,6 +17,7 @@ export class GetBucketInventoryConfigurationCommand extends $Command
16
17
  return [
17
18
  getSerdePlugin(config, this.serialize, this.deserialize),
18
19
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
+ getThrow200ExceptionsPlugin(config),
19
21
  ];
20
22
  })
21
23
  .s("AmazonS3", "GetBucketInventoryConfiguration", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketLifecycleConfigurationCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketLifecycleConfiguration", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketLocationCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketLocation", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketLoggingCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketLogging", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketMetricsConfigurationCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketMetricsConfiguration", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketNotificationConfigurationCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketNotificationConfiguration", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketOwnershipControlsCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketOwnershipControls", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketPolicyCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketPolicy", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketPolicyStatusCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketPolicyStatus", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketReplicationCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketReplication", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketRequestPaymentCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketRequestPayment", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketTaggingCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketTagging", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketVersioningCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketVersioning", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetBucketWebsiteCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetBucketWebsite", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetObjectAclCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetObjectAcl", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
2
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
@@ -16,6 +17,7 @@ export class GetObjectAttributesCommand extends $Command
16
17
  return [
17
18
  getSerdePlugin(config, this.serialize, this.deserialize),
18
19
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
+ getThrow200ExceptionsPlugin(config),
19
21
  getSsecPlugin(config),
20
22
  ];
21
23
  })
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,6 +15,7 @@ export class GetObjectLegalHoldCommand extends $Command
14
15
  return [
15
16
  getSerdePlugin(config, this.serialize, this.deserialize),
16
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ getThrow200ExceptionsPlugin(config),
17
19
  ];
18
20
  })
19
21
  .s("AmazonS3", "GetObjectLegalHold", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,6 +15,7 @@ export class GetObjectLockConfigurationCommand extends $Command
14
15
  return [
15
16
  getSerdePlugin(config, this.serialize, this.deserialize),
16
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ getThrow200ExceptionsPlugin(config),
17
19
  ];
18
20
  })
19
21
  .s("AmazonS3", "GetObjectLockConfiguration", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,6 +15,7 @@ export class GetObjectRetentionCommand extends $Command
14
15
  return [
15
16
  getSerdePlugin(config, this.serialize, this.deserialize),
16
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ getThrow200ExceptionsPlugin(config),
17
19
  ];
18
20
  })
19
21
  .s("AmazonS3", "GetObjectRetention", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,6 +15,7 @@ export class GetObjectTaggingCommand extends $Command
14
15
  return [
15
16
  getSerdePlugin(config, this.serialize, this.deserialize),
16
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ getThrow200ExceptionsPlugin(config),
17
19
  ];
18
20
  })
19
21
  .s("AmazonS3", "GetObjectTagging", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class GetPublicAccessBlockCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "GetPublicAccessBlock", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,6 +15,7 @@ export class HeadBucketCommand extends $Command
14
15
  return [
15
16
  getSerdePlugin(config, this.serialize, this.deserialize),
16
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ getThrow200ExceptionsPlugin(config),
17
19
  ];
18
20
  })
19
21
  .s("AmazonS3", "HeadBucket", {})
@@ -1,4 +1,4 @@
1
- import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3";
1
+ import { getS3ExpiresMiddlewarePlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
2
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
@@ -18,6 +18,7 @@ export class HeadObjectCommand extends $Command
18
18
  return [
19
19
  getSerdePlugin(config, this.serialize, this.deserialize),
20
20
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
+ getThrow200ExceptionsPlugin(config),
21
22
  getSsecPlugin(config),
22
23
  getS3ExpiresMiddlewarePlugin(config),
23
24
  ];
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class ListBucketAnalyticsConfigurationsCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "ListBucketAnalyticsConfigurations", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class ListBucketIntelligentTieringConfigurationsCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -16,6 +17,7 @@ export class ListBucketInventoryConfigurationsCommand extends $Command
16
17
  return [
17
18
  getSerdePlugin(config, this.serialize, this.deserialize),
18
19
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
+ getThrow200ExceptionsPlugin(config),
19
21
  ];
20
22
  })
21
23
  .s("AmazonS3", "ListBucketInventoryConfigurations", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,6 +15,7 @@ export class ListBucketMetricsConfigurationsCommand extends $Command
14
15
  return [
15
16
  getSerdePlugin(config, this.serialize, this.deserialize),
16
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ getThrow200ExceptionsPlugin(config),
17
19
  ];
18
20
  })
19
21
  .s("AmazonS3", "ListBucketMetricsConfigurations", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -13,6 +14,7 @@ export class ListBucketsCommand extends $Command
13
14
  return [
14
15
  getSerdePlugin(config, this.serialize, this.deserialize),
15
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
16
18
  ];
17
19
  })
18
20
  .s("AmazonS3", "ListBuckets", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -14,6 +15,7 @@ export class ListDirectoryBucketsCommand extends $Command
14
15
  return [
15
16
  getSerdePlugin(config, this.serialize, this.deserialize),
16
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ getThrow200ExceptionsPlugin(config),
17
19
  ];
18
20
  })
19
21
  .s("AmazonS3", "ListDirectoryBuckets", {})
@@ -1,3 +1,4 @@
1
+ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
4
  import { Command as $Command } from "@smithy/smithy-client";
@@ -15,6 +16,7 @@ export class ListMultipartUploadsCommand extends $Command
15
16
  return [
16
17
  getSerdePlugin(config, this.serialize, this.deserialize),
17
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
+ getThrow200ExceptionsPlugin(config),
18
20
  ];
19
21
  })
20
22
  .s("AmazonS3", "ListMultipartUploads", {})