@aws-sdk/client-fis 3.458.0 → 3.459.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.
Files changed (71) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/Fis.js +16 -0
  3. package/dist-cjs/commands/CreateTargetAccountConfigurationCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteTargetAccountConfigurationCommand.js +51 -0
  5. package/dist-cjs/commands/GetExperimentTargetAccountConfigurationCommand.js +51 -0
  6. package/dist-cjs/commands/GetTargetAccountConfigurationCommand.js +51 -0
  7. package/dist-cjs/commands/ListExperimentResolvedTargetsCommand.js +51 -0
  8. package/dist-cjs/commands/ListExperimentTargetAccountConfigurationsCommand.js +51 -0
  9. package/dist-cjs/commands/ListTargetAccountConfigurationsCommand.js +51 -0
  10. package/dist-cjs/commands/UpdateTargetAccountConfigurationCommand.js +51 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +10 -1
  13. package/dist-cjs/pagination/ListExperimentResolvedTargetsPaginator.js +29 -0
  14. package/dist-cjs/pagination/ListTargetAccountConfigurationsPaginator.js +29 -0
  15. package/dist-cjs/pagination/index.js +2 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +489 -1
  17. package/dist-es/Fis.js +16 -0
  18. package/dist-es/commands/CreateTargetAccountConfigurationCommand.js +47 -0
  19. package/dist-es/commands/DeleteTargetAccountConfigurationCommand.js +47 -0
  20. package/dist-es/commands/GetExperimentTargetAccountConfigurationCommand.js +47 -0
  21. package/dist-es/commands/GetTargetAccountConfigurationCommand.js +47 -0
  22. package/dist-es/commands/ListExperimentResolvedTargetsCommand.js +47 -0
  23. package/dist-es/commands/ListExperimentTargetAccountConfigurationsCommand.js +47 -0
  24. package/dist-es/commands/ListTargetAccountConfigurationsCommand.js +47 -0
  25. package/dist-es/commands/UpdateTargetAccountConfigurationCommand.js +47 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/models/models_0.js +9 -0
  28. package/dist-es/pagination/ListExperimentResolvedTargetsPaginator.js +25 -0
  29. package/dist-es/pagination/ListTargetAccountConfigurationsPaginator.js +25 -0
  30. package/dist-es/pagination/index.js +2 -0
  31. package/dist-es/protocols/Aws_restJson1.js +473 -1
  32. package/dist-types/Fis.d.ts +56 -0
  33. package/dist-types/FisClient.d.ts +10 -2
  34. package/dist-types/commands/CreateExperimentTemplateCommand.d.ts +10 -1
  35. package/dist-types/commands/CreateTargetAccountConfigurationCommand.d.ts +97 -0
  36. package/dist-types/commands/DeleteExperimentTemplateCommand.d.ts +5 -0
  37. package/dist-types/commands/DeleteTargetAccountConfigurationCommand.d.ts +84 -0
  38. package/dist-types/commands/GetExperimentCommand.d.ts +6 -1
  39. package/dist-types/commands/GetExperimentTargetAccountConfigurationCommand.d.ts +84 -0
  40. package/dist-types/commands/GetExperimentTemplateCommand.d.ts +5 -0
  41. package/dist-types/commands/GetTargetAccountConfigurationCommand.d.ts +84 -0
  42. package/dist-types/commands/ListExperimentResolvedTargetsCommand.d.ts +91 -0
  43. package/dist-types/commands/ListExperimentTargetAccountConfigurationsCommand.d.ts +87 -0
  44. package/dist-types/commands/ListTargetAccountConfigurationsCommand.d.ts +88 -0
  45. package/dist-types/commands/StartExperimentCommand.d.ts +6 -1
  46. package/dist-types/commands/StopExperimentCommand.d.ts +6 -1
  47. package/dist-types/commands/UpdateExperimentTemplateCommand.d.ts +8 -0
  48. package/dist-types/commands/UpdateTargetAccountConfigurationCommand.d.ts +86 -0
  49. package/dist-types/commands/index.d.ts +8 -0
  50. package/dist-types/models/models_0.d.ts +479 -0
  51. package/dist-types/pagination/ListExperimentResolvedTargetsPaginator.d.ts +7 -0
  52. package/dist-types/pagination/ListTargetAccountConfigurationsPaginator.d.ts +7 -0
  53. package/dist-types/pagination/index.d.ts +2 -0
  54. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  55. package/dist-types/ts3.4/Fis.d.ts +148 -0
  56. package/dist-types/ts3.4/FisClient.d.ts +50 -2
  57. package/dist-types/ts3.4/commands/CreateTargetAccountConfigurationCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/DeleteTargetAccountConfigurationCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/GetExperimentTargetAccountConfigurationCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/GetTargetAccountConfigurationCommand.d.ts +42 -0
  61. package/dist-types/ts3.4/commands/ListExperimentResolvedTargetsCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/ListExperimentTargetAccountConfigurationsCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/ListTargetAccountConfigurationsCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/UpdateTargetAccountConfigurationCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +126 -0
  67. package/dist-types/ts3.4/pagination/ListExperimentResolvedTargetsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListTargetAccountConfigurationsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  71. package/package.json +1 -1
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ FisClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../FisClient";
14
+ import {
15
+ GetExperimentTargetAccountConfigurationRequest,
16
+ GetExperimentTargetAccountConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetExperimentTargetAccountConfigurationCommandInput
20
+ extends GetExperimentTargetAccountConfigurationRequest {}
21
+ export interface GetExperimentTargetAccountConfigurationCommandOutput
22
+ extends GetExperimentTargetAccountConfigurationResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetExperimentTargetAccountConfigurationCommand extends $Command<
25
+ GetExperimentTargetAccountConfigurationCommandInput,
26
+ GetExperimentTargetAccountConfigurationCommandOutput,
27
+ FisClientResolvedConfig
28
+ > {
29
+ readonly input: GetExperimentTargetAccountConfigurationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetExperimentTargetAccountConfigurationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: FisClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetExperimentTargetAccountConfigurationCommandInput,
38
+ GetExperimentTargetAccountConfigurationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ FisClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../FisClient";
14
+ import {
15
+ GetTargetAccountConfigurationRequest,
16
+ GetTargetAccountConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetTargetAccountConfigurationCommandInput
20
+ extends GetTargetAccountConfigurationRequest {}
21
+ export interface GetTargetAccountConfigurationCommandOutput
22
+ extends GetTargetAccountConfigurationResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetTargetAccountConfigurationCommand extends $Command<
25
+ GetTargetAccountConfigurationCommandInput,
26
+ GetTargetAccountConfigurationCommandOutput,
27
+ FisClientResolvedConfig
28
+ > {
29
+ readonly input: GetTargetAccountConfigurationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetTargetAccountConfigurationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: FisClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetTargetAccountConfigurationCommandInput,
38
+ GetTargetAccountConfigurationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ FisClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../FisClient";
14
+ import {
15
+ ListExperimentResolvedTargetsRequest,
16
+ ListExperimentResolvedTargetsResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListExperimentResolvedTargetsCommandInput
20
+ extends ListExperimentResolvedTargetsRequest {}
21
+ export interface ListExperimentResolvedTargetsCommandOutput
22
+ extends ListExperimentResolvedTargetsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListExperimentResolvedTargetsCommand extends $Command<
25
+ ListExperimentResolvedTargetsCommandInput,
26
+ ListExperimentResolvedTargetsCommandOutput,
27
+ FisClientResolvedConfig
28
+ > {
29
+ readonly input: ListExperimentResolvedTargetsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListExperimentResolvedTargetsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: FisClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListExperimentResolvedTargetsCommandInput,
38
+ ListExperimentResolvedTargetsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ FisClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../FisClient";
14
+ import {
15
+ ListExperimentTargetAccountConfigurationsRequest,
16
+ ListExperimentTargetAccountConfigurationsResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListExperimentTargetAccountConfigurationsCommandInput
20
+ extends ListExperimentTargetAccountConfigurationsRequest {}
21
+ export interface ListExperimentTargetAccountConfigurationsCommandOutput
22
+ extends ListExperimentTargetAccountConfigurationsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListExperimentTargetAccountConfigurationsCommand extends $Command<
25
+ ListExperimentTargetAccountConfigurationsCommandInput,
26
+ ListExperimentTargetAccountConfigurationsCommandOutput,
27
+ FisClientResolvedConfig
28
+ > {
29
+ readonly input: ListExperimentTargetAccountConfigurationsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListExperimentTargetAccountConfigurationsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: FisClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListExperimentTargetAccountConfigurationsCommandInput,
38
+ ListExperimentTargetAccountConfigurationsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ FisClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../FisClient";
14
+ import {
15
+ ListTargetAccountConfigurationsRequest,
16
+ ListTargetAccountConfigurationsResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListTargetAccountConfigurationsCommandInput
20
+ extends ListTargetAccountConfigurationsRequest {}
21
+ export interface ListTargetAccountConfigurationsCommandOutput
22
+ extends ListTargetAccountConfigurationsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListTargetAccountConfigurationsCommand extends $Command<
25
+ ListTargetAccountConfigurationsCommandInput,
26
+ ListTargetAccountConfigurationsCommandOutput,
27
+ FisClientResolvedConfig
28
+ > {
29
+ readonly input: ListTargetAccountConfigurationsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListTargetAccountConfigurationsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: FisClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListTargetAccountConfigurationsCommandInput,
38
+ ListTargetAccountConfigurationsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ FisClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../FisClient";
14
+ import {
15
+ UpdateTargetAccountConfigurationRequest,
16
+ UpdateTargetAccountConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateTargetAccountConfigurationCommandInput
20
+ extends UpdateTargetAccountConfigurationRequest {}
21
+ export interface UpdateTargetAccountConfigurationCommandOutput
22
+ extends UpdateTargetAccountConfigurationResponse,
23
+ __MetadataBearer {}
24
+ export declare class UpdateTargetAccountConfigurationCommand extends $Command<
25
+ UpdateTargetAccountConfigurationCommandInput,
26
+ UpdateTargetAccountConfigurationCommandOutput,
27
+ FisClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateTargetAccountConfigurationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateTargetAccountConfigurationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: FisClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ UpdateTargetAccountConfigurationCommandInput,
38
+ UpdateTargetAccountConfigurationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -1,16 +1,24 @@
1
1
  export * from "./CreateExperimentTemplateCommand";
2
+ export * from "./CreateTargetAccountConfigurationCommand";
2
3
  export * from "./DeleteExperimentTemplateCommand";
4
+ export * from "./DeleteTargetAccountConfigurationCommand";
3
5
  export * from "./GetActionCommand";
4
6
  export * from "./GetExperimentCommand";
7
+ export * from "./GetExperimentTargetAccountConfigurationCommand";
5
8
  export * from "./GetExperimentTemplateCommand";
9
+ export * from "./GetTargetAccountConfigurationCommand";
6
10
  export * from "./GetTargetResourceTypeCommand";
7
11
  export * from "./ListActionsCommand";
12
+ export * from "./ListExperimentResolvedTargetsCommand";
13
+ export * from "./ListExperimentTargetAccountConfigurationsCommand";
8
14
  export * from "./ListExperimentTemplatesCommand";
9
15
  export * from "./ListExperimentsCommand";
10
16
  export * from "./ListTagsForResourceCommand";
17
+ export * from "./ListTargetAccountConfigurationsCommand";
11
18
  export * from "./ListTargetResourceTypesCommand";
12
19
  export * from "./StartExperimentCommand";
13
20
  export * from "./StopExperimentCommand";
14
21
  export * from "./TagResourceCommand";
15
22
  export * from "./UntagResourceCommand";
16
23
  export * from "./UpdateExperimentTemplateCommand";
24
+ export * from "./UpdateTargetAccountConfigurationCommand";
@@ -1,5 +1,11 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { FisServiceException as __BaseException } from "./FisServiceException";
3
+ export declare const AccountTargeting: {
4
+ readonly MULTI_ACCOUNT: "multi-account";
5
+ readonly SINGLE_ACCOUNT: "single-account";
6
+ };
7
+ export type AccountTargeting =
8
+ (typeof AccountTargeting)[keyof typeof AccountTargeting];
3
9
  export interface ActionParameter {
4
10
  description?: string;
5
11
  required?: boolean;
@@ -32,6 +38,16 @@ export interface CreateExperimentTemplateActionInput {
32
38
  targets?: Record<string, string>;
33
39
  startAfter?: string[];
34
40
  }
41
+ export declare const EmptyTargetResolutionMode: {
42
+ readonly FAIL: "fail";
43
+ readonly SKIP: "skip";
44
+ };
45
+ export type EmptyTargetResolutionMode =
46
+ (typeof EmptyTargetResolutionMode)[keyof typeof EmptyTargetResolutionMode];
47
+ export interface CreateExperimentTemplateExperimentOptionsInput {
48
+ accountTargeting?: AccountTargeting;
49
+ emptyTargetResolutionMode?: EmptyTargetResolutionMode;
50
+ }
35
51
  export interface ExperimentTemplateCloudWatchLogsLogConfigurationInput {
36
52
  logGroupArn: string | undefined;
37
53
  }
@@ -69,6 +85,7 @@ export interface CreateExperimentTemplateRequest {
69
85
  roleArn: string | undefined;
70
86
  tags?: Record<string, string>;
71
87
  logConfiguration?: CreateExperimentTemplateLogConfigurationInput;
88
+ experimentOptions?: CreateExperimentTemplateExperimentOptionsInput;
72
89
  }
73
90
  export interface ExperimentTemplateAction {
74
91
  actionId?: string;
@@ -77,6 +94,10 @@ export interface ExperimentTemplateAction {
77
94
  targets?: Record<string, string>;
78
95
  startAfter?: string[];
79
96
  }
97
+ export interface ExperimentTemplateExperimentOptions {
98
+ accountTargeting?: AccountTargeting;
99
+ emptyTargetResolutionMode?: EmptyTargetResolutionMode;
100
+ }
80
101
  export interface ExperimentTemplateCloudWatchLogsLogConfiguration {
81
102
  logGroupArn?: string;
82
103
  }
@@ -116,6 +137,8 @@ export interface ExperimentTemplate {
116
137
  roleArn?: string;
117
138
  tags?: Record<string, string>;
118
139
  logConfiguration?: ExperimentTemplateLogConfiguration;
140
+ experimentOptions?: ExperimentTemplateExperimentOptions;
141
+ targetAccountConfigurationsCount?: number;
119
142
  }
120
143
  export interface CreateExperimentTemplateResponse {
121
144
  experimentTemplate?: ExperimentTemplate;
@@ -141,12 +164,34 @@ export declare class ValidationException extends __BaseException {
141
164
  opts: __ExceptionOptionType<ValidationException, __BaseException>
142
165
  );
143
166
  }
167
+ export interface CreateTargetAccountConfigurationRequest {
168
+ clientToken?: string;
169
+ experimentTemplateId: string | undefined;
170
+ accountId: string | undefined;
171
+ roleArn: string | undefined;
172
+ description?: string;
173
+ }
174
+ export interface TargetAccountConfiguration {
175
+ roleArn?: string;
176
+ accountId?: string;
177
+ description?: string;
178
+ }
179
+ export interface CreateTargetAccountConfigurationResponse {
180
+ targetAccountConfiguration?: TargetAccountConfiguration;
181
+ }
144
182
  export interface DeleteExperimentTemplateRequest {
145
183
  id: string | undefined;
146
184
  }
147
185
  export interface DeleteExperimentTemplateResponse {
148
186
  experimentTemplate?: ExperimentTemplate;
149
187
  }
188
+ export interface DeleteTargetAccountConfigurationRequest {
189
+ experimentTemplateId: string | undefined;
190
+ accountId: string | undefined;
191
+ }
192
+ export interface DeleteTargetAccountConfigurationResponse {
193
+ targetAccountConfiguration?: TargetAccountConfiguration;
194
+ }
150
195
  export declare const ExperimentActionStatus: {
151
196
  readonly cancelled: "cancelled";
152
197
  readonly completed: "completed";
@@ -154,6 +199,7 @@ export declare const ExperimentActionStatus: {
154
199
  readonly initiating: "initiating";
155
200
  readonly pending: "pending";
156
201
  readonly running: "running";
202
+ readonly skipped: "skipped";
157
203
  readonly stopped: "stopped";
158
204
  readonly stopping: "stopping";
159
205
  };
@@ -173,6 +219,10 @@ export interface ExperimentAction {
173
219
  startTime?: Date;
174
220
  endTime?: Date;
175
221
  }
222
+ export interface ExperimentOptions {
223
+ accountTargeting?: AccountTargeting;
224
+ emptyTargetResolutionMode?: EmptyTargetResolutionMode;
225
+ }
176
226
  export interface ExperimentCloudWatchLogsLogConfiguration {
177
227
  logGroupArn?: string;
178
228
  }
@@ -229,6 +279,8 @@ export interface Experiment {
229
279
  endTime?: Date;
230
280
  tags?: Record<string, string>;
231
281
  logConfiguration?: ExperimentLogConfiguration;
282
+ experimentOptions?: ExperimentOptions;
283
+ targetAccountConfigurationsCount?: number;
232
284
  }
233
285
  export interface ExperimentSummary {
234
286
  id?: string;
@@ -237,6 +289,16 @@ export interface ExperimentSummary {
237
289
  creationTime?: Date;
238
290
  tags?: Record<string, string>;
239
291
  }
292
+ export interface ExperimentTargetAccountConfiguration {
293
+ roleArn?: string;
294
+ accountId?: string;
295
+ description?: string;
296
+ }
297
+ export interface ExperimentTargetAccountConfigurationSummary {
298
+ roleArn?: string;
299
+ accountId?: string;
300
+ description?: string;
301
+ }
240
302
  export interface ExperimentTemplateSummary {
241
303
  id?: string;
242
304
  description?: string;
@@ -256,12 +318,26 @@ export interface GetExperimentRequest {
256
318
  export interface GetExperimentResponse {
257
319
  experiment?: Experiment;
258
320
  }
321
+ export interface GetExperimentTargetAccountConfigurationRequest {
322
+ experimentId: string | undefined;
323
+ accountId: string | undefined;
324
+ }
325
+ export interface GetExperimentTargetAccountConfigurationResponse {
326
+ targetAccountConfiguration?: ExperimentTargetAccountConfiguration;
327
+ }
259
328
  export interface GetExperimentTemplateRequest {
260
329
  id: string | undefined;
261
330
  }
262
331
  export interface GetExperimentTemplateResponse {
263
332
  experimentTemplate?: ExperimentTemplate;
264
333
  }
334
+ export interface GetTargetAccountConfigurationRequest {
335
+ experimentTemplateId: string | undefined;
336
+ accountId: string | undefined;
337
+ }
338
+ export interface GetTargetAccountConfigurationResponse {
339
+ targetAccountConfiguration?: TargetAccountConfiguration;
340
+ }
265
341
  export interface GetTargetResourceTypeRequest {
266
342
  resourceType: string | undefined;
267
343
  }
@@ -285,6 +361,21 @@ export interface ListActionsResponse {
285
361
  actions?: ActionSummary[];
286
362
  nextToken?: string;
287
363
  }
364
+ export interface ListExperimentResolvedTargetsRequest {
365
+ experimentId: string | undefined;
366
+ maxResults?: number;
367
+ nextToken?: string;
368
+ targetName?: string;
369
+ }
370
+ export interface ResolvedTarget {
371
+ resourceType?: string;
372
+ targetName?: string;
373
+ targetInformation?: Record<string, string>;
374
+ }
375
+ export interface ListExperimentResolvedTargetsResponse {
376
+ resolvedTargets?: ResolvedTarget[];
377
+ nextToken?: string;
378
+ }
288
379
  export interface ListExperimentsRequest {
289
380
  maxResults?: number;
290
381
  nextToken?: string;
@@ -293,6 +384,14 @@ export interface ListExperimentsResponse {
293
384
  experiments?: ExperimentSummary[];
294
385
  nextToken?: string;
295
386
  }
387
+ export interface ListExperimentTargetAccountConfigurationsRequest {
388
+ experimentId: string | undefined;
389
+ nextToken?: string;
390
+ }
391
+ export interface ListExperimentTargetAccountConfigurationsResponse {
392
+ targetAccountConfigurations?: ExperimentTargetAccountConfigurationSummary[];
393
+ nextToken?: string;
394
+ }
296
395
  export interface ListExperimentTemplatesRequest {
297
396
  maxResults?: number;
298
397
  nextToken?: string;
@@ -307,6 +406,20 @@ export interface ListTagsForResourceRequest {
307
406
  export interface ListTagsForResourceResponse {
308
407
  tags?: Record<string, string>;
309
408
  }
409
+ export interface ListTargetAccountConfigurationsRequest {
410
+ experimentTemplateId: string | undefined;
411
+ maxResults?: number;
412
+ nextToken?: string;
413
+ }
414
+ export interface TargetAccountConfigurationSummary {
415
+ roleArn?: string;
416
+ accountId?: string;
417
+ description?: string;
418
+ }
419
+ export interface ListTargetAccountConfigurationsResponse {
420
+ targetAccountConfigurations?: TargetAccountConfigurationSummary[];
421
+ nextToken?: string;
422
+ }
310
423
  export interface ListTargetResourceTypesRequest {
311
424
  maxResults?: number;
312
425
  nextToken?: string;
@@ -350,6 +463,9 @@ export interface UpdateExperimentTemplateActionInputItem {
350
463
  targets?: Record<string, string>;
351
464
  startAfter?: string[];
352
465
  }
466
+ export interface UpdateExperimentTemplateExperimentOptionsInput {
467
+ emptyTargetResolutionMode?: EmptyTargetResolutionMode;
468
+ }
353
469
  export interface UpdateExperimentTemplateLogConfigurationInput {
354
470
  cloudWatchLogsConfiguration?: ExperimentTemplateCloudWatchLogsLogConfigurationInput;
355
471
  s3Configuration?: ExperimentTemplateS3LogConfigurationInput;
@@ -375,7 +491,17 @@ export interface UpdateExperimentTemplateRequest {
375
491
  actions?: Record<string, UpdateExperimentTemplateActionInputItem>;
376
492
  roleArn?: string;
377
493
  logConfiguration?: UpdateExperimentTemplateLogConfigurationInput;
494
+ experimentOptions?: UpdateExperimentTemplateExperimentOptionsInput;
378
495
  }
379
496
  export interface UpdateExperimentTemplateResponse {
380
497
  experimentTemplate?: ExperimentTemplate;
381
498
  }
499
+ export interface UpdateTargetAccountConfigurationRequest {
500
+ experimentTemplateId: string | undefined;
501
+ accountId: string | undefined;
502
+ roleArn?: string;
503
+ description?: string;
504
+ }
505
+ export interface UpdateTargetAccountConfigurationResponse {
506
+ targetAccountConfiguration?: TargetAccountConfiguration;
507
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListExperimentResolvedTargetsCommandInput,
4
+ ListExperimentResolvedTargetsCommandOutput,
5
+ } from "../commands/ListExperimentResolvedTargetsCommand";
6
+ import { FisPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListExperimentResolvedTargets(
8
+ config: FisPaginationConfiguration,
9
+ input: ListExperimentResolvedTargetsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListExperimentResolvedTargetsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListTargetAccountConfigurationsCommandInput,
4
+ ListTargetAccountConfigurationsCommandOutput,
5
+ } from "../commands/ListTargetAccountConfigurationsCommand";
6
+ import { FisPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListTargetAccountConfigurations(
8
+ config: FisPaginationConfiguration,
9
+ input: ListTargetAccountConfigurationsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListTargetAccountConfigurationsCommandOutput>;
@@ -1,5 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListActionsPaginator";
3
+ export * from "./ListExperimentResolvedTargetsPaginator";
3
4
  export * from "./ListExperimentTemplatesPaginator";
4
5
  export * from "./ListExperimentsPaginator";
6
+ export * from "./ListTargetAccountConfigurationsPaginator";
5
7
  export * from "./ListTargetResourceTypesPaginator";