@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
|
@@ -1,27 +1,35 @@
|
|
|
1
1
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
3
2
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
4
|
-
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
3
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
4
|
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
8
6
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
10
|
import { CreateLandingZoneCommandInput, CreateLandingZoneCommandOutput } from "./commands/CreateLandingZoneCommand";
|
|
12
11
|
import { DeleteLandingZoneCommandInput, DeleteLandingZoneCommandOutput } from "./commands/DeleteLandingZoneCommand";
|
|
12
|
+
import { DisableBaselineCommandInput, DisableBaselineCommandOutput } from "./commands/DisableBaselineCommand";
|
|
13
13
|
import { DisableControlCommandInput, DisableControlCommandOutput } from "./commands/DisableControlCommand";
|
|
14
|
+
import { EnableBaselineCommandInput, EnableBaselineCommandOutput } from "./commands/EnableBaselineCommand";
|
|
14
15
|
import { EnableControlCommandInput, EnableControlCommandOutput } from "./commands/EnableControlCommand";
|
|
16
|
+
import { GetBaselineCommandInput, GetBaselineCommandOutput } from "./commands/GetBaselineCommand";
|
|
17
|
+
import { GetBaselineOperationCommandInput, GetBaselineOperationCommandOutput } from "./commands/GetBaselineOperationCommand";
|
|
15
18
|
import { GetControlOperationCommandInput, GetControlOperationCommandOutput } from "./commands/GetControlOperationCommand";
|
|
19
|
+
import { GetEnabledBaselineCommandInput, GetEnabledBaselineCommandOutput } from "./commands/GetEnabledBaselineCommand";
|
|
16
20
|
import { GetEnabledControlCommandInput, GetEnabledControlCommandOutput } from "./commands/GetEnabledControlCommand";
|
|
17
21
|
import { GetLandingZoneCommandInput, GetLandingZoneCommandOutput } from "./commands/GetLandingZoneCommand";
|
|
18
22
|
import { GetLandingZoneOperationCommandInput, GetLandingZoneOperationCommandOutput } from "./commands/GetLandingZoneOperationCommand";
|
|
23
|
+
import { ListBaselinesCommandInput, ListBaselinesCommandOutput } from "./commands/ListBaselinesCommand";
|
|
24
|
+
import { ListEnabledBaselinesCommandInput, ListEnabledBaselinesCommandOutput } from "./commands/ListEnabledBaselinesCommand";
|
|
19
25
|
import { ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput } from "./commands/ListEnabledControlsCommand";
|
|
20
26
|
import { ListLandingZonesCommandInput, ListLandingZonesCommandOutput } from "./commands/ListLandingZonesCommand";
|
|
21
27
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
28
|
+
import { ResetEnabledBaselineCommandInput, ResetEnabledBaselineCommandOutput } from "./commands/ResetEnabledBaselineCommand";
|
|
22
29
|
import { ResetLandingZoneCommandInput, ResetLandingZoneCommandOutput } from "./commands/ResetLandingZoneCommand";
|
|
23
30
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
24
31
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
|
+
import { UpdateEnabledBaselineCommandInput, UpdateEnabledBaselineCommandOutput } from "./commands/UpdateEnabledBaselineCommand";
|
|
25
33
|
import { UpdateEnabledControlCommandInput, UpdateEnabledControlCommandOutput } from "./commands/UpdateEnabledControlCommand";
|
|
26
34
|
import { UpdateLandingZoneCommandInput, UpdateLandingZoneCommandOutput } from "./commands/UpdateLandingZoneCommand";
|
|
27
35
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -30,11 +38,11 @@ export { __Client };
|
|
|
30
38
|
/**
|
|
31
39
|
* @public
|
|
32
40
|
*/
|
|
33
|
-
export type ServiceInputTypes = CreateLandingZoneCommandInput | DeleteLandingZoneCommandInput | DisableControlCommandInput | EnableControlCommandInput | GetControlOperationCommandInput | GetEnabledControlCommandInput | GetLandingZoneCommandInput | GetLandingZoneOperationCommandInput | ListEnabledControlsCommandInput | ListLandingZonesCommandInput | ListTagsForResourceCommandInput | ResetLandingZoneCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEnabledControlCommandInput | UpdateLandingZoneCommandInput;
|
|
41
|
+
export type ServiceInputTypes = CreateLandingZoneCommandInput | DeleteLandingZoneCommandInput | DisableBaselineCommandInput | DisableControlCommandInput | EnableBaselineCommandInput | EnableControlCommandInput | GetBaselineCommandInput | GetBaselineOperationCommandInput | GetControlOperationCommandInput | GetEnabledBaselineCommandInput | GetEnabledControlCommandInput | GetLandingZoneCommandInput | GetLandingZoneOperationCommandInput | ListBaselinesCommandInput | ListEnabledBaselinesCommandInput | ListEnabledControlsCommandInput | ListLandingZonesCommandInput | ListTagsForResourceCommandInput | ResetEnabledBaselineCommandInput | ResetLandingZoneCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEnabledBaselineCommandInput | UpdateEnabledControlCommandInput | UpdateLandingZoneCommandInput;
|
|
34
42
|
/**
|
|
35
43
|
* @public
|
|
36
44
|
*/
|
|
37
|
-
export type ServiceOutputTypes = CreateLandingZoneCommandOutput | DeleteLandingZoneCommandOutput | DisableControlCommandOutput | EnableControlCommandOutput | GetControlOperationCommandOutput | GetEnabledControlCommandOutput | GetLandingZoneCommandOutput | GetLandingZoneOperationCommandOutput | ListEnabledControlsCommandOutput | ListLandingZonesCommandOutput | ListTagsForResourceCommandOutput | ResetLandingZoneCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEnabledControlCommandOutput | UpdateLandingZoneCommandOutput;
|
|
45
|
+
export type ServiceOutputTypes = CreateLandingZoneCommandOutput | DeleteLandingZoneCommandOutput | DisableBaselineCommandOutput | DisableControlCommandOutput | EnableBaselineCommandOutput | EnableControlCommandOutput | GetBaselineCommandOutput | GetBaselineOperationCommandOutput | GetControlOperationCommandOutput | GetEnabledBaselineCommandOutput | GetEnabledControlCommandOutput | GetLandingZoneCommandOutput | GetLandingZoneOperationCommandOutput | ListBaselinesCommandOutput | ListEnabledBaselinesCommandOutput | ListEnabledControlsCommandOutput | ListLandingZonesCommandOutput | ListTagsForResourceCommandOutput | ResetEnabledBaselineCommandOutput | ResetLandingZoneCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEnabledBaselineCommandOutput | UpdateEnabledControlCommandOutput | UpdateLandingZoneCommandOutput;
|
|
38
46
|
/**
|
|
39
47
|
* @public
|
|
40
48
|
*/
|
|
@@ -107,20 +115,21 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
107
115
|
* Enables FIPS compatible endpoints.
|
|
108
116
|
*/
|
|
109
117
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
118
|
+
/**
|
|
119
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
110
123
|
/**
|
|
111
124
|
* The AWS region to which this client will send requests
|
|
112
125
|
*/
|
|
113
126
|
region?: string | __Provider<string>;
|
|
114
127
|
/**
|
|
115
128
|
* Default credentials provider; Not available in browser runtime.
|
|
129
|
+
* @deprecated
|
|
116
130
|
* @internal
|
|
117
131
|
*/
|
|
118
|
-
credentialDefaultProvider?: (input: any) =>
|
|
119
|
-
/**
|
|
120
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
132
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
124
133
|
/**
|
|
125
134
|
* Value for how many times a request will be made at most in case of retry.
|
|
126
135
|
*/
|
|
@@ -147,7 +156,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
147
156
|
/**
|
|
148
157
|
* @public
|
|
149
158
|
*/
|
|
150
|
-
export type ControlTowerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig &
|
|
159
|
+
export type ControlTowerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
151
160
|
/**
|
|
152
161
|
* @public
|
|
153
162
|
*
|
|
@@ -158,7 +167,7 @@ export interface ControlTowerClientConfig extends ControlTowerClientConfigType {
|
|
|
158
167
|
/**
|
|
159
168
|
* @public
|
|
160
169
|
*/
|
|
161
|
-
export type ControlTowerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig &
|
|
170
|
+
export type ControlTowerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
162
171
|
/**
|
|
163
172
|
* @public
|
|
164
173
|
*
|
|
@@ -168,8 +177,8 @@ export interface ControlTowerClientResolvedConfig extends ControlTowerClientReso
|
|
|
168
177
|
}
|
|
169
178
|
/**
|
|
170
179
|
* @public
|
|
171
|
-
* <p>These interfaces allow you to apply the
|
|
172
|
-
* <i>controls</i> to your organizational units, programmatically. In
|
|
180
|
+
* <p>These interfaces allow you to apply the Amazon Web Services library of pre-defined
|
|
181
|
+
* <i>controls</i> to your organizational units, programmatically. In Amazon Web Services Control Tower, the terms "control" and "guardrail" are synonyms.</p>
|
|
173
182
|
* <p>To call these APIs, you'll need to know:</p>
|
|
174
183
|
* <ul>
|
|
175
184
|
* <li>
|
|
@@ -287,4 +296,6 @@ export declare class ControlTowerClient extends __Client<__HttpHandlerOptions, S
|
|
|
287
296
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
288
297
|
*/
|
|
289
298
|
destroy(): void;
|
|
299
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
|
300
|
+
private getIdentityProviderConfigProvider;
|
|
290
301
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { ControlTowerHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: ControlTowerHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): ControlTowerHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: ControlTowerHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { ControlTowerClientResolvedConfig } from "../ControlTowerClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface ControlTowerHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface ControlTowerHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<ControlTowerClientResolvedConfig, HandlerExecutionContext, ControlTowerHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultControlTowerHttpAuthSchemeParametersProvider: (config: ControlTowerClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<ControlTowerHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface ControlTowerHttpAuthSchemeProvider extends HttpAuthSchemeProvider<ControlTowerHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultControlTowerHttpAuthSchemeProvider: ControlTowerHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: ControlTowerHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: ControlTowerHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -69,7 +69,7 @@ declare const CreateLandingZoneCommand_base: {
|
|
|
69
69
|
* <p>The request was denied due to request throttling.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ValidationException} (client fault)
|
|
72
|
-
* <p>The input does not satisfy the constraints specified by an
|
|
72
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ControlTowerServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -67,7 +67,7 @@ declare const DeleteLandingZoneCommand_base: {
|
|
|
67
67
|
* <p>The request was denied due to request throttling.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ValidationException} (client fault)
|
|
70
|
-
* <p>The input does not satisfy the constraints specified by an
|
|
70
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ControlTowerServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
|
|
4
|
+
import { DisableBaselineInput, DisableBaselineOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DisableBaselineCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DisableBaselineCommandInput extends DisableBaselineInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DisableBaselineCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DisableBaselineCommandOutput extends DisableBaselineOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DisableBaselineCommand_base: {
|
|
24
|
+
new (input: DisableBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<DisableBaselineCommandInput, DisableBaselineCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Disable an <code>EnabledBaseline</code> resource on the specified Target. This API starts an asynchronous operation to remove all resources deployed as part of the baseline enablement. The resource will vary depending on the enabled baseline.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ControlTowerClient, DisableBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import
|
|
34
|
+
* // const { ControlTowerClient, DisableBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
|
|
35
|
+
* const client = new ControlTowerClient(config);
|
|
36
|
+
* const input = { // DisableBaselineInput
|
|
37
|
+
* enabledBaselineIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DisableBaselineCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DisableBaselineOutput
|
|
42
|
+
* // operationIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DisableBaselineCommandInput - {@link DisableBaselineCommandInput}
|
|
48
|
+
* @returns {@link DisableBaselineCommandOutput}
|
|
49
|
+
* @see {@link DisableBaselineCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DisableBaselineCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The request references a resource that does not exist.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
66
|
+
* <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ControlTowerServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class DisableBaselineCommand extends DisableBaselineCommand_base {
|
|
79
|
+
}
|
|
@@ -26,7 +26,7 @@ declare const DisableControlCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>This API call turns off a control. It starts an asynchronous operation that deletes
|
|
29
|
+
* <p>This API call turns off a control. It starts an asynchronous operation that deletes AWS
|
|
30
30
|
* resources on the specified organizational unit and the accounts it contains. The resources
|
|
31
31
|
* will vary according to the control that you specify. For usage examples, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html">
|
|
32
32
|
* <i>the Amazon Web Services Control Tower User Guide</i>
|
|
@@ -74,7 +74,7 @@ declare const DisableControlCommand_base: {
|
|
|
74
74
|
* <p>The request was denied due to request throttling.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ValidationException} (client fault)
|
|
77
|
-
* <p>The input does not satisfy the constraints specified by an
|
|
77
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link ControlTowerServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
|
|
4
|
+
import { EnableBaselineInput, EnableBaselineOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link EnableBaselineCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface EnableBaselineCommandInput extends EnableBaselineInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link EnableBaselineCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface EnableBaselineCommandOutput extends EnableBaselineOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const EnableBaselineCommand_base: {
|
|
24
|
+
new (input: EnableBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<EnableBaselineCommandInput, EnableBaselineCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Enable (apply) a <code>Baseline</code> to a Target. This API starts an asynchronous operation to deploy resources specified by the <code>Baseline</code> to the specified Target.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ControlTowerClient, EnableBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import
|
|
34
|
+
* // const { ControlTowerClient, EnableBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
|
|
35
|
+
* const client = new ControlTowerClient(config);
|
|
36
|
+
* const input = { // EnableBaselineInput
|
|
37
|
+
* baselineVersion: "STRING_VALUE", // required
|
|
38
|
+
* parameters: [ // EnabledBaselineParameters
|
|
39
|
+
* { // EnabledBaselineParameter
|
|
40
|
+
* key: "STRING_VALUE", // required
|
|
41
|
+
* value: "DOCUMENT_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* baselineIdentifier: "STRING_VALUE", // required
|
|
45
|
+
* targetIdentifier: "STRING_VALUE", // required
|
|
46
|
+
* tags: { // TagMap
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new EnableBaselineCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // EnableBaselineOutput
|
|
53
|
+
* // operationIdentifier: "STRING_VALUE", // required
|
|
54
|
+
* // arn: "STRING_VALUE", // required
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param EnableBaselineCommandInput - {@link EnableBaselineCommandInput}
|
|
60
|
+
* @returns {@link EnableBaselineCommandOutput}
|
|
61
|
+
* @see {@link EnableBaselineCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link EnableBaselineCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ConflictException} (client fault)
|
|
69
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The request references a resource that does not exist.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
78
|
+
* <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The request was denied due to request throttling.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ControlTowerServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class EnableBaselineCommand extends EnableBaselineCommand_base {
|
|
91
|
+
}
|
|
@@ -84,7 +84,7 @@ declare const EnableControlCommand_base: {
|
|
|
84
84
|
* <p>The request was denied due to request throttling.</p>
|
|
85
85
|
*
|
|
86
86
|
* @throws {@link ValidationException} (client fault)
|
|
87
|
-
* <p>The input does not satisfy the constraints specified by an
|
|
87
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
88
88
|
*
|
|
89
89
|
* @throws {@link ControlTowerServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
|
|
4
|
+
import { GetBaselineInput, GetBaselineOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetBaselineCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetBaselineCommandInput extends GetBaselineInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetBaselineCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetBaselineCommandOutput extends GetBaselineOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetBaselineCommand_base: {
|
|
24
|
+
new (input: GetBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<GetBaselineCommandInput, GetBaselineCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Retrieve details about an existing <code>Baseline</code> resource by specifying its identifier.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ControlTowerClient, GetBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import
|
|
34
|
+
* // const { ControlTowerClient, GetBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
|
|
35
|
+
* const client = new ControlTowerClient(config);
|
|
36
|
+
* const input = { // GetBaselineInput
|
|
37
|
+
* baselineIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetBaselineCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetBaselineOutput
|
|
42
|
+
* // arn: "STRING_VALUE", // required
|
|
43
|
+
* // name: "STRING_VALUE", // required
|
|
44
|
+
* // description: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetBaselineCommandInput - {@link GetBaselineCommandInput}
|
|
50
|
+
* @returns {@link GetBaselineCommandOutput}
|
|
51
|
+
* @see {@link GetBaselineCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetBaselineCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The request references a resource that does not exist.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was denied due to request throttling.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ControlTowerServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export declare class GetBaselineCommand extends GetBaselineCommand_base {
|
|
75
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
|
|
4
|
+
import { GetBaselineOperationInput, GetBaselineOperationOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetBaselineOperationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetBaselineOperationCommandInput extends GetBaselineOperationInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetBaselineOperationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetBaselineOperationCommandOutput extends GetBaselineOperationOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetBaselineOperationCommand_base: {
|
|
24
|
+
new (input: GetBaselineOperationCommandInput): import("@smithy/smithy-client").CommandImpl<GetBaselineOperationCommandInput, GetBaselineOperationCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: <code>EnableBaseline</code>, <code>DisableBaseline</code>, <code>UpdateEnabledBaseline</code>, <code>ResetEnabledBaseline</code>. A status message is displayed in case of operation failure.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ControlTowerClient, GetBaselineOperationCommand } from "@aws-sdk/client-controltower"; // ES Modules import
|
|
34
|
+
* // const { ControlTowerClient, GetBaselineOperationCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
|
|
35
|
+
* const client = new ControlTowerClient(config);
|
|
36
|
+
* const input = { // GetBaselineOperationInput
|
|
37
|
+
* operationIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetBaselineOperationCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetBaselineOperationOutput
|
|
42
|
+
* // baselineOperation: { // BaselineOperation
|
|
43
|
+
* // operationIdentifier: "STRING_VALUE",
|
|
44
|
+
* // operationType: "ENABLE_BASELINE" || "DISABLE_BASELINE" || "UPDATE_ENABLED_BASELINE" || "RESET_ENABLED_BASELINE",
|
|
45
|
+
* // status: "SUCCEEDED" || "FAILED" || "IN_PROGRESS",
|
|
46
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // statusMessage: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetBaselineOperationCommandInput - {@link GetBaselineOperationCommandInput}
|
|
55
|
+
* @returns {@link GetBaselineOperationCommandOutput}
|
|
56
|
+
* @see {@link GetBaselineOperationCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetBaselineOperationCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The request references a resource that does not exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied due to request throttling.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ControlTowerServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class GetBaselineOperationCommand extends GetBaselineOperationCommand_base {
|
|
80
|
+
}
|
|
@@ -73,7 +73,7 @@ declare const GetControlOperationCommand_base: {
|
|
|
73
73
|
* <p>The request was denied due to request throttling.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ValidationException} (client fault)
|
|
76
|
-
* <p>The input does not satisfy the constraints specified by an
|
|
76
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link ControlTowerServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|