@aws-sdk/client-fis 3.36.0 → 3.39.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 (62) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Fis.js +0 -4
  3. package/dist-cjs/FisClient.js +0 -9
  4. package/dist-cjs/commands/CreateExperimentTemplateCommand.js +0 -45
  5. package/dist-cjs/commands/DeleteExperimentTemplateCommand.js +0 -24
  6. package/dist-cjs/commands/GetActionCommand.js +0 -24
  7. package/dist-cjs/commands/GetExperimentCommand.js +0 -24
  8. package/dist-cjs/commands/GetExperimentTemplateCommand.js +0 -24
  9. package/dist-cjs/commands/ListActionsCommand.js +0 -24
  10. package/dist-cjs/commands/ListExperimentTemplatesCommand.js +0 -24
  11. package/dist-cjs/commands/ListExperimentsCommand.js +0 -24
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  13. package/dist-cjs/commands/StartExperimentCommand.js +0 -24
  14. package/dist-cjs/commands/StopExperimentCommand.js +0 -24
  15. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  16. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  17. package/dist-cjs/commands/UpdateExperimentTemplateCommand.js +0 -24
  18. package/dist-cjs/commands/index.js +17 -0
  19. package/dist-cjs/endpoints.js +6 -1
  20. package/dist-cjs/index.js +4 -20
  21. package/dist-cjs/models/models_0.js +0 -171
  22. package/dist-cjs/pagination/ListActionsPaginator.js +0 -10
  23. package/dist-cjs/pagination/ListExperimentTemplatesPaginator.js +0 -10
  24. package/dist-cjs/pagination/ListExperimentsPaginator.js +0 -10
  25. package/dist-cjs/pagination/index.js +7 -0
  26. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  27. package/dist-cjs/runtimeConfig.browser.js +1 -5
  28. package/dist-cjs/runtimeConfig.js +1 -5
  29. package/dist-cjs/runtimeConfig.native.js +0 -3
  30. package/dist-cjs/runtimeConfig.shared.js +0 -3
  31. package/dist-es/commands/index.js +14 -0
  32. package/dist-es/endpoints.js +6 -1
  33. package/dist-es/index.js +4 -20
  34. package/dist-es/pagination/index.js +4 -0
  35. package/dist-types/commands/index.d.ts +14 -0
  36. package/dist-types/index.d.ts +4 -20
  37. package/dist-types/pagination/index.d.ts +4 -0
  38. package/dist-types/ts3.4/Fis.d.ts +15 -67
  39. package/dist-types/ts3.4/FisClient.d.ts +24 -90
  40. package/dist-types/ts3.4/commands/CreateExperimentTemplateCommand.d.ts +2 -41
  41. package/dist-types/ts3.4/commands/DeleteExperimentTemplateCommand.d.ts +2 -20
  42. package/dist-types/ts3.4/commands/GetActionCommand.d.ts +2 -20
  43. package/dist-types/ts3.4/commands/GetExperimentCommand.d.ts +2 -20
  44. package/dist-types/ts3.4/commands/GetExperimentTemplateCommand.d.ts +2 -20
  45. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +2 -20
  46. package/dist-types/ts3.4/commands/ListExperimentTemplatesCommand.d.ts +2 -20
  47. package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +2 -20
  48. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  49. package/dist-types/ts3.4/commands/StartExperimentCommand.d.ts +2 -20
  50. package/dist-types/ts3.4/commands/StopExperimentCommand.d.ts +2 -20
  51. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  52. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  53. package/dist-types/ts3.4/commands/UpdateExperimentTemplateCommand.d.ts +2 -20
  54. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  55. package/dist-types/ts3.4/index.d.ts +4 -20
  56. package/dist-types/ts3.4/models/models_0.d.ts +234 -722
  57. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  61. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  62. package/package.json +32 -32
@@ -1,521 +1,309 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- /**
3
- * <p>Describes a parameter for an action.</p>
4
- */
2
+
5
3
  export interface ActionParameter {
6
- /**
7
- * <p>The parameter description.</p>
8
- */
4
+
9
5
  description?: string;
10
- /**
11
- * <p>Indicates whether the parameter is required.</p>
12
- */
6
+
13
7
  required?: boolean;
14
8
  }
15
9
  export declare namespace ActionParameter {
16
- /**
17
- * @internal
18
- */
10
+
19
11
  const filterSensitiveLog: (obj: ActionParameter) => any;
20
12
  }
21
- /**
22
- * <p>Describes a target for an action.</p>
23
- */
13
+
24
14
  export interface ActionTarget {
25
- /**
26
- * <p>The resource type of the target.</p>
27
- */
15
+
28
16
  resourceType?: string;
29
17
  }
30
18
  export declare namespace ActionTarget {
31
- /**
32
- * @internal
33
- */
19
+
34
20
  const filterSensitiveLog: (obj: ActionTarget) => any;
35
21
  }
36
- /**
37
- * <p>Describes an action. For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html">AWS FIS actions</a>
38
- * in the <i>AWS Fault Injection Simulator User Guide</i>.</p>
39
- */
22
+
40
23
  export interface Action {
41
- /**
42
- * <p>The ID of the action.</p>
43
- */
24
+
44
25
  id?: string;
45
- /**
46
- * <p>The description for the action.</p>
47
- */
26
+
48
27
  description?: string;
49
- /**
50
- * <p>The action parameters, if applicable.</p>
51
- */
28
+
52
29
  parameters?: {
53
30
  [key: string]: ActionParameter;
54
31
  };
55
- /**
56
- * <p>The supported targets for the action.</p>
57
- */
32
+
58
33
  targets?: {
59
34
  [key: string]: ActionTarget;
60
35
  };
61
- /**
62
- * <p>The tags for the action.</p>
63
- */
36
+
64
37
  tags?: {
65
38
  [key: string]: string;
66
39
  };
67
40
  }
