@aws-sdk/client-controltower 3.513.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/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 +573 -42
- package/dist-cjs/pagination/ListBaselinesPaginator.js +1 -0
- package/dist-cjs/pagination/ListEnabledBaselinesPaginator.js +1 -0
- package/dist-es/ControlTower.js +18 -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-types/ControlTower.d.ts +65 -2
- package/dist-types/ControlTowerClient.d.ts +13 -4
- 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/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/ts3.4/ControlTower.d.ts +153 -0
- package/dist-types/ts3.4/ControlTowerClient.d.ts +54 -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/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/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -22,6 +22,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
var src_exports = {};
|
|
23
23
|
__export(src_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
BaselineOperationStatus: () => BaselineOperationStatus,
|
|
26
|
+
BaselineOperationType: () => BaselineOperationType,
|
|
25
27
|
ConflictException: () => ConflictException,
|
|
26
28
|
ControlOperationStatus: () => ControlOperationStatus,
|
|
27
29
|
ControlOperationType: () => ControlOperationType,
|
|
@@ -30,11 +32,16 @@ __export(src_exports, {
|
|
|
30
32
|
ControlTowerServiceException: () => ControlTowerServiceException,
|
|
31
33
|
CreateLandingZoneCommand: () => CreateLandingZoneCommand,
|
|
32
34
|
DeleteLandingZoneCommand: () => DeleteLandingZoneCommand,
|
|
35
|
+
DisableBaselineCommand: () => DisableBaselineCommand,
|
|
33
36
|
DisableControlCommand: () => DisableControlCommand,
|
|
34
37
|
DriftStatus: () => DriftStatus,
|
|
38
|
+
EnableBaselineCommand: () => EnableBaselineCommand,
|
|
35
39
|
EnableControlCommand: () => EnableControlCommand,
|
|
36
40
|
EnablementStatus: () => EnablementStatus,
|
|
41
|
+
GetBaselineCommand: () => GetBaselineCommand,
|
|
42
|
+
GetBaselineOperationCommand: () => GetBaselineOperationCommand,
|
|
37
43
|
GetControlOperationCommand: () => GetControlOperationCommand,
|
|
44
|
+
GetEnabledBaselineCommand: () => GetEnabledBaselineCommand,
|
|
38
45
|
GetEnabledControlCommand: () => GetEnabledControlCommand,
|
|
39
46
|
GetLandingZoneCommand: () => GetLandingZoneCommand,
|
|
40
47
|
GetLandingZoneOperationCommand: () => GetLandingZoneOperationCommand,
|
|
@@ -43,19 +50,25 @@ __export(src_exports, {
|
|
|
43
50
|
LandingZoneOperationStatus: () => LandingZoneOperationStatus,
|
|
44
51
|
LandingZoneOperationType: () => LandingZoneOperationType,
|
|
45
52
|
LandingZoneStatus: () => LandingZoneStatus,
|
|
53
|
+
ListBaselinesCommand: () => ListBaselinesCommand,
|
|
54
|
+
ListEnabledBaselinesCommand: () => ListEnabledBaselinesCommand,
|
|
46
55
|
ListEnabledControlsCommand: () => ListEnabledControlsCommand,
|
|
47
56
|
ListLandingZonesCommand: () => ListLandingZonesCommand,
|
|
48
57
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
58
|
+
ResetEnabledBaselineCommand: () => ResetEnabledBaselineCommand,
|
|
49
59
|
ResetLandingZoneCommand: () => ResetLandingZoneCommand,
|
|
50
60
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
51
61
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
52
62
|
TagResourceCommand: () => TagResourceCommand,
|
|
53
63
|
ThrottlingException: () => ThrottlingException,
|
|
54
64
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
65
|
+
UpdateEnabledBaselineCommand: () => UpdateEnabledBaselineCommand,
|
|
55
66
|
UpdateEnabledControlCommand: () => UpdateEnabledControlCommand,
|
|
56
67
|
UpdateLandingZoneCommand: () => UpdateLandingZoneCommand,
|
|
57
68
|
ValidationException: () => ValidationException,
|
|
58
69
|
__Client: () => import_smithy_client.Client,
|
|
70
|
+
paginateListBaselines: () => paginateListBaselines,
|
|
71
|
+
paginateListEnabledBaselines: () => paginateListEnabledBaselines,
|
|
59
72
|
paginateListEnabledControls: () => paginateListEnabledControls,
|
|
60
73
|
paginateListLandingZones: () => paginateListLandingZones
|
|
61
74
|
});
|
|
@@ -249,23 +262,6 @@ var _AccessDeniedException = class _AccessDeniedException extends ControlTowerSe
|
|
|
249
262
|
};
|
|
250
263
|
__name(_AccessDeniedException, "AccessDeniedException");
|
|
251
264
|
var AccessDeniedException = _AccessDeniedException;
|
|
252
|
-
var _ConflictException = class _ConflictException extends ControlTowerServiceException {
|
|
253
|
-
/**
|
|
254
|
-
* @internal
|
|
255
|
-
*/
|
|
256
|
-
constructor(opts) {
|
|
257
|
-
super({
|
|
258
|
-
name: "ConflictException",
|
|
259
|
-
$fault: "client",
|
|
260
|
-
...opts
|
|
261
|
-
});
|
|
262
|
-
this.name = "ConflictException";
|
|
263
|
-
this.$fault = "client";
|
|
264
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
__name(_ConflictException, "ConflictException");
|
|
268
|
-
var ConflictException = _ConflictException;
|
|
269
265
|
var _InternalServerException = class _InternalServerException extends ControlTowerServiceException {
|
|
270
266
|
/**
|
|
271
267
|
* @internal
|
|
@@ -301,23 +297,6 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Contro
|
|
|
301
297
|
};
|
|
302
298
|
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
303
299
|
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
304
|
-
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ControlTowerServiceException {
|
|
305
|
-
/**
|
|
306
|
-
* @internal
|
|
307
|
-
*/
|
|
308
|
-
constructor(opts) {
|
|
309
|
-
super({
|
|
310
|
-
name: "ServiceQuotaExceededException",
|
|
311
|
-
$fault: "client",
|
|
312
|
-
...opts
|
|
313
|
-
});
|
|
314
|
-
this.name = "ServiceQuotaExceededException";
|
|
315
|
-
this.$fault = "client";
|
|
316
|
-
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
320
|
-
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
321
300
|
var _ThrottlingException = class _ThrottlingException extends ControlTowerServiceException {
|
|
322
301
|
/**
|
|
323
302
|
* @internal
|
|
@@ -358,6 +337,56 @@ var _ValidationException = class _ValidationException extends ControlTowerServic
|
|
|
358
337
|
};
|
|
359
338
|
__name(_ValidationException, "ValidationException");
|
|
360
339
|
var ValidationException = _ValidationException;
|
|
340
|
+
var _ConflictException = class _ConflictException extends ControlTowerServiceException {
|
|
341
|
+
/**
|
|
342
|
+
* @internal
|
|
343
|
+
*/
|
|
344
|
+
constructor(opts) {
|
|
345
|
+
super({
|
|
346
|
+
name: "ConflictException",
|
|
347
|
+
$fault: "client",
|
|
348
|
+
...opts
|
|
349
|
+
});
|
|
350
|
+
this.name = "ConflictException";
|
|
351
|
+
this.$fault = "client";
|
|
352
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
__name(_ConflictException, "ConflictException");
|
|
356
|
+
var ConflictException = _ConflictException;
|
|
357
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ControlTowerServiceException {
|
|
358
|
+
/**
|
|
359
|
+
* @internal
|
|
360
|
+
*/
|
|
361
|
+
constructor(opts) {
|
|
362
|
+
super({
|
|
363
|
+
name: "ServiceQuotaExceededException",
|
|
364
|
+
$fault: "client",
|
|
365
|
+
...opts
|
|
366
|
+
});
|
|
367
|
+
this.name = "ServiceQuotaExceededException";
|
|
368
|
+
this.$fault = "client";
|
|
369
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
373
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
374
|
+
var BaselineOperationType = {
|
|
375
|
+
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
376
|
+
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
377
|
+
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
378
|
+
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE"
|
|
379
|
+
};
|
|
380
|
+
var BaselineOperationStatus = {
|
|
381
|
+
FAILED: "FAILED",
|
|
382
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
383
|
+
SUCCEEDED: "SUCCEEDED"
|
|
384
|
+
};
|
|
385
|
+
var EnablementStatus = {
|
|
386
|
+
FAILED: "FAILED",
|
|
387
|
+
SUCCEEDED: "SUCCEEDED",
|
|
388
|
+
UNDER_CHANGE: "UNDER_CHANGE"
|
|
389
|
+
};
|
|
361
390
|
var ControlOperationType = {
|
|
362
391
|
DISABLE_CONTROL: "DISABLE_CONTROL",
|
|
363
392
|
ENABLE_CONTROL: "ENABLE_CONTROL",
|
|
@@ -374,11 +403,6 @@ var DriftStatus = {
|
|
|
374
403
|
NOT_CHECKING: "NOT_CHECKING",
|
|
375
404
|
UNKNOWN: "UNKNOWN"
|
|
376
405
|
};
|
|
377
|
-
var EnablementStatus = {
|
|
378
|
-
FAILED: "FAILED",
|
|
379
|
-
SUCCEEDED: "SUCCEEDED",
|
|
380
|
-
UNDER_CHANGE: "UNDER_CHANGE"
|
|
381
|
-
};
|
|
382
406
|
var LandingZoneDriftStatus = {
|
|
383
407
|
DRIFTED: "DRIFTED",
|
|
384
408
|
IN_SYNC: "IN_SYNC"
|
|
@@ -433,6 +457,21 @@ var se_DeleteLandingZoneCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
433
457
|
b.m("POST").h(headers).b(body);
|
|
434
458
|
return b.build();
|
|
435
459
|
}, "se_DeleteLandingZoneCommand");
|
|
460
|
+
var se_DisableBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
461
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
462
|
+
const headers = {
|
|
463
|
+
"content-type": "application/json"
|
|
464
|
+
};
|
|
465
|
+
b.bp("/disable-baseline");
|
|
466
|
+
let body;
|
|
467
|
+
body = JSON.stringify(
|
|
468
|
+
(0, import_smithy_client.take)(input, {
|
|
469
|
+
enabledBaselineIdentifier: []
|
|
470
|
+
})
|
|
471
|
+
);
|
|
472
|
+
b.m("POST").h(headers).b(body);
|
|
473
|
+
return b.build();
|
|
474
|
+
}, "se_DisableBaselineCommand");
|
|
436
475
|
var se_DisableControlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
437
476
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
438
477
|
const headers = {
|
|
@@ -449,6 +488,25 @@ var se_DisableControlCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
449
488
|
b.m("POST").h(headers).b(body);
|
|
450
489
|
return b.build();
|
|
451
490
|
}, "se_DisableControlCommand");
|
|
491
|
+
var se_EnableBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
492
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
493
|
+
const headers = {
|
|
494
|
+
"content-type": "application/json"
|
|
495
|
+
};
|
|
496
|
+
b.bp("/enable-baseline");
|
|
497
|
+
let body;
|
|
498
|
+
body = JSON.stringify(
|
|
499
|
+
(0, import_smithy_client.take)(input, {
|
|
500
|
+
baselineIdentifier: [],
|
|
501
|
+
baselineVersion: [],
|
|
502
|
+
parameters: (_) => se_EnabledBaselineParameters(_, context),
|
|
503
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
504
|
+
targetIdentifier: []
|
|
505
|
+
})
|
|
506
|
+
);
|
|
507
|
+
b.m("POST").h(headers).b(body);
|
|
508
|
+
return b.build();
|
|
509
|
+
}, "se_EnableBaselineCommand");
|
|
452
510
|
var se_EnableControlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
453
511
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
454
512
|
const headers = {
|
|
@@ -467,6 +525,36 @@ var se_EnableControlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
467
525
|
b.m("POST").h(headers).b(body);
|
|
468
526
|
return b.build();
|
|
469
527
|
}, "se_EnableControlCommand");
|
|
528
|
+
var se_GetBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
529
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
530
|
+
const headers = {
|
|
531
|
+
"content-type": "application/json"
|
|
532
|
+
};
|
|
533
|
+
b.bp("/get-baseline");
|
|
534
|
+
let body;
|
|
535
|
+
body = JSON.stringify(
|
|
536
|
+
(0, import_smithy_client.take)(input, {
|
|
537
|
+
baselineIdentifier: []
|
|
538
|
+
})
|
|
539
|
+
);
|
|
540
|
+
b.m("POST").h(headers).b(body);
|
|
541
|
+
return b.build();
|
|
542
|
+
}, "se_GetBaselineCommand");
|
|
543
|
+
var se_GetBaselineOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
544
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
545
|
+
const headers = {
|
|
546
|
+
"content-type": "application/json"
|
|
547
|
+
};
|
|
548
|
+
b.bp("/get-baseline-operation");
|
|
549
|
+
let body;
|
|
550
|
+
body = JSON.stringify(
|
|
551
|
+
(0, import_smithy_client.take)(input, {
|
|
552
|
+
operationIdentifier: []
|
|
553
|
+
})
|
|
554
|
+
);
|
|
555
|
+
b.m("POST").h(headers).b(body);
|
|
556
|
+
return b.build();
|
|
557
|
+
}, "se_GetBaselineOperationCommand");
|
|
470
558
|
var se_GetControlOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
471
559
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
472
560
|
const headers = {
|
|
@@ -482,6 +570,21 @@ var se_GetControlOperationCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
482
570
|
b.m("POST").h(headers).b(body);
|
|
483
571
|
return b.build();
|
|
484
572
|
}, "se_GetControlOperationCommand");
|
|
573
|
+
var se_GetEnabledBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
574
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
575
|
+
const headers = {
|
|
576
|
+
"content-type": "application/json"
|
|
577
|
+
};
|
|
578
|
+
b.bp("/get-enabled-baseline");
|
|
579
|
+
let body;
|
|
580
|
+
body = JSON.stringify(
|
|
581
|
+
(0, import_smithy_client.take)(input, {
|
|
582
|
+
enabledBaselineIdentifier: []
|
|
583
|
+
})
|
|
584
|
+
);
|
|
585
|
+
b.m("POST").h(headers).b(body);
|
|
586
|
+
return b.build();
|
|
587
|
+
}, "se_GetEnabledBaselineCommand");
|
|
485
588
|
var se_GetEnabledControlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
486
589
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
487
590
|
const headers = {
|
|
@@ -527,6 +630,39 @@ var se_GetLandingZoneOperationCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
527
630
|
b.m("POST").h(headers).b(body);
|
|
528
631
|
return b.build();
|
|
529
632
|
}, "se_GetLandingZoneOperationCommand");
|
|
633
|
+
var se_ListBaselinesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
634
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
635
|
+
const headers = {
|
|
636
|
+
"content-type": "application/json"
|
|
637
|
+
};
|
|
638
|
+
b.bp("/list-baselines");
|
|
639
|
+
let body;
|
|
640
|
+
body = JSON.stringify(
|
|
641
|
+
(0, import_smithy_client.take)(input, {
|
|
642
|
+
maxResults: [],
|
|
643
|
+
nextToken: []
|
|
644
|
+
})
|
|
645
|
+
);
|
|
646
|
+
b.m("POST").h(headers).b(body);
|
|
647
|
+
return b.build();
|
|
648
|
+
}, "se_ListBaselinesCommand");
|
|
649
|
+
var se_ListEnabledBaselinesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
650
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
651
|
+
const headers = {
|
|
652
|
+
"content-type": "application/json"
|
|
653
|
+
};
|
|
654
|
+
b.bp("/list-enabled-baselines");
|
|
655
|
+
let body;
|
|
656
|
+
body = JSON.stringify(
|
|
657
|
+
(0, import_smithy_client.take)(input, {
|
|
658
|
+
filter: (_) => (0, import_smithy_client._json)(_),
|
|
659
|
+
maxResults: [],
|
|
660
|
+
nextToken: []
|
|
661
|
+
})
|
|
662
|
+
);
|
|
663
|
+
b.m("POST").h(headers).b(body);
|
|
664
|
+
return b.build();
|
|
665
|
+
}, "se_ListEnabledBaselinesCommand");
|
|
530
666
|
var se_ListEnabledControlsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
531
667
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
532
668
|
const headers = {
|
|
@@ -569,6 +705,21 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
569
705
|
b.m("GET").h(headers).b(body);
|
|
570
706
|
return b.build();
|
|
571
707
|
}, "se_ListTagsForResourceCommand");
|
|
708
|
+
var se_ResetEnabledBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
709
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
710
|
+
const headers = {
|
|
711
|
+
"content-type": "application/json"
|
|
712
|
+
};
|
|
713
|
+
b.bp("/reset-enabled-baseline");
|
|
714
|
+
let body;
|
|
715
|
+
body = JSON.stringify(
|
|
716
|
+
(0, import_smithy_client.take)(input, {
|
|
717
|
+
enabledBaselineIdentifier: []
|
|
718
|
+
})
|
|
719
|
+
);
|
|
720
|
+
b.m("POST").h(headers).b(body);
|
|
721
|
+
return b.build();
|
|
722
|
+
}, "se_ResetEnabledBaselineCommand");
|
|
572
723
|
var se_ResetLandingZoneCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
573
724
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
574
725
|
const headers = {
|
|
@@ -615,6 +766,23 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
615
766
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
616
767
|
return b.build();
|
|
617
768
|
}, "se_UntagResourceCommand");
|
|
769
|
+
var se_UpdateEnabledBaselineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
770
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
771
|
+
const headers = {
|
|
772
|
+
"content-type": "application/json"
|
|
773
|
+
};
|
|
774
|
+
b.bp("/update-enabled-baseline");
|
|
775
|
+
let body;
|
|
776
|
+
body = JSON.stringify(
|
|
777
|
+
(0, import_smithy_client.take)(input, {
|
|
778
|
+
baselineVersion: [],
|
|
779
|
+
enabledBaselineIdentifier: [],
|
|
780
|
+
parameters: (_) => se_EnabledBaselineParameters(_, context)
|
|
781
|
+
})
|
|
782
|
+
);
|
|
783
|
+
b.m("POST").h(headers).b(body);
|
|
784
|
+
return b.build();
|
|
785
|
+
}, "se_UpdateEnabledBaselineCommand");
|
|
618
786
|
var se_UpdateEnabledControlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
619
787
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
620
788
|
const headers = {
|
|
@@ -677,6 +845,20 @@ var de_DeleteLandingZoneCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
677
845
|
Object.assign(contents, doc);
|
|
678
846
|
return contents;
|
|
679
847
|
}, "de_DeleteLandingZoneCommand");
|
|
848
|
+
var de_DisableBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
849
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
850
|
+
return de_CommandError(output, context);
|
|
851
|
+
}
|
|
852
|
+
const contents = (0, import_smithy_client.map)({
|
|
853
|
+
$metadata: deserializeMetadata(output)
|
|
854
|
+
});
|
|
855
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
856
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
857
|
+
operationIdentifier: import_smithy_client.expectString
|
|
858
|
+
});
|
|
859
|
+
Object.assign(contents, doc);
|
|
860
|
+
return contents;
|
|
861
|
+
}, "de_DisableBaselineCommand");
|
|
680
862
|
var de_DisableControlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
681
863
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
682
864
|
return de_CommandError(output, context);
|
|
@@ -691,6 +873,21 @@ var de_DisableControlCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
691
873
|
Object.assign(contents, doc);
|
|
692
874
|
return contents;
|
|
693
875
|
}, "de_DisableControlCommand");
|
|
876
|
+
var de_EnableBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
877
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
878
|
+
return de_CommandError(output, context);
|
|
879
|
+
}
|
|
880
|
+
const contents = (0, import_smithy_client.map)({
|
|
881
|
+
$metadata: deserializeMetadata(output)
|
|
882
|
+
});
|
|
883
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
884
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
885
|
+
arn: import_smithy_client.expectString,
|
|
886
|
+
operationIdentifier: import_smithy_client.expectString
|
|
887
|
+
});
|
|
888
|
+
Object.assign(contents, doc);
|
|
889
|
+
return contents;
|
|
890
|
+
}, "de_EnableBaselineCommand");
|
|
694
891
|
var de_EnableControlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
695
892
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
696
893
|
return de_CommandError(output, context);
|
|
@@ -706,6 +903,36 @@ var de_EnableControlCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
706
903
|
Object.assign(contents, doc);
|
|
707
904
|
return contents;
|
|
708
905
|
}, "de_EnableControlCommand");
|
|
906
|
+
var de_GetBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
907
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
908
|
+
return de_CommandError(output, context);
|
|
909
|
+
}
|
|
910
|
+
const contents = (0, import_smithy_client.map)({
|
|
911
|
+
$metadata: deserializeMetadata(output)
|
|
912
|
+
});
|
|
913
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
914
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
915
|
+
arn: import_smithy_client.expectString,
|
|
916
|
+
description: import_smithy_client.expectString,
|
|
917
|
+
name: import_smithy_client.expectString
|
|
918
|
+
});
|
|
919
|
+
Object.assign(contents, doc);
|
|
920
|
+
return contents;
|
|
921
|
+
}, "de_GetBaselineCommand");
|
|
922
|
+
var de_GetBaselineOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
923
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
924
|
+
return de_CommandError(output, context);
|
|
925
|
+
}
|
|
926
|
+
const contents = (0, import_smithy_client.map)({
|
|
927
|
+
$metadata: deserializeMetadata(output)
|
|
928
|
+
});
|
|
929
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
930
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
931
|
+
baselineOperation: (_) => de_BaselineOperation(_, context)
|
|
932
|
+
});
|
|
933
|
+
Object.assign(contents, doc);
|
|
934
|
+
return contents;
|
|
935
|
+
}, "de_GetBaselineOperationCommand");
|
|
709
936
|
var de_GetControlOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
710
937
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
711
938
|
return de_CommandError(output, context);
|
|
@@ -720,6 +947,20 @@ var de_GetControlOperationCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
720
947
|
Object.assign(contents, doc);
|
|
721
948
|
return contents;
|
|
722
949
|
}, "de_GetControlOperationCommand");
|
|
950
|
+
var de_GetEnabledBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
951
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
952
|
+
return de_CommandError(output, context);
|
|
953
|
+
}
|
|
954
|
+
const contents = (0, import_smithy_client.map)({
|
|
955
|
+
$metadata: deserializeMetadata(output)
|
|
956
|
+
});
|
|
957
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
958
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
959
|
+
enabledBaselineDetails: (_) => de_EnabledBaselineDetails(_, context)
|
|
960
|
+
});
|
|
961
|
+
Object.assign(contents, doc);
|
|
962
|
+
return contents;
|
|
963
|
+
}, "de_GetEnabledBaselineCommand");
|
|
723
964
|
var de_GetEnabledControlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
724
965
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
725
966
|
return de_CommandError(output, context);
|
|
@@ -762,6 +1003,36 @@ var de_GetLandingZoneOperationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
762
1003
|
Object.assign(contents, doc);
|
|
763
1004
|
return contents;
|
|
764
1005
|
}, "de_GetLandingZoneOperationCommand");
|
|
1006
|
+
var de_ListBaselinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1007
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1008
|
+
return de_CommandError(output, context);
|
|
1009
|
+
}
|
|
1010
|
+
const contents = (0, import_smithy_client.map)({
|
|
1011
|
+
$metadata: deserializeMetadata(output)
|
|
1012
|
+
});
|
|
1013
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1014
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1015
|
+
baselines: import_smithy_client._json,
|
|
1016
|
+
nextToken: import_smithy_client.expectString
|
|
1017
|
+
});
|
|
1018
|
+
Object.assign(contents, doc);
|
|
1019
|
+
return contents;
|
|
1020
|
+
}, "de_ListBaselinesCommand");
|
|
1021
|
+
var de_ListEnabledBaselinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1022
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1023
|
+
return de_CommandError(output, context);
|
|
1024
|
+
}
|
|
1025
|
+
const contents = (0, import_smithy_client.map)({
|
|
1026
|
+
$metadata: deserializeMetadata(output)
|
|
1027
|
+
});
|
|
1028
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1029
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1030
|
+
enabledBaselines: import_smithy_client._json,
|
|
1031
|
+
nextToken: import_smithy_client.expectString
|
|
1032
|
+
});
|
|
1033
|
+
Object.assign(contents, doc);
|
|
1034
|
+
return contents;
|
|
1035
|
+
}, "de_ListEnabledBaselinesCommand");
|
|
765
1036
|
var de_ListEnabledControlsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
766
1037
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
767
1038
|
return de_CommandError(output, context);
|
|
@@ -806,6 +1077,20 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
806
1077
|
Object.assign(contents, doc);
|
|
807
1078
|
return contents;
|
|
808
1079
|
}, "de_ListTagsForResourceCommand");
|
|
1080
|
+
var de_ResetEnabledBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1081
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1082
|
+
return de_CommandError(output, context);
|
|
1083
|
+
}
|
|
1084
|
+
const contents = (0, import_smithy_client.map)({
|
|
1085
|
+
$metadata: deserializeMetadata(output)
|
|
1086
|
+
});
|
|
1087
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1088
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1089
|
+
operationIdentifier: import_smithy_client.expectString
|
|
1090
|
+
});
|
|
1091
|
+
Object.assign(contents, doc);
|
|
1092
|
+
return contents;
|
|
1093
|
+
}, "de_ResetEnabledBaselineCommand");
|
|
809
1094
|
var de_ResetLandingZoneCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
810
1095
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
811
1096
|
return de_CommandError(output, context);
|
|
@@ -840,6 +1125,20 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
840
1125
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
841
1126
|
return contents;
|
|
842
1127
|
}, "de_UntagResourceCommand");
|
|
1128
|
+
var de_UpdateEnabledBaselineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1129
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1130
|
+
return de_CommandError(output, context);
|
|
1131
|
+
}
|
|
1132
|
+
const contents = (0, import_smithy_client.map)({
|
|
1133
|
+
$metadata: deserializeMetadata(output)
|
|
1134
|
+
});
|
|
1135
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1136
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1137
|
+
operationIdentifier: import_smithy_client.expectString
|
|
1138
|
+
});
|
|
1139
|
+
Object.assign(contents, doc);
|
|
1140
|
+
return contents;
|
|
1141
|
+
}, "de_UpdateEnabledBaselineCommand");
|
|
843
1142
|
var de_UpdateEnabledControlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
844
1143
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
845
1144
|
return de_CommandError(output, context);
|
|
@@ -1001,6 +1300,20 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1001
1300
|
});
|
|
1002
1301
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1003
1302
|
}, "de_ValidationExceptionRes");
|
|
1303
|
+
var se_EnabledBaselineParameter = /* @__PURE__ */ __name((input, context) => {
|
|
1304
|
+
return (0, import_smithy_client.take)(input, {
|
|
1305
|
+
key: [],
|
|
1306
|
+
value: (_) => se_EnabledBaselineParameterDocument(_, context)
|
|
1307
|
+
});
|
|
1308
|
+
}, "se_EnabledBaselineParameter");
|
|
1309
|
+
var se_EnabledBaselineParameterDocument = /* @__PURE__ */ __name((input, context) => {
|
|
1310
|
+
return input;
|
|
1311
|
+
}, "se_EnabledBaselineParameterDocument");
|
|
1312
|
+
var se_EnabledBaselineParameters = /* @__PURE__ */ __name((input, context) => {
|
|
1313
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
1314
|
+
return se_EnabledBaselineParameter(entry, context);
|
|
1315
|
+
});
|
|
1316
|
+
}, "se_EnabledBaselineParameters");
|
|
1004
1317
|
var se_EnabledControlParameter = /* @__PURE__ */ __name((input, context) => {
|
|
1005
1318
|
return (0, import_smithy_client.take)(input, {
|
|
1006
1319
|
key: [],
|
|
@@ -1018,6 +1331,16 @@ var se_Manifest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1018
1331
|
var se_Document = /* @__PURE__ */ __name((input, context) => {
|
|
1019
1332
|
return input;
|
|
1020
1333
|
}, "se_Document");
|
|
1334
|
+
var de_BaselineOperation = /* @__PURE__ */ __name((output, context) => {
|
|
1335
|
+
return (0, import_smithy_client.take)(output, {
|
|
1336
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1337
|
+
operationIdentifier: import_smithy_client.expectString,
|
|
1338
|
+
operationType: import_smithy_client.expectString,
|
|
1339
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1340
|
+
status: import_smithy_client.expectString,
|
|
1341
|
+
statusMessage: import_smithy_client.expectString
|
|
1342
|
+
});
|
|
1343
|
+
}, "de_BaselineOperation");
|
|
1021
1344
|
var de_ControlOperation = /* @__PURE__ */ __name((output, context) => {
|
|
1022
1345
|
return (0, import_smithy_client.take)(output, {
|
|
1023
1346
|
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1027,6 +1350,31 @@ var de_ControlOperation = /* @__PURE__ */ __name((output, context) => {
|
|
|
1027
1350
|
statusMessage: import_smithy_client.expectString
|
|
1028
1351
|
});
|
|
1029
1352
|
}, "de_ControlOperation");
|
|
1353
|
+
var de_EnabledBaselineDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1354
|
+
return (0, import_smithy_client.take)(output, {
|
|
1355
|
+
arn: import_smithy_client.expectString,
|
|
1356
|
+
baselineIdentifier: import_smithy_client.expectString,
|
|
1357
|
+
baselineVersion: import_smithy_client.expectString,
|
|
1358
|
+
parameters: (_) => de_EnabledBaselineParameterSummaries(_, context),
|
|
1359
|
+
statusSummary: import_smithy_client._json,
|
|
1360
|
+
targetIdentifier: import_smithy_client.expectString
|
|
1361
|
+
});
|
|
1362
|
+
}, "de_EnabledBaselineDetails");
|
|
1363
|
+
var de_EnabledBaselineParameterDocument = /* @__PURE__ */ __name((output, context) => {
|
|
1364
|
+
return output;
|
|
1365
|
+
}, "de_EnabledBaselineParameterDocument");
|
|
1366
|
+
var de_EnabledBaselineParameterSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
1367
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1368
|
+
return de_EnabledBaselineParameterSummary(entry, context);
|
|
1369
|
+
});
|
|
1370
|
+
return retVal;
|
|
1371
|
+
}, "de_EnabledBaselineParameterSummaries");
|
|
1372
|
+
var de_EnabledBaselineParameterSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1373
|
+
return (0, import_smithy_client.take)(output, {
|
|
1374
|
+
key: import_smithy_client.expectString,
|
|
1375
|
+
value: (_) => de_EnabledBaselineParameterDocument(_, context)
|
|
1376
|
+
});
|
|
1377
|
+
}, "de_EnabledBaselineParameterSummary");
|
|
1030
1378
|
var de_EnabledControlDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1031
1379
|
return (0, import_smithy_client.take)(output, {
|
|
1032
1380
|
arn: import_smithy_client.expectString,
|
|
@@ -1156,6 +1504,23 @@ var _DeleteLandingZoneCommand = class _DeleteLandingZoneCommand extends import_s
|
|
|
1156
1504
|
__name(_DeleteLandingZoneCommand, "DeleteLandingZoneCommand");
|
|
1157
1505
|
var DeleteLandingZoneCommand = _DeleteLandingZoneCommand;
|
|
1158
1506
|
|
|
1507
|
+
// src/commands/DisableBaselineCommand.ts
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
var _DisableBaselineCommand = class _DisableBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1513
|
+
...commonParams
|
|
1514
|
+
}).m(function(Command, cs, config, o) {
|
|
1515
|
+
return [
|
|
1516
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1517
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1518
|
+
];
|
|
1519
|
+
}).s("AWSControlTowerApis", "DisableBaseline", {}).n("ControlTowerClient", "DisableBaselineCommand").f(void 0, void 0).ser(se_DisableBaselineCommand).de(de_DisableBaselineCommand).build() {
|
|
1520
|
+
};
|
|
1521
|
+
__name(_DisableBaselineCommand, "DisableBaselineCommand");
|
|
1522
|
+
var DisableBaselineCommand = _DisableBaselineCommand;
|
|
1523
|
+
|
|
1159
1524
|
// src/commands/DisableControlCommand.ts
|
|
1160
1525
|
|
|
1161
1526
|
|
|
@@ -1173,6 +1538,23 @@ var _DisableControlCommand = class _DisableControlCommand extends import_smithy_
|
|
|
1173
1538
|
__name(_DisableControlCommand, "DisableControlCommand");
|
|
1174
1539
|
var DisableControlCommand = _DisableControlCommand;
|
|
1175
1540
|
|
|
1541
|
+
// src/commands/EnableBaselineCommand.ts
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
|
|
1545
|
+
|
|
1546
|
+
var _EnableBaselineCommand = class _EnableBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1547
|
+
...commonParams
|
|
1548
|
+
}).m(function(Command, cs, config, o) {
|
|
1549
|
+
return [
|
|
1550
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1551
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1552
|
+
];
|
|
1553
|
+
}).s("AWSControlTowerApis", "EnableBaseline", {}).n("ControlTowerClient", "EnableBaselineCommand").f(void 0, void 0).ser(se_EnableBaselineCommand).de(de_EnableBaselineCommand).build() {
|
|
1554
|
+
};
|
|
1555
|
+
__name(_EnableBaselineCommand, "EnableBaselineCommand");
|
|
1556
|
+
var EnableBaselineCommand = _EnableBaselineCommand;
|
|
1557
|
+
|
|
1176
1558
|
// src/commands/EnableControlCommand.ts
|
|
1177
1559
|
|
|
1178
1560
|
|
|
@@ -1190,6 +1572,40 @@ var _EnableControlCommand = class _EnableControlCommand extends import_smithy_cl
|
|
|
1190
1572
|
__name(_EnableControlCommand, "EnableControlCommand");
|
|
1191
1573
|
var EnableControlCommand = _EnableControlCommand;
|
|
1192
1574
|
|
|
1575
|
+
// src/commands/GetBaselineCommand.ts
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
var _GetBaselineCommand = class _GetBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1581
|
+
...commonParams
|
|
1582
|
+
}).m(function(Command, cs, config, o) {
|
|
1583
|
+
return [
|
|
1584
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1585
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1586
|
+
];
|
|
1587
|
+
}).s("AWSControlTowerApis", "GetBaseline", {}).n("ControlTowerClient", "GetBaselineCommand").f(void 0, void 0).ser(se_GetBaselineCommand).de(de_GetBaselineCommand).build() {
|
|
1588
|
+
};
|
|
1589
|
+
__name(_GetBaselineCommand, "GetBaselineCommand");
|
|
1590
|
+
var GetBaselineCommand = _GetBaselineCommand;
|
|
1591
|
+
|
|
1592
|
+
// src/commands/GetBaselineOperationCommand.ts
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
var _GetBaselineOperationCommand = class _GetBaselineOperationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1598
|
+
...commonParams
|
|
1599
|
+
}).m(function(Command, cs, config, o) {
|
|
1600
|
+
return [
|
|
1601
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1602
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1603
|
+
];
|
|
1604
|
+
}).s("AWSControlTowerApis", "GetBaselineOperation", {}).n("ControlTowerClient", "GetBaselineOperationCommand").f(void 0, void 0).ser(se_GetBaselineOperationCommand).de(de_GetBaselineOperationCommand).build() {
|
|
1605
|
+
};
|
|
1606
|
+
__name(_GetBaselineOperationCommand, "GetBaselineOperationCommand");
|
|
1607
|
+
var GetBaselineOperationCommand = _GetBaselineOperationCommand;
|
|
1608
|
+
|
|
1193
1609
|
// src/commands/GetControlOperationCommand.ts
|
|
1194
1610
|
|
|
1195
1611
|
|
|
@@ -1207,6 +1623,23 @@ var _GetControlOperationCommand = class _GetControlOperationCommand extends impo
|
|
|
1207
1623
|
__name(_GetControlOperationCommand, "GetControlOperationCommand");
|
|
1208
1624
|
var GetControlOperationCommand = _GetControlOperationCommand;
|
|
1209
1625
|
|
|
1626
|
+
// src/commands/GetEnabledBaselineCommand.ts
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
var _GetEnabledBaselineCommand = class _GetEnabledBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1632
|
+
...commonParams
|
|
1633
|
+
}).m(function(Command, cs, config, o) {
|
|
1634
|
+
return [
|
|
1635
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1636
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1637
|
+
];
|
|
1638
|
+
}).s("AWSControlTowerApis", "GetEnabledBaseline", {}).n("ControlTowerClient", "GetEnabledBaselineCommand").f(void 0, void 0).ser(se_GetEnabledBaselineCommand).de(de_GetEnabledBaselineCommand).build() {
|
|
1639
|
+
};
|
|
1640
|
+
__name(_GetEnabledBaselineCommand, "GetEnabledBaselineCommand");
|
|
1641
|
+
var GetEnabledBaselineCommand = _GetEnabledBaselineCommand;
|
|
1642
|
+
|
|
1210
1643
|
// src/commands/GetEnabledControlCommand.ts
|
|
1211
1644
|
|
|
1212
1645
|
|
|
@@ -1258,6 +1691,40 @@ var _GetLandingZoneOperationCommand = class _GetLandingZoneOperationCommand exte
|
|
|
1258
1691
|
__name(_GetLandingZoneOperationCommand, "GetLandingZoneOperationCommand");
|
|
1259
1692
|
var GetLandingZoneOperationCommand = _GetLandingZoneOperationCommand;
|
|
1260
1693
|
|
|
1694
|
+
// src/commands/ListBaselinesCommand.ts
|
|
1695
|
+
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
var _ListBaselinesCommand = class _ListBaselinesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1700
|
+
...commonParams
|
|
1701
|
+
}).m(function(Command, cs, config, o) {
|
|
1702
|
+
return [
|
|
1703
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1704
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1705
|
+
];
|
|
1706
|
+
}).s("AWSControlTowerApis", "ListBaselines", {}).n("ControlTowerClient", "ListBaselinesCommand").f(void 0, void 0).ser(se_ListBaselinesCommand).de(de_ListBaselinesCommand).build() {
|
|
1707
|
+
};
|
|
1708
|
+
__name(_ListBaselinesCommand, "ListBaselinesCommand");
|
|
1709
|
+
var ListBaselinesCommand = _ListBaselinesCommand;
|
|
1710
|
+
|
|
1711
|
+
// src/commands/ListEnabledBaselinesCommand.ts
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
var _ListEnabledBaselinesCommand = class _ListEnabledBaselinesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1717
|
+
...commonParams
|
|
1718
|
+
}).m(function(Command, cs, config, o) {
|
|
1719
|
+
return [
|
|
1720
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1721
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1722
|
+
];
|
|
1723
|
+
}).s("AWSControlTowerApis", "ListEnabledBaselines", {}).n("ControlTowerClient", "ListEnabledBaselinesCommand").f(void 0, void 0).ser(se_ListEnabledBaselinesCommand).de(de_ListEnabledBaselinesCommand).build() {
|
|
1724
|
+
};
|
|
1725
|
+
__name(_ListEnabledBaselinesCommand, "ListEnabledBaselinesCommand");
|
|
1726
|
+
var ListEnabledBaselinesCommand = _ListEnabledBaselinesCommand;
|
|
1727
|
+
|
|
1261
1728
|
// src/commands/ListEnabledControlsCommand.ts
|
|
1262
1729
|
|
|
1263
1730
|
|
|
@@ -1309,6 +1776,23 @@ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends impo
|
|
|
1309
1776
|
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1310
1777
|
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1311
1778
|
|
|
1779
|
+
// src/commands/ResetEnabledBaselineCommand.ts
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
var _ResetEnabledBaselineCommand = class _ResetEnabledBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1785
|
+
...commonParams
|
|
1786
|
+
}).m(function(Command, cs, config, o) {
|
|
1787
|
+
return [
|
|
1788
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1789
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1790
|
+
];
|
|
1791
|
+
}).s("AWSControlTowerApis", "ResetEnabledBaseline", {}).n("ControlTowerClient", "ResetEnabledBaselineCommand").f(void 0, void 0).ser(se_ResetEnabledBaselineCommand).de(de_ResetEnabledBaselineCommand).build() {
|
|
1792
|
+
};
|
|
1793
|
+
__name(_ResetEnabledBaselineCommand, "ResetEnabledBaselineCommand");
|
|
1794
|
+
var ResetEnabledBaselineCommand = _ResetEnabledBaselineCommand;
|
|
1795
|
+
|
|
1312
1796
|
// src/commands/ResetLandingZoneCommand.ts
|
|
1313
1797
|
|
|
1314
1798
|
|
|
@@ -1360,6 +1844,23 @@ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_cl
|
|
|
1360
1844
|
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1361
1845
|
var UntagResourceCommand = _UntagResourceCommand;
|
|
1362
1846
|
|
|
1847
|
+
// src/commands/UpdateEnabledBaselineCommand.ts
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
var _UpdateEnabledBaselineCommand = class _UpdateEnabledBaselineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1853
|
+
...commonParams
|
|
1854
|
+
}).m(function(Command, cs, config, o) {
|
|
1855
|
+
return [
|
|
1856
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1857
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1858
|
+
];
|
|
1859
|
+
}).s("AWSControlTowerApis", "UpdateEnabledBaseline", {}).n("ControlTowerClient", "UpdateEnabledBaselineCommand").f(void 0, void 0).ser(se_UpdateEnabledBaselineCommand).de(de_UpdateEnabledBaselineCommand).build() {
|
|
1860
|
+
};
|
|
1861
|
+
__name(_UpdateEnabledBaselineCommand, "UpdateEnabledBaselineCommand");
|
|
1862
|
+
var UpdateEnabledBaselineCommand = _UpdateEnabledBaselineCommand;
|
|
1863
|
+
|
|
1363
1864
|
// src/commands/UpdateEnabledControlCommand.ts
|
|
1364
1865
|
|
|
1365
1866
|
|
|
@@ -1398,18 +1899,27 @@ var UpdateLandingZoneCommand = _UpdateLandingZoneCommand;
|
|
|
1398
1899
|
var commands = {
|
|
1399
1900
|
CreateLandingZoneCommand,
|
|
1400
1901
|
DeleteLandingZoneCommand,
|
|
1902
|
+
DisableBaselineCommand,
|
|
1401
1903
|
DisableControlCommand,
|
|
1904
|
+
EnableBaselineCommand,
|
|
1402
1905
|
EnableControlCommand,
|
|
1906
|
+
GetBaselineCommand,
|
|
1907
|
+
GetBaselineOperationCommand,
|
|
1403
1908
|
GetControlOperationCommand,
|
|
1909
|
+
GetEnabledBaselineCommand,
|
|
1404
1910
|
GetEnabledControlCommand,
|
|
1405
1911
|
GetLandingZoneCommand,
|
|
1406
1912
|
GetLandingZoneOperationCommand,
|
|
1913
|
+
ListBaselinesCommand,
|
|
1914
|
+
ListEnabledBaselinesCommand,
|
|
1407
1915
|
ListEnabledControlsCommand,
|
|
1408
1916
|
ListLandingZonesCommand,
|
|
1409
1917
|
ListTagsForResourceCommand,
|
|
1918
|
+
ResetEnabledBaselineCommand,
|
|
1410
1919
|
ResetLandingZoneCommand,
|
|
1411
1920
|
TagResourceCommand,
|
|
1412
1921
|
UntagResourceCommand,
|
|
1922
|
+
UpdateEnabledBaselineCommand,
|
|
1413
1923
|
UpdateEnabledControlCommand,
|
|
1414
1924
|
UpdateLandingZoneCommand
|
|
1415
1925
|
};
|
|
@@ -1419,6 +1929,14 @@ __name(_ControlTower, "ControlTower");
|
|
|
1419
1929
|
var ControlTower = _ControlTower;
|
|
1420
1930
|
(0, import_smithy_client.createAggregatedClient)(commands, ControlTower);
|
|
1421
1931
|
|
|
1932
|
+
// src/pagination/ListBaselinesPaginator.ts
|
|
1933
|
+
|
|
1934
|
+
var paginateListBaselines = (0, import_core.createPaginator)(ControlTowerClient, ListBaselinesCommand, "nextToken", "nextToken", "maxResults");
|
|
1935
|
+
|
|
1936
|
+
// src/pagination/ListEnabledBaselinesPaginator.ts
|
|
1937
|
+
|
|
1938
|
+
var paginateListEnabledBaselines = (0, import_core.createPaginator)(ControlTowerClient, ListEnabledBaselinesCommand, "nextToken", "nextToken", "maxResults");
|
|
1939
|
+
|
|
1422
1940
|
// src/pagination/ListEnabledControlsPaginator.ts
|
|
1423
1941
|
|
|
1424
1942
|
var paginateListEnabledControls = (0, import_core.createPaginator)(ControlTowerClient, ListEnabledControlsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1439,33 +1957,46 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
1439
1957
|
$Command,
|
|
1440
1958
|
CreateLandingZoneCommand,
|
|
1441
1959
|
DeleteLandingZoneCommand,
|
|
1960
|
+
DisableBaselineCommand,
|
|
1442
1961
|
DisableControlCommand,
|
|
1962
|
+
EnableBaselineCommand,
|
|
1443
1963
|
EnableControlCommand,
|
|
1964
|
+
GetBaselineCommand,
|
|
1965
|
+
GetBaselineOperationCommand,
|
|
1444
1966
|
GetControlOperationCommand,
|
|
1967
|
+
GetEnabledBaselineCommand,
|
|
1445
1968
|
GetEnabledControlCommand,
|
|
1446
1969
|
GetLandingZoneCommand,
|
|
1447
1970
|
GetLandingZoneOperationCommand,
|
|
1971
|
+
ListBaselinesCommand,
|
|
1972
|
+
ListEnabledBaselinesCommand,
|
|
1448
1973
|
ListEnabledControlsCommand,
|
|
1449
1974
|
ListLandingZonesCommand,
|
|
1450
1975
|
ListTagsForResourceCommand,
|
|
1976
|
+
ResetEnabledBaselineCommand,
|
|
1451
1977
|
ResetLandingZoneCommand,
|
|
1452
1978
|
TagResourceCommand,
|
|
1453
1979
|
UntagResourceCommand,
|
|
1980
|
+
UpdateEnabledBaselineCommand,
|
|
1454
1981
|
UpdateEnabledControlCommand,
|
|
1455
1982
|
UpdateLandingZoneCommand,
|
|
1983
|
+
paginateListBaselines,
|
|
1984
|
+
paginateListEnabledBaselines,
|
|
1456
1985
|
paginateListEnabledControls,
|
|
1457
1986
|
paginateListLandingZones,
|
|
1458
1987
|
AccessDeniedException,
|
|
1459
|
-
ConflictException,
|
|
1460
1988
|
InternalServerException,
|
|
1461
1989
|
ResourceNotFoundException,
|
|
1462
|
-
ServiceQuotaExceededException,
|
|
1463
1990
|
ThrottlingException,
|
|
1464
1991
|
ValidationException,
|
|
1992
|
+
ConflictException,
|
|
1993
|
+
ServiceQuotaExceededException,
|
|
1994
|
+
BaselineOperationType,
|
|
1995
|
+
BaselineOperationStatus,
|
|
1996
|
+
EnablementStatus,
|
|
1465
1997
|
ControlOperationType,
|
|
1466
1998
|
ControlOperationStatus,
|
|
1467
1999
|
DriftStatus,
|
|
1468
|
-
EnablementStatus,
|
|
1469
2000
|
LandingZoneDriftStatus,
|
|
1470
2001
|
LandingZoneStatus,
|
|
1471
2002
|
LandingZoneOperationType,
|