@aws-sdk/client-s3-control 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 (121) hide show
  1. package/dist-cjs/index.js +5497 -7718
  2. package/dist-cjs/runtimeConfig.shared.js +6 -0
  3. package/dist-es/S3ControlClient.js +2 -0
  4. package/dist-es/commands/AssociateAccessGrantsIdentityCenterCommand.js +2 -6
  5. package/dist-es/commands/CreateAccessGrantCommand.js +2 -6
  6. package/dist-es/commands/CreateAccessGrantsInstanceCommand.js +2 -6
  7. package/dist-es/commands/CreateAccessGrantsLocationCommand.js +2 -6
  8. package/dist-es/commands/CreateAccessPointCommand.js +3 -10
  9. package/dist-es/commands/CreateAccessPointForObjectLambdaCommand.js +3 -10
  10. package/dist-es/commands/CreateBucketCommand.js +2 -6
  11. package/dist-es/commands/CreateJobCommand.js +3 -10
  12. package/dist-es/commands/CreateMultiRegionAccessPointCommand.js +2 -6
  13. package/dist-es/commands/CreateStorageLensGroupCommand.js +3 -10
  14. package/dist-es/commands/DeleteAccessGrantCommand.js +2 -6
  15. package/dist-es/commands/DeleteAccessGrantsInstanceCommand.js +2 -6
  16. package/dist-es/commands/DeleteAccessGrantsInstanceResourcePolicyCommand.js +2 -6
  17. package/dist-es/commands/DeleteAccessGrantsLocationCommand.js +2 -6
  18. package/dist-es/commands/DeleteAccessPointCommand.js +3 -10
  19. package/dist-es/commands/DeleteAccessPointForObjectLambdaCommand.js +3 -10
  20. package/dist-es/commands/DeleteAccessPointPolicyCommand.js +3 -10
  21. package/dist-es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +3 -10
  22. package/dist-es/commands/DeleteAccessPointScopeCommand.js +3 -10
  23. package/dist-es/commands/DeleteBucketCommand.js +3 -10
  24. package/dist-es/commands/DeleteBucketLifecycleConfigurationCommand.js +3 -10
  25. package/dist-es/commands/DeleteBucketPolicyCommand.js +3 -10
  26. package/dist-es/commands/DeleteBucketReplicationCommand.js +3 -10
  27. package/dist-es/commands/DeleteBucketTaggingCommand.js +3 -10
  28. package/dist-es/commands/DeleteJobTaggingCommand.js +3 -10
  29. package/dist-es/commands/DeleteMultiRegionAccessPointCommand.js +2 -6
  30. package/dist-es/commands/DeletePublicAccessBlockCommand.js +3 -10
  31. package/dist-es/commands/DeleteStorageLensConfigurationCommand.js +3 -10
  32. package/dist-es/commands/DeleteStorageLensConfigurationTaggingCommand.js +3 -10
  33. package/dist-es/commands/DeleteStorageLensGroupCommand.js +3 -10
  34. package/dist-es/commands/DescribeJobCommand.js +3 -10
  35. package/dist-es/commands/DescribeMultiRegionAccessPointOperationCommand.js +2 -6
  36. package/dist-es/commands/DissociateAccessGrantsIdentityCenterCommand.js +2 -6
  37. package/dist-es/commands/GetAccessGrantCommand.js +2 -6
  38. package/dist-es/commands/GetAccessGrantsInstanceCommand.js +2 -6
  39. package/dist-es/commands/GetAccessGrantsInstanceForPrefixCommand.js +2 -6
  40. package/dist-es/commands/GetAccessGrantsInstanceResourcePolicyCommand.js +2 -6
  41. package/dist-es/commands/GetAccessGrantsLocationCommand.js +2 -6
  42. package/dist-es/commands/GetAccessPointCommand.js +3 -10
  43. package/dist-es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +3 -10
  44. package/dist-es/commands/GetAccessPointForObjectLambdaCommand.js +3 -10
  45. package/dist-es/commands/GetAccessPointPolicyCommand.js +3 -10
  46. package/dist-es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +3 -10
  47. package/dist-es/commands/GetAccessPointPolicyStatusCommand.js +3 -10
  48. package/dist-es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +3 -10
  49. package/dist-es/commands/GetAccessPointScopeCommand.js +3 -10
  50. package/dist-es/commands/GetBucketCommand.js +3 -10
  51. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +3 -10
  52. package/dist-es/commands/GetBucketPolicyCommand.js +3 -10
  53. package/dist-es/commands/GetBucketReplicationCommand.js +3 -10
  54. package/dist-es/commands/GetBucketTaggingCommand.js +3 -10
  55. package/dist-es/commands/GetBucketVersioningCommand.js +3 -10
  56. package/dist-es/commands/GetDataAccessCommand.js +2 -7
  57. package/dist-es/commands/GetJobTaggingCommand.js +3 -10
  58. package/dist-es/commands/GetMultiRegionAccessPointCommand.js +2 -6
  59. package/dist-es/commands/GetMultiRegionAccessPointPolicyCommand.js +2 -6
  60. package/dist-es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +2 -6
  61. package/dist-es/commands/GetMultiRegionAccessPointRoutesCommand.js +2 -6
  62. package/dist-es/commands/GetPublicAccessBlockCommand.js +3 -10
  63. package/dist-es/commands/GetStorageLensConfigurationCommand.js +3 -10
  64. package/dist-es/commands/GetStorageLensConfigurationTaggingCommand.js +3 -10
  65. package/dist-es/commands/GetStorageLensGroupCommand.js +3 -10
  66. package/dist-es/commands/ListAccessGrantsCommand.js +2 -6
  67. package/dist-es/commands/ListAccessGrantsInstancesCommand.js +2 -6
  68. package/dist-es/commands/ListAccessGrantsLocationsCommand.js +2 -6
  69. package/dist-es/commands/ListAccessPointsCommand.js +3 -10
  70. package/dist-es/commands/ListAccessPointsForDirectoryBucketsCommand.js +3 -10
  71. package/dist-es/commands/ListAccessPointsForObjectLambdaCommand.js +3 -10
  72. package/dist-es/commands/ListCallerAccessGrantsCommand.js +2 -6
  73. package/dist-es/commands/ListJobsCommand.js +3 -10
  74. package/dist-es/commands/ListMultiRegionAccessPointsCommand.js +2 -6
  75. package/dist-es/commands/ListRegionalBucketsCommand.js +3 -10
  76. package/dist-es/commands/ListStorageLensConfigurationsCommand.js +3 -10
  77. package/dist-es/commands/ListStorageLensGroupsCommand.js +3 -10
  78. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  79. package/dist-es/commands/PutAccessGrantsInstanceResourcePolicyCommand.js +2 -6
  80. package/dist-es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +3 -10
  81. package/dist-es/commands/PutAccessPointPolicyCommand.js +3 -10
  82. package/dist-es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +3 -10
  83. package/dist-es/commands/PutAccessPointScopeCommand.js +3 -10
  84. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -6
  85. package/dist-es/commands/PutBucketPolicyCommand.js +2 -6
  86. package/dist-es/commands/PutBucketReplicationCommand.js +2 -6
  87. package/dist-es/commands/PutBucketTaggingCommand.js +2 -6
  88. package/dist-es/commands/PutBucketVersioningCommand.js +2 -6
  89. package/dist-es/commands/PutJobTaggingCommand.js +3 -10
  90. package/dist-es/commands/PutMultiRegionAccessPointPolicyCommand.js +2 -6
  91. package/dist-es/commands/PutPublicAccessBlockCommand.js +3 -10
  92. package/dist-es/commands/PutStorageLensConfigurationCommand.js +3 -10
  93. package/dist-es/commands/PutStorageLensConfigurationTaggingCommand.js +3 -10
  94. package/dist-es/commands/SubmitMultiRegionAccessPointRoutesCommand.js +2 -6
  95. package/dist-es/commands/TagResourceCommand.js +3 -10
  96. package/dist-es/commands/UntagResourceCommand.js +3 -10
  97. package/dist-es/commands/UpdateAccessGrantsLocationCommand.js +2 -6
  98. package/dist-es/commands/UpdateJobPriorityCommand.js +3 -10
  99. package/dist-es/commands/UpdateJobStatusCommand.js +3 -10
  100. package/dist-es/commands/UpdateStorageLensGroupCommand.js +3 -10
  101. package/dist-es/models/models_0.js +0 -43
  102. package/dist-es/runtimeConfig.shared.js +6 -0
  103. package/dist-es/schemas/schemas_0.js +5577 -0
  104. package/dist-types/S3ControlClient.d.ts +10 -1
  105. package/dist-types/models/models_0.d.ts +12 -11
  106. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  107. package/dist-types/runtimeConfig.d.ts +1 -0
  108. package/dist-types/runtimeConfig.native.d.ts +1 -0
  109. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  110. package/dist-types/schemas/schemas_0.d.ts +460 -0
  111. package/dist-types/ts3.4/S3ControlClient.d.ts +4 -0
  112. package/dist-types/ts3.4/models/models_0.d.ts +0 -10
  113. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -0
  114. package/dist-types/ts3.4/runtimeConfig.d.ts +6 -0
  115. package/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -0
  116. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +7 -0
  117. package/dist-types/ts3.4/schemas/schemas_0.d.ts +466 -0
  118. package/package.json +5 -7
  119. package/dist-es/protocols/Aws_restXml.js +0 -7280
  120. package/dist-types/protocols/Aws_restXml.d.ts +0 -875
  121. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -1169
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,11 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsRestXmlProtocol({
31
+ defaultNamespace: "com.amazonaws.s3control",
32
+ xmlNamespace: "http://awss3control.amazonaws.com/doc/2018-08-20/",
33
+ }),
28
34
  serviceId: config?.serviceId ?? "S3 Control",
