Skip to content

Commit 803878d

Browse files
feat: update AWS API models
1 parent 994bd57 commit 803878d

File tree

5 files changed

+1741
-563
lines changed

5 files changed

+1741
-563
lines changed

codegen/sdk/aws-models/controltower.json

Lines changed: 176 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,6 +1424,12 @@
14241424
"smithy.api#required": {}
14251425
}
14261426
},
1427+
"remediationTypes": {
1428+
"target": "com.amazonaws.controltower#RemediationTypes",
1429+
"traits": {
1430+
"smithy.api#documentation": "<p>Specifies the types of remediation actions to apply when creating the landing zone, such as automatic drift correction or compliance enforcement.</p>"
1431+
}
1432+
},
14271433
"tags": {
14281434
"target": "com.amazonaws.controltower#TagMap",
14291435
"traits": {
@@ -1487,7 +1493,7 @@
14871493
}
14881494
],
14891495
"traits": {
1490-
"smithy.api#documentation": "<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>",
1496+
"smithy.api#documentation": "<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>",
14911497
"smithy.api#http": {
14921498
"code": 200,
14931499
"method": "POST",
@@ -1643,15 +1649,19 @@
16431649
"controlIdentifier": {
16441650
"target": "com.amazonaws.controltower#ControlIdentifier",
16451651
"traits": {
1646-
"smithy.api#documentation": "<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>",
1647-
"smithy.api#required": {}
1652+
"smithy.api#documentation": "<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>"
16481653
}
16491654
},
16501655
"targetIdentifier": {
16511656
"target": "com.amazonaws.controltower#TargetIdentifier",
16521657
"traits": {
1653-
"smithy.api#documentation": "<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>",
1654-
"smithy.api#required": {}
1658+
"smithy.api#documentation": "<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>"
1659+
}
1660+
},
1661+
"enabledControlIdentifier": {
1662+
"target": "com.amazonaws.controltower#Arn",
1663+
"traits": {
1664+
"smithy.api#documentation": "<p>The ARN of the enabled control to be disabled, which uniquely identifies the control instance on the target organizational unit.</p>"
16551665
}
16561666
}
16571667
},
@@ -1711,6 +1721,12 @@
17111721
"traits": {
17121722
"smithy.api#documentation": "<p> The drift status of the enabled control.</p> <p>Valid values:</p> <ul> <li> <p> <code>DRIFTED</code>: The <code>enabledControl</code> deployed in this configuration doesn’t match the configuration that Amazon Web Services Control Tower expected. </p> </li> <li> <p> <code>IN_SYNC</code>: The <code>enabledControl</code> deployed in this configuration matches the configuration that Amazon Web Services Control Tower expected.</p> </li> <li> <p> <code>NOT_CHECKING</code>: Amazon Web Services Control Tower does not check drift for this enabled control. Drift is not supported for the control type.</p> </li> <li> <p> <code>UNKNOWN</code>: Amazon Web Services Control Tower is not able to check the drift status for the enabled control. </p> </li> </ul>"
17131723
}
1724+
},
1725+
"types": {
1726+
"target": "com.amazonaws.controltower#EnabledControlDriftTypes",
1727+
"traits": {
1728+
"smithy.api#documentation": "<p>An object that categorizes the different types of drift detected for the enabled control.</p>"
1729+
}
17141730
}
17151731
},
17161732
"traits": {
@@ -2315,12 +2331,6 @@
23152331
"smithy.api#documentation": "<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>"
23162332
}
23172333
},
2318-
"targetRegions": {
2319-
"target": "com.amazonaws.controltower#TargetRegions",
2320-
"traits": {
2321-
"smithy.api#documentation": "<p>Target Amazon Web Services Regions for the enabled control.</p>"
2322-
}
2323-
},
23242334
"statusSummary": {
23252335
"target": "com.amazonaws.controltower#EnablementStatusSummary",
23262336
"traits": {
@@ -2333,6 +2343,18 @@
23332343
"smithy.api#documentation": "<p>The drift status of the enabled control.</p>"
23342344
}
23352345
},
2346+
"parentIdentifier": {
2347+
"target": "com.amazonaws.controltower#ParentIdentifier",
2348+
"traits": {
2349+
"smithy.api#documentation": "<p>The ARN of the parent enabled control from which this control inherits its configuration, if applicable.</p>"
2350+
}
2351+
},
2352+
"targetRegions": {
2353+
"target": "com.amazonaws.controltower#TargetRegions",
2354+
"traits": {
2355+
"smithy.api#documentation": "<p>Target Amazon Web Services Regions for the enabled control.</p>"
2356+
}
2357+
},
23362358
"parameters": {
23372359
"target": "com.amazonaws.controltower#EnabledControlParameterSummaries",
23382360
"traits": {
@@ -2344,6 +2366,26 @@
23442366
"smithy.api#documentation": "<p>Information about the enabled control.</p>"
23452367
}
23462368
},
2369+
"com.amazonaws.controltower#EnabledControlDriftTypes": {
2370+
"type": "structure",
2371+
"members": {
2372+
"inheritance": {
2373+
"target": "com.amazonaws.controltower#EnabledControlInheritanceDrift",
2374+
"traits": {
2375+
"smithy.api#documentation": "<p>Indicates drift related to inheritance configuration between parent and child controls.</p>"
2376+
}
2377+
},
2378+
"resource": {
2379+
"target": "com.amazonaws.controltower#EnabledControlResourceDrift",
2380+
"traits": {
2381+
"smithy.api#documentation": "<p>Indicates drift related to the underlying Amazon Web Services resources managed by the control.</p>"
2382+
}
2383+
}
2384+
},
2385+
"traits": {
2386+
"smithy.api#documentation": "<p>Defines the various categories of drift that can occur for an enabled control resource.</p>"
2387+
}
2388+
},
23472389
"com.amazonaws.controltower#EnabledControlFilter": {
23482390
"type": "structure",
23492391
"members": {
@@ -2364,6 +2406,24 @@
23642406
"traits": {
23652407
"smithy.api#documentation": "<p>A list of <code>DriftStatus</code> items.</p>"
23662408
}
2409+
},
2410+
"parentIdentifiers": {
2411+
"target": "com.amazonaws.controltower#ParentIdentifiers",
2412+
"traits": {
2413+
"smithy.api#documentation": "<p>Filters enabled controls by their parent control identifiers, allowing you to find child controls of specific parent controls.</p>"
2414+
}
2415+
},
2416+
"inheritanceDriftStatuses": {
2417+
"target": "com.amazonaws.controltower#DriftStatuses",
2418+
"traits": {
2419+
"smithy.api#documentation": "<p>Filters enabled controls by their inheritance drift status, allowing you to find controls with specific inheritance-related drift conditions.</p>"
2420+
}
2421+
},
2422+
"resourceDriftStatuses": {
2423+
"target": "com.amazonaws.controltower#DriftStatuses",
2424+
"traits": {
2425+
"smithy.api#documentation": "<p>Filters enabled controls by their resource drift status, allowing you to find controls with specific resource-related drift conditions.</p>"
2426+
}
23672427
}
23682428
},
23692429
"traits": {
@@ -2382,6 +2442,20 @@
23822442
}
23832443
}
23842444
},
2445+
"com.amazonaws.controltower#EnabledControlInheritanceDrift": {
2446+
"type": "structure",
2447+
"members": {
2448+
"status": {
2449+
"target": "com.amazonaws.controltower#DriftStatus",
2450+
"traits": {
2451+
"smithy.api#documentation": "<p>The status of inheritance drift for the enabled control, indicating whether inheritance configuration matches expectations.</p>"
2452+
}
2453+
}
2454+
},
2455+
"traits": {
2456+
"smithy.api#documentation": "<p>Represents drift information related to control inheritance between organizational units.</p>"
2457+
}
2458+
},
23852459
"com.amazonaws.controltower#EnabledControlParameter": {
23862460
"type": "structure",
23872461
"members": {
@@ -2463,21 +2537,35 @@
24632537
}
24642538
]
24652539
},
2466-
"com.amazonaws.controltower#EnabledControlSummary": {
2540+
"com.amazonaws.controltower#EnabledControlResourceDrift": {
24672541
"type": "structure",
24682542
"members": {
2469-
"controlIdentifier": {
2470-
"target": "com.amazonaws.controltower#ControlIdentifier",
2543+
"status": {
2544+
"target": "com.amazonaws.controltower#DriftStatus",
24712545
"traits": {
2472-
"smithy.api#documentation": "<p>The <code>controlIdentifier</code> of the enabled control.</p>"
2546+
"smithy.api#documentation": "<p>The status of resource drift for the enabled control, indicating whether the underlying resources match the expected configuration.</p>"
24732547
}
2474-
},
2548+
}
2549+
},
2550+
"traits": {
2551+
"smithy.api#documentation": "<p>Represents drift information related to the underlying Amazon Web Services resources managed by the control.</p>"
2552+
}
2553+
},
2554+
"com.amazonaws.controltower#EnabledControlSummary": {
2555+
"type": "structure",
2556+
"members": {
24752557
"arn": {
24762558
"target": "com.amazonaws.controltower#Arn",
24772559
"traits": {
24782560
"smithy.api#documentation": "<p>The ARN of the enabled control.</p>"
24792561
}
24802562
},
2563+
"controlIdentifier": {
2564+
"target": "com.amazonaws.controltower#ControlIdentifier",
2565+
"traits": {
2566+
"smithy.api#documentation": "<p>The <code>controlIdentifier</code> of the enabled control.</p>"
2567+
}
2568+
},
24812569
"targetIdentifier": {
24822570
"target": "com.amazonaws.controltower#TargetIdentifier",
24832571
"traits": {
@@ -2495,6 +2583,12 @@
24952583
"traits": {
24962584
"smithy.api#documentation": "<p>The drift status of the enabled control.</p>"
24972585
}
2586+
},
2587+
"parentIdentifier": {
2588+
"target": "com.amazonaws.controltower#ParentIdentifier",
2589+
"traits": {
2590+
"smithy.api#documentation": "<p>The ARN of the parent enabled control from which this control inherits its configuration, if applicable.</p>"
2591+
}
24982592
}
24992593
},
25002594
"traits": {
@@ -3063,6 +3157,12 @@
30633157
"smithy.api#required": {}
30643158
}
30653159
},
3160+
"remediationTypes": {
3161+
"target": "com.amazonaws.controltower#RemediationTypes",
3162+
"traits": {
3163+
"smithy.api#documentation": "<p>The types of remediation actions configured for the landing zone, such as automatic drift correction or compliance enforcement.</p>"
3164+
}
3165+
},
30663166
"arn": {
30673167
"target": "com.amazonaws.controltower#Arn",
30683168
"traits": {
@@ -3758,6 +3858,13 @@
37583858
"traits": {
37593859
"smithy.api#documentation": "<p>An input filter for the <code>ListEnabledControls</code> API that lets you select the types of control operations to view.</p>"
37603860
}
3861+
},
3862+
"includeChildren": {
3863+
"target": "smithy.api#Boolean",
3864+
"traits": {
3865+
"smithy.api#default": false,
3866+
"smithy.api#documentation": "<p>A boolean value that determines whether to include enabled controls from child organizational units in the response.</p>"
3867+
}
37613868
}
37623869
},
37633870
"traits": {
@@ -4053,6 +4160,28 @@
40534160
"smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"
40544161
}
40554162
},
4163+
"com.amazonaws.controltower#ParentIdentifier": {
4164+
"type": "string",
4165+
"traits": {
4166+
"smithy.api#length": {
4167+
"min": 20,
4168+
"max": 2048
4169+
},
4170+
"smithy.api#pattern": "^arn:aws[0-9a-zA-Z_\\-:\\/]+$"
4171+
}
4172+
},
4173+
"com.amazonaws.controltower#ParentIdentifiers": {
4174+
"type": "list",
4175+
"member": {
4176+
"target": "com.amazonaws.controltower#ParentIdentifier"
4177+
},
4178+
"traits": {
4179+
"smithy.api#length": {
4180+
"min": 1,
4181+
"max": 1
4182+
}
4183+
}
4184+
},
40564185
"com.amazonaws.controltower#Region": {
40574186
"type": "structure",
40584187
"members": {
@@ -4076,6 +4205,29 @@
40764205
}
40774206
}
40784207
},
4208+
"com.amazonaws.controltower#RemediationType": {
4209+
"type": "enum",
4210+
"members": {
4211+
"INHERITANCE_DRIFT": {
4212+
"target": "smithy.api#Unit",
4213+
"traits": {
4214+
"smithy.api#enumValue": "INHERITANCE_DRIFT"
4215+
}
4216+
}
4217+
}
4218+
},
4219+
"com.amazonaws.controltower#RemediationTypes": {
4220+
"type": "list",
4221+
"member": {
4222+
"target": "com.amazonaws.controltower#RemediationType"
4223+
},
4224+
"traits": {
4225+
"smithy.api#length": {
4226+
"min": 1,
4227+
"max": 1
4228+
}
4229+
}
4230+
},
40794231
"com.amazonaws.controltower#ResetEnabledBaseline": {
40804232
"type": "operation",
40814233
"input": {
@@ -4178,7 +4330,7 @@
41784330
}
41794331
],
41804332
"traits": {
4181-
"smithy.api#documentation": "<p>Resets an enabled control.</p>",
4333+
"smithy.api#documentation": "<p>Resets an enabled control. Does not work for controls implemented with SCPs.</p>",
41824334
"smithy.api#http": {
41834335
"code": 200,
41844336
"method": "POST",
@@ -4310,7 +4462,7 @@
43104462
}
43114463
},
43124464
"traits": {
4313-
"smithy.api#documentation": "<p>The request would cause a service quota to be exceeded. The limit is 100 concurrent operations.</p>",
4465+
"smithy.api#documentation": "<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>",
43144466
"smithy.api#error": "client",
43154467
"smithy.api#httpError": 402
43164468
}
@@ -4782,6 +4934,12 @@
47824934
"smithy.api#required": {}
47834935
}
47844936
},
4937+
"remediationTypes": {
4938+
"target": "com.amazonaws.controltower#RemediationTypes",
4939+
"traits": {
4940+
"smithy.api#documentation": "<p>Specifies the types of remediation actions to apply when updating the landing zone configuration.</p>"
4941+
}
4942+
},
47854943
"landingZoneIdentifier": {
47864944
"target": "smithy.api#String",
47874945
"traits": {

0 commit comments

Comments
 (0)