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 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 >
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 >
@@ -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 ` ListLandingZonesCommand ` :
131
+ the commands you need, for example ` ListBaselinesCommand ` :
132
132
133
133
``` js
134
134
// ES5 example
135
- const { ControlTowerClient , ListLandingZonesCommand } = require (" @aws-sdk/client-controltower" );
135
+ const { ControlTowerClient , ListBaselinesCommand } = require (" @aws-sdk/client-controltower" );
136
136
```
137
137
138
138
``` ts
139
139
// ES6+ example
140
- import { ControlTowerClient , ListLandingZonesCommand } from " @aws-sdk/client-controltower" ;
140
+ import { ControlTowerClient , ListBaselinesCommand } 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 ListLandingZonesCommand (params);
159
+ const command = new ListBaselinesCommand (params);
160
160
```
161
161
162
162
#### Async/await
@@ -235,15 +235,15 @@ const client = new AWS.ControlTower({ region: "REGION" });
235
235
236
236
// async/await.
237
237
try {
238
- const data = await client .listLandingZones (params );
238
+ const data = await client .listBaselines (params );
239
239
// process data.
240
240
} catch (error ) {
241
241
// error handling.
242
242
}
243
243
244
244
// Promises.
245
245
client
246
- .listLandingZones (params )
246
+ .listBaselines (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 .listLandingZones (params , (err , data ) => {
255
+ client .listBaselines (params , (err , data ) => {
256
256
// process err and data.
257
257
});
258
258
```
@@ -323,6 +323,14 @@ DeleteLandingZone
323
323
324
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
325
326
+ </details >
327
+ <details >
328
+ <summary >
329
+ DisableBaseline
330
+ </summary >
331
+
332
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/DisableBaselineCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/DisableBaselineCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/DisableBaselineCommandOutput/ )
333
+
326
334
</details >
327
335
<details >
328
336
<summary >
@@ -331,6 +339,14 @@ DisableControl
331
339
332
340
[ 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/ )
333
341
342
+ </details >
343
+ <details >
344
+ <summary >
345
+ EnableBaseline
346
+ </summary >
347
+
348
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/EnableBaselineCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/EnableBaselineCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/EnableBaselineCommandOutput/ )
349
+
334
350
</details >
335
351
<details >
336
352
<summary >
@@ -339,6 +355,22 @@ EnableControl
339
355
340
356
[ 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/ )
341
357
358
+ </details >
359
+ <details >
360
+ <summary >
361
+ GetBaseline
362
+ </summary >
363
+
364
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/GetBaselineCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetBaselineCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetBaselineCommandOutput/ )
365
+
366
+ </details >
367
+ <details >
368
+ <summary >
369
+ GetBaselineOperation
370
+ </summary >
371
+
372
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/GetBaselineOperationCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetBaselineOperationCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetBaselineOperationCommandOutput/ )
373
+
342
374
</details >
343
375
<details >
344
376
<summary >
@@ -347,6 +379,14 @@ GetControlOperation
347
379
348
380
[ 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/ )
349
381
382
+ </details >
383
+ <details >
384
+ <summary >
385
+ GetEnabledBaseline
386
+ </summary >
387
+
388
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/GetEnabledBaselineCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetEnabledBaselineCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/GetEnabledBaselineCommandOutput/ )
389
+
350
390
</details >
351
391
<details >
352
392
<summary >
@@ -371,6 +411,22 @@ GetLandingZoneOperation
371
411
372
412
[ 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/ )
373
413
414
+ </details >
415
+ <details >
416
+ <summary >
417
+ ListBaselines
418
+ </summary >
419
+
420
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/ListBaselinesCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListBaselinesCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListBaselinesCommandOutput/ )
421
+
422
+ </details >
423
+ <details >
424
+ <summary >
425
+ ListEnabledBaselines
426
+ </summary >
427
+
428
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/ListEnabledBaselinesCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListEnabledBaselinesCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListEnabledBaselinesCommandOutput/ )
429
+
374
430
</details >
375
431
<details >
376
432
<summary >
@@ -395,6 +451,14 @@ ListTagsForResource
395
451
396
452
[ 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
453
454
+ </details >
455
+ <details >
456
+ <summary >
457
+ ResetEnabledBaseline
458
+ </summary >
459
+
460
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/ResetEnabledBaselineCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ResetEnabledBaselineCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ResetEnabledBaselineCommandOutput/ )
461
+
398
462
</details >
399
463
<details >
400
464
<summary >
@@ -419,6 +483,14 @@ UntagResource
419
483
420
484
[ 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
485
486
+ </details >
487
+ <details >
488
+ <summary >
489
+ UpdateEnabledBaseline
490
+ </summary >
491
+
492
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/UpdateEnabledBaselineCommand/ ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/UpdateEnabledBaselineCommandInput/ ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/UpdateEnabledBaselineCommandOutput/ )
493
+
422
494
</details >
423
495
<details >
424
496
<summary >
0 commit comments