@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
@@ -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_GetBucketOwnershipControlsCommand, se_GetBucketOwnershipControlsCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketOwnershipControls } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketOwnershipControlsCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketOwnershipControlsCommand 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", "GetBucketOwnershipControls", {})
23
18
  .n("S3Client", "GetBucketOwnershipControlsCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketOwnershipControlsCommand)
26
- .de(de_GetBucketOwnershipControlsCommand)
19
+ .sc(GetBucketOwnershipControls)
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_GetBucketPolicyCommand, se_GetBucketPolicyCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketPolicy } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketPolicyCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketPolicyCommand 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", "GetBucketPolicy", {})
23
18
  .n("S3Client", "GetBucketPolicyCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketPolicyCommand)
26
- .de(de_GetBucketPolicyCommand)
19
+ .sc(GetBucketPolicy)
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_GetBucketPolicyStatusCommand, se_GetBucketPolicyStatusCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketPolicyStatus } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketPolicyStatusCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketPolicyStatusCommand 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", "GetBucketPolicyStatus", {})
23
18
  .n("S3Client", "GetBucketPolicyStatusCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketPolicyStatusCommand)
26
- .de(de_GetBucketPolicyStatusCommand)
19
+ .sc(GetBucketPolicyStatus)
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_GetBucketReplicationCommand, se_GetBucketReplicationCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketReplication } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketReplicationCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketReplicationCommand 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", "GetBucketReplication", {})
23
18
  .n("S3Client", "GetBucketReplicationCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketReplicationCommand)
26
- .de(de_GetBucketReplicationCommand)
19
+ .sc(GetBucketReplication)
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_GetBucketRequestPaymentCommand, se_GetBucketRequestPaymentCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketRequestPayment } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketRequestPaymentCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketRequestPaymentCommand 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", "GetBucketRequestPayment", {})
23
18
  .n("S3Client", "GetBucketRequestPaymentCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketRequestPaymentCommand)
26
- .de(de_GetBucketRequestPaymentCommand)
19
+ .sc(GetBucketRequestPayment)
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_GetBucketTaggingCommand, se_GetBucketTaggingCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketTagging } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketTaggingCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketTaggingCommand 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", "GetBucketTagging", {})
23
18
  .n("S3Client", "GetBucketTaggingCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketTaggingCommand)
26
- .de(de_GetBucketTaggingCommand)
19
+ .sc(GetBucketTagging)
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_GetBucketVersioningCommand, se_GetBucketVersioningCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketVersioning } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketVersioningCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketVersioningCommand 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", "GetBucketVersioning", {})
23
18
  .n("S3Client", "GetBucketVersioningCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketVersioningCommand)
26
- .de(de_GetBucketVersioningCommand)
19
+ .sc(GetBucketVersioning)
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_GetBucketWebsiteCommand, se_GetBucketWebsiteCommand } from "../protocols/Aws_restXml";
5
+ import { GetBucketWebsite } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetBucketWebsiteCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetBucketWebsiteCommand 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", "GetBucketWebsite", {})
23
18
  .n("S3Client", "GetBucketWebsiteCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetBucketWebsiteCommand)
26
- .de(de_GetBucketWebsiteCommand)
19
+ .sc(GetBucketWebsite)
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_GetObjectAclCommand, se_GetObjectAclCommand } from "../protocols/Aws_restXml";
5
+ import { GetObjectAcl } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetObjectAclCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetObjectAclCommand 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", "GetObjectAcl", {})
23
18
  .n("S3Client", "GetObjectAclCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetObjectAclCommand)
26
- .de(de_GetObjectAclCommand)
19
+ .sc(GetObjectAcl)
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 { GetObjectAttributesRequestFilterSensitiveLog, } from "../models/models_0";
8
- import { de_GetObjectAttributesCommand, se_GetObjectAttributesCommand } from "../protocols/Aws_restXml";
6
+ import { GetObjectAttributes } from "../schemas/schemas_0";
9
7
  export { $Command };
10
8
  export class GetObjectAttributesCommand extends $Command
11
9
  .classBuilder()
@@ -15,7 +13,6 @@ export class GetObjectAttributesCommand 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
  getThrow200ExceptionsPlugin(config),
21
18
  getSsecPlugin(config),
@@ -23,8 +20,6 @@ export class GetObjectAttributesCommand extends $Command
23
20
  })
24
21
  .s("AmazonS3", "GetObjectAttributes", {})
25
22
  .n("S3Client", "GetObjectAttributesCommand")
