@aws-sdk/client-controltower 3.952.0 → 3.953.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 (48) hide show
  1. package/dist-cjs/index.js +401 -277
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateLandingZoneCommand.js +2 -2
  4. package/dist-es/commands/DeleteLandingZoneCommand.js +2 -2
  5. package/dist-es/commands/DisableBaselineCommand.js +2 -2
  6. package/dist-es/commands/DisableControlCommand.js +2 -2
  7. package/dist-es/commands/EnableBaselineCommand.js +2 -2
  8. package/dist-es/commands/EnableControlCommand.js +2 -2
  9. package/dist-es/commands/GetBaselineCommand.js +2 -2
  10. package/dist-es/commands/GetBaselineOperationCommand.js +2 -2
  11. package/dist-es/commands/GetControlOperationCommand.js +2 -2
  12. package/dist-es/commands/GetEnabledBaselineCommand.js +2 -2
  13. package/dist-es/commands/GetEnabledControlCommand.js +2 -2
  14. package/dist-es/commands/GetLandingZoneCommand.js +2 -2
  15. package/dist-es/commands/GetLandingZoneOperationCommand.js +2 -2
  16. package/dist-es/commands/ListBaselinesCommand.js +2 -2
  17. package/dist-es/commands/ListControlOperationsCommand.js +2 -2
  18. package/dist-es/commands/ListEnabledBaselinesCommand.js +2 -2
  19. package/dist-es/commands/ListEnabledControlsCommand.js +2 -2
  20. package/dist-es/commands/ListLandingZoneOperationsCommand.js +2 -2
  21. package/dist-es/commands/ListLandingZonesCommand.js +2 -2
  22. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  23. package/dist-es/commands/ResetEnabledBaselineCommand.js +2 -2
  24. package/dist-es/commands/ResetEnabledControlCommand.js +2 -2
  25. package/dist-es/commands/ResetLandingZoneCommand.js +2 -2
  26. package/dist-es/commands/TagResourceCommand.js +2 -2
  27. package/dist-es/commands/UntagResourceCommand.js +2 -2
  28. package/dist-es/commands/UpdateEnabledBaselineCommand.js +2 -2
  29. package/dist-es/commands/UpdateEnabledControlCommand.js +2 -2
  30. package/dist-es/commands/UpdateLandingZoneCommand.js +2 -2
  31. package/dist-es/index.js +1 -0
  32. package/dist-es/runtimeConfig.shared.js +6 -1
  33. package/dist-es/schemas/schemas_0.js +248 -246
  34. package/dist-types/ControlTowerClient.d.ts +1 -10
  35. package/dist-types/index.d.ts +1 -0
  36. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  37. package/dist-types/runtimeConfig.d.ts +6 -2
  38. package/dist-types/runtimeConfig.native.d.ts +6 -2
  39. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  40. package/dist-types/schemas/schemas_0.d.ts +123 -152
  41. package/dist-types/ts3.4/ControlTowerClient.d.ts +0 -4
  42. package/dist-types/ts3.4/index.d.ts +1 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +122 -152
  48. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.controltower" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.controltower",
32
+ version: "2018-05-10",
33
+ serviceTarget: "AWSControlTowerApis",
34
+ },
30
35
  serviceId: config?.serviceId ?? "ControlTower",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateLandingZone } from "../schemas/schemas_0";
4
+ import { CreateLandingZone$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateLandingZoneCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateLandingZoneCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "CreateLandingZone", {})
13
13
  .n("ControlTowerClient", "CreateLandingZoneCommand")
14
- .sc(CreateLandingZone)
14
+ .sc(CreateLandingZone$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteLandingZone } from "../schemas/schemas_0";
4
+ import { DeleteLandingZone$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteLandingZoneCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteLandingZoneCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "DeleteLandingZone", {})
13
13
  .n("ControlTowerClient", "DeleteLandingZoneCommand")
14
- .sc(DeleteLandingZone)
14
+ .sc(DeleteLandingZone$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DisableBaseline } from "../schemas/schemas_0";
4
+ import { DisableBaseline$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisableBaselineCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisableBaselineCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "DisableBaseline", {})
13
13
  .n("ControlTowerClient", "DisableBaselineCommand")
