@aws-sdk/client-s3 3.930.0 → 3.932.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
@@ -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 { ListBucketInventoryConfigurationsOutputFilterSensitiveLog, } from "../models/models_0";
7
- import { de_ListBucketInventoryConfigurationsCommand, se_ListBucketInventoryConfigurationsCommand, } from "../protocols/Aws_restXml";
5
+ import { ListBucketInventoryConfigurations } from "../schemas/schemas_0";
8
6
  export { $Command };
9
7
  export class ListBucketInventoryConfigurationsCommand extends $Command
10
8
  .classBuilder()
@@ -14,16 +12,10 @@ export class ListBucketInventoryConfigurationsCommand 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", "ListBucketInventoryConfigurations", {})
24
18
  .n("S3Client", "ListBucketInventoryConfigurationsCommand")
25
- .f(void 0, ListBucketInventoryConfigurationsOutputFilterSensitiveLog)
26
- .ser(se_ListBucketInventoryConfigurationsCommand)
27
- .de(de_ListBucketInventoryConfigurationsCommand)
19
+ .sc(ListBucketInventoryConfigurations)
28
20
  .build() {
29
21
  }
@@ -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_ListBucketMetricsConfigurationsCommand, se_ListBucketMetricsConfigurationsCommand, } from "../protocols/Aws_restXml";
5
+ import { ListBucketMetricsConfigurations } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ListBucketMetricsConfigurationsCommand extends $Command
9
8
  .classBuilder()
@@ -12,16 +11,10 @@ export class ListBucketMetricsConfigurationsCommand 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
- getThrow200ExceptionsPlugin(config),
19
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
20
15
  })
21
16
  .s("AmazonS3", "ListBucketMetricsConfigurations", {})
22
17
  .n("S3Client", "ListBucketMetricsConfigurationsCommand")
23
- .f(void 0, void 0)
24
- .ser(se_ListBucketMetricsConfigurationsCommand)
25
- .de(de_ListBucketMetricsConfigurationsCommand)
18
+ .sc(ListBucketMetricsConfigurations)
26
19
  .build() {
27
20
  }
@@ -1,24 +1,17 @@
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_ListBucketsCommand, se_ListBucketsCommand } from "../protocols/Aws_restXml";
5
+ import { ListBuckets } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ListBucketsCommand extends $Command
9
8
  .classBuilder()
10
9
  .ep(commonParams)
11
10
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- getThrow200ExceptionsPlugin(config),
16
- ];
11
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
17
12
  })
18
13
  .s("AmazonS3", "ListBuckets", {})
19
14
  .n("S3Client", "ListBucketsCommand")
20
- .f(void 0, void 0)
21
- .ser(se_ListBucketsCommand)
22
- .de(de_ListBucketsCommand)
15
+ .sc(ListBuckets)
23
16
  .build() {
24
17
  }
@@ -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_ListDirectoryBucketsCommand, se_ListDirectoryBucketsCommand } from "../protocols/Aws_restXml";
5
+ import { ListDirectoryBuckets } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ListDirectoryBucketsCommand extends $Command
9
8
  .classBuilder()
@@ -12,16 +11,10 @@ export class ListDirectoryBucketsCommand extends $Command
12
11
  UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
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
- getThrow200ExceptionsPlugin(config),
19
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
20
15
  })
21
16
  .s("AmazonS3", "ListDirectoryBuckets", {})
22
17
  .n("S3Client", "ListDirectoryBucketsCommand")
23
- .f(void 0, void 0)
24
- .ser(se_ListDirectoryBucketsCommand)
25
- .de(de_ListDirectoryBucketsCommand)
18
+ .sc(ListDirectoryBuckets)
26
19
  .build() {
27
20
  }
@@ -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_ListMultipartUploadsCommand, se_ListMultipartUploadsCommand } from "../protocols/Aws_restXml";
5
+ import { ListMultipartUploads } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ListMultipartUploadsCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class ListMultipartUploadsCommand extends $Command
13
12
  Prefix: { type: "contextParams", name: "Prefix" },
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", "ListMultipartUploads", {})
23
18
  .n("S3Client", "ListMultipartUploadsCommand")
