@aws-sdk/client-s3 3.929.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 +49 -51
  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,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_DeleteBucketReplicationCommand, se_DeleteBucketReplicationCommand } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketReplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketReplicationCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketReplicationCommand 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", "DeleteBucketReplication", {})
21
17
  .n("S3Client", "DeleteBucketReplicationCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketReplicationCommand)
24
- .de(de_DeleteBucketReplicationCommand)
18
+ .sc(DeleteBucketReplication)
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_DeleteBucketTaggingCommand, se_DeleteBucketTaggingCommand } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketTagging } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketTaggingCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketTaggingCommand 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", "DeleteBucketTagging", {})
21
17
  .n("S3Client", "DeleteBucketTaggingCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketTaggingCommand)
24
- .de(de_DeleteBucketTaggingCommand)
18
+ .sc(DeleteBucketTagging)
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_DeleteBucketWebsiteCommand, se_DeleteBucketWebsiteCommand } from "../protocols/Aws_restXml";
4
+ import { DeleteBucketWebsite } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBucketWebsiteCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeleteBucketWebsiteCommand 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", "DeleteBucketWebsite", {})
21
17
  .n("S3Client", "DeleteBucketWebsiteCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeleteBucketWebsiteCommand)
24
- .de(de_DeleteBucketWebsiteCommand)
18
+ .sc(DeleteBucketWebsite)
25
19
  .build() {
26
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_DeleteObjectCommand, se_DeleteObjectCommand } from "../protocols/Aws_restXml";
5
+ import { DeleteObject } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class DeleteObjectCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class DeleteObjectCommand 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", "DeleteObject", {})
23
18
  .n("S3Client", "DeleteObjectCommand")
24
- .f(void 0, void 0)
25
- .ser(se_DeleteObjectCommand)
26
- .de(de_DeleteObjectCommand)
19
+ .sc(DeleteObject)
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_DeleteObjectTaggingCommand, se_DeleteObjectTaggingCommand } from "../protocols/Aws_restXml";
5
+ import { DeleteObjectTagging } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class DeleteObjectTaggingCommand extends $Command
9
8
  .classBuilder()
@@ -12,16 +11,10 @@ export class DeleteObjectTaggingCommand 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", "DeleteObjectTagging", {})
22
17
  .n("S3Client", "DeleteObjectTaggingCommand")
23
- .f(void 0, void 0)
24
- .ser(se_DeleteObjectTaggingCommand)
25
- .de(de_DeleteObjectTaggingCommand)
18
+ .sc(DeleteObjectTagging)
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_DeleteObjectsCommand, se_DeleteObjectsCommand } from "../protocols/Aws_restXml";
6
+ import { DeleteObjects } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class DeleteObjectsCommand extends $Command
10
9
  .classBuilder()
@@ -14,7 +13,6 @@ export class DeleteObjectsCommand 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" },
@@ -25,8 +23,6 @@ export class DeleteObjectsCommand extends $Command
25
23
  })
26
24
  .s("AmazonS3", "DeleteObjects", {})
27
25
  .n("S3Client", "DeleteObjectsCommand")
28
- .f(void 0, void 0)
29
- .ser(se_DeleteObjectsCommand)
30
- .de(de_DeleteObjectsCommand)
26
+ .sc(DeleteObjects)
31
27
  .build() {
32
28
  }
@@ -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_DeletePublicAccessBlockCommand, se_DeletePublicAccessBlockCommand } from "../protocols/Aws_restXml";
4
+ import { DeletePublicAccessBlock } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePublicAccessBlockCommand extends $Command
8
7
  .classBuilder()
@@ -12,15 +11,10 @@ export class DeletePublicAccessBlockCommand 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", "DeletePublicAccessBlock", {})
21
17
  .n("S3Client", "DeletePublicAccessBlockCommand")
