@aws-sdk/client-fis 3.933.0 → 3.935.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/dist-cjs/index.js CHANGED
@@ -117,14 +117,6 @@ let FisServiceException$1 = class FisServiceException extends smithyClient.Servi
117
117
  }
118
118
  };
119
119
 
120
- const AccountTargeting = {
121
- MULTI_ACCOUNT: "multi-account",
122
- SINGLE_ACCOUNT: "single-account",
123
- };
124
- const ActionsMode = {
125
- RUN_ALL: "run-all",
126
- SKIP_ALL: "skip-all",
127
- };
128
120
  let ConflictException$1 = class ConflictException extends FisServiceException$1 {
129
121
  name = "ConflictException";
130
122
  $fault = "client";
@@ -137,10 +129,6 @@ let ConflictException$1 = class ConflictException extends FisServiceException$1
137
129
  Object.setPrototypeOf(this, ConflictException.prototype);
138
130
  }
139
131
  };
140
- const EmptyTargetResolutionMode = {
141
- FAIL: "fail",
142
- SKIP: "skip",
143
- };
144
132
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends FisServiceException$1 {
145
133
  name = "ResourceNotFoundException";
146
134
  $fault = "client";
@@ -177,43 +165,6 @@ let ValidationException$1 = class ValidationException extends FisServiceExceptio
177
165
  Object.setPrototypeOf(this, ValidationException.prototype);
178
166
  }
179
167
  };
180
- const ExperimentActionStatus = {
181
- cancelled: "cancelled",
182
- completed: "completed",
183
- failed: "failed",
184
- initiating: "initiating",
185
- pending: "pending",
186
- running: "running",
187
- skipped: "skipped",
188
- stopped: "stopped",
189
- stopping: "stopping",
190
- };
191
- const ExperimentReportStatus = {
192
- cancelled: "cancelled",
193
- completed: "completed",
194
- failed: "failed",
195
- pending: "pending",
196
- running: "running",
197
- };
198
- const ExperimentStatus = {
199
- cancelled: "cancelled",
200
- completed: "completed",
201
- failed: "failed",
202
- initiating: "initiating",
203
- pending: "pending",
204
- running: "running",
205
- stopped: "stopped",
206
- stopping: "stopping",
207
- };
208
- const SafetyLeverStatus = {
209
- DISENGAGED: "disengaged",
210
- ENGAGED: "engaged",
211
- ENGAGING: "engaging",
212
- };
213
- const SafetyLeverStatusInput = {
214
- DISENGAGED: "disengaged",
215
- ENGAGED: "engaged",
216
- };
217
168
 
218
169
  const _A = "Action";
219
170
  const _AP = "ActionParameter";
