@aws-sdk/client-fis 3.301.0 → 3.303.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.
@@ -54,24 +54,22 @@ class ValidationException extends FisServiceException_1.FisServiceException {
54
54
  }
55
55
  }
56
56
  exports.ValidationException = ValidationException;
57
- var ExperimentActionStatus;
58
- (function (ExperimentActionStatus) {
59
- ExperimentActionStatus["cancelled"] = "cancelled";
60
- ExperimentActionStatus["completed"] = "completed";
61
- ExperimentActionStatus["failed"] = "failed";
62
- ExperimentActionStatus["initiating"] = "initiating";
63
- ExperimentActionStatus["pending"] = "pending";
64
- ExperimentActionStatus["running"] = "running";
65
- ExperimentActionStatus["stopped"] = "stopped";
66
- ExperimentActionStatus["stopping"] = "stopping";
67
- })(ExperimentActionStatus = exports.ExperimentActionStatus || (exports.ExperimentActionStatus = {}));
68
- var ExperimentStatus;
69
- (function (ExperimentStatus) {
70
- ExperimentStatus["completed"] = "completed";
71
- ExperimentStatus["failed"] = "failed";
72
- ExperimentStatus["initiating"] = "initiating";
73
- ExperimentStatus["pending"] = "pending";
74
- ExperimentStatus["running"] = "running";
75
- ExperimentStatus["stopped"] = "stopped";
76
- ExperimentStatus["stopping"] = "stopping";
77
- })(ExperimentStatus = exports.ExperimentStatus || (exports.ExperimentStatus = {}));
57
+ exports.ExperimentActionStatus = {
58
+ cancelled: "cancelled",
59
+ completed: "completed",
60
+ failed: "failed",
61
+ initiating: "initiating",
62
+ pending: "pending",
63
+ running: "running",
64
+ stopped: "stopped",
65
+ stopping: "stopping",
66
+ };
67
+ exports.ExperimentStatus = {
68
+ completed: "completed",
69
+ failed: "failed",
70
+ initiating: "initiating",
71
+ pending: "pending",
72
+ running: "running",
73
+ stopped: "stopped",
74
+ stopping: "stopping",
75
+ };
@@ -47,24 +47,22 @@ export class ValidationException extends __BaseException {
47
47
  Object.setPrototypeOf(this, ValidationException.prototype);
48
48
  }
49
49
  }
50
- export var ExperimentActionStatus;
51
- (function (ExperimentActionStatus) {
52
- ExperimentActionStatus["cancelled"] = "cancelled";
53
- ExperimentActionStatus["completed"] = "completed";
54
- ExperimentActionStatus["failed"] = "failed";
55
- ExperimentActionStatus["initiating"] = "initiating";
56
- ExperimentActionStatus["pending"] = "pending";
57
- ExperimentActionStatus["running"] = "running";
58
- ExperimentActionStatus["stopped"] = "stopped";
59
- ExperimentActionStatus["stopping"] = "stopping";
60
- })(ExperimentActionStatus || (ExperimentActionStatus = {}));
61
- export var ExperimentStatus;
62
- (function (ExperimentStatus) {
63
- ExperimentStatus["completed"] = "completed";
64
- ExperimentStatus["failed"] = "failed";
65
- ExperimentStatus["initiating"] = "initiating";
66
- ExperimentStatus["pending"] = "pending";
67
- ExperimentStatus["running"] = "running";
68
- ExperimentStatus["stopped"] = "stopped";
69
- ExperimentStatus["stopping"] = "stopping";
70
- })(ExperimentStatus || (ExperimentStatus = {}));
50
+ export const ExperimentActionStatus = {
51
+ cancelled: "cancelled",
52
+ completed: "completed",
53
+ failed: "failed",
54
+ initiating: "initiating",
55
+ pending: "pending",
56
+ running: "running",
57
+ stopped: "stopped",
58
+ stopping: "stopping",
59
+ };
60
+ export const ExperimentStatus = {
61
+ completed: "completed",
62
+ failed: "failed",
63
+ initiating: "initiating",
64
+ pending: "pending",
65
+ running: "running",
66
+ stopped: "stopped",
67
+ stopping: "stopping",
68
+ };
@@ -508,17 +508,22 @@ export interface DeleteExperimentTemplateResponse {
508
508
  }
509
509
  /**
510
510
  * @public
511
+ * @enum
511
512
  */