29
35
  signingEscapePath: config?.signingEscapePath ?? false,
30
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -5,6 +5,7 @@ import { getHostPrefixDeduplicationPlugin, resolveS3ControlConfig, } from "@aws-
5
5
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
6
6
  import { resolveRegionConfig } from "@smithy/config-resolver";
7
7
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
8
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
9
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
10
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
11
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -30,6 +31,7 @@ export class S3ControlClient extends __Client {
30
31
  const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
31
32
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
32
33
  this.config = _config_9;
34
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
33
35
  this.middlewareStack.use(getUserAgentPlugin(this.config));
34
36
  this.middlewareStack.use(getRetryPlugin(this.config));
35
37
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,10 +1,9 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
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_AssociateAccessGrantsIdentityCenterCommand, se_AssociateAccessGrantsIdentityCenterCommand, } from "../protocols/Aws_restXml";
6
+ import { AssociateAccessGrantsIdentityCenter } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class AssociateAccessGrantsIdentityCenterCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class AssociateAccessGrantsIdentityCenterCommand 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
  getProcessArnablesPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class AssociateAccessGrantsIdentityCenterCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "AssociateAccessGrantsIdentityCenter", {})
25
23
  .n("S3ControlClient", "AssociateAccessGrantsIdentityCenterCommand")
