@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
|
@@ -8,17 +8,13 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
readonly $fault: "client";
|
|
14
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
15
|
-
}
|
|
16
|
-
export interface DisableControlInput {
|
|
17
|
-
controlIdentifier: string | undefined;
|
|
18
|
-
targetIdentifier: string | undefined;
|
|
11
|
+
export interface GetBaselineInput {
|
|
12
|
+
baselineIdentifier: string | undefined;
|
|
19
13
|
}
|
|
20
|
-
export interface
|
|
21
|
-
|
|
14
|
+
export interface GetBaselineOutput {
|
|
15
|
+
arn: string | undefined;
|
|
16
|
+
name: string | undefined;
|
|
17
|
+
description?: string;
|
|
22
18
|
}
|
|
23
19
|
export declare class InternalServerException extends __BaseException {
|
|
24
20
|
readonly name: "InternalServerException";
|
|
@@ -35,13 +31,6 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
35
31
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
36
32
|
);
|
|
37
33
|
}
|
|
38
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
39
|
-
readonly name: "ServiceQuotaExceededException";
|
|
40
|
-
readonly $fault: "client";
|
|
41
|
-
constructor(
|
|
42
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
34
|
export declare class ThrottlingException extends __BaseException {
|
|
46
35
|
readonly name: "ThrottlingException";
|
|
47
36
|
readonly $fault: "client";
|
|
@@ -62,6 +51,38 @@ export declare class ValidationException extends __BaseException {
|
|
|
62
51
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
63
52
|
);
|
|
64
53
|
}
|
|
54
|
+
export interface ListBaselinesInput {
|
|
55
|
+
nextToken?: string;
|
|
56
|
+
maxResults?: number;
|
|
57
|
+
}
|
|
58
|
+
export interface BaselineSummary {
|
|
59
|
+
arn: string | undefined;
|
|
60
|
+
name: string | undefined;
|
|
61
|
+
description?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface ListBaselinesOutput {
|
|
64
|
+
baselines: BaselineSummary[] | undefined;
|
|
65
|
+
nextToken?: string;
|
|
66
|
+
}
|
|
67
|
+
export declare class ConflictException extends __BaseException {
|
|
68
|
+
readonly name: "ConflictException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
71
|
+
}
|
|
72
|
+
export interface DisableControlInput {
|
|
73
|
+
controlIdentifier: string | undefined;
|
|
74
|
+
targetIdentifier: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface DisableControlOutput {
|
|
77
|
+
operationIdentifier: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
80
|
+
readonly name: "ServiceQuotaExceededException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
constructor(
|
|
83
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
65
86
|
export interface EnabledControlParameter {
|
|
66
87
|
key: string | undefined;
|
|
67
88
|
value: __DocumentType | undefined;
|
|
@@ -76,6 +97,119 @@ export interface EnableControlOutput {
|
|
|
76
97
|
operationIdentifier: string | undefined;
|
|
77
98
|
arn?: string;
|
|
78
99
|
}
|
|
100
|
+
export interface DisableBaselineInput {
|
|
101
|
+
enabledBaselineIdentifier: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
export interface DisableBaselineOutput {
|
|
104
|
+
operationIdentifier: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface EnabledBaselineParameter {
|
|
107
|
+
key: string | undefined;
|
|
108
|
+
value: __DocumentType | undefined;
|
|
109
|
+
}
|
|
110
|
+
export interface EnableBaselineInput {
|
|
111
|
+
baselineVersion: string | undefined;
|
|
112
|
+
parameters?: EnabledBaselineParameter[];
|
|
113
|
+
baselineIdentifier: string | undefined;
|
|
114
|
+
targetIdentifier: string | undefined;
|
|
115
|
+
tags?: Record<string, string>;
|
|
116
|
+
}
|
|
117
|
+
export interface EnableBaselineOutput {
|
|
118
|
+
operationIdentifier: string | undefined;
|
|
119
|
+
arn: string | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface GetBaselineOperationInput {
|
|
122
|
+
operationIdentifier: string | undefined;
|
|
123
|
+
}
|
|
124
|
+
export declare const BaselineOperationType: {
|
|
125
|
+
readonly DISABLE_BASELINE: "DISABLE_BASELINE";
|
|
126
|
+
readonly ENABLE_BASELINE: "ENABLE_BASELINE";
|
|
127
|
+
readonly RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE";
|
|
128
|
+
readonly UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE";
|
|
129
|
+
};
|
|
130
|
+
export type BaselineOperationType =
|
|
131
|
+
(typeof BaselineOperationType)[keyof typeof BaselineOperationType];
|
|
132
|
+
export declare const BaselineOperationStatus: {
|
|
133
|
+
readonly FAILED: "FAILED";
|
|
134
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
135
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
136
|
+
};
|
|
137
|
+
export type BaselineOperationStatus =
|
|
138
|
+
(typeof BaselineOperationStatus)[keyof typeof BaselineOperationStatus];
|
|
139
|
+
export interface BaselineOperation {
|
|
140
|
+
operationIdentifier?: string;
|
|
141
|
+
operationType?: BaselineOperationType;
|
|
142
|
+
status?: BaselineOperationStatus;
|
|
143
|
+
startTime?: Date;
|
|
144
|
+
endTime?: Date;
|
|
145
|
+
statusMessage?: string;
|
|
146
|
+
}
|
|
147
|
+
export interface GetBaselineOperationOutput {
|
|
148
|
+
baselineOperation: BaselineOperation | undefined;
|
|
149
|
+
}
|
|
150
|
+
export interface GetEnabledBaselineInput {
|
|
151
|
+
enabledBaselineIdentifier: string | undefined;
|
|
152
|
+
}
|
|
153
|
+
export interface EnabledBaselineParameterSummary {
|
|
154
|
+
key: string | undefined;
|
|
155
|
+
value: __DocumentType | undefined;
|
|
156
|
+
}
|
|
157
|
+
export declare const EnablementStatus: {
|
|
158
|
+
readonly FAILED: "FAILED";
|
|
159
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
160
|
+
readonly UNDER_CHANGE: "UNDER_CHANGE";
|
|
161
|
+
};
|
|
162
|
+
export type EnablementStatus =
|
|
163
|
+
(typeof EnablementStatus)[keyof typeof EnablementStatus];
|
|
164
|
+
export interface EnablementStatusSummary {
|
|
165
|
+
status?: EnablementStatus;
|
|
166
|
+
lastOperationIdentifier?: string;
|
|
167
|
+
}
|
|
168
|
+
export interface EnabledBaselineDetails {
|
|
169
|
+
arn: string | undefined;
|
|
170
|
+
baselineIdentifier: string | undefined;
|
|
171
|
+
baselineVersion?: string;
|
|
172
|
+
targetIdentifier: string | undefined;
|
|
173
|
+
statusSummary: EnablementStatusSummary | undefined;
|
|
174
|
+
parameters?: EnabledBaselineParameterSummary[];
|
|
175
|
+
}
|
|
176
|
+
export interface GetEnabledBaselineOutput {
|
|
177
|
+
enabledBaselineDetails?: EnabledBaselineDetails;
|
|
178
|
+
}
|
|
179
|
+
export interface EnabledBaselineFilter {
|
|
180
|
+
targetIdentifiers?: string[];
|
|
181
|
+
baselineIdentifiers?: string[];
|
|
182
|
+
}
|
|
183
|
+
export interface ListEnabledBaselinesInput {
|
|
184
|
+
filter?: EnabledBaselineFilter;
|
|
185
|
+
nextToken?: string;
|
|
186
|
+
maxResults?: number;
|
|
187
|
+
}
|
|
188
|
+
export interface EnabledBaselineSummary {
|
|
189
|
+
arn: string | undefined;
|
|
190
|
+
baselineIdentifier: string | undefined;
|
|
191
|
+
baselineVersion?: string;
|
|
192
|
+
targetIdentifier: string | undefined;
|
|
193
|
+
statusSummary: EnablementStatusSummary | undefined;
|
|
194
|
+
}
|
|
195
|
+
export interface ListEnabledBaselinesOutput {
|
|
196
|
+
enabledBaselines: EnabledBaselineSummary[] | undefined;
|
|
197
|
+
nextToken?: string;
|
|
198
|
+
}
|
|
199
|
+
export interface ResetEnabledBaselineInput {
|
|
200
|
+
enabledBaselineIdentifier: string | undefined;
|
|
201
|
+
}
|
|
202
|
+
export interface ResetEnabledBaselineOutput {
|
|
203
|
+
operationIdentifier: string | undefined;
|
|
204
|
+
}
|
|
205
|
+
export interface UpdateEnabledBaselineInput {
|
|
206
|
+
baselineVersion: string | undefined;
|
|
207
|
+
parameters?: EnabledBaselineParameter[];
|
|
208
|
+
enabledBaselineIdentifier: string | undefined;
|
|
209
|
+
}
|
|
210
|
+
export interface UpdateEnabledBaselineOutput {
|
|
211
|
+
operationIdentifier: string | undefined;
|
|
212
|
+
}
|
|
79
213
|
export interface GetControlOperationInput {
|
|
80
214
|
operationIdentifier: string | undefined;
|
|
81
215
|
}
|
|
@@ -120,17 +254,6 @@ export interface EnabledControlParameterSummary {
|
|
|
120
254
|
key: string | undefined;
|
|
121
255
|
value: __DocumentType | undefined;
|
|
122
256
|
}
|
|
123
|
-
export declare const EnablementStatus: {
|
|
124
|
-
readonly FAILED: "FAILED";
|
|
125
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
126
|
-
readonly UNDER_CHANGE: "UNDER_CHANGE";
|
|
127
|
-
};
|
|
128
|
-
export type EnablementStatus =
|
|
129
|
-
(typeof EnablementStatus)[keyof typeof EnablementStatus];
|
|
130
|
-
export interface EnablementStatusSummary {
|
|
131
|
-
status?: EnablementStatus;
|
|
132
|
-
lastOperationIdentifier?: string;
|
|
133
|
-
}
|
|
134
257
|
export interface Region {
|
|
135
258
|
name?: string;
|
|
136
259
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListBaselinesCommandInput,
|
|
4
|
+
ListBaselinesCommandOutput,
|
|
5
|
+
} from "../commands/ListBaselinesCommand";
|
|
6
|
+
import { ControlTowerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListBaselines: (
|
|
8
|
+
config: ControlTowerPaginationConfiguration,
|
|
9
|
+
input: ListBaselinesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListBaselinesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListEnabledBaselinesCommandInput,
|
|
4
|
+
ListEnabledBaselinesCommandOutput,
|
|
5
|
+
} from "../commands/ListEnabledBaselinesCommand";
|
|
6
|
+
import { ControlTowerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListEnabledBaselines: (
|
|
8
|
+
config: ControlTowerPaginationConfiguration,
|
|
9
|
+
input: ListEnabledBaselinesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEnabledBaselinesCommandOutput>;
|
|
@@ -11,18 +11,38 @@ import {
|
|
|
11
11
|
DeleteLandingZoneCommandInput,
|
|
12
12
|
DeleteLandingZoneCommandOutput,
|
|
13
13
|
} from "../commands/DeleteLandingZoneCommand";
|
|
14
|
+
import {
|
|
15
|
+
DisableBaselineCommandInput,
|
|
16
|
+
DisableBaselineCommandOutput,
|
|
17
|
+
} from "../commands/DisableBaselineCommand";
|
|
14
18
|
import {
|
|
15
19
|
DisableControlCommandInput,
|
|
16
20
|
DisableControlCommandOutput,
|
|
17
21
|
} from "../commands/DisableControlCommand";
|
|
22
|
+
import {
|
|
23
|
+
EnableBaselineCommandInput,
|
|
24
|
+
EnableBaselineCommandOutput,
|
|
25
|
+
} from "../commands/EnableBaselineCommand";
|
|
18
26
|
import {
|
|
19
27
|
EnableControlCommandInput,
|
|
20
28
|
EnableControlCommandOutput,
|
|
21
29
|
} from "../commands/EnableControlCommand";
|
|
30
|
+
import {
|
|
31
|
+
GetBaselineCommandInput,
|
|
32
|
+
GetBaselineCommandOutput,
|
|
33
|
+
} from "../commands/GetBaselineCommand";
|
|
34
|
+
import {
|
|
35
|
+
GetBaselineOperationCommandInput,
|
|
36
|
+
GetBaselineOperationCommandOutput,
|
|
37
|
+
} from "../commands/GetBaselineOperationCommand";
|
|
22
38
|
import {
|
|
23
39
|
GetControlOperationCommandInput,
|
|
24
40
|
GetControlOperationCommandOutput,
|
|
25
41
|
} from "../commands/GetControlOperationCommand";
|
|
42
|
+
import {
|
|
43
|
+
GetEnabledBaselineCommandInput,
|
|
44
|
+
GetEnabledBaselineCommandOutput,
|
|
45
|
+
} from "../commands/GetEnabledBaselineCommand";
|
|
26
46
|
import {
|
|
27
47
|
GetEnabledControlCommandInput,
|
|
28
48
|
GetEnabledControlCommandOutput,
|
|
@@ -35,6 +55,14 @@ import {
|
|
|
35
55
|
GetLandingZoneOperationCommandInput,
|
|
36
56
|
GetLandingZoneOperationCommandOutput,
|
|
37
57
|
} from "../commands/GetLandingZoneOperationCommand";
|
|
58
|
+
import {
|
|
59
|
+
ListBaselinesCommandInput,
|
|
60
|
+
ListBaselinesCommandOutput,
|
|
61
|
+
} from "../commands/ListBaselinesCommand";
|
|
62
|
+
import {
|
|
63
|
+
ListEnabledBaselinesCommandInput,
|
|
64
|
+
ListEnabledBaselinesCommandOutput,
|
|
65
|
+
} from "../commands/ListEnabledBaselinesCommand";
|
|
38
66
|
import {
|
|
39
67
|
ListEnabledControlsCommandInput,
|
|
40
68
|
ListEnabledControlsCommandOutput,
|
|
@@ -47,6 +75,10 @@ import {
|
|
|
47
75
|
ListTagsForResourceCommandInput,
|
|
48
76
|
ListTagsForResourceCommandOutput,
|
|
49
77
|
} from "../commands/ListTagsForResourceCommand";
|
|
78
|
+
import {
|
|
79
|
+
ResetEnabledBaselineCommandInput,
|
|
80
|
+
ResetEnabledBaselineCommandOutput,
|
|
81
|
+
} from "../commands/ResetEnabledBaselineCommand";
|
|
50
82
|
import {
|
|
51
83
|
ResetLandingZoneCommandInput,
|
|
52
84
|
ResetLandingZoneCommandOutput,
|
|
@@ -59,6 +91,10 @@ import {
|
|
|
59
91
|
UntagResourceCommandInput,
|
|
60
92
|
UntagResourceCommandOutput,
|
|
61
93
|
} from "../commands/UntagResourceCommand";
|
|
94
|
+
import {
|
|
95
|
+
UpdateEnabledBaselineCommandInput,
|
|
96
|
+
UpdateEnabledBaselineCommandOutput,
|
|
97
|
+
} from "../commands/UpdateEnabledBaselineCommand";
|
|
62
98
|
import {
|
|
63
99
|
UpdateEnabledControlCommandInput,
|
|
64
100
|
UpdateEnabledControlCommandOutput,
|
|
@@ -75,18 +111,38 @@ export declare const se_DeleteLandingZoneCommand: (
|
|
|
75
111
|
input: DeleteLandingZoneCommandInput,
|
|
76
112
|
context: __SerdeContext
|
|
77
113
|
) => Promise<__HttpRequest>;
|
|
114
|
+
export declare const se_DisableBaselineCommand: (
|
|
115
|
+
input: DisableBaselineCommandInput,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<__HttpRequest>;
|
|
78
118
|
export declare const se_DisableControlCommand: (
|
|
79
119
|
input: DisableControlCommandInput,
|
|
80
120
|
context: __SerdeContext
|
|
81
121
|
) => Promise<__HttpRequest>;
|
|
122
|
+
export declare const se_EnableBaselineCommand: (
|
|
123
|
+
input: EnableBaselineCommandInput,
|
|
124
|
+
context: __SerdeContext
|
|
125
|
+
) => Promise<__HttpRequest>;
|
|
82
126
|
export declare const se_EnableControlCommand: (
|
|
83
127
|
input: EnableControlCommandInput,
|
|
84
128
|
context: __SerdeContext
|
|
85
129
|
) => Promise<__HttpRequest>;
|
|
130
|
+
export declare const se_GetBaselineCommand: (
|
|
131
|
+
input: GetBaselineCommandInput,
|
|
132
|
+
context: __SerdeContext
|
|
133
|
+
) => Promise<__HttpRequest>;
|
|
134
|
+
export declare const se_GetBaselineOperationCommand: (
|
|
135
|
+
input: GetBaselineOperationCommandInput,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<__HttpRequest>;
|
|
86
138
|
export declare const se_GetControlOperationCommand: (
|
|
87
139
|
input: GetControlOperationCommandInput,
|
|
88
140
|
context: __SerdeContext
|
|
89
141
|
) => Promise<__HttpRequest>;
|
|
142
|
+
export declare const se_GetEnabledBaselineCommand: (
|
|
143
|
+
input: GetEnabledBaselineCommandInput,
|
|
144
|
+
context: __SerdeContext
|
|
145
|
+
) => Promise<__HttpRequest>;
|
|
90
146
|
export declare const se_GetEnabledControlCommand: (
|
|
91
147
|
input: GetEnabledControlCommandInput,
|
|
92
148
|
context: __SerdeContext
|
|
@@ -99,6 +155,14 @@ export declare const se_GetLandingZoneOperationCommand: (
|
|
|
99
155
|
input: GetLandingZoneOperationCommandInput,
|
|
100
156
|
context: __SerdeContext
|
|
101
157
|
) => Promise<__HttpRequest>;
|
|
158
|
+
export declare const se_ListBaselinesCommand: (
|
|
159
|
+
input: ListBaselinesCommandInput,
|
|
160
|
+
context: __SerdeContext
|
|
161
|
+
) => Promise<__HttpRequest>;
|
|
162
|
+
export declare const se_ListEnabledBaselinesCommand: (
|
|
163
|
+
input: ListEnabledBaselinesCommandInput,
|
|
164
|
+
context: __SerdeContext
|
|
165
|
+
) => Promise<__HttpRequest>;
|
|
102
166
|
export declare const se_ListEnabledControlsCommand: (
|
|
103
167
|
input: ListEnabledControlsCommandInput,
|
|
104
168
|
context: __SerdeContext
|
|
@@ -111,6 +175,10 @@ export declare const se_ListTagsForResourceCommand: (
|
|
|
111
175
|
input: ListTagsForResourceCommandInput,
|
|
112
176
|
context: __SerdeContext
|
|
113
177
|
) => Promise<__HttpRequest>;
|
|
178
|
+
export declare const se_ResetEnabledBaselineCommand: (
|
|
179
|
+
input: ResetEnabledBaselineCommandInput,
|
|
180
|
+
context: __SerdeContext
|
|
181
|
+
) => Promise<__HttpRequest>;
|
|
114
182
|
export declare const se_ResetLandingZoneCommand: (
|
|
115
183
|
input: ResetLandingZoneCommandInput,
|
|
116
184
|
context: __SerdeContext
|
|
@@ -123,6 +191,10 @@ export declare const se_UntagResourceCommand: (
|
|
|
123
191
|
input: UntagResourceCommandInput,
|
|
124
192
|
context: __SerdeContext
|
|
125
193
|
) => Promise<__HttpRequest>;
|
|
194
|
+
export declare const se_UpdateEnabledBaselineCommand: (
|
|
195
|
+
input: UpdateEnabledBaselineCommandInput,
|
|
196
|
+
context: __SerdeContext
|
|
197
|
+
) => Promise<__HttpRequest>;
|
|
126
198
|
export declare const se_UpdateEnabledControlCommand: (
|
|
127
199
|
input: UpdateEnabledControlCommandInput,
|
|
128
200
|
context: __SerdeContext
|
|
@@ -139,18 +211,38 @@ export declare const de_DeleteLandingZoneCommand: (
|
|
|
139
211
|
output: __HttpResponse,
|
|
140
212
|
context: __SerdeContext
|
|
141
213
|
) => Promise<DeleteLandingZoneCommandOutput>;
|
|
214
|
+
export declare const de_DisableBaselineCommand: (
|
|
215
|
+
output: __HttpResponse,
|
|
216
|
+
context: __SerdeContext
|
|
217
|
+
) => Promise<DisableBaselineCommandOutput>;
|
|
142
218
|
export declare const de_DisableControlCommand: (
|
|
143
219
|
output: __HttpResponse,
|
|
144
220
|
context: __SerdeContext
|
|
145
221
|
) => Promise<DisableControlCommandOutput>;
|
|
222
|
+
export declare const de_EnableBaselineCommand: (
|
|
223
|
+
output: __HttpResponse,
|
|
224
|
+
context: __SerdeContext
|
|
225
|
+
) => Promise<EnableBaselineCommandOutput>;
|
|
146
226
|
export declare const de_EnableControlCommand: (
|
|
147
227
|
output: __HttpResponse,
|
|
148
228
|
context: __SerdeContext
|
|
149
229
|
) => Promise<EnableControlCommandOutput>;
|
|
230
|
+
export declare const de_GetBaselineCommand: (
|
|
231
|
+
output: __HttpResponse,
|
|
232
|
+
context: __SerdeContext
|
|
233
|
+
) => Promise<GetBaselineCommandOutput>;
|
|
234
|
+
export declare const de_GetBaselineOperationCommand: (
|
|
235
|
+
output: __HttpResponse,
|
|
236
|
+
context: __SerdeContext
|
|
237
|
+
) => Promise<GetBaselineOperationCommandOutput>;
|
|
150
238
|
export declare const de_GetControlOperationCommand: (
|
|
151
239
|
output: __HttpResponse,
|
|
152
240
|
context: __SerdeContext
|
|
153
241
|
) => Promise<GetControlOperationCommandOutput>;
|
|
242
|
+
export declare const de_GetEnabledBaselineCommand: (
|
|
243
|
+
output: __HttpResponse,
|
|
244
|
+
context: __SerdeContext
|
|
245
|
+
) => Promise<GetEnabledBaselineCommandOutput>;
|
|
154
246
|
export declare const de_GetEnabledControlCommand: (
|
|
155
247
|
output: __HttpResponse,
|
|
156
248
|
context: __SerdeContext
|
|
@@ -163,6 +255,14 @@ export declare const de_GetLandingZoneOperationCommand: (
|
|
|
163
255
|
output: __HttpResponse,
|
|
164
256
|
context: __SerdeContext
|
|
165
257
|
) => Promise<GetLandingZoneOperationCommandOutput>;
|
|
258
|
+
export declare const de_ListBaselinesCommand: (
|
|
259
|
+
output: __HttpResponse,
|
|
260
|
+
context: __SerdeContext
|
|
261
|
+
) => Promise<ListBaselinesCommandOutput>;
|
|
262
|
+
export declare const de_ListEnabledBaselinesCommand: (
|
|
263
|
+
output: __HttpResponse,
|
|
264
|
+
context: __SerdeContext
|
|
265
|
+
) => Promise<ListEnabledBaselinesCommandOutput>;
|
|
166
266
|
export declare const de_ListEnabledControlsCommand: (
|
|
167
267
|
output: __HttpResponse,
|
|
168
268
|
context: __SerdeContext
|
|
@@ -175,6 +275,10 @@ export declare const de_ListTagsForResourceCommand: (
|
|
|
175
275
|
output: __HttpResponse,
|
|
176
276
|
context: __SerdeContext
|
|
177
277
|
) => Promise<ListTagsForResourceCommandOutput>;
|
|
278
|
+
export declare const de_ResetEnabledBaselineCommand: (
|
|
279
|
+
output: __HttpResponse,
|
|
280
|
+
context: __SerdeContext
|
|
281
|
+
) => Promise<ResetEnabledBaselineCommandOutput>;
|
|
178
282
|
export declare const de_ResetLandingZoneCommand: (
|
|
179
283
|
output: __HttpResponse,
|
|
180
284
|
context: __SerdeContext
|
|
@@ -187,6 +291,10 @@ export declare const de_UntagResourceCommand: (
|
|
|
187
291
|
output: __HttpResponse,
|
|
188
292
|
context: __SerdeContext
|
|
189
293
|
) => Promise<UntagResourceCommandOutput>;
|
|
294
|
+
export declare const de_UpdateEnabledBaselineCommand: (
|
|
295
|
+
output: __HttpResponse,
|
|
296
|
+
context: __SerdeContext
|
|
297
|
+
) => Promise<UpdateEnabledBaselineCommandOutput>;
|
|
190
298
|
export declare const de_UpdateEnabledControlCommand: (
|
|
191
299
|
output: __HttpResponse,
|
|
192
300
|
context: __SerdeContext
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@smithy/types").
|
|
11
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
12
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
13
13
|
import("@smithy/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -72,11 +72,12 @@ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
|
|
|
72
72
|
| import("@smithy/types").RetryStrategy
|
|
73
73
|
| import("@smithy/types").RetryStrategyV2
|
|
74
74
|
| undefined;
|
|
75
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
76
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
77
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ControlTowerHttpAuthSchemeProvider;
|
|
75
78
|
credentials?:
|
|
76
79
|
| import("@smithy/types").AwsCredentialIdentity
|
|
77
|
-
| import("@smithy/types").
|
|
78
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
79
|
-
>
|
|
80
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
80
81
|
| undefined;
|
|
81
82
|
signer?:
|
|
82
83
|
| import("@smithy/types").RequestSigner
|
|
@@ -93,5 +94,4 @@ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
|
|
|
93
94
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
95
|
) => import("@smithy/types").RequestSigner)
|
|
95
96
|
| undefined;
|
|
96
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
97
97
|
};
|
|
@@ -76,11 +76,12 @@ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
|
|
|
76
76
|
| import("@smithy/types").RetryStrategy
|
|
77
77
|
| import("@smithy/types").RetryStrategyV2
|
|
78
78
|
| undefined;
|
|
79
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
80
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
81
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ControlTowerHttpAuthSchemeProvider;
|
|
79
82
|
credentials?:
|
|
80
83
|
| import("@smithy/types").AwsCredentialIdentity
|
|
81
|
-
| import("@smithy/types").
|
|
82
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
83
|
-
>
|
|
84
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
84
85
|
| undefined;
|
|
85
86
|
signer?:
|
|
86
87
|
| import("@smithy/types").RequestSigner
|
|
@@ -97,5 +98,4 @@ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
|
|
|
97
98
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
98
99
|
) => import("@smithy/types").RequestSigner)
|
|
99
100
|
| undefined;
|
|
100
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
101
101
|
};
|
|
@@ -29,13 +29,13 @@ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
|
|
|
29
29
|
serviceId: string;
|
|
30
30
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
31
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
33
|
-
credentialDefaultProvider: (
|
|
34
|
-
input: any
|
|
35
|
-
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
36
32
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
37
33
|
import("@smithy/types").UserAgent
|
|
38
34
|
>;
|
|
35
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
36
|
+
credentialDefaultProvider: (
|
|
37
|
+
input: any
|
|
38
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
39
39
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
40
40
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
41
41
|
logger: import("@smithy/types").Logger;
|
|
@@ -63,11 +63,12 @@ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
|
|
|
63
63
|
| import("@smithy/types").RetryStrategy
|
|
64
64
|
| import("@smithy/types").RetryStrategyV2
|
|
65
65
|
| undefined;
|
|
66
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
67
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
68
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ControlTowerHttpAuthSchemeProvider;
|
|
66
69
|
credentials?:
|
|
67
70
|
| import("@smithy/types").AwsCredentialIdentity
|
|
68
|
-
| import("@smithy/types").
|
|
69
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
70
|
-
>
|
|
71
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
71
72
|
| undefined;
|
|
72
73
|
signer?:
|
|
73
74
|
| import("@smithy/types").RequestSigner
|
|
@@ -84,5 +85,4 @@ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
|
|
|
84
85
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
85
86
|
) => import("@smithy/types").RequestSigner)
|
|
86
87
|
| undefined;
|
|
87
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
88
88
|
};
|
|
@@ -11,6 +11,8 @@ export declare const getRuntimeConfig: (config: ControlTowerClientConfig) => {
|
|
|
11
11
|
}
|
|
12
12
|
) => import("@smithy/types").EndpointV2;
|
|
13
13
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ControlTowerHttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
14
16
|
logger: import("@smithy/types").Logger;
|
|
15
17
|
serviceId: string;
|
|
16
18
|
urlParser: import("@smithy/types").UrlParser;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-controltower",
|
|
3
3
|
"description": "AWS SDK for JavaScript Controltower Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.514.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-controltower",
|
|
@@ -20,13 +20,12 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.513.0",
|
|
24
|
+
"@aws-sdk/core": "3.513.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.514.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.511.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.511.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.511.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.511.0",
|
|
30
29
|
"@aws-sdk/middleware-user-agent": "3.511.0",
|
|
31
30
|
"@aws-sdk/region-config-resolver": "3.511.0",
|
|
32
31
|
"@aws-sdk/types": "3.511.0",
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
"@aws-sdk/util-user-agent-browser": "3.511.0",
|
|
35
34
|
"@aws-sdk/util-user-agent-node": "3.511.0",
|
|
36
35
|
"@smithy/config-resolver": "^2.1.1",
|
|
37
|
-
"@smithy/core": "^1.3.
|
|
36
|
+
"@smithy/core": "^1.3.2",
|
|
38
37
|
"@smithy/fetch-http-handler": "^2.4.1",
|
|
39
38
|
"@smithy/hash-node": "^2.1.1",
|
|
40
39
|
"@smithy/invalid-dependency": "^2.1.1",
|
|
@@ -53,8 +52,9 @@
|
|
|
53
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
54
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
55
54
|
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.0",
|
|
57
56
|
"@smithy/util-endpoints": "^1.1.1",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.1",
|
|
58
58
|
"@smithy/util-retry": "^2.1.1",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"tslib": "^2.5.0"
|