@aws-sdk/client-controltower 3.454.0 → 3.459.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/README.md +95 -31
  2. package/dist-cjs/ControlTower.js +16 -0
  3. package/dist-cjs/commands/CreateLandingZoneCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteLandingZoneCommand.js +51 -0
  5. package/dist-cjs/commands/GetLandingZoneCommand.js +51 -0
  6. package/dist-cjs/commands/GetLandingZoneOperationCommand.js +51 -0
  7. package/dist-cjs/commands/ListLandingZonesCommand.js +51 -0
  8. package/dist-cjs/commands/ResetLandingZoneCommand.js +51 -0
  9. package/dist-cjs/commands/UpdateEnabledControlCommand.js +51 -0
  10. package/dist-cjs/commands/UpdateLandingZoneCommand.js +51 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +22 -1
  13. package/dist-cjs/pagination/ListLandingZonesPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +682 -56
  16. package/dist-es/ControlTower.js +16 -0
  17. package/dist-es/commands/CreateLandingZoneCommand.js +47 -0
  18. package/dist-es/commands/DeleteLandingZoneCommand.js +47 -0
  19. package/dist-es/commands/GetLandingZoneCommand.js +47 -0
  20. package/dist-es/commands/GetLandingZoneOperationCommand.js +47 -0
  21. package/dist-es/commands/ListLandingZonesCommand.js +47 -0
  22. package/dist-es/commands/ResetLandingZoneCommand.js +47 -0
  23. package/dist-es/commands/UpdateEnabledControlCommand.js +47 -0
  24. package/dist-es/commands/UpdateLandingZoneCommand.js +47 -0
  25. package/dist-es/commands/index.js +8 -0
  26. package/dist-es/models/models_0.js +21 -0
  27. package/dist-es/pagination/ListLandingZonesPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_restJson1.js +659 -49
  30. package/dist-types/ControlTower.d.ts +72 -16
  31. package/dist-types/ControlTowerClient.d.ts +26 -18
  32. package/dist-types/commands/CreateLandingZoneCommand.d.ts +94 -0
  33. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +92 -0
  34. package/dist-types/commands/DisableControlCommand.d.ts +9 -9
  35. package/dist-types/commands/EnableControlCommand.d.ts +15 -9
  36. package/dist-types/commands/GetControlOperationCommand.d.ts +6 -6
  37. package/dist-types/commands/GetEnabledControlCommand.d.ts +14 -8
  38. package/dist-types/commands/GetLandingZoneCommand.d.ts +97 -0
  39. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +95 -0
  40. package/dist-types/commands/ListEnabledControlsCommand.d.ts +9 -9
  41. package/dist-types/commands/ListLandingZonesCommand.d.ts +93 -0
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
  43. package/dist-types/commands/ResetLandingZoneCommand.d.ts +92 -0
  44. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  45. package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
  46. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +107 -0
  47. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +95 -0
  48. package/dist-types/commands/index.d.ts +8 -0
  49. package/dist-types/index.d.ts +16 -16
  50. package/dist-types/models/models_0.d.ts +472 -29
  51. package/dist-types/pagination/ListLandingZonesPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +1 -0
  53. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  54. package/dist-types/ts3.4/ControlTower.d.ts +136 -0
  55. package/dist-types/ts3.4/ControlTowerClient.d.ts +50 -2
  56. package/dist-types/ts3.4/commands/CreateLandingZoneCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/DeleteLandingZoneCommand.d.ts +38 -0
  58. package/dist-types/ts3.4/commands/GetLandingZoneCommand.d.ts +35 -0
  59. package/dist-types/ts3.4/commands/GetLandingZoneOperationCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/ListLandingZonesCommand.d.ts +38 -0
  61. package/dist-types/ts3.4/commands/ResetLandingZoneCommand.d.ts +38 -0
  62. package/dist-types/ts3.4/commands/UpdateEnabledControlCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/UpdateLandingZoneCommand.d.ts +38 -0
  64. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +117 -0
  66. package/dist-types/ts3.4/pagination/ListLandingZonesPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  69. package/package.json +3 -3
package/README.md CHANGED
@@ -6,8 +6,8 @@
6
6
 
7
7
  AWS SDK for JavaScript ControlTower Client for Node.js, Browser and React Native.
8
8
 