26
- .f(void 0, void 0)
27
- .ser(se_AssociateAccessGrantsIdentityCenterCommand)
28
- .de(de_AssociateAccessGrantsIdentityCenterCommand)
24
+ .sc(AssociateAccessGrantsIdentityCenter)
29
25
  .build() {
30
26
  }
@@ -1,10 +1,9 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
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_CreateAccessGrantCommand, se_CreateAccessGrantCommand } from "../protocols/Aws_restXml";
6
+ import { CreateAccessGrant } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class CreateAccessGrantCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class CreateAccessGrantCommand 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
  getProcessArnablesPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class CreateAccessGrantCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "CreateAccessGrant", {})
25
23
  .n("S3ControlClient", "CreateAccessGrantCommand")
26
- .f(void 0, void 0)
27
- .ser(se_CreateAccessGrantCommand)
28
- .de(de_CreateAccessGrantCommand)
24
+ .sc(CreateAccessGrant)
29
25
  .build() {
30
26
  }
@@ -1,10 +1,9 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
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_CreateAccessGrantsInstanceCommand, se_CreateAccessGrantsInstanceCommand } from "../protocols/Aws_restXml";
6
+ import { CreateAccessGrantsInstance } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class CreateAccessGrantsInstanceCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class CreateAccessGrantsInstanceCommand 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
  getProcessArnablesPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class CreateAccessGrantsInstanceCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "CreateAccessGrantsInstance", {})