24
- .f(void 0, void 0)
25
- .ser(se_ListMultipartUploadsCommand)
26
- .de(de_ListMultipartUploadsCommand)
19
+ .sc(ListMultipartUploads)
27
20
  .build() {
28
21
  }
@@ -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_ListObjectVersionsCommand, se_ListObjectVersionsCommand } from "../protocols/Aws_restXml";
5
+ import { ListObjectVersions } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ListObjectVersionsCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class ListObjectVersionsCommand extends $Command
13
12
  Prefix: { type: "contextParams", name: "Prefix" },
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", "ListObjectVersions", {})
23
18
  .n("S3Client", "ListObjectVersionsCommand")
24
- .f(void 0, void 0)
25
- .ser(se_ListObjectVersionsCommand)
26
- .de(de_ListObjectVersionsCommand)
19
+ .sc(ListObjectVersions)
27
20
  .build() {
28
21
  }
@@ -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_ListObjectsCommand, se_ListObjectsCommand } from "../protocols/Aws_restXml";
5
+ import { ListObjects } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ListObjectsCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class ListObjectsCommand extends $Command
13
12
  Prefix: { type: "contextParams", name: "Prefix" },
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", "ListObjects", {})
23
18
  .n("S3Client", "ListObjectsCommand")
24
- .f(void 0, void 0)
25
- .ser(se_ListObjectsCommand)
26
- .de(de_ListObjectsCommand)
19
+ .sc(ListObjects)
27
20
  .build() {
28
21
  }
@@ -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_ListObjectsV2Command, se_ListObjectsV2Command } from "../protocols/Aws_restXml";
5
+ import { ListObjectsV2 } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ListObjectsV2Command extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class ListObjectsV2Command extends $Command
13
12
  Prefix: { type: "contextParams", name: "Prefix" },
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", "ListObjectsV2", {})
23
18
  .n("S3Client", "ListObjectsV2Command")
24
- .f(void 0, void 0)
25
- .ser(se_ListObjectsV2Command)
26
- .de(de_ListObjectsV2Command)
19
+ .sc(ListObjectsV2)
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 { ListPartsRequestFilterSensitiveLog } from "../models/models_1";
8
- import { de_ListPartsCommand, se_ListPartsCommand } from "../protocols/Aws_restXml";
6
+ import { ListParts } from "../schemas/schemas_0";
9
7
  export { $Command };
10
8
  export class ListPartsCommand extends $Command
11
9
  .classBuilder()
@@ -16,7 +14,6 @@ export class ListPartsCommand 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 ListPartsCommand extends $Command
24
21
  })
25
22
  .s("AmazonS3", "ListParts", {})
26
23
  .n("S3Client", "ListPartsCommand")
27
- .f(ListPartsRequestFilterSensitiveLog, void 0)
28
- .ser(se_ListPartsCommand)
29
- .de(de_ListPartsCommand)
24
+ .sc(ListParts)
30
25
  .build() {
31
26
  }
@@ -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_PutBucketAccelerateConfigurationCommand, se_PutBucketAccelerateConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { PutBucketAccelerateConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class PutBucketAccelerateConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -14,7 +13,6 @@ export class PutBucketAccelerateConfigurationCommand 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 PutBucketAccelerateConfigurationCommand extends $Command
24
22
  })
25
23
  .s("AmazonS3", "PutBucketAccelerateConfiguration", {})
26
24
  .n("S3Client", "PutBucketAccelerateConfigurationCommand")
27
- .f(void 0, void 0)
28
- .ser(se_PutBucketAccelerateConfigurationCommand)
29
- .de(de_PutBucketAccelerateConfigurationCommand)
25
+ .sc(PutBucketAccelerateConfiguration)
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_PutBucketAclCommand, se_PutBucketAclCommand } from "../protocols/Aws_restXml";
5
+ import { PutBucketAcl } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class PutBucketAclCommand extends $Command
9
8
  .classBuilder()
@@ -14,7 +13,6 @@ export class PutBucketAclCommand 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 PutBucketAclCommand extends $Command
24
22
  })
25
23
  .s("AmazonS3", "PutBucketAcl", {})
26
24
  .n("S3Client", "PutBucketAclCommand")
27
- .f(void 0, void 0)
28
- .ser(se_PutBucketAclCommand)
29
- .de(de_PutBucketAclCommand)
25
+ .sc(PutBucketAcl)
30
26
  .build() {
31
27
  }
