@aws-sdk/client-s3 3.930.0 → 3.931.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 (131) hide show
  1. package/dist-cjs/index.js +9984 -8599
  2. package/dist-cjs/runtimeConfig.shared.js +6 -0
  3. package/dist-es/S3Client.js +2 -0
  4. package/dist-es/commands/AbortMultipartUploadCommand.js +3 -10
  5. package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -7
  6. package/dist-es/commands/CopyObjectCommand.js +2 -7
  7. package/dist-es/commands/CreateBucketCommand.js +2 -6
  8. package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +2 -6
  9. package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +2 -6
  10. package/dist-es/commands/CreateMultipartUploadCommand.js +2 -7
  11. package/dist-es/commands/CreateSessionCommand.js +3 -11
  12. package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +3 -9
  13. package/dist-es/commands/DeleteBucketCommand.js +3 -9
  14. package/dist-es/commands/DeleteBucketCorsCommand.js +3 -9
  15. package/dist-es/commands/DeleteBucketEncryptionCommand.js +3 -9
  16. package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +3 -9
  17. package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +3 -9
  18. package/dist-es/commands/DeleteBucketLifecycleCommand.js +3 -9
  19. package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +3 -9
  20. package/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +3 -9
  21. package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +3 -9
  22. package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +3 -9
  23. package/dist-es/commands/DeleteBucketPolicyCommand.js +3 -9
  24. package/dist-es/commands/DeleteBucketReplicationCommand.js +3 -9
  25. package/dist-es/commands/DeleteBucketTaggingCommand.js +3 -9
  26. package/dist-es/commands/DeleteBucketWebsiteCommand.js +3 -9
  27. package/dist-es/commands/DeleteObjectCommand.js +3 -10
  28. package/dist-es/commands/DeleteObjectTaggingCommand.js +3 -10
  29. package/dist-es/commands/DeleteObjectsCommand.js +2 -6
  30. package/dist-es/commands/DeletePublicAccessBlockCommand.js +3 -9
  31. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +3 -10
  32. package/dist-es/commands/GetBucketAclCommand.js +3 -10
  33. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +3 -10
  34. package/dist-es/commands/GetBucketCorsCommand.js +3 -10
  35. package/dist-es/commands/GetBucketEncryptionCommand.js +3 -11
  36. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +3 -10
  37. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +3 -11
  38. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +3 -10
  39. package/dist-es/commands/GetBucketLocationCommand.js +3 -10
  40. package/dist-es/commands/GetBucketLoggingCommand.js +3 -10
  41. package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +3 -10
  42. package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +3 -10
  43. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +3 -10
  44. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +3 -10
  45. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +3 -10
  46. package/dist-es/commands/GetBucketPolicyCommand.js +3 -10
  47. package/dist-es/commands/GetBucketPolicyStatusCommand.js +3 -10
  48. package/dist-es/commands/GetBucketReplicationCommand.js +3 -10
  49. package/dist-es/commands/GetBucketRequestPaymentCommand.js +3 -10
  50. package/dist-es/commands/GetBucketTaggingCommand.js +3 -10
  51. package/dist-es/commands/GetBucketVersioningCommand.js +3 -10
  52. package/dist-es/commands/GetBucketWebsiteCommand.js +3 -10
  53. package/dist-es/commands/GetObjectAclCommand.js +3 -10
  54. package/dist-es/commands/GetObjectAttributesCommand.js +2 -7
  55. package/dist-es/commands/GetObjectCommand.js +2 -7
  56. package/dist-es/commands/GetObjectLegalHoldCommand.js +3 -10
  57. package/dist-es/commands/GetObjectLockConfigurationCommand.js +3 -10
  58. package/dist-es/commands/GetObjectRetentionCommand.js +3 -10
  59. package/dist-es/commands/GetObjectTaggingCommand.js +3 -10
  60. package/dist-es/commands/GetObjectTorrentCommand.js +3 -10
  61. package/dist-es/commands/GetPublicAccessBlockCommand.js +3 -10
  62. package/dist-es/commands/HeadBucketCommand.js +3 -10
  63. package/dist-es/commands/HeadObjectCommand.js +2 -7
  64. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +3 -10
  65. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +3 -10
  66. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +3 -11
  67. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +3 -10
  68. package/dist-es/commands/ListBucketsCommand.js +3 -10
  69. package/dist-es/commands/ListDirectoryBucketsCommand.js +3 -10
  70. package/dist-es/commands/ListMultipartUploadsCommand.js +3 -10
  71. package/dist-es/commands/ListObjectVersionsCommand.js +3 -10
  72. package/dist-es/commands/ListObjectsCommand.js +3 -10
  73. package/dist-es/commands/ListObjectsV2Command.js +3 -10
  74. package/dist-es/commands/ListPartsCommand.js +2 -7
  75. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +2 -6
  76. package/dist-es/commands/PutBucketAclCommand.js +2 -6
  77. package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +3 -9
  78. package/dist-es/commands/PutBucketCorsCommand.js +2 -6
  79. package/dist-es/commands/PutBucketEncryptionCommand.js +2 -7
  80. package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +3 -9
  81. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +3 -10
  82. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -6
  83. package/dist-es/commands/PutBucketLoggingCommand.js +2 -6
  84. package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +3 -9
  85. package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +3 -9
  86. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -6
  87. package/dist-es/commands/PutBucketPolicyCommand.js +2 -6
  88. package/dist-es/commands/PutBucketReplicationCommand.js +2 -6
  89. package/dist-es/commands/PutBucketRequestPaymentCommand.js +2 -6
  90. package/dist-es/commands/PutBucketTaggingCommand.js +2 -6
  91. package/dist-es/commands/PutBucketVersioningCommand.js +2 -6
  92. package/dist-es/commands/PutBucketWebsiteCommand.js +2 -6
  93. package/dist-es/commands/PutObjectAclCommand.js +2 -6
  94. package/dist-es/commands/PutObjectCommand.js +2 -7
  95. package/dist-es/commands/PutObjectLegalHoldCommand.js +2 -6
  96. package/dist-es/commands/PutObjectLockConfigurationCommand.js +2 -6
  97. package/dist-es/commands/PutObjectRetentionCommand.js +2 -6
  98. package/dist-es/commands/PutObjectTaggingCommand.js +2 -6
  99. package/dist-es/commands/PutPublicAccessBlockCommand.js +2 -6
  100. package/dist-es/commands/RenameObjectCommand.js +3 -10
  101. package/dist-es/commands/RestoreObjectCommand.js +2 -7
  102. package/dist-es/commands/SelectObjectContentCommand.js +2 -7
  103. package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +2 -6
  104. package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +2 -6
  105. package/dist-es/commands/UploadPartCommand.js +2 -7
  106. package/dist-es/commands/UploadPartCopyCommand.js +2 -7
  107. package/dist-es/commands/WriteGetObjectResponseCommand.js +3 -10
  108. package/dist-es/models/models_0.js +0 -151
  109. package/dist-es/models/models_1.js +0 -108
  110. package/dist-es/runtimeConfig.shared.js +6 -0
  111. package/dist-es/schemas/schemas_0.js +10281 -0
  112. package/dist-types/S3Client.d.ts +10 -1
  113. package/dist-types/models/models_0.d.ts +8 -106
  114. package/dist-types/models/models_1.d.ts +4 -73
  115. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  116. package/dist-types/runtimeConfig.d.ts +1 -0
  117. package/dist-types/runtimeConfig.native.d.ts +1 -0
  118. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  119. package/dist-types/schemas/schemas_0.d.ts +494 -0
  120. package/dist-types/ts3.4/S3Client.d.ts +4 -0
  121. package/dist-types/ts3.4/models/models_0.d.ts +0 -78
  122. package/dist-types/ts3.4/models/models_1.d.ts +0 -54
  123. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -0
  124. package/dist-types/ts3.4/runtimeConfig.d.ts +6 -0
  125. package/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -0
  126. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +7 -0
  127. package/dist-types/ts3.4/schemas/schemas_0.d.ts +500 -0
  128. package/package.json +9 -11
  129. package/dist-es/protocols/Aws_restXml.js +0 -8103
  130. package/dist-types/protocols/Aws_restXml.d.ts +0 -938
  131. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -1257
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
6
7
  const smithy_client_1 = require("@smithy/smithy-client");