25
23
  .n("S3ControlClient", "CreateAccessGrantsInstanceCommand")
26
- .f(void 0, void 0)
27
- .ser(se_CreateAccessGrantsInstanceCommand)
28
- .de(de_CreateAccessGrantsInstanceCommand)
24
+ .sc(CreateAccessGrantsInstance)
29
25
  .build() {
30
26
  }
@@ -1,10 +1,9 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
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_CreateAccessGrantsLocationCommand, se_CreateAccessGrantsLocationCommand } from "../protocols/Aws_restXml";
6
+ import { CreateAccessGrantsLocation } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class CreateAccessGrantsLocationCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class CreateAccessGrantsLocationCommand 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
  getProcessArnablesPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class CreateAccessGrantsLocationCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "CreateAccessGrantsLocation", {})
25
23
  .n("S3ControlClient", "CreateAccessGrantsLocationCommand")
26
- .f(void 0, void 0)
27
- .ser(se_CreateAccessGrantsLocationCommand)
28
- .de(de_CreateAccessGrantsLocationCommand)
24
+ .sc(CreateAccessGrantsLocation)
29
25
  .build() {
30
26
  }
@@ -1,9 +1,8 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
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_CreateAccessPointCommand, se_CreateAccessPointCommand } from "../protocols/Aws_restXml";
5
+ import { CreateAccessPoint } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class CreateAccessPointCommand extends $Command
9
8
  .classBuilder()
@@ -15,16 +14,10 @@ export class CreateAccessPointCommand extends $Command
15
14
  Bucket: { type: "contextParams", name: "Bucket" },
16
15
  })
17
16
  .m(function (Command, cs, config, o) {
18
- return [
19
- getSerdePlugin(config, this.serialize, this.deserialize),
20
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
- getProcessArnablesPlugin(config),
22
- ];
17
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getProcessArnablesPlugin(config)];
23
18
  })
24
19
  .s("AWSS3ControlServiceV20180820", "CreateAccessPoint", {})
25
20
  .n("S3ControlClient", "CreateAccessPointCommand")
26
- .f(void 0, void 0)
27
- .ser(se_CreateAccessPointCommand)
28
- .de(de_CreateAccessPointCommand)
21
+ .sc(CreateAccessPoint)
29
22
  .build() {
30
23
  }
@@ -1,9 +1,8 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
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_CreateAccessPointForObjectLambdaCommand, se_CreateAccessPointForObjectLambdaCommand, } from "../protocols/Aws_restXml";
5
+ import { CreateAccessPointForObjectLambda } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class CreateAccessPointForObjectLambdaCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class CreateAccessPointForObjectLambdaCommand extends $Command
13
12
  AccountId: { type: "contextParams", name: "AccountId" },
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
- getProcessArnablesPlugin(config),
20
- ];
15
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getProcessArnablesPlugin(config)];
21
16
  })
22
17
  .s("AWSS3ControlServiceV20180820", "CreateAccessPointForObjectLambda", {})
23
18
  .n("S3ControlClient", "CreateAccessPointForObjectLambdaCommand")
24
- .f(void 0, void 0)
25
- .ser(se_CreateAccessPointForObjectLambdaCommand)
26
- .de(de_CreateAccessPointForObjectLambdaCommand)
19
+ .sc(CreateAccessPointForObjectLambda)
27
20
  .build() {
28
21
  }
@@ -1,10 +1,9 @@
1
1
  import { getRedirectFromPostIdPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
3
3
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
4
- import { getSerdePlugin } from "@smithy/middleware-serde";
5
4
  import { Command as $Command } from "@smithy/smithy-client";
6
5
  import { commonParams } from "../endpoint/EndpointParameters";
7
- import { de_CreateBucketCommand, se_CreateBucketCommand } from "../protocols/Aws_restXml";
6
+ import { CreateBucket } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class CreateBucketCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class CreateBucketCommand 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
  getRedirectFromPostIdPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class CreateBucketCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "CreateBucket", {})
25
23
  .n("S3ControlClient", "CreateBucketCommand")
