@aws-sdk/client-controltower 3.511.0 → 3.514.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 +81 -9
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/DisableBaselineCommand.js +1 -0
- package/dist-cjs/commands/EnableBaselineCommand.js +1 -0
- package/dist-cjs/commands/GetBaselineCommand.js +1 -0
- package/dist-cjs/commands/GetBaselineOperationCommand.js +1 -0
- package/dist-cjs/commands/GetEnabledBaselineCommand.js +1 -0
- package/dist-cjs/commands/ListBaselinesCommand.js +1 -0
- package/dist-cjs/commands/ListEnabledBaselinesCommand.js +1 -0
- package/dist-cjs/commands/ResetEnabledBaselineCommand.js +1 -0
- package/dist-cjs/commands/UpdateEnabledBaselineCommand.js +1 -0
- package/dist-cjs/index.js +638 -49
- package/dist-cjs/pagination/ListBaselinesPaginator.js +1 -0
- package/dist-cjs/pagination/ListEnabledBaselinesPaginator.js +1 -0
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-es/ControlTower.js +18 -0
- package/dist-es/ControlTowerClient.js +17 -4
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/DisableBaselineCommand.js +24 -0
- package/dist-es/commands/EnableBaselineCommand.js +24 -0
- package/dist-es/commands/GetBaselineCommand.js +24 -0
- package/dist-es/commands/GetBaselineOperationCommand.js +24 -0
- package/dist-es/commands/GetEnabledBaselineCommand.js +24 -0
- package/dist-es/commands/ListBaselinesCommand.js +24 -0
- package/dist-es/commands/ListEnabledBaselinesCommand.js +24 -0
- package/dist-es/commands/ResetEnabledBaselineCommand.js +24 -0
- package/dist-es/commands/UpdateEnabledBaselineCommand.js +24 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +40 -29
- package/dist-es/pagination/ListBaselinesPaginator.js +4 -0
- package/dist-es/pagination/ListEnabledBaselinesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +310 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/ControlTower.d.ts +65 -2
- package/dist-types/ControlTowerClient.d.ts +26 -15
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateLandingZoneCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLandingZoneCommand.d.ts +1 -1
- package/dist-types/commands/DisableBaselineCommand.d.ts +79 -0
- package/dist-types/commands/DisableControlCommand.d.ts +2 -2
- package/dist-types/commands/EnableBaselineCommand.d.ts +91 -0
- package/dist-types/commands/EnableControlCommand.d.ts +1 -1
- package/dist-types/commands/GetBaselineCommand.d.ts +75 -0
- package/dist-types/commands/GetBaselineOperationCommand.d.ts +80 -0
- package/dist-types/commands/GetControlOperationCommand.d.ts +1 -1
- package/dist-types/commands/GetEnabledBaselineCommand.d.ts +88 -0
- package/dist-types/commands/GetEnabledControlCommand.d.ts +1 -1
- package/dist-types/commands/GetLandingZoneCommand.d.ts +1 -1
- package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +1 -1
- package/dist-types/commands/ListBaselinesCommand.d.ts +78 -0
- package/dist-types/commands/ListEnabledBaselinesCommand.d.ts +91 -0
- package/dist-types/commands/ListEnabledControlsCommand.d.ts +1 -1
- package/dist-types/commands/ListLandingZonesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ResetEnabledBaselineCommand.d.ts +79 -0
- package/dist-types/commands/ResetLandingZoneCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEnabledBaselineCommand.d.ts +86 -0
- package/dist-types/commands/UpdateEnabledControlCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLandingZoneCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +541 -94
- package/dist-types/pagination/ListBaselinesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEnabledBaselinesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/ControlTower.d.ts +153 -0
- package/dist-types/ts3.4/ControlTowerClient.d.ts +65 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/DisableBaselineCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/EnableBaselineCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/GetBaselineCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/GetBaselineOperationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetEnabledBaselineCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListBaselinesCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/ListEnabledBaselinesCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ResetEnabledBaselineCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateEnabledBaselineCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +151 -28
- package/dist-types/ts3.4/pagination/ListBaselinesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEnabledBaselinesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +7 -7
|
@@ -30,6 +30,19 @@ export const se_DeleteLandingZoneCommand = async (input, context) => {
|
|
|
30
30
|
b.m("POST").h(headers).b(body);
|
|
31
31
|
return b.build();
|
|
32
32
|
};
|
|
33
|
+
export const se_DisableBaselineCommand = async (input, context) => {
|
|
34
|
+
const b = rb(input, context);
|
|
35
|
+
const headers = {
|
|
36
|
+
"content-type": "application/json",
|
|
37
|
+
};
|
|
38
|
+
b.bp("/disable-baseline");
|
|
39
|
+
let body;
|
|
40
|
+
body = JSON.stringify(take(input, {
|
|
41
|
+
enabledBaselineIdentifier: [],
|
|
42
|
+
}));
|
|
43
|
+
b.m("POST").h(headers).b(body);
|
|
44
|
+
return b.build();
|
|
45
|
+
};
|
|
33
46
|
export const se_DisableControlCommand = async (input, context) => {
|
|
34
47
|
const b = rb(input, context);
|
|
35
48
|
const headers = {
|
|
@@ -44,6 +57,23 @@ export const se_DisableControlCommand = async (input, context) => {
|
|
|
44
57
|
b.m("POST").h(headers).b(body);
|
|
45
58
|
return b.build();
|
|
46
59
|
};
|
|
60
|
+
export const se_EnableBaselineCommand = async (input, context) => {
|
|
61
|
+
const b = rb(input, context);
|
|
62
|
+
const headers = {
|
|
63
|
+
"content-type": "application/json",
|
|
64
|
+
};
|
|
65
|
+
b.bp("/enable-baseline");
|
|
66
|
+
let body;
|
|
67
|
+
body = JSON.stringify(take(input, {
|
|
68
|
+
baselineIdentifier: [],
|
|
69
|
+
baselineVersion: [],
|
|
70
|
+
parameters: (_) => se_EnabledBaselineParameters(_, context),
|
|
71
|
+
tags: (_) => _json(_),
|
|
72
|
+
targetIdentifier: [],
|
|
73
|
+
}));
|
|
74
|
+
b.m("POST").h(headers).b(body);
|
|
75
|
+
return b.build();
|
|
76
|
+
};
|
|
47
77
|
export const se_EnableControlCommand = async (input, context) => {
|
|
48
78
|
const b = rb(input, context);
|
|
49
79
|
const headers = {
|
|
@@ -60,6 +90,32 @@ export const se_EnableControlCommand = async (input, context) => {
|
|
|
60
90
|
b.m("POST").h(headers).b(body);
|
|
61
91
|
return b.build();
|
|
62
92
|
};
|
|
93
|
+
export const se_GetBaselineCommand = async (input, context) => {
|
|
94
|
+
const b = rb(input, context);
|
|
95
|
+
const headers = {
|
|
96
|
+
"content-type": "application/json",
|
|
97
|
+
};
|
|
98
|
+
b.bp("/get-baseline");
|
|
99
|
+
let body;
|
|
100
|
+
body = JSON.stringify(take(input, {
|
|
101
|
+
baselineIdentifier: [],
|
|
102
|
+
}));
|
|
103
|
+
b.m("POST").h(headers).b(body);
|
|
104
|
+
return b.build();
|
|
105
|
+
};
|
|
106
|
+
export const se_GetBaselineOperationCommand = async (input, context) => {
|
|
107
|
+
const b = rb(input, context);
|
|
108
|
+
const headers = {
|
|
109
|
+
"content-type": "application/json",
|
|
110
|
+
};
|
|
111
|
+
b.bp("/get-baseline-operation");
|
|
112
|
+
let body;
|
|
113
|
+
body = JSON.stringify(take(input, {
|
|
114
|
+
operationIdentifier: [],
|
|
115
|
+
}));
|
|
116
|
+
b.m("POST").h(headers).b(body);
|
|
117
|
+
return b.build();
|
|
118
|
+
};
|
|
63
119
|
export const se_GetControlOperationCommand = async (input, context) => {
|
|
64
120
|
const b = rb(input, context);
|
|
65
121
|
const headers = {
|
|
@@ -73,6 +129,19 @@ export const se_GetControlOperationCommand = async (input, context) => {
|
|
|
73
129
|
b.m("POST").h(headers).b(body);
|
|
74
130
|
return b.build();
|
|
75
131
|
};
|
|
132
|
+
export const se_GetEnabledBaselineCommand = async (input, context) => {
|
|
133
|
+
const b = rb(input, context);
|
|
134
|
+
const headers = {
|
|
135
|
+
"content-type": "application/json",
|
|
136
|
+
};
|
|
137
|
+
b.bp("/get-enabled-baseline");
|
|
138
|
+
let body;
|
|
139
|
+
body = JSON.stringify(take(input, {
|
|
140
|
+
enabledBaselineIdentifier: [],
|
|
141
|
+
}));
|
|
142
|
+
b.m("POST").h(headers).b(body);
|
|
143
|
+
return b.build();
|
|
144
|
+
};
|
|
76
145
|
export const se_GetEnabledControlCommand = async (input, context) => {
|
|
77
146
|
const b = rb(input, context);
|
|
78
147
|
const headers = {
|
|
@@ -112,6 +181,35 @@ export const se_GetLandingZoneOperationCommand = async (input, context) => {
|
|
|
112
181
|
b.m("POST").h(headers).b(body);
|
|
113
182
|
return b.build();
|
|
114
183
|
};
|
|
184
|
+
export const se_ListBaselinesCommand = async (input, context) => {
|
|
185
|
+
const b = rb(input, context);
|
|
186
|
+
const headers = {
|
|
187
|
+
"content-type": "application/json",
|
|
188
|
+
};
|
|
189
|
+
b.bp("/list-baselines");
|
|
190
|
+
let body;
|
|
191
|
+
body = JSON.stringify(take(input, {
|
|
192
|
+
maxResults: [],
|
|
193
|
+
nextToken: [],
|
|
194
|
+
}));
|
|
195
|
+
b.m("POST").h(headers).b(body);
|
|
196
|
+
return b.build();
|
|
197
|
+
};
|
|
198
|
+
export const se_ListEnabledBaselinesCommand = async (input, context) => {
|
|
199
|
+
const b = rb(input, context);
|
|
200
|
+
const headers = {
|
|
201
|
+
"content-type": "application/json",
|
|
202
|
+
};
|
|
203
|
+
b.bp("/list-enabled-baselines");
|
|
204
|
+
let body;
|
|
205
|
+
body = JSON.stringify(take(input, {
|
|
206
|
+
filter: (_) => _json(_),
|
|
207
|
+
maxResults: [],
|
|
208
|
+
nextToken: [],
|
|
209
|
+
}));
|
|
210
|
+
b.m("POST").h(headers).b(body);
|
|
211
|
+
return b.build();
|
|
212
|
+
};
|
|
115
213
|
export const se_ListEnabledControlsCommand = async (input, context) => {
|
|
116
214
|
const b = rb(input, context);
|
|
117
215
|
const headers = {
|
|
@@ -150,6 +248,19 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
150
248
|
b.m("GET").h(headers).b(body);
|
|
151
249
|
return b.build();
|
|
152
250
|
};
|
|
251
|
+
export const se_ResetEnabledBaselineCommand = async (input, context) => {
|
|
252
|
+
const b = rb(input, context);
|
|
253
|
+
const headers = {
|
|
254
|
+
"content-type": "application/json",
|
|
255
|
+
};
|
|
256
|
+
b.bp("/reset-enabled-baseline");
|
|
257
|
+
let body;
|
|
258
|
+
body = JSON.stringify(take(input, {
|
|
259
|
+
enabledBaselineIdentifier: [],
|
|
260
|
+
}));
|
|
261
|
+
b.m("POST").h(headers).b(body);
|
|
262
|
+
return b.build();
|
|
263
|
+
};
|
|
153
264
|
export const se_ResetLandingZoneCommand = async (input, context) => {
|
|
154
265
|
const b = rb(input, context);
|
|
155
266
|
const headers = {
|
|
@@ -192,6 +303,21 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
192
303
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
193
304
|
return b.build();
|
|
194
305
|
};
|
|
306
|
+
export const se_UpdateEnabledBaselineCommand = async (input, context) => {
|
|
307
|
+
const b = rb(input, context);
|
|
308
|
+
const headers = {
|
|
309
|
+
"content-type": "application/json",
|
|
310
|
+
};
|
|
311
|
+
b.bp("/update-enabled-baseline");
|
|
312
|
+
let body;
|
|
313
|
+
body = JSON.stringify(take(input, {
|
|
314
|
+
baselineVersion: [],
|
|
315
|
+
enabledBaselineIdentifier: [],
|
|
316
|
+
parameters: (_) => se_EnabledBaselineParameters(_, context),
|
|
317
|
+
}));
|
|
318
|
+
b.m("POST").h(headers).b(body);
|
|
319
|
+
return b.build();
|
|
320
|
+
};
|
|
195
321
|
export const se_UpdateEnabledControlCommand = async (input, context) => {
|
|
196
322
|
const b = rb(input, context);
|
|
197
323
|
const headers = {
|
|
@@ -250,6 +376,20 @@ export const de_DeleteLandingZoneCommand = async (output, context) => {
|
|
|
250
376
|
Object.assign(contents, doc);
|
|
251
377
|
return contents;
|
|
252
378
|
};
|
|
379
|
+
export const de_DisableBaselineCommand = async (output, context) => {
|
|
380
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
381
|
+
return de_CommandError(output, context);
|
|
382
|
+
}
|
|
383
|
+
const contents = map({
|
|
384
|
+
$metadata: deserializeMetadata(output),
|
|
385
|
+
});
|
|
386
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
387
|
+
const doc = take(data, {
|
|
388
|
+
operationIdentifier: __expectString,
|
|
389
|
+
});
|
|
390
|
+
Object.assign(contents, doc);
|
|
391
|
+
return contents;
|
|
392
|
+
};
|
|
253
393
|
export const de_DisableControlCommand = async (output, context) => {
|
|
254
394
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
255
395
|
return de_CommandError(output, context);
|
|
@@ -264,6 +404,21 @@ export const de_DisableControlCommand = async (output, context) => {
|
|
|
264
404
|
Object.assign(contents, doc);
|
|
265
405
|
return contents;
|
|
266
406
|
};
|
|
407
|
+
export const de_EnableBaselineCommand = async (output, context) => {
|
|
408
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
409
|
+
return de_CommandError(output, context);
|
|
410
|
+
}
|
|
411
|
+
const contents = map({
|
|
412
|
+
$metadata: deserializeMetadata(output),
|
|
413
|
+
});
|
|
414
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
415
|
+
const doc = take(data, {
|
|
416
|
+
arn: __expectString,
|
|
417
|
+
operationIdentifier: __expectString,
|
|
418
|
+
});
|
|
419
|
+
Object.assign(contents, doc);
|
|
420
|
+
return contents;
|
|
421
|
+
};
|
|
267
422
|
export const de_EnableControlCommand = async (output, context) => {
|
|
268
423
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
269
424
|
return de_CommandError(output, context);
|
|
@@ -279,6 +434,36 @@ export const de_EnableControlCommand = async (output, context) => {
|
|
|
279
434
|
Object.assign(contents, doc);
|
|
280
435
|
return contents;
|
|
281
436
|
};
|
|
437
|
+
export const de_GetBaselineCommand = async (output, context) => {
|
|
438
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
439
|
+
return de_CommandError(output, context);
|
|
440
|
+
}
|
|
441
|
+
const contents = map({
|
|
442
|
+
$metadata: deserializeMetadata(output),
|
|
443
|
+
});
|
|
444
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
445
|
+
const doc = take(data, {
|
|
446
|
+
arn: __expectString,
|
|
447
|
+
description: __expectString,
|
|
448
|
+
name: __expectString,
|
|
449
|
+
});
|
|
450
|
+
Object.assign(contents, doc);
|
|
451
|
+
return contents;
|
|
452
|
+
};
|
|
453
|
+
export const de_GetBaselineOperationCommand = async (output, context) => {
|
|
454
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
455
|
+
return de_CommandError(output, context);
|
|
456
|
+
}
|
|
457
|
+
const contents = map({
|
|
458
|
+
$metadata: deserializeMetadata(output),
|
|
459
|
+
});
|
|
460
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
461
|
+
const doc = take(data, {
|
|
462
|
+
baselineOperation: (_) => de_BaselineOperation(_, context),
|
|
463
|
+
});
|
|
464
|
+
Object.assign(contents, doc);
|
|
465
|
+
return contents;
|
|
466
|
+
};
|
|
282
467
|
export const de_GetControlOperationCommand = async (output, context) => {
|
|
283
468
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
284
469
|
return de_CommandError(output, context);
|
|
@@ -293,6 +478,20 @@ export const de_GetControlOperationCommand = async (output, context) => {
|
|
|
293
478
|
Object.assign(contents, doc);
|
|
294
479
|
return contents;
|
|
295
480
|
};
|
|
481
|
+
export const de_GetEnabledBaselineCommand = async (output, context) => {
|
|
482
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
483
|
+
return de_CommandError(output, context);
|
|
484
|
+
}
|
|
485
|
+
const contents = map({
|
|
486
|
+
$metadata: deserializeMetadata(output),
|
|
487
|
+
});
|
|
488
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
489
|
+
const doc = take(data, {
|
|
490
|
+
enabledBaselineDetails: (_) => de_EnabledBaselineDetails(_, context),
|
|
491
|
+
});
|
|
492
|
+
Object.assign(contents, doc);
|
|
493
|
+
return contents;
|
|
494
|
+
};
|
|
296
495
|
export const de_GetEnabledControlCommand = async (output, context) => {
|
|
297
496
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
298
497
|
return de_CommandError(output, context);
|
|
@@ -335,6 +534,36 @@ export const de_GetLandingZoneOperationCommand = async (output, context) => {
|
|
|
335
534
|
Object.assign(contents, doc);
|
|
336
535
|
return contents;
|
|
337
536
|
};
|
|
537
|
+
export const de_ListBaselinesCommand = async (output, context) => {
|
|
538
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
539
|
+
return de_CommandError(output, context);
|
|
540
|
+
}
|
|
541
|
+
const contents = map({
|
|
542
|
+
$metadata: deserializeMetadata(output),
|
|
543
|
+
});
|
|
544
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
545
|
+
const doc = take(data, {
|
|
546
|
+
baselines: _json,
|
|
547
|
+
nextToken: __expectString,
|
|
548
|
+
});
|
|
549
|
+
Object.assign(contents, doc);
|
|
550
|
+
return contents;
|
|
551
|
+
};
|
|
552
|
+
export const de_ListEnabledBaselinesCommand = async (output, context) => {
|
|
553
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
554
|
+
return de_CommandError(output, context);
|
|
555
|
+
}
|
|
556
|
+
const contents = map({
|
|
557
|
+
$metadata: deserializeMetadata(output),
|
|
558
|
+
});
|
|
559
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
560
|
+
const doc = take(data, {
|
|
561
|
+
enabledBaselines: _json,
|
|
562
|
+
nextToken: __expectString,
|
|
563
|
+
});
|
|
564
|
+
Object.assign(contents, doc);
|
|
565
|
+
return contents;
|
|
566
|
+
};
|
|
338
567
|
export const de_ListEnabledControlsCommand = async (output, context) => {
|
|
339
568
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
340
569
|
return de_CommandError(output, context);
|
|
@@ -379,6 +608,20 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
379
608
|
Object.assign(contents, doc);
|
|
380
609
|
return contents;
|
|
381
610
|
};
|
|
611
|
+
export const de_ResetEnabledBaselineCommand = async (output, context) => {
|
|
612
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
613
|
+
return de_CommandError(output, context);
|
|
614
|
+
}
|
|
615
|
+
const contents = map({
|
|
616
|
+
$metadata: deserializeMetadata(output),
|
|
617
|
+
});
|
|
618
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
619
|
+
const doc = take(data, {
|
|
620
|
+
operationIdentifier: __expectString,
|
|
621
|
+
});
|
|
622
|
+
Object.assign(contents, doc);
|
|
623
|
+
return contents;
|
|
624
|
+
};
|
|
382
625
|
export const de_ResetLandingZoneCommand = async (output, context) => {
|
|
383
626
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
384
627
|
return de_CommandError(output, context);
|
|
@@ -413,6 +656,20 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
413
656
|
await collectBody(output.body, context);
|
|
414
657
|
return contents;
|
|
415
658
|
};
|
|
659
|
+
export const de_UpdateEnabledBaselineCommand = async (output, context) => {
|
|
660
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
661
|
+
return de_CommandError(output, context);
|
|
662
|
+
}
|
|
663
|
+
const contents = map({
|
|
664
|
+
$metadata: deserializeMetadata(output),
|
|
665
|
+
});
|
|
666
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
667
|
+
const doc = take(data, {
|
|
668
|
+
operationIdentifier: __expectString,
|
|
669
|
+
});
|
|
670
|
+
Object.assign(contents, doc);
|
|
671
|
+
return contents;
|
|
672
|
+
};
|
|
416
673
|
export const de_UpdateEnabledControlCommand = async (output, context) => {
|
|
417
674
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
418
675
|
return de_CommandError(output, context);
|
|
@@ -574,6 +831,22 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
574
831
|
});
|
|
575
832
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
576
833
|
};
|
|
834
|
+
const se_EnabledBaselineParameter = (input, context) => {
|
|
835
|
+
return take(input, {
|
|
836
|
+
key: [],
|
|
837
|
+
value: (_) => se_EnabledBaselineParameterDocument(_, context),
|
|
838
|
+
});
|
|
839
|
+
};
|
|
840
|
+
const se_EnabledBaselineParameterDocument = (input, context) => {
|
|
841
|
+
return input;
|
|
842
|
+
};
|
|
843
|
+
const se_EnabledBaselineParameters = (input, context) => {
|
|
844
|
+
return input
|
|
845
|
+
.filter((e) => e != null)
|
|
846
|
+
.map((entry) => {
|
|
847
|
+
return se_EnabledBaselineParameter(entry, context);
|
|
848
|
+
});
|
|
849
|
+
};
|
|
577
850
|
const se_EnabledControlParameter = (input, context) => {
|
|
578
851
|
return take(input, {
|
|
579
852
|
key: [],
|
|
@@ -593,6 +866,16 @@ const se_Manifest = (input, context) => {
|
|
|
593
866
|
const se_Document = (input, context) => {
|
|
594
867
|
return input;
|
|
595
868
|
};
|
|
869
|
+
const de_BaselineOperation = (output, context) => {
|
|
870
|
+
return take(output, {
|
|
871
|
+
endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
872
|
+
operationIdentifier: __expectString,
|
|
873
|
+
operationType: __expectString,
|
|
874
|
+
startTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
875
|
+
status: __expectString,
|
|
876
|
+
statusMessage: __expectString,
|
|
877
|
+
});
|
|
878
|
+
};
|
|
596
879
|
const de_ControlOperation = (output, context) => {
|
|
597
880
|
return take(output, {
|
|
598
881
|
endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
@@ -602,6 +885,33 @@ const de_ControlOperation = (output, context) => {
|
|
|
602
885
|
statusMessage: __expectString,
|
|
603
886
|
});
|
|
604
887
|
};
|
|
888
|
+
const de_EnabledBaselineDetails = (output, context) => {
|
|
889
|
+
return take(output, {
|
|
890
|
+
arn: __expectString,
|
|
891
|
+
baselineIdentifier: __expectString,
|
|
892
|
+
baselineVersion: __expectString,
|
|
893
|
+
parameters: (_) => de_EnabledBaselineParameterSummaries(_, context),
|
|
894
|
+
statusSummary: _json,
|
|
895
|
+
targetIdentifier: __expectString,
|
|
896
|
+
});
|
|
897
|
+
};
|
|
898
|
+
const de_EnabledBaselineParameterDocument = (output, context) => {
|
|
899
|
+
return output;
|
|
900
|
+
};
|
|
901
|
+
const de_EnabledBaselineParameterSummaries = (output, context) => {
|
|
902
|
+
const retVal = (output || [])
|
|
903
|
+
.filter((e) => e != null)
|
|
904
|
+
.map((entry) => {
|
|
905
|
+
return de_EnabledBaselineParameterSummary(entry, context);
|
|
906
|
+
});
|
|
907
|
+
return retVal;
|
|
908
|
+
};
|
|
909
|
+
const de_EnabledBaselineParameterSummary = (output, context) => {
|
|
910
|
+
return take(output, {
|
|
911
|
+
key: __expectString,
|
|
912
|
+
value: (_) => de_EnabledBaselineParameterDocument(_, context),
|
|
913
|
+
});
|
|
914
|
+
};
|
|
605
915
|
const de_EnabledControlDetails = (output, context) => {
|
|
606
916
|
return take(output, {
|
|
607
917
|
arn: __expectString,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
1
2
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
2
3
|
import { parseUrl } from "@smithy/url-parser";
|
|
3
4
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
4
5
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
6
|
+
import { defaultControlTowerHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
5
7
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
8
|
export const getRuntimeConfig = (config) => {
|
|
7
9
|
return {
|
|
@@ -11,6 +13,14 @@ export const getRuntimeConfig = (config) => {
|
|
|
11
13
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
12
14
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
13
15
|
extensions: config?.extensions ?? [],
|
|
16
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultControlTowerHttpAuthSchemeProvider,
|
|
17
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
18
|
+
{
|
|
19
|
+
schemeId: "aws.auth#sigv4",
|
|
20
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
21
|
+
signer: new AwsSdkSigV4Signer(),
|
|
22
|
+
},
|
|
23
|
+
],
|
|
14
24
|
logger: config?.logger ?? new NoOpLogger(),
|
|
15
25
|
serviceId: config?.serviceId ?? "ControlTower",
|
|
16
26
|
urlParser: config?.urlParser ?? parseUrl,
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
|
+
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
const asPartial = (t) => t;
|
|
5
6
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
7
|
const extensionConfiguration = {
|
|
7
8
|
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
8
9
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
9
10
|
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
10
12
|
};
|
|
11
13
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
12
14
|
return {
|
|
@@ -14,5 +16,6 @@ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
|
14
16
|
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
15
17
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
16
18
|
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
17
20
|
};
|
|
18
21
|
};
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateLandingZoneCommandInput, CreateLandingZoneCommandOutput } from "./commands/CreateLandingZoneCommand";
|
|
3
3
|
import { DeleteLandingZoneCommandInput, DeleteLandingZoneCommandOutput } from "./commands/DeleteLandingZoneCommand";
|
|
4
|
+
import { DisableBaselineCommandInput, DisableBaselineCommandOutput } from "./commands/DisableBaselineCommand";
|
|
4
5
|
import { DisableControlCommandInput, DisableControlCommandOutput } from "./commands/DisableControlCommand";
|
|
6
|
+
import { EnableBaselineCommandInput, EnableBaselineCommandOutput } from "./commands/EnableBaselineCommand";
|
|
5
7
|
import { EnableControlCommandInput, EnableControlCommandOutput } from "./commands/EnableControlCommand";
|
|
8
|
+
import { GetBaselineCommandInput, GetBaselineCommandOutput } from "./commands/GetBaselineCommand";
|
|
9
|
+
import { GetBaselineOperationCommandInput, GetBaselineOperationCommandOutput } from "./commands/GetBaselineOperationCommand";
|
|
6
10
|
import { GetControlOperationCommandInput, GetControlOperationCommandOutput } from "./commands/GetControlOperationCommand";
|
|
11
|
+
import { GetEnabledBaselineCommandInput, GetEnabledBaselineCommandOutput } from "./commands/GetEnabledBaselineCommand";
|
|
7
12
|
import { GetEnabledControlCommandInput, GetEnabledControlCommandOutput } from "./commands/GetEnabledControlCommand";
|
|
8
13
|
import { GetLandingZoneCommandInput, GetLandingZoneCommandOutput } from "./commands/GetLandingZoneCommand";
|
|
9
14
|
import { GetLandingZoneOperationCommandInput, GetLandingZoneOperationCommandOutput } from "./commands/GetLandingZoneOperationCommand";
|
|
15
|
+
import { ListBaselinesCommandInput, ListBaselinesCommandOutput } from "./commands/ListBaselinesCommand";
|
|
16
|
+
import { ListEnabledBaselinesCommandInput, ListEnabledBaselinesCommandOutput } from "./commands/ListEnabledBaselinesCommand";
|
|
10
17
|
import { ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput } from "./commands/ListEnabledControlsCommand";
|
|
11
18
|
import { ListLandingZonesCommandInput, ListLandingZonesCommandOutput } from "./commands/ListLandingZonesCommand";
|
|
12
19
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
|
+
import { ResetEnabledBaselineCommandInput, ResetEnabledBaselineCommandOutput } from "./commands/ResetEnabledBaselineCommand";
|
|
13
21
|
import { ResetLandingZoneCommandInput, ResetLandingZoneCommandOutput } from "./commands/ResetLandingZoneCommand";
|
|
14
22
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
15
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
|
+
import { UpdateEnabledBaselineCommandInput, UpdateEnabledBaselineCommandOutput } from "./commands/UpdateEnabledBaselineCommand";
|
|
16
25
|
import { UpdateEnabledControlCommandInput, UpdateEnabledControlCommandOutput } from "./commands/UpdateEnabledControlCommand";
|
|
17
26
|
import { UpdateLandingZoneCommandInput, UpdateLandingZoneCommandOutput } from "./commands/UpdateLandingZoneCommand";
|
|
18
27
|
import { ControlTowerClient } from "./ControlTowerClient";
|
|
@@ -29,24 +38,54 @@ export interface ControlTower {
|
|
|
29
38
|
deleteLandingZone(args: DeleteLandingZoneCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLandingZoneCommandOutput>;
|
|
30
39
|
deleteLandingZone(args: DeleteLandingZoneCommandInput, cb: (err: any, data?: DeleteLandingZoneCommandOutput) => void): void;
|
|
31
40
|
deleteLandingZone(args: DeleteLandingZoneCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLandingZoneCommandOutput) => void): void;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link DisableBaselineCommand}
|
|
43
|
+
*/
|
|
44
|
+
disableBaseline(args: DisableBaselineCommandInput, options?: __HttpHandlerOptions): Promise<DisableBaselineCommandOutput>;
|
|
45
|
+
disableBaseline(args: DisableBaselineCommandInput, cb: (err: any, data?: DisableBaselineCommandOutput) => void): void;
|
|
46
|
+
disableBaseline(args: DisableBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableBaselineCommandOutput) => void): void;
|
|
32
47
|
/**
|
|
33
48
|
* @see {@link DisableControlCommand}
|
|
34
49
|
*/
|
|
35
50
|
disableControl(args: DisableControlCommandInput, options?: __HttpHandlerOptions): Promise<DisableControlCommandOutput>;
|
|
36
51
|
disableControl(args: DisableControlCommandInput, cb: (err: any, data?: DisableControlCommandOutput) => void): void;
|
|
37
52
|
disableControl(args: DisableControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableControlCommandOutput) => void): void;
|
|
53
|
+
/**
|
|
54
|
+
* @see {@link EnableBaselineCommand}
|
|
55
|
+
*/
|
|
56
|
+
enableBaseline(args: EnableBaselineCommandInput, options?: __HttpHandlerOptions): Promise<EnableBaselineCommandOutput>;
|
|
57
|
+
enableBaseline(args: EnableBaselineCommandInput, cb: (err: any, data?: EnableBaselineCommandOutput) => void): void;
|
|
58
|
+
enableBaseline(args: EnableBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableBaselineCommandOutput) => void): void;
|
|
38
59
|
/**
|
|
39
60
|
* @see {@link EnableControlCommand}
|
|
40
61
|
*/
|
|
41
62
|
enableControl(args: EnableControlCommandInput, options?: __HttpHandlerOptions): Promise<EnableControlCommandOutput>;
|
|
42
63
|
enableControl(args: EnableControlCommandInput, cb: (err: any, data?: EnableControlCommandOutput) => void): void;
|
|
43
64
|
enableControl(args: EnableControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableControlCommandOutput) => void): void;
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link GetBaselineCommand}
|
|
67
|
+
*/
|
|
68
|
+
getBaseline(args: GetBaselineCommandInput, options?: __HttpHandlerOptions): Promise<GetBaselineCommandOutput>;
|
|
69
|
+
getBaseline(args: GetBaselineCommandInput, cb: (err: any, data?: GetBaselineCommandOutput) => void): void;
|
|
70
|
+
getBaseline(args: GetBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBaselineCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link GetBaselineOperationCommand}
|
|
73
|
+
*/
|
|
74
|
+
getBaselineOperation(args: GetBaselineOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetBaselineOperationCommandOutput>;
|
|
75
|
+
getBaselineOperation(args: GetBaselineOperationCommandInput, cb: (err: any, data?: GetBaselineOperationCommandOutput) => void): void;
|
|
76
|
+
getBaselineOperation(args: GetBaselineOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBaselineOperationCommandOutput) => void): void;
|
|
44
77
|
/**
|
|
45
78
|
* @see {@link GetControlOperationCommand}
|
|
46
79
|
*/
|
|
47
80
|
getControlOperation(args: GetControlOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetControlOperationCommandOutput>;
|
|
48
81
|
getControlOperation(args: GetControlOperationCommandInput, cb: (err: any, data?: GetControlOperationCommandOutput) => void): void;
|
|
49
82
|
getControlOperation(args: GetControlOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetControlOperationCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link GetEnabledBaselineCommand}
|
|
85
|
+
*/
|
|
86
|
+
getEnabledBaseline(args: GetEnabledBaselineCommandInput, options?: __HttpHandlerOptions): Promise<GetEnabledBaselineCommandOutput>;
|
|
87
|
+
getEnabledBaseline(args: GetEnabledBaselineCommandInput, cb: (err: any, data?: GetEnabledBaselineCommandOutput) => void): void;
|
|
88
|
+
getEnabledBaseline(args: GetEnabledBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnabledBaselineCommandOutput) => void): void;
|
|
50
89
|
/**
|
|
51
90
|
* @see {@link GetEnabledControlCommand}
|
|
52
91
|
*/
|
|
@@ -65,6 +104,18 @@ export interface ControlTower {
|
|
|
65
104
|
getLandingZoneOperation(args: GetLandingZoneOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetLandingZoneOperationCommandOutput>;
|
|
66
105
|
getLandingZoneOperation(args: GetLandingZoneOperationCommandInput, cb: (err: any, data?: GetLandingZoneOperationCommandOutput) => void): void;
|
|
67
106
|
getLandingZoneOperation(args: GetLandingZoneOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLandingZoneOperationCommandOutput) => void): void;
|
|
107
|
+
/**
|
|
108
|
+
* @see {@link ListBaselinesCommand}
|
|
109
|
+
*/
|
|
110
|
+
listBaselines(args: ListBaselinesCommandInput, options?: __HttpHandlerOptions): Promise<ListBaselinesCommandOutput>;
|
|
111
|
+
listBaselines(args: ListBaselinesCommandInput, cb: (err: any, data?: ListBaselinesCommandOutput) => void): void;
|
|
112
|
+
listBaselines(args: ListBaselinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBaselinesCommandOutput) => void): void;
|
|
113
|
+
/**
|
|
114
|
+
* @see {@link ListEnabledBaselinesCommand}
|
|
115
|
+
*/
|
|
116
|
+
listEnabledBaselines(args: ListEnabledBaselinesCommandInput, options?: __HttpHandlerOptions): Promise<ListEnabledBaselinesCommandOutput>;
|
|
117
|
+
listEnabledBaselines(args: ListEnabledBaselinesCommandInput, cb: (err: any, data?: ListEnabledBaselinesCommandOutput) => void): void;
|
|
118
|
+
listEnabledBaselines(args: ListEnabledBaselinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnabledBaselinesCommandOutput) => void): void;
|
|
68
119
|
/**
|
|
69
120
|
* @see {@link ListEnabledControlsCommand}
|
|
70
121
|
*/
|
|
@@ -83,6 +134,12 @@ export interface ControlTower {
|
|
|
83
134
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
84
135
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
85
136
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
137
|
+
/**
|
|
138
|
+
* @see {@link ResetEnabledBaselineCommand}
|
|
139
|
+
*/
|
|
140
|
+
resetEnabledBaseline(args: ResetEnabledBaselineCommandInput, options?: __HttpHandlerOptions): Promise<ResetEnabledBaselineCommandOutput>;
|
|
141
|
+
resetEnabledBaseline(args: ResetEnabledBaselineCommandInput, cb: (err: any, data?: ResetEnabledBaselineCommandOutput) => void): void;
|
|
142
|
+
resetEnabledBaseline(args: ResetEnabledBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetEnabledBaselineCommandOutput) => void): void;
|
|
86
143
|
/**
|
|
87
144
|
* @see {@link ResetLandingZoneCommand}
|
|
88
145
|
*/
|
|
@@ -101,6 +158,12 @@ export interface ControlTower {
|
|
|
101
158
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
102
159
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
103
160
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
161
|
+
/**
|
|
162
|
+
* @see {@link UpdateEnabledBaselineCommand}
|
|
163
|
+
*/
|
|
164
|
+
updateEnabledBaseline(args: UpdateEnabledBaselineCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnabledBaselineCommandOutput>;
|
|
165
|
+
updateEnabledBaseline(args: UpdateEnabledBaselineCommandInput, cb: (err: any, data?: UpdateEnabledBaselineCommandOutput) => void): void;
|
|
166
|
+
updateEnabledBaseline(args: UpdateEnabledBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnabledBaselineCommandOutput) => void): void;
|
|
104
167
|
/**
|
|
105
168
|
* @see {@link UpdateEnabledControlCommand}
|
|
106
169
|
*/
|
|
@@ -116,8 +179,8 @@ export interface ControlTower {
|
|
|
116
179
|
}
|
|
117
180
|
/**
|
|
118
181
|
* @public
|
|
119
|
-
* <p>These interfaces allow you to apply the
|
|
120
|
-
* <i>controls</i> to your organizational units, programmatically. In
|
|
182
|
+
* <p>These interfaces allow you to apply the Amazon Web Services library of pre-defined
|
|
183
|
+
* <i>controls</i> to your organizational units, programmatically. In Amazon Web Services Control Tower, the terms "control" and "guardrail" are synonyms.</p>
|
|
121
184
|
* <p>To call these APIs, you'll need to know:</p>
|
|
122
185
|
* <ul>
|
|
123
186
|
* <li>
|