14
- .sc(DisableBaseline)
14
+ .sc(DisableBaseline$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DisableControl } from "../schemas/schemas_0";
4
+ import { DisableControl$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisableControlCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisableControlCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "DisableControl", {})
13
13
  .n("ControlTowerClient", "DisableControlCommand")
14
- .sc(DisableControl)
14
+ .sc(DisableControl$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { EnableBaseline } from "../schemas/schemas_0";
4
+ import { EnableBaseline$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class EnableBaselineCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class EnableBaselineCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "EnableBaseline", {})
13
13
  .n("ControlTowerClient", "EnableBaselineCommand")
14
- .sc(EnableBaseline)
14
+ .sc(EnableBaseline$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { EnableControl } from "../schemas/schemas_0";
4
+ import { EnableControl$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class EnableControlCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class EnableControlCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "EnableControl", {})
13
13
  .n("ControlTowerClient", "EnableControlCommand")
14
- .sc(EnableControl)
14
+ .sc(EnableControl$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetBaseline } from "../schemas/schemas_0";
4
+ import { GetBaseline$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetBaselineCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetBaselineCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "GetBaseline", {})
13
13
  .n("ControlTowerClient", "GetBaselineCommand")
14
- .sc(GetBaseline)
14
+ .sc(GetBaseline$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetBaselineOperation } from "../schemas/schemas_0";
4
+ import { GetBaselineOperation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetBaselineOperationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetBaselineOperationCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "GetBaselineOperation", {})
13
13
  .n("ControlTowerClient", "GetBaselineOperationCommand")
14
- .sc(GetBaselineOperation)
14
+ .sc(GetBaselineOperation$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetControlOperation } from "../schemas/schemas_0";
4
+ import { GetControlOperation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetControlOperationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetControlOperationCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "GetControlOperation", {})
13
13
  .n("ControlTowerClient", "GetControlOperationCommand")
14
- .sc(GetControlOperation)
14
+ .sc(GetControlOperation$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetEnabledBaseline } from "../schemas/schemas_0";
4
+ import { GetEnabledBaseline$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetEnabledBaselineCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetEnabledBaselineCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "GetEnabledBaseline", {})
13
13
  .n("ControlTowerClient", "GetEnabledBaselineCommand")
14
- .sc(GetEnabledBaseline)
14
+ .sc(GetEnabledBaseline$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetEnabledControl } from "../schemas/schemas_0";
4
+ import { GetEnabledControl$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetEnabledControlCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetEnabledControlCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "GetEnabledControl", {})
13
13
  .n("ControlTowerClient", "GetEnabledControlCommand")
14
- .sc(GetEnabledControl)
14
+ .sc(GetEnabledControl$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetLandingZone } from "../schemas/schemas_0";
4
+ import { GetLandingZone$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetLandingZoneCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetLandingZoneCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "GetLandingZone", {})
13
13
  .n("ControlTowerClient", "GetLandingZoneCommand")
14
- .sc(GetLandingZone)
14
+ .sc(GetLandingZone$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetLandingZoneOperation } from "../schemas/schemas_0";
4
+ import { GetLandingZoneOperation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetLandingZoneOperationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetLandingZoneOperationCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "GetLandingZoneOperation", {})
13
13
  .n("ControlTowerClient", "GetLandingZoneOperationCommand")
14
- .sc(GetLandingZoneOperation)
14
+ .sc(GetLandingZoneOperation$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListBaselines } from "../schemas/schemas_0";
4
+ import { ListBaselines$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListBaselinesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListBaselinesCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ListBaselines", {})
13
13
  .n("ControlTowerClient", "ListBaselinesCommand")
14
- .sc(ListBaselines)
14
+ .sc(ListBaselines$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListControlOperations } from "../schemas/schemas_0";
4
+ import { ListControlOperations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListControlOperationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListControlOperationsCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ListControlOperations", {})
13
13
  .n("ControlTowerClient", "ListControlOperationsCommand")
14
- .sc(ListControlOperations)
14
+ .sc(ListControlOperations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListEnabledBaselines } from "../schemas/schemas_0";
4
+ import { ListEnabledBaselines$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListEnabledBaselinesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListEnabledBaselinesCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ListEnabledBaselines", {})
13
13
  .n("ControlTowerClient", "ListEnabledBaselinesCommand")
14
- .sc(ListEnabledBaselines)
14
+ .sc(ListEnabledBaselines$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListEnabledControls } from "../schemas/schemas_0";
4
+ import { ListEnabledControls$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListEnabledControlsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListEnabledControlsCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ListEnabledControls", {})
13
13
  .n("ControlTowerClient", "ListEnabledControlsCommand")
14
- .sc(ListEnabledControls)
14
+ .sc(ListEnabledControls$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListLandingZoneOperations } from "../schemas/schemas_0";
4
+ import { ListLandingZoneOperations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListLandingZoneOperationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListLandingZoneOperationsCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ListLandingZoneOperations", {})
13
13
  .n("ControlTowerClient", "ListLandingZoneOperationsCommand")
14
- .sc(ListLandingZoneOperations)
14
+ .sc(ListLandingZoneOperations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListLandingZones } from "../schemas/schemas_0";
4
+ import { ListLandingZones$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListLandingZonesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListLandingZonesCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ListLandingZones", {})
13
13
  .n("ControlTowerClient", "ListLandingZonesCommand")
14
- .sc(ListLandingZones)
14
+ .sc(ListLandingZones$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ListTagsForResource", {})
13
13
  .n("ControlTowerClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ResetEnabledBaseline } from "../schemas/schemas_0";
4
+ import { ResetEnabledBaseline$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ResetEnabledBaselineCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ResetEnabledBaselineCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ResetEnabledBaseline", {})
13
13
  .n("ControlTowerClient", "ResetEnabledBaselineCommand")
14
- .sc(ResetEnabledBaseline)
14
+ .sc(ResetEnabledBaseline$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ResetEnabledControl } from "../schemas/schemas_0";
4
+ import { ResetEnabledControl$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ResetEnabledControlCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ResetEnabledControlCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ResetEnabledControl", {})
13
13
  .n("ControlTowerClient", "ResetEnabledControlCommand")
14
- .sc(ResetEnabledControl)
14
+ .sc(ResetEnabledControl$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ResetLandingZone } from "../schemas/schemas_0";
4
+ import { ResetLandingZone$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ResetLandingZoneCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ResetLandingZoneCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "ResetLandingZone", {})
13
13
  .n("ControlTowerClient", "ResetLandingZoneCommand")
14
- .sc(ResetLandingZone)
14
+ .sc(ResetLandingZone$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "TagResource", {})
13
13
  .n("ControlTowerClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "UntagResource", {})
13
13
  .n("ControlTowerClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateEnabledBaseline } from "../schemas/schemas_0";
4
+ import { UpdateEnabledBaseline$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateEnabledBaselineCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateEnabledBaselineCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "UpdateEnabledBaseline", {})
13
13
  .n("ControlTowerClient", "UpdateEnabledBaselineCommand")
14
- .sc(UpdateEnabledBaseline)
14
+ .sc(UpdateEnabledBaseline$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateEnabledControl } from "../schemas/schemas_0";
4
+ import { UpdateEnabledControl$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateEnabledControlCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateEnabledControlCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "UpdateEnabledControl", {})
13
13
  .n("ControlTowerClient", "UpdateEnabledControlCommand")
14
- .sc(UpdateEnabledControl)
14
+ .sc(UpdateEnabledControl$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLandingZone } from "../schemas/schemas_0";
4
+ import { UpdateLandingZone$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLandingZoneCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLandingZoneCommand extends $Command
11
11
  })
12
12
  .s("AWSControlTowerApis", "UpdateLandingZone", {})
13
13
  .n("ControlTowerClient", "UpdateLandingZoneCommand")
14
- .sc(UpdateLandingZone)
14
+ .sc(UpdateLandingZone$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ControlTowerClient";
2
2
  export * from "./ControlTower";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.controltower" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.controltower",
29
+ version: "2018-05-10",
30
+ serviceTarget: "AWSControlTowerApis",
31
+ },
27
32
  serviceId: config?.serviceId ?? "ControlTower",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,