@@ -2049,6 +2000,56 @@ const paginateListTargetAccountConfigurations = core.createPaginator(FisClient,
2049
2000
 
2050
2001
  const paginateListTargetResourceTypes = core.createPaginator(FisClient, ListTargetResourceTypesCommand, "nextToken", "nextToken", "maxResults");
2051
2002
 
2003
+ const AccountTargeting = {
2004
+ MULTI_ACCOUNT: "multi-account",
2005
+ SINGLE_ACCOUNT: "single-account",
2006
+ };
2007
+ const ActionsMode = {
2008
+ RUN_ALL: "run-all",
2009
+ SKIP_ALL: "skip-all",
2010
+ };
2011
+ const EmptyTargetResolutionMode = {
2012
+ FAIL: "fail",
2013
+ SKIP: "skip",
2014
+ };
2015
+ const ExperimentActionStatus = {
2016
+ cancelled: "cancelled",
2017
+ completed: "completed",
2018
+ failed: "failed",
2019
+ initiating: "initiating",
2020
+ pending: "pending",
2021
+ running: "running",
2022
+ skipped: "skipped",
2023
+ stopped: "stopped",
2024
+ stopping: "stopping",
2025
+ };
2026
+ const ExperimentReportStatus = {
2027
+ cancelled: "cancelled",
2028
+ completed: "completed",
2029
+ failed: "failed",
2030
+ pending: "pending",
2031
+ running: "running",
2032
+ };
2033
+ const ExperimentStatus = {
2034
+ cancelled: "cancelled",
2035
+ completed: "completed",
2036
+ failed: "failed",
2037
+ initiating: "initiating",
2038
+ pending: "pending",
2039
+ running: "running",
2040
+ stopped: "stopped",
2041
+ stopping: "stopping",
2042
+ };
2043
+ const SafetyLeverStatus = {
2044
+ DISENGAGED: "disengaged",
2045
+ ENGAGED: "engaged",
2046
+ ENGAGING: "engaging",
2047
+ };
2048
+ const SafetyLeverStatusInput = {
2049
+ DISENGAGED: "disengaged",
2050
+ ENGAGED: "engaged",
2051
+ };
2052
+
2052
2053
  Object.defineProperty(exports, "$Command", {
2053
2054
  enumerable: true,
2054
2055
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./FisClient";
2
2
  export * from "./Fis";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { FisServiceException } from "./models/FisServiceException";
@@ -0,0 +1,49 @@
1
+ export const AccountTargeting = {
2
+ MULTI_ACCOUNT: "multi-account",
3
+ SINGLE_ACCOUNT: "single-account",
4
+ };
5
+ export const ActionsMode = {
6
+ RUN_ALL: "run-all",
7
+ SKIP_ALL: "skip-all",
8
+ };
9
+ export const EmptyTargetResolutionMode = {
10
+ FAIL: "fail",
11
+ SKIP: "skip",
12
+ };
13
+ export const ExperimentActionStatus = {
14
+ cancelled: "cancelled",
15
+ completed: "completed",
16
+ failed: "failed",
17
+ initiating: "initiating",
18
+ pending: "pending",
19
+ running: "running",
20
+ skipped: "skipped",
21
+ stopped: "stopped",
22
+ stopping: "stopping",
23
+ };
24
+ export const ExperimentReportStatus = {
25
+ cancelled: "cancelled",
26
+ completed: "completed",
27
+ failed: "failed",
28
+ pending: "pending",
29
+ running: "running",
30
+ };
31
+ export const ExperimentStatus = {
32
+ cancelled: "cancelled",
33
+ completed: "completed",
34
+ failed: "failed",
35
+ initiating: "initiating",
36
+ pending: "pending",
37
+ running: "running",
38
+ stopped: "stopped",
39
+ stopping: "stopping",
40
+ };
41
+ export const SafetyLeverStatus = {
42
+ DISENGAGED: "disengaged",
43
+ ENGAGED: "engaged",
44
+ ENGAGING: "engaging",
45
+ };
46
+ export const SafetyLeverStatusInput = {
47
+ DISENGAGED: "disengaged",
48
+ ENGAGED: "engaged",
49
+ };
@@ -0,0 +1,49 @@
1
+ import { FisServiceException as __BaseException } from "./FisServiceException";
2
+ export class ConflictException extends __BaseException {
3
+ name = "ConflictException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "ConflictException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, ConflictException.prototype);
12
+ }
13
+ }
14
+ export class ResourceNotFoundException extends __BaseException {
15
+ name = "ResourceNotFoundException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "ResourceNotFoundException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
24
+ }
25
+ }
26
+ export class ServiceQuotaExceededException extends __BaseException {
27
+ name = "ServiceQuotaExceededException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "ServiceQuotaExceededException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
36
+ }
37
+ }
38
+ export class ValidationException extends __BaseException {
39
+ name = "ValidationException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "ValidationException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ValidationException.prototype);
48
+ }
49
+ }
@@ -1,98 +1 @@
1
- import { FisServiceException as __BaseException } from "./FisServiceException";
2
- export const AccountTargeting = {
3
- MULTI_ACCOUNT: "multi-account",
4
- SINGLE_ACCOUNT: "single-account",
5
- };
6
- export const ActionsMode = {
7
- RUN_ALL: "run-all",
8
- SKIP_ALL: "skip-all",
9
- };
10
- export class ConflictException extends __BaseException {
11
- name = "ConflictException";
12
- $fault = "client";
13
- constructor(opts) {
14
- super({
15
- name: "ConflictException",
16
- $fault: "client",
17
- ...opts,
18
- });
19
- Object.setPrototypeOf(this, ConflictException.prototype);
20
- }
21
- }
22
- export const EmptyTargetResolutionMode = {
23
- FAIL: "fail",
24
- SKIP: "skip",
25
- };
26
- export class ResourceNotFoundException extends __BaseException {
27
- name = "ResourceNotFoundException";
28
- $fault = "client";
29
- constructor(opts) {
30
- super({
31
- name: "ResourceNotFoundException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
36
- }
37
- }
38
- export class ServiceQuotaExceededException extends __BaseException {
39
- name = "ServiceQuotaExceededException";
40
- $fault = "client";
41
- constructor(opts) {
42
- super({
43
- name: "ServiceQuotaExceededException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
48
- }
49
- }
50
- export class ValidationException extends __BaseException {
51
- name = "ValidationException";
52
- $fault = "client";
53
- constructor(opts) {
54
- super({
55
- name: "ValidationException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, ValidationException.prototype);
60
- }
61
- }
62
- export const ExperimentActionStatus = {
63
- cancelled: "cancelled",
64
- completed: "completed",
65
- failed: "failed",
66
- initiating: "initiating",
67
- pending: "pending",
68
- running: "running",
69
- skipped: "skipped",
70
- stopped: "stopped",
71
- stopping: "stopping",
72
- };
73
- export const ExperimentReportStatus = {
74
- cancelled: "cancelled",
75
- completed: "completed",
76
- failed: "failed",
77
- pending: "pending",
78
- running: "running",
79
- };
80
- export const ExperimentStatus = {
81
- cancelled: "cancelled",
82
- completed: "completed",
83
- failed: "failed",
84
- initiating: "initiating",
85
- pending: "pending",
86
- running: "running",
87
- stopped: "stopped",
88
- stopping: "stopping",
89
- };
90
- export const SafetyLeverStatus = {
91
- DISENGAGED: "disengaged",
92
- ENGAGED: "engaged",
93
- ENGAGING: "engaging",
94
- };
95
- export const SafetyLeverStatusInput = {
96
- DISENGAGED: "disengaged",
97
- ENGAGED: "engaged",
98
- };
1
+ export {};
@@ -264,8 +264,8 @@ const _v = "value";
264
264
  const _va = "values";
265
265
  const n0 = "com.amazonaws.fis";
266
266
  import { TypeRegistry } from "@smithy/core/schema";
267
+ import { ConflictException as __ConflictException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
267
268
  import { FisServiceException as __FisServiceException } from "../models/FisServiceException";
268
- import { ConflictException as __ConflictException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
269
269
  export var Action = [
270
270
  3,
271
271
  n0,
@@ -11,5 +11,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
11
11
  export type { FisExtensionConfiguration } from "./extensionConfiguration";
12
12
  export * from "./commands";
13
13
  export * from "./pagination";
14
- export * from "./models";
14
+ export * from "./models/enums";
15
+ export * from "./models/errors";
16
+ export type * from "./models/models_0";
15
17
  export { FisServiceException } from "./models/FisServiceException";
@@ -0,0 +1,113 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccountTargeting: {
6
+ readonly MULTI_ACCOUNT: "multi-account";
7
+ readonly SINGLE_ACCOUNT: "single-account";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type AccountTargeting = (typeof AccountTargeting)[keyof typeof AccountTargeting];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ActionsMode: {
18
+ readonly RUN_ALL: "run-all";
19
+ readonly SKIP_ALL: "skip-all";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type ActionsMode = (typeof ActionsMode)[keyof typeof ActionsMode];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const EmptyTargetResolutionMode: {
30
+ readonly FAIL: "fail";
31
+ readonly SKIP: "skip";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type EmptyTargetResolutionMode = (typeof EmptyTargetResolutionMode)[keyof typeof EmptyTargetResolutionMode];
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const ExperimentActionStatus: {
42
+ readonly cancelled: "cancelled";
43
+ readonly completed: "completed";
44
+ readonly failed: "failed";
45
+ readonly initiating: "initiating";
46
+ readonly pending: "pending";
47
+ readonly running: "running";
48
+ readonly skipped: "skipped";
49
+ readonly stopped: "stopped";
50
+ readonly stopping: "stopping";
51
+ };
52
+ /**
53
+ * @public
54
+ */
55
+ export type ExperimentActionStatus = (typeof ExperimentActionStatus)[keyof typeof ExperimentActionStatus];
56
+ /**
57
+ * @public
58
+ * @enum
59
+ */
60
+ export declare const ExperimentReportStatus: {
61
+ readonly cancelled: "cancelled";
62
+ readonly completed: "completed";
63
+ readonly failed: "failed";
64
+ readonly pending: "pending";
65
+ readonly running: "running";
66
+ };
67
+ /**
68
+ * @public
69
+ */
70
+ export type ExperimentReportStatus = (typeof ExperimentReportStatus)[keyof typeof ExperimentReportStatus];
71
+ /**
72
+ * @public
73
+ * @enum
74
+ */
75
+ export declare const ExperimentStatus: {
76
+ readonly cancelled: "cancelled";
77
+ readonly completed: "completed";
78
+ readonly failed: "failed";
79
+ readonly initiating: "initiating";
80
+ readonly pending: "pending";
81
+ readonly running: "running";
82
+ readonly stopped: "stopped";
83
+ readonly stopping: "stopping";
84
+ };
85
+ /**
86
+ * @public
87
+ */
88
+ export type ExperimentStatus = (typeof ExperimentStatus)[keyof typeof ExperimentStatus];
89
+ /**
90
+ * @public
91
+ * @enum
92
+ */
93
+ export declare const SafetyLeverStatus: {
94
+ readonly DISENGAGED: "disengaged";
95
+ readonly ENGAGED: "engaged";
96
+ readonly ENGAGING: "engaging";
97
+ };
98
+ /**
99
+ * @public
100
+ */
101
+ export type SafetyLeverStatus = (typeof SafetyLeverStatus)[keyof typeof SafetyLeverStatus];
102
+ /**
103
+ * @public
104
+ * @enum
105
+ */
106
+ export declare const SafetyLeverStatusInput: {
107
+ readonly DISENGAGED: "disengaged";
108
+ readonly ENGAGED: "engaged";
109
+ };
110
+ /**
111
+ * @public
112
+ */
113
+ export type SafetyLeverStatusInput = (typeof SafetyLeverStatusInput)[keyof typeof SafetyLeverStatusInput];
@@ -0,0 +1,50 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { FisServiceException as __BaseException } from "./FisServiceException";
3
+ /**
4
+ * <p>The request could not be processed because of a conflict.</p>
5
+ * @public
6
+ */
7
+ export declare class ConflictException extends __BaseException {
8
+ readonly name: "ConflictException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>The specified resource cannot be found.</p>
17
+ * @public
18
+ */
19
+ export declare class ResourceNotFoundException extends __BaseException {
20
+ readonly name: "ResourceNotFoundException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>You have exceeded your service quota.</p>
29
+ * @public
30
+ */
31
+ export declare class ServiceQuotaExceededException extends __BaseException {
32
+ readonly name: "ServiceQuotaExceededException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The specified input is not valid, or fails to satisfy the constraints for the request.</p>
41
+ * @public
42
+ */
43
+ export declare class ValidationException extends __BaseException {
44
+ readonly name: "ValidationException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
50
+ }
@@ -1,17 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { FisServiceException as __BaseException } from "./FisServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
7
- export declare const AccountTargeting: {
8
- readonly MULTI_ACCOUNT: "multi-account";
9
- readonly SINGLE_ACCOUNT: "single-account";
10
- };
11
- /**
12
- * @public
13
- */
14
- export type AccountTargeting = (typeof AccountTargeting)[keyof typeof AccountTargeting];
1
+ import { AccountTargeting, ActionsMode, EmptyTargetResolutionMode, ExperimentActionStatus, ExperimentReportStatus, ExperimentStatus, SafetyLeverStatus, SafetyLeverStatusInput } from "./enums";
15
2
  /**
16
3
  * <p>Describes a parameter for an action.</p>
17
4
  * @public
@@ -76,18 +63,6 @@ export interface Action {
76
63
  */
77
64
  tags?: Record<string, string> | undefined;
78
65
  }
79
- /**
80
- * @public
81
- * @enum
82
- */
83
- export declare const ActionsMode: {
84
- readonly RUN_ALL: "run-all";
85
- readonly SKIP_ALL: "skip-all";
86
- };
87
- /**
88
- * @public
89
- */
90
- export type ActionsMode = (typeof ActionsMode)[keyof typeof ActionsMode];
91
66
  /**
92
67
  * <p>Provides a summary of an action.</p>
93
68
  * @public
@@ -119,18 +94,6 @@ export interface ActionSummary {
119
94
  */
120
95
  tags?: Record<string, string> | undefined;
121
96
  }
122
- /**
123
- * <p>The request could not be processed because of a conflict.</p>
124
- * @public
125
- */
126
- export declare class ConflictException extends __BaseException {
127
- readonly name: "ConflictException";
128
- readonly $fault: "client";
129
- /**
130
- * @internal
131
- */
132
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
133
- }
134
97
  /**
135
98
  * <p>Specifies an action for an experiment template.</p>
136
99
  * <p>For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/actions.html">Actions</a>
@@ -164,18 +127,6 @@ export interface CreateExperimentTemplateActionInput {
164
127
  */
165
128
  startAfter?: string[] | undefined;
166
129
  }
167
- /**
168
- * @public
169
- * @enum
170
- */
171
- export declare const EmptyTargetResolutionMode: {
172
- readonly FAIL: "fail";
173
- readonly SKIP: "skip";
174
- };
175
- /**
176
- * @public
177
- */
178
- export type EmptyTargetResolutionMode = (typeof EmptyTargetResolutionMode)[keyof typeof EmptyTargetResolutionMode];
179
130
  /**
180
131
  * <p>Specifies experiment options for an experiment template.</p>
181
132
  * @public
@@ -783,42 +734,6 @@ export interface CreateExperimentTemplateResponse {
783
734
  */
784
735
  experimentTemplate?: ExperimentTemplate | undefined;
785
736
  }
786
- /**
787
- * <p>The specified resource cannot be found.</p>
788
- * @public
789
- */
790
- export declare class ResourceNotFoundException extends __BaseException {
791
- readonly name: "ResourceNotFoundException";
792
- readonly $fault: "client";
793
- /**
794
- * @internal
795
- */
796
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
797
- }
798
- /**
799
- * <p>You have exceeded your service quota.</p>
800
- * @public
801
- */
802
- export declare class ServiceQuotaExceededException extends __BaseException {
803
- readonly name: "ServiceQuotaExceededException";
804
- readonly $fault: "client";
805
- /**
806
- * @internal
807
- */
808
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
809
- }
810
- /**
811
- * <p>The specified input is not valid, or fails to satisfy the constraints for the request.</p>
812
- * @public
813
- */
814
- export declare class ValidationException extends __BaseException {
815
- readonly name: "ValidationException";
816
- readonly $fault: "client";
817
- /**
818
- * @internal
819
- */
820
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
821
- }
822
737
  /**
823
738
  * @public
824
739
  */
@@ -925,25 +840,6 @@ export interface DeleteTargetAccountConfigurationResponse {
925
840
  */
926
841
  targetAccountConfiguration?: TargetAccountConfiguration | undefined;
927
842
  }
928
- /**
929
- * @public
930
- * @enum
931
- */
932
- export declare const ExperimentActionStatus: {
933
- readonly cancelled: "cancelled";
934
- readonly completed: "completed";
935
- readonly failed: "failed";
936
- readonly initiating: "initiating";
937
- readonly pending: "pending";
938
- readonly running: "running";
939
- readonly skipped: "skipped";
940
- readonly stopped: "stopped";
941
- readonly stopping: "stopping";
942
- };
943
- /**
944
- * @public
945
- */
946
- export type ExperimentActionStatus = (typeof ExperimentActionStatus)[keyof typeof ExperimentActionStatus];
947
843
  /**
948
844
  * <p>Describes the state of an action.</p>
949
845
  * @public
@@ -1054,21 +950,6 @@ export interface ExperimentReportError {
1054
950
  */
1055
951
  code?: string | undefined;
1056
952
  }
1057
- /**
1058
- * @public
1059
- * @enum
1060
- */
1061
- export declare const ExperimentReportStatus: {
1062
- readonly cancelled: "cancelled";
1063
- readonly completed: "completed";
1064
- readonly failed: "failed";
1065
- readonly pending: "pending";
1066
- readonly running: "running";
1067
- };
1068
- /**
1069
- * @public
1070
- */
1071
- export type ExperimentReportStatus = (typeof ExperimentReportStatus)[keyof typeof ExperimentReportStatus];
1072
953
  /**
1073
954
  * <p>Describes the state of the experiment report generation.</p>
1074
955
  * @public
@@ -1250,24 +1131,6 @@ export interface ExperimentError {
1250
1131
  */
1251
1132
  location?: string | undefined;
1252
1133
  }
1253
- /**
1254
- * @public
1255
- * @enum
1256
- */
1257
- export declare const ExperimentStatus: {
1258
- readonly cancelled: "cancelled";
1259
- readonly completed: "completed";
1260
- readonly failed: "failed";
1261
- readonly initiating: "initiating";
1262
- readonly pending: "pending";
1263
- readonly running: "running";
1264
- readonly stopped: "stopped";
1265
- readonly stopping: "stopping";
1266
- };
1267
- /**
1268
- * @public
1269
- */
1270
- export type ExperimentStatus = (typeof ExperimentStatus)[keyof typeof ExperimentStatus];
1271
1134
  /**
1272
1135
  * <p>Describes the state of an experiment.</p>
1273
1136
  * @public
@@ -1664,19 +1527,6 @@ export interface GetSafetyLeverRequest {
1664
1527
  */
1665
1528
  id: string | undefined;
1666
1529
  }
1667
- /**
1668
- * @public
1669
- * @enum
1670
- */
1671
- export declare const SafetyLeverStatus: {
1672
- readonly DISENGAGED: "disengaged";
1673
- readonly ENGAGED: "engaged";
1674
- readonly ENGAGING: "engaging";
1675
- };
1676
- /**
1677
- * @public
1678
- */
1679
- export type SafetyLeverStatus = (typeof SafetyLeverStatus)[keyof typeof SafetyLeverStatus];
1680
1530
  /**
1681
1531
  * <p>
1682
1532
  * Describes the state of the safety lever.
@@ -2446,18 +2296,6 @@ export interface UpdateExperimentTemplateResponse {
2446
2296
  */
2447
2297
  experimentTemplate?: ExperimentTemplate | undefined;
2448
2298
  }
2449
- /**
2450
- * @public
2451
- * @enum
2452
- */
2453
- export declare const SafetyLeverStatusInput: {
2454
- readonly DISENGAGED: "disengaged";
2455
- readonly ENGAGED: "engaged";
2456
- };
2457
- /**
2458
- * @public
2459
- */
2460
- export type SafetyLeverStatusInput = (typeof SafetyLeverStatusInput)[keyof typeof SafetyLeverStatusInput];
2461
2299
  /**
2462
2300
  * <p>
2463
2301
  * Specifies a state for a safety lever.
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { FisExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { FisServiceException } from "./models/FisServiceException";
@@ -0,0 +1,64 @@
1
+ export declare const AccountTargeting: {
2
+ readonly MULTI_ACCOUNT: "multi-account";
3
+ readonly SINGLE_ACCOUNT: "single-account";
4
+ };
5
+ export type AccountTargeting =
6
+ (typeof AccountTargeting)[keyof typeof AccountTargeting];
7
+ export declare const ActionsMode: {
8
+ readonly RUN_ALL: "run-all";
9
+ readonly SKIP_ALL: "skip-all";
10
+ };
11
+ export type ActionsMode = (typeof ActionsMode)[keyof typeof ActionsMode];
12
+ export declare const EmptyTargetResolutionMode: {
13
+ readonly FAIL: "fail";
14
+ readonly SKIP: "skip";
15
+ };
16
+ export type EmptyTargetResolutionMode =
17
+ (typeof EmptyTargetResolutionMode)[keyof typeof EmptyTargetResolutionMode];
18
+ export declare const ExperimentActionStatus: {
19
+ readonly cancelled: "cancelled";
20
+ readonly completed: "completed";
21
+ readonly failed: "failed";
22
+ readonly initiating: "initiating";
23
+ readonly pending: "pending";
24
+ readonly running: "running";
25
+ readonly skipped: "skipped";
26
+ readonly stopped: "stopped";
27
+ readonly stopping: "stopping";
28
+ };
29
+ export type ExperimentActionStatus =
30
+ (typeof ExperimentActionStatus)[keyof typeof ExperimentActionStatus];
31
+ export declare const ExperimentReportStatus: {
32
+ readonly cancelled: "cancelled";
33
+ readonly completed: "completed";
34
+ readonly failed: "failed";
35
+ readonly pending: "pending";
36
+ readonly running: "running";
37
+ };
38
+ export type ExperimentReportStatus =
39
+ (typeof ExperimentReportStatus)[keyof typeof ExperimentReportStatus];
40
+ export declare const ExperimentStatus: {
41
+ readonly cancelled: "cancelled";
42
+ readonly completed: "completed";
43
+ readonly failed: "failed";
44
+ readonly initiating: "initiating";
45
+ readonly pending: "pending";
46
+ readonly running: "running";
47
+ readonly stopped: "stopped";
48
+ readonly stopping: "stopping";
49
+ };
50
+ export type ExperimentStatus =
51
+ (typeof ExperimentStatus)[keyof typeof ExperimentStatus];
52
+ export declare const SafetyLeverStatus: {
53
+ readonly DISENGAGED: "disengaged";
54
+ readonly ENGAGED: "engaged";
55
+ readonly ENGAGING: "engaging";
56
+ };
57
+ export type SafetyLeverStatus =
58
+ (typeof SafetyLeverStatus)[keyof typeof SafetyLeverStatus];
59
+ export declare const SafetyLeverStatusInput: {
60
+ readonly DISENGAGED: "disengaged";
61
+ readonly ENGAGED: "engaged";
62
+ };
63
+ export type SafetyLeverStatusInput =
64
+ (typeof SafetyLeverStatusInput)[keyof typeof SafetyLeverStatusInput];
@@ -0,0 +1,28 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { FisServiceException as __BaseException } from "./FisServiceException";
3
+ export declare class ConflictException extends __BaseException {
4
+ readonly name: "ConflictException";
5
+ readonly $fault: "client";
6
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
7
+ }
8
+ export declare class ResourceNotFoundException extends __BaseException {
9
+ readonly name: "ResourceNotFoundException";
10
+ readonly $fault: "client";
11
+ constructor(
12
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
13
+ );
14
+ }
15
+ export declare class ServiceQuotaExceededException extends __BaseException {
16
+ readonly name: "ServiceQuotaExceededException";
17
+ readonly $fault: "client";
18
+ constructor(
19
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
20
+ );
21
+ }
22
+ export declare class ValidationException extends __BaseException {
23
+ readonly name: "ValidationException";
24
+ readonly $fault: "client";
25
+ constructor(
26
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
27
+ );
28
+ }
@@ -1,11 +1,13 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
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];
1
+ import {
2
+ AccountTargeting,
3
+ ActionsMode,
4
+ EmptyTargetResolutionMode,
5
+ ExperimentActionStatus,
6
+ ExperimentReportStatus,
7
+ ExperimentStatus,
8
+ SafetyLeverStatus,
9
+ SafetyLeverStatusInput,
10
+ } from "./enums";
9
11
  export interface ActionParameter {
10
12
  description?: string | undefined;
11
13
  required?: boolean | undefined;
@@ -21,11 +23,6 @@ export interface Action {
21
23
  targets?: Record<string, ActionTarget> | undefined;
22
24
  tags?: Record<string, string> | undefined;
23
25
  }
24
- export declare const ActionsMode: {
25
- readonly RUN_ALL: "run-all";
26
- readonly SKIP_ALL: "skip-all";
27
- };
28
- export type ActionsMode = (typeof ActionsMode)[keyof typeof ActionsMode];
29
26
  export interface ActionSummary {
30
27
  id?: string | undefined;
31
28
  arn?: string | undefined;
@@ -33,11 +30,6 @@ export interface ActionSummary {
33
30
  targets?: Record<string, ActionTarget> | undefined;
34
31
  tags?: Record<string, string> | undefined;
35
32
  }
36
- export declare class ConflictException extends __BaseException {
37
- readonly name: "ConflictException";
38
- readonly $fault: "client";
39
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
40
- }
41
33
  export interface CreateExperimentTemplateActionInput {
42
34
  actionId: string | undefined;
43
35
  description?: string | undefined;
@@ -45,12 +37,6 @@ export interface CreateExperimentTemplateActionInput {
45
37
  targets?: Record<string, string> | undefined;
46
38
  startAfter?: string[] | undefined;
47
39
  }
48
- export declare const EmptyTargetResolutionMode: {
49
- readonly FAIL: "fail";
50
- readonly SKIP: "skip";
51
- };
52
- export type EmptyTargetResolutionMode =
53
- (typeof EmptyTargetResolutionMode)[keyof typeof EmptyTargetResolutionMode];
54
40
  export interface CreateExperimentTemplateExperimentOptionsInput {
55
41
  accountTargeting?: AccountTargeting | undefined;
56
42
  emptyTargetResolutionMode?: EmptyTargetResolutionMode | undefined;
@@ -207,27 +193,6 @@ export interface ExperimentTemplate {
207
193
  export interface CreateExperimentTemplateResponse {
208
194
  experimentTemplate?: ExperimentTemplate | undefined;
209
195
  }
210
- export declare class ResourceNotFoundException extends __BaseException {
211
- readonly name: "ResourceNotFoundException";
212
- readonly $fault: "client";
213
- constructor(
214
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
215
- );
216
- }
217
- export declare class ServiceQuotaExceededException extends __BaseException {
218
- readonly name: "ServiceQuotaExceededException";
219
- readonly $fault: "client";
220
- constructor(
221
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
222
- );
223
- }
224
- export declare class ValidationException extends __BaseException {
225
- readonly name: "ValidationException";
226
- readonly $fault: "client";
227
- constructor(
228
- opts: __ExceptionOptionType<ValidationException, __BaseException>
229
- );
230
- }
231
196
  export interface CreateTargetAccountConfigurationRequest {
232
197
  clientToken?: string | undefined;
233
198
  experimentTemplateId: string | undefined;
@@ -256,19 +221,6 @@ export interface DeleteTargetAccountConfigurationRequest {
256
221
  export interface DeleteTargetAccountConfigurationResponse {
257
222
  targetAccountConfiguration?: TargetAccountConfiguration | undefined;
258
223
  }
259
- export declare const ExperimentActionStatus: {
260
- readonly cancelled: "cancelled";
261
- readonly completed: "completed";
262
- readonly failed: "failed";
263
- readonly initiating: "initiating";
264
- readonly pending: "pending";
265
- readonly running: "running";
266
- readonly skipped: "skipped";
267
- readonly stopped: "stopped";
268
- readonly stopping: "stopping";
269
- };
270
- export type ExperimentActionStatus =
271
- (typeof ExperimentActionStatus)[keyof typeof ExperimentActionStatus];
272
224
  export interface ExperimentActionState {
273
225
  status?: ExperimentActionStatus | undefined;
274
226
  reason?: string | undefined;
@@ -295,15 +247,6 @@ export interface ExperimentReportS3Report {
295
247
  export interface ExperimentReportError {
296
248
  code?: string | undefined;
297
249
  }
298
- export declare const ExperimentReportStatus: {
299
- readonly cancelled: "cancelled";
300
- readonly completed: "completed";
301
- readonly failed: "failed";
302
- readonly pending: "pending";
303
- readonly running: "running";
304
- };
305
- export type ExperimentReportStatus =
306
- (typeof ExperimentReportStatus)[keyof typeof ExperimentReportStatus];
307
250
  export interface ExperimentReportState {
308
251
  status?: ExperimentReportStatus | undefined;
309
252
  reason?: string | undefined;
@@ -355,18 +298,6 @@ export interface ExperimentError {
355
298
  code?: string | undefined;
356
299
  location?: string | undefined;
357
300
  }
358
- export declare const ExperimentStatus: {
359
- readonly cancelled: "cancelled";
360
- readonly completed: "completed";
361
- readonly failed: "failed";
362
- readonly initiating: "initiating";
363
- readonly pending: "pending";
364
- readonly running: "running";
365
- readonly stopped: "stopped";
366
- readonly stopping: "stopping";
367
- };
368
- export type ExperimentStatus =
369
- (typeof ExperimentStatus)[keyof typeof ExperimentStatus];
370
301
  export interface ExperimentState {
371
302
  status?: ExperimentStatus | undefined;
372
303
  reason?: string | undefined;
@@ -462,13 +393,6 @@ export interface GetExperimentTemplateResponse {
462
393
  export interface GetSafetyLeverRequest {
463
394
  id: string | undefined;
464
395
  }
465
- export declare const SafetyLeverStatus: {
466
- readonly DISENGAGED: "disengaged";
467
- readonly ENGAGED: "engaged";
468
- readonly ENGAGING: "engaging";
469
- };
470
- export type SafetyLeverStatus =
471
- (typeof SafetyLeverStatus)[keyof typeof SafetyLeverStatus];
472
396
  export interface SafetyLeverState {
473
397
  status?: SafetyLeverStatus | undefined;
474
398
  reason?: string | undefined;
@@ -668,12 +592,6 @@ export interface UpdateExperimentTemplateRequest {
668
592
  export interface UpdateExperimentTemplateResponse {
669
593
  experimentTemplate?: ExperimentTemplate | undefined;
670
594
  }
671
- export declare const SafetyLeverStatusInput: {
672
- readonly DISENGAGED: "disengaged";
673
- readonly ENGAGED: "engaged";
674
- };
675
- export type SafetyLeverStatusInput =
676
- (typeof SafetyLeverStatusInput)[keyof typeof SafetyLeverStatusInput];
677
595
  export interface UpdateSafetyLeverStateInput {
678
596
  status: SafetyLeverStatusInput | undefined;
679
597
  reason: string | undefined;
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.933.0",
4
+ "version": "3.935.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",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";