26
- .f(void 0, void 0)
27
- .ser(se_CreateBucketCommand)
28
- .de(de_CreateBucketCommand)
24
+ .sc(CreateBucket)
29
25
  .build() {
30
26
  }
@@ -1,9 +1,8 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
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_CreateJobCommand, se_CreateJobCommand } from "../protocols/Aws_restXml";
5
+ import { CreateJob } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class CreateJobCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class CreateJobCommand extends $Command
13
12
  AccountId: { type: "contextParams", name: "AccountId" },
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
- getProcessArnablesPlugin(config),
20
- ];
15
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getProcessArnablesPlugin(config)];
21
16
  })
22
17
  .s("AWSS3ControlServiceV20180820", "CreateJob", {})
23
18
  .n("S3ControlClient", "CreateJobCommand")
24
- .f(void 0, void 0)
25
- .ser(se_CreateJobCommand)
26
- .de(de_CreateJobCommand)
19
+ .sc(CreateJob)
27
20
  .build() {
28
21
  }
@@ -1,10 +1,9 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
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_CreateMultiRegionAccessPointCommand, se_CreateMultiRegionAccessPointCommand, } from "../protocols/Aws_restXml";
6
+ import { CreateMultiRegionAccessPoint } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class CreateMultiRegionAccessPointCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class CreateMultiRegionAccessPointCommand 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
  getProcessArnablesPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class CreateMultiRegionAccessPointCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "CreateMultiRegionAccessPoint", {})
25
23
  .n("S3ControlClient", "CreateMultiRegionAccessPointCommand")
26
- .f(void 0, void 0)
27
- .ser(se_CreateMultiRegionAccessPointCommand)
28
- .de(de_CreateMultiRegionAccessPointCommand)
24
+ .sc(CreateMultiRegionAccessPoint)
29
25
  .build() {
30
26
  }
@@ -1,9 +1,8 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
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_CreateStorageLensGroupCommand, se_CreateStorageLensGroupCommand } from "../protocols/Aws_restXml";
5
+ import { CreateStorageLensGroup } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class CreateStorageLensGroupCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class CreateStorageLensGroupCommand extends $Command
13
12
  AccountId: { type: "contextParams", name: "AccountId" },
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
- getProcessArnablesPlugin(config),
20
- ];
15
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getProcessArnablesPlugin(config)];
21
16
  })
22
17
  .s("AWSS3ControlServiceV20180820", "CreateStorageLensGroup", {})
23
18
  .n("S3ControlClient", "CreateStorageLensGroupCommand")
24
- .f(void 0, void 0)
25
- .ser(se_CreateStorageLensGroupCommand)
26
- .de(de_CreateStorageLensGroupCommand)
19
+ .sc(CreateStorageLensGroup)
27
20
  .build() {
28
21
  }
@@ -1,10 +1,9 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
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_DeleteAccessGrantCommand, se_DeleteAccessGrantCommand } from "../protocols/Aws_restXml";
6
+ import { DeleteAccessGrant } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class DeleteAccessGrantCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class DeleteAccessGrantCommand 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
  getProcessArnablesPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class DeleteAccessGrantCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "DeleteAccessGrant", {})
25
23
  .n("S3ControlClient", "DeleteAccessGrantCommand")
26
- .f(void 0, void 0)
27
- .ser(se_DeleteAccessGrantCommand)
28
- .de(de_DeleteAccessGrantCommand)
24
+ .sc(DeleteAccessGrant)
29
25
  .build() {
30
26
  }
@@ -1,10 +1,9 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
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_DeleteAccessGrantsInstanceCommand, se_DeleteAccessGrantsInstanceCommand } from "../protocols/Aws_restXml";
6
+ import { DeleteAccessGrantsInstance } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class DeleteAccessGrantsInstanceCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class DeleteAccessGrantsInstanceCommand 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
  getProcessArnablesPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class DeleteAccessGrantsInstanceCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "DeleteAccessGrantsInstance", {})
25
23
  .n("S3ControlClient", "DeleteAccessGrantsInstanceCommand")
26
- .f(void 0, void 0)
27
- .ser(se_DeleteAccessGrantsInstanceCommand)
28
- .de(de_DeleteAccessGrantsInstanceCommand)
24
+ .sc(DeleteAccessGrantsInstance)
29
25
  .build() {
30
26
  }