@@ -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_PutBucketAnalyticsConfigurationCommand, se_PutBucketAnalyticsConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { PutBucketAnalyticsConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutBucketAnalyticsConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class PutBucketAnalyticsConfigurationCommand 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", "PutBucketAnalyticsConfiguration", {})
21
17
  .n("S3Client", "PutBucketAnalyticsConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_PutBucketAnalyticsConfigurationCommand)
24
- .de(de_PutBucketAnalyticsConfigurationCommand)
18
+ .sc(PutBucketAnalyticsConfiguration)
25
19
  .build() {
26
20
  }
@@ -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_PutBucketCorsCommand, se_PutBucketCorsCommand } from "../protocols/Aws_restXml";
5
+ import { PutBucketCors } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class PutBucketCorsCommand extends $Command
9
8
  .classBuilder()
@@ -14,7 +13,6 @@ export class PutBucketCorsCommand 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 PutBucketCorsCommand extends $Command
24
22
  })
25
23
  .s("AmazonS3", "PutBucketCors", {})
26
24
  .n("S3Client", "PutBucketCorsCommand")
27
- .f(void 0, void 0)
28
- .ser(se_PutBucketCorsCommand)
29
- .de(de_PutBucketCorsCommand)
25
+ .sc(PutBucketCors)
30
26
  .build() {
31
27
  }
@@ -1,10 +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 { PutBucketEncryptionRequestFilterSensitiveLog } from "../models/models_1";
7
- import { de_PutBucketEncryptionCommand, se_PutBucketEncryptionCommand } from "../protocols/Aws_restXml";
5
+ import { PutBucketEncryption } from "../schemas/schemas_0";
8
6
  export { $Command };
9
7
  export class PutBucketEncryptionCommand extends $Command
10
8
  .classBuilder()
@@ -15,7 +13,6 @@ export class PutBucketEncryptionCommand extends $Command
15
13
  })