512
- export declare enum ExperimentActionStatus {
513
- cancelled = "cancelled",
514
- completed = "completed",
515
- failed = "failed",
516
- initiating = "initiating",
517
- pending = "pending",
518
- running = "running",
519
- stopped = "stopped",
520
- stopping = "stopping"
521
- }
513
+ export declare const ExperimentActionStatus: {
514
+ readonly cancelled: "cancelled";
515
+ readonly completed: "completed";
516
+ readonly failed: "failed";
517
+ readonly initiating: "initiating";
518
+ readonly pending: "pending";
519
+ readonly running: "running";
520
+ readonly stopped: "stopped";
521
+ readonly stopping: "stopping";
522
+ };
523
+ /**
524
+ * @public
525
+ */
526
+ export type ExperimentActionStatus = (typeof ExperimentActionStatus)[keyof typeof ExperimentActionStatus];
522
527
  /**
523
528
  * @public
524
529
  * <p>Describes the state of an action.</p>
@@ -615,16 +620,21 @@ export interface ExperimentLogConfiguration {
615
620
  }
616
621
  /**
617
622
  * @public
623
+ * @enum
618
624
  */
619
- export declare enum ExperimentStatus {
620
- completed = "completed",
621
- failed = "failed",
622
- initiating = "initiating",
623
- pending = "pending",
624
- running = "running",
625
- stopped = "stopped",
626
- stopping = "stopping"
627
- }
625
+ export declare const ExperimentStatus: {
626
+ readonly completed: "completed";
627
+ readonly failed: "failed";
628
+ readonly initiating: "initiating";
629
+ readonly pending: "pending";
630
+ readonly running: "running";
631
+ readonly stopped: "stopped";
632
+ readonly stopping: "stopping";
633
+ };
634
+ /**
635
+ * @public
636
+ */
637
+ export type ExperimentStatus = (typeof ExperimentStatus)[keyof typeof ExperimentStatus];
628
638
  /**
629
639
  * @public
630
640
  * <p>Describes the state of an experiment.</p>
@@ -147,16 +147,18 @@ export interface DeleteExperimentTemplateRequest {
147
147
  export interface DeleteExperimentTemplateResponse {
148
148
  experimentTemplate?: ExperimentTemplate;
149
149
  }
150
- export declare enum ExperimentActionStatus {
151
- cancelled = "cancelled",
152
- completed = "completed",
153
- failed = "failed",
154
- initiating = "initiating",
155
- pending = "pending",
156
- running = "running",
157
- stopped = "stopped",
158
- stopping = "stopping",
159
- }
150
+ export declare const ExperimentActionStatus: {
151
+ readonly cancelled: "cancelled";
152
+ readonly completed: "completed";
153
+ readonly failed: "failed";
154
+ readonly initiating: "initiating";
155
+ readonly pending: "pending";
156
+ readonly running: "running";
157
+ readonly stopped: "stopped";
158
+ readonly stopping: "stopping";
159
+ };
160
+ export type ExperimentActionStatus =
161
+ (typeof ExperimentActionStatus)[keyof typeof ExperimentActionStatus];
160
162
  export interface ExperimentActionState {
161
163
  status?: ExperimentActionStatus | string;
162
164
  reason?: string;
@@ -183,15 +185,17 @@ export interface ExperimentLogConfiguration {
183
185
  s3Configuration?: ExperimentS3LogConfiguration;
184
186
  logSchemaVersion?: number;
185
187
  }
186
- export declare enum ExperimentStatus {
187
- completed = "completed",
188
- failed = "failed",
189
- initiating = "initiating",
190
- pending = "pending",
191
- running = "running",
192
- stopped = "stopped",
193
- stopping = "stopping",
194
- }
188
+ export declare const ExperimentStatus: {
189
+ readonly completed: "completed";
190
+ readonly failed: "failed";
191
+ readonly initiating: "initiating";
192
+ readonly pending: "pending";
193
+ readonly running: "running";
194
+ readonly stopped: "stopped";
195
+ readonly stopping: "stopping";
196
+ };
197
+ export type ExperimentStatus =
198
+ (typeof ExperimentStatus)[keyof typeof ExperimentStatus];
195
199
  export interface ExperimentState {
196
200
  status?: ExperimentStatus | string;
197
201
  reason?: 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.301.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",