22
- .f(void 0, void 0)
23
- .ser(se_DeletePublicAccessBlockCommand)
24
- .de(de_DeletePublicAccessBlockCommand)
18
+ .sc(DeletePublicAccessBlock)
25
19
  .build() {
26
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_GetBucketAccelerateConfigurationCommand, se_GetBucketAccelerateConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { GetBucketAccelerateConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketAccelerateConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketAccelerateConfigurationCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketAccelerateConfiguration", {})
23
18
  .n("S3Client", "GetBucketAccelerateConfigurationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketAccelerateConfigurationCommand)
26
- .de(de_GetBucketAccelerateConfigurationCommand)
19
+ .sc(GetBucketAccelerateConfiguration)
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_GetBucketAclCommand, se_GetBucketAclCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketAcl } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketAclCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketAclCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketAcl", {})
23
18
  .n("S3Client", "GetBucketAclCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketAclCommand)
26
- .de(de_GetBucketAclCommand)
19
+ .sc(GetBucketAcl)
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_GetBucketAnalyticsConfigurationCommand, se_GetBucketAnalyticsConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { GetBucketAnalyticsConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketAnalyticsConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketAnalyticsConfigurationCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketAnalyticsConfiguration", {})
23
18
  .n("S3Client", "GetBucketAnalyticsConfigurationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketAnalyticsConfigurationCommand)
26
- .de(de_GetBucketAnalyticsConfigurationCommand)
19
+ .sc(GetBucketAnalyticsConfiguration)
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_GetBucketCorsCommand, se_GetBucketCorsCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketCors } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketCorsCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketCorsCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketCors", {})
23
18
  .n("S3Client", "GetBucketCorsCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketCorsCommand)
26
- .de(de_GetBucketCorsCommand)
19
+ .sc(GetBucketCors)
27
20
  .build() {
28
21
  }
@@ -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 { GetBucketEncryptionOutputFilterSensitiveLog, } from "../models/models_0";
7
- import { de_GetBucketEncryptionCommand, se_GetBucketEncryptionCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketEncryption } from "../schemas/schemas_0";
8
6
  export { $Command };
9
7
  export class GetBucketEncryptionCommand extends $Command
10
8
  .classBuilder()
@@ -14,16 +12,10 @@ export class GetBucketEncryptionCommand 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", "GetBucketEncryption", {})
24
18
  .n("S3Client", "GetBucketEncryptionCommand")
25
- .f(void 0, GetBucketEncryptionOutputFilterSensitiveLog)
26
- .ser(se_GetBucketEncryptionCommand)
27
- .de(de_GetBucketEncryptionCommand)
19
+ .sc(GetBucketEncryption)
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_GetBucketIntelligentTieringConfigurationCommand, se_GetBucketIntelligentTieringConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { GetBucketIntelligentTieringConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketIntelligentTieringConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketIntelligentTieringConfigurationCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketIntelligentTieringConfiguration", {})
23
18
  .n("S3Client", "GetBucketIntelligentTieringConfigurationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketIntelligentTieringConfigurationCommand)
26
- .de(de_GetBucketIntelligentTieringConfigurationCommand)
19
+ .sc(GetBucketIntelligentTieringConfiguration)
27
20
  .build() {
28
21
  }
@@ -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 { GetBucketInventoryConfigurationOutputFilterSensitiveLog, } from "../models/models_0";
7
- import { de_GetBucketInventoryConfigurationCommand, se_GetBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { GetBucketInventoryConfiguration } from "../schemas/schemas_0";
8
6
  export { $Command };
9
7
  export class GetBucketInventoryConfigurationCommand extends $Command
10
8
  .classBuilder()
@@ -14,16 +12,10 @@ export class GetBucketInventoryConfigurationCommand 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", "GetBucketInventoryConfiguration", {})
24
18
  .n("S3Client", "GetBucketInventoryConfigurationCommand")
25
- .f(void 0, GetBucketInventoryConfigurationOutputFilterSensitiveLog)
26
- .ser(se_GetBucketInventoryConfigurationCommand)
27
- .de(de_GetBucketInventoryConfigurationCommand)
19
+ .sc(GetBucketInventoryConfiguration)
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_GetBucketLifecycleConfigurationCommand, se_GetBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { GetBucketLifecycleConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketLifecycleConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketLifecycleConfigurationCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketLifecycleConfiguration", {})
23
18
  .n("S3Client", "GetBucketLifecycleConfigurationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketLifecycleConfigurationCommand)
26
- .de(de_GetBucketLifecycleConfigurationCommand)
19
+ .sc(GetBucketLifecycleConfiguration)
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_GetBucketLocationCommand, se_GetBucketLocationCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketLocation } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketLocationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketLocationCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketLocation", {})
23
18
  .n("S3Client", "GetBucketLocationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketLocationCommand)
26
- .de(de_GetBucketLocationCommand)
19
+ .sc(GetBucketLocation)
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_GetBucketLoggingCommand, se_GetBucketLoggingCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketLogging } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketLoggingCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketLoggingCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketLogging", {})
23
18
  .n("S3Client", "GetBucketLoggingCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketLoggingCommand)
26
- .de(de_GetBucketLoggingCommand)
19
+ .sc(GetBucketLogging)
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_GetBucketMetadataConfigurationCommand, se_GetBucketMetadataConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { GetBucketMetadataConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketMetadataConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketMetadataConfigurationCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketMetadataConfiguration", {})
23
18
  .n("S3Client", "GetBucketMetadataConfigurationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketMetadataConfigurationCommand)
26
- .de(de_GetBucketMetadataConfigurationCommand)
19
+ .sc(GetBucketMetadataConfiguration)
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_GetBucketMetadataTableConfigurationCommand, se_GetBucketMetadataTableConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { GetBucketMetadataTableConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketMetadataTableConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketMetadataTableConfigurationCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketMetadataTableConfiguration", {})
23
18
  .n("S3Client", "GetBucketMetadataTableConfigurationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketMetadataTableConfigurationCommand)
26
- .de(de_GetBucketMetadataTableConfigurationCommand)
19
+ .sc(GetBucketMetadataTableConfiguration)
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_GetBucketMetricsConfigurationCommand, se_GetBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { GetBucketMetricsConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketMetricsConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketMetricsConfigurationCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketMetricsConfiguration", {})
23
18
  .n("S3Client", "GetBucketMetricsConfigurationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketMetricsConfigurationCommand)
26
- .de(de_GetBucketMetricsConfigurationCommand)
19
+ .sc(GetBucketMetricsConfiguration)
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_GetBucketNotificationConfigurationCommand, se_GetBucketNotificationConfigurationCommand, } from "../protocols/Aws_restXml";
5
+ import { GetBucketNotificationConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketNotificationConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketNotificationConfigurationCommand extends $Command
13
12
  Bucket: { type: "contextParams", name: "Bucket" },
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", "GetBucketNotificationConfiguration", {})
23
18
  .n("S3Client", "GetBucketNotificationConfigurationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketNotificationConfigurationCommand)
26
- .de(de_GetBucketNotificationConfigurationCommand)
19
+ .sc(GetBucketNotificationConfiguration)
27
20
  .build() {
28
21
  }