68
41
  export declare namespace Action {
69
- /**
70
- * @internal
71
- */
42
+
72
43
  const filterSensitiveLog: (obj: Action) => any;
73
44
  }
74
- /**
75
- * <p>Provides a summary of an action.</p>
76
- */
45
+
77
46
  export interface ActionSummary {
78
- /**
79
- * <p>The ID of the action.</p>
80
- */
47
+
81
48
  id?: string;
82
- /**
83
- * <p>The description for the action.</p>
84
- */
49
+
85
50
  description?: string;
86
- /**
87
- * <p>The targets for the action.</p>
88
- */
51
+
89
52
  targets?: {
90
53
  [key: string]: ActionTarget;
91
54
  };
92
- /**
93
- * <p>The tags for the action.</p>
94
- */
55
+
95
56
  tags?: {
96
57
  [key: string]: string;
97
58
  };
98
59
  }
99
60
  export declare namespace ActionSummary {
100
- /**
101
- * @internal
102
- */
61
+
103
62
  const filterSensitiveLog: (obj: ActionSummary) => any;
104
63
  }
105
- /**
106
- * <p>The request could not be processed because of a conflict.</p>
107
- */
64
+
108
65
  export interface ConflictException extends __SmithyException, $MetadataBearer {
109
66
  name: "ConflictException";
110
67
  $fault: "client";
111
68
  message?: string;
112
69
  }
113
70
  export declare namespace ConflictException {
114
- /**
115
- * @internal
116
- */
71
+
117
72
  const filterSensitiveLog: (obj: ConflictException) => any;
118
73
  }
119
- /**
120
- * <p>Specifies an action for an experiment template.</p>
121
- */
74
+
122
75
  export interface CreateExperimentTemplateActionInput {
123
- /**
124
- * <p>The ID of the action.</p>
125
- */
76
+
126
77
  actionId: string | undefined;
127
- /**
128
- * <p>A description for the action.</p>
129
- */
78
+
130
79
  description?: string;
131
- /**
132
- * <p>The parameters for the action, if applicable.</p>
133
- */
80
+
134
81
  parameters?: {
135
82
  [key: string]: string;
136
83
  };
137
- /**
138
- * <p>The targets for the action.</p>
139
- */
84
+
140
85
  targets?: {
141
86
  [key: string]: string;
142
87
  };
143
- /**
144
- * <p>The name of the action that must be completed before the current action starts. Omit this parameter to run the action at the start of the experiment.</p>
145
- */
88
+
146
89
  startAfter?: string[];
147
90
  }
148
91
  export declare namespace CreateExperimentTemplateActionInput {
149
- /**
150
- * @internal
151
- */
92
+
152
93
  const filterSensitiveLog: (obj: CreateExperimentTemplateActionInput) => any;
153
94
  }
154
- /**
155
- * <p>Specifies a stop condition for an experiment template.</p>
156
- */
95
+
157
96
  export interface CreateExperimentTemplateStopConditionInput {
158
- /**
159
- * <p>The source for the stop condition. Specify <code>aws:cloudwatch:alarm</code> if the stop
160
- * condition is defined by a CloudWatch alarm. Specify <code>none</code> if there is no stop
161
- * condition.</p>
162
- */
97
+
163
98
  source: string | undefined;
164
- /**
165
- * <p>The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if the source is
166
- * a CloudWatch alarm.</p>
167
- */
99
+
168
100
  value?: string;
169
101
  }
170
102
  export declare namespace CreateExperimentTemplateStopConditionInput {
171
- /**
172
- * @internal
173
- */
103
+
174
104
  const filterSensitiveLog: (obj: CreateExperimentTemplateStopConditionInput) => any;
175
105
  }
176
- /**
177
- * <p>Describes a filter used for the target resource input in an experiment template.</p>
178
- */
106
+
179
107
  export interface ExperimentTemplateTargetInputFilter {
180
- /**
181
- * <p>The attribute path for the filter.</p>
182
- */
108
+
183
109
  path: string | undefined;
184
- /**
185
- * <p>The attribute values for the filter.</p>
186
- */
110
+
187
111
  values: string[] | undefined;
188
112
  }
189
113
  export declare namespace ExperimentTemplateTargetInputFilter {
190
- /**
191
- * @internal
192
- */
114
+
193
115
  const filterSensitiveLog: (obj: ExperimentTemplateTargetInputFilter) => any;
194
116
  }
195
- /**
196
- * <p>Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or
197
- * at least one resource tag. You cannot specify both ARNs and tags.</p>
198
- */
117
+
199
118
  export interface CreateExperimentTemplateTargetInput {
200
- /**
201
- * <p>The AWS resource type. The resource type must be supported for the specified action.</p>
202
- */
119
+
203
120
  resourceType: string | undefined;
204
- /**
205
- * <p>The Amazon Resource Names (ARNs) of the resources.</p>
206
- */
121
+
207
122
  resourceArns?: string[];
208
- /**
209
- * <p>The tags for the target resources.</p>
210
- */
123
+
211
124
  resourceTags?: {
212
125
  [key: string]: string;
213
126
  };
214
- /**
215
- * <p>The filters to apply to identify target resources using specific attributes.</p>
216
- */
127
+
217
128
  filters?: ExperimentTemplateTargetInputFilter[];
218
- /**
219
- * <p>Scopes the identified resources to a specific count of the resources at random, or a percentage of the resources. All identified resources are included in the target.</p>
220
- * <ul>
221
- * <li>
222
- * <p>ALL - Run the action on all identified targets. This is the default.</p>
223
- * </li>
224
- * <li>
225
- * <p>COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at random.
226
- * For example, COUNT(1) selects one of the targets.</p>
227
- * </li>
228
- * <li>
229
- * <p>PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets
230
- * at random. For example, PERCENT(25) selects 25% of the targets.</p>
231
- * </li>
232
- * </ul>
233
- */
129
+
234
130
  selectionMode: string | undefined;
235
131
  }