7
8
  const url_parser_1 = require("@smithy/url-parser");
@@ -33,6 +34,11 @@ const getRuntimeConfig = (config) => {
33
34
  },
34
35
  ],
35
36
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
37
+ protocol: config?.protocol ??
38
+ new protocols_1.AwsRestXmlProtocol({
39
+ defaultNamespace: "com.amazonaws.s3",
40
+ xmlNamespace: "http://s3.amazonaws.com/doc/2006-03-01/",
41
+ }),
36
42
  sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
37
43
  serviceId: config?.serviceId ?? "S3",
38
44
  signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
@@ -7,6 +7,7 @@ import { getRegionRedirectMiddlewarePlugin, getS3ExpressHttpSigningPlugin, getS3
7
7
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
8
8
  import { resolveRegionConfig } from "@smithy/config-resolver";
9
9
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
10
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
10
11
  import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
11
12
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
12
13
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
@@ -36,6 +37,7 @@ export class S3Client extends __Client {
36
37
  const _config_10 = resolveS3Config(_config_9, { session: [() => this, CreateSessionCommand] });
37
38
  const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
38
39
  this.config = _config_11;
40
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
39
41
  this.middlewareStack.use(getUserAgentPlugin(this.config));
40
42
  this.middlewareStack.use(getRetryPlugin(this.config));
41
43
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,9 +1,8 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
5
4
  import { commonParams } from "../endpoint/EndpointParameters";
6
- import { de_AbortMultipartUploadCommand, se_AbortMultipartUploadCommand } from "../protocols/Aws_restXml";
5
+ import { AbortMultipartUpload } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class AbortMultipartUploadCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class AbortMultipartUploadCommand extends $Command
13
12
  Key: { type: "contextParams", name: "Key" },
14
13
  })
