@aws-sdk/client-controltower 3.928.0 → 3.930.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 (49) hide show
  1. package/dist-cjs/index.js +1015 -1309
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ControlTowerClient.js +2 -0
  4. package/dist-es/commands/CreateLandingZoneCommand.js +3 -9
  5. package/dist-es/commands/DeleteLandingZoneCommand.js +3 -9
  6. package/dist-es/commands/DisableBaselineCommand.js +3 -9
  7. package/dist-es/commands/DisableControlCommand.js +3 -9
  8. package/dist-es/commands/EnableBaselineCommand.js +3 -9
  9. package/dist-es/commands/EnableControlCommand.js +3 -9
  10. package/dist-es/commands/GetBaselineCommand.js +3 -9
  11. package/dist-es/commands/GetBaselineOperationCommand.js +3 -9
  12. package/dist-es/commands/GetControlOperationCommand.js +3 -9
  13. package/dist-es/commands/GetEnabledBaselineCommand.js +3 -9
  14. package/dist-es/commands/GetEnabledControlCommand.js +3 -9
  15. package/dist-es/commands/GetLandingZoneCommand.js +3 -9
  16. package/dist-es/commands/GetLandingZoneOperationCommand.js +3 -9
  17. package/dist-es/commands/ListBaselinesCommand.js +3 -9
  18. package/dist-es/commands/ListControlOperationsCommand.js +3 -9
  19. package/dist-es/commands/ListEnabledBaselinesCommand.js +3 -9
  20. package/dist-es/commands/ListEnabledControlsCommand.js +3 -9
  21. package/dist-es/commands/ListLandingZoneOperationsCommand.js +3 -9
  22. package/dist-es/commands/ListLandingZonesCommand.js +3 -9
  23. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  24. package/dist-es/commands/ResetEnabledBaselineCommand.js +3 -9
  25. package/dist-es/commands/ResetEnabledControlCommand.js +3 -9
  26. package/dist-es/commands/ResetLandingZoneCommand.js +3 -9
  27. package/dist-es/commands/TagResourceCommand.js +3 -9
  28. package/dist-es/commands/UntagResourceCommand.js +3 -9
  29. package/dist-es/commands/UpdateEnabledBaselineCommand.js +3 -9
  30. package/dist-es/commands/UpdateEnabledControlCommand.js +3 -9
  31. package/dist-es/commands/UpdateLandingZoneCommand.js +3 -9
  32. package/dist-es/runtimeConfig.shared.js +2 -0
  33. package/dist-es/schemas/schemas_0.js +957 -0
  34. package/dist-types/ControlTowerClient.d.ts +10 -1
  35. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  36. package/dist-types/runtimeConfig.d.ts +1 -0
  37. package/dist-types/runtimeConfig.native.d.ts +1 -0
  38. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  39. package/dist-types/schemas/schemas_0.d.ts +153 -0
  40. package/dist-types/ts3.4/ControlTowerClient.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +158 -0
  46. package/package.json +33 -33
  47. package/dist-es/protocols/Aws_restJson1.js +0 -1095
  48. package/dist-types/protocols/Aws_restJson1.d.ts +0 -254
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -341
@@ -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,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.controltower" }),
28
30
  serviceId: config?.serviceId ?? "ControlTower",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ControlTowerClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
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_CreateLandingZoneCommand, se_CreateLandingZoneCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateLandingZone } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLandingZoneCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "CreateLandingZone", {})
17
13
  .n("ControlTowerClient", "CreateLandingZoneCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLandingZoneCommand)
20
- .de(de_CreateLandingZoneCommand)
14
+ .sc(CreateLandingZone)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_DeleteLandingZoneCommand, se_DeleteLandingZoneCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteLandingZone } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLandingZoneCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "DeleteLandingZone", {})
17
13
  .n("ControlTowerClient", "DeleteLandingZoneCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLandingZoneCommand)
20
- .de(de_DeleteLandingZoneCommand)
14
+ .sc(DeleteLandingZone)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_DisableBaselineCommand, se_DisableBaselineCommand } from "../protocols/Aws_restJson1";
4
+ import { DisableBaseline } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableBaselineCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "DisableBaseline", {})
17
13
  .n("ControlTowerClient", "DisableBaselineCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisableBaselineCommand)
20
- .de(de_DisableBaselineCommand)
14
+ .sc(DisableBaseline)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_DisableControlCommand, se_DisableControlCommand } from "../protocols/Aws_restJson1";
4
+ import { DisableControl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableControlCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "DisableControl", {})
17
13
  .n("ControlTowerClient", "DisableControlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisableControlCommand)
20
- .de(de_DisableControlCommand)
14
+ .sc(DisableControl)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_EnableBaselineCommand, se_EnableBaselineCommand } from "../protocols/Aws_restJson1";
4
+ import { EnableBaseline } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableBaselineCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "EnableBaseline", {})
17
13
  .n("ControlTowerClient", "EnableBaselineCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableBaselineCommand)
20
- .de(de_EnableBaselineCommand)
14
+ .sc(EnableBaseline)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_EnableControlCommand, se_EnableControlCommand } from "../protocols/Aws_restJson1";
4
+ import { EnableControl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableControlCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "EnableControl", {})
17
13
  .n("ControlTowerClient", "EnableControlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableControlCommand)
20
- .de(de_EnableControlCommand)
14
+ .sc(EnableControl)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_GetBaselineCommand, se_GetBaselineCommand } from "../protocols/Aws_restJson1";
4
+ import { GetBaseline } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetBaselineCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "GetBaseline", {})
17
13
  .n("ControlTowerClient", "GetBaselineCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetBaselineCommand)
20
- .de(de_GetBaselineCommand)
14
+ .sc(GetBaseline)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_GetBaselineOperationCommand, se_GetBaselineOperationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetBaselineOperation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetBaselineOperationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "GetBaselineOperation", {})
17
13
  .n("ControlTowerClient", "GetBaselineOperationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetBaselineOperationCommand)
20
- .de(de_GetBaselineOperationCommand)
14
+ .sc(GetBaselineOperation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_GetControlOperationCommand, se_GetControlOperationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetControlOperation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetControlOperationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "GetControlOperation", {})
17
13
  .n("ControlTowerClient", "GetControlOperationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetControlOperationCommand)
20
- .de(de_GetControlOperationCommand)
14
+ .sc(GetControlOperation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_GetEnabledBaselineCommand, se_GetEnabledBaselineCommand } from "../protocols/Aws_restJson1";
4
+ import { GetEnabledBaseline } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetEnabledBaselineCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "GetEnabledBaseline", {})
17
13
  .n("ControlTowerClient", "GetEnabledBaselineCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetEnabledBaselineCommand)
20
- .de(de_GetEnabledBaselineCommand)
14
+ .sc(GetEnabledBaseline)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_GetEnabledControlCommand, se_GetEnabledControlCommand } from "../protocols/Aws_restJson1";
4
+ import { GetEnabledControl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetEnabledControlCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "GetEnabledControl", {})
17
13
  .n("ControlTowerClient", "GetEnabledControlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetEnabledControlCommand)
20
- .de(de_GetEnabledControlCommand)
14
+ .sc(GetEnabledControl)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_GetLandingZoneCommand, se_GetLandingZoneCommand } from "../protocols/Aws_restJson1";
4
+ import { GetLandingZone } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetLandingZoneCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "GetLandingZone", {})
17
13
  .n("ControlTowerClient", "GetLandingZoneCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetLandingZoneCommand)
20
- .de(de_GetLandingZoneCommand)
14
+ .sc(GetLandingZone)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_GetLandingZoneOperationCommand, se_GetLandingZoneOperationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetLandingZoneOperation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetLandingZoneOperationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "GetLandingZoneOperation", {})
17
13
  .n("ControlTowerClient", "GetLandingZoneOperationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetLandingZoneOperationCommand)
20
- .de(de_GetLandingZoneOperationCommand)
14
+ .sc(GetLandingZoneOperation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_ListBaselinesCommand, se_ListBaselinesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListBaselines } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListBaselinesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "ListBaselines", {})
17
13
  .n("ControlTowerClient", "ListBaselinesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListBaselinesCommand)
20
- .de(de_ListBaselinesCommand)
14
+ .sc(ListBaselines)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_ListControlOperationsCommand, se_ListControlOperationsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListControlOperations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListControlOperationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "ListControlOperations", {})
17
13
  .n("ControlTowerClient", "ListControlOperationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListControlOperationsCommand)
20
- .de(de_ListControlOperationsCommand)
14
+ .sc(ListControlOperations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_ListEnabledBaselinesCommand, se_ListEnabledBaselinesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListEnabledBaselines } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEnabledBaselinesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "ListEnabledBaselines", {})
17
13
  .n("ControlTowerClient", "ListEnabledBaselinesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEnabledBaselinesCommand)
20
- .de(de_ListEnabledBaselinesCommand)
14
+ .sc(ListEnabledBaselines)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_ListEnabledControlsCommand, se_ListEnabledControlsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListEnabledControls } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEnabledControlsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "ListEnabledControls", {})
17
13
  .n("ControlTowerClient", "ListEnabledControlsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEnabledControlsCommand)
20
- .de(de_ListEnabledControlsCommand)
14
+ .sc(ListEnabledControls)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_ListLandingZoneOperationsCommand, se_ListLandingZoneOperationsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListLandingZoneOperations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListLandingZoneOperationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "ListLandingZoneOperations", {})
17
13
  .n("ControlTowerClient", "ListLandingZoneOperationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListLandingZoneOperationsCommand)
20
- .de(de_ListLandingZoneOperationsCommand)
14
+ .sc(ListLandingZoneOperations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_ListLandingZonesCommand, se_ListLandingZonesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListLandingZones } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListLandingZonesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "ListLandingZones", {})
17
13
  .n("ControlTowerClient", "ListLandingZonesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListLandingZonesCommand)
20
- .de(de_ListLandingZonesCommand)
14
+ .sc(ListLandingZones)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "ListTagsForResource", {})
17
13
  .n("ControlTowerClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_ResetEnabledBaselineCommand, se_ResetEnabledBaselineCommand } from "../protocols/Aws_restJson1";
4
+ import { ResetEnabledBaseline } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ResetEnabledBaselineCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "ResetEnabledBaseline", {})
17
13
  .n("ControlTowerClient", "ResetEnabledBaselineCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ResetEnabledBaselineCommand)
20
- .de(de_ResetEnabledBaselineCommand)
14
+ .sc(ResetEnabledBaseline)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
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_ResetEnabledControlCommand, se_ResetEnabledControlCommand } from "../protocols/Aws_restJson1";
4
+ import { ResetEnabledControl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ResetEnabledControlCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSControlTowerApis", "ResetEnabledControl", {})
17
13
  .n("ControlTowerClient", "ResetEnabledControlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ResetEnabledControlCommand)
20
- .de(de_ResetEnabledControlCommand)
14
+ .sc(ResetEnabledControl)
21
15
  .build() {
22
16
  }