@aws-sdk/client-controltower 3.425.0 → 3.428.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 +52 -12
- package/dist-cjs/ControlTower.js +2 -0
- package/dist-cjs/commands/GetEnabledControlCommand.js +51 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +12 -1
- package/dist-cjs/protocols/Aws_restJson1.js +68 -1
- package/dist-es/ControlTower.js +2 -0
- package/dist-es/commands/GetEnabledControlCommand.js +47 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +65 -0
- package/dist-types/ControlTower.d.ts +51 -12
- package/dist-types/ControlTowerClient.d.ts +47 -14
- package/dist-types/commands/DisableControlCommand.d.ts +7 -6
- package/dist-types/commands/EnableControlCommand.d.ts +8 -6
- package/dist-types/commands/GetControlOperationCommand.d.ts +6 -4
- package/dist-types/commands/GetEnabledControlCommand.d.ts +121 -0
- package/dist-types/commands/ListEnabledControlsCommand.d.ts +14 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +44 -12
- package/dist-types/models/models_0.d.ts +232 -14
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/ControlTower.d.ts +17 -0
- package/dist-types/ts3.4/ControlTowerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetEnabledControlCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +31 -31
|
@@ -2,8 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { ControlTowerServiceException as __BaseException } from "./ControlTowerServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
-
* <p>User does not have sufficient access to perform this action
|
|
6
|
-
* </p>
|
|
5
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
7
6
|
*/
|
|
8
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
9
8
|
readonly name: "AccessDeniedException";
|
|
@@ -31,13 +30,14 @@ export declare class ConflictException extends __BaseException {
|
|
|
31
30
|
export interface DisableControlInput {
|
|
32
31
|
/**
|
|
33
32
|
* @public
|
|
34
|
-
* <p>The ARN of the control. Only <b>Strongly recommended</b> and
|
|
35
|
-
*
|
|
33
|
+
* <p>The ARN of the control. Only <b>Strongly recommended</b> and
|
|
34
|
+
* <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
36
|
*/
|
|
37
37
|
controlIdentifier: string | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* @public
|
|
40
|
-
* <p>The ARN of the organizational unit
|
|
40
|
+
* <p>The ARN of the organizational unit. For information on how to find the <code>targetIdentifier</code>, see <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html">the overview page</a>.</p>
|
|
41
41
|
*/
|
|
42
42
|
targetIdentifier: string | undefined;
|
|
43
43
|
}
|
|
@@ -79,7 +79,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* @public
|
|
82
|
-
* <p>Request would cause a service quota to be exceeded. The limit is 10 concurrent operations
|
|
82
|
+
* <p>Request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
|
|
83
83
|
*/
|
|
84
84
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
85
85
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -137,13 +137,14 @@ export declare class ValidationException extends __BaseException {
|
|
|
137
137
|
export interface EnableControlInput {
|
|
138
138
|
/**
|
|
139
139
|
* @public
|
|
140
|
-
* <p>The ARN of the control. Only <b>Strongly recommended</b> and
|
|
141
|
-
* with the exception of the
|
|
140
|
+
* <p>The ARN of the control. Only <b>Strongly recommended</b> and
|
|
141
|
+
* <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>
|
|
142
143
|
*/
|
|
143
144
|
controlIdentifier: string | undefined;
|
|
144
145
|
/**
|
|
145
146
|
* @public
|
|
146
|
-
* <p>The ARN of the organizational unit
|
|
147
|
+
* <p>The ARN of the organizational unit. For information on how to find the <code>targetIdentifier</code>, see <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html">the overview page</a>.</p>
|
|
147
148
|
*/
|
|
148
149
|
targetIdentifier: string | undefined;
|
|
149
150
|
}
|
|
@@ -221,7 +222,8 @@ export interface ControlOperation {
|
|
|
221
222
|
status?: ControlOperationStatus | string;
|
|
222
223
|
/**
|
|
223
224
|
* @public
|
|
224
|
-
* <p>If the operation result is <code>FAILED</code>, this string contains a message explaining
|
|
225
|
+
* <p>If the operation result is <code>FAILED</code>, this string contains a message explaining
|
|
226
|
+
* why the operation failed.</p>
|
|
225
227
|
*/
|
|
226
228
|
statusMessage?: string;
|
|
227
229
|
}
|
|
@@ -231,17 +233,206 @@ export interface ControlOperation {
|
|
|
231
233
|
export interface GetControlOperationOutput {
|
|
232
234
|
/**
|
|
233
235
|
* @public
|
|
234
|
-
* <p
|
|
236
|
+
* <p>An operation performed by the control.</p>
|
|
235
237
|
*/
|
|
236
238
|
controlOperation: ControlOperation | undefined;
|
|
237
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
export interface GetEnabledControlInput {
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
* <p>
|
|
247
|
+
* The ARN of the enabled control.
|
|
248
|
+
* </p>
|
|
249
|
+
*/
|
|
250
|
+
enabledControlIdentifier: string | undefined;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* @public
|
|
254
|
+
* @enum
|
|
255
|
+
*/
|
|
256
|
+
export declare const DriftStatus: {
|
|
257
|
+
readonly DRIFTED: "DRIFTED";
|
|
258
|
+
readonly IN_SYNC: "IN_SYNC";
|
|
259
|
+
readonly NOT_CHECKING: "NOT_CHECKING";
|
|
260
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export type DriftStatus = (typeof DriftStatus)[keyof typeof DriftStatus];
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
* <p> The drift summary of the enabled control.</p>
|
|
269
|
+
* <p>AWS Control Tower expects the enabled control
|
|
270
|
+
* configuration to include all supported and governed Regions. If the enabled control differs
|
|
271
|
+
* 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>
|
|
272
|
+
*/
|
|
273
|
+
export interface DriftStatusSummary {
|
|
274
|
+
/**
|
|
275
|
+
* @public
|
|
276
|
+
* <p> The drift status of the enabled control.</p>
|
|
277
|
+
* <p>Valid values:</p>
|
|
278
|
+
* <ul>
|
|
279
|
+
* <li>
|
|
280
|
+
* <p>
|
|
281
|
+
* <code>DRIFTED</code>: The <code>enabledControl</code> deployed in this configuration
|
|
282
|
+
* doesn’t match the configuration that AWS Control Tower expected. </p>
|
|
283
|
+
* </li>
|
|
284
|
+
* <li>
|
|
285
|
+
* <p>
|
|
286
|
+
* <code>IN_SYNC</code>: The <code>enabledControl</code> deployed in this configuration matches
|
|
287
|
+
* the configuration that AWS Control Tower expected.</p>
|
|
288
|
+
* </li>
|
|
289
|
+
* <li>
|
|
290
|
+
* <p>
|
|
291
|
+
* <code>NOT_CHECKING</code>: AWS Control Tower does not check drift for this enabled
|
|
292
|
+
* control. Drift is not supported for the control type.</p>
|
|
293
|
+
* </li>
|
|
294
|
+
* <li>
|
|
295
|
+
* <p>
|
|
296
|
+
* <code>UNKNOWN</code>: AWS Control Tower is not able to check the drift status for the
|
|
297
|
+
* enabled control. </p>
|
|
298
|
+
* </li>
|
|
299
|
+
* </ul>
|
|
300
|
+
*/
|
|
301
|
+
driftStatus?: DriftStatus | string;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* @public
|
|
305
|
+
* @enum
|
|
306
|
+
*/
|
|
307
|
+
export declare const EnablementStatus: {
|
|
308
|
+
readonly FAILED: "FAILED";
|
|
309
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
310
|
+
readonly UNDER_CHANGE: "UNDER_CHANGE";
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
export type EnablementStatus = (typeof EnablementStatus)[keyof typeof EnablementStatus];
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
* <p>
|
|
319
|
+
* The deployment summary of the enabled control.
|
|
320
|
+
* </p>
|
|
321
|
+
*/
|
|
322
|
+
export interface EnablementStatusSummary {
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
* <p> The deployment status of the enabled control.</p>
|
|
326
|
+
* <p>Valid values:</p>
|
|
327
|
+
* <ul>
|
|
328
|
+
* <li>
|
|
329
|
+
* <p>
|
|
330
|
+
* <code>SUCCEEDED</code>: The <code>enabledControl</code> configuration was deployed successfully.</p>
|
|
331
|
+
* </li>
|
|
332
|
+
* <li>
|
|
333
|
+
* <p>
|
|
334
|
+
* <code>UNDER_CHANGE</code>: The <code>enabledControl</code> configuration is changing. </p>
|
|
335
|
+
* </li>
|
|
336
|
+
* <li>
|
|
337
|
+
* <p>
|
|
338
|
+
* <code>FAILED</code>: The <code>enabledControl</code> configuration failed to deploy.</p>
|
|
339
|
+
* </li>
|
|
340
|
+
* </ul>
|
|
341
|
+
*/
|
|
342
|
+
status?: EnablementStatus | string;
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
* <p>
|
|
346
|
+
* The last operation identifier for the enabled control.
|
|
347
|
+
* </p>
|
|
348
|
+
*/
|
|
349
|
+
lastOperationIdentifier?: string;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* @public
|
|
353
|
+
* <p>An AWS Region in which AWS Control Tower expects to find the control deployed. </p>
|
|
354
|
+
* <p>The expected Regions are based on the Regions that are governed by the landing zone. In
|
|
355
|
+
* certain cases, a control is not actually enabled in the Region as expected, such as during
|
|
356
|
+
* drift, or <a href="https://docs.aws.amazon.com/controltower/latest/userguide/region-how.html#mixed-governance">mixed governance</a>.</p>
|
|
357
|
+
*/
|
|
358
|
+
export interface Region {
|
|
359
|
+
/**
|
|
360
|
+
* @public
|
|
361
|
+
* <p>
|
|
362
|
+
* The AWS Region name.
|
|
363
|
+
* </p>
|
|
364
|
+
*/
|
|
365
|
+
name?: string;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* @public
|
|
369
|
+
* <p>
|
|
370
|
+
* Information about the enabled control.
|
|
371
|
+
* </p>
|
|
372
|
+
*/
|
|
373
|
+
export interface EnabledControlDetails {
|
|
374
|
+
/**
|
|
375
|
+
* @public
|
|
376
|
+
* <p>
|
|
377
|
+
* The ARN of the enabled control.
|
|
378
|
+
* </p>
|
|
379
|
+
*/
|
|
380
|
+
arn?: string;
|
|
381
|
+
/**
|
|
382
|
+
* @public
|
|
383
|
+
* <p>
|
|
384
|
+
* The control identifier of the enabled 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>.
|
|
385
|
+
* </p>
|
|
386
|
+
*/
|
|
387
|
+
controlIdentifier?: string;
|
|
388
|
+
/**
|
|
389
|
+
* @public
|
|
390
|
+
* <p>
|
|
391
|
+
* The ARN of the organizational unit. For information on how to find the <code>targetIdentifier</code>, see <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html">the overview page</a>.
|
|
392
|
+
* </p>
|
|
393
|
+
*/
|
|
394
|
+
targetIdentifier?: string;
|
|
395
|
+
/**
|
|
396
|
+
* @public
|
|
397
|
+
* <p>
|
|
398
|
+
* Target AWS Regions for the enabled control.
|
|
399
|
+
* </p>
|
|
400
|
+
*/
|
|
401
|
+
targetRegions?: Region[];
|
|
402
|
+
/**
|
|
403
|
+
* @public
|
|
404
|
+
* <p>
|
|
405
|
+
* The deployment summary of the enabled control.
|
|
406
|
+
* </p>
|
|
407
|
+
*/
|
|
408
|
+
statusSummary?: EnablementStatusSummary;
|
|
409
|
+
/**
|
|
410
|
+
* @public
|
|
411
|
+
* <p>
|
|
412
|
+
* The drift status of the enabled control.
|
|
413
|
+
* </p>
|
|
414
|
+
*/
|
|
415
|
+
driftStatusSummary?: DriftStatusSummary;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
export interface GetEnabledControlOutput {
|
|
421
|
+
/**
|
|
422
|
+
* @public
|
|
423
|
+
* <p>
|
|
424
|
+
* Information about the enabled control.
|
|
425
|
+
* </p>
|
|
426
|
+
*/
|
|
427
|
+
enabledControlDetails: EnabledControlDetails | undefined;
|
|
428
|
+
}
|
|
238
429
|
/**
|
|
239
430
|
* @public
|
|
240
431
|
*/
|
|
241
432
|
export interface ListEnabledControlsInput {
|
|
242
433
|
/**
|
|
243
434
|
* @public
|
|
244
|
-
* <p>The ARN of the organizational unit
|
|
435
|
+
* <p>The ARN of the organizational unit. For information on how to find the <code>targetIdentifier</code>, see <a href="https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html">the overview page</a>.</p>
|
|
245
436
|
*/
|
|
246
437
|
targetIdentifier: string | undefined;
|
|
247
438
|
/**
|
|
@@ -262,10 +453,37 @@ export interface ListEnabledControlsInput {
|
|
|
262
453
|
export interface EnabledControlSummary {
|
|
263
454
|
/**
|
|
264
455
|
* @public
|
|
265
|
-
* <p>The ARN of the control. Only <b>Strongly recommended</b> and
|
|
266
|
-
* with the exception of the
|
|
456
|
+
* <p>The ARN of the control. Only <b>Strongly recommended</b> and
|
|
457
|
+
* <b>Elective</b> controls are permitted, with the exception of the
|
|
458
|
+
* <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>
|
|
267
459
|
*/
|
|
268
460
|
controlIdentifier?: string;
|
|
461
|
+
/**
|
|
462
|
+
* @public
|
|
463
|
+
* <p>
|
|
464
|
+
* The ARN of the enabled control.
|
|
465
|
+
* </p>
|
|
466
|
+
*/
|
|
467
|
+
arn?: string;
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
* <p>
|
|
471
|
+
* The ARN of the organizational unit.
|
|
472
|
+
* </p>
|
|
473
|
+
*/
|
|
474
|
+
targetIdentifier?: string;
|
|
475
|
+
/**
|
|
476
|
+
* @public
|
|
477
|
+
*
|
|
478
|
+
*/
|
|
479
|
+
statusSummary?: EnablementStatusSummary;
|
|
480
|
+
/**
|
|
481
|
+
* @public
|
|
482
|
+
* <p>
|
|
483
|
+
* The drift status of the enabled control.
|
|
484
|
+
* </p>
|
|
485
|
+
*/
|
|
486
|
+
driftStatusSummary?: DriftStatusSummary;
|
|
269
487
|
}
|
|
270
488
|
/**
|
|
271
489
|
* @public
|
|
@@ -3,6 +3,7 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
|
3
3
|
import { DisableControlCommandInput, DisableControlCommandOutput } from "../commands/DisableControlCommand";
|
|
4
4
|
import { EnableControlCommandInput, EnableControlCommandOutput } from "../commands/EnableControlCommand";
|
|
5
5
|
import { GetControlOperationCommandInput, GetControlOperationCommandOutput } from "../commands/GetControlOperationCommand";
|
|
6
|
+
import { GetEnabledControlCommandInput, GetEnabledControlCommandOutput } from "../commands/GetEnabledControlCommand";
|
|
6
7
|
import { ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput } from "../commands/ListEnabledControlsCommand";
|
|
7
8
|
/**
|
|
8
9
|
* serializeAws_restJson1DisableControlCommand
|
|
@@ -16,6 +17,10 @@ export declare const se_EnableControlCommand: (input: EnableControlCommandInput,
|
|
|
16
17
|
* serializeAws_restJson1GetControlOperationCommand
|
|
17
18
|
*/
|
|
18
19
|
export declare const se_GetControlOperationCommand: (input: GetControlOperationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
|
+
/**
|
|
21
|
+
* serializeAws_restJson1GetEnabledControlCommand
|
|
22
|
+
*/
|
|
23
|
+
export declare const se_GetEnabledControlCommand: (input: GetEnabledControlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
24
|
/**
|
|
20
25
|
* serializeAws_restJson1ListEnabledControlsCommand
|
|
21
26
|
*/
|
|
@@ -32,6 +37,10 @@ export declare const de_EnableControlCommand: (output: __HttpResponse, context:
|
|
|
32
37
|
* deserializeAws_restJson1GetControlOperationCommand
|
|
33
38
|
*/
|
|
34
39
|
export declare const de_GetControlOperationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetControlOperationCommandOutput>;
|
|
40
|
+
/**
|
|
41
|
+
* deserializeAws_restJson1GetEnabledControlCommand
|
|
42
|
+
*/
|
|
43
|
+
export declare const de_GetEnabledControlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEnabledControlCommandOutput>;
|
|
35
44
|
/**
|
|
36
45
|
* deserializeAws_restJson1ListEnabledControlsCommand
|
|
37
46
|
*/
|
|
@@ -11,6 +11,10 @@ import {
|
|
|
11
11
|
GetControlOperationCommandInput,
|
|
12
12
|
GetControlOperationCommandOutput,
|
|
13
13
|
} from "./commands/GetControlOperationCommand";
|
|
14
|
+
import {
|
|
15
|
+
GetEnabledControlCommandInput,
|
|
16
|
+
GetEnabledControlCommandOutput,
|
|
17
|
+
} from "./commands/GetEnabledControlCommand";
|
|
14
18
|
import {
|
|
15
19
|
ListEnabledControlsCommandInput,
|
|
16
20
|
ListEnabledControlsCommandOutput,
|
|
@@ -56,6 +60,19 @@ export interface ControlTower {
|
|
|
56
60
|
options: __HttpHandlerOptions,
|
|
57
61
|
cb: (err: any, data?: GetControlOperationCommandOutput) => void
|
|
58
62
|
): void;
|
|
63
|
+
getEnabledControl(
|
|
64
|
+
args: GetEnabledControlCommandInput,
|
|
65
|
+
options?: __HttpHandlerOptions
|
|
66
|
+
): Promise<GetEnabledControlCommandOutput>;
|
|
67
|
+
getEnabledControl(
|
|
68
|
+
args: GetEnabledControlCommandInput,
|
|
69
|
+
cb: (err: any, data?: GetEnabledControlCommandOutput) => void
|
|
70
|
+
): void;
|
|
71
|
+
getEnabledControl(
|
|
72
|
+
args: GetEnabledControlCommandInput,
|
|
73
|
+
options: __HttpHandlerOptions,
|
|
74
|
+
cb: (err: any, data?: GetEnabledControlCommandOutput) => void
|
|
75
|
+
): void;
|
|
59
76
|
listEnabledControls(
|
|
60
77
|
args: ListEnabledControlsCommandInput,
|
|
61
78
|
options?: __HttpHandlerOptions
|
|
@@ -57,6 +57,10 @@ import {
|
|
|
57
57
|
GetControlOperationCommandInput,
|
|
58
58
|
GetControlOperationCommandOutput,
|
|
59
59
|
} from "./commands/GetControlOperationCommand";
|
|
60
|
+
import {
|
|
61
|
+
GetEnabledControlCommandInput,
|
|
62
|
+
GetEnabledControlCommandOutput,
|
|
63
|
+
} from "./commands/GetEnabledControlCommand";
|
|
60
64
|
import {
|
|
61
65
|
ListEnabledControlsCommandInput,
|
|
62
66
|
ListEnabledControlsCommandOutput,
|
|
@@ -72,11 +76,13 @@ export type ServiceInputTypes =
|
|
|
72
76
|
| DisableControlCommandInput
|
|
73
77
|
| EnableControlCommandInput
|
|
74
78
|
| GetControlOperationCommandInput
|
|
79
|
+
| GetEnabledControlCommandInput
|
|
75
80
|
| ListEnabledControlsCommandInput;
|
|
76
81
|
export type ServiceOutputTypes =
|
|
77
82
|
| DisableControlCommandOutput
|
|
78
83
|
| EnableControlCommandOutput
|
|
79
84
|
| GetControlOperationCommandOutput
|
|
85
|
+
| GetEnabledControlCommandOutput
|
|
80
86
|
| ListEnabledControlsCommandOutput;
|
|
81
87
|
export interface ClientDefaults
|
|
82
88
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ControlTowerClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ControlTowerClient";
|
|
14
|
+
import {
|
|
15
|
+
GetEnabledControlInput,
|
|
16
|
+
GetEnabledControlOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetEnabledControlCommandInput extends GetEnabledControlInput {}
|
|
20
|
+
export interface GetEnabledControlCommandOutput
|
|
21
|
+
extends GetEnabledControlOutput,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetEnabledControlCommand extends $Command<
|
|
24
|
+
GetEnabledControlCommandInput,
|
|
25
|
+
GetEnabledControlCommandOutput,
|
|
26
|
+
ControlTowerClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetEnabledControlCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetEnabledControlCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ControlTowerClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetEnabledControlCommandInput, GetEnabledControlCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -94,6 +94,44 @@ export interface ControlOperation {
|
|
|
94
94
|
export interface GetControlOperationOutput {
|
|
95
95
|
controlOperation: ControlOperation | undefined;
|
|
96
96
|
}
|
|
97
|
+
export interface GetEnabledControlInput {
|
|
98
|
+
enabledControlIdentifier: string | undefined;
|
|
99
|
+
}
|
|
100
|
+
export declare const DriftStatus: {
|
|
101
|
+
readonly DRIFTED: "DRIFTED";
|
|
102
|
+
readonly IN_SYNC: "IN_SYNC";
|
|
103
|
+
readonly NOT_CHECKING: "NOT_CHECKING";
|
|
104
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
105
|
+
};
|
|
106
|
+
export type DriftStatus = (typeof DriftStatus)[keyof typeof DriftStatus];
|
|
107
|
+
export interface DriftStatusSummary {
|
|
108
|
+
driftStatus?: DriftStatus | string;
|
|
109
|
+
}
|
|
110
|
+
export declare const EnablementStatus: {
|
|
111
|
+
readonly FAILED: "FAILED";
|
|
112
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
113
|
+
readonly UNDER_CHANGE: "UNDER_CHANGE";
|
|
114
|
+
};
|
|
115
|
+
export type EnablementStatus =
|
|
116
|
+
(typeof EnablementStatus)[keyof typeof EnablementStatus];
|
|
117
|
+
export interface EnablementStatusSummary {
|
|
118
|
+
status?: EnablementStatus | string;
|
|
119
|
+
lastOperationIdentifier?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface Region {
|
|
122
|
+
name?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface EnabledControlDetails {
|
|
125
|
+
arn?: string;
|
|
126
|
+
controlIdentifier?: string;
|
|
127
|
+
targetIdentifier?: string;
|
|
128
|
+
targetRegions?: Region[];
|
|
129
|
+
statusSummary?: EnablementStatusSummary;
|
|
130
|
+
driftStatusSummary?: DriftStatusSummary;
|
|
131
|
+
}
|
|
132
|
+
export interface GetEnabledControlOutput {
|
|
133
|
+
enabledControlDetails: EnabledControlDetails | undefined;
|
|
134
|
+
}
|
|
97
135
|
export interface ListEnabledControlsInput {
|
|
98
136
|
targetIdentifier: string | undefined;
|
|
99
137
|
nextToken?: string;
|
|
@@ -101,6 +139,10 @@ export interface ListEnabledControlsInput {
|
|
|
101
139
|
}
|
|
102
140
|
export interface EnabledControlSummary {
|
|
103
141
|
controlIdentifier?: string;
|
|
142
|
+
arn?: string;
|
|
143
|
+
targetIdentifier?: string;
|
|
144
|
+
statusSummary?: EnablementStatusSummary;
|
|
145
|
+
driftStatusSummary?: DriftStatusSummary;
|
|
104
146
|
}
|
|
105
147
|
export interface ListEnabledControlsOutput {
|
|
106
148
|
enabledControls: EnabledControlSummary[] | undefined;
|
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
GetControlOperationCommandInput,
|
|
16
16
|
GetControlOperationCommandOutput,
|
|
17
17
|
} from "../commands/GetControlOperationCommand";
|
|
18
|
+
import {
|
|
19
|
+
GetEnabledControlCommandInput,
|
|
20
|
+
GetEnabledControlCommandOutput,
|
|
21
|
+
} from "../commands/GetEnabledControlCommand";
|
|
18
22
|
import {
|
|
19
23
|
ListEnabledControlsCommandInput,
|
|
20
24
|
ListEnabledControlsCommandOutput,
|
|
@@ -31,6 +35,10 @@ export declare const se_GetControlOperationCommand: (
|
|
|
31
35
|
input: GetControlOperationCommandInput,
|
|
32
36
|
context: __SerdeContext
|
|
33
37
|
) => Promise<__HttpRequest>;
|
|
38
|
+
export declare const se_GetEnabledControlCommand: (
|
|
39
|
+
input: GetEnabledControlCommandInput,
|
|
40
|
+
context: __SerdeContext
|
|
41
|
+
) => Promise<__HttpRequest>;
|
|
34
42
|
export declare const se_ListEnabledControlsCommand: (
|
|
35
43
|
input: ListEnabledControlsCommandInput,
|
|
36
44
|
context: __SerdeContext
|
|
@@ -47,6 +55,10 @@ export declare const de_GetControlOperationCommand: (
|
|
|
47
55
|
output: __HttpResponse,
|
|
48
56
|
context: __SerdeContext
|
|
49
57
|
) => Promise<GetControlOperationCommandOutput>;
|
|
58
|
+
export declare const de_GetEnabledControlCommand: (
|
|
59
|
+
output: __HttpResponse,
|
|
60
|
+
context: __SerdeContext
|
|
61
|
+
) => Promise<GetEnabledControlCommandOutput>;
|
|
50
62
|
export declare const de_ListEnabledControlsCommand: (
|
|
51
63
|
output: __HttpResponse,
|
|
52
64
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-controltower",
|
|
3
3
|
"description": "AWS SDK for JavaScript Controltower Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.428.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.428.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.428.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.428.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
32
|
+
"@aws-sdk/types": "3.428.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
49
|
+
"@smithy/types": "^2.3.5",
|
|
50
|
+
"@smithy/url-parser": "^2.0.11",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
56
|
+
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|