9
- <p>These interfaces allow you to apply the AWS library of pre-defined
10
- <i>controls</i> to your organizational units, programmatically. In AWS Control Tower, the terms "control" and "guardrail" are synonyms.</p>
9
+ <p>These interfaces allow you to apply the Amazon Web Services library of pre-defined
10
+ <i>controls</i> to your organizational units, programmatically. In Amazon Web Services Control Tower, the terms "control" and "guardrail" are synonyms.</p>
11
11
  <p>To call these APIs, you'll need to know:</p>
12
12
  <ul>
13
13
  <li>
@@ -21,18 +21,18 @@ AWS SDK for JavaScript ControlTower Client for Node.js, Browser and React Native
21
21
  </li>
22
22
  </ul>
23
23
  <p>
24
- <b>To get the <code>controlIdentifier</code> for your AWS Control Tower
24
+ <b>To get the <code>controlIdentifier</code> for your Amazon Web Services Control Tower
25
25
  control:</b>
26
26
  </p>
27
27
  <p>The <code>controlIdentifier</code> is an ARN that is specified for each
28
28
  control. You can view the <code>controlIdentifier</code> in the console on the <b>Control details</b> page, as well as in the documentation.</p>
29
- <p>The <code>controlIdentifier</code> is unique in each AWS Region for each control. You can
30
- find the <code>controlIdentifier</code> for each Region and control in the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-metadata-tables.html">Tables of control metadata</a> in the <i>AWS Control Tower User Guide.</i>
29
+ <p>The <code>controlIdentifier</code> is unique in each Amazon Web Services Region for each control. You can
30
+ find the <code>controlIdentifier</code> for each Region and control in the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-metadata-tables.html">Tables of control metadata</a> in the <i>Amazon Web Services Control Tower User Guide.</i>
31
31
  </p>
32
- <p>A quick-reference list of control identifers for the AWS Control Tower legacy <i>Strongly recommended</i> and
32
+ <p>A quick-reference list of control identifers for the Amazon Web Services Control Tower legacy <i>Strongly recommended</i> and
33
33
  <i>Elective</i> controls is given in <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-identifiers.html.html">Resource identifiers for
34
34
  APIs and controls</a> in the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-identifiers.html">Controls reference guide section</a>
35
- of the <i>AWS Control Tower User Guide</i>. Remember that <i>Mandatory</i> controls
35
+ of the <i>Amazon Web Services Control Tower User Guide</i>. Remember that <i>Mandatory</i> controls
36
36
  cannot be added or removed.</p>
37
37
  <note>
38
38
  <p>
@@ -50,7 +50,7 @@ cannot be added or removed.</p>
50
50
  <b>To get the <code>targetIdentifier</code>:</b>
51
51
  </p>
52
52
  <p>The <code>targetIdentifier</code> is the ARN for an OU.</p>
53
- <p>In the AWS Organizations console, you can find the ARN for the OU on the <b>Organizational unit details</b> page associated with that OU.</p>
53
+ <p>In the Amazon Web Services Organizations console, you can find the ARN for the OU on the <b>Organizational unit details</b> page associated with that OU.</p>
54
54
  <note>
55
55
  <p>
56
56
  <b>OU ARN format:</b>
@@ -95,7 +95,7 @@ cannot be added or removed.</p>
95
95
  </li>
96
96
  <li>
97
97
  <p>
98
- <a href="https://docs.aws.amazon.com/controltower/latest/userguide/creating-resources-with-cloudformation.html">Creating AWS Control Tower resources with AWS CloudFormation</a>
98
+ <a href="https://docs.aws.amazon.com/controltower/latest/userguide/creating-resources-with-cloudformation.html">Creating Amazon Web Services Control Tower resources with Amazon Web Services CloudFormation</a>
99
99
  </p>
100
100
  </li>
101
101
  </ul>
@@ -104,13 +104,13 @@ cannot be added or removed.</p>
104
104
  <p>
105
105
  <b>Recording API Requests</b>
106
106
  </p>
107
- <p>AWS Control Tower supports AWS CloudTrail, a service that records AWS API calls for your
108
- AWS account and delivers log files to an Amazon S3 bucket. By using information collected by
109
- CloudTrail, you can determine which requests the AWS Control Tower service received, who made
110
- the request and when, and so on. For more about AWS Control Tower and its support for
111
- CloudTrail, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/logging-using-cloudtrail.html">Logging AWS Control Tower
112
- Actions with AWS CloudTrail</a> in the AWS Control Tower User Guide. To learn more about
113
- CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User
107
+ <p>Amazon Web Services Control Tower supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your
108
+ Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected by
109
+ CloudTrail, you can determine which requests the Amazon Web Services Control Tower service received, who made
110
+ the request and when, and so on. For more about Amazon Web Services Control Tower and its support for
111
+ CloudTrail, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/logging-using-cloudtrail.html">Logging Amazon Web Services Control Tower
112
+ Actions with Amazon Web Services CloudTrail</a> in the Amazon Web Services Control Tower User Guide. To learn more about
113
+ CloudTrail, including how to turn it on and find your log files, see the Amazon Web Services CloudTrail User
114
114
  Guide.</p>