@@ -1,10 +1,9 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
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_DeleteAccessGrantsInstanceResourcePolicyCommand, se_DeleteAccessGrantsInstanceResourcePolicyCommand, } from "../protocols/Aws_restXml";
6
+ import { DeleteAccessGrantsInstanceResourcePolicy } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class DeleteAccessGrantsInstanceResourcePolicyCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class DeleteAccessGrantsInstanceResourcePolicyCommand 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
  getProcessArnablesPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class DeleteAccessGrantsInstanceResourcePolicyCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "DeleteAccessGrantsInstanceResourcePolicy", {})
25
23
  .n("S3ControlClient", "DeleteAccessGrantsInstanceResourcePolicyCommand")
26
- .f(void 0, void 0)
27
- .ser(se_DeleteAccessGrantsInstanceResourcePolicyCommand)
28
- .de(de_DeleteAccessGrantsInstanceResourcePolicyCommand)
24
+ .sc(DeleteAccessGrantsInstanceResourcePolicy)
29
25
  .build() {
30
26
  }
@@ -1,10 +1,9 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
2
  import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";
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_DeleteAccessGrantsLocationCommand, se_DeleteAccessGrantsLocationCommand } from "../protocols/Aws_restXml";
6
+ import { DeleteAccessGrantsLocation } from "../schemas/schemas_0";
8
7
  export { $Command };
9
8
  export class DeleteAccessGrantsLocationCommand extends $Command
10
9
  .classBuilder()
@@ -15,7 +14,6 @@ export class DeleteAccessGrantsLocationCommand 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
  getProcessArnablesPlugin(config),
21
19
  getApplyMd5BodyChecksumPlugin(config),
@@ -23,8 +21,6 @@ export class DeleteAccessGrantsLocationCommand extends $Command
23
21
  })
24
22
  .s("AWSS3ControlServiceV20180820", "DeleteAccessGrantsLocation", {})
25
23
  .n("S3ControlClient", "DeleteAccessGrantsLocationCommand")
26
- .f(void 0, void 0)
27
- .ser(se_DeleteAccessGrantsLocationCommand)
28
- .de(de_DeleteAccessGrantsLocationCommand)
24
+ .sc(DeleteAccessGrantsLocation)
29
25
  .build() {
30
26
  }
@@ -1,9 +1,8 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
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_DeleteAccessPointCommand, se_DeleteAccessPointCommand } from "../protocols/Aws_restXml";
5
+ import { DeleteAccessPoint } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class DeleteAccessPointCommand extends $Command
9
8
  .classBuilder()
@@ -14,16 +13,10 @@ export class DeleteAccessPointCommand extends $Command
14
13
  AccountId: { type: "contextParams", name: "AccountId" },
15
14
  })
16
15
  .m(function (Command, cs, config, o) {
17
- return [
18
- getSerdePlugin(config, this.serialize, this.deserialize),
19
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
- getProcessArnablesPlugin(config),
21
- ];
16
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getProcessArnablesPlugin(config)];
22
17
  })
23
18
  .s("AWSS3ControlServiceV20180820", "DeleteAccessPoint", {})
24
19
  .n("S3ControlClient", "DeleteAccessPointCommand")
25
- .f(void 0, void 0)
26
- .ser(se_DeleteAccessPointCommand)
27
- .de(de_DeleteAccessPointCommand)
20
+ .sc(DeleteAccessPoint)
28
21
  .build() {
29
22
  }
@@ -1,9 +1,8 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
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_DeleteAccessPointForObjectLambdaCommand, se_DeleteAccessPointForObjectLambdaCommand, } from "../protocols/Aws_restXml";
5
+ import { DeleteAccessPointForObjectLambda } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class DeleteAccessPointForObjectLambdaCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class DeleteAccessPointForObjectLambdaCommand extends $Command
13
12
  AccountId: { type: "contextParams", name: "AccountId" },
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
- getProcessArnablesPlugin(config),
20
- ];
15
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getProcessArnablesPlugin(config)];
21
16
  })
22
17
  .s("AWSS3ControlServiceV20180820", "DeleteAccessPointForObjectLambda", {})
