@aws-sdk/client-controltower 3.478.0 → 3.481.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 (69) hide show
  1. package/dist-cjs/commands/CreateLandingZoneCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteLandingZoneCommand.js +18 -41
  3. package/dist-cjs/commands/DisableControlCommand.js +18 -41
  4. package/dist-cjs/commands/EnableControlCommand.js +18 -41
  5. package/dist-cjs/commands/GetControlOperationCommand.js +18 -41
  6. package/dist-cjs/commands/GetEnabledControlCommand.js +18 -41
  7. package/dist-cjs/commands/GetLandingZoneCommand.js +18 -41
  8. package/dist-cjs/commands/GetLandingZoneOperationCommand.js +18 -41
  9. package/dist-cjs/commands/ListEnabledControlsCommand.js +18 -41
  10. package/dist-cjs/commands/ListLandingZonesCommand.js +18 -41
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  12. package/dist-cjs/commands/ResetLandingZoneCommand.js +18 -41
  13. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  14. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  15. package/dist-cjs/commands/UpdateEnabledControlCommand.js +18 -41
  16. package/dist-cjs/commands/UpdateLandingZoneCommand.js +18 -41
  17. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  18. package/dist-es/commands/CreateLandingZoneCommand.js +18 -41
  19. package/dist-es/commands/DeleteLandingZoneCommand.js +18 -41
  20. package/dist-es/commands/DisableControlCommand.js +18 -41
  21. package/dist-es/commands/EnableControlCommand.js +18 -41
  22. package/dist-es/commands/GetControlOperationCommand.js +18 -41
  23. package/dist-es/commands/GetEnabledControlCommand.js +18 -41
  24. package/dist-es/commands/GetLandingZoneCommand.js +18 -41
  25. package/dist-es/commands/GetLandingZoneOperationCommand.js +18 -41
  26. package/dist-es/commands/ListEnabledControlsCommand.js +18 -41
  27. package/dist-es/commands/ListLandingZonesCommand.js +18 -41
  28. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  29. package/dist-es/commands/ResetLandingZoneCommand.js +18 -41
  30. package/dist-es/commands/TagResourceCommand.js +18 -41
  31. package/dist-es/commands/UntagResourceCommand.js +18 -41
  32. package/dist-es/commands/UpdateEnabledControlCommand.js +18 -41
  33. package/dist-es/commands/UpdateLandingZoneCommand.js +18 -41
  34. package/dist-es/endpoint/EndpointParameters.js +6 -0
  35. package/dist-types/commands/CreateLandingZoneCommand.d.ts +6 -21
  36. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +6 -21
  37. package/dist-types/commands/DisableControlCommand.d.ts +6 -21
  38. package/dist-types/commands/EnableControlCommand.d.ts +6 -21
  39. package/dist-types/commands/GetControlOperationCommand.d.ts +6 -21
  40. package/dist-types/commands/GetEnabledControlCommand.d.ts +6 -21
  41. package/dist-types/commands/GetLandingZoneCommand.d.ts +6 -21
  42. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +6 -21
  43. package/dist-types/commands/ListEnabledControlsCommand.d.ts +6 -21
  44. package/dist-types/commands/ListLandingZonesCommand.d.ts +6 -21
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  46. package/dist-types/commands/ResetLandingZoneCommand.d.ts +6 -21
  47. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  48. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  49. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +6 -21
  50. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +6 -21
  51. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  52. package/dist-types/ts3.4/commands/CreateLandingZoneCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/commands/DeleteLandingZoneCommand.d.ts +14 -23
  54. package/dist-types/ts3.4/commands/DisableControlCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/EnableControlCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/GetControlOperationCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/GetEnabledControlCommand.d.ts +14 -23
  58. package/dist-types/ts3.4/commands/GetLandingZoneCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/GetLandingZoneOperationCommand.d.ts +12 -24
  60. package/dist-types/ts3.4/commands/ListEnabledControlsCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/ListLandingZonesCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/ResetLandingZoneCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/UpdateEnabledControlCommand.d.ts +12 -24
  67. package/dist-types/ts3.4/commands/UpdateLandingZoneCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  69. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ResetLandingZoneCommand, se_ResetLandingZoneCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ResetLandingZoneCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ResetLandingZoneCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ControlTowerClient";
