@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.
- package/README.md +95 -31
- package/dist-cjs/ControlTower.js +16 -0
- package/dist-cjs/commands/CreateLandingZoneCommand.js +51 -0
- package/dist-cjs/commands/DeleteLandingZoneCommand.js +51 -0
- package/dist-cjs/commands/GetLandingZoneCommand.js +51 -0
- package/dist-cjs/commands/GetLandingZoneOperationCommand.js +51 -0
- package/dist-cjs/commands/ListLandingZonesCommand.js +51 -0
- package/dist-cjs/commands/ResetLandingZoneCommand.js +51 -0
- package/dist-cjs/commands/UpdateEnabledControlCommand.js +51 -0
- package/dist-cjs/commands/UpdateLandingZoneCommand.js +51 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +22 -1
- package/dist-cjs/pagination/ListLandingZonesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +682 -56
- package/dist-es/ControlTower.js +16 -0
- package/dist-es/commands/CreateLandingZoneCommand.js +47 -0
- package/dist-es/commands/DeleteLandingZoneCommand.js +47 -0
- package/dist-es/commands/GetLandingZoneCommand.js +47 -0
- package/dist-es/commands/GetLandingZoneOperationCommand.js +47 -0
- package/dist-es/commands/ListLandingZonesCommand.js +47 -0
- package/dist-es/commands/ResetLandingZoneCommand.js +47 -0
- package/dist-es/commands/UpdateEnabledControlCommand.js +47 -0
- package/dist-es/commands/UpdateLandingZoneCommand.js +47 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +21 -0
- package/dist-es/pagination/ListLandingZonesPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +659 -49
- package/dist-types/ControlTower.d.ts +72 -16
- package/dist-types/ControlTowerClient.d.ts +26 -18
- package/dist-types/commands/CreateLandingZoneCommand.d.ts +94 -0
- package/dist-types/commands/DeleteLandingZoneCommand.d.ts +92 -0
- package/dist-types/commands/DisableControlCommand.d.ts +9 -9
- package/dist-types/commands/EnableControlCommand.d.ts +15 -9
- package/dist-types/commands/GetControlOperationCommand.d.ts +6 -6
- package/dist-types/commands/GetEnabledControlCommand.d.ts +14 -8
- package/dist-types/commands/GetLandingZoneCommand.d.ts +97 -0
- package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +95 -0
- package/dist-types/commands/ListEnabledControlsCommand.d.ts +9 -9
- package/dist-types/commands/ListLandingZonesCommand.d.ts +93 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
- package/dist-types/commands/ResetLandingZoneCommand.d.ts +92 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
- package/dist-types/commands/UpdateEnabledControlCommand.d.ts +107 -0
- package/dist-types/commands/UpdateLandingZoneCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/index.d.ts +16 -16
- package/dist-types/models/models_0.d.ts +472 -29
- package/dist-types/pagination/ListLandingZonesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/ControlTower.d.ts +136 -0
- package/dist-types/ts3.4/ControlTowerClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateLandingZoneCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteLandingZoneCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetLandingZoneCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetLandingZoneOperationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListLandingZonesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ResetLandingZoneCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateEnabledControlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateLandingZoneCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +117 -0
- package/dist-types/ts3.4/pagination/ListLandingZonesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +3 -3
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
3
|
import { ControlTowerServiceException as __BaseException } from "./ControlTowerServiceException";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
|
-
* <p>
|
|
6
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
6
7
|
*/
|
|
7
8
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
9
|
readonly name: "AccessDeniedException";
|
|
@@ -14,7 +15,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* @public
|
|
17
|
-
* <p>Updating or deleting
|
|
18
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
18
19
|
*/
|
|
19
20
|
export declare class ConflictException extends __BaseException {
|
|
20
21
|
readonly name: "ConflictException";
|
|
@@ -32,7 +33,7 @@ export interface DisableControlInput {
|
|
|
32
33
|
* @public
|
|
33
34
|
* <p>The ARN of the control. Only <b>Strongly recommended</b> and
|
|
34
35
|
* <b>Elective</b> controls are permitted, with the exception of the
|
|
35
|
-
* <b>Region deny</b> control. For information on how to find the <code>controlIdentifier</code>, see <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html">the overview page</a>.</p>
|
|
36
|
+
* <b>landing zone Region deny</b> control. For information on how to find the <code>controlIdentifier</code>, see <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html">the overview page</a>.</p>
|
|
36
37
|
*/
|
|
37
38
|
controlIdentifier: string | undefined;
|
|
38
39
|
/**
|
|
@@ -54,7 +55,7 @@ export interface DisableControlOutput {
|
|
|
54
55
|
}
|
|
55
56
|
/**
|
|
56
57
|
* @public
|
|
57
|
-
* <p>
|
|
58
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
58
59
|
*/
|
|
59
60
|
export declare class InternalServerException extends __BaseException {
|
|
60
61
|
readonly name: "InternalServerException";
|
|
@@ -67,7 +68,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
67
68
|
}
|
|
68
69
|
/**
|
|
69
70
|
* @public
|
|
70
|
-
* <p>
|
|
71
|
+
* <p>The request references a resource that does not exist.</p>
|
|
71
72
|
*/
|
|
72
73
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
73
74
|
readonly name: "ResourceNotFoundException";
|
|
@@ -79,7 +80,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
79
80
|
}
|
|
80
81
|
/**
|
|
81
82
|
* @public
|
|
82
|
-
* <p>
|
|
83
|
+
* <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
|
|
83
84
|
*/
|
|
84
85
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
85
86
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -91,7 +92,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
91
92
|
}
|
|
92
93
|
/**
|
|
93
94
|
* @public
|
|
94
|
-
* <p>
|
|
95
|
+
* <p>The request was denied due to request throttling.</p>
|
|
95
96
|
*/
|
|
96
97
|
export declare class ThrottlingException extends __BaseException {
|
|
97
98
|
readonly name: "ThrottlingException";
|
|
@@ -101,7 +102,8 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
101
102
|
};
|
|
102
103
|
/**
|
|
103
104
|
* @public
|
|
104
|
-
* <p>The ID of the service that is associated with the error
|
|
105
|
+
* <p>The ID of the service that is associated with the error.
|
|
106
|
+
* </p>
|
|
105
107
|
*/
|
|
106
108
|
serviceCode?: string;
|
|
107
109
|
/**
|
|
@@ -111,7 +113,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
111
113
|
quotaCode?: string;
|
|
112
114
|
/**
|
|
113
115
|
* @public
|
|
114
|
-
* <p>The number of seconds
|
|
116
|
+
* <p>The number of seconds to wait before retrying.</p>
|
|
115
117
|
*/
|
|
116
118
|
retryAfterSeconds?: number;
|
|
117
119
|
/**
|
|
@@ -121,7 +123,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
121
123
|
}
|
|
122
124
|
/**
|
|
123
125
|
* @public
|
|
124
|
-
* <p>The input
|
|
126
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
125
127
|
*/
|
|
126
128
|
export declare class ValidationException extends __BaseException {
|
|
127
129
|
readonly name: "ValidationException";
|
|
@@ -131,6 +133,23 @@ export declare class ValidationException extends __BaseException {
|
|
|
131
133
|
*/
|
|
132
134
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
133
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
* <p> A set of parameters that configure the behavior of the enabled control. A key/value pair, where <code>Key</code> is of type <code>String</code> and <code>Value</code> is of type <code>Document</code>.</p>
|
|
139
|
+
*/
|
|
140
|
+
export interface EnabledControlParameter {
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
* <p>The key of a key/value pair. It is of type <code>string</code>.</p>
|
|
144
|
+
*/
|
|
145
|
+
key: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* <p>The value of a key/value pair. It can be of type <code>array</code>
|
|
149
|
+
* <code>string</code>, <code>number</code>, <code>object</code>, or <code>boolean</code>. </p>
|
|
150
|
+
*/
|
|
151
|
+
value: __DocumentType | undefined;
|
|
152
|
+
}
|
|
134
153
|
/**
|
|
135
154
|
* @public
|
|
136
155
|
*/
|
|
@@ -139,7 +158,7 @@ export interface EnableControlInput {
|
|
|
139
158
|
* @public
|
|
140
159
|
* <p>The ARN of the control. Only <b>Strongly recommended</b> and
|
|
141
160
|
* <b>Elective</b> controls are permitted, with the exception of the
|
|
142
|
-
* <b>Region deny</b> control. For information on how to find the <code>controlIdentifier</code>, see <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html">the overview page</a>.</p>
|
|
161
|
+
* <b>landing zone Region deny</b> control. For information on how to find the <code>controlIdentifier</code>, see <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html">the overview page</a>.</p>
|
|
143
162
|
*/
|
|
144
163
|
controlIdentifier: string | undefined;
|
|
145
164
|
/**
|
|
@@ -152,6 +171,11 @@ export interface EnableControlInput {
|
|
|
152
171
|
* <p>Tags to be applied to the <code>EnabledControl</code> resource.</p>
|
|
153
172
|
*/
|
|
154
173
|
tags?: Record<string, string>;
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
* <p>An array of <code>EnabledControlParameter</code> objects</p>
|
|
177
|
+
*/
|
|
178
|
+
parameters?: EnabledControlParameter[];
|
|
155
179
|
}
|
|
156
180
|
/**
|
|
157
181
|
* @public
|
|
@@ -187,6 +211,7 @@ export interface GetControlOperationInput {
|
|
|
187
211
|
export declare const ControlOperationType: {
|
|
188
212
|
readonly DISABLE_CONTROL: "DISABLE_CONTROL";
|
|
189
213
|
readonly ENABLE_CONTROL: "ENABLE_CONTROL";
|
|
214
|
+
readonly UPDATE_ENABLED_CONTROL: "UPDATE_ENABLED_CONTROL";
|
|
190
215
|
};
|
|
191
216
|
/**
|
|
192
217
|
* @public
|
|
@@ -273,8 +298,8 @@ export declare const DriftStatus: {
|
|
|
273
298
|
export type DriftStatus = (typeof DriftStatus)[keyof typeof DriftStatus];
|
|
274
299
|
/**
|
|
275
300
|
* @public
|
|
276
|
-
* <p>
|
|
277
|
-
* <p>
|
|
301
|
+
* <p>The drift summary of the enabled control.</p>
|
|
302
|
+
* <p>Amazon Web Services Control Tower expects the enabled control
|
|
278
303
|
* configuration to include all supported and governed Regions. If the enabled control differs
|
|
279
304
|
* from the expected configuration, it is defined to be in a state of drift. You can repair this drift by resetting the enabled control.</p>
|
|
280
305
|
*/
|
|
@@ -287,27 +312,43 @@ export interface DriftStatusSummary {
|
|
|
287
312
|
* <li>
|
|
288
313
|
* <p>
|
|
289
314
|
* <code>DRIFTED</code>: The <code>enabledControl</code> deployed in this configuration
|
|
290
|
-
*
|
|
315
|
+
* doesn’t match the configuration that Amazon Web Services Control Tower expected. </p>
|
|
291
316
|
* </li>
|
|
292
317
|
* <li>
|
|
293
318
|
* <p>
|
|
294
319
|
* <code>IN_SYNC</code>: The <code>enabledControl</code> deployed in this configuration matches
|
|
295
|
-
*
|
|
320
|
+
* the configuration that Amazon Web Services Control Tower expected.</p>
|
|
296
321
|
* </li>
|
|
297
322
|
* <li>
|
|
298
323
|
* <p>
|
|
299
|
-
* <code>NOT_CHECKING</code>:
|
|
300
|
-
*
|
|
324
|
+
* <code>NOT_CHECKING</code>: Amazon Web Services Control Tower does not check drift for this enabled
|
|
325
|
+
* control. Drift is not supported for the control type.</p>
|
|
301
326
|
* </li>
|
|
302
327
|
* <li>
|
|
303
328
|
* <p>
|
|
304
|
-
* <code>UNKNOWN</code>:
|
|
305
|
-
*
|
|
329
|
+
* <code>UNKNOWN</code>: Amazon Web Services Control Tower is not able to check the drift status for the
|
|
330
|
+
* enabled control. </p>
|
|
306
331
|
* </li>
|
|
307
332
|
* </ul>
|
|
308
333
|
*/
|
|
309
334
|
driftStatus?: DriftStatus;
|
|
310
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
* <p>Returns a summary of information about the parameters of an enabled control.</p>
|
|
339
|
+
*/
|
|
340
|
+
export interface EnabledControlParameterSummary {
|
|
341
|
+
/**
|
|
342
|
+
* @public
|
|
343
|
+
* <p>The key of a key/value pair.</p>
|
|
344
|
+
*/
|
|
345
|
+
key: string | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* @public
|
|
348
|
+
* <p>The value of a key/value pair.</p>
|
|
349
|
+
*/
|
|
350
|
+
value: __DocumentType | undefined;
|
|
351
|
+
}
|
|
311
352
|
/**
|
|
312
353
|
* @public
|
|
313
354
|
* @enum
|
|
@@ -354,15 +395,15 @@ export interface EnablementStatusSummary {
|
|
|
354
395
|
}
|
|
355
396
|
/**
|
|
356
397
|
* @public
|
|
357
|
-
* <p>An
|
|
398
|
+
* <p>An Amazon Web Services Region in which Amazon Web Services Control Tower expects to find the control deployed. </p>
|
|
358
399
|
* <p>The expected Regions are based on the Regions that are governed by the landing zone. In
|
|
359
|
-
*
|
|
360
|
-
*
|
|
400
|
+
* certain cases, a control is not actually enabled in the Region as expected, such as during
|
|
401
|
+
* drift, or <a href="https://docs.aws.amazon.com/controltower/latest/userguide/region-how.html#mixed-governance">mixed governance</a>.</p>
|
|
361
402
|
*/
|
|
362
403
|
export interface Region {
|
|
363
404
|
/**
|
|
364
405
|
* @public
|
|
365
|
-
* <p>The
|
|
406
|
+
* <p>The Amazon Web Services Region name.</p>
|
|
366
407
|
*/
|
|
367
408
|
name?: string;
|
|
368
409
|
}
|
|
@@ -388,7 +429,7 @@ export interface EnabledControlDetails {
|
|
|
388
429
|
targetIdentifier?: string;
|
|
389
430
|
/**
|
|
390
431
|
* @public
|
|
391
|
-
* <p>Target
|
|
432
|
+
* <p>Target Amazon Web Services Regions for the enabled control.</p>
|
|
392
433
|
*/
|
|
393
434
|
targetRegions?: Region[];
|
|
394
435
|
/**
|
|
@@ -401,6 +442,11 @@ export interface EnabledControlDetails {
|
|
|
401
442
|
* <p>The drift status of the enabled control.</p>
|
|
402
443
|
*/
|
|
403
444
|
driftStatusSummary?: DriftStatusSummary;
|
|
445
|
+
/**
|
|
446
|
+
* @public
|
|
447
|
+
* <p>Array of <code>EnabledControlParameter</code> objects.</p>
|
|
448
|
+
*/
|
|
449
|
+
parameters?: EnabledControlParameterSummary[];
|
|
404
450
|
}
|
|
405
451
|
/**
|
|
406
452
|
* @public
|
|
@@ -412,6 +458,376 @@ export interface GetEnabledControlOutput {
|
|
|
412
458
|
*/
|
|
413
459
|
enabledControlDetails: EnabledControlDetails | undefined;
|
|
414
460
|
}
|
|
461
|
+
/**
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
export interface CreateLandingZoneInput {
|
|
465
|
+
/**
|
|
466
|
+
* @public
|
|
467
|
+
* <p>The landing zone version, for example, 3.0.</p>
|
|
468
|
+
*/
|
|
469
|
+
version: string | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* @public
|
|
472
|
+
* <p>The manifest.yaml file is a text file that describes your Amazon Web Services resources. For examples, review
|
|
473
|
+
* <a href="https://docs.aws.amazon.com/controltower/latest/userguide/the-manifest-file">The manifest file</a>. </p>
|
|
474
|
+
*/
|
|
475
|
+
manifest: __DocumentType | undefined;
|
|
476
|
+
/**
|
|
477
|
+
* @public
|
|
478
|
+
* <p>Tags to be applied to the landing zone. </p>
|
|
479
|
+
*/
|
|
480
|
+
tags?: Record<string, string>;
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
485
|
+
export interface CreateLandingZoneOutput {
|
|
486
|
+
/**
|
|
487
|
+
* @public
|
|
488
|
+
* <p>The ARN of the landing zone resource.</p>
|
|
489
|
+
*/
|
|
490
|
+
arn: string | undefined;
|
|
491
|
+
/**
|
|
492
|
+
* @public
|
|
493
|
+
* <p>A unique identifier assigned to a <code>CreateLandingZone</code> operation. You can use this
|
|
494
|
+
* identifier as an input of <code>GetLandingZoneOperation</code> to check the operation's status.</p>
|
|
495
|
+
*/
|
|
496
|
+
operationIdentifier: string | undefined;
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
export interface DeleteLandingZoneInput {
|
|
502
|
+
/**
|
|
503
|
+
* @public
|
|
504
|
+
* <p>The unique identifier of the landing zone.</p>
|
|
505
|
+
*/
|
|
506
|
+
landingZoneIdentifier: string | undefined;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
export interface DeleteLandingZoneOutput {
|
|
512
|
+
/**
|
|
513
|
+
* @public
|
|
514
|
+
* <p>>A unique identifier assigned to a <code>DeleteLandingZone</code> operation. You can use this
|
|
515
|
+
* identifier as an input parameter of <code>GetLandingZoneOperation</code> to check the operation's status.</p>
|
|
516
|
+
*/
|
|
517
|
+
operationIdentifier: string | undefined;
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
export interface GetLandingZoneInput {
|
|
523
|
+
/**
|
|
524
|
+
* @public
|
|
525
|
+
* <p>The unique identifier of the landing zone.</p>
|
|
526
|
+
*/
|
|
527
|
+
landingZoneIdentifier: string | undefined;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* @public
|
|
531
|
+
* @enum
|
|
532
|
+
*/
|
|
533
|
+
export declare const LandingZoneDriftStatus: {
|
|
534
|
+
readonly DRIFTED: "DRIFTED";
|
|
535
|
+
readonly IN_SYNC: "IN_SYNC";
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* @public
|
|
539
|
+
*/
|
|
540
|
+
export type LandingZoneDriftStatus = (typeof LandingZoneDriftStatus)[keyof typeof LandingZoneDriftStatus];
|
|
541
|
+
/**
|
|
542
|
+
* @public
|
|
543
|
+
* <p>The drift status summary of the landing zone. </p>
|
|
544
|
+
* <p>If the landing zone differs from the expected configuration, it is defined to be in a state of
|
|
545
|
+
* drift. You can repair this drift by resetting the landing zone.</p>
|
|
546
|
+
*/
|
|
547
|
+
export interface LandingZoneDriftStatusSummary {
|
|
548
|
+
/**
|
|
549
|
+
* @public
|
|
550
|
+
* <p>The drift status of the landing zone. </p>
|
|
551
|
+
* <p>Valid values:</p>
|
|
552
|
+
* <ul>
|
|
553
|
+
* <li>
|
|
554
|
+
* <p>
|
|
555
|
+
* <code>DRIFTED</code>: The landing zone deployed in this configuration does not match the
|
|
556
|
+
* configuration that Amazon Web Services Control Tower expected. </p>
|
|
557
|
+
* </li>
|
|
558
|
+
* <li>
|
|
559
|
+
* <p>
|
|
560
|
+
* <code>IN_SYNC</code>: The landing zone deployed in this configuration matches the
|
|
561
|
+
* configuration that Amazon Web Services Control Tower expected. </p>
|
|
562
|
+
* </li>
|
|
563
|
+
* </ul>
|
|
564
|
+
*/
|
|
565
|
+
status?: LandingZoneDriftStatus;
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* @public
|
|
569
|
+
* @enum
|
|
570
|
+
*/
|
|
571
|
+
export declare const LandingZoneStatus: {
|
|
572
|
+
readonly ACTIVE: "ACTIVE";
|
|
573
|
+
readonly FAILED: "FAILED";
|
|
574
|
+
readonly PROCESSING: "PROCESSING";
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
export type LandingZoneStatus = (typeof LandingZoneStatus)[keyof typeof LandingZoneStatus];
|
|
580
|
+
/**
|
|
581
|
+
* @public
|
|
582
|
+
* <p>Information about the landing zone.</p>
|
|
583
|
+
*/
|
|
584
|
+
export interface LandingZoneDetail {
|
|
585
|
+
/**
|
|
586
|
+
* @public
|
|
587
|
+
* <p>The landing zone's current deployed version.</p>
|
|
588
|
+
*/
|
|
589
|
+
version: string | undefined;
|
|
590
|
+
/**
|
|
591
|
+
* @public
|
|
592
|
+
* <p>The landing zone <code>manifest.yaml</code> text file that specifies the landing zone configurations. </p>
|
|
593
|
+
*/
|
|
594
|
+
manifest: __DocumentType | undefined;
|
|
595
|
+
/**
|
|
596
|
+
* @public
|
|
597
|
+
* <p>The ARN of the landing zone.</p>
|
|
598
|
+
*/
|
|
599
|
+
arn?: string;
|
|
600
|
+
/**
|
|
601
|
+
* @public
|
|
602
|
+
* <p>The landing zone deployment status.</p>
|
|
603
|
+
*/
|
|
604
|
+
status?: LandingZoneStatus;
|
|
605
|
+
/**
|
|
606
|
+
* @public
|
|
607
|
+
* <p>The latest available version of the landing zone.</p>
|
|
608
|
+
*/
|
|
609
|
+
latestAvailableVersion?: string;
|
|
610
|
+
/**
|
|
611
|
+
* @public
|
|
612
|
+
* <p>The drift status of the landing zone.</p>
|
|
613
|
+
*/
|
|
614
|
+
driftStatus?: LandingZoneDriftStatusSummary;
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* @public
|
|
618
|
+
*/
|
|
619
|
+
export interface GetLandingZoneOutput {
|
|
620
|
+
/**
|
|
621
|
+
* @public
|
|
622
|
+
* <p>Information about the landing zone.</p>
|
|
623
|
+
*/
|
|
624
|
+
landingZone: LandingZoneDetail | undefined;
|
|
625
|
+
}
|
|
626
|
+
/**
|
|
627
|
+
* @public
|
|
628
|
+
*/
|
|
629
|
+
export interface GetLandingZoneOperationInput {
|
|
630
|
+
/**
|
|
631
|
+
* @public
|
|
632
|
+
* <p>A unique identifier assigned to a landing zone operation.</p>
|
|
633
|
+
*/
|
|
634
|
+
operationIdentifier: string | undefined;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* @public
|
|
638
|
+
* @enum
|
|
639
|
+
*/
|
|
640
|
+
export declare const LandingZoneOperationType: {
|
|
641
|
+
readonly CREATE: "CREATE";
|
|
642
|
+
readonly DELETE: "DELETE";
|
|
643
|
+
readonly RESET: "RESET";
|
|
644
|
+
readonly UPDATE: "UPDATE";
|
|
645
|
+
};
|
|
646
|
+
/**
|
|
647
|
+
* @public
|
|
648
|
+
*/
|
|
649
|
+
export type LandingZoneOperationType = (typeof LandingZoneOperationType)[keyof typeof LandingZoneOperationType];
|
|
650
|
+
/**
|
|
651
|
+
* @public
|
|
652
|
+
* @enum
|
|
653
|
+
*/
|
|
654
|
+
export declare const LandingZoneOperationStatus: {
|
|
655
|
+
readonly FAILED: "FAILED";
|
|
656
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
657
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
658
|
+
};
|
|
659
|
+
/**
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
export type LandingZoneOperationStatus = (typeof LandingZoneOperationStatus)[keyof typeof LandingZoneOperationStatus];
|
|
663
|
+
/**
|
|
664
|
+
* @public
|
|
665
|
+
* <p>Information about a landing zone operation.</p>
|
|
666
|
+
*/
|
|
667
|
+
export interface LandingZoneOperationDetail {
|
|
668
|
+
/**
|
|
669
|
+
* @public
|
|
670
|
+
* <p>The landing zone operation type. </p>
|
|
671
|
+
* <p>Valid values:</p>
|
|
672
|
+
* <ul>
|
|
673
|
+
* <li>
|
|
674
|
+
* <p>
|
|
675
|
+
* <code>DELETE</code>: The <code>DeleteLandingZone</code> operation. </p>
|
|
676
|
+
* </li>
|
|
677
|
+
* <li>
|
|
678
|
+
* <p>
|
|
679
|
+
* <code>CREATE</code>: The <code>CreateLandingZone</code> operation. </p>
|
|
680
|
+
* </li>
|
|
681
|
+
* <li>
|
|
682
|
+
* <p>
|
|
683
|
+
* <code>UPDATE</code>: The <code>UpdateLandingZone</code> operation. </p>
|
|
684
|
+
* </li>
|
|
685
|
+
* <li>
|
|
686
|
+
* <p>
|
|
687
|
+
* <code>RESET</code>: The <code>ResetLandingZone</code> operation. </p>
|
|
688
|
+
* </li>
|
|
689
|
+
* </ul>
|
|
690
|
+
*/
|
|
691
|
+
operationType?: LandingZoneOperationType;
|
|
692
|
+
/**
|
|
693
|
+
* @public
|
|
694
|
+
* <p>The landing zone operation start time.</p>
|
|
695
|
+
*/
|
|
696
|
+
startTime?: Date;
|
|
697
|
+
/**
|
|
698
|
+
* @public
|
|
699
|
+
* <p>The landing zone operation end time.</p>
|
|
700
|
+
*/
|
|
701
|
+
endTime?: Date;
|
|
702
|
+
/**
|
|
703
|
+
* @public
|
|
704
|
+
* <p>Valid values:</p>
|
|
705
|
+
* <ul>
|
|
706
|
+
* <li>
|
|
707
|
+
* <p>
|
|
708
|
+
* <code>SUCCEEDED</code>: The landing zone operation succeeded. </p>
|
|
709
|
+
* </li>
|
|
710
|
+
* <li>
|
|
711
|
+
* <p>
|
|
712
|
+
* <code>IN_PROGRESS</code>: The landing zone operation is in progress. </p>
|
|
713
|
+
* </li>
|
|
714
|
+
* <li>
|
|
715
|
+
* <p>
|
|
716
|
+
* <code>FAILED</code>: The landing zone operation failed. </p>
|
|
717
|
+
* </li>
|
|
718
|
+
* </ul>
|
|
719
|
+
*/
|
|
720
|
+
status?: LandingZoneOperationStatus;
|
|
721
|
+
/**
|
|
722
|
+
* @public
|
|
723
|
+
* <p>If the operation result is FAILED, this string contains a message explaining why the operation failed.</p>
|
|
724
|
+
*/
|
|
725
|
+
statusMessage?: string;
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
730
|
+
export interface GetLandingZoneOperationOutput {
|
|
731
|
+
/**
|
|
732
|
+
* @public
|
|
733
|
+
* <p>Details about a landing zone operation.</p>
|
|
734
|
+
*/
|
|
735
|
+
operationDetails: LandingZoneOperationDetail | undefined;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* @public
|
|
739
|
+
*/
|
|
740
|
+
export interface ListLandingZonesInput {
|
|
741
|
+
/**
|
|
742
|
+
* @public
|
|
743
|
+
* <p>The token to continue the list from a previous API call with the same parameters.</p>
|
|
744
|
+
*/
|
|
745
|
+
nextToken?: string;
|
|
746
|
+
/**
|
|
747
|
+
* @public
|
|
748
|
+
* <p>The maximum number of returned landing zone ARNs, which is one.</p>
|
|
749
|
+
*/
|
|
750
|
+
maxResults?: number;
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* @public
|
|
754
|
+
* <p>Returns a summary of information about a landing zone.</p>
|
|
755
|
+
*/
|
|
756
|
+
export interface LandingZoneSummary {
|
|
757
|
+
/**
|
|
758
|
+
* @public
|
|
759
|
+
* <p>The ARN of the landing zone.</p>
|
|
760
|
+
*/
|
|
761
|
+
arn?: string;
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
export interface ListLandingZonesOutput {
|
|
767
|
+
/**
|
|
768
|
+
* @public
|
|
769
|
+
* <p>The ARN of the landing zone.</p>
|
|
770
|
+
*/
|
|
771
|
+
landingZones: LandingZoneSummary[] | undefined;
|
|
772
|
+
/**
|
|
773
|
+
* @public
|
|
774
|
+
* <p>Retrieves the next page of results. If the string is empty, the response is the end of the results.</p>
|
|
775
|
+
*/
|
|
776
|
+
nextToken?: string;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* @public
|
|
780
|
+
*/
|
|
781
|
+
export interface ResetLandingZoneInput {
|
|
782
|
+
/**
|
|
783
|
+
* @public
|
|
784
|
+
* <p>The unique identifier of the landing zone.</p>
|
|
785
|
+
*/
|
|
786
|
+
landingZoneIdentifier: string | undefined;
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
export interface ResetLandingZoneOutput {
|
|
792
|
+
/**
|
|
793
|
+
* @public
|
|
794
|
+
* <p>A unique identifier assigned to a <code>ResetLandingZone</code> operation. You can use this
|
|
795
|
+
* identifier as an input parameter of <code>GetLandingZoneOperation</code> to check the operation's status.</p>
|
|
796
|
+
*/
|
|
797
|
+
operationIdentifier: string | undefined;
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
export interface UpdateLandingZoneInput {
|
|
803
|
+
/**
|
|
804
|
+
* @public
|
|
805
|
+
* <p>The landing zone version, for example, 3.2.</p>
|
|
806
|
+
*/
|
|
807
|
+
version: string | undefined;
|
|
808
|
+
/**
|
|
809
|
+
* @public
|
|
810
|
+
* <p>The <code>manifest.yaml</code> file is a text file that describes your Amazon Web Services resources. For examples, review
|
|
811
|
+
* <a href="https://docs.aws.amazon.com/controltower/latest/userguide/the-manifest-file">The manifest file</a>.</p>
|
|
812
|
+
*/
|
|
813
|
+
manifest: __DocumentType | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* @public
|
|
816
|
+
* <p>The unique identifier of the landing zone.</p>
|
|
817
|
+
*/
|
|
818
|
+
landingZoneIdentifier: string | undefined;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* @public
|
|
822
|
+
*/
|
|
823
|
+
export interface UpdateLandingZoneOutput {
|
|
824
|
+
/**
|
|
825
|
+
* @public
|
|
826
|
+
* <p>A unique identifier assigned to a <code>UpdateLandingZone</code> operation. You can use this
|
|
827
|
+
* identifier as an input of <code>GetLandingZoneOperation</code> to check the operation's status.</p>
|
|
828
|
+
*/
|
|
829
|
+
operationIdentifier: string | undefined;
|
|
830
|
+
}
|
|
415
831
|
/**
|
|
416
832
|
* @public
|
|
417
833
|
*/
|
|
@@ -449,9 +865,7 @@ export interface EnabledControlSummary {
|
|
|
449
865
|
arn?: string;
|
|
450
866
|
/**
|
|
451
867
|
* @public
|
|
452
|
-
* <p>
|
|
453
|
-
* The ARN of the organizational unit.
|
|
454
|
-
* </p>
|
|
868
|
+
* <p>The ARN of the organizational unit.</p>
|
|
455
869
|
*/
|
|
456
870
|
targetIdentifier?: string;
|
|
457
871
|
/**
|
|
@@ -471,13 +885,13 @@ export interface EnabledControlSummary {
|
|
|
471
885
|
export interface ListEnabledControlsOutput {
|
|
472
886
|
/**
|
|
473
887
|
* @public
|
|
474
|
-
* <p>Lists the controls enabled by
|
|
888
|
+
* <p>Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and
|
|
475
889
|
* the accounts it contains.</p>
|
|
476
890
|
*/
|
|
477
891
|
enabledControls: EnabledControlSummary[] | undefined;
|
|
478
892
|
/**
|
|
479
893
|
* @public
|
|
480
|
-
* <p>Retrieves the next page of results. If the string is empty, the
|
|
894
|
+
* <p>Retrieves the next page of results. If the string is empty, the response is the
|
|
481
895
|
* end of the results.</p>
|
|
482
896
|
*/
|
|
483
897
|
nextToken?: string;
|
|
@@ -542,3 +956,32 @@ export interface UntagResourceInput {
|
|
|
542
956
|
*/
|
|
543
957
|
export interface UntagResourceOutput {
|
|
544
958
|
}
|
|
959
|
+
/**
|
|
960
|
+
* @public
|
|
961
|
+
*/
|
|
962
|
+
export interface UpdateEnabledControlInput {
|
|
963
|
+
/**
|
|
964
|
+
* @public
|
|
965
|
+
* <p>A key/value pair, where <code>Key</code> is of type <code>String</code> and <code>Value</code> is of type <code>Document</code>.</p>
|
|
966
|
+
*/
|
|
967
|
+
parameters: EnabledControlParameter[] | undefined;
|
|
968
|
+
/**
|
|
969
|
+
* @public
|
|
970
|
+
* <p>
|
|
971
|
+
* The ARN of the enabled control that will be updated.
|
|
972
|
+
* </p>
|
|
973
|
+
*/
|
|
974
|
+
enabledControlIdentifier: string | undefined;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* @public
|
|
978
|
+
*/
|
|
979
|
+
export interface UpdateEnabledControlOutput {
|
|
980
|
+
/**
|
|
981
|
+
* @public
|
|
982
|
+
* <p>
|
|
983
|
+
* The operation identifier for this <code>UpdateEnabledControl</code> operation.
|
|
984
|
+
* </p>
|
|
985
|
+
*/
|
|
986
|
+
operationIdentifier: string | undefined;
|
|
987
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListLandingZonesCommandInput, ListLandingZonesCommandOutput } from "../commands/ListLandingZonesCommand";
|
|
3
|
+
import { ControlTowerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListLandingZones(config: ControlTowerPaginationConfiguration, input: ListLandingZonesCommandInput, ...additionalArguments: any): Paginator<ListLandingZonesCommandOutput>;
|