26
- .f(GetObjectAttributesRequestFilterSensitiveLog, void 0)
27
- .ser(se_GetObjectAttributesCommand)
28
- .de(de_GetObjectAttributesCommand)
23
+ .sc(GetObjectAttributes)
29
24
  .build() {
30
25
  }
@@ -2,11 +2,9 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
2
2
  import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3";
3
3
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
4
4
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
5
- import { getSerdePlugin } from "@smithy/middleware-serde";
6
5
  import { Command as $Command } from "@smithy/smithy-client";
7
6
  import { commonParams } from "../endpoint/EndpointParameters";
8
- import { GetObjectOutputFilterSensitiveLog, GetObjectRequestFilterSensitiveLog, } from "../models/models_0";
9
- import { de_GetObjectCommand, se_GetObjectCommand } from "../protocols/Aws_restXml";
7
+ import { GetObject } from "../schemas/schemas_0";
10
8
  export { $Command };
11
9
  export class GetObjectCommand extends $Command
12
10
  .classBuilder()
@@ -17,7 +15,6 @@ export class GetObjectCommand extends $Command
17
15
  })
18
16
  .m(function (Command, cs, config, o) {
19
17
  return [
20
- getSerdePlugin(config, this.serialize, this.deserialize),
21
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
22
19
  getFlexibleChecksumsPlugin(config, {
23
20
  requestChecksumRequired: false,
@@ -30,8 +27,6 @@ export class GetObjectCommand extends $Command
30
27
  })
31
28
  .s("AmazonS3", "GetObject", {})
32
29
  .n("S3Client", "GetObjectCommand")
33
- .f(GetObjectRequestFilterSensitiveLog, GetObjectOutputFilterSensitiveLog)
34
- .ser(se_GetObjectCommand)
35
- .de(de_GetObjectCommand)
30
+ .sc(GetObject)
36
31
  .build() {
37
32
  }
@@ -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_GetObjectLegalHoldCommand, se_GetObjectLegalHoldCommand } from "../protocols/Aws_restXml";
5
+ import { GetObjectLegalHold } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetObjectLegalHoldCommand extends $Command
9
8
  .classBuilder()
@@ -12,16 +11,10 @@ export class GetObjectLegalHoldCommand 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", "GetObjectLegalHold", {})
22
17
  .n("S3Client", "GetObjectLegalHoldCommand")
23
- .f(void 0, void 0)
24
- .ser(se_GetObjectLegalHoldCommand)
25
- .de(de_GetObjectLegalHoldCommand)
18
+ .sc(GetObjectLegalHold)
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_GetObjectLockConfigurationCommand, se_GetObjectLockConfigurationCommand } from "../protocols/Aws_restXml";
5
+ import { GetObjectLockConfiguration } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetObjectLockConfigurationCommand extends $Command
9
8
  .classBuilder()
@@ -12,16 +11,10 @@ export class GetObjectLockConfigurationCommand 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", "GetObjectLockConfiguration", {})
22
17
  .n("S3Client", "GetObjectLockConfigurationCommand")
23
- .f(void 0, void 0)
24
- .ser(se_GetObjectLockConfigurationCommand)
25
- .de(de_GetObjectLockConfigurationCommand)
18
+ .sc(GetObjectLockConfiguration)
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_GetObjectRetentionCommand, se_GetObjectRetentionCommand } from "../protocols/Aws_restXml";
5
+ import { GetObjectRetention } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetObjectRetentionCommand extends $Command
9
8
  .classBuilder()
@@ -12,16 +11,10 @@ export class GetObjectRetentionCommand 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", "GetObjectRetention", {})
22
17
  .n("S3Client", "GetObjectRetentionCommand")
23
- .f(void 0, void 0)
24
- .ser(se_GetObjectRetentionCommand)
25
- .de(de_GetObjectRetentionCommand)
18
+ .sc(GetObjectRetention)
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_GetObjectTaggingCommand, se_GetObjectTaggingCommand } from "../protocols/Aws_restXml";
5
+ import { GetObjectTagging } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetObjectTaggingCommand extends $Command
9
8
  .classBuilder()
@@ -12,16 +11,10 @@ export class GetObjectTaggingCommand 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", "GetObjectTagging", {})
22
17
  .n("S3Client", "GetObjectTaggingCommand")
23
- .f(void 0, void 0)
24
- .ser(se_GetObjectTaggingCommand)
25
- .de(de_GetObjectTaggingCommand)
18
+ .sc(GetObjectTagging)
26
19
  .build() {
27
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 { GetObjectTorrentOutputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetObjectTorrentCommand, se_GetObjectTorrentCommand } from "../protocols/Aws_restXml";
4
+ import { GetObjectTorrent } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetObjectTorrentCommand extends $Command
9
7
  .classBuilder()
@@ -12,15 +10,10 @@ export class GetObjectTorrentCommand extends $Command
12
10
  Bucket: { type: "contextParams", name: "Bucket" },
13
11
  })