26
- const commandName = "ResetLandingZoneCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSControlTowerApis",
35
- operation: "ResetLandingZone",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ResetLandingZoneCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ResetLandingZoneCommand(output, context);
46
- }
7
+ export class ResetLandingZoneCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSControlTowerApis", "ResetLandingZone", {})
19
+ .n("ControlTowerClient", "ResetLandingZoneCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ResetLandingZoneCommand)
22
+ .de(de_ResetLandingZoneCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ControlTowerClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSControlTowerApis",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSControlTowerApis", "TagResource", {})
19
+ .n("ControlTowerClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ControlTowerClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSControlTowerApis",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSControlTowerApis", "UntagResource", {})
19
+ .n("ControlTowerClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateEnabledControlCommand, se_UpdateEnabledControlCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateEnabledControlCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEnabledControlCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ControlTowerClient";
26
- const commandName = "UpdateEnabledControlCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSControlTowerApis",
35
- operation: "UpdateEnabledControl",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateEnabledControlCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateEnabledControlCommand(output, context);
46
- }
7
+ export class UpdateEnabledControlCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSControlTowerApis", "UpdateEnabledControl", {})
19
+ .n("ControlTowerClient", "UpdateEnabledControlCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateEnabledControlCommand)
22
+ .de(de_UpdateEnabledControlCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateLandingZoneCommand, se_UpdateLandingZoneCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateLandingZoneCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateLandingZoneCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ControlTowerClient";
26
- const commandName = "UpdateLandingZoneCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSControlTowerApis",
35
- operation: "UpdateLandingZone",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateLandingZoneCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateLandingZoneCommand(output, context);
46
- }
7
+ export class UpdateLandingZoneCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSControlTowerApis", "UpdateLandingZone", {})
19
+ .n("ControlTowerClient", "UpdateLandingZoneCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateLandingZoneCommand)
22
+ .de(de_UpdateLandingZoneCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "controltower",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
5
4
  import { CreateLandingZoneInput, CreateLandingZoneOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateLandingZoneCommandInput extends CreateLandingZoneInput {
21
20
  */
22
21
  export interface CreateLandingZoneCommandOutput extends CreateLandingZoneOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateLandingZoneCommand_base: {
24
+ new (input: CreateLandingZoneCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLandingZoneCommandInput, CreateLandingZoneCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new landing zone. This API call starts an asynchronous operation that creates and configures a landing zone,
@@ -72,23 +75,5 @@ export interface CreateLandingZoneCommandOutput extends CreateLandingZoneOutput,
72
75
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
73
76
  *
74
77
  */
75
- export declare class CreateLandingZoneCommand extends $Command<CreateLandingZoneCommandInput, CreateLandingZoneCommandOutput, ControlTowerClientResolvedConfig> {
76
- readonly input: CreateLandingZoneCommandInput;
77
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
- /**
79
- * @public
80
- */
81
- constructor(input: CreateLandingZoneCommandInput);
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLandingZoneCommandInput, CreateLandingZoneCommandOutput>;
86
- /**
87
- * @internal
88
- */
89
- private serialize;
90
- /**
91
- * @internal
92
- */
93
- private deserialize;
78
+ export declare class CreateLandingZoneCommand extends CreateLandingZoneCommand_base {
94
79
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
5
4
  import { DeleteLandingZoneInput, DeleteLandingZoneOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteLandingZoneCommandInput extends DeleteLandingZoneInput {
21
20
  */
22
21
  export interface DeleteLandingZoneCommandOutput extends DeleteLandingZoneOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteLandingZoneCommand_base: {
24
+ new (input: DeleteLandingZoneCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLandingZoneCommandInput, DeleteLandingZoneCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Decommissions a landing zone. This API call starts an asynchronous operation that deletes Amazon Web Services Control Tower
@@ -70,23 +73,5 @@ export interface DeleteLandingZoneCommandOutput extends DeleteLandingZoneOutput,
70
73
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
71
74
  *
72
75
  */
73
- export declare class DeleteLandingZoneCommand extends $Command<DeleteLandingZoneCommandInput, DeleteLandingZoneCommandOutput, ControlTowerClientResolvedConfig> {
74
- readonly input: DeleteLandingZoneCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: DeleteLandingZoneCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLandingZoneCommandInput, DeleteLandingZoneCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class DeleteLandingZoneCommand extends DeleteLandingZoneCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
5
4
  import { DisableControlInput, DisableControlOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DisableControlCommandInput extends DisableControlInput {
21
20
  */
22
21
  export interface DisableControlCommandOutput extends DisableControlOutput, __MetadataBearer {
23
22
  }
23
+ declare const DisableControlCommand_base: {
24
+ new (input: DisableControlCommandInput): import("@smithy/smithy-client").CommandImpl<DisableControlCommandInput, DisableControlCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This API call turns off a control. It starts an asynchronous operation that deletes Amazon Web Services
@@ -77,23 +80,5 @@ export interface DisableControlCommandOutput extends DisableControlOutput, __Met
77
80
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
78
81
  *
79
82
  */
80
- export declare class DisableControlCommand extends $Command<DisableControlCommandInput, DisableControlCommandOutput, ControlTowerClientResolvedConfig> {
81
- readonly input: DisableControlCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: DisableControlCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableControlCommandInput, DisableControlCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class DisableControlCommand extends DisableControlCommand_base {
99
84
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
5
4
  import { EnableControlInput, EnableControlOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface EnableControlCommandInput extends EnableControlInput {
21
20
  */
22
21
  export interface EnableControlCommandOutput extends EnableControlOutput, __MetadataBearer {
23
22
  }
23
+ declare const EnableControlCommand_base: {
24
+ new (input: EnableControlCommandInput): import("@smithy/smithy-client").CommandImpl<EnableControlCommandInput, EnableControlCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>This API call activates a control. It starts an asynchronous operation that creates Amazon Web Services
@@ -87,23 +90,5 @@ export interface EnableControlCommandOutput extends EnableControlOutput, __Metad
87
90
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
88
91
  *
89
92
  */
90
- export declare class EnableControlCommand extends $Command<EnableControlCommandInput, EnableControlCommandOutput, ControlTowerClientResolvedConfig> {
91
- readonly input: EnableControlCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: EnableControlCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableControlCommandInput, EnableControlCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class EnableControlCommand extends EnableControlCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
5
4
  import { GetControlOperationInput, GetControlOperationOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetControlOperationCommandInput extends GetControlOperationInpu
21
20
  */
22
21
  export interface GetControlOperationCommandOutput extends GetControlOperationOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetControlOperationCommand_base: {
24
+ new (input: GetControlOperationCommandInput): import("@smithy/smithy-client").CommandImpl<GetControlOperationCommandInput, GetControlOperationCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns the status of a particular <code>EnableControl</code> or
@@ -76,23 +79,5 @@ export interface GetControlOperationCommandOutput extends GetControlOperationOut
76
79
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
77
80
  *
78
81
  */
79
- export declare class GetControlOperationCommand extends $Command<GetControlOperationCommandInput, GetControlOperationCommandOutput, ControlTowerClientResolvedConfig> {
80
- readonly input: GetControlOperationCommandInput;
81
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
- /**
83
- * @public
84
- */
85
- constructor(input: GetControlOperationCommandInput);
86
- /**
87
- * @internal
88
- */
89
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetControlOperationCommandInput, GetControlOperationCommandOutput>;
90
- /**
91
- * @internal
92
- */
93
- private serialize;
94
- /**
95
- * @internal
96
- */
97
- private deserialize;
82
+ export declare class GetControlOperationCommand extends GetControlOperationCommand_base {
98
83
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
5
4
  import { GetEnabledControlInput, GetEnabledControlOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetEnabledControlCommandInput extends GetEnabledControlInput {
21
20
  */
22
21
  export interface GetEnabledControlCommandOutput extends GetEnabledControlOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetEnabledControlCommand_base: {
24
+ new (input: GetEnabledControlCommandInput): import("@smithy/smithy-client").CommandImpl<GetEnabledControlCommandInput, GetEnabledControlCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves details about an enabled control. For usage examples, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html">
@@ -90,23 +93,5 @@ export interface GetEnabledControlCommandOutput extends GetEnabledControlOutput,
90
93
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
91
94
  *
92
95
  */
93
- export declare class GetEnabledControlCommand extends $Command<GetEnabledControlCommandInput, GetEnabledControlCommandOutput, ControlTowerClientResolvedConfig> {
94
- readonly input: GetEnabledControlCommandInput;
95
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
- /**
97
- * @public
98
- */
99
- constructor(input: GetEnabledControlCommandInput);
100
- /**
101
- * @internal
102
- */
103
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEnabledControlCommandInput, GetEnabledControlCommandOutput>;
104
- /**
105
- * @internal
106
- */
107
- private serialize;
108
- /**
109
- * @internal
110
- */
111
- private deserialize;
96
+ export declare class GetEnabledControlCommand extends GetEnabledControlCommand_base {
112
97
  }