236
132
  export declare namespace CreateExperimentTemplateTargetInput {
237
- /**
238
- * @internal
239
- */
133
+
240
134
  const filterSensitiveLog: (obj: CreateExperimentTemplateTargetInput) => any;
241
135
  }
242
136
  export interface CreateExperimentTemplateRequest {
243
- /**
244
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
245
- */
137
+
246
138
  clientToken?: string;
247
- /**
248
- * <p>A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).</p>
249
- */
139
+
250
140
  description: string | undefined;
251
- /**
252
- * <p>The stop conditions.</p>
253
- */
141
+
254
142
  stopConditions: CreateExperimentTemplateStopConditionInput[] | undefined;
255
- /**
256
- * <p>The targets for the experiment.</p>
257
- */
143
+
258
144
  targets?: {
259
145
  [key: string]: CreateExperimentTemplateTargetInput;
260
146
  };
261
- /**
262
- * <p>The actions for the experiment.</p>
263
- */
147
+
264
148
  actions: {
265
149
  [key: string]: CreateExperimentTemplateActionInput;
266
150
  } | undefined;
267
- /**
268
- * <p>The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.</p>
269
- */
151
+
270
152
  roleArn: string | undefined;
271
- /**
272
- * <p>The tags to apply to the experiment template.</p>
273
- */
153
+
274
154
  tags?: {
275
155
  [key: string]: string;
276
156
  };
277
157
  }
278
158
  export declare namespace CreateExperimentTemplateRequest {
279
- /**
280
- * @internal
281
- */
159
+
282
160
  const filterSensitiveLog: (obj: CreateExperimentTemplateRequest) => any;
283
161
  }
284
- /**
285
- * <p>Describes an action for an experiment template.</p>
286
- */
162
+
287
163
  export interface ExperimentTemplateAction {
288
- /**
289
- * <p>The ID of the action.</p>
290
- */
164
+
291
165
  actionId?: string;
292
- /**
293
- * <p>A description for the action.</p>
294
- */
166
+
295
167
  description?: string;
296
- /**
297
- * <p>The parameters for the action.</p>
298
- */
168
+
299
169
  parameters?: {
300
170
  [key: string]: string;
301
171
  };
302
- /**
303
- * <p>The targets for the action.</p>
304
- */
172
+
305
173
  targets?: {
306
174
  [key: string]: string;
307
175
  };
308
- /**
309
- * <p>The name of the action that must be completed before the current action starts.</p>
310
- */
176
+
311
177
  startAfter?: string[];
312
178
  }
313
179
  export declare namespace ExperimentTemplateAction {
314
- /**
315
- * @internal
316
- */
180
+
317
181
  const filterSensitiveLog: (obj: ExperimentTemplateAction) => any;
318
182
  }
319
- /**
320
- * <p>Describes a stop condition for an experiment template.</p>
321
- */
183
+
322
184
  export interface ExperimentTemplateStopCondition {
323
- /**
324
- * <p>The source for the stop condition.</p>
325
- */
185
+
326
186
  source?: string;
327
- /**
328
- * <p>The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.</p>
329
- */
187
+
330
188
  value?: string;
331
189
  }
332
190
  export declare namespace ExperimentTemplateStopCondition {
333
- /**
334
- * @internal
335
- */
191
+
336
192
  const filterSensitiveLog: (obj: ExperimentTemplateStopCondition) => any;
337
193
  }
338
- /**
339
- * <p>Describes a filter used for the target resources in an experiment template.</p>
340
- */
194
+
341
195
  export interface ExperimentTemplateTargetFilter {
342
- /**
343
- * <p>The attribute path for the filter.</p>
344
- */
196
+
345
197
  path?: string;
346
- /**
347
- * <p>The attribute values for the filter.</p>
348
- */
198
+
349
199
  values?: string[];
350
200
  }
351
201
  export declare namespace ExperimentTemplateTargetFilter {
352
- /**
353
- * @internal
354
- */
202
+
355
203
  const filterSensitiveLog: (obj: ExperimentTemplateTargetFilter) => any;
356
204
  }
357
- /**
358
- * <p>Describes a target for an experiment template.</p>
359
- */
205
+
360
206
  export interface ExperimentTemplateTarget {
361
- /**
362
- * <p>The resource type.</p>
363
- */
207
+
364
208
  resourceType?: string;
365
- /**
366
- * <p>The Amazon Resource Names (ARNs) of the targets.</p>
367
- */
209
+
368
210
  resourceArns?: string[];
369
- /**
370
- * <p>The tags for the target resources.</p>
371
- */
211
+
372
212
  resourceTags?: {
373
213
  [key: string]: string;
374
214
  };
375
- /**
376
- * <p>The filters to apply to identify target resources using specific attributes.</p>
377
- */
215
+
378
216
  filters?: ExperimentTemplateTargetFilter[];
379
- /**
380
- * <p>Scopes the identified resources to a specific count or percentage.</p>
381
- */
217
+
382
218
  selectionMode?: string;
383
219
  }
384
220
  export declare namespace ExperimentTemplateTarget {
385
- /**
386
- * @internal
387
- */
221
+
388
222
  const filterSensitiveLog: (obj: ExperimentTemplateTarget) => any;
389
223
  }
