@aws-sdk/client-controltower 3.600.0 → 3.606.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 +161 -16
- package/dist-cjs/index.js +83 -25
- package/dist-es/ControlTower.js +2 -0
- package/dist-es/commands/ListLandingZoneOperationsCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +20 -20
- package/dist-es/pagination/ListLandingZoneOperationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +31 -0
- package/dist-types/ControlTower.d.ts +161 -16
- package/dist-types/ControlTowerClient.d.ts +156 -18
- package/dist-types/commands/DisableControlCommand.d.ts +3 -3
- package/dist-types/commands/EnableControlCommand.d.ts +2 -2
- package/dist-types/commands/GetControlOperationCommand.d.ts +2 -2
- package/dist-types/commands/GetEnabledControlCommand.d.ts +2 -2
- package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +2 -1
- package/dist-types/commands/ListControlOperationsCommand.d.ts +1 -1
- package/dist-types/commands/ListEnabledControlsCommand.d.ts +2 -2
- package/dist-types/commands/ListLandingZoneOperationsCommand.d.ts +88 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/ResetLandingZoneCommand.d.ts +4 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEnabledControlCommand.d.ts +5 -5
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +153 -16
- package/dist-types/models/models_0.d.ts +294 -217
- package/dist-types/pagination/ListLandingZoneOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/ControlTower.d.ts +18 -0
- package/dist-types/ts3.4/ControlTowerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListLandingZoneOperationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -63
- package/dist-types/ts3.4/pagination/ListLandingZoneOperationsPaginator.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 +12 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -11,23 +11,161 @@ AWS SDK for JavaScript ControlTower Client for Node.js, Browser and React Native
|
|
|
11
11
|
<li>
|
|
12
12
|
<p>
|
|
13
13
|
<a href="https://docs.aws.amazon.com/controltower/latest/userguide/controls.html">
|
|
14
|
-
<i>
|
|
14
|
+
<i>Controls</i>
|
|
15
15
|
</a>
|
|
16
16
|
</p>
|
|
17
|
+
<ul>
|
|
18
|
+
<li>
|
|
19
|
+
<p>
|
|
20
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_DisableControl.html">DisableControl</a>
|
|
21
|
+
</p>
|
|
22
|
+
</li>
|
|
23
|
+
<li>
|
|
24
|
+
<p>
|
|
25
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_EnableControl.html">EnableControl</a>
|
|
26
|
+
</p>
|
|
27
|
+
</li>
|
|
28
|
+
<li>
|
|
29
|
+
<p>
|
|
30
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetEnabledControl.html">GetEnabledControl</a>
|
|
31
|
+
</p>
|
|
32
|
+
</li>
|
|
33
|
+
<li>
|
|
34
|
+
<p>
|
|
35
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListControlOperations.html">ListControlOperations</a>
|
|
36
|
+
</p>
|
|
37
|
+
</li>
|
|
38
|
+
<li>
|
|
39
|
+
<p>
|
|
40
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListEnabledControls.html">ListEnabledControls</a>
|
|
41
|
+
</p>
|
|
42
|
+
</li>
|
|
43
|
+
<li>
|
|
44
|
+
<p>
|
|
45
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateEnabledControl.html">UpdateEnabledControl</a>
|
|
46
|
+
</p>
|
|
47
|
+
</li>
|
|
48
|
+
</ul>
|
|
17
49
|
</li>
|
|
18
50
|
<li>
|
|
19
51
|
<p>
|
|
20
52
|
<a href="https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch.html">
|
|
21
|
-
<i>
|
|
53
|
+
<i>Landing zones</i>
|
|
22
54
|
</a>
|
|
23
55
|
</p>
|
|
56
|
+
<ul>
|
|
57
|
+
<li>
|
|
58
|
+
<p>
|
|
59
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_CreateLandingZone.html">CreateLandingZone</a>
|
|
60
|
+
</p>
|
|
61
|
+
</li>
|
|
62
|
+
<li>
|
|
63
|
+
<p>
|
|
64
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_DeleteLandingZone.html">DeleteLandingZone</a>
|
|
65
|
+
</p>
|
|
66
|
+
</li>
|
|
67
|
+
<li>
|
|
68
|
+
<p>
|
|
69
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetLandingZone.html">GetLandingZone</a>
|
|
70
|
+
</p>
|
|
71
|
+
</li>
|
|
72
|
+
<li>
|
|
73
|
+
<p>
|
|
74
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetLandingZoneOperation.html">GetLandingZoneOperation</a>
|
|
75
|
+
</p>
|
|
76
|
+
</li>
|
|
77
|
+
<li>
|
|
78
|
+
<p>
|
|
79
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListLandingZones.html">ListLandingZones</a>
|
|
80
|
+
</p>
|
|
81
|
+
</li>
|
|
82
|
+
<li>
|
|
83
|
+
<p>
|
|
84
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ResetLandingZone.html">ResetLandingZone</a>
|
|
85
|
+
</p>
|
|
86
|
+
</li>
|
|
87
|
+
<li>
|
|
88
|
+
<p>
|
|
89
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateLandingZone.html">UpdateLandingZone</a>
|
|
90
|
+
</p>
|
|
91
|
+
</li>
|
|
92
|
+
</ul>
|
|
24
93
|
</li>
|
|
25
94
|
<li>
|
|
26
95
|
<p>
|
|
27
96
|
<a href="https://docs.aws.amazon.com/controltower/latest/userguide/types-of-baselines.html">
|
|
28
|
-
<i>
|
|
97
|
+
<i>Baselines</i>
|
|
29
98
|
</a>
|
|
30
99
|
</p>
|
|
100
|
+
<ul>
|
|
101
|
+
<li>
|
|
102
|
+
<p>
|
|
103
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_DisableBaseline.html">DisableBaseline</a>
|
|
104
|
+
</p>
|
|
105
|
+
</li>
|
|
106
|
+
<li>
|
|
107
|
+
<p>
|
|
108
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_EnableBaseline.html">EnableBaseline</a>
|
|
109
|
+
</p>
|
|
110
|
+
</li>
|
|
111
|
+
<li>
|
|
112
|
+
<p>
|
|
113
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetBaseline.html">GetBaseline</a>
|
|
114
|
+
</p>
|
|
115
|
+
</li>
|
|
116
|
+
<li>
|
|
117
|
+
<p>
|
|
118
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetBaselineOperation.html">GetBaselineOperation</a>
|
|
119
|
+
</p>
|
|
120
|
+
</li>
|
|
121
|
+
<li>
|
|
122
|
+
<p>
|
|
123
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_GetEnabledBaseline.html">GetEnabledBaseline</a>
|
|
124
|
+
</p>
|
|
125
|
+
</li>
|
|
126
|
+
<li>
|
|
127
|
+
<p>
|
|
128
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListBaselines.html">ListBaselines</a>
|
|
129
|
+
</p>
|
|
130
|
+
</li>
|
|
131
|
+
<li>
|
|
132
|
+
<p>
|
|
133
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListEnabledBaselines.html">ListEnabledBaselines</a>
|
|
134
|
+
</p>
|
|
135
|
+
</li>
|
|
136
|
+
<li>
|
|
137
|
+
<p>
|
|
138
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ResetEnabledBaseline.html">ResetEnabledBaseline</a>
|
|
139
|
+
</p>
|
|
140
|
+
</li>
|
|
141
|
+
<li>
|
|
142
|
+
<p>
|
|
143
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UpdateEnabledBaseline.html">UpdateEnabledBaseline</a>
|
|
144
|
+
</p>
|
|
145
|
+
</li>
|
|
146
|
+
</ul>
|
|
147
|
+
</li>
|
|
148
|
+
<li>
|
|
149
|
+
<p>
|
|
150
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/controlreference/tagging.html">Tagging</a>
|
|
151
|
+
</p>
|
|
152
|
+
<ul>
|
|
153
|
+
<li>
|
|
154
|
+
<p>
|
|
155
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a>
|
|
156
|
+
</p>
|
|
157
|
+
</li>
|
|
158
|
+
<li>
|
|
159
|
+
<p>
|
|
160
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_TagResource.html">TagResource</a>
|
|
161
|
+
</p>
|
|
162
|
+
</li>
|
|
163
|
+
<li>
|
|
164
|
+
<p>
|
|
165
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/APIReference/API_UntagResource.html">UntagResource</a>
|
|
166
|
+
</p>
|
|
167
|
+
</li>
|
|
168
|
+
</ul>
|
|
31
169
|
</li>
|
|
32
170
|
</ul>
|
|
33
171
|
<p>For more information about these types of resources, see the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/what-is-control-tower.html">
|
|
@@ -57,13 +195,12 @@ control:</b>
|
|
|
57
195
|
<p>The <code>controlIdentifier</code> is an ARN that is specified for each
|
|
58
196
|
control. You can view the <code>controlIdentifier</code> in the console on the <b>Control details</b> page, as well as in the documentation.</p>
|
|
59
197
|
<p>The <code>controlIdentifier</code> is unique in each Amazon Web Services Region for each control. You can
|
|
60
|
-
find the <code>controlIdentifier</code> for each Region and control in the <a href="https://docs.aws.amazon.com/controltower/latest/
|
|
61
|
-
</p>
|
|
198
|
+
find the <code>controlIdentifier</code> for each Region and control in the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-metadata-tables.html">Tables of control metadata</a> or the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-region-tables.html">Control availability by Region tables</a> in the <i>Amazon Web Services Control Tower Controls Reference Guide</i>.</p>
|
|
62
199
|
<p>A quick-reference list of control identifers for the Amazon Web Services Control Tower legacy <i>Strongly recommended</i> and
|
|
63
|
-
<i>Elective</i> controls is given in <a href="https://docs.aws.amazon.com/controltower/latest/
|
|
64
|
-
APIs and controls</a> in the <a href="https://docs.aws.amazon.com/controltower/latest/
|
|
65
|
-
|
|
66
|
-
cannot be added or removed.</p>
|
|
200
|
+
<i>Elective</i> controls is given in <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html.html">Resource identifiers for
|
|
201
|
+
APIs and controls</a> in the <a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html">
|
|
202
|
+
<i>Amazon Web Services Control Tower Controls Reference Guide</i>
|
|
203
|
+
</a>. Remember that <i>Mandatory</i> controls cannot be added or removed.</p>
|
|
67
204
|
<note>
|
|
68
205
|
<p>
|
|
69
206
|
<b>ARN format:</b>
|
|
@@ -106,7 +243,7 @@ cannot be added or removed.</p>
|
|
|
106
243
|
<ul>
|
|
107
244
|
<li>
|
|
108
245
|
<p>
|
|
109
|
-
<a href="https://docs.aws.amazon.com/controltower/latest/
|
|
246
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html">Control API input and output examples with CLI</a>
|
|
110
247
|
</p>
|
|
111
248
|
</li>
|
|
112
249
|
<li>
|
|
@@ -116,7 +253,7 @@ cannot be added or removed.</p>
|
|
|
116
253
|
</li>
|
|
117
254
|
<li>
|
|
118
255
|
<p>
|
|
119
|
-
<a href="https://docs.aws.amazon.com/controltower/latest/
|
|
256
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/controlreference/enable-controls.html">Enable controls with CloudFormation</a>
|
|
120
257
|
</p>
|
|
121
258
|
</li>
|
|
122
259
|
<li>
|
|
@@ -126,27 +263,27 @@ cannot be added or removed.</p>
|
|
|
126
263
|
</li>
|
|
127
264
|
<li>
|
|
128
265
|
<p>
|
|
129
|
-
<a href="https://docs.aws.amazon.com/controltower/latest/
|
|
266
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-metadata-tables.html">Control metadata tables (large page)</a>
|
|
130
267
|
</p>
|
|
131
268
|
</li>
|
|
132
269
|
<li>
|
|
133
270
|
<p>
|
|
134
|
-
<a href="https://docs.aws.amazon.com/controltower/latest/
|
|
271
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-region-tables.html">Control availability by Region tables (large page)</a>
|
|
135
272
|
</p>
|
|
136
273
|
</li>
|
|
137
274
|
<li>
|
|
138
275
|
<p>
|
|
139
|
-
<a href="https://docs.aws.amazon.com/controltower/latest/
|
|
276
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/controlreference/control-identifiers.html">List of identifiers for legacy controls</a>
|
|
140
277
|
</p>
|
|
141
278
|
</li>
|
|
142
279
|
<li>
|
|
143
280
|
<p>
|
|
144
|
-
<a href="https://docs.aws.amazon.com/controltower/latest/
|
|
281
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/controlreference/controls.html">Controls reference guide</a>
|
|
145
282
|
</p>
|
|
146
283
|
</li>
|
|
147
284
|
<li>
|
|
148
285
|
<p>
|
|
149
|
-
<a href="https://docs.aws.amazon.com/controltower/latest/
|
|
286
|
+
<a href="https://docs.aws.amazon.com/controltower/latest/controlreference/controls-reference.html">Controls library groupings</a>
|
|
150
287
|
</p>
|
|
151
288
|
</li>
|
|
152
289
|
<li>
|
|
@@ -499,6 +636,14 @@ ListEnabledControls
|
|
|
499
636
|
|
|
500
637
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/ListEnabledControlsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListEnabledControlsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListEnabledControlsCommandOutput/)
|
|
501
638
|
|
|
639
|
+
</details>
|
|
640
|
+
<details>
|
|
641
|
+
<summary>
|
|
642
|
+
ListLandingZoneOperations
|
|
643
|
+
</summary>
|
|
644
|
+
|
|
645
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/controltower/command/ListLandingZoneOperationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListLandingZoneOperationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-controltower/Interface/ListLandingZoneOperationsCommandOutput/)
|
|
646
|
+
|
|
502
647
|
</details>
|
|
503
648
|
<details>
|
|
504
649
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -54,6 +54,7 @@ __export(src_exports, {
|
|
|
54
54
|
ListControlOperationsCommand: () => ListControlOperationsCommand,
|
|
55
55
|
ListEnabledBaselinesCommand: () => ListEnabledBaselinesCommand,
|
|
56
56
|
ListEnabledControlsCommand: () => ListEnabledControlsCommand,
|
|
57
|
+
ListLandingZoneOperationsCommand: () => ListLandingZoneOperationsCommand,
|
|
57
58
|
ListLandingZonesCommand: () => ListLandingZonesCommand,
|
|
58
59
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
59
60
|
ResetEnabledBaselineCommand: () => ResetEnabledBaselineCommand,
|
|
@@ -72,6 +73,7 @@ __export(src_exports, {
|
|
|
72
73
|
paginateListControlOperations: () => paginateListControlOperations,
|
|
73
74
|
paginateListEnabledBaselines: () => paginateListEnabledBaselines,
|
|
74
75
|
paginateListEnabledControls: () => paginateListEnabledControls,
|
|
76
|
+
paginateListLandingZoneOperations: () => paginateListLandingZoneOperations,
|
|
75
77
|
paginateListLandingZones: () => paginateListLandingZones
|
|
76
78
|
});
|
|
77
79
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -264,6 +266,17 @@ var _AccessDeniedException = class _AccessDeniedException extends ControlTowerSe
|
|
|
264
266
|
};
|
|
265
267
|
__name(_AccessDeniedException, "AccessDeniedException");
|
|
266
268
|
var AccessDeniedException = _AccessDeniedException;
|
|
269
|
+
var BaselineOperationType = {
|
|
270
|
+
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
271
|
+
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
272
|
+
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
273
|
+
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE"
|
|
274
|
+
};
|
|
275
|
+
var BaselineOperationStatus = {
|
|
276
|
+
FAILED: "FAILED",
|
|
277
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
278
|
+
SUCCEEDED: "SUCCEEDED"
|
|
279
|
+
};
|
|
267
280
|
var _InternalServerException = class _InternalServerException extends ControlTowerServiceException {
|
|
268
281
|
/**
|
|
269
282
|
* @internal
|
|
@@ -383,17 +396,6 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
383
396
|
};
|
|
384
397
|
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
385
398
|
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
386
|
-
var BaselineOperationType = {
|
|
387
|
-
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
388
|
-
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
389
|
-
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
390
|
-
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE"
|
|
391
|
-
};
|
|
392
|
-
var BaselineOperationStatus = {
|
|
393
|
-
FAILED: "FAILED",
|
|
394
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
395
|
-
SUCCEEDED: "SUCCEEDED"
|
|
396
|
-
};
|
|
397
399
|
var EnablementStatus = {
|
|
398
400
|
FAILED: "FAILED",
|
|
399
401
|
SUCCEEDED: "SUCCEEDED",
|
|
@@ -405,15 +407,6 @@ var DriftStatus = {
|
|
|
405
407
|
NOT_CHECKING: "NOT_CHECKING",
|
|
406
408
|
UNKNOWN: "UNKNOWN"
|
|
407
409
|
};
|
|
408
|
-
var LandingZoneDriftStatus = {
|
|
409
|
-
DRIFTED: "DRIFTED",
|
|
410
|
-
IN_SYNC: "IN_SYNC"
|
|
411
|
-
};
|
|
412
|
-
var LandingZoneStatus = {
|
|
413
|
-
ACTIVE: "ACTIVE",
|
|
414
|
-
FAILED: "FAILED",
|
|
415
|
-
PROCESSING: "PROCESSING"
|
|
416
|
-
};
|
|
417
410
|
var LandingZoneOperationType = {
|
|
418
411
|
CREATE: "CREATE",
|
|
419
412
|
DELETE: "DELETE",
|
|
@@ -425,6 +418,15 @@ var LandingZoneOperationStatus = {
|
|
|
425
418
|
IN_PROGRESS: "IN_PROGRESS",
|
|
426
419
|
SUCCEEDED: "SUCCEEDED"
|
|
427
420
|
};
|
|
421
|
+
var LandingZoneDriftStatus = {
|
|
422
|
+
DRIFTED: "DRIFTED",
|
|
423
|
+
IN_SYNC: "IN_SYNC"
|
|
424
|
+
};
|
|
425
|
+
var LandingZoneStatus = {
|
|
426
|
+
ACTIVE: "ACTIVE",
|
|
427
|
+
FAILED: "FAILED",
|
|
428
|
+
PROCESSING: "PROCESSING"
|
|
429
|
+
};
|
|
428
430
|
|
|
429
431
|
// src/protocols/Aws_restJson1.ts
|
|
430
432
|
var se_CreateLandingZoneCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -700,6 +702,23 @@ var se_ListEnabledControlsCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
700
702
|
b.m("POST").h(headers).b(body);
|
|
701
703
|
return b.build();
|
|
702
704
|
}, "se_ListEnabledControlsCommand");
|
|
705
|
+
var se_ListLandingZoneOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
706
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
707
|
+
const headers = {
|
|
708
|
+
"content-type": "application/json"
|
|
709
|
+
};
|
|
710
|
+
b.bp("/list-landingzone-operations");
|
|
711
|
+
let body;
|
|
712
|
+
body = JSON.stringify(
|
|
713
|
+
(0, import_smithy_client.take)(input, {
|
|
714
|
+
filter: (_) => (0, import_smithy_client._json)(_),
|
|
715
|
+
maxResults: [],
|
|
716
|
+
nextToken: []
|
|
717
|
+
})
|
|
718
|
+
);
|
|
719
|
+
b.m("POST").h(headers).b(body);
|
|
720
|
+
return b.build();
|
|
721
|
+
}, "se_ListLandingZoneOperationsCommand");
|
|
703
722
|
var se_ListLandingZonesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
704
723
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
705
724
|
const headers = {
|
|
@@ -1083,6 +1102,21 @@ var de_ListEnabledControlsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1083
1102
|
Object.assign(contents, doc);
|
|
1084
1103
|
return contents;
|
|
1085
1104
|
}, "de_ListEnabledControlsCommand");
|
|
1105
|
+
var de_ListLandingZoneOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1106
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1107
|
+
return de_CommandError(output, context);
|
|
1108
|
+
}
|
|
1109
|
+
const contents = (0, import_smithy_client.map)({
|
|
1110
|
+
$metadata: deserializeMetadata(output)
|
|
1111
|
+
});
|
|
1112
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1113
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1114
|
+
landingZoneOperations: import_smithy_client._json,
|
|
1115
|
+
nextToken: import_smithy_client.expectString
|
|
1116
|
+
});
|
|
1117
|
+
Object.assign(contents, doc);
|
|
1118
|
+
return contents;
|
|
1119
|
+
}, "de_ListLandingZoneOperationsCommand");
|
|
1086
1120
|
var de_ListLandingZonesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1087
1121
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1088
1122
|
return de_CommandError(output, context);
|
|
@@ -1469,6 +1503,7 @@ var de_LandingZoneDetail = /* @__PURE__ */ __name((output, context) => {
|
|
|
1469
1503
|
var de_LandingZoneOperationDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1470
1504
|
return (0, import_smithy_client.take)(output, {
|
|
1471
1505
|
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1506
|
+
operationIdentifier: import_smithy_client.expectString,
|
|
1472
1507
|
operationType: import_smithy_client.expectString,
|
|
1473
1508
|
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1474
1509
|
status: import_smithy_client.expectString,
|
|
@@ -1760,6 +1795,22 @@ var _ListEnabledControlsCommand = class _ListEnabledControlsCommand extends impo
|
|
|
1760
1795
|
__name(_ListEnabledControlsCommand, "ListEnabledControlsCommand");
|
|
1761
1796
|
var ListEnabledControlsCommand = _ListEnabledControlsCommand;
|
|
1762
1797
|
|
|
1798
|
+
// src/commands/ListLandingZoneOperationsCommand.ts
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
|
|
1802
|
+
var _ListLandingZoneOperationsCommand = class _ListLandingZoneOperationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1803
|
+
...commonParams
|
|
1804
|
+
}).m(function(Command, cs, config, o) {
|
|
1805
|
+
return [
|
|
1806
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1807
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1808
|
+
];
|
|
1809
|
+
}).s("AWSControlTowerApis", "ListLandingZoneOperations", {}).n("ControlTowerClient", "ListLandingZoneOperationsCommand").f(void 0, void 0).ser(se_ListLandingZoneOperationsCommand).de(de_ListLandingZoneOperationsCommand).build() {
|
|
1810
|
+
};
|
|
1811
|
+
__name(_ListLandingZoneOperationsCommand, "ListLandingZoneOperationsCommand");
|
|
1812
|
+
var ListLandingZoneOperationsCommand = _ListLandingZoneOperationsCommand;
|
|
1813
|
+
|
|
1763
1814
|
// src/commands/ListLandingZonesCommand.ts
|
|
1764
1815
|
|
|
1765
1816
|
|
|
@@ -1923,6 +1974,7 @@ var commands = {
|
|
|
1923
1974
|
ListControlOperationsCommand,
|
|
1924
1975
|
ListEnabledBaselinesCommand,
|
|
1925
1976
|
ListEnabledControlsCommand,
|
|
1977
|
+
ListLandingZoneOperationsCommand,
|
|
1926
1978
|
ListLandingZonesCommand,
|
|
1927
1979
|
ListTagsForResourceCommand,
|
|
1928
1980
|
ResetEnabledBaselineCommand,
|
|
@@ -1955,6 +2007,10 @@ var paginateListEnabledBaselines = (0, import_core.createPaginator)(ControlTower
|
|
|
1955
2007
|
|
|
1956
2008
|
var paginateListEnabledControls = (0, import_core.createPaginator)(ControlTowerClient, ListEnabledControlsCommand, "nextToken", "nextToken", "maxResults");
|
|
1957
2009
|
|
|
2010
|
+
// src/pagination/ListLandingZoneOperationsPaginator.ts
|
|
2011
|
+
|
|
2012
|
+
var paginateListLandingZoneOperations = (0, import_core.createPaginator)(ControlTowerClient, ListLandingZoneOperationsCommand, "nextToken", "nextToken", "maxResults");
|
|
2013
|
+
|
|
1958
2014
|
// src/pagination/ListLandingZonesPaginator.ts
|
|
1959
2015
|
|
|
1960
2016
|
var paginateListLandingZones = (0, import_core.createPaginator)(ControlTowerClient, ListLandingZonesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1983,6 +2039,7 @@ var paginateListLandingZones = (0, import_core.createPaginator)(ControlTowerClie
|
|
|
1983
2039
|
ListControlOperationsCommand,
|
|
1984
2040
|
ListEnabledBaselinesCommand,
|
|
1985
2041
|
ListEnabledControlsCommand,
|
|
2042
|
+
ListLandingZoneOperationsCommand,
|
|
1986
2043
|
ListLandingZonesCommand,
|
|
1987
2044
|
ListTagsForResourceCommand,
|
|
1988
2045
|
ResetEnabledBaselineCommand,
|
|
@@ -1996,8 +2053,11 @@ var paginateListLandingZones = (0, import_core.createPaginator)(ControlTowerClie
|
|
|
1996
2053
|
paginateListControlOperations,
|
|
1997
2054
|
paginateListEnabledBaselines,
|
|
1998
2055
|
paginateListEnabledControls,
|
|
2056
|
+
paginateListLandingZoneOperations,
|
|
1999
2057
|
paginateListLandingZones,
|
|
2000
2058
|
AccessDeniedException,
|
|
2059
|
+
BaselineOperationType,
|
|
2060
|
+
BaselineOperationStatus,
|
|
2001
2061
|
InternalServerException,
|
|
2002
2062
|
ResourceNotFoundException,
|
|
2003
2063
|
ThrottlingException,
|
|
@@ -2006,13 +2066,11 @@ var paginateListLandingZones = (0, import_core.createPaginator)(ControlTowerClie
|
|
|
2006
2066
|
ControlOperationStatus,
|
|
2007
2067
|
ConflictException,
|
|
2008
2068
|
ServiceQuotaExceededException,
|
|
2009
|
-
BaselineOperationType,
|
|
2010
|
-
BaselineOperationStatus,
|
|
2011
2069
|
EnablementStatus,
|
|
2012
2070
|
DriftStatus,
|
|
2013
|
-
LandingZoneDriftStatus,
|
|
2014
|
-
LandingZoneStatus,
|
|
2015
2071
|
LandingZoneOperationType,
|
|
2016
|
-
LandingZoneOperationStatus
|
|
2072
|
+
LandingZoneOperationStatus,
|
|
2073
|
+
LandingZoneDriftStatus,
|
|
2074
|
+
LandingZoneStatus
|
|
2017
2075
|
});
|
|
2018
2076
|
|
package/dist-es/ControlTower.js
CHANGED
|
@@ -16,6 +16,7 @@ import { ListBaselinesCommand, } from "./commands/ListBaselinesCommand";
|
|
|
16
16
|
import { ListControlOperationsCommand, } from "./commands/ListControlOperationsCommand";
|
|
17
17
|
import { ListEnabledBaselinesCommand, } from "./commands/ListEnabledBaselinesCommand";
|
|
18
18
|
import { ListEnabledControlsCommand, } from "./commands/ListEnabledControlsCommand";
|
|
19
|
+
import { ListLandingZoneOperationsCommand, } from "./commands/ListLandingZoneOperationsCommand";
|
|
19
20
|
import { ListLandingZonesCommand, } from "./commands/ListLandingZonesCommand";
|
|
20
21
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
21
22
|
import { ResetEnabledBaselineCommand, } from "./commands/ResetEnabledBaselineCommand";
|
|
@@ -44,6 +45,7 @@ const commands = {
|
|
|
44
45
|
ListControlOperationsCommand,
|
|
45
46
|
ListEnabledBaselinesCommand,
|
|
46
47
|
ListEnabledControlsCommand,
|
|
48
|
+
ListLandingZoneOperationsCommand,
|
|
47
49
|
ListLandingZonesCommand,
|
|
48
50
|
ListTagsForResourceCommand,
|
|
49
51
|
ResetEnabledBaselineCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListLandingZoneOperationsCommand, se_ListLandingZoneOperationsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListLandingZoneOperationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "ListLandingZoneOperations", {})
|
|
19
|
+
.n("ControlTowerClient", "ListLandingZoneOperationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListLandingZoneOperationsCommand)
|
|
22
|
+
.de(de_ListLandingZoneOperationsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -15,6 +15,7 @@ export * from "./ListBaselinesCommand";
|
|
|
15
15
|
export * from "./ListControlOperationsCommand";
|
|
16
16
|
export * from "./ListEnabledBaselinesCommand";
|
|
17
17
|
export * from "./ListEnabledControlsCommand";
|
|
18
|
+
export * from "./ListLandingZoneOperationsCommand";
|
|
18
19
|
export * from "./ListLandingZonesCommand";
|
|
19
20
|
export * from "./ListTagsForResourceCommand";
|
|
20
21
|
export * from "./ResetEnabledBaselineCommand";
|
|
@@ -11,6 +11,17 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
export const BaselineOperationType = {
|
|
15
|
+
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
16
|
+
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
17
|
+
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
18
|
+
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE",
|
|
19
|
+
};
|
|
20
|
+
export const BaselineOperationStatus = {
|
|
21
|
+
FAILED: "FAILED",
|
|
22
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
23
|
+
SUCCEEDED: "SUCCEEDED",
|
|
24
|
+
};
|
|
14
25
|
export class InternalServerException extends __BaseException {
|
|
15
26
|
constructor(opts) {
|
|
16
27
|
super({
|
|
@@ -100,17 +111,6 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
100
111
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
101
112
|
}
|
|
102
113
|
}
|
|
103
|
-
export const BaselineOperationType = {
|
|
104
|
-
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
105
|
-
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
106
|
-
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
107
|
-
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE",
|
|
108
|
-
};
|
|
109
|
-
export const BaselineOperationStatus = {
|
|
110
|
-
FAILED: "FAILED",
|
|
111
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
112
|
-
SUCCEEDED: "SUCCEEDED",
|
|
113
|
-
};
|
|
114
114
|
export const EnablementStatus = {
|
|
115
115
|
FAILED: "FAILED",
|
|
116
116
|
SUCCEEDED: "SUCCEEDED",
|
|
@@ -122,15 +122,6 @@ export const DriftStatus = {
|
|
|
122
122
|
NOT_CHECKING: "NOT_CHECKING",
|
|
123
123
|
UNKNOWN: "UNKNOWN",
|
|
124
124
|
};
|
|
125
|
-
export const LandingZoneDriftStatus = {
|
|
126
|
-
DRIFTED: "DRIFTED",
|
|
127
|
-
IN_SYNC: "IN_SYNC",
|
|
128
|
-
};
|
|
129
|
-
export const LandingZoneStatus = {
|
|
130
|
-
ACTIVE: "ACTIVE",
|
|
131
|
-
FAILED: "FAILED",
|
|
132
|
-
PROCESSING: "PROCESSING",
|
|
133
|
-
};
|
|
134
125
|
export const LandingZoneOperationType = {
|
|
135
126
|
CREATE: "CREATE",
|
|
136
127
|
DELETE: "DELETE",
|
|
@@ -142,3 +133,12 @@ export const LandingZoneOperationStatus = {
|
|
|
142
133
|
IN_PROGRESS: "IN_PROGRESS",
|
|
143
134
|
SUCCEEDED: "SUCCEEDED",
|
|
144
135
|
};
|
|
136
|
+
export const LandingZoneDriftStatus = {
|
|
137
|
+
DRIFTED: "DRIFTED",
|
|
138
|
+
IN_SYNC: "IN_SYNC",
|
|
139
|
+
};
|
|
140
|
+
export const LandingZoneStatus = {
|
|
141
|
+
ACTIVE: "ACTIVE",
|
|
142
|
+
FAILED: "FAILED",
|
|
143
|
+
PROCESSING: "PROCESSING",
|
|
144
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListLandingZoneOperationsCommand, } from "../commands/ListLandingZoneOperationsCommand";
|
|
3
|
+
import { ControlTowerClient } from "../ControlTowerClient";
|
|
4
|
+
export const paginateListLandingZoneOperations = createPaginator(ControlTowerClient, ListLandingZoneOperationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -3,4 +3,5 @@ export * from "./ListBaselinesPaginator";
|
|
|
3
3
|
export * from "./ListControlOperationsPaginator";
|
|
4
4
|
export * from "./ListEnabledBaselinesPaginator";
|
|
5
5
|
export * from "./ListEnabledControlsPaginator";
|
|
6
|
+
export * from "./ListLandingZoneOperationsPaginator";
|
|
6
7
|
export * from "./ListLandingZonesPaginator";
|
|
@@ -242,6 +242,21 @@ export const se_ListEnabledControlsCommand = async (input, context) => {
|
|
|
242
242
|
b.m("POST").h(headers).b(body);
|
|
243
243
|
return b.build();
|
|
244
244
|
};
|
|
245
|
+
export const se_ListLandingZoneOperationsCommand = async (input, context) => {
|
|
246
|
+
const b = rb(input, context);
|
|
247
|
+
const headers = {
|
|
248
|
+
"content-type": "application/json",
|
|
249
|
+
};
|
|
250
|
+
b.bp("/list-landingzone-operations");
|
|
251
|
+
let body;
|
|
252
|
+
body = JSON.stringify(take(input, {
|
|
253
|
+
filter: (_) => _json(_),
|
|
254
|
+
maxResults: [],
|
|
255
|
+
nextToken: [],
|
|
256
|
+
}));
|
|
257
|
+
b.m("POST").h(headers).b(body);
|
|
258
|
+
return b.build();
|
|
259
|
+
};
|
|
245
260
|
export const se_ListLandingZonesCommand = async (input, context) => {
|
|
246
261
|
const b = rb(input, context);
|
|
247
262
|
const headers = {
|
|
@@ -611,6 +626,21 @@ export const de_ListEnabledControlsCommand = async (output, context) => {
|
|
|
611
626
|
Object.assign(contents, doc);
|
|
612
627
|
return contents;
|
|
613
628
|
};
|
|
629
|
+
export const de_ListLandingZoneOperationsCommand = async (output, context) => {
|
|
630
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
631
|
+
return de_CommandError(output, context);
|
|
632
|
+
}
|
|
633
|
+
const contents = map({
|
|
634
|
+
$metadata: deserializeMetadata(output),
|
|
635
|
+
});
|
|
636
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
637
|
+
const doc = take(data, {
|
|
638
|
+
landingZoneOperations: _json,
|
|
639
|
+
nextToken: __expectString,
|
|
640
|
+
});
|
|
641
|
+
Object.assign(contents, doc);
|
|
642
|
+
return contents;
|
|
643
|
+
};
|
|
614
644
|
export const de_ListLandingZonesCommand = async (output, context) => {
|
|
615
645
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
616
646
|
return de_CommandError(output, context);
|
|
@@ -1007,6 +1037,7 @@ const de_LandingZoneDetail = (output, context) => {
|
|
|
1007
1037
|
const de_LandingZoneOperationDetail = (output, context) => {
|
|
1008
1038
|
return take(output, {
|
|
1009
1039
|
endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1040
|
+
operationIdentifier: __expectString,
|
|
1010
1041
|
operationType: __expectString,
|
|
1011
1042
|
startTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1012
1043
|
status: __expectString,
|