@aws-sdk/client-fis 3.458.0 → 3.460.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 +64 -0
- package/dist-cjs/Fis.js +16 -0
- package/dist-cjs/commands/CreateTargetAccountConfigurationCommand.js +51 -0
- package/dist-cjs/commands/DeleteTargetAccountConfigurationCommand.js +51 -0
- package/dist-cjs/commands/GetExperimentTargetAccountConfigurationCommand.js +51 -0
- package/dist-cjs/commands/GetTargetAccountConfigurationCommand.js +51 -0
- package/dist-cjs/commands/ListExperimentResolvedTargetsCommand.js +51 -0
- package/dist-cjs/commands/ListExperimentTargetAccountConfigurationsCommand.js +51 -0
- package/dist-cjs/commands/ListTargetAccountConfigurationsCommand.js +51 -0
- package/dist-cjs/commands/UpdateTargetAccountConfigurationCommand.js +51 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/pagination/ListExperimentResolvedTargetsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTargetAccountConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +489 -1
- package/dist-es/Fis.js +16 -0
- package/dist-es/commands/CreateTargetAccountConfigurationCommand.js +47 -0
- package/dist-es/commands/DeleteTargetAccountConfigurationCommand.js +47 -0
- package/dist-es/commands/GetExperimentTargetAccountConfigurationCommand.js +47 -0
- package/dist-es/commands/GetTargetAccountConfigurationCommand.js +47 -0
- package/dist-es/commands/ListExperimentResolvedTargetsCommand.js +47 -0
- package/dist-es/commands/ListExperimentTargetAccountConfigurationsCommand.js +47 -0
- package/dist-es/commands/ListTargetAccountConfigurationsCommand.js +47 -0
- package/dist-es/commands/UpdateTargetAccountConfigurationCommand.js +47 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/pagination/ListExperimentResolvedTargetsPaginator.js +25 -0
- package/dist-es/pagination/ListTargetAccountConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +473 -1
- package/dist-types/Fis.d.ts +56 -0
- package/dist-types/FisClient.d.ts +10 -2
- package/dist-types/commands/CreateExperimentTemplateCommand.d.ts +10 -1
- package/dist-types/commands/CreateTargetAccountConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/DeleteExperimentTemplateCommand.d.ts +5 -0
- package/dist-types/commands/DeleteTargetAccountConfigurationCommand.d.ts +84 -0
- package/dist-types/commands/GetExperimentCommand.d.ts +6 -1
- package/dist-types/commands/GetExperimentTargetAccountConfigurationCommand.d.ts +84 -0
- package/dist-types/commands/GetExperimentTemplateCommand.d.ts +5 -0
- package/dist-types/commands/GetTargetAccountConfigurationCommand.d.ts +84 -0
- package/dist-types/commands/ListExperimentResolvedTargetsCommand.d.ts +91 -0
- package/dist-types/commands/ListExperimentTargetAccountConfigurationsCommand.d.ts +87 -0
- package/dist-types/commands/ListTargetAccountConfigurationsCommand.d.ts +88 -0
- package/dist-types/commands/StartExperimentCommand.d.ts +6 -1
- package/dist-types/commands/StopExperimentCommand.d.ts +6 -1
- package/dist-types/commands/UpdateExperimentTemplateCommand.d.ts +8 -0
- package/dist-types/commands/UpdateTargetAccountConfigurationCommand.d.ts +86 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +479 -0
- package/dist-types/pagination/ListExperimentResolvedTargetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTargetAccountConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/Fis.d.ts +148 -0
- package/dist-types/ts3.4/FisClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateTargetAccountConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteTargetAccountConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetExperimentTargetAccountConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTargetAccountConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListExperimentResolvedTargetsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListExperimentTargetAccountConfigurationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTargetAccountConfigurationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateTargetAccountConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +126 -0
- package/dist-types/ts3.4/pagination/ListExperimentResolvedTargetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTargetAccountConfigurationsPaginator.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 +96 -0
- package/package.json +12 -12
package/dist-types/Fis.d.ts
CHANGED
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateExperimentTemplateCommandInput, CreateExperimentTemplateCommandOutput } from "./commands/CreateExperimentTemplateCommand";
|
|
3
|
+
import { CreateTargetAccountConfigurationCommandInput, CreateTargetAccountConfigurationCommandOutput } from "./commands/CreateTargetAccountConfigurationCommand";
|
|
3
4
|
import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOutput } from "./commands/DeleteExperimentTemplateCommand";
|
|
5
|
+
import { DeleteTargetAccountConfigurationCommandInput, DeleteTargetAccountConfigurationCommandOutput } from "./commands/DeleteTargetAccountConfigurationCommand";
|
|
4
6
|
import { GetActionCommandInput, GetActionCommandOutput } from "./commands/GetActionCommand";
|
|
5
7
|
import { GetExperimentCommandInput, GetExperimentCommandOutput } from "./commands/GetExperimentCommand";
|
|
8
|
+
import { GetExperimentTargetAccountConfigurationCommandInput, GetExperimentTargetAccountConfigurationCommandOutput } from "./commands/GetExperimentTargetAccountConfigurationCommand";
|
|
6
9
|
import { GetExperimentTemplateCommandInput, GetExperimentTemplateCommandOutput } from "./commands/GetExperimentTemplateCommand";
|
|
10
|
+
import { GetTargetAccountConfigurationCommandInput, GetTargetAccountConfigurationCommandOutput } from "./commands/GetTargetAccountConfigurationCommand";
|
|
7
11
|
import { GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput } from "./commands/GetTargetResourceTypeCommand";
|
|
8
12
|
import { ListActionsCommandInput, ListActionsCommandOutput } from "./commands/ListActionsCommand";
|
|
13
|
+
import { ListExperimentResolvedTargetsCommandInput, ListExperimentResolvedTargetsCommandOutput } from "./commands/ListExperimentResolvedTargetsCommand";
|
|
9
14
|
import { ListExperimentsCommandInput, ListExperimentsCommandOutput } from "./commands/ListExperimentsCommand";
|
|
15
|
+
import { ListExperimentTargetAccountConfigurationsCommandInput, ListExperimentTargetAccountConfigurationsCommandOutput } from "./commands/ListExperimentTargetAccountConfigurationsCommand";
|
|
10
16
|
import { ListExperimentTemplatesCommandInput, ListExperimentTemplatesCommandOutput } from "./commands/ListExperimentTemplatesCommand";
|
|
11
17
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
18
|
+
import { ListTargetAccountConfigurationsCommandInput, ListTargetAccountConfigurationsCommandOutput } from "./commands/ListTargetAccountConfigurationsCommand";
|
|
12
19
|
import { ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput } from "./commands/ListTargetResourceTypesCommand";
|
|
13
20
|
import { StartExperimentCommandInput, StartExperimentCommandOutput } from "./commands/StartExperimentCommand";
|
|
14
21
|
import { StopExperimentCommandInput, StopExperimentCommandOutput } from "./commands/StopExperimentCommand";
|
|
15
22
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
16
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
17
24
|
import { UpdateExperimentTemplateCommandInput, UpdateExperimentTemplateCommandOutput } from "./commands/UpdateExperimentTemplateCommand";
|
|
25
|
+
import { UpdateTargetAccountConfigurationCommandInput, UpdateTargetAccountConfigurationCommandOutput } from "./commands/UpdateTargetAccountConfigurationCommand";
|
|
18
26
|
import { FisClient } from "./FisClient";
|
|
19
27
|
export interface Fis {
|
|
20
28
|
/**
|
|
@@ -23,12 +31,24 @@ export interface Fis {
|
|
|
23
31
|
createExperimentTemplate(args: CreateExperimentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateExperimentTemplateCommandOutput>;
|
|
24
32
|
createExperimentTemplate(args: CreateExperimentTemplateCommandInput, cb: (err: any, data?: CreateExperimentTemplateCommandOutput) => void): void;
|
|
25
33
|
createExperimentTemplate(args: CreateExperimentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExperimentTemplateCommandOutput) => void): void;
|
|
34
|
+
/**
|
|
35
|
+
* @see {@link CreateTargetAccountConfigurationCommand}
|
|
36
|
+
*/
|
|
37
|
+
createTargetAccountConfiguration(args: CreateTargetAccountConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateTargetAccountConfigurationCommandOutput>;
|
|
38
|
+
createTargetAccountConfiguration(args: CreateTargetAccountConfigurationCommandInput, cb: (err: any, data?: CreateTargetAccountConfigurationCommandOutput) => void): void;
|
|
39
|
+
createTargetAccountConfiguration(args: CreateTargetAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTargetAccountConfigurationCommandOutput) => void): void;
|
|
26
40
|
/**
|
|
27
41
|
* @see {@link DeleteExperimentTemplateCommand}
|
|
28
42
|
*/
|
|
29
43
|
deleteExperimentTemplate(args: DeleteExperimentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteExperimentTemplateCommandOutput>;
|
|
30
44
|
deleteExperimentTemplate(args: DeleteExperimentTemplateCommandInput, cb: (err: any, data?: DeleteExperimentTemplateCommandOutput) => void): void;
|
|
31
45
|
deleteExperimentTemplate(args: DeleteExperimentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExperimentTemplateCommandOutput) => void): void;
|
|
46
|
+
/**
|
|
47
|
+
* @see {@link DeleteTargetAccountConfigurationCommand}
|
|
48
|
+
*/
|
|
49
|
+
deleteTargetAccountConfiguration(args: DeleteTargetAccountConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTargetAccountConfigurationCommandOutput>;
|
|
50
|
+
deleteTargetAccountConfiguration(args: DeleteTargetAccountConfigurationCommandInput, cb: (err: any, data?: DeleteTargetAccountConfigurationCommandOutput) => void): void;
|
|
51
|
+
deleteTargetAccountConfiguration(args: DeleteTargetAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTargetAccountConfigurationCommandOutput) => void): void;
|
|
32
52
|
/**
|
|
33
53
|
* @see {@link GetActionCommand}
|
|
34
54
|
*/
|
|
@@ -41,12 +61,24 @@ export interface Fis {
|
|
|
41
61
|
getExperiment(args: GetExperimentCommandInput, options?: __HttpHandlerOptions): Promise<GetExperimentCommandOutput>;
|
|
42
62
|
getExperiment(args: GetExperimentCommandInput, cb: (err: any, data?: GetExperimentCommandOutput) => void): void;
|
|
43
63
|
getExperiment(args: GetExperimentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExperimentCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link GetExperimentTargetAccountConfigurationCommand}
|
|
66
|
+
*/
|
|
67
|
+
getExperimentTargetAccountConfiguration(args: GetExperimentTargetAccountConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetExperimentTargetAccountConfigurationCommandOutput>;
|
|
68
|
+
getExperimentTargetAccountConfiguration(args: GetExperimentTargetAccountConfigurationCommandInput, cb: (err: any, data?: GetExperimentTargetAccountConfigurationCommandOutput) => void): void;
|
|
69
|
+
getExperimentTargetAccountConfiguration(args: GetExperimentTargetAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExperimentTargetAccountConfigurationCommandOutput) => void): void;
|
|
44
70
|
/**
|
|
45
71
|
* @see {@link GetExperimentTemplateCommand}
|
|
46
72
|
*/
|
|
47
73
|
getExperimentTemplate(args: GetExperimentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetExperimentTemplateCommandOutput>;
|
|
48
74
|
getExperimentTemplate(args: GetExperimentTemplateCommandInput, cb: (err: any, data?: GetExperimentTemplateCommandOutput) => void): void;
|
|
49
75
|
getExperimentTemplate(args: GetExperimentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExperimentTemplateCommandOutput) => void): void;
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link GetTargetAccountConfigurationCommand}
|
|
78
|
+
*/
|
|
79
|
+
getTargetAccountConfiguration(args: GetTargetAccountConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetTargetAccountConfigurationCommandOutput>;
|
|
80
|
+
getTargetAccountConfiguration(args: GetTargetAccountConfigurationCommandInput, cb: (err: any, data?: GetTargetAccountConfigurationCommandOutput) => void): void;
|
|
81
|
+
getTargetAccountConfiguration(args: GetTargetAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTargetAccountConfigurationCommandOutput) => void): void;
|
|
50
82
|
/**
|
|
51
83
|
* @see {@link GetTargetResourceTypeCommand}
|
|
52
84
|
*/
|
|
@@ -59,12 +91,24 @@ export interface Fis {
|
|
|
59
91
|
listActions(args: ListActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListActionsCommandOutput>;
|
|
60
92
|
listActions(args: ListActionsCommandInput, cb: (err: any, data?: ListActionsCommandOutput) => void): void;
|
|
61
93
|
listActions(args: ListActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActionsCommandOutput) => void): void;
|
|
94
|
+
/**
|
|
95
|
+
* @see {@link ListExperimentResolvedTargetsCommand}
|
|
96
|
+
*/
|
|
97
|
+
listExperimentResolvedTargets(args: ListExperimentResolvedTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListExperimentResolvedTargetsCommandOutput>;
|
|
98
|
+
listExperimentResolvedTargets(args: ListExperimentResolvedTargetsCommandInput, cb: (err: any, data?: ListExperimentResolvedTargetsCommandOutput) => void): void;
|
|
99
|
+
listExperimentResolvedTargets(args: ListExperimentResolvedTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExperimentResolvedTargetsCommandOutput) => void): void;
|
|
62
100
|
/**
|
|
63
101
|
* @see {@link ListExperimentsCommand}
|
|
64
102
|
*/
|
|
65
103
|
listExperiments(args: ListExperimentsCommandInput, options?: __HttpHandlerOptions): Promise<ListExperimentsCommandOutput>;
|
|
66
104
|
listExperiments(args: ListExperimentsCommandInput, cb: (err: any, data?: ListExperimentsCommandOutput) => void): void;
|
|
67
105
|
listExperiments(args: ListExperimentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExperimentsCommandOutput) => void): void;
|
|
106
|
+
/**
|
|
107
|
+
* @see {@link ListExperimentTargetAccountConfigurationsCommand}
|
|
108
|
+
*/
|
|
109
|
+
listExperimentTargetAccountConfigurations(args: ListExperimentTargetAccountConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListExperimentTargetAccountConfigurationsCommandOutput>;
|
|
110
|
+
listExperimentTargetAccountConfigurations(args: ListExperimentTargetAccountConfigurationsCommandInput, cb: (err: any, data?: ListExperimentTargetAccountConfigurationsCommandOutput) => void): void;
|
|
111
|
+
listExperimentTargetAccountConfigurations(args: ListExperimentTargetAccountConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExperimentTargetAccountConfigurationsCommandOutput) => void): void;
|
|
68
112
|
/**
|
|
69
113
|
* @see {@link ListExperimentTemplatesCommand}
|
|
70
114
|
*/
|
|
@@ -77,6 +121,12 @@ export interface Fis {
|
|
|
77
121
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
78
122
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
79
123
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link ListTargetAccountConfigurationsCommand}
|
|
126
|
+
*/
|
|
127
|
+
listTargetAccountConfigurations(args: ListTargetAccountConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetAccountConfigurationsCommandOutput>;
|
|
128
|
+
listTargetAccountConfigurations(args: ListTargetAccountConfigurationsCommandInput, cb: (err: any, data?: ListTargetAccountConfigurationsCommandOutput) => void): void;
|
|
129
|
+
listTargetAccountConfigurations(args: ListTargetAccountConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetAccountConfigurationsCommandOutput) => void): void;
|
|
80
130
|
/**
|
|
81
131
|
* @see {@link ListTargetResourceTypesCommand}
|
|
82
132
|
*/
|
|
@@ -113,6 +163,12 @@ export interface Fis {
|
|
|
113
163
|
updateExperimentTemplate(args: UpdateExperimentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExperimentTemplateCommandOutput>;
|
|
114
164
|
updateExperimentTemplate(args: UpdateExperimentTemplateCommandInput, cb: (err: any, data?: UpdateExperimentTemplateCommandOutput) => void): void;
|
|
115
165
|
updateExperimentTemplate(args: UpdateExperimentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateExperimentTemplateCommandOutput) => void): void;
|
|
166
|
+
/**
|
|
167
|
+
* @see {@link UpdateTargetAccountConfigurationCommand}
|
|
168
|
+
*/
|
|
169
|
+
updateTargetAccountConfiguration(args: UpdateTargetAccountConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTargetAccountConfigurationCommandOutput>;
|
|
170
|
+
updateTargetAccountConfiguration(args: UpdateTargetAccountConfigurationCommandInput, cb: (err: any, data?: UpdateTargetAccountConfigurationCommandOutput) => void): void;
|
|
171
|
+
updateTargetAccountConfiguration(args: UpdateTargetAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTargetAccountConfigurationCommandOutput) => void): void;
|
|
116
172
|
}
|
|
117
173
|
/**
|
|
118
174
|
* @public
|
|
@@ -9,32 +9,40 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
|
9
9
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
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";
|
|
11
11
|
import { CreateExperimentTemplateCommandInput, CreateExperimentTemplateCommandOutput } from "./commands/CreateExperimentTemplateCommand";
|
|
12
|
+
import { CreateTargetAccountConfigurationCommandInput, CreateTargetAccountConfigurationCommandOutput } from "./commands/CreateTargetAccountConfigurationCommand";
|
|
12
13
|
import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOutput } from "./commands/DeleteExperimentTemplateCommand";
|
|
14
|
+
import { DeleteTargetAccountConfigurationCommandInput, DeleteTargetAccountConfigurationCommandOutput } from "./commands/DeleteTargetAccountConfigurationCommand";
|
|
13
15
|
import { GetActionCommandInput, GetActionCommandOutput } from "./commands/GetActionCommand";
|
|
14
16
|
import { GetExperimentCommandInput, GetExperimentCommandOutput } from "./commands/GetExperimentCommand";
|
|
17
|
+
import { GetExperimentTargetAccountConfigurationCommandInput, GetExperimentTargetAccountConfigurationCommandOutput } from "./commands/GetExperimentTargetAccountConfigurationCommand";
|
|
15
18
|
import { GetExperimentTemplateCommandInput, GetExperimentTemplateCommandOutput } from "./commands/GetExperimentTemplateCommand";
|
|
19
|
+
import { GetTargetAccountConfigurationCommandInput, GetTargetAccountConfigurationCommandOutput } from "./commands/GetTargetAccountConfigurationCommand";
|
|
16
20
|
import { GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput } from "./commands/GetTargetResourceTypeCommand";
|
|
17
21
|
import { ListActionsCommandInput, ListActionsCommandOutput } from "./commands/ListActionsCommand";
|
|
22
|
+
import { ListExperimentResolvedTargetsCommandInput, ListExperimentResolvedTargetsCommandOutput } from "./commands/ListExperimentResolvedTargetsCommand";
|
|
18
23
|
import { ListExperimentsCommandInput, ListExperimentsCommandOutput } from "./commands/ListExperimentsCommand";
|
|
24
|
+
import { ListExperimentTargetAccountConfigurationsCommandInput, ListExperimentTargetAccountConfigurationsCommandOutput } from "./commands/ListExperimentTargetAccountConfigurationsCommand";
|
|
19
25
|
import { ListExperimentTemplatesCommandInput, ListExperimentTemplatesCommandOutput } from "./commands/ListExperimentTemplatesCommand";
|
|
20
26
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
27
|
+
import { ListTargetAccountConfigurationsCommandInput, ListTargetAccountConfigurationsCommandOutput } from "./commands/ListTargetAccountConfigurationsCommand";
|
|
21
28
|
import { ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput } from "./commands/ListTargetResourceTypesCommand";
|
|
22
29
|
import { StartExperimentCommandInput, StartExperimentCommandOutput } from "./commands/StartExperimentCommand";
|
|
23
30
|
import { StopExperimentCommandInput, StopExperimentCommandOutput } from "./commands/StopExperimentCommand";
|
|
24
31
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
25
32
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
26
33
|
import { UpdateExperimentTemplateCommandInput, UpdateExperimentTemplateCommandOutput } from "./commands/UpdateExperimentTemplateCommand";
|
|
34
|
+
import { UpdateTargetAccountConfigurationCommandInput, UpdateTargetAccountConfigurationCommandOutput } from "./commands/UpdateTargetAccountConfigurationCommand";
|
|
27
35
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
28
36
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
29
37
|
export { __Client };
|
|
30
38
|
/**
|
|
31
39
|
* @public
|
|
32
40
|
*/
|
|
33
|
-
export type ServiceInputTypes = CreateExperimentTemplateCommandInput | DeleteExperimentTemplateCommandInput | GetActionCommandInput | GetExperimentCommandInput | GetExperimentTemplateCommandInput | GetTargetResourceTypeCommandInput | ListActionsCommandInput | ListExperimentTemplatesCommandInput | ListExperimentsCommandInput | ListTagsForResourceCommandInput | ListTargetResourceTypesCommandInput | StartExperimentCommandInput | StopExperimentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateExperimentTemplateCommandInput;
|
|
41
|
+
export type ServiceInputTypes = CreateExperimentTemplateCommandInput | CreateTargetAccountConfigurationCommandInput | DeleteExperimentTemplateCommandInput | DeleteTargetAccountConfigurationCommandInput | GetActionCommandInput | GetExperimentCommandInput | GetExperimentTargetAccountConfigurationCommandInput | GetExperimentTemplateCommandInput | GetTargetAccountConfigurationCommandInput | GetTargetResourceTypeCommandInput | ListActionsCommandInput | ListExperimentResolvedTargetsCommandInput | ListExperimentTargetAccountConfigurationsCommandInput | ListExperimentTemplatesCommandInput | ListExperimentsCommandInput | ListTagsForResourceCommandInput | ListTargetAccountConfigurationsCommandInput | ListTargetResourceTypesCommandInput | StartExperimentCommandInput | StopExperimentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateExperimentTemplateCommandInput | UpdateTargetAccountConfigurationCommandInput;
|
|
34
42
|
/**
|
|
35
43
|
* @public
|
|
36
44
|
*/
|
|
37
|
-
export type ServiceOutputTypes = CreateExperimentTemplateCommandOutput | DeleteExperimentTemplateCommandOutput | GetActionCommandOutput | GetExperimentCommandOutput | GetExperimentTemplateCommandOutput | GetTargetResourceTypeCommandOutput | ListActionsCommandOutput | ListExperimentTemplatesCommandOutput | ListExperimentsCommandOutput | ListTagsForResourceCommandOutput | ListTargetResourceTypesCommandOutput | StartExperimentCommandOutput | StopExperimentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateExperimentTemplateCommandOutput;
|
|
45
|
+
export type ServiceOutputTypes = CreateExperimentTemplateCommandOutput | CreateTargetAccountConfigurationCommandOutput | DeleteExperimentTemplateCommandOutput | DeleteTargetAccountConfigurationCommandOutput | GetActionCommandOutput | GetExperimentCommandOutput | GetExperimentTargetAccountConfigurationCommandOutput | GetExperimentTemplateCommandOutput | GetTargetAccountConfigurationCommandOutput | GetTargetResourceTypeCommandOutput | ListActionsCommandOutput | ListExperimentResolvedTargetsCommandOutput | ListExperimentTargetAccountConfigurationsCommandOutput | ListExperimentTemplatesCommandOutput | ListExperimentsCommandOutput | ListTagsForResourceCommandOutput | ListTargetAccountConfigurationsCommandOutput | ListTargetResourceTypesCommandOutput | StartExperimentCommandOutput | StopExperimentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateExperimentTemplateCommandOutput | UpdateTargetAccountConfigurationCommandOutput;
|
|
38
46
|
/**
|
|
39
47
|
* @public
|
|
40
48
|
*/
|
|
@@ -44,7 +44,7 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
|
|
|
44
44
|
* stopped. You can define a stop condition as a CloudWatch alarm.</p>
|
|
45
45
|
* </li>
|
|
46
46
|
* </ul>
|
|
47
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html">
|
|
47
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html">experiment templates</a>
|
|
48
48
|
* in the <i>Fault Injection Simulator User Guide</i>.</p>
|
|
49
49
|
* @example
|
|
50
50
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -113,6 +113,10 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
|
|
|
113
113
|
* },
|
|
114
114
|
* logSchemaVersion: Number("int"), // required
|
|
115
115
|
* },
|
|
116
|
+
* experimentOptions: { // CreateExperimentTemplateExperimentOptionsInput
|
|
117
|
+
* accountTargeting: "single-account" || "multi-account",
|
|
118
|
+
* emptyTargetResolutionMode: "fail" || "skip",
|
|
119
|
+
* },
|
|
116
120
|
* };
|
|
117
121
|
* const command = new CreateExperimentTemplateCommand(input);
|
|
118
122
|
* const response = await client.send(command);
|
|
@@ -180,6 +184,11 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
|
|
|
180
184
|
* // },
|
|
181
185
|
* // logSchemaVersion: Number("int"),
|
|
182
186
|
* // },
|
|
187
|
+
* // experimentOptions: { // ExperimentTemplateExperimentOptions
|
|
188
|
+
* // accountTargeting: "single-account" || "multi-account",
|
|
189
|
+
* // emptyTargetResolutionMode: "fail" || "skip",
|
|
190
|
+
* // },
|
|
191
|
+
* // targetAccountConfigurationsCount: Number("long"),
|
|
183
192
|
* // },
|
|
184
193
|
* // };
|
|
185
194
|
*
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FisClient";
|
|
5
|
+
import { CreateTargetAccountConfigurationRequest, CreateTargetAccountConfigurationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateTargetAccountConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateTargetAccountConfigurationCommandInput extends CreateTargetAccountConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateTargetAccountConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTargetAccountConfigurationCommandOutput extends CreateTargetAccountConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a target account configuration for the experiment template. A target account configuration
|
|
27
|
+
* is required when <code>accountTargeting</code> of <code>experimentOptions</code> is set to <code>multi-account</code>.
|
|
28
|
+
* For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-options.html">experiment options</a>
|
|
29
|
+
* in the <i>Fault Injection Simulator User Guide</i>.
|
|
30
|
+
* </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { FisClient, CreateTargetAccountConfigurationCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
35
|
+
* // const { FisClient, CreateTargetAccountConfigurationCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
36
|
+
* const client = new FisClient(config);
|
|
37
|
+
* const input = { // CreateTargetAccountConfigurationRequest
|
|
38
|
+
* clientToken: "STRING_VALUE",
|
|
39
|
+
* experimentTemplateId: "STRING_VALUE", // required
|
|
40
|
+
* accountId: "STRING_VALUE", // required
|
|
41
|
+
* roleArn: "STRING_VALUE", // required
|
|
42
|
+
* description: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new CreateTargetAccountConfigurationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // CreateTargetAccountConfigurationResponse
|
|
47
|
+
* // targetAccountConfiguration: { // TargetAccountConfiguration
|
|
48
|
+
* // roleArn: "STRING_VALUE",
|
|
49
|
+
* // accountId: "STRING_VALUE",
|
|
50
|
+
* // description: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param CreateTargetAccountConfigurationCommandInput - {@link CreateTargetAccountConfigurationCommandInput}
|
|
57
|
+
* @returns {@link CreateTargetAccountConfigurationCommandOutput}
|
|
58
|
+
* @see {@link CreateTargetAccountConfigurationCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link CreateTargetAccountConfigurationCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link FisClientResolvedConfig | config} for FisClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>The request could not be processed because of a conflict.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The specified resource cannot be found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
69
|
+
* <p>You have exceeded your service quota.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The specified input is not valid, or fails to satisfy the constraints for the request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link FisServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Fis service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class CreateTargetAccountConfigurationCommand extends $Command<CreateTargetAccountConfigurationCommandInput, CreateTargetAccountConfigurationCommandOutput, FisClientResolvedConfig> {
|
|
79
|
+
readonly input: CreateTargetAccountConfigurationCommandInput;
|
|
80
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
constructor(input: CreateTargetAccountConfigurationCommandInput);
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTargetAccountConfigurationCommandInput, CreateTargetAccountConfigurationCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private deserialize;
|
|
97
|
+
}
|
|
@@ -99,6 +99,11 @@ export interface DeleteExperimentTemplateCommandOutput extends DeleteExperimentT
|
|
|
99
99
|
* // },
|
|
100
100
|
* // logSchemaVersion: Number("int"),
|
|
101
101
|
* // },
|
|
102
|
+
* // experimentOptions: { // ExperimentTemplateExperimentOptions
|
|
103
|
+
* // accountTargeting: "single-account" || "multi-account",
|
|
104
|
+
* // emptyTargetResolutionMode: "fail" || "skip",
|
|
105
|
+
* // },
|
|
106
|
+
* // targetAccountConfigurationsCount: Number("long"),
|
|
102
107
|
* // },
|
|
103
108
|
* // };
|
|
104
109
|
*
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FisClient";
|
|
5
|
+
import { DeleteTargetAccountConfigurationRequest, DeleteTargetAccountConfigurationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteTargetAccountConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteTargetAccountConfigurationCommandInput extends DeleteTargetAccountConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteTargetAccountConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteTargetAccountConfigurationCommandOutput extends DeleteTargetAccountConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the specified target account configuration of the experiment template.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { FisClient, DeleteTargetAccountConfigurationCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
31
|
+
* // const { FisClient, DeleteTargetAccountConfigurationCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
32
|
+
* const client = new FisClient(config);
|
|
33
|
+
* const input = { // DeleteTargetAccountConfigurationRequest
|
|
34
|
+
* experimentTemplateId: "STRING_VALUE", // required
|
|
35
|
+
* accountId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DeleteTargetAccountConfigurationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DeleteTargetAccountConfigurationResponse
|
|
40
|
+
* // targetAccountConfiguration: { // TargetAccountConfiguration
|
|
41
|
+
* // roleArn: "STRING_VALUE",
|
|
42
|
+
* // accountId: "STRING_VALUE",
|
|
43
|
+
* // description: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteTargetAccountConfigurationCommandInput - {@link DeleteTargetAccountConfigurationCommandInput}
|
|
50
|
+
* @returns {@link DeleteTargetAccountConfigurationCommandOutput}
|
|
51
|
+
* @see {@link DeleteTargetAccountConfigurationCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteTargetAccountConfigurationCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link FisClientResolvedConfig | config} for FisClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The specified resource cannot be found.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
* <p>The specified input is not valid, or fails to satisfy the constraints for the request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link FisServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from Fis service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class DeleteTargetAccountConfigurationCommand extends $Command<DeleteTargetAccountConfigurationCommandInput, DeleteTargetAccountConfigurationCommandOutput, FisClientResolvedConfig> {
|
|
66
|
+
readonly input: DeleteTargetAccountConfigurationCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: DeleteTargetAccountConfigurationCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTargetAccountConfigurationCommandInput, DeleteTargetAccountConfigurationCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|
|
@@ -81,7 +81,7 @@ export interface GetExperimentCommandOutput extends GetExperimentResponse, __Met
|
|
|
81
81
|
* // "STRING_VALUE",
|
|
82
82
|
* // ],
|
|
83
83
|
* // state: { // ExperimentActionState
|
|
84
|
-
* // status: "pending" || "initiating" || "running" || "completed" || "cancelled" || "stopping" || "stopped" || "failed",
|
|
84
|
+
* // status: "pending" || "initiating" || "running" || "completed" || "cancelled" || "stopping" || "stopped" || "failed" || "skipped",
|
|
85
85
|
* // reason: "STRING_VALUE",
|
|
86
86
|
* // },
|
|
87
87
|
* // startTime: new Date("TIMESTAMP"),
|
|
@@ -110,6 +110,11 @@ export interface GetExperimentCommandOutput extends GetExperimentResponse, __Met
|
|
|
110
110
|
* // },
|
|
111
111
|
* // logSchemaVersion: Number("int"),
|
|
112
112
|
* // },
|
|
113
|
+
* // experimentOptions: { // ExperimentOptions
|
|
114
|
+
* // accountTargeting: "single-account" || "multi-account",
|
|
115
|
+
* // emptyTargetResolutionMode: "fail" || "skip",
|
|
116
|
+
* // },
|
|
117
|
+
* // targetAccountConfigurationsCount: Number("long"),
|
|
113
118
|
* // },
|
|
114
119
|
* // };
|
|
115
120
|
*
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FisClient";
|
|
5
|
+
import { GetExperimentTargetAccountConfigurationRequest, GetExperimentTargetAccountConfigurationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetExperimentTargetAccountConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetExperimentTargetAccountConfigurationCommandInput extends GetExperimentTargetAccountConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetExperimentTargetAccountConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetExperimentTargetAccountConfigurationCommandOutput extends GetExperimentTargetAccountConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Gets information about the specified target account configuration of the experiment.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { FisClient, GetExperimentTargetAccountConfigurationCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
31
|
+
* // const { FisClient, GetExperimentTargetAccountConfigurationCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
32
|
+
* const client = new FisClient(config);
|
|
33
|
+
* const input = { // GetExperimentTargetAccountConfigurationRequest
|
|
34
|
+
* experimentId: "STRING_VALUE", // required
|
|
35
|
+
* accountId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new GetExperimentTargetAccountConfigurationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetExperimentTargetAccountConfigurationResponse
|
|
40
|
+
* // targetAccountConfiguration: { // ExperimentTargetAccountConfiguration
|
|
41
|
+
* // roleArn: "STRING_VALUE",
|
|
42
|
+
* // accountId: "STRING_VALUE",
|
|
43
|
+
* // description: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetExperimentTargetAccountConfigurationCommandInput - {@link GetExperimentTargetAccountConfigurationCommandInput}
|
|
50
|
+
* @returns {@link GetExperimentTargetAccountConfigurationCommandOutput}
|
|
51
|
+
* @see {@link GetExperimentTargetAccountConfigurationCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetExperimentTargetAccountConfigurationCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link FisClientResolvedConfig | config} for FisClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The specified resource cannot be found.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
* <p>The specified input is not valid, or fails to satisfy the constraints for the request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link FisServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from Fis service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class GetExperimentTargetAccountConfigurationCommand extends $Command<GetExperimentTargetAccountConfigurationCommandInput, GetExperimentTargetAccountConfigurationCommandOutput, FisClientResolvedConfig> {
|
|
66
|
+
readonly input: GetExperimentTargetAccountConfigurationCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: GetExperimentTargetAccountConfigurationCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetExperimentTargetAccountConfigurationCommandInput, GetExperimentTargetAccountConfigurationCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|
|
@@ -99,6 +99,11 @@ export interface GetExperimentTemplateCommandOutput extends GetExperimentTemplat
|
|
|
99
99
|
* // },
|
|
100
100
|
* // logSchemaVersion: Number("int"),
|
|
101
101
|
* // },
|
|
102
|
+
* // experimentOptions: { // ExperimentTemplateExperimentOptions
|
|
103
|
+
* // accountTargeting: "single-account" || "multi-account",
|
|
104
|
+
* // emptyTargetResolutionMode: "fail" || "skip",
|
|
105
|
+
* // },
|
|
106
|
+
* // targetAccountConfigurationsCount: Number("long"),
|
|
102
107
|
* // },
|
|
103
108
|
* // };
|
|
104
109
|
*
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FisClient";
|
|
5
|
+
import { GetTargetAccountConfigurationRequest, GetTargetAccountConfigurationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetTargetAccountConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTargetAccountConfigurationCommandInput extends GetTargetAccountConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTargetAccountConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTargetAccountConfigurationCommandOutput extends GetTargetAccountConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Gets information about the specified target account configuration of the experiment template.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { FisClient, GetTargetAccountConfigurationCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
31
|
+
* // const { FisClient, GetTargetAccountConfigurationCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
32
|
+
* const client = new FisClient(config);
|
|
33
|
+
* const input = { // GetTargetAccountConfigurationRequest
|
|
34
|
+
* experimentTemplateId: "STRING_VALUE", // required
|
|
35
|
+
* accountId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new GetTargetAccountConfigurationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetTargetAccountConfigurationResponse
|
|
40
|
+
* // targetAccountConfiguration: { // TargetAccountConfiguration
|
|
41
|
+
* // roleArn: "STRING_VALUE",
|
|
42
|
+
* // accountId: "STRING_VALUE",
|
|
43
|
+
* // description: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetTargetAccountConfigurationCommandInput - {@link GetTargetAccountConfigurationCommandInput}
|
|
50
|
+
* @returns {@link GetTargetAccountConfigurationCommandOutput}
|
|
51
|
+
* @see {@link GetTargetAccountConfigurationCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetTargetAccountConfigurationCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link FisClientResolvedConfig | config} for FisClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The specified resource cannot be found.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
* <p>The specified input is not valid, or fails to satisfy the constraints for the request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link FisServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from Fis service.</p>
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export declare class GetTargetAccountConfigurationCommand extends $Command<GetTargetAccountConfigurationCommandInput, GetTargetAccountConfigurationCommandOutput, FisClientResolvedConfig> {
|
|
66
|
+
readonly input: GetTargetAccountConfigurationCommandInput;
|
|
67
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
constructor(input: GetTargetAccountConfigurationCommandInput);
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTargetAccountConfigurationCommandInput, GetTargetAccountConfigurationCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private deserialize;
|
|
84
|
+
}
|