390
- /**
391
- * <p>Describes an experiment template.</p>
392
- */
224
+
393
225
  export interface ExperimentTemplate {
394
- /**
395
- * <p>The ID of the experiment template.</p>
396
- */
226
+
397
227
  id?: string;
398
- /**
399
- * <p>The description for the experiment template.</p>
400
- */
228
+
401
229
  description?: string;
402
- /**
403
- * <p>The targets for the experiment.</p>
404
- */
230
+
405
231
  targets?: {
406
232
  [key: string]: ExperimentTemplateTarget;
407
233
  };
408
- /**
409
- * <p>The actions for the experiment.</p>
410
- */
234
+
411
235
  actions?: {
412
236
  [key: string]: ExperimentTemplateAction;
413
237
  };
414
- /**
415
- * <p>The stop conditions for the experiment.</p>
416
- */
238
+
417
239
  stopConditions?: ExperimentTemplateStopCondition[];
418
- /**
419
- * <p>The time the experiment template was created.</p>
420
- */
240
+
421
241
  creationTime?: Date;
422
- /**
423
- * <p>The time the experiment template was last updated.</p>
424
- */
242
+
425
243
  lastUpdateTime?: Date;
426
- /**
427
- * <p>The Amazon Resource Name (ARN) of an IAM role.</p>
428
- */
244
+
429
245
  roleArn?: string;
430
- /**
431
- * <p>The tags for the experiment template.</p>
432
- */
246
+
433
247
  tags?: {
434
248
  [key: string]: string;
435
249
  };
436
250
  }
437
251
  export declare namespace ExperimentTemplate {
438
- /**
439
- * @internal
440
- */
252
+
441
253
  const filterSensitiveLog: (obj: ExperimentTemplate) => any;
442
254
  }
443
255
  export interface CreateExperimentTemplateResponse {
444
- /**
445
- * <p>Information about the experiment template.</p>
446
- */
256
+
447
257
  experimentTemplate?: ExperimentTemplate;
448
258
  }
449
259
  export declare namespace CreateExperimentTemplateResponse {
450
- /**
451
- * @internal
452
- */
260
+
453
261
  const filterSensitiveLog: (obj: CreateExperimentTemplateResponse) => any;
454
262
  }
455
- /**
456
- * <p>The specified resource cannot be found.</p>
457
- */
263
+
458
264
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
459
265
  name: "ResourceNotFoundException";
460
266
  $fault: "client";
461
267
  message?: string;
462
268
  }
463
269
  export declare namespace ResourceNotFoundException {
464
- /**
465
- * @internal
466
- */
270
+
467
271
  const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
468
272
  }
469
- /**
470
- * <p>You have exceeded your service quota.</p>
471
- */
273
+
472
274
  export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
473
275
  name: "ServiceQuotaExceededException";
474
276
  $fault: "client";
475
277
  message?: string;
476
278
  }
477
279
  export declare namespace ServiceQuotaExceededException {
478
- /**
479
- * @internal
480
- */
280
+
481
281
  const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
482
282
  }
483
- /**
484
- * <p>The specified input is not valid, or fails to satisfy the constraints for the request.</p>
485
- */
283
+
486
284
  export interface ValidationException extends __SmithyException, $MetadataBearer {
487
285
  name: "ValidationException";
488
286
  $fault: "client";
489
287
  message?: string;
490
288
  }
491
289
  export declare namespace ValidationException {
492
- /**
493
- * @internal
494
- */
290
+
495
291
  const filterSensitiveLog: (obj: ValidationException) => any;
496
292
  }
497
293
  export interface DeleteExperimentTemplateRequest {
498
- /**
499
- * <p>The ID of the experiment template.</p>
500
- */
294
+
501
295
  id: string | undefined;
502
296
  }
503
297
  export declare namespace DeleteExperimentTemplateRequest {
504
- /**
505
- * @internal
506
- */
298
+
507
299
  const filterSensitiveLog: (obj: DeleteExperimentTemplateRequest) => any;
508
300
  }
509
301
  export interface DeleteExperimentTemplateResponse {
510
- /**
511
- * <p>Information about the experiment template.</p>
512
- */
302
+
513
303
  experimentTemplate?: ExperimentTemplate;
514
304
  }
515
305
  export declare namespace DeleteExperimentTemplateResponse {
516
- /**
517
- * @internal
518
- */
306
+
519
307
  const filterSensitiveLog: (obj: DeleteExperimentTemplateResponse) => any;
520
308
  }
