@aws-sdk/client-fis 3.629.0 → 3.630.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 CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript Fis Client for Node.js, Browser and React Native.
8
8
 
9
- <p>Fault Injection Service is a managed service that enables you to perform fault injection
9
+ <p>Amazon Web Services Fault Injection Service is a managed service that enables you to perform fault injection
10
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>
11
11
 
12
12
  ## Installing
@@ -175,7 +175,7 @@ export interface Fis {
175
175
  updateTargetAccountConfiguration(args: UpdateTargetAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTargetAccountConfigurationCommandOutput) => void): void;
176
176
  }
177
177
  /**
178
- * <p>Fault Injection Service is a managed service that enables you to perform fault injection
178
+ * <p>Amazon Web Services Fault Injection Service is a managed service that enables you to perform fault injection
179
179
  * 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>
180
180
  * @public
181
181
  */
@@ -175,7 +175,7 @@ export type FisClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
175
175
  export interface FisClientResolvedConfig extends FisClientResolvedConfigType {
176
176
  }
177
177
  /**
178
- * <p>Fault Injection Service is a managed service that enables you to perform fault injection
178
+ * <p>Amazon Web Services Fault Injection Service is a managed service that enables you to perform fault injection
179
179
  * 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>
180
180
  * @public
181
181
  */
@@ -48,6 +48,11 @@ declare const GetExperimentCommand_base: {
48
48
  * // state: { // ExperimentState
49
49
  * // status: "pending" || "initiating" || "running" || "completed" || "stopping" || "stopped" || "failed",
50
50
  * // reason: "STRING_VALUE",
51
+ * // error: { // ExperimentError
52
+ * // accountId: "STRING_VALUE",
53
+ * // code: "STRING_VALUE",
54
+ * // location: "STRING_VALUE",
55
+ * // },
51
56
  * // },
52
57
  * // targets: { // ExperimentTargetMap
53
58
  * // "<keys>": { // ExperimentTarget
@@ -50,6 +50,11 @@ declare const ListExperimentsCommand_base: {
50
50
  * // state: { // ExperimentState
51
51
  * // status: "pending" || "initiating" || "running" || "completed" || "stopping" || "stopped" || "failed",
52
52
  * // reason: "STRING_VALUE",
53
+ * // error: { // ExperimentError
54
+ * // accountId: "STRING_VALUE",
55
+ * // code: "STRING_VALUE",
56
+ * // location: "STRING_VALUE",
57
+ * // },
53
58
  * // },
54
59
  * // creationTime: new Date("TIMESTAMP"),
55
60
  * // tags: { // TagMap
@@ -55,6 +55,11 @@ declare const StartExperimentCommand_base: {
55
55
  * // state: { // ExperimentState
56
56
  * // status: "pending" || "initiating" || "running" || "completed" || "stopping" || "stopped" || "failed",
57
57
  * // reason: "STRING_VALUE",
58
+ * // error: { // ExperimentError
59
+ * // accountId: "STRING_VALUE",
60
+ * // code: "STRING_VALUE",
61
+ * // location: "STRING_VALUE",
62
+ * // },
58
63
  * // },
59
64
  * // targets: { // ExperimentTargetMap
60
65
  * // "<keys>": { // ExperimentTarget
@@ -48,6 +48,11 @@ declare const StopExperimentCommand_base: {
48
48
  * // state: { // ExperimentState
49
49
  * // status: "pending" || "initiating" || "running" || "completed" || "stopping" || "stopped" || "failed",
50
50
  * // reason: "STRING_VALUE",
51
+ * // error: { // ExperimentError
52
+ * // accountId: "STRING_VALUE",
53
+ * // code: "STRING_VALUE",
54
+ * // location: "STRING_VALUE",
55
+ * // },
51
56
  * // },
52
57
  * // targets: { // ExperimentTargetMap
53
58
  * // "<keys>": { // ExperimentTarget
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <p>Fault Injection Service is a managed service that enables you to perform fault injection
2
+ * <p>Amazon Web Services Fault Injection Service is a managed service that enables you to perform fault injection
3
3
  * 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>
4
4
  *
5
5
  * @packageDocumentation
@@ -915,6 +915,27 @@ export interface ExperimentLogConfiguration {
915
915
  */
916
916
  logSchemaVersion?: number;
917
917
  }
918
+ /**
919
+ * <p>Describes the error when an experiment has <code>failed</code>.</p>
920
+ * @public
921
+ */
922
+ export interface ExperimentError {
923
+ /**
924
+ * <p>The Amazon Web Services Account ID where the experiment failure occurred.</p>
925
+ * @public
926
+ */
927
+ accountId?: string;
928
+ /**
929
+ * <p>The error code for the failed experiment.</p>
930
+ * @public
931
+ */
932
+ code?: string;
933
+ /**
934
+ * <p>Context for the section of the experiment template that failed.</p>
935
+ * @public
936
+ */
937
+ location?: string;
938
+ }
918
939
  /**
919
940
  * @public
920
941
  * @enum
@@ -947,6 +968,11 @@ export interface ExperimentState {
947
968
  * @public
948
969
  */
949
970
  reason?: string;
971
+ /**
972
+ * <p>The error information of the experiment when the action has <code>failed</code>.</p>
973
+ * @public
974
+ */
975
+ error?: ExperimentError;
950
976
  }
951
977
  /**
952
978
  * <p>Describes the stop condition for an experiment.</p>
@@ -244,6 +244,11 @@ export interface ExperimentLogConfiguration {
244
244
  s3Configuration?: ExperimentS3LogConfiguration;
245
245
  logSchemaVersion?: number;
246
246
  }
247
+ export interface ExperimentError {
248
+ accountId?: string;
249
+ code?: string;
250
+ location?: string;
251
+ }
247
252
  export declare const ExperimentStatus: {
248
253
  readonly completed: "completed";
249
254
  readonly failed: "failed";
@@ -258,6 +263,7 @@ export type ExperimentStatus =
258
263
  export interface ExperimentState {
259
264
  status?: ExperimentStatus;
260
265
  reason?: string;
266
+ error?: ExperimentError;
261
267
  }
262
268
  export interface ExperimentStopCondition {
263
269
  source?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-fis",
3
3
  "description": "AWS SDK for JavaScript Fis Client for Node.js, Browser and React Native",
4
- "version": "3.629.0",
4
+ "version": "3.630.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-fis",