14
12
  .m(function (Command, cs, config, o) {
15
- return [
16
- getSerdePlugin(config, this.serialize, this.deserialize),
17
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
19
14
  })
20
15
  .s("AmazonS3", "GetObjectTorrent", {})
21
16
  .n("S3Client", "GetObjectTorrentCommand")
22
- .f(void 0, GetObjectTorrentOutputFilterSensitiveLog)
23
- .ser(se_GetObjectTorrentCommand)
24
- .de(de_GetObjectTorrentCommand)
17
+ .sc(GetObjectTorrent)
25
18
  .build() {
26
19
  }
@@ -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_GetPublicAccessBlockCommand, se_GetPublicAccessBlockCommand } from "../protocols/Aws_restXml";
5
+ import { GetPublicAccessBlock } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class GetPublicAccessBlockCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class GetPublicAccessBlockCommand 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", "GetPublicAccessBlock", {})
23
18
  .n("S3Client", "GetPublicAccessBlockCommand")
24
- .f(void 0, void 0)
25
- .ser(se_GetPublicAccessBlockCommand)
26
- .de(de_GetPublicAccessBlockCommand)
19
+ .sc(GetPublicAccessBlock)
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_HeadBucketCommand, se_HeadBucketCommand } from "../protocols/Aws_restXml";
5
+ import { HeadBucket } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class HeadBucketCommand extends $Command
9
8
  .classBuilder()
@@ -12,16 +11,10 @@ export class HeadBucketCommand 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", "HeadBucket", {})
22
17
  .n("S3Client", "HeadBucketCommand")
23
- .f(void 0, void 0)
24
- .ser(se_HeadBucketCommand)
25
- .de(de_HeadBucketCommand)
18
+ .sc(HeadBucket)
26
19
  .build() {
27
20
  }
@@ -1,11 +1,9 @@
1
1
  import { getS3ExpiresMiddlewarePlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
2
2
  import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
3
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
- 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 { HeadObjectOutputFilterSensitiveLog, HeadObjectRequestFilterSensitiveLog, } from "../models/models_0";
8
- import { de_HeadObjectCommand, se_HeadObjectCommand } from "../protocols/Aws_restXml";
6
+ import { HeadObject } from "../schemas/schemas_0";
9
7
  export { $Command };
10
8
  export class HeadObjectCommand extends $Command
11
9
  .classBuilder()
@@ -16,7 +14,6 @@ export class HeadObjectCommand 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),
@@ -25,8 +22,6 @@ export class HeadObjectCommand extends $Command
25
22
  })
26
23
  .s("AmazonS3", "HeadObject", {})
27
24
  .n("S3Client", "HeadObjectCommand")
28
- .f(HeadObjectRequestFilterSensitiveLog, HeadObjectOutputFilterSensitiveLog)
29
- .ser(se_HeadObjectCommand)
30
- .de(de_HeadObjectCommand)
25
+ .sc(HeadObject)
31
26
  .build() {
32
27
  }
@@ -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_ListBucketAnalyticsConfigurationsCommand, se_ListBucketAnalyticsConfigurationsCommand, } from "../protocols/Aws_restXml";
5
+ import { ListBucketAnalyticsConfigurations } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ListBucketAnalyticsConfigurationsCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class ListBucketAnalyticsConfigurationsCommand 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", "ListBucketAnalyticsConfigurations", {})
23
18
  .n("S3Client", "ListBucketAnalyticsConfigurationsCommand")
24
- .f(void 0, void 0)
25
- .ser(se_ListBucketAnalyticsConfigurationsCommand)
26
- .de(de_ListBucketAnalyticsConfigurationsCommand)
19
+ .sc(ListBucketAnalyticsConfigurations)
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_ListBucketIntelligentTieringConfigurationsCommand, se_ListBucketIntelligentTieringConfigurationsCommand, } from "../protocols/Aws_restXml";
5
+ import { ListBucketIntelligentTieringConfigurations } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ListBucketIntelligentTieringConfigurationsCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class ListBucketIntelligentTieringConfigurationsCommand 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", "ListBucketIntelligentTieringConfigurations", {})
23
18
  .n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand")
24
- .f(void 0, void 0)
25
- .ser(se_ListBucketIntelligentTieringConfigurationsCommand)
26
- .de(de_ListBucketIntelligentTieringConfigurationsCommand)
19
+ .sc(ListBucketIntelligentTieringConfigurations)
27
20
  .build() {
28
21
  }