521
309
  export declare enum ExperimentActionStatus {
@@ -528,62 +316,38 @@ export declare enum ExperimentActionStatus {
528
316
  stopped = "stopped",
529
317
  stopping = "stopping"
530
318
  }
531
- /**
532
- * <p>Describes the state of an action.</p>
533
- */
319
+
534
320
  export interface ExperimentActionState {
535
- /**
536
- * <p>The state of the action.</p>
537
- */
321
+
538
322
  status?: ExperimentActionStatus | string;
539
- /**
540
- * <p>The reason for the state.</p>
541
- */
323
+
542
324
  reason?: string;
543
325
  }
544
326
  export declare namespace ExperimentActionState {
545
- /**
546
- * @internal
547
- */
327
+
548
328
  const filterSensitiveLog: (obj: ExperimentActionState) => any;
549
329
  }
550
- /**
551
- * <p>Describes the action for an experiment.</p>
552
- */
330
+
553
331
  export interface ExperimentAction {
554
- /**
555
- * <p>The ID of the action.</p>
556
- */
332
+
557
333
  actionId?: string;
558
- /**
559
- * <p>The description for the action.</p>
560
- */
334
+
561
335
  description?: string;
562
- /**
563
- * <p>The parameters for the action.</p>
564
- */
336
+
565
337
  parameters?: {
566
338
  [key: string]: string;
567
339
  };
568
- /**
569
- * <p>The targets for the action.</p>
570
- */
340
+
571
341
  targets?: {
572
342
  [key: string]: string;
573
343
  };
574
- /**
575
- * <p>The name of the action that must be completed before this action starts.</p>
576
- */
344
+
577
345
  startAfter?: string[];
578
- /**
579
- * <p>The state of the action.</p>
580
- */
346
+
581
347
  state?: ExperimentActionState;
582
348
  }
583
349
  export declare namespace ExperimentAction {
584
- /**
585
- * @internal
586
- */
350
+
587
351
  const filterSensitiveLog: (obj: ExperimentAction) => any;
588
352
  }
589
353
  export declare enum ExperimentStatus {
@@ -595,659 +359,407 @@ export declare enum ExperimentStatus {
595
359
  stopped = "stopped",
596
360
  stopping = "stopping"
597
361
  }
598
- /**
599
- * <p>Describes the state of an experiment.</p>
600
- */
362
+
601
363
  export interface ExperimentState {
602
- /**
603
- * <p>The state of the experiment.</p>
604
- */
364
+
605
365
  status?: ExperimentStatus | string;
606
- /**
607
- * <p>The reason for the state.</p>
608
- */
366
+
609
367
  reason?: string;
610
368
  }
611
369
  export declare namespace ExperimentState {
612
- /**
613
- * @internal
614
- */
370
+
615
371
  const filterSensitiveLog: (obj: ExperimentState) => any;
616
372
  }
617
- /**
618
- * <p>Describes the stop condition for an experiment.</p>
619
- */
373
+
620
374
  export interface ExperimentStopCondition {
621
- /**
622
- * <p>The source for the stop condition.</p>
623
- */
375
+
624
376
  source?: string;
625
- /**
626
- * <p>The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.</p>
627
- */
377
+
628
378
  value?: string;
629
379
  }
630
380
  export declare namespace ExperimentStopCondition {
631
- /**
632
- * @internal
633
- */
381
+
634
382
  const filterSensitiveLog: (obj: ExperimentStopCondition) => any;
635
383
  }
636
- /**
637
- * <p>Describes a filter used for the target resources in an experiment.</p>
638
- */
384
+
639
385
  export interface ExperimentTargetFilter {
640
- /**
641
- * <p>The attribute path for the filter.</p>
642
- */
386
+
643
387
  path?: string;
644
- /**
645
- * <p>The attribute values for the filter.</p>
646
- */
388
+
647
389
  values?: string[];
648
390
  }
649
391
  export declare namespace ExperimentTargetFilter {
650
- /**
651
- * @internal
652
- */
392
+
653
393
  const filterSensitiveLog: (obj: ExperimentTargetFilter) => any;
654
394
  }
655
- /**
656
- * <p>Describes a target for an experiment.</p>
657
- */
395
+
658
396
  export interface ExperimentTarget {
659
- /**
660
- * <p>The resource type.</p>
661
- */
397
+
662
398
  resourceType?: string;
663
- /**
664
- * <p>The Amazon Resource Names (ARNs) of the resources.</p>
665
- */
399
+
666
400
  resourceArns?: string[];
667
- /**
668
- * <p>The tags for the target resources.</p>
669
- */
401
+
670
402
  resourceTags?: {
671
403
  [key: string]: string;
672
404
  };
673
- /**
674
- * <p>The filters to apply to identify target resources using specific attributes.</p>
675
- */
405
+
676
406
  filters?: ExperimentTargetFilter[];
677
- /**
678
- * <p>Scopes the identified resources to a specific count or percentage.</p>
679
- */
407
+
680
408
  selectionMode?: string;
681
409
  }
682
410
  export declare namespace ExperimentTarget {
683
- /**
684
- * @internal
685
- */
411
+
686
412
  const filterSensitiveLog: (obj: ExperimentTarget) => any;
687
413
  }
688
- /**
689
- * <p>Describes an experiment.</p>
690
- */
414
+
691
415
  export interface Experiment {
692
- /**
693
- * <p>The ID of the experiment.</p>
694
- */
416
+
695
417
  id?: string;
696
- /**
697
- * <p>The ID of the experiment template.</p>
698
- */
418
+
699
419
  experimentTemplateId?: string;
700
- /**
701
- * <p>The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.</p>
702
- */
420
+
703
421
  roleArn?: string;
704
- /**
705
- * <p>The state of the experiment.</p>
706
- */
422
+
707
423
  state?: ExperimentState;
708
- /**
709
- * <p>The targets for the experiment.</p>
710
- */
424
+
711
425
  targets?: {
712
426
  [key: string]: ExperimentTarget;
713
427
  };
714
- /**
715
- * <p>The actions for the experiment.</p>
716
- */
428
+
717
429
  actions?: {
718
430
  [key: string]: ExperimentAction;
719
431
  };
720
- /**
721
- * <p>The stop conditions for the experiment.</p>
722
- */
432
+
723
433
  stopConditions?: ExperimentStopCondition[];
724
- /**
725
- * <p>The time the experiment was created.</p>
726
- */
434
+
727
435
  creationTime?: Date;
728
- /**
729
- * <p>The time that the experiment was started.</p>
730
- */
436
+
731
437
  startTime?: Date;
732
- /**
733
- * <p>The time that the experiment ended.</p>
734
- */
438
+
735
439
  endTime?: Date;
736
- /**
737
- * <p>The tags for the experiment.</p>
738
- */
440
+
739
441
  tags?: {
740
442
  [key: string]: string;
741
443
  };
742
444
  }
743
445
  export declare namespace Experiment {
744
- /**
745
- * @internal
746
- */
446
+
747
447
  const filterSensitiveLog: (obj: Experiment) => any;
748
448
  }
749
- /**
750
- * <p>Provides a summary of an experiment.</p>
751
- */
449
+
752
450
  export interface ExperimentSummary {
753
- /**
754
- * <p>The ID of the experiment.</p>
755
- */
451
+
756
452
  id?: string;
757
- /**
758
- * <p>The ID of the experiment template.</p>
759
- */
453
+
760
454
  experimentTemplateId?: string;
761
- /**
762
- * <p>The state of the experiment.</p>
763
- */
455
+
764
456
  state?: ExperimentState;
765
- /**
766
- * <p>The time that the experiment was created.</p>
767
- */
457
+
768
458
  creationTime?: Date;
769
- /**
770
- * <p>The tags for the experiment.</p>
771
- */
459
+
772
460
  tags?: {
773
461
  [key: string]: string;
774
462
  };
775
463
  }
776
464
  export declare namespace ExperimentSummary {
777
- /**
778
- * @internal
779
- */
465
+
780
466
  const filterSensitiveLog: (obj: ExperimentSummary) => any;
781
467
  }
782
- /**
783
- * <p>Provides a summary of an experiment template.</p>
784
- */
468
+
785
469
  export interface ExperimentTemplateSummary {
786
- /**
787
- * <p>The ID of the experiment template.</p>
788
- */
470
+
789
471
  id?: string;
790
- /**
791
- * <p>The description of the experiment template.</p>
792
- */
472
+
793
473
  description?: string;
794
- /**
795
- * <p>The time that the experiment template was created.</p>
796
- */
474
+
797
475
  creationTime?: Date;
798
- /**
799
- * <p>The time that the experiment template was last updated.</p>
800
- */
476
+
801
477
  lastUpdateTime?: Date;
802
- /**
803
- * <p>The tags for the experiment template.</p>
804
- */
478
+
805
479
  tags?: {
806
480
  [key: string]: string;
807
481
  };
808
482
  }
809
483
  export declare namespace ExperimentTemplateSummary {
810
- /**
811
- * @internal
812
- */
484
+
813
485
  const filterSensitiveLog: (obj: ExperimentTemplateSummary) => any;
814
486
  }
815
487
  export interface GetActionRequest {
816
- /**
817
- * <p>The ID of the action.</p>
818
- */
488
+
819
489
  id: string | undefined;
820
490
  }
821
491
  export declare namespace GetActionRequest {
822
- /**
823
- * @internal
824
- */
492
+
825
493
  const filterSensitiveLog: (obj: GetActionRequest) => any;
826
494
  }
827
495
  export interface GetActionResponse {
828
- /**
829
- * <p>Information about the action.</p>
830
- */
496
+
831
497
  action?: Action;
832
498
  }
833
499
  export declare namespace GetActionResponse {
834
- /**
835
- * @internal
836
- */
500
+
837
501
  const filterSensitiveLog: (obj: GetActionResponse) => any;
838
502
  }
839
503
  export interface GetExperimentRequest {
840
- /**
841
- * <p>The ID of the experiment.</p>
842
- */
504
+
843
505
  id: string | undefined;
844
506
  }
845
507
  export declare namespace GetExperimentRequest {
846
- /**
847
- * @internal
848
- */
508
+
849
509
  const filterSensitiveLog: (obj: GetExperimentRequest) => any;
850
510
  }
851
511
  export interface GetExperimentResponse {
852
- /**
853
- * <p>Information about the experiment.</p>
854
- */
512
+
855
513
  experiment?: Experiment;
856
514
  }
857
515
  export declare namespace GetExperimentResponse {
858
- /**
859
- * @internal
860
- */
516
+
861
517
  const filterSensitiveLog: (obj: GetExperimentResponse) => any;
862
518
  }
863
519
  export interface GetExperimentTemplateRequest {
864
- /**
865
- * <p>The ID of the experiment template.</p>
866
- */
520
+
867
521
  id: string | undefined;
868
522
  }
869
523
  export declare namespace GetExperimentTemplateRequest {
870
- /**
871
- * @internal
872
- */
524
+
873
525
  const filterSensitiveLog: (obj: GetExperimentTemplateRequest) => any;
874
526
  }
875
527
  export interface GetExperimentTemplateResponse {
876
- /**
877
- * <p>Information about the experiment template.</p>
878
- */
528
+
879
529
  experimentTemplate?: ExperimentTemplate;
880
530
  }
881
531
  export declare namespace GetExperimentTemplateResponse {
882
- /**
883
- * @internal
884
- */
532
+
885
533
  const filterSensitiveLog: (obj: GetExperimentTemplateResponse) => any;
886
534
  }
887
535
  export interface ListActionsRequest {
888
- /**
889
- * <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
890
- */
536
+
891
537
  maxResults?: number;
892
- /**
893
- * <p>The token for the next page of results.</p>
894
- */
538
+
895
539
  nextToken?: string;
896
540
  }
897
541
  export declare namespace ListActionsRequest {
898
- /**
899
- * @internal
900
- */
542
+
901
543
  const filterSensitiveLog: (obj: ListActionsRequest) => any;
902
544
  }
903
545
  export interface ListActionsResponse {
904
- /**
905
- * <p>The actions.</p>
906
- */
546
+
907
547
  actions?: ActionSummary[];
908
- /**
909
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
910
- */
548
+
911
549
  nextToken?: string;
912
550
  }
913
551
  export declare namespace ListActionsResponse {
914
- /**
915
- * @internal
916
- */
552
+
917
553
  const filterSensitiveLog: (obj: ListActionsResponse) => any;
918
554
  }
919
555
  export interface ListExperimentsRequest {
920
- /**
921
- * <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
922
- */
556
+
923
557
  maxResults?: number;
924
- /**
925
- * <p>The token for the next page of results.</p>
926
- */
558
+
927
559
  nextToken?: string;
928
560
  }
929
561
  export declare namespace ListExperimentsRequest {
930
- /**
931
- * @internal
932
- */
562
+
933
563
  const filterSensitiveLog: (obj: ListExperimentsRequest) => any;
934
564
  }
935
565
  export interface ListExperimentsResponse {
936
- /**
937
- * <p>The experiments.</p>
938
- */
566
+
939
567
  experiments?: ExperimentSummary[];
940
- /**
941
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
942
- */
568
+
943
569
  nextToken?: string;
944
570
  }
945
571
  export declare namespace ListExperimentsResponse {
946
- /**
947
- * @internal
948
- */
572
+
949
573
  const filterSensitiveLog: (obj: ListExperimentsResponse) => any;
950
574
  }
951
575
  export interface ListExperimentTemplatesRequest {
952
- /**
953
- * <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
954
- */
576
+
955
577
  maxResults?: number;
956
- /**
957
- * <p>The token for the next page of results.</p>
958
- */
578
+
959
579
  nextToken?: string;
960
580
  }
961
581
  export declare namespace ListExperimentTemplatesRequest {
962
- /**
963
- * @internal
964
- */
582
+
965
583
  const filterSensitiveLog: (obj: ListExperimentTemplatesRequest) => any;
966
584
  }
967
585
  export interface ListExperimentTemplatesResponse {
968
- /**
969
- * <p>The experiment templates.</p>
970
- */
586
+
971
587
  experimentTemplates?: ExperimentTemplateSummary[];
972
- /**
973
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
974
- */
588
+
975
589
  nextToken?: string;
976
590
  }
977
591
  export declare namespace ListExperimentTemplatesResponse {
978
- /**
979
- * @internal
980
- */
592
+
981
593
  const filterSensitiveLog: (obj: ListExperimentTemplatesResponse) => any;
982
594
  }
983
595
  export interface ListTagsForResourceRequest {
984
- /**
985
- * <p>The Amazon Resource Name (ARN) of the resource.</p>
986
- */
596
+
987
597
  resourceArn: string | undefined;
988
598
  }
989
599
  export declare namespace ListTagsForResourceRequest {
990
- /**
991
- * @internal
992
- */
600
+
993
601
  const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
994
602
  }
995
603
  export interface ListTagsForResourceResponse {
996
- /**
997
- * <p>The tags for the resource.</p>
998
- */
604
+
999
605
  tags?: {
1000
606
  [key: string]: string;
1001
607
  };
1002
608
  }
1003
609
  export declare namespace ListTagsForResourceResponse {
1004
- /**
1005
- * @internal
1006
- */
610
+
1007
611
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1008
612
  }
1009
613
  export interface StartExperimentRequest {
1010
- /**
1011
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
1012
- */
614
+
1013
615
  clientToken?: string;
1014
- /**
1015
- * <p>The ID of the experiment template.</p>
1016
- */
616
+
1017
617
  experimentTemplateId: string | undefined;
1018
- /**
1019
- * <p>The tags to apply to the experiment.</p>
1020
- */
618
+
1021
619
  tags?: {
1022
620
  [key: string]: string;
1023
621
  };
1024
622
  }
1025
623
  export declare namespace StartExperimentRequest {
1026
- /**
1027
- * @internal
1028
- */
624
+
1029
625
  const filterSensitiveLog: (obj: StartExperimentRequest) => any;
1030
626
  }
1031
627
  export interface StartExperimentResponse {
1032
- /**
1033
- * <p>Information about the experiment.</p>
1034
- */
628
+
1035
629
  experiment?: Experiment;
1036
630
  }
1037
631
  export declare namespace StartExperimentResponse {
1038
- /**
1039
- * @internal
1040
- */
632
+
1041
633
  const filterSensitiveLog: (obj: StartExperimentResponse) => any;
1042
634
  }
1043
635
  export interface StopExperimentRequest {
1044
- /**
1045
- * <p>The ID of the experiment.</p>
1046
- */
636
+
1047
637
  id: string | undefined;
1048
638
  }
1049
639
  export declare namespace StopExperimentRequest {
1050
- /**
1051
- * @internal
1052
- */
640
+
1053
641
  const filterSensitiveLog: (obj: StopExperimentRequest) => any;
1054
642
  }
1055
643
  export interface StopExperimentResponse {
1056
- /**
1057
- * <p>Information about the experiment.</p>
1058
- */
644
+
1059
645
  experiment?: Experiment;
1060
646
  }
1061
647
  export declare namespace StopExperimentResponse {
1062
- /**
1063
- * @internal
1064
- */
648
+
1065
649
  const filterSensitiveLog: (obj: StopExperimentResponse) => any;
1066
650
  }
1067
651
  export interface TagResourceRequest {
1068
- /**
1069
- * <p>The Amazon Resource Name (ARN) of the resource.</p>
1070
- */
652
+
1071
653
  resourceArn: string | undefined;
1072
- /**
1073
- * <p>The tags for the resource.</p>
1074
- */
654
+
1075
655
  tags: {
1076
656
  [key: string]: string;
1077
657
  } | undefined;
1078
658
  }
1079
659
  export declare namespace TagResourceRequest {
1080
- /**
1081
- * @internal
1082
- */
660
+
1083
661
  const filterSensitiveLog: (obj: TagResourceRequest) => any;
1084
662
  }
1085
663
  export interface TagResourceResponse {
1086
664
  }
1087
665
  export declare namespace TagResourceResponse {
1088
- /**
1089
- * @internal
1090
- */
666
+
1091
667
  const filterSensitiveLog: (obj: TagResourceResponse) => any;
1092
668
  }
1093
669
  export interface UntagResourceRequest {
1094
- /**
1095
- * <p>The Amazon Resource Name (ARN) of the resource.</p>
1096
- */
670
+
1097
671
  resourceArn: string | undefined;
1098
- /**
1099
- * <p>The tag keys to remove.</p>
1100
- */
672
+
1101
673
  tagKeys?: string[];
1102
674
  }
1103
675
  export declare namespace UntagResourceRequest {
1104
- /**
1105
- * @internal
1106
- */
676
+
1107
677
  const filterSensitiveLog: (obj: UntagResourceRequest) => any;
1108
678
  }
1109
679
  export interface UntagResourceResponse {
1110
680
  }
1111
681
  export declare namespace UntagResourceResponse {
1112
- /**
1113
- * @internal
1114
- */
682
+
1115
683
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
1116
684
  }
1117
- /**
1118
- * <p>Specifies an action for an experiment template.</p>
1119
- */
685
+
1120
686
  export interface UpdateExperimentTemplateActionInputItem {
1121
- /**
1122
- * <p>The ID of the action.</p>
1123
- */
687
+
1124
688
  actionId?: string;
1125
- /**
1126
- * <p>A description for the action.</p>
1127
- */
689
+
1128
690
  description?: string;
1129
- /**
1130
- * <p>The parameters for the action, if applicable.</p>
1131
- */
691
+
1132
692
  parameters?: {
1133
693
  [key: string]: string;
1134
694
  };
1135
- /**
1136
- * <p>The targets for the action.</p>
1137
- */
695
+
1138
696
  targets?: {
1139
697
  [key: string]: string;
1140
698
  };
1141
- /**
1142
- * <p>The name of the action that must be completed before the current action starts. Omit this parameter to run the action at the start of the experiment.</p>
1143
- */
699
+
1144
700
  startAfter?: string[];
1145
701
  }
1146
702
  export declare namespace UpdateExperimentTemplateActionInputItem {
1147
- /**
1148
- * @internal
1149
- */
703
+
1150
704
  const filterSensitiveLog: (obj: UpdateExperimentTemplateActionInputItem) => any;
1151
705
  }
1152
- /**
1153
- * <p>Specifies a stop condition for an experiment. You can define a stop condition as a CloudWatch alarm.</p>
1154
- */
706
+
1155
707
  export interface UpdateExperimentTemplateStopConditionInput {
1156
- /**
1157
- * <p>The source for the stop condition. Specify <code>aws:cloudwatch:alarm</code> if the stop
1158
- * condition is defined by a CloudWatch alarm. Specify <code>none</code> if there is no stop
1159
- * condition.</p>
1160
- */
708
+
1161
709
  source: string | undefined;
1162
- /**
1163
- * <p>The Amazon Resource Name (ARN) of the CloudWatch alarm.</p>
1164
- */
710
+
1165
711
  value?: string;
1166
712
  }
1167
713
  export declare namespace UpdateExperimentTemplateStopConditionInput {
1168
- /**
1169
- * @internal
1170
- */
714
+
1171
715
  const filterSensitiveLog: (obj: UpdateExperimentTemplateStopConditionInput) => any;
1172
716
  }
1173
- /**
1174
- * <p>Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both.</p>
1175
- */
717
+
1176
718
  export interface UpdateExperimentTemplateTargetInput {
1177
- /**
1178
- * <p>The AWS resource type. The resource type must be supported for the specified action.</p>
1179
- */
719
+
1180
720
  resourceType: string | undefined;
1181
- /**
1182
- * <p>The Amazon Resource Names (ARNs) of the targets.</p>
1183
- */
721
+
1184
722
  resourceArns?: string[];
1185
- /**
1186
- * <p>The tags for the target resources.</p>
1187
- */
723
+
1188
724
  resourceTags?: {
1189
725
  [key: string]: string;
1190
726
  };
1191
- /**
1192
- * <p>The filters to apply to identify target resources using specific attributes.</p>
1193
- */
727
+
1194
728
  filters?: ExperimentTemplateTargetInputFilter[];
1195
- /**
1196
- * <p>Scopes the identified resources to a specific count or percentage.</p>
1197
- */
729
+
1198
730
  selectionMode: string | undefined;
1199
731
  }
1200
732
  export declare namespace UpdateExperimentTemplateTargetInput {
1201
- /**
1202
- * @internal
1203
- */
733
+
1204
734
  const filterSensitiveLog: (obj: UpdateExperimentTemplateTargetInput) => any;
1205
735
  }
1206
736
  export interface UpdateExperimentTemplateRequest {
1207
- /**
1208
- * <p>The ID of the experiment template.</p>
1209
- */
737
+
1210
738
  id: string | undefined;
1211
- /**
1212
- * <p>A description for the template.</p>
1213
- */
739
+
1214
740
  description?: string;
1215
- /**
1216
- * <p>The stop conditions for the experiment.</p>
1217
- */
741
+
1218
742
  stopConditions?: UpdateExperimentTemplateStopConditionInput[];
1219
- /**
1220
- * <p>The targets for the experiment.</p>
1221
- */
743
+
1222
744
  targets?: {
1223
745
  [key: string]: UpdateExperimentTemplateTargetInput;
1224
746
  };
1225
- /**
1226
- * <p>The actions for the experiment.</p>
1227
- */
747
+
1228
748
  actions?: {
1229
749
  [key: string]: UpdateExperimentTemplateActionInputItem;
1230
750
  };
1231
- /**
1232
- * <p>The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.</p>
1233
- */
751
+
1234
752
  roleArn?: string;
1235
753
  }
1236
754
  export declare namespace UpdateExperimentTemplateRequest {
1237
- /**
1238
- * @internal
1239
- */
755
+
1240
756
  const filterSensitiveLog: (obj: UpdateExperimentTemplateRequest) => any;
1241
757
  }
1242
758
  export interface UpdateExperimentTemplateResponse {
1243
- /**
1244
- * <p>Information about the experiment template.</p>
1245
- */
759
+
1246
760
  experimentTemplate?: ExperimentTemplate;
1247
761
  }
1248
762
  export declare namespace UpdateExperimentTemplateResponse {
1249
- /**
1250
- * @internal
1251
- */
763
+
1252
764
  const filterSensitiveLog: (obj: UpdateExperimentTemplateResponse) => any;
1253
765
  }