115
115
 
116
116
  ## Installing
@@ -128,16 +128,16 @@ using your favorite package manager:
128
128
 
129
129
  The AWS SDK is modulized by clients and commands.
130
130
  To send a request, you only need to import the `ControlTowerClient` and
131
- the commands you need, for example `ListEnabledControlsCommand`:
131
+ the commands you need, for example `ListLandingZonesCommand`:
132
132
 
133
133
  ```js
134
134
  // ES5 example
135
- const { ControlTowerClient, ListEnabledControlsCommand } = require("@aws-sdk/client-controltower");
135
+ const { ControlTowerClient, ListLandingZonesCommand } = require("@aws-sdk/client-controltower");
136
136
  ```
137
137
 
138
138
  ```ts
139
139
  // ES6+ example
140
- import { ControlTowerClient, ListEnabledControlsCommand } from "@aws-sdk/client-controltower";
140
+ import { ControlTowerClient, ListLandingZonesCommand } from "@aws-sdk/client-controltower";
141
141
  ```
142
142
 
143
143
  ### Usage
@@ -156,7 +156,7 @@ const client = new ControlTowerClient({ region: "REGION" });
156
156
  const params = {
157
157
  /** input parameters */
158
158
  };
159
- const command = new ListEnabledControlsCommand(params);
159
+ const command = new ListLandingZonesCommand(params);
160
160
  ```
161
161
 
162
162
  #### Async/await
@@ -235,7 +235,7 @@ const client = new AWS.ControlTower({ region: "REGION" });
235
235
 
236
236
  // async/await.
237
237
  try {
238
- const data = await client.listEnabledControls(params);
238
+ const data = await client.listLandingZones(params);
239
239
  // process data.
240
240
  } catch (error) {
241
241
  // error handling.
@@ -243,7 +243,7 @@ try {
243
243
 
244
244
  // Promises.
245
245
  client
246
- .listEnabledControls(params)
246
+ .listLandingZones(params)
247
247
  .then((data) => {
248
248
  // process data.
249
249
  })
@@ -252,7 +252,7 @@ client
252
252
  });
253
253
 
254
254
  // callbacks.
255
- client.listEnabledControls(params, (err, data) => {
255
+ client.listLandingZones(params, (err, data) => {
256
256
  // process err and data.
257
257
  });
258
258
  ```
@@ -308,12 +308,28 @@ see LICENSE for more information.
308
308
 
309
309
  ## Client Commands (Operations List)
310
310
 
311
+ <details>
312
+ <summary>
313
+ CreateLandingZone
314
+ </summary>
315
+
316
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/CreateLandingZoneCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/CreateLandingZoneCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/CreateLandingZoneCommandOutput/)
317
+
318
+ </details>
319
+ <details>
320
+ <summary>
321
+ DeleteLandingZone
322
+ </summary>
323
+
324
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/DeleteLandingZoneCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/DeleteLandingZoneCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/DeleteLandingZoneCommandOutput/)
325
+
326
+ </details>
311
327
  <details>
312
328
  <summary>
313
329
  DisableControl
314
330
  </summary>
315
331
 
316
- [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/classes/disablecontrolcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/disablecontrolcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/disablecontrolcommandoutput.html)
332
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/DisableControlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/DisableControlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/DisableControlCommandOutput/)
317
333
 
318
334
  </details>
319
335
  <details>
@@ -321,7 +337,7 @@ DisableControl
321
337
  EnableControl
322
338
  </summary>
323
339
 
324
- [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/classes/enablecontrolcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/enablecontrolcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/enablecontrolcommandoutput.html)
340
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/EnableControlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/EnableControlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/EnableControlCommandOutput/)
325
341
 
326
342
  </details>
327
343
  <details>
@@ -329,7 +345,7 @@ EnableControl
329
345
  GetControlOperation
330
346
  </summary>
331
347
 
