@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-es/ControlTower.js
CHANGED
|
@@ -1,36 +1,54 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { CreateLandingZoneCommand, } from "./commands/CreateLandingZoneCommand";
|
|
3
3
|
import { DeleteLandingZoneCommand, } from "./commands/DeleteLandingZoneCommand";
|
|
4
|
+
import { DisableBaselineCommand, } from "./commands/DisableBaselineCommand";
|
|
4
5
|
import { DisableControlCommand, } from "./commands/DisableControlCommand";
|
|
6
|
+
import { EnableBaselineCommand, } from "./commands/EnableBaselineCommand";
|
|
5
7
|
import { EnableControlCommand, } from "./commands/EnableControlCommand";
|
|
8
|
+
import { GetBaselineCommand } from "./commands/GetBaselineCommand";
|
|
9
|
+
import { GetBaselineOperationCommand, } from "./commands/GetBaselineOperationCommand";
|
|
6
10
|
import { GetControlOperationCommand, } from "./commands/GetControlOperationCommand";
|
|
11
|
+
import { GetEnabledBaselineCommand, } from "./commands/GetEnabledBaselineCommand";
|
|
7
12
|
import { GetEnabledControlCommand, } from "./commands/GetEnabledControlCommand";
|
|
8
13
|
import { GetLandingZoneCommand, } from "./commands/GetLandingZoneCommand";
|
|
9
14
|
import { GetLandingZoneOperationCommand, } from "./commands/GetLandingZoneOperationCommand";
|
|
15
|
+
import { ListBaselinesCommand, } from "./commands/ListBaselinesCommand";
|
|
16
|
+
import { ListEnabledBaselinesCommand, } from "./commands/ListEnabledBaselinesCommand";
|
|
10
17
|
import { ListEnabledControlsCommand, } from "./commands/ListEnabledControlsCommand";
|
|
11
18
|
import { ListLandingZonesCommand, } from "./commands/ListLandingZonesCommand";
|
|
12
19
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
20
|
+
import { ResetEnabledBaselineCommand, } from "./commands/ResetEnabledBaselineCommand";
|
|
13
21
|
import { ResetLandingZoneCommand, } from "./commands/ResetLandingZoneCommand";
|
|
14
22
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
15
23
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
24
|
+
import { UpdateEnabledBaselineCommand, } from "./commands/UpdateEnabledBaselineCommand";
|
|
16
25
|
import { UpdateEnabledControlCommand, } from "./commands/UpdateEnabledControlCommand";
|
|
17
26
|
import { UpdateLandingZoneCommand, } from "./commands/UpdateLandingZoneCommand";
|
|
18
27
|
import { ControlTowerClient } from "./ControlTowerClient";
|
|
19
28
|
const commands = {
|
|
20
29
|
CreateLandingZoneCommand,
|
|
21
30
|
DeleteLandingZoneCommand,
|
|
31
|
+
DisableBaselineCommand,
|
|
22
32
|
DisableControlCommand,
|
|
33
|
+
EnableBaselineCommand,
|
|
23
34
|
EnableControlCommand,
|
|
35
|
+
GetBaselineCommand,
|
|
36
|
+
GetBaselineOperationCommand,
|
|
24
37
|
GetControlOperationCommand,
|
|
38
|
+
GetEnabledBaselineCommand,
|
|
25
39
|
GetEnabledControlCommand,
|
|
26
40
|
GetLandingZoneCommand,
|
|
27
41
|
GetLandingZoneOperationCommand,
|
|
42
|
+
ListBaselinesCommand,
|
|
43
|
+
ListEnabledBaselinesCommand,
|
|
28
44
|
ListEnabledControlsCommand,
|
|
29
45
|
ListLandingZonesCommand,
|
|
30
46
|
ListTagsForResourceCommand,
|
|
47
|
+
ResetEnabledBaselineCommand,
|
|
31
48
|
ResetLandingZoneCommand,
|
|
32
49
|
TagResourceCommand,
|
|
33
50
|
UntagResourceCommand,
|
|
51
|
+
UpdateEnabledBaselineCommand,
|
|
34
52
|
UpdateEnabledControlCommand,
|
|
35
53
|
UpdateLandingZoneCommand,
|
|
36
54
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DisableBaselineCommand, se_DisableBaselineCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisableBaselineCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "DisableBaseline", {})
|
|
19
|
+
.n("ControlTowerClient", "DisableBaselineCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DisableBaselineCommand)
|
|
22
|
+
.de(de_DisableBaselineCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_EnableBaselineCommand, se_EnableBaselineCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class EnableBaselineCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "EnableBaseline", {})
|
|
19
|
+
.n("ControlTowerClient", "EnableBaselineCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_EnableBaselineCommand)
|
|
22
|
+
.de(de_EnableBaselineCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetBaselineCommand, se_GetBaselineCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetBaselineCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "GetBaseline", {})
|
|
19
|
+
.n("ControlTowerClient", "GetBaselineCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetBaselineCommand)
|
|
22
|
+
.de(de_GetBaselineCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetBaselineOperationCommand, se_GetBaselineOperationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetBaselineOperationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "GetBaselineOperation", {})
|
|
19
|
+
.n("ControlTowerClient", "GetBaselineOperationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetBaselineOperationCommand)
|
|
22
|
+
.de(de_GetBaselineOperationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetEnabledBaselineCommand, se_GetEnabledBaselineCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetEnabledBaselineCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "GetEnabledBaseline", {})
|
|
19
|
+
.n("ControlTowerClient", "GetEnabledBaselineCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetEnabledBaselineCommand)
|
|
22
|
+
.de(de_GetEnabledBaselineCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListBaselinesCommand, se_ListBaselinesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListBaselinesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "ListBaselines", {})
|
|
19
|
+
.n("ControlTowerClient", "ListBaselinesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListBaselinesCommand)
|
|
22
|
+
.de(de_ListBaselinesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListEnabledBaselinesCommand, se_ListEnabledBaselinesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListEnabledBaselinesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "ListEnabledBaselines", {})
|
|
19
|
+
.n("ControlTowerClient", "ListEnabledBaselinesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListEnabledBaselinesCommand)
|
|
22
|
+
.de(de_ListEnabledBaselinesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ResetEnabledBaselineCommand, se_ResetEnabledBaselineCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ResetEnabledBaselineCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "ResetEnabledBaseline", {})
|
|
19
|
+
.n("ControlTowerClient", "ResetEnabledBaselineCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ResetEnabledBaselineCommand)
|
|
22
|
+
.de(de_ResetEnabledBaselineCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateEnabledBaselineCommand, se_UpdateEnabledBaselineCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateEnabledBaselineCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSControlTowerApis", "UpdateEnabledBaseline", {})
|
|
19
|
+
.n("ControlTowerClient", "UpdateEnabledBaselineCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateEnabledBaselineCommand)
|
|
22
|
+
.de(de_UpdateEnabledBaselineCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
export * from "./CreateLandingZoneCommand";
|
|
2
2
|
export * from "./DeleteLandingZoneCommand";
|
|
3
|
+
export * from "./DisableBaselineCommand";
|
|
3
4
|
export * from "./DisableControlCommand";
|
|
5
|
+
export * from "./EnableBaselineCommand";
|
|
4
6
|
export * from "./EnableControlCommand";
|
|
7
|
+
export * from "./GetBaselineCommand";
|
|
8
|
+
export * from "./GetBaselineOperationCommand";
|
|
5
9
|
export * from "./GetControlOperationCommand";
|
|
10
|
+
export * from "./GetEnabledBaselineCommand";
|
|
6
11
|
export * from "./GetEnabledControlCommand";
|
|
7
12
|
export * from "./GetLandingZoneCommand";
|
|
8
13
|
export * from "./GetLandingZoneOperationCommand";
|
|
14
|
+
export * from "./ListBaselinesCommand";
|
|
15
|
+
export * from "./ListEnabledBaselinesCommand";
|
|
9
16
|
export * from "./ListEnabledControlsCommand";
|
|
10
17
|
export * from "./ListLandingZonesCommand";
|
|
11
18
|
export * from "./ListTagsForResourceCommand";
|
|
19
|
+
export * from "./ResetEnabledBaselineCommand";
|
|
12
20
|
export * from "./ResetLandingZoneCommand";
|
|
13
21
|
export * from "./TagResourceCommand";
|
|
14
22
|
export * from "./UntagResourceCommand";
|
|
23
|
+
export * from "./UpdateEnabledBaselineCommand";
|
|
15
24
|
export * from "./UpdateEnabledControlCommand";
|
|
16
25
|
export * from "./UpdateLandingZoneCommand";
|
|
@@ -11,18 +11,6 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export class ConflictException extends __BaseException {
|
|
15
|
-
constructor(opts) {
|
|
16
|
-
super({
|
|
17
|
-
name: "ConflictException",
|
|
18
|
-
$fault: "client",
|
|
19
|
-
...opts,
|
|
20
|
-
});
|
|
21
|
-
this.name = "ConflictException";
|
|
22
|
-
this.$fault = "client";
|
|
23
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
14
|
export class InternalServerException extends __BaseException {
|
|
27
15
|
constructor(opts) {
|
|
28
16
|
super({
|
|
@@ -48,18 +36,6 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
48
36
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
49
37
|
}
|
|
50
38
|
}
|
|
51
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
52
|
-
constructor(opts) {
|
|
53
|
-
super({
|
|
54
|
-
name: "ServiceQuotaExceededException",
|
|
55
|
-
$fault: "client",
|
|
56
|
-
...opts,
|
|
57
|
-
});
|
|
58
|
-
this.name = "ServiceQuotaExceededException";
|
|
59
|
-
this.$fault = "client";
|
|
60
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
39
|
export class ThrottlingException extends __BaseException {
|
|
64
40
|
constructor(opts) {
|
|
65
41
|
super({
|
|
@@ -90,6 +66,46 @@ export class ValidationException extends __BaseException {
|
|
|
90
66
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
91
67
|
}
|
|
92
68
|
}
|
|
69
|
+
export class ConflictException extends __BaseException {
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ConflictException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
this.name = "ConflictException";
|
|
77
|
+
this.$fault = "client";
|
|
78
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
82
|
+
constructor(opts) {
|
|
83
|
+
super({
|
|
84
|
+
name: "ServiceQuotaExceededException",
|
|
85
|
+
$fault: "client",
|
|
86
|
+
...opts,
|
|
87
|
+
});
|
|
88
|
+
this.name = "ServiceQuotaExceededException";
|
|
89
|
+
this.$fault = "client";
|
|
90
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
export const BaselineOperationType = {
|
|
94
|
+
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
95
|
+
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
96
|
+
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
97
|
+
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE",
|
|
98
|
+
};
|
|
99
|
+
export const BaselineOperationStatus = {
|
|
100
|
+
FAILED: "FAILED",
|
|
101
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
102
|
+
SUCCEEDED: "SUCCEEDED",
|
|
103
|
+
};
|
|
104
|
+
export const EnablementStatus = {
|
|
105
|
+
FAILED: "FAILED",
|
|
106
|
+
SUCCEEDED: "SUCCEEDED",
|
|
107
|
+
UNDER_CHANGE: "UNDER_CHANGE",
|
|
108
|
+
};
|
|
93
109
|
export const ControlOperationType = {
|
|
94
110
|
DISABLE_CONTROL: "DISABLE_CONTROL",
|
|
95
111
|
ENABLE_CONTROL: "ENABLE_CONTROL",
|
|
@@ -106,11 +122,6 @@ export const DriftStatus = {
|
|
|
106
122
|
NOT_CHECKING: "NOT_CHECKING",
|
|
107
123
|
UNKNOWN: "UNKNOWN",
|
|
108
124
|
};
|
|
109
|
-
export const EnablementStatus = {
|
|
110
|
-
FAILED: "FAILED",
|
|
111
|
-
SUCCEEDED: "SUCCEEDED",
|
|
112
|
-
UNDER_CHANGE: "UNDER_CHANGE",
|
|
113
|
-
};
|
|
114
125
|
export const LandingZoneDriftStatus = {
|
|
115
126
|
DRIFTED: "DRIFTED",
|
|
116
127
|
IN_SYNC: "IN_SYNC",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListBaselinesCommand, } from "../commands/ListBaselinesCommand";
|
|
3
|
+
import { ControlTowerClient } from "../ControlTowerClient";
|
|
4
|
+
export const paginateListBaselines = createPaginator(ControlTowerClient, ListBaselinesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListEnabledBaselinesCommand, } from "../commands/ListEnabledBaselinesCommand";
|
|
3
|
+
import { ControlTowerClient } from "../ControlTowerClient";
|
|
4
|
+
export const paginateListEnabledBaselines = createPaginator(ControlTowerClient, ListEnabledBaselinesCommand, "nextToken", "nextToken", "maxResults");
|