15
14
  .m(function (Command, cs, config, o) {
16
- return [
17
- getSerdePlugin(config, this.serialize, this.deserialize),
18
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- getThrow200ExceptionsPlugin(config),
20
- ];
15
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
21
16
  })
22
17
  .s("AmazonS3", "AbortMultipartUpload", {})
23
18
  .n("S3Client", "AbortMultipartUploadCommand")
24
- .f(void 0, void 0)
25
- .ser(se_AbortMultipartUploadCommand)
26
- .de(de_AbortMultipartUploadCommand)
19
+ .sc(AbortMultipartUpload)
27
20
  .build() {
28
21
  }
@@ -1,11 +1,9 @@
1
1
  import { 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
- import { getSerdePlugin } from "@smithy/middleware-serde";
5
4
  import { Command as $Command } from "@smithy/smithy-client";
6
5
  import { commonParams } from "../endpoint/EndpointParameters";
7
- import { CompleteMultipartUploadOutputFilterSensitiveLog, CompleteMultipartUploadRequestFilterSensitiveLog, } from "../models/models_0";
8
- import { de_CompleteMultipartUploadCommand, se_CompleteMultipartUploadCommand } from "../protocols/Aws_restXml";
6
+ import { CompleteMultipartUpload } from "../schemas/schemas_0";
9
7
  export { $Command };
10
8
  export class CompleteMultipartUploadCommand extends $Command
11
9
  .classBuilder()
@@ -16,7 +14,6 @@ export class CompleteMultipartUploadCommand extends $Command
16
14
  })
17
15
  .m(function (Command, cs, config, o) {
18
16
  return [
19
- getSerdePlugin(config, this.serialize, this.deserialize),
20
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
18
  getThrow200ExceptionsPlugin(config),
22
19
  getSsecPlugin(config),
@@ -24,8 +21,6 @@ export class CompleteMultipartUploadCommand extends $Command
24
21
  })
25
22
  .s("AmazonS3", "CompleteMultipartUpload", {})
26
23
  .n("S3Client", "CompleteMultipartUploadCommand")
27
- .f(CompleteMultipartUploadRequestFilterSensitiveLog, CompleteMultipartUploadOutputFilterSensitiveLog)
28
- .ser(se_CompleteMultipartUploadCommand)
29
- .de(de_CompleteMultipartUploadCommand)
24
+ .sc(CompleteMultipartUpload)
30
25
  .build() {
31
26
  }
@@ -1,11 +1,9 @@
1
1
  import { 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
- import { getSerdePlugin } from "@smithy/middleware-serde";
5
4
  import { Command as $Command } from "@smithy/smithy-client";
6
5
  import { commonParams } from "../endpoint/EndpointParameters";
7
- import { CopyObjectOutputFilterSensitiveLog, CopyObjectRequestFilterSensitiveLog, } from "../models/models_0";
8
- import { de_CopyObjectCommand, se_CopyObjectCommand } from "../protocols/Aws_restXml";
6
+ import { CopyObject } from "../schemas/schemas_0";
9
7
  export { $Command };
10
8
  export class CopyObjectCommand extends $Command
11
9
  .classBuilder()
@@ -18,7 +16,6 @@ export class CopyObjectCommand extends $Command
18
16
  })
