@aws-sdk/client-controltower 3.806.0 → 3.809.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 (35) hide show
  1. package/README.md +1 -385
  2. package/dist-cjs/index.js +7 -0
  3. package/dist-es/models/models_0.js +4 -0
  4. package/dist-es/protocols/Aws_restJson1.js +1 -0
  5. package/dist-types/ControlTower.d.ts +1 -385
  6. package/dist-types/ControlTowerClient.d.ts +1 -385
  7. package/dist-types/commands/CreateLandingZoneCommand.d.ts +1 -2
  8. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +1 -2
  9. package/dist-types/commands/DisableBaselineCommand.d.ts +2 -4
  10. package/dist-types/commands/DisableControlCommand.d.ts +2 -6
  11. package/dist-types/commands/EnableBaselineCommand.d.ts +2 -4
  12. package/dist-types/commands/EnableControlCommand.d.ts +2 -6
  13. package/dist-types/commands/GetBaselineCommand.d.ts +1 -3
  14. package/dist-types/commands/GetBaselineOperationCommand.d.ts +1 -3
  15. package/dist-types/commands/GetControlOperationCommand.d.ts +1 -5
  16. package/dist-types/commands/GetEnabledBaselineCommand.d.ts +7 -0
  17. package/dist-types/commands/GetEnabledControlCommand.d.ts +1 -3
  18. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +1 -2
  19. package/dist-types/commands/ListBaselinesCommand.d.ts +1 -3
  20. package/dist-types/commands/ListEnabledBaselinesCommand.d.ts +14 -3
  21. package/dist-types/commands/ListEnabledControlsCommand.d.ts +1 -4
  22. package/dist-types/commands/ListLandingZonesCommand.d.ts +1 -3
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -3
  24. package/dist-types/commands/ResetEnabledBaselineCommand.d.ts +2 -4
  25. package/dist-types/commands/ResetEnabledControlCommand.d.ts +1 -1
  26. package/dist-types/commands/ResetLandingZoneCommand.d.ts +1 -5
  27. package/dist-types/commands/TagResourceCommand.d.ts +1 -3
  28. package/dist-types/commands/UntagResourceCommand.d.ts +1 -3
  29. package/dist-types/commands/UpdateEnabledBaselineCommand.d.ts +2 -4
  30. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +2 -9
  31. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +1 -3
  32. package/dist-types/index.d.ts +1 -385
  33. package/dist-types/models/models_0.d.ts +92 -139
  34. package/dist-types/ts3.4/models/models_0.d.ts +19 -0
  35. package/package.json +15 -15
package/README.md CHANGED
@@ -6,391 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript ControlTower Client for Node.js, Browser and React Native.
8
8
 