16
14
  .m(function (Command, cs, config, o) {
17
15
  return [
18
- getSerdePlugin(config, this.serialize, this.deserialize),
19
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
17
  getFlexibleChecksumsPlugin(config, {
21
18
  requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
@@ -25,8 +22,6 @@ export class PutBucketEncryptionCommand extends $Command
25
22
  })
26
23
  .s("AmazonS3", "PutBucketEncryption", {})
27
24
  .n("S3Client", "PutBucketEncryptionCommand")
28
- .f(PutBucketEncryptionRequestFilterSensitiveLog, void 0)
29
- .ser(se_PutBucketEncryptionCommand)
30
- .de(de_PutBucketEncryptionCommand)
25
+ .sc(PutBucketEncryption)
31
26
  .build() {
32
27
  }
@@ -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_PutBucketIntelligentTieringConfigurationCommand, se_PutBucketIntelligentTieringConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { PutBucketIntelligentTieringConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutBucketIntelligentTieringConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class PutBucketIntelligentTieringConfigurationCommand 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", "PutBucketIntelligentTieringConfiguration", {})
21
17
  .n("S3Client", "PutBucketIntelligentTieringConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_PutBucketIntelligentTieringConfigurationCommand)
24
- .de(de_PutBucketIntelligentTieringConfigurationCommand)
18
+ .sc(PutBucketIntelligentTieringConfiguration)
25
19
  .build() {
26
20
  }
@@ -1,9 +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 { PutBucketInventoryConfigurationRequestFilterSensitiveLog, } from "../models/models_1";
6
- import { de_PutBucketInventoryConfigurationCommand, se_PutBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { PutBucketInventoryConfiguration } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class PutBucketInventoryConfigurationCommand extends $Command
9
7
  .classBuilder()
@@ -13,15 +11,10 @@ export class PutBucketInventoryConfigurationCommand extends $Command
13
11
  Bucket: { type: "contextParams", name: "Bucket" },
14
12
  })
15
13
  .m(function (Command, cs, config, o) {
16
- return [
17
- getSerdePlugin(config, this.serialize, this.deserialize),
18
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- ];
14
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
20
15
  })
21
16
  .s("AmazonS3", "PutBucketInventoryConfiguration", {})
22
17
  .n("S3Client", "PutBucketInventoryConfigurationCommand")
23
- .f(PutBucketInventoryConfigurationRequestFilterSensitiveLog, void 0)
24
- .ser(se_PutBucketInventoryConfigurationCommand)
25
- .de(de_PutBucketInventoryConfigurationCommand)
18
+ .sc(PutBucketInventoryConfiguration)
26
19
  .build() {
27
20
  }
@@ -1,10 +1,9 @@
1
1
  import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
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_PutBucketLifecycleConfigurationCommand, se_PutBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
6
+ import { PutBucketLifecycleConfiguration } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class PutBucketLifecycleConfigurationCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class PutBucketLifecycleConfigurationCommand extends $Command
15
14
  })
16
15
  .m(function (Command, cs, config, o) {
17
16
  return [
18
- getSerdePlugin(config, this.serialize, this.deserialize),
19
17
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
18
  getFlexibleChecksumsPlugin(config, {
21
19
  requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
@@ -26,8 +24,6 @@ export class PutBucketLifecycleConfigurationCommand extends $Command
26
24
  })
27
25
  .s("AmazonS3", "PutBucketLifecycleConfiguration", {})
28
26
  .n("S3Client", "PutBucketLifecycleConfigurationCommand")
29
- .f(void 0, void 0)
30
- .ser(se_PutBucketLifecycleConfigurationCommand)
31
- .de(de_PutBucketLifecycleConfigurationCommand)
27
+ .sc(PutBucketLifecycleConfiguration)
32
28
  .build() {
33
29
  }
@@ -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_PutBucketLoggingCommand, se_PutBucketLoggingCommand } from "../protocols/Aws_restXml";
5
+ import { PutBucketLogging } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class PutBucketLoggingCommand extends $Command
9
8
  .classBuilder()
@@ -14,7 +13,6 @@ export class PutBucketLoggingCommand 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 PutBucketLoggingCommand extends $Command
24
22
  })
25
23
  .s("AmazonS3", "PutBucketLogging", {})
26
24
  .n("S3Client", "PutBucketLoggingCommand")
27
- .f(void 0, void 0)
28
- .ser(se_PutBucketLoggingCommand)
29
- .de(de_PutBucketLoggingCommand)
25
+ .sc(PutBucketLogging)
30
26
  .build() {
31
27
  }
@@ -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_PutBucketMetricsConfigurationCommand, se_PutBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { PutBucketMetricsConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutBucketMetricsConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class PutBucketMetricsConfigurationCommand 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", "PutBucketMetricsConfiguration", {})
21
17
  .n("S3Client", "PutBucketMetricsConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_PutBucketMetricsConfigurationCommand)
24
- .de(de_PutBucketMetricsConfigurationCommand)
18
+ .sc(PutBucketMetricsConfiguration)
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_PutBucketNotificationConfigurationCommand, se_PutBucketNotificationConfigurationCommand, } from "../protocols/Aws_restXml";
4
+ import { PutBucketNotificationConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutBucketNotificationConfigurationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class PutBucketNotificationConfigurationCommand 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", "PutBucketNotificationConfiguration", {})
21
17
  .n("S3Client", "PutBucketNotificationConfigurationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_PutBucketNotificationConfigurationCommand)
24
- .de(de_PutBucketNotificationConfigurationCommand)
18
+ .sc(PutBucketNotificationConfiguration)
25
19
  .build() {
26
20
  }
@@ -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_PutBucketOwnershipControlsCommand, se_PutBucketOwnershipControlsCommand } from "../protocols/Aws_restXml";
5
+ import { PutBucketOwnershipControls } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class PutBucketOwnershipControlsCommand extends $Command
9
8
  .classBuilder()
@@ -14,7 +13,6 @@ export class PutBucketOwnershipControlsCommand 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 PutBucketOwnershipControlsCommand extends $Command
24
22
  })
25
23
  .s("AmazonS3", "PutBucketOwnershipControls", {})
26
24
  .n("S3Client", "PutBucketOwnershipControlsCommand")
27
- .f(void 0, void 0)
28
- .ser(se_PutBucketOwnershipControlsCommand)
29
- .de(de_PutBucketOwnershipControlsCommand)
25
+ .sc(PutBucketOwnershipControls)
30
26
  .build() {
31
27
  }