@aws-sdk/client-controltower 3.926.0 → 3.928.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/dist-cjs/index.js CHANGED
@@ -259,6 +259,9 @@ const LandingZoneOperationStatus = {
259
259
  IN_PROGRESS: "IN_PROGRESS",
260
260
  SUCCEEDED: "SUCCEEDED",
261
261
  };
262
+ const RemediationType = {
263
+ INHERITANCE_DRIFT: "INHERITANCE_DRIFT",
264
+ };
262
265
  const LandingZoneDriftStatus = {
263
266
  DRIFTED: "DRIFTED",
264
267
  IN_SYNC: "IN_SYNC",
@@ -278,6 +281,7 @@ const se_CreateLandingZoneCommand = async (input, context) => {
278
281
  let body;
279
282
  body = JSON.stringify(smithyClient.take(input, {
280
283
  manifest: (_) => se_Manifest(_),
284
+ remediationTypes: (_) => smithyClient._json(_),
281
285
  tags: (_) => smithyClient._json(_),
282
286
  version: [],
283
287
  }));
@@ -319,6 +323,7 @@ const se_DisableControlCommand = async (input, context) => {
319
323
  let body;
320
324
  body = JSON.stringify(smithyClient.take(input, {
321
325
  controlIdentifier: [],
326
+ enabledControlIdentifier: [],
322
327
  targetIdentifier: [],
323
328
  }));
324
329
  b.m("POST").h(headers).b(body);
@@ -502,6 +507,7 @@ const se_ListEnabledControlsCommand = async (input, context) => {
502
507
  let body;
503
508
  body = JSON.stringify(smithyClient.take(input, {
504
509
  filter: (_) => smithyClient._json(_),
510
+ includeChildren: [],
505
511
  maxResults: [],
506
512
  nextToken: [],
507
513
  targetIdentifier: [],
@@ -651,6 +657,7 @@ const se_UpdateLandingZoneCommand = async (input, context) => {
651
657
  body = JSON.stringify(smithyClient.take(input, {
652
658
  landingZoneIdentifier: [],
653
659
  manifest: (_) => se_Manifest(_),
660
+ remediationTypes: (_) => smithyClient._json(_),
654
661
  version: [],
655
662
  }));
656
663
  b.m("POST").h(headers).b(body);
@@ -1298,6 +1305,7 @@ const de_EnabledControlDetails = (output, context) => {
1298
1305
  controlIdentifier: smithyClient.expectString,
1299
1306
  driftStatusSummary: smithyClient._json,
1300
1307
  parameters: (_) => de_EnabledControlParameterSummaries(_),
1308
+ parentIdentifier: smithyClient.expectString,
1301
1309
  statusSummary: smithyClient._json,
1302
1310
  targetIdentifier: smithyClient.expectString,
1303
1311
  targetRegions: smithyClient._json,
@@ -1323,6 +1331,7 @@ const de_LandingZoneDetail = (output, context) => {
1323
1331
  driftStatus: smithyClient._json,
1324
1332
  latestAvailableVersion: smithyClient.expectString,
1325
1333
  manifest: (_) => de_Manifest(_),
1334
+ remediationTypes: smithyClient._json,
1326
1335
  status: smithyClient.expectString,
1327
1336
  version: smithyClient.expectString,
1328
1337
  });
@@ -1920,6 +1929,7 @@ exports.ListEnabledControlsCommand = ListEnabledControlsCommand;
1920
1929
  exports.ListLandingZoneOperationsCommand = ListLandingZoneOperationsCommand;
1921
1930
  exports.ListLandingZonesCommand = ListLandingZonesCommand;
1922
1931
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1932
+ exports.RemediationType = RemediationType;
1923
1933
  exports.ResetEnabledBaselineCommand = ResetEnabledBaselineCommand;
1924
1934
  exports.ResetEnabledControlCommand = ResetEnabledControlCommand;
1925
1935
  exports.ResetLandingZoneCommand = ResetLandingZoneCommand;
@@ -141,6 +141,9 @@ export const LandingZoneOperationStatus = {
141
141
  IN_PROGRESS: "IN_PROGRESS",
142
142
  SUCCEEDED: "SUCCEEDED",
143
143
  };
144
+ export const RemediationType = {
145
+ INHERITANCE_DRIFT: "INHERITANCE_DRIFT",
146
+ };
144
147
  export const LandingZoneDriftStatus = {
145
148
  DRIFTED: "DRIFTED",
146
149
  IN_SYNC: "IN_SYNC",
@@ -12,6 +12,7 @@ export const se_CreateLandingZoneCommand = async (input, context) => {
12
12
  let body;
13
13
  body = JSON.stringify(take(input, {
14
14
  manifest: (_) => se_Manifest(_, context),
15
+ remediationTypes: (_) => _json(_),
15
16
  tags: (_) => _json(_),
16
17
  version: [],
17
18
  }));
@@ -53,6 +54,7 @@ export const se_DisableControlCommand = async (input, context) => {
53
54
  let body;
54
55
  body = JSON.stringify(take(input, {
55
56
  controlIdentifier: [],
57
+ enabledControlIdentifier: [],
56
58
  targetIdentifier: [],
57
59
  }));
58
60
  b.m("POST").h(headers).b(body);
@@ -236,6 +238,7 @@ export const se_ListEnabledControlsCommand = async (input, context) => {
236
238
  let body;
237
239
  body = JSON.stringify(take(input, {
238
240
  filter: (_) => _json(_),
241
+ includeChildren: [],
239
242
  maxResults: [],
240
243
  nextToken: [],
241
244
  targetIdentifier: [],
@@ -385,6 +388,7 @@ export const se_UpdateLandingZoneCommand = async (input, context) => {
385
388
  body = JSON.stringify(take(input, {
386
389
  landingZoneIdentifier: [],
387
390
  manifest: (_) => se_Manifest(_, context),
391
+ remediationTypes: (_) => _json(_),
388
392
  version: [],
389
393
  }));
390
394
  b.m("POST").h(headers).b(body);
@@ -1032,6 +1036,7 @@ const de_EnabledControlDetails = (output, context) => {
1032
1036
  controlIdentifier: __expectString,
1033
1037
  driftStatusSummary: _json,
1034
1038
  parameters: (_) => de_EnabledControlParameterSummaries(_, context),
1039
+ parentIdentifier: __expectString,
1035
1040
  statusSummary: _json,
1036
1041
  targetIdentifier: __expectString,
1037
1042
  targetRegions: _json,
@@ -1057,6 +1062,7 @@ const de_LandingZoneDetail = (output, context) => {
1057
1062
  driftStatus: _json,
1058
1063
  latestAvailableVersion: __expectString,
1059
1064
  manifest: (_) => de_Manifest(_, context),
1065
+ remediationTypes: _json,
1060
1066
  status: __expectString,
1061
1067
  version: __expectString,
1062
1068
  });
@@ -50,6 +50,7 @@ export interface ControlTower {
50
50
  /**
51
51
  * @see {@link DisableControlCommand}
52
52
  */
53
+ disableControl(): Promise<DisableControlCommandOutput>;
53
54
  disableControl(args: DisableControlCommandInput, options?: __HttpHandlerOptions): Promise<DisableControlCommandOutput>;
54
55
  disableControl(args: DisableControlCommandInput, cb: (err: any, data?: DisableControlCommandOutput) => void): void;
55
56
  disableControl(args: DisableControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableControlCommandOutput) => void): void;
@@ -39,6 +39,9 @@ declare const CreateLandingZoneCommand_base: {
39
39
  * const input = { // CreateLandingZoneInput
40
40
  * version: "STRING_VALUE", // required
41
41
  * manifest: "DOCUMENT_VALUE", // required
42
+ * remediationTypes: [ // RemediationTypes
43
+ * "INHERITANCE_DRIFT",
44
+ * ],
42
45
  * tags: { // TagMap
43
46
  * "<keys>": "STRING_VALUE",
44
47
  * },
@@ -27,7 +27,7 @@ declare const DeleteLandingZoneCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Decommissions a landing zone. This API call starts an asynchronous operation that deletes Amazon Web Services Control Tower resources deployed in accounts managed by Amazon Web Services Control Tower.</p>
30
+ * <p>Decommissions a landing zone. This API call starts an asynchronous operation that deletes Amazon Web Services Control Tower resources deployed in accounts managed by Amazon Web Services Control Tower.</p> <p>Decommissioning a landing zone is a process with significant consequences, and it cannot be undone. We strongly recommend that you perform this decommissioning process only if you intend to stop using your landing zone.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -66,7 +66,7 @@ declare const DisableBaselineCommand_base: {
66
66
  * <p>The request references a resource that does not exist.</p>
67
67
  *
68
68
  * @throws {@link ServiceQuotaExceededException} (client fault)
69
- * <p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>
69
+ * <p>The request would cause a service quota to be exceeded. See <a href="https://docs.aws.amazon.com/controltower/latest/userguide/request-an-increase.html">Service quotas</a>.</p>
70
70
  *
71
71
  * @throws {@link ThrottlingException} (client fault)
72
72
  * <p>The request was denied due to request throttling.</p>
@@ -23,7 +23,7 @@ export interface DisableControlCommandOutput extends DisableControlOutput, __Met
23
23
  }
24
24
  declare const DisableControlCommand_base: {
25
25
  new (input: DisableControlCommandInput): import("@smithy/smithy-client").CommandImpl<DisableControlCommandInput, DisableControlCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisableControlCommandInput): import("@smithy/smithy-client").CommandImpl<DisableControlCommandInput, DisableControlCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DisableControlCommandInput]): import("@smithy/smithy-client").CommandImpl<DisableControlCommandInput, DisableControlCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -37,8 +37,9 @@ declare const DisableControlCommand_base: {
37
37
  * const config = {}; // type is ControlTowerClientConfig
38
38
  * const client = new ControlTowerClient(config);
39
39
  * const input = { // DisableControlInput
40
- * controlIdentifier: "STRING_VALUE", // required
41
- * targetIdentifier: "STRING_VALUE", // required
40
+ * controlIdentifier: "STRING_VALUE",
41
+ * targetIdentifier: "STRING_VALUE",
42
+ * enabledControlIdentifier: "STRING_VALUE",
42
43
  * };
43
44
  * const command = new DisableControlCommand(input);
44
45
  * const response = await client.send(command);
@@ -67,7 +68,7 @@ declare const DisableControlCommand_base: {
67
68
  * <p>The request references a resource that does not exist.</p>
68
69
  *
69
70
  * @throws {@link ServiceQuotaExceededException} (client fault)
70
- * <p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>
71
+ * <p>The request would cause a service quota to be exceeded. See <a href="https://docs.aws.amazon.com/controltower/latest/userguide/request-an-increase.html">Service quotas</a>.</p>
71
72
  *
72
73
  * @throws {@link ThrottlingException} (client fault)
73
74
  * <p>The request was denied due to request throttling.</p>
@@ -78,7 +78,7 @@ declare const EnableBaselineCommand_base: {
78
78
  * <p>The request references a resource that does not exist.</p>
79
79
  *
80
80
  * @throws {@link ServiceQuotaExceededException} (client fault)
81
- * <p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>
81
+ * <p>The request would cause a service quota to be exceeded. See <a href="https://docs.aws.amazon.com/controltower/latest/userguide/request-an-increase.html">Service quotas</a>.</p>
82
82
  *
83
83
  * @throws {@link ThrottlingException} (client fault)
84
84
  * <p>The request was denied due to request throttling.</p>
@@ -77,7 +77,7 @@ declare const EnableControlCommand_base: {
77
77
  * <p>The request references a resource that does not exist.</p>
78
78
  *
79
79
  * @throws {@link ServiceQuotaExceededException} (client fault)
80
- * <p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>
80
+ * <p>The request would cause a service quota to be exceeded. See <a href="https://docs.aws.amazon.com/controltower/latest/userguide/request-an-increase.html">Service quotas</a>.</p>
81
81
  *
82
82
  * @throws {@link ThrottlingException} (client fault)
83
83
  * <p>The request was denied due to request throttling.</p>
@@ -46,18 +46,27 @@ declare const GetEnabledControlCommand_base: {
46
46
  * // arn: "STRING_VALUE",
47
47
  * // controlIdentifier: "STRING_VALUE",
48
48
  * // targetIdentifier: "STRING_VALUE",
49
- * // targetRegions: [ // TargetRegions
50
- * // { // Region
51
- * // name: "STRING_VALUE",
52
- * // },
53
- * // ],
54
49
  * // statusSummary: { // EnablementStatusSummary
55
50
  * // status: "SUCCEEDED" || "FAILED" || "UNDER_CHANGE",
56
51
  * // lastOperationIdentifier: "STRING_VALUE",
57
52
  * // },
58
53
  * // driftStatusSummary: { // DriftStatusSummary
59
54
  * // driftStatus: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
55
+ * // types: { // EnabledControlDriftTypes
56
+ * // inheritance: { // EnabledControlInheritanceDrift
57
+ * // status: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
58
+ * // },
59
+ * // resource: { // EnabledControlResourceDrift
60
+ * // status: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
61
+ * // },
62
+ * // },
60
63
  * // },
64
+ * // parentIdentifier: "STRING_VALUE",
65
+ * // targetRegions: [ // TargetRegions
66
+ * // { // Region
67
+ * // name: "STRING_VALUE",
68
+ * // },
69
+ * // ],
61
70
  * // parameters: [ // EnabledControlParameterSummaries
62
71
  * // { // EnabledControlParameterSummary
63
72
  * // key: "STRING_VALUE", // required
@@ -45,6 +45,9 @@ declare const GetLandingZoneCommand_base: {
45
45
  * // landingZone: { // LandingZoneDetail
46
46
  * // version: "STRING_VALUE", // required
47
47
  * // manifest: "DOCUMENT_VALUE", // required
48
+ * // remediationTypes: [ // RemediationTypes
49
+ * // "INHERITANCE_DRIFT",
50
+ * // ],
48
51
  * // arn: "STRING_VALUE",
49
52
  * // status: "ACTIVE" || "PROCESSING" || "FAILED",
50
53
  * // latestAvailableVersion: "STRING_VALUE",
@@ -50,15 +50,25 @@ declare const ListEnabledControlsCommand_base: {
50
50
  * driftStatuses: [ // DriftStatuses
51
51
  * "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
52
52
  * ],
53
+ * parentIdentifiers: [ // ParentIdentifiers
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * inheritanceDriftStatuses: [
57
+ * "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
58
+ * ],
59
+ * resourceDriftStatuses: [
60
+ * "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
61
+ * ],
53
62
  * },
63
+ * includeChildren: true || false,
54
64
  * };
55
65
  * const command = new ListEnabledControlsCommand(input);
56
66
  * const response = await client.send(command);
57
67
  * // { // ListEnabledControlsOutput
58
68
  * // enabledControls: [ // EnabledControls // required
59
69
  * // { // EnabledControlSummary
60
- * // controlIdentifier: "STRING_VALUE",
61
70
  * // arn: "STRING_VALUE",
71
+ * // controlIdentifier: "STRING_VALUE",
62
72
  * // targetIdentifier: "STRING_VALUE",
63
73
  * // statusSummary: { // EnablementStatusSummary
64
74
  * // status: "SUCCEEDED" || "FAILED" || "UNDER_CHANGE",
@@ -66,7 +76,16 @@ declare const ListEnabledControlsCommand_base: {
66
76
  * // },
67
77
  * // driftStatusSummary: { // DriftStatusSummary
68
78
  * // driftStatus: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
79
+ * // types: { // EnabledControlDriftTypes
80
+ * // inheritance: { // EnabledControlInheritanceDrift
81
+ * // status: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
82
+ * // },
83
+ * // resource: { // EnabledControlResourceDrift
84
+ * // status: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
85
+ * // },
86
+ * // },
69
87
  * // },
88
+ * // parentIdentifier: "STRING_VALUE",
70
89
  * // },
71
90
  * // ],
72
91
  * // nextToken: "STRING_VALUE",
@@ -66,7 +66,7 @@ declare const ResetEnabledBaselineCommand_base: {
66
66
  * <p>The request references a resource that does not exist.</p>
67
67
  *
68
68
  * @throws {@link ServiceQuotaExceededException} (client fault)
69
- * <p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>
69
+ * <p>The request would cause a service quota to be exceeded. See <a href="https://docs.aws.amazon.com/controltower/latest/userguide/request-an-increase.html">Service quotas</a>.</p>
70
70
  *
71
71
  * @throws {@link ThrottlingException} (client fault)
72
72
  * <p>The request was denied due to request throttling.</p>
@@ -27,7 +27,7 @@ declare const ResetEnabledControlCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Resets an enabled control.</p>
30
+ * <p>Resets an enabled control. Does not work for controls implemented with SCPs.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -66,7 +66,7 @@ declare const ResetEnabledControlCommand_base: {
66
66
  * <p>The request references a resource that does not exist.</p>
67
67
  *
68
68
  * @throws {@link ServiceQuotaExceededException} (client fault)
69
- * <p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>
69
+ * <p>The request would cause a service quota to be exceeded. See <a href="https://docs.aws.amazon.com/controltower/latest/userguide/request-an-increase.html">Service quotas</a>.</p>
70
70
  *
71
71
  * @throws {@link ThrottlingException} (client fault)
72
72
  * <p>The request was denied due to request throttling.</p>
@@ -73,7 +73,7 @@ declare const UpdateEnabledBaselineCommand_base: {
73
73
  * <p>The request references a resource that does not exist.</p>
74
74
  *
75
75
  * @throws {@link ServiceQuotaExceededException} (client fault)
76
- * <p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>
76
+ * <p>The request would cause a service quota to be exceeded. See <a href="https://docs.aws.amazon.com/controltower/latest/userguide/request-an-increase.html">Service quotas</a>.</p>
77
77
  *
78
78
  * @throws {@link ThrottlingException} (client fault)
79
79
  * <p>The request was denied due to request throttling.</p>
@@ -72,7 +72,7 @@ declare const UpdateEnabledControlCommand_base: {
72
72
  * <p>The request references a resource that does not exist.</p>
73
73
  *
74
74
  * @throws {@link ServiceQuotaExceededException} (client fault)
75
- * <p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>
75
+ * <p>The request would cause a service quota to be exceeded. See <a href="https://docs.aws.amazon.com/controltower/latest/userguide/request-an-increase.html">Service quotas</a>.</p>
76
76
  *
77
77
  * @throws {@link ThrottlingException} (client fault)
78
78
  * <p>The request was denied due to request throttling.</p>
@@ -39,6 +39,9 @@ declare const UpdateLandingZoneCommand_base: {
39
39
  * const input = { // UpdateLandingZoneInput
40
40
  * version: "STRING_VALUE", // required
41
41
  * manifest: "DOCUMENT_VALUE", // required
42
+ * remediationTypes: [ // RemediationTypes
43
+ * "INHERITANCE_DRIFT",
44
+ * ],
42
45
  * landingZoneIdentifier: "STRING_VALUE", // required
43
46
  * };
44
47
  * const command = new UpdateLandingZoneCommand(input);
@@ -479,12 +479,17 @@ export interface DisableControlInput {
479
479
  * <p>The ARN of the control. Only <b>Strongly recommended</b> and <b>Elective</b> controls are permitted, with the exception of the <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>
480
480
  * @public
481
481
  */
482
- controlIdentifier: string | undefined;
482
+ controlIdentifier?: string | undefined;
483
483
  /**
484
484
  * <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>
485
485
  * @public
486
486
  */
487
- targetIdentifier: string | undefined;
487
+ targetIdentifier?: string | undefined;
488
+ /**
489
+ * <p>The ARN of the enabled control to be disabled, which uniquely identifies the control instance on the target organizational unit.</p>
490
+ * @public
491
+ */
492
+ enabledControlIdentifier?: string | undefined;
488
493
  }
489
494
  /**
490
495
  * @public
@@ -497,7 +502,7 @@ export interface DisableControlOutput {
497
502
  operationIdentifier: string | undefined;
498
503
  }
499
504
  /**
500
- * <p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>
505
+ * <p>The request would cause a service quota to be exceeded. See <a href="https://docs.aws.amazon.com/controltower/latest/userguide/request-an-increase.html">Service quotas</a>.</p>
501
506
  * @public
502
507
  */
503
508
  export declare class ServiceQuotaExceededException extends __BaseException {
@@ -987,6 +992,44 @@ export declare const DriftStatus: {
987
992
  * @public
988
993
  */
989
994
  export type DriftStatus = (typeof DriftStatus)[keyof typeof DriftStatus];
995
+ /**
996
+ * <p>Represents drift information related to control inheritance between organizational units.</p>
997
+ * @public
998
+ */
999
+ export interface EnabledControlInheritanceDrift {
1000
+ /**
1001
+ * <p>The status of inheritance drift for the enabled control, indicating whether inheritance configuration matches expectations.</p>
1002
+ * @public
1003
+ */
1004
+ status?: DriftStatus | undefined;
1005
+ }
1006
+ /**
1007
+ * <p>Represents drift information related to the underlying Amazon Web Services resources managed by the control.</p>
1008
+ * @public
1009
+ */
1010
+ export interface EnabledControlResourceDrift {
1011
+ /**
1012
+ * <p>The status of resource drift for the enabled control, indicating whether the underlying resources match the expected configuration.</p>
1013
+ * @public
1014
+ */
1015
+ status?: DriftStatus | undefined;
1016
+ }
1017
+ /**
1018
+ * <p>Defines the various categories of drift that can occur for an enabled control resource.</p>
1019
+ * @public
1020
+ */
1021
+ export interface EnabledControlDriftTypes {
1022
+ /**
1023
+ * <p>Indicates drift related to inheritance configuration between parent and child controls.</p>
1024
+ * @public
1025
+ */
1026
+ inheritance?: EnabledControlInheritanceDrift | undefined;
1027
+ /**
1028
+ * <p>Indicates drift related to the underlying Amazon Web Services resources managed by the control.</p>
1029
+ * @public
1030
+ */
1031
+ resource?: EnabledControlResourceDrift | undefined;
1032
+ }
990
1033
  /**
991
1034
  * <p>The drift summary of the enabled control.</p> <p>Amazon Web Services Control Tower expects the enabled control configuration to include all supported and governed Regions. If the enabled control differs 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>
992
1035
  * @public
@@ -997,6 +1040,11 @@ export interface DriftStatusSummary {
997
1040
  * @public
998
1041
  */
999
1042
  driftStatus?: DriftStatus | undefined;
1043
+ /**
1044
+ * <p>An object that categorizes the different types of drift detected for the enabled control.</p>
1045
+ * @public
1046
+ */
1047
+ types?: EnabledControlDriftTypes | undefined;
1000
1048
  }
1001
1049
  /**
1002
1050
  * <p>Returns a summary of information about the parameters of an enabled control.</p>
@@ -1045,11 +1093,6 @@ export interface EnabledControlDetails {
1045
1093
  * @public
1046
1094
  */
1047
1095
  targetIdentifier?: string | undefined;
1048
- /**
1049
- * <p>Target Amazon Web Services Regions for the enabled control.</p>
1050
- * @public
1051
- */
1052
- targetRegions?: Region[] | undefined;
1053
1096
  /**
1054
1097
  * <p>The deployment summary of the enabled control.</p>
1055
1098
  * @public
@@ -1060,6 +1103,16 @@ export interface EnabledControlDetails {
1060
1103
  * @public
1061
1104
  */
1062
1105
  driftStatusSummary?: DriftStatusSummary | undefined;
1106
+ /**
1107
+ * <p>The ARN of the parent enabled control from which this control inherits its configuration, if applicable.</p>
1108
+ * @public
1109
+ */
1110
+ parentIdentifier?: string | undefined;
1111
+ /**
1112
+ * <p>Target Amazon Web Services Regions for the enabled control.</p>
1113
+ * @public
1114
+ */
1115
+ targetRegions?: Region[] | undefined;
1063
1116
  /**
1064
1117
  * <p>Array of <code>EnabledControlParameter</code> objects.</p>
1065
1118
  * @public
@@ -1096,6 +1149,21 @@ export interface EnabledControlFilter {
1096
1149
  * @public
1097
1150
  */
1098
1151
  driftStatuses?: DriftStatus[] | undefined;
1152
+ /**
1153
+ * <p>Filters enabled controls by their parent control identifiers, allowing you to find child controls of specific parent controls.</p>
1154
+ * @public
1155
+ */
1156
+ parentIdentifiers?: string[] | undefined;
1157
+ /**
1158
+ * <p>Filters enabled controls by their inheritance drift status, allowing you to find controls with specific inheritance-related drift conditions.</p>
1159
+ * @public
1160
+ */
1161
+ inheritanceDriftStatuses?: DriftStatus[] | undefined;
1162
+ /**
1163
+ * <p>Filters enabled controls by their resource drift status, allowing you to find controls with specific resource-related drift conditions.</p>
1164
+ * @public
1165
+ */
1166
+ resourceDriftStatuses?: DriftStatus[] | undefined;
1099
1167
  }
1100
1168
  /**
1101
1169
  * @public
@@ -1121,6 +1189,11 @@ export interface ListEnabledControlsInput {
1121
1189
  * @public
1122
1190
  */
1123
1191
  filter?: EnabledControlFilter | undefined;
1192
+ /**
1193
+ * <p>A boolean value that determines whether to include enabled controls from child organizational units in the response.</p>
1194
+ * @public
1195
+ */
1196
+ includeChildren?: boolean | undefined;
1124
1197
  }
1125
1198
  /**
1126
1199
  * <p>Returns a summary of information about an enabled control.</p>
@@ -1128,15 +1201,15 @@ export interface ListEnabledControlsInput {
1128
1201
  */
1129
1202
  export interface EnabledControlSummary {
1130
1203
  /**
1131
- * <p>The <code>controlIdentifier</code> of the enabled control.</p>
1204
+ * <p>The ARN of the enabled control.</p>
1132
1205
  * @public
1133
1206
  */
1134
- controlIdentifier?: string | undefined;
1207
+ arn?: string | undefined;
1135
1208
  /**
1136
- * <p>The ARN of the enabled control.</p>
1209
+ * <p>The <code>controlIdentifier</code> of the enabled control.</p>
1137
1210
  * @public
1138
1211
  */
1139
- arn?: string | undefined;
1212
+ controlIdentifier?: string | undefined;
1140
1213
  /**
1141
1214
  * <p>The ARN of the organizational unit.</p>
1142
1215
  * @public
@@ -1152,6 +1225,11 @@ export interface EnabledControlSummary {
1152
1225
  * @public
1153
1226
  */
1154
1227
  driftStatusSummary?: DriftStatusSummary | undefined;
1228
+ /**
1229
+ * <p>The ARN of the parent enabled control from which this control inherits its configuration, if applicable.</p>
1230
+ * @public
1231
+ */
1232
+ parentIdentifier?: string | undefined;
1155
1233
  }
1156
1234
  /**
1157
1235
  * @public
@@ -1368,6 +1446,17 @@ export interface ListLandingZoneOperationsOutput {
1368
1446
  */
1369
1447
  nextToken?: string | undefined;
1370
1448
  }
1449
+ /**
1450
+ * @public
1451
+ * @enum
1452
+ */
1453
+ export declare const RemediationType: {
1454
+ readonly INHERITANCE_DRIFT: "INHERITANCE_DRIFT";
1455
+ };
1456
+ /**
1457
+ * @public
1458
+ */
1459
+ export type RemediationType = (typeof RemediationType)[keyof typeof RemediationType];
1371
1460
  /**
1372
1461
  * @public
1373
1462
  */
@@ -1382,6 +1471,11 @@ export interface CreateLandingZoneInput {
1382
1471
  * @public
1383
1472
  */
1384
1473
  manifest: __DocumentType | undefined;
1474
+ /**
1475
+ * <p>Specifies the types of remediation actions to apply when creating the landing zone, such as automatic drift correction or compliance enforcement.</p>
1476
+ * @public
1477
+ */
1478
+ remediationTypes?: RemediationType[] | undefined;
1385
1479
  /**
1386
1480
  * <p>Tags to be applied to the landing zone. </p>
1387
1481
  * @public
@@ -1484,6 +1578,11 @@ export interface LandingZoneDetail {
1484
1578
  * @public
1485
1579
  */
1486
1580
  manifest: __DocumentType | undefined;
1581
+ /**
1582
+ * <p>The types of remediation actions configured for the landing zone, such as automatic drift correction or compliance enforcement.</p>
1583
+ * @public
1584
+ */
1585
+ remediationTypes?: RemediationType[] | undefined;
1487
1586
  /**
1488
1587
  * <p>The ARN of the landing zone.</p>
1489
1588
  * @public
@@ -1590,6 +1689,11 @@ export interface UpdateLandingZoneInput {
1590
1689
  * @public
1591
1690
  */
1592
1691
  manifest: __DocumentType | undefined;
1692
+ /**
1693
+ * <p>Specifies the types of remediation actions to apply when updating the landing zone configuration.</p>
1694
+ * @public
1695
+ */
1696
+ remediationTypes?: RemediationType[] | undefined;
1593
1697
  /**
1594
1698
  * <p>The unique identifier of the landing zone.</p>
1595
1699
  * @public
@@ -152,6 +152,7 @@ export interface ControlTower {
152
152
  options: __HttpHandlerOptions,
153
153
  cb: (err: any, data?: DisableBaselineCommandOutput) => void
154
154
  ): void;
155
+ disableControl(): Promise<DisableControlCommandOutput>;
155
156
  disableControl(
156
157
  args: DisableControlCommandInput,
157
158
  options?: __HttpHandlerOptions
@@ -23,7 +23,7 @@ declare const DisableControlCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- input: DisableControlCommandInput
26
+ ...[input]: [] | [DisableControlCommandInput]
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  DisableControlCommandInput,
29
29
  DisableControlCommandOutput,
@@ -158,8 +158,9 @@ export declare class ConflictException extends __BaseException {
158
158
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
159
159
  }
160
160
  export interface DisableControlInput {
161
- controlIdentifier: string | undefined;
162
- targetIdentifier: string | undefined;
161
+ controlIdentifier?: string | undefined;
162
+ targetIdentifier?: string | undefined;
163
+ enabledControlIdentifier?: string | undefined;
163
164
  }
164
165
  export interface DisableControlOutput {
165
166
  operationIdentifier: string | undefined;
@@ -302,8 +303,19 @@ export declare const DriftStatus: {
302
303
  readonly UNKNOWN: "UNKNOWN";
303
304
  };
304
305
  export type DriftStatus = (typeof DriftStatus)[keyof typeof DriftStatus];
306
+ export interface EnabledControlInheritanceDrift {
307
+ status?: DriftStatus | undefined;
308
+ }
309
+ export interface EnabledControlResourceDrift {
310
+ status?: DriftStatus | undefined;
311
+ }
312
+ export interface EnabledControlDriftTypes {
313
+ inheritance?: EnabledControlInheritanceDrift | undefined;
314
+ resource?: EnabledControlResourceDrift | undefined;
315
+ }
305
316
  export interface DriftStatusSummary {
306
317
  driftStatus?: DriftStatus | undefined;
318
+ types?: EnabledControlDriftTypes | undefined;
307
319
  }
308
320
  export interface EnabledControlParameterSummary {
309
321
  key: string | undefined;
@@ -316,9 +328,10 @@ export interface EnabledControlDetails {
316
328
  arn?: string | undefined;
317
329
  controlIdentifier?: string | undefined;
318
330
  targetIdentifier?: string | undefined;
319
- targetRegions?: Region[] | undefined;
320
331
  statusSummary?: EnablementStatusSummary | undefined;
321
332
  driftStatusSummary?: DriftStatusSummary | undefined;
333
+ parentIdentifier?: string | undefined;
334
+ targetRegions?: Region[] | undefined;
322
335
  parameters?: EnabledControlParameterSummary[] | undefined;
323
336
  }
324
337
  export interface GetEnabledControlOutput {
@@ -328,19 +341,24 @@ export interface EnabledControlFilter {
328
341
  controlIdentifiers?: string[] | undefined;
329
342
  statuses?: EnablementStatus[] | undefined;
330
343
  driftStatuses?: DriftStatus[] | undefined;
344
+ parentIdentifiers?: string[] | undefined;
345
+ inheritanceDriftStatuses?: DriftStatus[] | undefined;
346
+ resourceDriftStatuses?: DriftStatus[] | undefined;
331
347
  }
332
348
  export interface ListEnabledControlsInput {
333
349
  targetIdentifier?: string | undefined;
334
350
  nextToken?: string | undefined;
335
351
  maxResults?: number | undefined;
336
352
  filter?: EnabledControlFilter | undefined;
353
+ includeChildren?: boolean | undefined;
337
354
  }
338
355
  export interface EnabledControlSummary {
339
- controlIdentifier?: string | undefined;
340
356
  arn?: string | undefined;
357
+ controlIdentifier?: string | undefined;
341
358
  targetIdentifier?: string | undefined;
342
359
  statusSummary?: EnablementStatusSummary | undefined;
343
360
  driftStatusSummary?: DriftStatusSummary | undefined;
361
+ parentIdentifier?: string | undefined;
344
362
  }
345
363
  export interface ListEnabledControlsOutput {
346
364
  enabledControls: EnabledControlSummary[] | undefined;
@@ -406,9 +424,15 @@ export interface ListLandingZoneOperationsOutput {
406
424
  landingZoneOperations: LandingZoneOperationSummary[] | undefined;
407
425
  nextToken?: string | undefined;
408
426
  }
427
+ export declare const RemediationType: {
428
+ readonly INHERITANCE_DRIFT: "INHERITANCE_DRIFT";
429
+ };
430
+ export type RemediationType =
431
+ (typeof RemediationType)[keyof typeof RemediationType];
409
432
  export interface CreateLandingZoneInput {
410
433
  version: string | undefined;
411
434
  manifest: __DocumentType | undefined;
435
+ remediationTypes?: RemediationType[] | undefined;
412
436
  tags?: Record<string, string> | undefined;
413
437
  }
414
438
  export interface CreateLandingZoneOutput {
@@ -443,6 +467,7 @@ export type LandingZoneStatus =
443
467
  export interface LandingZoneDetail {
444
468
  version: string | undefined;
445
469
  manifest: __DocumentType | undefined;
470
+ remediationTypes?: RemediationType[] | undefined;
446
471
  arn?: string | undefined;
447
472
  status?: LandingZoneStatus | undefined;
448
473
  latestAvailableVersion?: string | undefined;
@@ -471,6 +496,7 @@ export interface ResetLandingZoneOutput {
471
496
  export interface UpdateLandingZoneInput {
472
497
  version: string | undefined;
473
498
  manifest: __DocumentType | undefined;
499
+ remediationTypes?: RemediationType[] | undefined;
474
500
  landingZoneIdentifier: string | undefined;
475
501
  }
476
502
  export interface UpdateLandingZoneOutput {
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.926.0",
4
+ "version": "3.928.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-controltower",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.926.0",
24
- "@aws-sdk/credential-provider-node": "3.926.0",
23
+ "@aws-sdk/core": "3.928.0",
24
+ "@aws-sdk/credential-provider-node": "3.928.0",
25
25
  "@aws-sdk/middleware-host-header": "3.922.0",
26
26
  "@aws-sdk/middleware-logger": "3.922.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.926.0",
28
+ "@aws-sdk/middleware-user-agent": "3.928.0",
29
29
  "@aws-sdk/region-config-resolver": "3.925.0",
30
30
  "@aws-sdk/types": "3.922.0",
31
31
  "@aws-sdk/util-endpoints": "3.922.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.926.0",
33
+ "@aws-sdk/util-user-agent-node": "3.928.0",
34
34
  "@smithy/config-resolver": "^4.4.2",
35
35
  "@smithy/core": "^3.17.2",
36
36
  "@smithy/fetch-http-handler": "^5.3.5",