9
- <p>Amazon Web Services Control Tower offers application programming interface (API)
10
- operations that support programmatic interaction with these types of resources:</p>
11
- <ul>
12
- <li>
13
- <p>
14
- <a href="https://docs.aws.amazon.com/controltower/latest/userguide/controls.html">
15
- <i>Controls</i>
16
- </a>
17
- </p>
18
- <ul>
19
- <li>
20
- <p>
21
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_DisableControl.html">DisableControl</a>
22
- </p>
23
- </li>
24
- <li>
25
- <p>
26
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_EnableControl.html">EnableControl</a>
27
- </p>
28
- </li>
29
- <li>
30
- <p>
31
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetEnabledControl.html">GetEnabledControl</a>
32
- </p>
33
- </li>
34
- <li>
35
- <p>
36
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListControlOperations.html">ListControlOperations</a>
37
- </p>
38
- </li>
39
- <li>
40
- <p>
41
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListEnabledControls.html">ListEnabledControls</a>
42
- </p>
43
- </li>
44
- <li>
45
- <p>
46
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateEnabledControl.html">UpdateEnabledControl</a>
47
- </p>
48
- </li>
49
- </ul>
50
- </li>
51
- <li>
52
- <p>
53
- <a href="https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch.html">
54
- <i>Landing
55
- zones</i>
56
- </a>
57
- </p>
58
- <ul>
59
- <li>
60
- <p>
61
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_CreateLandingZone.html">CreateLandingZone</a>
62
- </p>
63
- </li>
64
- <li>
65
- <p>
66
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_DeleteLandingZone.html">DeleteLandingZone</a>
67
- </p>
68
- </li>
69
- <li>
70
- <p>
71
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetLandingZone.html">GetLandingZone</a>
72
- </p>
73
- </li>
74
- <li>
75
- <p>
76
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetLandingZoneOperation.html">GetLandingZoneOperation</a>
77
- </p>
78
- </li>
79
- <li>
80
- <p>
81
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListLandingZones.html">ListLandingZones</a>
82
- </p>
83
- </li>
84
- <li>
85
- <p>
86
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListLandingZoneOperations.html">ListLandingZoneOperations</a>
87
- </p>
88
- </li>
89
- <li>
90
- <p>
91
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ResetLandingZone.html">ResetLandingZone</a>
92
- </p>
93
- </li>
94
- <li>
95
- <p>
96
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateLandingZone.html">UpdateLandingZone</a>
97
- </p>
98
- </li>
99
- </ul>
100
- </li>
101
- <li>
102
- <p>
103
- <a href="https://docs.aws.amazon.com/controltower/latest/userguide/types-of-baselines.html">
104
- <i>Baselines</i>
105
- </a>
106
- </p>
107
- <ul>
108
- <li>
109
- <p>
110
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_DisableBaseline.html">DisableBaseline</a>
111
- </p>
112
- </li>
113
- <li>
114
- <p>
115
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_EnableBaseline.html">EnableBaseline</a>
116
- </p>
117
- </li>
118
- <li>
119
- <p>
120
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetBaseline.html">GetBaseline</a>
121
- </p>
122
- </li>
123
- <li>
124
- <p>
125
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetBaselineOperation.html">GetBaselineOperation</a>
126
- </p>
127
- </li>
128
- <li>
129
- <p>
130
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetEnabledBaseline.html">GetEnabledBaseline</a>
131
- </p>
132
- </li>
133
- <li>
134
- <p>
135
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListBaselines.html">ListBaselines</a>
136
- </p>
137
- </li>
138
- <li>
139
- <p>
140
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListEnabledBaselines.html">ListEnabledBaselines</a>
141
- </p>
142
- </li>
143
- <li>
144
- <p>
145
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ResetEnabledBaseline.html">ResetEnabledBaseline</a>
146
- </p>
147
- </li>
148
- <li>
149
- <p>
150
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateEnabledBaseline.html">UpdateEnabledBaseline</a>
151
- </p>
152
- </li>
153
- </ul>
154
- </li>
155
- <li>
156
- <p>
157
- <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/tagging.html">
158
- <i>Tagging</i>
159
- </a>
160
- </p>
161
- <ul>
162
- <li>
163
- <p>
164
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>
165
- </p>
166
- </li>
167
- <li>
168
- <p>
169
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_TagResource.html">TagResource</a>
170
- </p>
171
- </li>
172
- <li>
173
- <p>
174
- <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UntagResource.html">UntagResource</a>
175
- </p>
176
- </li>
177
- </ul>
178
- </li>
179
- </ul>
180
- <p>For more information about these types of resources, see the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/what-is-control-tower.html">
181
- <i>Amazon Web Services Control Tower User Guide</i>
182
- </a>.</p>
183
- <p>
184
- <b>About control APIs</b>
185
- </p>
186
- <p>These interfaces allow you to apply the Amazon Web Services library of pre-defined
187
- <i>controls</i> to your organizational units, programmatically. In Amazon Web Services Control Tower, the terms "control" and "guardrail" are synonyms.</p>
188
- <p>To call these APIs, you'll need to know:</p>
189
- <ul>
190
- <li>
191
- <p>the <code>controlIdentifier</code> for the control--or guardrail--you are
192
- targeting.</p>
193
- </li>
194
- <li>
195
- <p>the ARN associated with the target organizational unit (OU), which we call the
196
- <code>targetIdentifier</code>.</p>
197
- </li>
198
- <li>
199
- <p>the ARN associated with a resource that you wish to tag or untag.</p>
200
- </li>
201
- </ul>
202
- <p>
203
- <b>To get the <code>controlIdentifier</code> for your Amazon Web Services Control Tower control:</b>
204
- </p>
205
- <p>The <code>controlIdentifier</code> is an ARN that is specified for each control. You can
206
- view the <code>controlIdentifier</code> in the console on the <b>Control
207
- details</b> page, as well as in the documentation.</p>
208
- <p>
209
- <b>About identifiers for Amazon Web Services Control Tower</b>
210
- </p>
211
- <p>The Amazon Web Services Control Tower <code>controlIdentifier</code> is unique in each Amazon Web Services Region for each
212
- control. You can find the <code>controlIdentifier</code> for each Region and control in the
213
- <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-metadata-tables.html">Tables of control metadata</a> or the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-region-tables.html">Control
214
- availability by Region tables</a> in the <i>Amazon Web Services Control Tower
215
- Controls Reference Guide</i>.</p>
216
- <p>A quick-reference list of control identifers for the Amazon Web Services Control Tower
217
- legacy <i>Strongly recommended</i> and <i>Elective</i> controls
218
- is given in <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html.html">Resource
219
- identifiers for APIs and controls</a> in the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html">
220
- <i>Amazon Web Services Control Tower Controls Reference Guide</i>
221
- </a>. Remember
222
- that <i>Mandatory</i> controls cannot be added or removed.</p>
223
- <note>
224
- <p>
225
- <b>Some controls have two identifiers</b>
226
- </p>
227
- <ul>
228
- <li>
229
- <p>
230
- <b>ARN format for Amazon Web Services Control
231
- Tower:</b>
232
- <code>arn:aws:controltower:{REGION}::control/{CONTROL_TOWER_OPAQUE_ID}</code>
233
- </p>
234
- <p>
235
- <b>Example:</b>
236
- </p>
237
- <p>
238
- <code>arn:aws:controltower:us-west-2::control/AWS-GR_AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED</code>
239
- </p>
240
- </li>
241
- <li>
242
- <p>
243
- <b>ARN format for Amazon Web Services Control
244
- Catalog:</b>
245
- <code>arn:{PARTITION}:controlcatalog:::control/{CONTROL_CATALOG_OPAQUE_ID}</code>
246
- </p>
247
- </li>
248
- </ul>
249
- <p>You can find the <code>{CONTROL_CATALOG_OPAQUE_ID}</code> in the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/all-global-identifiers.html">
250
- <i>Amazon Web Services Control Tower Controls Reference
251
- Guide</i>
252
- </a>, or in the Amazon Web Services Control Tower console, on the
253
- <b>Control details</b> page.</p>
254
- <p>The Amazon Web Services Control Tower APIs for enabled controls, such as
255
- <code>GetEnabledControl</code> and <code>ListEnabledControls</code> always return an
256
- ARN of the same type given when the control was enabled.</p>
257
- </note>
258
- <p>
259
- <b>To get the <code>targetIdentifier</code>:</b>
260
- </p>
261
- <p>The <code>targetIdentifier</code> is the ARN for an OU.</p>
262
- <p>In the Amazon Web Services Organizations console, you can find the ARN for the OU on the
263
- <b>Organizational unit details</b> page associated with that
264
- OU.</p>
265
- <note>
266
- <p>
267
- <b>OU ARN format:</b>
268
- </p>
269
- <p>
270
- <code>arn:${Partition}:organizations::${MasterAccountId}:ou/o-${OrganizationId}/ou-${OrganizationalUnitId}</code>
271
- </p>
272
- </note>
273
- <p>
274
- <b> About landing zone APIs</b>
275
- </p>
276
- <p>You can configure and launch an Amazon Web Services Control Tower landing zone with APIs.
277
- For an introduction and steps, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/getting-started-apis.html">Getting started with
278
- Amazon Web Services Control Tower using APIs</a>.</p>
279
- <p>For an overview of landing zone API operations, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/2023-all.html#landing-zone-apis">
280
- Amazon Web Services Control Tower supports landing zone APIs</a>. The individual API
281
- operations for landing zones are detailed in this document, the <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_Operations.html">API reference
282
- manual</a>, in the "Actions" section.</p>
283
- <p>
284
- <b>About baseline APIs</b>
285
- </p>
286
- <p>You can apply the <code>AWSControlTowerBaseline</code> baseline to an organizational
287
- unit (OU) as a way to register the OU with Amazon Web Services Control Tower,
288
- programmatically. For a general overview of this capability, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/2024-all.html#baseline-apis">Amazon Web Services Control Tower supports APIs for OU registration and configuration
289
- with baselines</a>.</p>
290
- <p>You can call the baseline API operations to view the baselines that Amazon Web Services
291
- Control Tower enables for your landing zone, on your behalf, when setting up the landing
292
- zone. These baselines are read-only baselines.</p>
293
- <p>The individual API operations for baselines are detailed in this document, the <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_Operations.html">API
294
- reference manual</a>, in the "Actions" section. For usage examples, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html">Baseline API input and output examples with CLI</a>.</p>
295
- <p>
296
- <b> About Amazon Web Services Control Catalog identifiers</b>
297
- </p>
298
- <ul>
299
- <li>
300
- <p>The <code>EnableControl</code> and <code>DisableControl</code> API operations can
301
- be called by specifying either the Amazon Web Services Control Tower identifer or the
302
- Amazon Web Services Control Catalog identifier. The API response returns the same
303
- type of identifier that you specified when calling the API.</p>
304
- </li>
305
- <li>
306
- <p>If you use an Amazon Web Services Control Tower identifier to call the
307
- <code>EnableControl</code> API, and then call <code>EnableControl</code> again
308
- with an Amazon Web Services Control Catalog identifier, Amazon Web Services Control
309
- Tower returns an error message stating that the control is already enabled. Similar
310
- behavior applies to the <code>DisableControl</code> API operation. </p>
311
- </li>
312
- <li>
313
- <p>Mandatory controls and the landing-zone-level Region deny control have Amazon Web Services Control Tower identifiers only.</p>
314
- </li>
315
- </ul>
316
- <p class="title">
317
- <b>Details and examples</b>
318
- </p>
319
- <ul>
320
- <li>
321
- <p>
322
- <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html">Control API input and output examples with CLI</a>
323
- </p>
324
- </li>
325
- <li>
326
- <p>
327
- <a href="https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html">Baseline API input
328
- and output examples with CLI</a>
329
- </p>
330
- </li>
331
- <li>
332
- <p>
333
- <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/enable-controls.html">Enable controls
334
- with CloudFormation</a>
335
- </p>
336
- </li>
337
- <li>
338
- <p>
339
- <a href="https://docs.aws.amazon.com/controltower/latest/userguide/lz-apis-cfn-setup.html">Launch a landing zone
340
- with CloudFormation</a>
341
- </p>
342
- </li>
343
- <li>
344
- <p>
345
- <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-metadata-tables.html">Control
346
- metadata tables (large page)</a>
347
- </p>
348
- </li>
349
- <li>
350
- <p>
351
- <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-region-tables.html">Control
352
- availability by Region tables (large page)</a>
353
- </p>
354
- </li>
355
- <li>
356
- <p>
357
- <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html">List of
358
- identifiers for legacy controls</a>
359
- </p>
360
- </li>
361
- <li>
362
- <p>
363
- <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/controls.html">Controls reference
364
- guide</a>
365
- </p>
366
- </li>
367
- <li>
368
- <p>
369
- <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/controls-reference.html">Controls
370
- library groupings</a>
371
- </p>
372
- </li>
373
- <li>
374
- <p>
375
- <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
376
- CloudFormation</a>
377
- </p>
378
- </li>
379
- </ul>
380
- <p>To view the open source resource repository on GitHub, see <a href="https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-controltower">aws-cloudformation/aws-cloudformation-resource-providers-controltower</a>
381
- </p>
382
- <p>
383
- <b>Recording API Requests</b>
384
- </p>
385
- <p>Amazon Web Services Control Tower supports Amazon Web Services CloudTrail, a service that
386
- records Amazon Web Services API calls for your Amazon Web Services account and delivers log
387
- files to an Amazon S3 bucket. By using information collected by CloudTrail, you can
388
- determine which requests the Amazon Web Services Control Tower service received, who made
389
- the request and when, and so on. For more about Amazon Web Services Control Tower and its
390
- support for CloudTrail, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/logging-using-cloudtrail.html">Logging Amazon Web Services Control Tower Actions with Amazon Web Services CloudTrail</a> in the
391
- Amazon Web Services Control Tower User Guide. To learn more about CloudTrail, including
392
- how to turn it on and find your log files, see the Amazon Web Services CloudTrail User
393
- Guide.</p>
9
+ <p>Amazon Web Services Control Tower offers application programming interface (API) operations that support programmatic interaction with these types of resources:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/userguide/controls.html"> <i>Controls</i> </a> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_DisableControl.html">DisableControl</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_EnableControl.html">EnableControl</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetEnabledControl.html">GetEnabledControl</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetControlOperation.html">GetControlOperation</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListControlOperations.html">ListControlOperations</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListEnabledControls.html">ListEnabledControls</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ResetEnabledControl.html">ResetEnabledControl</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateEnabledControl.html">UpdateEnabledControl</a> </p> </li> </ul> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch.html"> <i>Landing zones</i> </a> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_CreateLandingZone.html">CreateLandingZone</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_DeleteLandingZone.html">DeleteLandingZone</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetLandingZone.html">GetLandingZone</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetLandingZoneOperation.html">GetLandingZoneOperation</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListLandingZones.html">ListLandingZones</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListLandingZoneOperations.html">ListLandingZoneOperations</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ResetLandingZone.html">ResetLandingZone</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateLandingZone.html">UpdateLandingZone</a> </p> </li> </ul> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/userguide/types-of-baselines.html"> <i>Baselines</i> </a> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_DisableBaseline.html">DisableBaseline</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_EnableBaseline.html">EnableBaseline</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetBaseline.html">GetBaseline</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetBaselineOperation.html">GetBaselineOperation</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetEnabledBaseline.html">GetEnabledBaseline</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListBaselines.html">ListBaselines</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListEnabledBaselines.html">ListEnabledBaselines</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ResetEnabledBaseline.html">ResetEnabledBaseline</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateEnabledBaseline.html">UpdateEnabledBaseline</a> </p> </li> </ul> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/tagging.html"> <i>Tagging</i> </a> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_TagResource.html">TagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UntagResource.html">UntagResource</a> </p> </li> </ul> </li> </ul> <p>For more information about these types of resources, see the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/what-is-control-tower.html"> <i>Amazon Web Services Control Tower User Guide</i> </a>.</p> <p> <b>About control APIs</b> </p> <p>These interfaces allow you to apply the Amazon Web Services library of pre-defined <i>controls</i> to your organizational units, programmatically. In Amazon Web Services Control Tower, the terms "control" and "guardrail" are synonyms.</p> <p>To call these APIs, you'll need to know:</p> <ul> <li> <p>the <code>controlIdentifier</code> for the control--or guardrail--you are targeting.</p> </li> <li> <p>the ARN associated with the target organizational unit (OU), which we call the <code>targetIdentifier</code>.</p> </li> <li> <p>the ARN associated with a resource that you wish to tag or untag.</p> </li> </ul> <p> <b>To get the <code>controlIdentifier</code> for your Amazon Web Services Control Tower control:</b> </p> <p>The <code>controlIdentifier</code> is an ARN that is specified for each 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> <p> <b>About identifiers for Amazon Web Services Control Tower</b> </p> <p>The Amazon Web Services Control Tower <code>controlIdentifier</code> is unique in each Amazon Web Services Region for each control. You can find the <code>controlIdentifier</code> for each Region and control in the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-metadata-tables.html">Tables of control metadata</a> or the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-region-tables.html">Control availability by Region tables</a> in the <i>Amazon Web Services Control Tower Controls Reference Guide</i>.</p> <p>A quick-reference list of control identifers for the Amazon Web Services Control Tower legacy <i>Strongly recommended</i> and <i>Elective</i> controls is given in <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html.html">Resource identifiers for APIs and controls</a> in the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html"> <i>Amazon Web Services Control Tower Controls Reference Guide</i> </a>. Remember that <i>Mandatory</i> controls cannot be added or removed.</p> <note> <p> <b>Some controls have two identifiers</b> </p> <ul> <li> <p> <b>ARN format for Amazon Web Services Control Tower:</b> <code>arn:aws:controltower:{REGION}::control/{CONTROL_TOWER_OPAQUE_ID}</code> </p> <p> <b>Example:</b> </p> <p> <code>arn:aws:controltower:us-west-2::control/AWS-GR_AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED</code> </p> </li> <li> <p> <b>ARN format for Amazon Web Services Control Catalog:</b> <code>arn:{PARTITION}:controlcatalog:::control/{CONTROL_CATALOG_OPAQUE_ID}</code> </p> </li> </ul> <p>You can find the <code>{CONTROL_CATALOG_OPAQUE_ID}</code> in the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/all-global-identifiers.html"> <i>Amazon Web Services Control Tower Controls Reference Guide</i> </a>, or in the Amazon Web Services Control Tower console, on the <b>Control details</b> page.</p> <p>The Amazon Web Services Control Tower APIs for enabled controls, such as <code>GetEnabledControl</code> and <code>ListEnabledControls</code> always return an ARN of the same type given when the control was enabled.</p> </note> <p> <b>To get the <code>targetIdentifier</code>:</b> </p> <p>The <code>targetIdentifier</code> is the ARN for an OU.</p> <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> <note> <p> <b>OU ARN format:</b> </p> <p> <code>arn:${Partition}:organizations::${MasterAccountId}:ou/o-${OrganizationId}/ou-${OrganizationalUnitId}</code> </p> </note> <p> <b> About landing zone APIs</b> </p> <p>You can configure and launch an Amazon Web Services Control Tower landing zone with APIs. For an introduction and steps, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/getting-started-apis.html">Getting started with Amazon Web Services Control Tower using APIs</a>.</p> <p>For an overview of landing zone API operations, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/2023-all.html#landing-zone-apis"> Amazon Web Services Control Tower supports landing zone APIs</a>. The individual API operations for landing zones are detailed in this document, the <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_Operations.html">API reference manual</a>, in the "Actions" section.</p> <p> <b>About baseline APIs</b> </p> <p>You can apply the <code>AWSControlTowerBaseline</code> baseline to an organizational unit (OU) as a way to register the OU with Amazon Web Services Control Tower, programmatically. For a general overview of this capability, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/2024-all.html#baseline-apis">Amazon Web Services Control Tower supports APIs for OU registration and configuration with baselines</a>.</p> <p>You can call the baseline API operations to view the baselines that Amazon Web Services Control Tower enables for your landing zone, on your behalf, when setting up the landing zone. These baselines are read-only baselines.</p> <p>The individual API operations for baselines are detailed in this document, the <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_Operations.html">API reference manual</a>, in the "Actions" section. For usage examples, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html">Baseline API input and output examples with CLI</a>.</p> <p> <b> About Amazon Web Services Control Catalog identifiers</b> </p> <ul> <li> <p>The <code>EnableControl</code> and <code>DisableControl</code> API operations can be called by specifying either the Amazon Web Services Control Tower identifer or the Amazon Web Services Control Catalog identifier. The API response returns the same type of identifier that you specified when calling the API.</p> </li> <li> <p>If you use an Amazon Web Services Control Tower identifier to call the <code>EnableControl</code> API, and then call <code>EnableControl</code> again with an Amazon Web Services Control Catalog identifier, Amazon Web Services Control Tower returns an error message stating that the control is already enabled. Similar behavior applies to the <code>DisableControl</code> API operation. </p> </li> <li> <p>Mandatory controls and the landing-zone-level Region deny control have Amazon Web Services Control Tower identifiers only.</p> </li> </ul> <p class="title"> <b>Details and examples</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html">Control API input and output examples with CLI</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html">Baseline API input and output examples with CLI</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/enable-controls.html">Enable controls with CloudFormation</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/userguide/lz-apis-cfn-setup.html">Launch a landing zone with CloudFormation</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-metadata-tables.html">Control metadata tables (large page)</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-region-tables.html">Control availability by Region tables (large page)</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html">List of identifiers for legacy controls</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/controls.html">Controls reference guide</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/controls-reference.html">Controls library groupings</a> </p> </li> <li> <p> <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> </p> </li> </ul> <p>To view the open source resource repository on GitHub, see <a href="https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-controltower">aws-cloudformation/aws-cloudformation-resource-providers-controltower</a> </p> <p> <b>Recording API Requests</b> </p> <p>Amazon Web Services Control Tower supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected by CloudTrail, you can determine which requests the Amazon Web Services Control Tower service received, who made the request and when, and so on. For more about Amazon Web Services Control Tower and its support for CloudTrail, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/logging-using-cloudtrail.html">Logging Amazon Web Services Control Tower Actions with Amazon Web Services CloudTrail</a> in the Amazon Web Services Control Tower User Guide. To learn more about CloudTrail, including how to turn it on and find your log files, see the Amazon Web Services CloudTrail User Guide.</p>
394
10
 
