@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
|
@@ -2,15 +2,10 @@ import {
|
|
|
2
2
|
HostHeaderInputConfig,
|
|
3
3
|
HostHeaderResolvedConfig,
|
|
4
4
|
} from "@aws-sdk/middleware-host-header";
|
|
5
|
-
import {
|
|
6
|
-
AwsAuthInputConfig,
|
|
7
|
-
AwsAuthResolvedConfig,
|
|
8
|
-
} from "@aws-sdk/middleware-signing";
|
|
9
5
|
import {
|
|
10
6
|
UserAgentInputConfig,
|
|
11
7
|
UserAgentResolvedConfig,
|
|
12
8
|
} from "@aws-sdk/middleware-user-agent";
|
|
13
|
-
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
14
9
|
import {
|
|
15
10
|
RegionInputConfig,
|
|
16
11
|
RegionResolvedConfig,
|
|
@@ -31,6 +26,7 @@ import {
|
|
|
31
26
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
32
27
|
} from "@smithy/smithy-client";
|
|
33
28
|
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
34
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
35
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
36
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -45,6 +41,10 @@ import {
|
|
|
45
41
|
UrlParser as __UrlParser,
|
|
46
42
|
UserAgent as __UserAgent,
|
|
47
43
|
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
48
|
import {
|
|
49
49
|
CreateLandingZoneCommandInput,
|
|
50
50
|
CreateLandingZoneCommandOutput,
|
|
@@ -53,18 +53,38 @@ import {
|
|
|
53
53
|
DeleteLandingZoneCommandInput,
|
|
54
54
|
DeleteLandingZoneCommandOutput,
|
|
55
55
|
} from "./commands/DeleteLandingZoneCommand";
|
|
56
|
+
import {
|
|
57
|
+
DisableBaselineCommandInput,
|
|
58
|
+
DisableBaselineCommandOutput,
|
|
59
|
+
} from "./commands/DisableBaselineCommand";
|
|
56
60
|
import {
|
|
57
61
|
DisableControlCommandInput,
|
|
58
62
|
DisableControlCommandOutput,
|
|
59
63
|
} from "./commands/DisableControlCommand";
|
|
64
|
+
import {
|
|
65
|
+
EnableBaselineCommandInput,
|
|
66
|
+
EnableBaselineCommandOutput,
|
|
67
|
+
} from "./commands/EnableBaselineCommand";
|
|
60
68
|
import {
|
|
61
69
|
EnableControlCommandInput,
|
|
62
70
|
EnableControlCommandOutput,
|
|
63
71
|
} from "./commands/EnableControlCommand";
|
|
72
|
+
import {
|
|
73
|
+
GetBaselineCommandInput,
|
|
74
|
+
GetBaselineCommandOutput,
|
|
75
|
+
} from "./commands/GetBaselineCommand";
|
|
76
|
+
import {
|
|
77
|
+
GetBaselineOperationCommandInput,
|
|
78
|
+
GetBaselineOperationCommandOutput,
|
|
79
|
+
} from "./commands/GetBaselineOperationCommand";
|
|
64
80
|
import {
|
|
65
81
|
GetControlOperationCommandInput,
|
|
66
82
|
GetControlOperationCommandOutput,
|
|
67
83
|
} from "./commands/GetControlOperationCommand";
|
|
84
|
+
import {
|
|
85
|
+
GetEnabledBaselineCommandInput,
|
|
86
|
+
GetEnabledBaselineCommandOutput,
|
|
87
|
+
} from "./commands/GetEnabledBaselineCommand";
|
|
68
88
|
import {
|
|
69
89
|
GetEnabledControlCommandInput,
|
|
70
90
|
GetEnabledControlCommandOutput,
|
|
@@ -77,6 +97,14 @@ import {
|
|
|
77
97
|
GetLandingZoneOperationCommandInput,
|
|
78
98
|
GetLandingZoneOperationCommandOutput,
|
|
79
99
|
} from "./commands/GetLandingZoneOperationCommand";
|
|
100
|
+
import {
|
|
101
|
+
ListBaselinesCommandInput,
|
|
102
|
+
ListBaselinesCommandOutput,
|
|
103
|
+
} from "./commands/ListBaselinesCommand";
|
|
104
|
+
import {
|
|
105
|
+
ListEnabledBaselinesCommandInput,
|
|
106
|
+
ListEnabledBaselinesCommandOutput,
|
|
107
|
+
} from "./commands/ListEnabledBaselinesCommand";
|
|
80
108
|
import {
|
|
81
109
|
ListEnabledControlsCommandInput,
|
|
82
110
|
ListEnabledControlsCommandOutput,
|
|
@@ -89,6 +117,10 @@ import {
|
|
|
89
117
|
ListTagsForResourceCommandInput,
|
|
90
118
|
ListTagsForResourceCommandOutput,
|
|
91
119
|
} from "./commands/ListTagsForResourceCommand";
|
|
120
|
+
import {
|
|
121
|
+
ResetEnabledBaselineCommandInput,
|
|
122
|
+
ResetEnabledBaselineCommandOutput,
|
|
123
|
+
} from "./commands/ResetEnabledBaselineCommand";
|
|
92
124
|
import {
|
|
93
125
|
ResetLandingZoneCommandInput,
|
|
94
126
|
ResetLandingZoneCommandOutput,
|
|
@@ -101,6 +133,10 @@ import {
|
|
|
101
133
|
UntagResourceCommandInput,
|
|
102
134
|
UntagResourceCommandOutput,
|
|
103
135
|
} from "./commands/UntagResourceCommand";
|
|
136
|
+
import {
|
|
137
|
+
UpdateEnabledBaselineCommandInput,
|
|
138
|
+
UpdateEnabledBaselineCommandOutput,
|
|
139
|
+
} from "./commands/UpdateEnabledBaselineCommand";
|
|
104
140
|
import {
|
|
105
141
|
UpdateEnabledControlCommandInput,
|
|
106
142
|
UpdateEnabledControlCommandOutput,
|
|
@@ -119,35 +155,53 @@ export { __Client };
|
|
|
119
155
|
export type ServiceInputTypes =
|
|
120
156
|
| CreateLandingZoneCommandInput
|
|
121
157
|
| DeleteLandingZoneCommandInput
|
|
158
|
+
| DisableBaselineCommandInput
|
|
122
159
|
| DisableControlCommandInput
|
|
160
|
+
| EnableBaselineCommandInput
|
|
123
161
|
| EnableControlCommandInput
|
|
162
|
+
| GetBaselineCommandInput
|
|
163
|
+
| GetBaselineOperationCommandInput
|
|
124
164
|
| GetControlOperationCommandInput
|
|
165
|
+
| GetEnabledBaselineCommandInput
|
|
125
166
|
| GetEnabledControlCommandInput
|
|
126
167
|
| GetLandingZoneCommandInput
|
|
127
168
|
| GetLandingZoneOperationCommandInput
|
|
169
|
+
| ListBaselinesCommandInput
|
|
170
|
+
| ListEnabledBaselinesCommandInput
|
|
128
171
|
| ListEnabledControlsCommandInput
|
|
129
172
|
| ListLandingZonesCommandInput
|
|
130
173
|
| ListTagsForResourceCommandInput
|
|
174
|
+
| ResetEnabledBaselineCommandInput
|
|
131
175
|
| ResetLandingZoneCommandInput
|
|
132
176
|
| TagResourceCommandInput
|
|
133
177
|
| UntagResourceCommandInput
|
|
178
|
+
| UpdateEnabledBaselineCommandInput
|
|
134
179
|
| UpdateEnabledControlCommandInput
|
|
135
180
|
| UpdateLandingZoneCommandInput;
|
|
136
181
|
export type ServiceOutputTypes =
|
|
137
182
|
| CreateLandingZoneCommandOutput
|
|
138
183
|
| DeleteLandingZoneCommandOutput
|
|
184
|
+
| DisableBaselineCommandOutput
|
|
139
185
|
| DisableControlCommandOutput
|
|
186
|
+
| EnableBaselineCommandOutput
|
|
140
187
|
| EnableControlCommandOutput
|
|
188
|
+
| GetBaselineCommandOutput
|
|
189
|
+
| GetBaselineOperationCommandOutput
|
|
141
190
|
| GetControlOperationCommandOutput
|
|
191
|
+
| GetEnabledBaselineCommandOutput
|
|
142
192
|
| GetEnabledControlCommandOutput
|
|
143
193
|
| GetLandingZoneCommandOutput
|
|
144
194
|
| GetLandingZoneOperationCommandOutput
|
|
195
|
+
| ListBaselinesCommandOutput
|
|
196
|
+
| ListEnabledBaselinesCommandOutput
|
|
145
197
|
| ListEnabledControlsCommandOutput
|
|
146
198
|
| ListLandingZonesCommandOutput
|
|
147
199
|
| ListTagsForResourceCommandOutput
|
|
200
|
+
| ResetEnabledBaselineCommandOutput
|
|
148
201
|
| ResetLandingZoneCommandOutput
|
|
149
202
|
| TagResourceCommandOutput
|
|
150
203
|
| UntagResourceCommandOutput
|
|
204
|
+
| UpdateEnabledBaselineCommandOutput
|
|
151
205
|
| UpdateEnabledControlCommandOutput
|
|
152
206
|
| UpdateLandingZoneCommandOutput;
|
|
153
207
|
export interface ClientDefaults
|
|
@@ -166,9 +220,9 @@ export interface ClientDefaults
|
|
|
166
220
|
serviceId?: string;
|
|
167
221
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
168
222
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
169
|
-
region?: string | __Provider<string>;
|
|
170
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
171
223
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
224
|
+
region?: string | __Provider<string>;
|
|
225
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
172
226
|
maxAttempts?: number | __Provider<number>;
|
|
173
227
|
retryMode?: string | __Provider<string>;
|
|
174
228
|
logger?: __Logger;
|
|
@@ -183,8 +237,8 @@ export type ControlTowerClientConfigType = Partial<
|
|
|
183
237
|
EndpointInputConfig<EndpointParameters> &
|
|
184
238
|
RetryInputConfig &
|
|
185
239
|
HostHeaderInputConfig &
|
|
186
|
-
AwsAuthInputConfig &
|
|
187
240
|
UserAgentInputConfig &
|
|
241
|
+
HttpAuthSchemeInputConfig &
|
|
188
242
|
ClientInputEndpointParameters;
|
|
189
243
|
export interface ControlTowerClientConfig
|
|
190
244
|
extends ControlTowerClientConfigType {}
|
|
@@ -196,8 +250,8 @@ export type ControlTowerClientResolvedConfigType =
|
|
|
196
250
|
EndpointResolvedConfig<EndpointParameters> &
|
|
197
251
|
RetryResolvedConfig &
|
|
198
252
|
HostHeaderResolvedConfig &
|
|
199
|
-
AwsAuthResolvedConfig &
|
|
200
253
|
UserAgentResolvedConfig &
|
|
254
|
+
HttpAuthSchemeResolvedConfig &
|
|
201
255
|
ClientResolvedEndpointParameters;
|
|
202
256
|
export interface ControlTowerClientResolvedConfig
|
|
203
257
|
extends ControlTowerClientResolvedConfigType {}
|
|
@@ -212,4 +266,6 @@ export declare class ControlTowerClient extends __Client<
|
|
|
212
266
|
...[configuration]: __CheckOptionalClientConfig<ControlTowerClientConfig>
|
|
213
267
|
);
|
|
214
268
|
destroy(): void;
|
|
269
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
|
270
|
+
private getIdentityProviderConfigProvider;
|
|
215
271
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { ControlTowerHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: ControlTowerHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): ControlTowerHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: ControlTowerHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
} from "@smithy/types";
|
|
13
|
+
import { ControlTowerClientResolvedConfig } from "../ControlTowerClient";
|
|
14
|
+
export interface ControlTowerHttpAuthSchemeParameters
|
|
15
|
+
extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ControlTowerHttpAuthSchemeParametersProvider
|
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
|
20
|
+
ControlTowerClientResolvedConfig,
|
|
21
|
+
HandlerExecutionContext,
|
|
22
|
+
ControlTowerHttpAuthSchemeParameters,
|
|
23
|
+
object
|
|
24
|
+
> {}
|
|
25
|
+
export declare const defaultControlTowerHttpAuthSchemeParametersProvider: (
|
|
26
|
+
config: ControlTowerClientResolvedConfig,
|
|
27
|
+
context: HandlerExecutionContext,
|
|
28
|
+
input: object
|
|
29
|
+
) => Promise<ControlTowerHttpAuthSchemeParameters>;
|
|
30
|
+
export interface ControlTowerHttpAuthSchemeProvider
|
|
31
|
+
extends HttpAuthSchemeProvider<ControlTowerHttpAuthSchemeParameters> {}
|
|
32
|
+
export declare const defaultControlTowerHttpAuthSchemeProvider: ControlTowerHttpAuthSchemeProvider;
|
|
33
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
|
+
httpAuthSchemeProvider?: ControlTowerHttpAuthSchemeProvider;
|
|
36
|
+
}
|
|
37
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
38
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
39
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
|
+
readonly httpAuthSchemeProvider: ControlTowerHttpAuthSchemeProvider;
|
|
41
|
+
}
|
|
42
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
43
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
44
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ControlTowerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ControlTowerClient";
|
|
8
|
+
import {
|
|
9
|
+
DisableBaselineInput,
|
|
10
|
+
DisableBaselineOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface DisableBaselineCommandInput extends DisableBaselineInput {}
|
|
14
|
+
export interface DisableBaselineCommandOutput
|
|
15
|
+
extends DisableBaselineOutput,
|
|
16
|
+
__MetadataBearer {}
|
|
17
|
+
declare const DisableBaselineCommand_base: {
|
|
18
|
+
new (
|
|
19
|
+
input: DisableBaselineCommandInput
|
|
20
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
21
|
+
DisableBaselineCommandInput,
|
|
22
|
+
DisableBaselineCommandOutput,
|
|
23
|
+
ControlTowerClientResolvedConfig,
|
|
24
|
+
ServiceInputTypes,
|
|
25
|
+
ServiceOutputTypes
|
|
26
|
+
>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
export declare class DisableBaselineCommand extends DisableBaselineCommand_base {}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ControlTowerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ControlTowerClient";
|
|
8
|
+
import { EnableBaselineInput, EnableBaselineOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
export interface EnableBaselineCommandInput extends EnableBaselineInput {}
|
|
11
|
+
export interface EnableBaselineCommandOutput
|
|
12
|
+
extends EnableBaselineOutput,
|
|
13
|
+
__MetadataBearer {}
|
|
14
|
+
declare const EnableBaselineCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: EnableBaselineCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
EnableBaselineCommandInput,
|
|
19
|
+
EnableBaselineCommandOutput,
|
|
20
|
+
ControlTowerClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class EnableBaselineCommand extends EnableBaselineCommand_base {}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ControlTowerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ControlTowerClient";
|
|
8
|
+
import { GetBaselineInput, GetBaselineOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
export interface GetBaselineCommandInput extends GetBaselineInput {}
|
|
11
|
+
export interface GetBaselineCommandOutput
|
|
12
|
+
extends GetBaselineOutput,
|
|
13
|
+
__MetadataBearer {}
|
|
14
|
+
declare const GetBaselineCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: GetBaselineCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
GetBaselineCommandInput,
|
|
19
|
+
GetBaselineCommandOutput,
|
|
20
|
+
ControlTowerClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class GetBaselineCommand extends GetBaselineCommand_base {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ControlTowerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ControlTowerClient";
|
|
8
|
+
import {
|
|
9
|
+
GetBaselineOperationInput,
|
|
10
|
+
GetBaselineOperationOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface GetBaselineOperationCommandInput
|
|
14
|
+
extends GetBaselineOperationInput {}
|
|
15
|
+
export interface GetBaselineOperationCommandOutput
|
|
16
|
+
extends GetBaselineOperationOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetBaselineOperationCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetBaselineOperationCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetBaselineOperationCommandInput,
|
|
23
|
+
GetBaselineOperationCommandOutput,
|
|
24
|
+
ControlTowerClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class GetBaselineOperationCommand extends GetBaselineOperationCommand_base {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ControlTowerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ControlTowerClient";
|
|
8
|
+
import {
|
|
9
|
+
GetEnabledBaselineInput,
|
|
10
|
+
GetEnabledBaselineOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface GetEnabledBaselineCommandInput
|
|
14
|
+
extends GetEnabledBaselineInput {}
|
|
15
|
+
export interface GetEnabledBaselineCommandOutput
|
|
16
|
+
extends GetEnabledBaselineOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetEnabledBaselineCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetEnabledBaselineCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetEnabledBaselineCommandInput,
|
|
23
|
+
GetEnabledBaselineCommandOutput,
|
|
24
|
+
ControlTowerClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class GetEnabledBaselineCommand extends GetEnabledBaselineCommand_base {}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ControlTowerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ControlTowerClient";
|
|
8
|
+
import { ListBaselinesInput, ListBaselinesOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
export interface ListBaselinesCommandInput extends ListBaselinesInput {}
|
|
11
|
+
export interface ListBaselinesCommandOutput
|
|
12
|
+
extends ListBaselinesOutput,
|
|
13
|
+
__MetadataBearer {}
|
|
14
|
+
declare const ListBaselinesCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: ListBaselinesCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
ListBaselinesCommandInput,
|
|
19
|
+
ListBaselinesCommandOutput,
|
|
20
|
+
ControlTowerClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class ListBaselinesCommand extends ListBaselinesCommand_base {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ControlTowerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ControlTowerClient";
|
|
8
|
+
import {
|
|
9
|
+
ListEnabledBaselinesInput,
|
|
10
|
+
ListEnabledBaselinesOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ListEnabledBaselinesCommandInput
|
|
14
|
+
extends ListEnabledBaselinesInput {}
|
|
15
|
+
export interface ListEnabledBaselinesCommandOutput
|
|
16
|
+
extends ListEnabledBaselinesOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListEnabledBaselinesCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListEnabledBaselinesCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListEnabledBaselinesCommandInput,
|
|
23
|
+
ListEnabledBaselinesCommandOutput,
|
|
24
|
+
ControlTowerClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class ListEnabledBaselinesCommand extends ListEnabledBaselinesCommand_base {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ControlTowerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ControlTowerClient";
|
|
8
|
+
import {
|
|
9
|
+
ResetEnabledBaselineInput,
|
|
10
|
+
ResetEnabledBaselineOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ResetEnabledBaselineCommandInput
|
|
14
|
+
extends ResetEnabledBaselineInput {}
|
|
15
|
+
export interface ResetEnabledBaselineCommandOutput
|
|
16
|
+
extends ResetEnabledBaselineOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ResetEnabledBaselineCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ResetEnabledBaselineCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ResetEnabledBaselineCommandInput,
|
|
23
|
+
ResetEnabledBaselineCommandOutput,
|
|
24
|
+
ControlTowerClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class ResetEnabledBaselineCommand extends ResetEnabledBaselineCommand_base {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ControlTowerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ControlTowerClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateEnabledBaselineInput,
|
|
10
|
+
UpdateEnabledBaselineOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface UpdateEnabledBaselineCommandInput
|
|
14
|
+
extends UpdateEnabledBaselineInput {}
|
|
15
|
+
export interface UpdateEnabledBaselineCommandOutput
|
|
16
|
+
extends UpdateEnabledBaselineOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateEnabledBaselineCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateEnabledBaselineCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateEnabledBaselineCommandInput,
|
|
23
|
+
UpdateEnabledBaselineCommandOutput,
|
|
24
|
+
ControlTowerClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class UpdateEnabledBaselineCommand extends UpdateEnabledBaselineCommand_base {}
|
|
@@ -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";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
export interface ControlTowerExtensionConfiguration
|
|
5
6
|
extends HttpHandlerExtensionConfiguration,
|
|
6
7
|
DefaultExtensionConfiguration,
|
|
7
|
-
AwsRegionExtensionConfiguration
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|