23
18
  .n("S3ControlClient", "DeleteAccessPointForObjectLambdaCommand")
24
- .f(void 0, void 0)
25
- .ser(se_DeleteAccessPointForObjectLambdaCommand)
26
- .de(de_DeleteAccessPointForObjectLambdaCommand)
19
+ .sc(DeleteAccessPointForObjectLambda)
27
20
  .build() {
28
21
  }
@@ -1,9 +1,8 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
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_DeleteAccessPointPolicyCommand, se_DeleteAccessPointPolicyCommand } from "../protocols/Aws_restXml";
5
+ import { DeleteAccessPointPolicy } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class DeleteAccessPointPolicyCommand extends $Command
9
8
  .classBuilder()
@@ -14,16 +13,10 @@ export class DeleteAccessPointPolicyCommand extends $Command
14
13
  AccountId: { type: "contextParams", name: "AccountId" },
15
14
  })
16
15
  .m(function (Command, cs, config, o) {
17
- return [
18
- getSerdePlugin(config, this.serialize, this.deserialize),
19
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
- getProcessArnablesPlugin(config),
21
- ];
16
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getProcessArnablesPlugin(config)];
22
17
  })
23
18
  .s("AWSS3ControlServiceV20180820", "DeleteAccessPointPolicy", {})
24
19
  .n("S3ControlClient", "DeleteAccessPointPolicyCommand")
25
- .f(void 0, void 0)
26
- .ser(se_DeleteAccessPointPolicyCommand)
27
- .de(de_DeleteAccessPointPolicyCommand)
20
+ .sc(DeleteAccessPointPolicy)
28
21
  .build() {
29
22
  }
@@ -1,9 +1,8 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
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_DeleteAccessPointPolicyForObjectLambdaCommand, se_DeleteAccessPointPolicyForObjectLambdaCommand, } from "../protocols/Aws_restXml";
5
+ import { DeleteAccessPointPolicyForObjectLambda } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class DeleteAccessPointPolicyForObjectLambdaCommand extends $Command
9
8
  .classBuilder()
@@ -13,16 +12,10 @@ export class DeleteAccessPointPolicyForObjectLambdaCommand extends $Command
13
12
  AccountId: { type: "contextParams", name: "AccountId" },
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
- getProcessArnablesPlugin(config),
20
- ];
15
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getProcessArnablesPlugin(config)];
21
16
  })
22
17
  .s("AWSS3ControlServiceV20180820", "DeleteAccessPointPolicyForObjectLambda", {})
23
18
  .n("S3ControlClient", "DeleteAccessPointPolicyForObjectLambdaCommand")
24
- .f(void 0, void 0)
25
- .ser(se_DeleteAccessPointPolicyForObjectLambdaCommand)
26
- .de(de_DeleteAccessPointPolicyForObjectLambdaCommand)
19
+ .sc(DeleteAccessPointPolicyForObjectLambda)
27
20
  .build() {
28
21
  }
@@ -1,9 +1,8 @@
1
1
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
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_DeleteAccessPointScopeCommand, se_DeleteAccessPointScopeCommand } from "../protocols/Aws_restXml";
5
+ import { DeleteAccessPointScope } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class DeleteAccessPointScopeCommand extends $Command
9
8
  .classBuilder()
@@ -15,16 +14,10 @@ export class DeleteAccessPointScopeCommand extends $Command
15
14
  AccountId: { type: "contextParams", name: "AccountId" },
16
15
  })
17
16
  .m(function (Command, cs, config, o) {
18
- return [
19
- getSerdePlugin(config, this.serialize, this.deserialize),
20
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
21
- getProcessArnablesPlugin(config),
22
- ];
17
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getProcessArnablesPlugin(config)];
23
18
  })
24
19
  .s("AWSS3ControlServiceV20180820", "DeleteAccessPointScope", {})
25
20
  .n("S3ControlClient", "DeleteAccessPointScopeCommand")
26
- .f(void 0, void 0)
27
- .ser(se_DeleteAccessPointScopeCommand)
28
- .de(de_DeleteAccessPointScopeCommand)
21
+ .sc(DeleteAccessPointScope)
29
22
  .build() {
30
23
  }