395
11
  ## Installing
396
12
 
package/dist-cjs/index.js CHANGED
@@ -37,6 +37,7 @@ __export(index_exports, {
37
37
  DriftStatus: () => DriftStatus,
38
38
  EnableBaselineCommand: () => EnableBaselineCommand,
39
39
  EnableControlCommand: () => EnableControlCommand,
40
+ EnabledBaselineDriftStatus: () => EnabledBaselineDriftStatus,
40
41
  EnablementStatus: () => EnablementStatus,
41
42
  GetBaselineCommand: () => GetBaselineCommand,
42
43
  GetBaselineOperationCommand: () => GetBaselineOperationCommand,
@@ -419,6 +420,10 @@ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends
419
420
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
420
421
  }
421
422
  };
423
+ var EnabledBaselineDriftStatus = {
424
+ DRIFTED: "DRIFTED",
425
+ IN_SYNC: "IN_SYNC"
426
+ };
422
427
  var EnablementStatus = {
423
428
  FAILED: "FAILED",
424
429
  SUCCEEDED: "SUCCEEDED",
@@ -1497,6 +1502,7 @@ var de_EnabledBaselineDetails = /* @__PURE__ */ __name((output, context) => {
1497
1502
  arn: import_smithy_client.expectString,
1498
1503
  baselineIdentifier: import_smithy_client.expectString,
1499
1504
  baselineVersion: import_smithy_client.expectString,
1505
+ driftStatusSummary: import_smithy_client._json,
1500
1506
  parameters: /* @__PURE__ */ __name((_) => de_EnabledBaselineParameterSummaries(_, context), "parameters"),
1501
1507
  parentIdentifier: import_smithy_client.expectString,
1502
1508
  statusSummary: import_smithy_client._json,
@@ -2108,6 +2114,7 @@ var paginateListLandingZones = (0, import_core.createPaginator)(ControlTowerClie
2108
2114
  ControlOperationStatus,
2109
2115
  ConflictException,
2110
2116
  ServiceQuotaExceededException,
2117
+ EnabledBaselineDriftStatus,
2111
2118
  EnablementStatus,
2112
2119
  DriftStatus,
2113
2120
  LandingZoneOperationType,
@@ -115,6 +115,10 @@ export class ServiceQuotaExceededException extends __BaseException {
115
115
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
116
116
  }
117
117
  }
118
+ export const EnabledBaselineDriftStatus = {
119
+ DRIFTED: "DRIFTED",
120
+ IN_SYNC: "IN_SYNC",
121
+ };
118
122
  export const EnablementStatus = {
119
123
  FAILED: "FAILED",
120
124
  SUCCEEDED: "SUCCEEDED",
@@ -1002,6 +1002,7 @@ const de_EnabledBaselineDetails = (output, context) => {
1002
1002
  arn: __expectString,
1003
1003
  baselineIdentifier: __expectString,
1004
1004
  baselineVersion: __expectString,
1005
+ driftStatusSummary: _json,
1005
1006
  parameters: (_) => de_EnabledBaselineParameterSummaries(_, context),
1006
1007
  parentIdentifier: __expectString,
1007
1008
  statusSummary: _json,