19
17
  .m(function (Command, cs, config, o) {
20
18
  return [
21
- getSerdePlugin(config, this.serialize, this.deserialize),
22
19
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
23
20
  getThrow200ExceptionsPlugin(config),
24
21
  getSsecPlugin(config),
@@ -26,8 +23,6 @@ export class CopyObjectCommand extends $Command
26
23
  })
27
24
  .s("AmazonS3", "CopyObject", {})
28
25
  .n("S3Client", "CopyObjectCommand")
29
- .f(CopyObjectRequestFilterSensitiveLog, CopyObjectOutputFilterSensitiveLog)
30
- .ser(se_CopyObjectCommand)
31
- .de(de_CopyObjectCommand)
26
+ .sc(CopyObject)
32
27
  .build() {
33
28
  }
@@ -1,10 +1,9 @@
1
1
  import { getLocationConstraintPlugin } from "@aws-sdk/middleware-location-constraint";
2
2
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
3
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
- import { getSerdePlugin } from "@smithy/middleware-serde";
5
4
  import { Command as $Command } from "@smithy/smithy-client";
6
5
  import { commonParams } from "../endpoint/EndpointParameters";
7
- import { de_CreateBucketCommand, se_CreateBucketCommand } from "../protocols/Aws_restXml";
6
+ import { CreateBucket } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class CreateBucketCommand extends $Command
10
9
  .classBuilder()
@@ -16,7 +15,6 @@ export class CreateBucketCommand extends $Command
16
15
  })