332
- [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/classes/getcontroloperationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/getcontroloperationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/getcontroloperationcommandoutput.html)
348
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/GetControlOperationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetControlOperationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetControlOperationCommandOutput/)
333
349
 
334
350
  </details>
335
351
  <details>
@@ -337,7 +353,23 @@ GetControlOperation
337
353
  GetEnabledControl
338
354
  </summary>
339
355
 
340
- [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/classes/getenabledcontrolcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/getenabledcontrolcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/getenabledcontrolcommandoutput.html)
356
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/GetEnabledControlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetEnabledControlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetEnabledControlCommandOutput/)
357
+
358
+ </details>
359
+ <details>
360
+ <summary>
361
+ GetLandingZone
362
+ </summary>
363
+
364
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/GetLandingZoneCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetLandingZoneCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetLandingZoneCommandOutput/)
365
+
366
+ </details>
367
+ <details>
368
+ <summary>
369
+ GetLandingZoneOperation
370
+ </summary>
371
+
372
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/GetLandingZoneOperationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetLandingZoneOperationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetLandingZoneOperationCommandOutput/)
341
373
 
342
374
  </details>
343
375
  <details>
@@ -345,7 +377,15 @@ GetEnabledControl
345
377
  ListEnabledControls
346
378
  </summary>
347
379
 
348
- [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/classes/listenabledcontrolscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/listenabledcontrolscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/listenabledcontrolscommandoutput.html)
380
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/ListEnabledControlsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListEnabledControlsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListEnabledControlsCommandOutput/)
381
+
382
+ </details>
383
+ <details>
384
+ <summary>
385
+ ListLandingZones
386
+ </summary>
387
+
388
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/ListLandingZonesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListLandingZonesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListLandingZonesCommandOutput/)
349
389
 
350
390
  </details>
351
391
  <details>
@@ -353,7 +393,15 @@ ListEnabledControls
353
393
  ListTagsForResource
354
394
  </summary>
355
395
 
356
- [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/classes/listtagsforresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/listtagsforresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/listtagsforresourcecommandoutput.html)
396
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListTagsForResourceCommandOutput/)
397
+
398
+ </details>
399
+ <details>
400
+ <summary>
401
+ ResetLandingZone
402
+ </summary>
403
+
404
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/ResetLandingZoneCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ResetLandingZoneCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ResetLandingZoneCommandOutput/)
357
405
 
358
406
  </details>
359
407
  <details>
@@ -361,7 +409,7 @@ ListTagsForResource
361
409
  TagResource
362
410
  </summary>
363
411
 
364
- [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/classes/tagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/tagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/tagresourcecommandoutput.html)
412
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/TagResourceCommandOutput/)
365
413
 
366
414
  </details>
367
415
  <details>
@@ -369,6 +417,22 @@ TagResource
369
417
  UntagResource
370
418
  </summary>
371
419
 
372
- [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/classes/untagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/untagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-controltower/interfaces/untagresourcecommandoutput.html)
420
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/UntagResourceCommandOutput/)
421
+
422
+ </details>
423
+ <details>
424
+ <summary>
425
+ UpdateEnabledControl
426
+ </summary>
427
+
428
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/UpdateEnabledControlCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/UpdateEnabledControlCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/UpdateEnabledControlCommandOutput/)
429
+
430
+ </details>
431
+ <details>
432
+ <summary>
433
+ UpdateLandingZone
434
+ </summary>
435
+
436
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/UpdateLandingZoneCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/UpdateLandingZoneCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/UpdateLandingZoneCommandOutput/)
373
437
 
374
438
  </details>
@@ -2,24 +2,40 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ControlTower = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
+ const CreateLandingZoneCommand_1 = require("./commands/CreateLandingZoneCommand");
6
+ const DeleteLandingZoneCommand_1 = require("./commands/DeleteLandingZoneCommand");
5
7
  const DisableControlCommand_1 = require("./commands/DisableControlCommand");
6
8
  const EnableControlCommand_1 = require("./commands/EnableControlCommand");
7
9
  const GetControlOperationCommand_1 = require("./commands/GetControlOperationCommand");
8
10
  const GetEnabledControlCommand_1 = require("./commands/GetEnabledControlCommand");
11
+ const GetLandingZoneCommand_1 = require("./commands/GetLandingZoneCommand");
12
+ const GetLandingZoneOperationCommand_1 = require("./commands/GetLandingZoneOperationCommand");
9
13
  const ListEnabledControlsCommand_1 = require("./commands/ListEnabledControlsCommand");
