Skip to content

Commit 4620a92

Browse files
author
awstools
committed
feat(client-fis): This release adds support for previewing target resources before running a FIS experiment. It also adds resource ARNs for actions, experiments, and experiment templates to API responses.
1 parent 7cde1da commit 4620a92

19 files changed

+251
-39
lines changed

clients/client-fis/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
AWS SDK for JavaScript Fis Client for Node.js, Browser and React Native.
88

9-
<p>Fault Injection Simulator is a managed service that enables you to perform fault injection
10-
experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Simulator User Guide</a>.</p>
9+
<p>Fault Injection Service is a managed service that enables you to perform fault injection
10+
experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Service User Guide</a>.</p>
1111

1212
## Installing
1313

clients/client-fis/src/Fis.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,8 @@ export interface Fis {
512512

513513
/**
514514
* @public
515-
* <p>Fault Injection Simulator is a managed service that enables you to perform fault injection
516-
* experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Simulator User Guide</a>.</p>
515+
* <p>Fault Injection Service is a managed service that enables you to perform fault injection
516+
* experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Service User Guide</a>.</p>
517517
*/
518518
export class Fis extends FisClient implements Fis {}
519519
createAggregatedClient(commands, Fis);

clients/client-fis/src/FisClient.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ export interface FisClientResolvedConfig extends FisClientResolvedConfigType {}
367367

368368
/**
369369
* @public
370-
* <p>Fault Injection Simulator is a managed service that enables you to perform fault injection
371-
* experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Simulator User Guide</a>.</p>
370+
* <p>Fault Injection Service is a managed service that enables you to perform fault injection
371+
* experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Service User Guide</a>.</p>
372372
*/
373373
export class FisClient extends __Client<
374374
__HttpHandlerOptions,

clients/client-fis/src/commands/CreateExperimentTemplateCommand.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
5050
* </li>
5151
* </ul>
5252
* <p>For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html">experiment templates</a>
53-
* in the <i>Fault Injection Simulator User Guide</i>.</p>
53+
* in the <i>Fault Injection Service User Guide</i>.</p>
5454
* @example
5555
* Use a bare-bones client and the command you need to make an API call.
5656
* ```javascript
@@ -128,6 +128,7 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
128128
* // { // CreateExperimentTemplateResponse
129129
* // experimentTemplate: { // ExperimentTemplate
130130
* // id: "STRING_VALUE",
131+
* // arn: "STRING_VALUE",
131132
* // description: "STRING_VALUE",
132133
* // targets: { // ExperimentTemplateTargetMap
133134
* // "<keys>": { // ExperimentTemplateTarget

clients/client-fis/src/commands/CreateTargetAccountConfigurationCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface CreateTargetAccountConfigurationCommandOutput
3636
* <p>Creates a target account configuration for the experiment template. A target account configuration
3737
* is required when <code>accountTargeting</code> of <code>experimentOptions</code> is set to <code>multi-account</code>.
3838
* For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-options.html">experiment options</a>
39-
* in the <i>Fault Injection Simulator User Guide</i>.
39+
* in the <i>Fault Injection Service User Guide</i>.
4040
* </p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.

clients/client-fis/src/commands/DeleteExperimentTemplateCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export interface DeleteExperimentTemplateCommandOutput extends DeleteExperimentT
4343
* // { // DeleteExperimentTemplateResponse
4444
* // experimentTemplate: { // ExperimentTemplate
4545
* // id: "STRING_VALUE",
46+
* // arn: "STRING_VALUE",
4647
* // description: "STRING_VALUE",
4748
* // targets: { // ExperimentTemplateTargetMap
4849
* // "<keys>": { // ExperimentTemplateTarget

clients/client-fis/src/commands/GetActionCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export interface GetActionCommandOutput extends GetActionResponse, __MetadataBea
4343
* // { // GetActionResponse
4444
* // action: { // Action
4545
* // id: "STRING_VALUE",
46+
* // arn: "STRING_VALUE",
4647
* // description: "STRING_VALUE",
4748
* // parameters: { // ActionParameterMap
4849
* // "<keys>": { // ActionParameter

clients/client-fis/src/commands/GetExperimentCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export interface GetExperimentCommandOutput extends GetExperimentResponse, __Met
4343
* // { // GetExperimentResponse
4444
* // experiment: { // Experiment
4545
* // id: "STRING_VALUE",
46+
* // arn: "STRING_VALUE",
4647
* // experimentTemplateId: "STRING_VALUE",
4748
* // roleArn: "STRING_VALUE",
4849
* // state: { // ExperimentState
@@ -118,6 +119,7 @@ export interface GetExperimentCommandOutput extends GetExperimentResponse, __Met
118119
* // experimentOptions: { // ExperimentOptions
119120
* // accountTargeting: "single-account" || "multi-account",
120121
* // emptyTargetResolutionMode: "fail" || "skip",
122+
* // actionsMode: "skip-all" || "run-all",
121123
* // },
122124
* // targetAccountConfigurationsCount: Number("long"),
123125
* // },

clients/client-fis/src/commands/GetExperimentTemplateCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export interface GetExperimentTemplateCommandOutput extends GetExperimentTemplat
4343
* // { // GetExperimentTemplateResponse
4444
* // experimentTemplate: { // ExperimentTemplate
4545
* // id: "STRING_VALUE",
46+
* // arn: "STRING_VALUE",
4647
* // description: "STRING_VALUE",
4748
* // targets: { // ExperimentTemplateTargetMap
4849
* // "<keys>": { // ExperimentTemplateTarget

clients/client-fis/src/commands/ListActionsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface ListActionsCommandOutput extends ListActionsResponse, __Metadat
4545
* // actions: [ // ActionSummaryList
4646
* // { // ActionSummary
4747
* // id: "STRING_VALUE",
48+
* // arn: "STRING_VALUE",
4849
* // description: "STRING_VALUE",
4950
* // targets: { // ActionTargetMap
5051
* // "<keys>": { // ActionTarget

clients/client-fis/src/commands/ListExperimentTemplatesCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface ListExperimentTemplatesCommandOutput extends ListExperimentTemp
4545
* // experimentTemplates: [ // ExperimentTemplateSummaryList
4646
* // { // ExperimentTemplateSummary
4747
* // id: "STRING_VALUE",
48+
* // arn: "STRING_VALUE",
4849
* // description: "STRING_VALUE",
4950
* // creationTime: new Date("TIMESTAMP"),
5051
* // lastUpdateTime: new Date("TIMESTAMP"),

clients/client-fis/src/commands/ListExperimentsCommand.ts

+7
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ export interface ListExperimentsCommandOutput extends ListExperimentsResponse, _
3838
* const input = { // ListExperimentsRequest
3939
* maxResults: Number("int"),
4040
* nextToken: "STRING_VALUE",
41+
* experimentTemplateId: "STRING_VALUE",
4142
* };
4243
* const command = new ListExperimentsCommand(input);
4344
* const response = await client.send(command);
4445
* // { // ListExperimentsResponse
4546
* // experiments: [ // ExperimentSummaryList
4647
* // { // ExperimentSummary
4748
* // id: "STRING_VALUE",
49+
* // arn: "STRING_VALUE",
4850
* // experimentTemplateId: "STRING_VALUE",
4951
* // state: { // ExperimentState
5052
* // status: "pending" || "initiating" || "running" || "completed" || "stopping" || "stopped" || "failed",
@@ -54,6 +56,11 @@ export interface ListExperimentsCommandOutput extends ListExperimentsResponse, _
5456
* // tags: { // TagMap
5557
* // "<keys>": "STRING_VALUE",
5658
* // },
59+
* // experimentOptions: { // ExperimentOptions
60+
* // accountTargeting: "single-account" || "multi-account",
61+
* // emptyTargetResolutionMode: "fail" || "skip",
62+
* // actionsMode: "skip-all" || "run-all",
63+
* // },
5764
* // },
5865
* // ],
5966
* // nextToken: "STRING_VALUE",

clients/client-fis/src/commands/StartExperimentCommand.ts

+5
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ export interface StartExperimentCommandOutput extends StartExperimentResponse, _
3838
* const input = { // StartExperimentRequest
3939
* clientToken: "STRING_VALUE", // required
4040
* experimentTemplateId: "STRING_VALUE", // required
41+
* experimentOptions: { // StartExperimentExperimentOptionsInput
42+
* actionsMode: "skip-all" || "run-all",
43+
* },
4144
* tags: { // TagMap
4245
* "<keys>": "STRING_VALUE",
4346
* },
@@ -47,6 +50,7 @@ export interface StartExperimentCommandOutput extends StartExperimentResponse, _
4750
* // { // StartExperimentResponse
4851
* // experiment: { // Experiment
4952
* // id: "STRING_VALUE",
53+
* // arn: "STRING_VALUE",
5054
* // experimentTemplateId: "STRING_VALUE",
5155
* // roleArn: "STRING_VALUE",
5256
* // state: { // ExperimentState
@@ -122,6 +126,7 @@ export interface StartExperimentCommandOutput extends StartExperimentResponse, _
122126
* // experimentOptions: { // ExperimentOptions
123127
* // accountTargeting: "single-account" || "multi-account",
124128
* // emptyTargetResolutionMode: "fail" || "skip",
129+
* // actionsMode: "skip-all" || "run-all",
125130
* // },
126131
* // targetAccountConfigurationsCount: Number("long"),
127132
* // },

clients/client-fis/src/commands/StopExperimentCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export interface StopExperimentCommandOutput extends StopExperimentResponse, __M
4343
* // { // StopExperimentResponse
4444
* // experiment: { // Experiment
4545
* // id: "STRING_VALUE",
46+
* // arn: "STRING_VALUE",
4647
* // experimentTemplateId: "STRING_VALUE",
4748
* // roleArn: "STRING_VALUE",
4849
* // state: { // ExperimentState
@@ -118,6 +119,7 @@ export interface StopExperimentCommandOutput extends StopExperimentResponse, __M
118119
* // experimentOptions: { // ExperimentOptions
119120
* // accountTargeting: "single-account" || "multi-account",
120121
* // emptyTargetResolutionMode: "fail" || "skip",
122+
* // actionsMode: "skip-all" || "run-all",
121123
* // },
122124
* // targetAccountConfigurationsCount: Number("long"),
123125
* // },

clients/client-fis/src/commands/UpdateExperimentTemplateCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export interface UpdateExperimentTemplateCommandOutput extends UpdateExperimentT
102102
* // { // UpdateExperimentTemplateResponse
103103
* // experimentTemplate: { // ExperimentTemplate
104104
* // id: "STRING_VALUE",
105+
* // arn: "STRING_VALUE",
105106
* // description: "STRING_VALUE",
106107
* // targets: { // ExperimentTemplateTargetMap
107108
* // "<keys>": { // ExperimentTemplateTarget

clients/client-fis/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// smithy-typescript generated code
22
/* eslint-disable */
33
/**
4-
* <p>Fault Injection Simulator is a managed service that enables you to perform fault injection
5-
* experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Simulator User Guide</a>.</p>
4+
* <p>Fault Injection Service is a managed service that enables you to perform fault injection
5+
* experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Service User Guide</a>.</p>
66
*
77
* @packageDocumentation
88
*/

0 commit comments

Comments
 (0)