17
16
  .m(function (Command, cs, config, o) {
18
17
  return [
19
- getSerdePlugin(config, this.serialize, this.deserialize),
20
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
19
  getThrow200ExceptionsPlugin(config),
22
20
  getLocationConstraintPlugin(config),
@@ -24,8 +22,6 @@ export class CreateBucketCommand extends $Command
24
22
  })
25
23
  .s("AmazonS3", "CreateBucket", {})
26
24
  .n("S3Client", "CreateBucketCommand")
27
- .f(void 0, void 0)
28
- .ser(se_CreateBucketCommand)
29
- .de(de_CreateBucketCommand)
25
+ .sc(CreateBucket)
30
26
  .build() {
31
27
  }
@@ -1,9 +1,8 @@
1
1
  import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
5
4
  import { commonParams } from "../endpoint/EndpointParameters";
6
- import { de_CreateBucketMetadataConfigurationCommand, se_CreateBucketMetadataConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { CreateBucketMetadataConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class CreateBucketMetadataConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -14,7 +13,6 @@ export class CreateBucketMetadataConfigurationCommand extends $Command
14
13
  })
15
14
  .m(function (Command, cs, config, o) {
16
15
  return [
17
- getSerdePlugin(config, this.serialize, this.deserialize),
18
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
17
  getFlexibleChecksumsPlugin(config, {
20
18
  requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
@@ -24,8 +22,6 @@ export class CreateBucketMetadataConfigurationCommand extends $Command
24
22
  })
25
23
  .s("AmazonS3", "CreateBucketMetadataConfiguration", {})
26
24
  .n("S3Client", "CreateBucketMetadataConfigurationCommand")
27
- .f(void 0, void 0)
28
- .ser(se_CreateBucketMetadataConfigurationCommand)
29
- .de(de_CreateBucketMetadataConfigurationCommand)
25
+ .sc(CreateBucketMetadataConfiguration)
30
26
  .build() {
31
27
  }
@@ -1,9 +1,8 @@
1
1
  import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
5
4
  import { commonParams } from "../endpoint/EndpointParameters";
6
- import { de_CreateBucketMetadataTableConfigurationCommand, se_CreateBucketMetadataTableConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { CreateBucketMetadataTableConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class CreateBucketMetadataTableConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -14,7 +13,6 @@ export class CreateBucketMetadataTableConfigurationCommand extends $Command
14
13
  })
15
14
  .m(function (Command, cs, config, o) {
16
15
  return [
17
- getSerdePlugin(config, this.serialize, this.deserialize),
18
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
17
  getFlexibleChecksumsPlugin(config, {
20
18
  requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
@@ -24,8 +22,6 @@ export class CreateBucketMetadataTableConfigurationCommand extends $Command
24
22
  })
25
23
  .s("AmazonS3", "CreateBucketMetadataTableConfiguration", {})
26
24
  .n("S3Client", "CreateBucketMetadataTableConfigurationCommand")
27
- .f(void 0, void 0)
28
- .ser(se_CreateBucketMetadataTableConfigurationCommand)
29
- .de(de_CreateBucketMetadataTableConfigurationCommand)
25
+ .sc(CreateBucketMetadataTableConfiguration)
30
26
  .build() {
31
27
  }
@@ -1,11 +1,9 @@
1
1
  import { 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
- import { getSerdePlugin } from "@smithy/middleware-serde";
5
4
  import { Command as $Command } from "@smithy/smithy-client";
6
5
  import { commonParams } from "../endpoint/EndpointParameters";
7
- import { CreateMultipartUploadOutputFilterSensitiveLog, CreateMultipartUploadRequestFilterSensitiveLog, } from "../models/models_0";
8
- import { de_CreateMultipartUploadCommand, se_CreateMultipartUploadCommand } from "../protocols/Aws_restXml";
6
+ import { CreateMultipartUpload } from "../schemas/schemas_0";
9
7
  export { $Command };
10
8
  export class CreateMultipartUploadCommand extends $Command
11
9
  .classBuilder()
@@ -16,7 +14,6 @@ export class CreateMultipartUploadCommand extends $Command
16
14
  })
17
15
  .m(function (Command, cs, config, o) {
18
16
  return [
19
- getSerdePlugin(config, this.serialize, this.deserialize),
20
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
18
  getThrow200ExceptionsPlugin(config),
22
19
  getSsecPlugin(config),
@@ -24,8 +21,6 @@ export class CreateMultipartUploadCommand extends $Command
24
21
  })
25
22
  .s("AmazonS3", "CreateMultipartUpload", {})
26
23
  .n("S3Client", "CreateMultipartUploadCommand")
27
- .f(CreateMultipartUploadRequestFilterSensitiveLog, CreateMultipartUploadOutputFilterSensitiveLog)
28
- .ser(se_CreateMultipartUploadCommand)
29
- .de(de_CreateMultipartUploadCommand)
24
+ .sc(CreateMultipartUpload)
30
25
  .build() {
31
26
  }
@@ -1,10 +1,8 @@
1
1
  import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
5
4
  import { commonParams } from "../endpoint/EndpointParameters";
6
- import { CreateSessionOutputFilterSensitiveLog, CreateSessionRequestFilterSensitiveLog, } from "../models/models_0";
7
- import { de_CreateSessionCommand, se_CreateSessionCommand } from "../protocols/Aws_restXml";
5
+ import { CreateSession } from "../schemas/schemas_0";
8
6
  export { $Command };
9
7
  export class CreateSessionCommand extends $Command
10
8
  .classBuilder()
@@ -14,16 +12,10 @@ export class CreateSessionCommand extends $Command
14
12
  Bucket: { type: "contextParams", name: "Bucket" },
15
13
  })
16
14
  .m(function (Command, cs, config, o) {
17
- return [
18
- getSerdePlugin(config, this.serialize, this.deserialize),
19
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
- getThrow200ExceptionsPlugin(config),
21
- ];
15
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
22
16
  })
23
17
  .s("AmazonS3", "CreateSession", {})
24
18
  .n("S3Client", "CreateSessionCommand")
25
- .f(CreateSessionRequestFilterSensitiveLog, CreateSessionOutputFilterSensitiveLog)
26
- .ser(se_CreateSessionCommand)
27
- .de(de_CreateSessionCommand)
19
+ .sc(CreateSession)
28
20
  .build() {
29
21
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketAnalyticsConfigurationCommand, se_DeleteBucketAnalyticsConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketAnalyticsConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketAnalyticsConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketAnalyticsConfigurationCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketAnalyticsConfiguration", {})
21
17
  .n("S3Client", "DeleteBucketAnalyticsConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketAnalyticsConfigurationCommand)
24
- .de(de_DeleteBucketAnalyticsConfigurationCommand)
18
+ .sc(DeleteBucketAnalyticsConfiguration)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketCommand, se_DeleteBucketCommand } from "../protocols/Aws_restXml";
4
+ import { DeleteBucket } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucket", {})
21
17
  .n("S3Client", "DeleteBucketCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketCommand)
24
- .de(de_DeleteBucketCommand)
18
+ .sc(DeleteBucket)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketCorsCommand, se_DeleteBucketCorsCommand } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketCors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketCorsCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketCorsCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketCors", {})
21
17
  .n("S3Client", "DeleteBucketCorsCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketCorsCommand)
24
- .de(de_DeleteBucketCorsCommand)
18
+ .sc(DeleteBucketCors)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketEncryptionCommand, se_DeleteBucketEncryptionCommand } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketEncryption } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketEncryptionCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketEncryptionCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketEncryption", {})
21
17
  .n("S3Client", "DeleteBucketEncryptionCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketEncryptionCommand)
24
- .de(de_DeleteBucketEncryptionCommand)
18
+ .sc(DeleteBucketEncryption)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketIntelligentTieringConfigurationCommand, se_DeleteBucketIntelligentTieringConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketIntelligentTieringConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketIntelligentTieringConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketIntelligentTieringConfigurationCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketIntelligentTieringConfiguration", {})
21
17
  .n("S3Client", "DeleteBucketIntelligentTieringConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketIntelligentTieringConfigurationCommand)
24
- .de(de_DeleteBucketIntelligentTieringConfigurationCommand)
18
+ .sc(DeleteBucketIntelligentTieringConfiguration)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketInventoryConfigurationCommand, se_DeleteBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketInventoryConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketInventoryConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketInventoryConfigurationCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketInventoryConfiguration", {})
21
17
  .n("S3Client", "DeleteBucketInventoryConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketInventoryConfigurationCommand)
24
- .de(de_DeleteBucketInventoryConfigurationCommand)
18
+ .sc(DeleteBucketInventoryConfiguration)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketLifecycleCommand, se_DeleteBucketLifecycleCommand } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketLifecycle } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketLifecycleCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketLifecycleCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketLifecycle", {})
21
17
  .n("S3Client", "DeleteBucketLifecycleCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketLifecycleCommand)
24
- .de(de_DeleteBucketLifecycleCommand)
18
+ .sc(DeleteBucketLifecycle)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketMetadataConfigurationCommand, se_DeleteBucketMetadataConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketMetadataConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketMetadataConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketMetadataConfigurationCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketMetadataConfiguration", {})
21
17
  .n("S3Client", "DeleteBucketMetadataConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketMetadataConfigurationCommand)
24
- .de(de_DeleteBucketMetadataConfigurationCommand)
18
+ .sc(DeleteBucketMetadataConfiguration)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketMetadataTableConfigurationCommand, se_DeleteBucketMetadataTableConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketMetadataTableConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketMetadataTableConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketMetadataTableConfigurationCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketMetadataTableConfiguration", {})
21
17
  .n("S3Client", "DeleteBucketMetadataTableConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketMetadataTableConfigurationCommand)
24
- .de(de_DeleteBucketMetadataTableConfigurationCommand)
18
+ .sc(DeleteBucketMetadataTableConfiguration)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketMetricsConfigurationCommand, se_DeleteBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketMetricsConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketMetricsConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketMetricsConfigurationCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketMetricsConfiguration", {})
21
17
  .n("S3Client", "DeleteBucketMetricsConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketMetricsConfigurationCommand)
24
- .de(de_DeleteBucketMetricsConfigurationCommand)
18
+ .sc(DeleteBucketMetricsConfiguration)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketOwnershipControlsCommand, se_DeleteBucketOwnershipControlsCommand, } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketOwnershipControls } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketOwnershipControlsCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketOwnershipControlsCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketOwnershipControls", {})
21
17
  .n("S3Client", "DeleteBucketOwnershipControlsCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketOwnershipControlsCommand)
24
- .de(de_DeleteBucketOwnershipControlsCommand)
18
+ .sc(DeleteBucketOwnershipControls)
25
19
  .build() {
26
20
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteBucketPolicyCommand, se_DeleteBucketPolicyCommand } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketPolicyCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketPolicyCommand extends $Command
12
11
  Bucket: { type: "contextParams", name: "Bucket" },
13
12
  })
14
13
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
15
  })
20
16
  .s("AmazonS3", "DeleteBucketPolicy", {})
21
17
  .n("S3Client", "DeleteBucketPolicyCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketPolicyCommand)
24
- .de(de_DeleteBucketPolicyCommand)
18
+ .sc(DeleteBucketPolicy)
25
19
  .build() {
26
20
  }