14
+ const ListLandingZonesCommand_1 = require("./commands/ListLandingZonesCommand");
10
15
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
16
+ const ResetLandingZoneCommand_1 = require("./commands/ResetLandingZoneCommand");
11
17
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
12
18
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
19
+ const UpdateEnabledControlCommand_1 = require("./commands/UpdateEnabledControlCommand");
20
+ const UpdateLandingZoneCommand_1 = require("./commands/UpdateLandingZoneCommand");
13
21
  const ControlTowerClient_1 = require("./ControlTowerClient");
14
22
  const commands = {
23
+ CreateLandingZoneCommand: CreateLandingZoneCommand_1.CreateLandingZoneCommand,
24
+ DeleteLandingZoneCommand: DeleteLandingZoneCommand_1.DeleteLandingZoneCommand,
15
25
  DisableControlCommand: DisableControlCommand_1.DisableControlCommand,
16
26
  EnableControlCommand: EnableControlCommand_1.EnableControlCommand,
17
27
  GetControlOperationCommand: GetControlOperationCommand_1.GetControlOperationCommand,
18
28
  GetEnabledControlCommand: GetEnabledControlCommand_1.GetEnabledControlCommand,
29
+ GetLandingZoneCommand: GetLandingZoneCommand_1.GetLandingZoneCommand,
30
+ GetLandingZoneOperationCommand: GetLandingZoneOperationCommand_1.GetLandingZoneOperationCommand,
19
31
  ListEnabledControlsCommand: ListEnabledControlsCommand_1.ListEnabledControlsCommand,
32
+ ListLandingZonesCommand: ListLandingZonesCommand_1.ListLandingZonesCommand,
20
33
  ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
34
+ ResetLandingZoneCommand: ResetLandingZoneCommand_1.ResetLandingZoneCommand,
21
35
  TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
22
36
  UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
37
+ UpdateEnabledControlCommand: UpdateEnabledControlCommand_1.UpdateEnabledControlCommand,
38
+ UpdateLandingZoneCommand: UpdateLandingZoneCommand_1.UpdateLandingZoneCommand,
23
39
  };
24
40
  class ControlTower extends ControlTowerClient_1.ControlTowerClient {
25
41
  }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateLandingZoneCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class CreateLandingZoneCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLandingZoneCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ControlTowerClient";
29
+ const commandName = "CreateLandingZoneCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSControlTowerApis",
38
+ operation: "CreateLandingZone",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_CreateLandingZoneCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_CreateLandingZoneCommand)(output, context);
49
+ }
50
+ }
51
+ exports.CreateLandingZoneCommand = CreateLandingZoneCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteLandingZoneCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteLandingZoneCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteLandingZoneCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ControlTowerClient";
29
+ const commandName = "DeleteLandingZoneCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSControlTowerApis",
38
+ operation: "DeleteLandingZone",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteLandingZoneCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteLandingZoneCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteLandingZoneCommand = DeleteLandingZoneCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetLandingZoneCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetLandingZoneCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLandingZoneCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ControlTowerClient";
29
+ const commandName = "GetLandingZoneCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSControlTowerApis",
38
+ operation: "GetLandingZone",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_GetLandingZoneCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_GetLandingZoneCommand)(output, context);
49
+ }
50
+ }
51
+ exports.GetLandingZoneCommand = GetLandingZoneCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetLandingZoneOperationCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetLandingZoneOperationCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLandingZoneOperationCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ControlTowerClient";
29
+ const commandName = "GetLandingZoneOperationCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSControlTowerApis",
38
+ operation: "GetLandingZoneOperation",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_GetLandingZoneOperationCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_GetLandingZoneOperationCommand)(output, context);
49
+ }
50
+ }
51
+ exports.GetLandingZoneOperationCommand = GetLandingZoneOperationCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListLandingZonesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListLandingZonesCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListLandingZonesCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ControlTowerClient";
29
+ const commandName = "ListLandingZonesCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSControlTowerApis",
38
+ operation: "ListLandingZones",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListLandingZonesCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListLandingZonesCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListLandingZonesCommand = ListLandingZonesCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResetLandingZoneCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ResetLandingZoneCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResetLandingZoneCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ControlTowerClient";
29
+ const commandName = "ResetLandingZoneCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSControlTowerApis",
38
+ operation: "ResetLandingZone",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ResetLandingZoneCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ResetLandingZoneCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ResetLandingZoneCommand = ResetLandingZoneCommand;