@aws-sdk/client-emr 3.300.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.
- package/dist-cjs/models/models_0.js +258 -298
- package/dist-cjs/protocols/Aws_json1_1.js +30 -0
- package/dist-es/models/models_0.js +258 -298
- package/dist-es/protocols/Aws_json1_1.js +30 -0
- package/dist-types/commands/AddInstanceFleetCommand.d.ts +19 -21
- package/dist-types/commands/AddInstanceGroupsCommand.d.ts +21 -23
- package/dist-types/commands/AddJobFlowStepsCommand.d.ts +7 -7
- package/dist-types/commands/AddTagsCommand.d.ts +3 -3
- package/dist-types/commands/CancelStepsCommand.d.ts +2 -2
- package/dist-types/commands/CreateSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateStudioCommand.d.ts +4 -4
- package/dist-types/commands/CreateStudioSessionMappingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStudioCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStudioSessionMappingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobFlowsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeNotebookExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReleaseLabelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStepCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStudioCommand.d.ts +1 -1
- package/dist-types/commands/GetAutoTerminationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetClusterSessionCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/GetManagedScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetStudioSessionMappingCommand.d.ts +1 -1
- package/dist-types/commands/ListBootstrapActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListClustersCommand.d.ts +2 -2
- package/dist-types/commands/ListInstanceFleetsCommand.d.ts +1 -1
- package/dist-types/commands/ListInstanceGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListInstancesCommand.d.ts +3 -3
- package/dist-types/commands/ListNotebookExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListReleaseLabelsCommand.d.ts +2 -2
- package/dist-types/commands/ListSecurityConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListStepsCommand.d.ts +3 -3
- package/dist-types/commands/ListStudioSessionMappingsCommand.d.ts +1 -1
- package/dist-types/commands/ListStudiosCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceFleetCommand.d.ts +5 -5
- package/dist-types/commands/ModifyInstanceGroupsCommand.d.ts +11 -13
- package/dist-types/commands/PutAutoScalingPolicyCommand.d.ts +11 -11
- package/dist-types/commands/PutAutoTerminationPolicyCommand.d.ts +2 -2
- package/dist-types/commands/PutBlockPublicAccessConfigurationCommand.d.ts +9 -13
- package/dist-types/commands/PutManagedScalingPolicyCommand.d.ts +3 -3
- package/dist-types/commands/RemoveAutoScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RemoveAutoTerminationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RemoveManagedScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +2 -2
- package/dist-types/commands/RunJobFlowCommand.d.ts +62 -70
- package/dist-types/commands/SetTerminationProtectionCommand.d.ts +2 -2
- package/dist-types/commands/SetVisibleToAllUsersCommand.d.ts +2 -2
- package/dist-types/commands/StartNotebookExecutionCommand.d.ts +4 -4
- package/dist-types/commands/StopNotebookExecutionCommand.d.ts +1 -1
- package/dist-types/commands/TerminateJobFlowsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateStudioCommand.d.ts +2 -2
- package/dist-types/commands/UpdateStudioSessionMappingCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +479 -257
- package/dist-types/ts3.4/models/models_0.d.ts +336 -258
- package/package.json +35 -35
|
@@ -1,40 +1,33 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { EMRServiceException as __BaseException } from "./EMRServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
SpotProvisioningAllocationStrategy["CAPACITY_OPTIMIZED"] = "capacity-optimized";
|
|
32
|
-
})(SpotProvisioningAllocationStrategy || (SpotProvisioningAllocationStrategy = {}));
|
|
33
|
-
export var SpotProvisioningTimeoutAction;
|
|
34
|
-
(function (SpotProvisioningTimeoutAction) {
|
|
35
|
-
SpotProvisioningTimeoutAction["SWITCH_TO_ON_DEMAND"] = "SWITCH_TO_ON_DEMAND";
|
|
36
|
-
SpotProvisioningTimeoutAction["TERMINATE_CLUSTER"] = "TERMINATE_CLUSTER";
|
|
37
|
-
})(SpotProvisioningTimeoutAction || (SpotProvisioningTimeoutAction = {}));
|
|
3
|
+
export const ActionOnFailure = {
|
|
4
|
+
CANCEL_AND_WAIT: "CANCEL_AND_WAIT",
|
|
5
|
+
CONTINUE: "CONTINUE",
|
|
6
|
+
TERMINATE_CLUSTER: "TERMINATE_CLUSTER",
|
|
7
|
+
TERMINATE_JOB_FLOW: "TERMINATE_JOB_FLOW",
|
|
8
|
+
};
|
|
9
|
+
export const InstanceFleetType = {
|
|
10
|
+
CORE: "CORE",
|
|
11
|
+
MASTER: "MASTER",
|
|
12
|
+
TASK: "TASK",
|
|
13
|
+
};
|
|
14
|
+
export const OnDemandProvisioningAllocationStrategy = {
|
|
15
|
+
LOWEST_PRICE: "lowest-price",
|
|
16
|
+
};
|
|
17
|
+
export const OnDemandCapacityReservationPreference = {
|
|
18
|
+
NONE: "none",
|
|
19
|
+
OPEN: "open",
|
|
20
|
+
};
|
|
21
|
+
export const OnDemandCapacityReservationUsageStrategy = {
|
|
22
|
+
USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first",
|
|
23
|
+
};
|
|
24
|
+
export const SpotProvisioningAllocationStrategy = {
|
|
25
|
+
CAPACITY_OPTIMIZED: "capacity-optimized",
|
|
26
|
+
};
|
|
27
|
+
export const SpotProvisioningTimeoutAction = {
|
|
28
|
+
SWITCH_TO_ON_DEMAND: "SWITCH_TO_ON_DEMAND",
|
|
29
|
+
TERMINATE_CLUSTER: "TERMINATE_CLUSTER",
|
|
30
|
+
};
|
|
38
31
|
export class InternalServerException extends __BaseException {
|
|
39
32
|
constructor(opts) {
|
|
40
33
|
super({
|
|
@@ -62,68 +55,62 @@ export class InvalidRequestException extends __BaseException {
|
|
|
62
55
|
this.Message = opts.Message;
|
|
63
56
|
}
|
|
64
57
|
}
|
|
65
|
-
export
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
export var InstanceRoleType;
|
|
122
|
-
(function (InstanceRoleType) {
|
|
123
|
-
InstanceRoleType["CORE"] = "CORE";
|
|
124
|
-
InstanceRoleType["MASTER"] = "MASTER";
|
|
125
|
-
InstanceRoleType["TASK"] = "TASK";
|
|
126
|
-
})(InstanceRoleType || (InstanceRoleType = {}));
|
|
58
|
+
export const MarketType = {
|
|
59
|
+
ON_DEMAND: "ON_DEMAND",
|
|
60
|
+
SPOT: "SPOT",
|
|
61
|
+
};
|
|
62
|
+
export const AdjustmentType = {
|
|
63
|
+
CHANGE_IN_CAPACITY: "CHANGE_IN_CAPACITY",
|
|
64
|
+
EXACT_CAPACITY: "EXACT_CAPACITY",
|
|
65
|
+
PERCENT_CHANGE_IN_CAPACITY: "PERCENT_CHANGE_IN_CAPACITY",
|
|
66
|
+
};
|
|
67
|
+
export const ComparisonOperator = {
|
|
68
|
+
GREATER_THAN: "GREATER_THAN",
|
|
69
|
+
GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
|
|
70
|
+
LESS_THAN: "LESS_THAN",
|
|
71
|
+
LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL",
|
|
72
|
+
};
|
|
73
|
+
export const Statistic = {
|
|
74
|
+
AVERAGE: "AVERAGE",
|
|
75
|
+
MAXIMUM: "MAXIMUM",
|
|
76
|
+
MINIMUM: "MINIMUM",
|
|
77
|
+
SAMPLE_COUNT: "SAMPLE_COUNT",
|
|
78
|
+
SUM: "SUM",
|
|
79
|
+
};
|
|
80
|
+
export const Unit = {
|
|
81
|
+
BITS: "BITS",
|
|
82
|
+
BITS_PER_SECOND: "BITS_PER_SECOND",
|
|
83
|
+
BYTES: "BYTES",
|
|
84
|
+
BYTES_PER_SECOND: "BYTES_PER_SECOND",
|
|
85
|
+
COUNT: "COUNT",
|
|
86
|
+
COUNT_PER_SECOND: "COUNT_PER_SECOND",
|
|
87
|
+
GIGA_BITS: "GIGA_BITS",
|
|
88
|
+
GIGA_BITS_PER_SECOND: "GIGA_BITS_PER_SECOND",
|
|
89
|
+
GIGA_BYTES: "GIGA_BYTES",
|
|
90
|
+
GIGA_BYTES_PER_SECOND: "GIGA_BYTES_PER_SECOND",
|
|
91
|
+
KILO_BITS: "KILO_BITS",
|
|
92
|
+
KILO_BITS_PER_SECOND: "KILO_BITS_PER_SECOND",
|
|
93
|
+
KILO_BYTES: "KILO_BYTES",
|
|
94
|
+
KILO_BYTES_PER_SECOND: "KILO_BYTES_PER_SECOND",
|
|
95
|
+
MEGA_BITS: "MEGA_BITS",
|
|
96
|
+
MEGA_BITS_PER_SECOND: "MEGA_BITS_PER_SECOND",
|
|
97
|
+
MEGA_BYTES: "MEGA_BYTES",
|
|
98
|
+
MEGA_BYTES_PER_SECOND: "MEGA_BYTES_PER_SECOND",
|
|
99
|
+
MICRO_SECONDS: "MICRO_SECONDS",
|
|
100
|
+
MILLI_SECONDS: "MILLI_SECONDS",
|
|
101
|
+
NONE: "NONE",
|
|
102
|
+
PERCENT: "PERCENT",
|
|
103
|
+
SECONDS: "SECONDS",
|
|
104
|
+
TERA_BITS: "TERA_BITS",
|
|
105
|
+
TERA_BITS_PER_SECOND: "TERA_BITS_PER_SECOND",
|
|
106
|
+
TERA_BYTES: "TERA_BYTES",
|
|
107
|
+
TERA_BYTES_PER_SECOND: "TERA_BYTES_PER_SECOND",
|
|
108
|
+
};
|
|
109
|
+
export const InstanceRoleType = {
|
|
110
|
+
CORE: "CORE",
|
|
111
|
+
MASTER: "MASTER",
|
|
112
|
+
TASK: "TASK",
|
|
113
|
+
};
|
|
127
114
|
export class InternalServerError extends __BaseException {
|
|
128
115
|
constructor(opts) {
|
|
129
116
|
super({
|
|
@@ -136,90 +123,77 @@ export class InternalServerError extends __BaseException {
|
|
|
136
123
|
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
137
124
|
}
|
|
138
125
|
}
|
|
139
|
-
export
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
export
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
ClusterStateChangeReasonCode["VALIDATION_ERROR"] = "VALIDATION_ERROR";
|
|
211
|
-
})(ClusterStateChangeReasonCode || (ClusterStateChangeReasonCode = {}));
|
|
212
|
-
export var ComputeLimitsUnitType;
|
|
213
|
-
(function (ComputeLimitsUnitType) {
|
|
214
|
-
ComputeLimitsUnitType["InstanceFleetUnits"] = "InstanceFleetUnits";
|
|
215
|
-
ComputeLimitsUnitType["Instances"] = "Instances";
|
|
216
|
-
ComputeLimitsUnitType["VCPU"] = "VCPU";
|
|
217
|
-
})(ComputeLimitsUnitType || (ComputeLimitsUnitType = {}));
|
|
218
|
-
export var IdentityType;
|
|
219
|
-
(function (IdentityType) {
|
|
220
|
-
IdentityType["GROUP"] = "GROUP";
|
|
221
|
-
IdentityType["USER"] = "USER";
|
|
222
|
-
})(IdentityType || (IdentityType = {}));
|
|
126
|
+
export const AuthMode = {
|
|
127
|
+
IAM: "IAM",
|
|
128
|
+
SSO: "SSO",
|
|
129
|
+
};
|
|
130
|
+
export const AutoScalingPolicyState = {
|
|
131
|
+
ATTACHED: "ATTACHED",
|
|
132
|
+
ATTACHING: "ATTACHING",
|
|
133
|
+
DETACHED: "DETACHED",
|
|
134
|
+
DETACHING: "DETACHING",
|
|
135
|
+
FAILED: "FAILED",
|
|
136
|
+
PENDING: "PENDING",
|
|
137
|
+
};
|
|
138
|
+
export const AutoScalingPolicyStateChangeReasonCode = {
|
|
139
|
+
CLEANUP_FAILURE: "CLEANUP_FAILURE",
|
|
140
|
+
PROVISION_FAILURE: "PROVISION_FAILURE",
|
|
141
|
+
USER_REQUEST: "USER_REQUEST",
|
|
142
|
+
};
|
|
143
|
+
export const StepCancellationOption = {
|
|
144
|
+
SEND_INTERRUPT: "SEND_INTERRUPT",
|
|
145
|
+
TERMINATE_PROCESS: "TERMINATE_PROCESS",
|
|
146
|
+
};
|
|
147
|
+
export const CancelStepsRequestStatus = {
|
|
148
|
+
FAILED: "FAILED",
|
|
149
|
+
SUBMITTED: "SUBMITTED",
|
|
150
|
+
};
|
|
151
|
+
export const InstanceCollectionType = {
|
|
152
|
+
INSTANCE_FLEET: "INSTANCE_FLEET",
|
|
153
|
+
INSTANCE_GROUP: "INSTANCE_GROUP",
|
|
154
|
+
};
|
|
155
|
+
export const PlacementGroupStrategy = {
|
|
156
|
+
CLUSTER: "CLUSTER",
|
|
157
|
+
NONE: "NONE",
|
|
158
|
+
PARTITION: "PARTITION",
|
|
159
|
+
SPREAD: "SPREAD",
|
|
160
|
+
};
|
|
161
|
+
export const RepoUpgradeOnBoot = {
|
|
162
|
+
NONE: "NONE",
|
|
163
|
+
SECURITY: "SECURITY",
|
|
164
|
+
};
|
|
165
|
+
export const ScaleDownBehavior = {
|
|
166
|
+
TERMINATE_AT_INSTANCE_HOUR: "TERMINATE_AT_INSTANCE_HOUR",
|
|
167
|
+
TERMINATE_AT_TASK_COMPLETION: "TERMINATE_AT_TASK_COMPLETION",
|
|
168
|
+
};
|
|
169
|
+
export const ClusterState = {
|
|
170
|
+
BOOTSTRAPPING: "BOOTSTRAPPING",
|
|
171
|
+
RUNNING: "RUNNING",
|
|
172
|
+
STARTING: "STARTING",
|
|
173
|
+
TERMINATED: "TERMINATED",
|
|
174
|
+
TERMINATED_WITH_ERRORS: "TERMINATED_WITH_ERRORS",
|
|
175
|
+
TERMINATING: "TERMINATING",
|
|
176
|
+
WAITING: "WAITING",
|
|
177
|
+
};
|
|
178
|
+
export const ClusterStateChangeReasonCode = {
|
|
179
|
+
ALL_STEPS_COMPLETED: "ALL_STEPS_COMPLETED",
|
|
180
|
+
BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE",
|
|
181
|
+
INSTANCE_FAILURE: "INSTANCE_FAILURE",
|
|
182
|
+
INSTANCE_FLEET_TIMEOUT: "INSTANCE_FLEET_TIMEOUT",
|
|
183
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
184
|
+
STEP_FAILURE: "STEP_FAILURE",
|
|
185
|
+
USER_REQUEST: "USER_REQUEST",
|
|
186
|
+
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
187
|
+
};
|
|
188
|
+
export const ComputeLimitsUnitType = {
|
|
189
|
+
InstanceFleetUnits: "InstanceFleetUnits",
|
|
190
|
+
Instances: "Instances",
|
|
191
|
+
VCPU: "VCPU",
|
|
192
|
+
};
|
|
193
|
+
export const IdentityType = {
|
|
194
|
+
GROUP: "GROUP",
|
|
195
|
+
USER: "USER",
|
|
196
|
+
};
|
|
223
197
|
export var Credentials;
|
|
224
198
|
(function (Credentials) {
|
|
225
199
|
Credentials.visit = (value, visitor) => {
|
|
@@ -228,123 +202,109 @@ export var Credentials;
|
|
|
228
202
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
229
203
|
};
|
|
230
204
|
})(Credentials || (Credentials = {}));
|
|
231
|
-
export
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
export
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
})(InstanceState || (InstanceState = {}));
|
|
335
|
-
export var InstanceStateChangeReasonCode;
|
|
336
|
-
(function (InstanceStateChangeReasonCode) {
|
|
337
|
-
InstanceStateChangeReasonCode["BOOTSTRAP_FAILURE"] = "BOOTSTRAP_FAILURE";
|
|
338
|
-
InstanceStateChangeReasonCode["CLUSTER_TERMINATED"] = "CLUSTER_TERMINATED";
|
|
339
|
-
InstanceStateChangeReasonCode["INSTANCE_FAILURE"] = "INSTANCE_FAILURE";
|
|
340
|
-
InstanceStateChangeReasonCode["INTERNAL_ERROR"] = "INTERNAL_ERROR";
|
|
341
|
-
InstanceStateChangeReasonCode["VALIDATION_ERROR"] = "VALIDATION_ERROR";
|
|
342
|
-
})(InstanceStateChangeReasonCode || (InstanceStateChangeReasonCode = {}));
|
|
343
|
-
export var ReconfigurationType;
|
|
344
|
-
(function (ReconfigurationType) {
|
|
345
|
-
ReconfigurationType["MERGE"] = "MERGE";
|
|
346
|
-
ReconfigurationType["OVERWRITE"] = "OVERWRITE";
|
|
347
|
-
})(ReconfigurationType || (ReconfigurationType = {}));
|
|
205
|
+
export const JobFlowExecutionState = {
|
|
206
|
+
BOOTSTRAPPING: "BOOTSTRAPPING",
|
|
207
|
+
COMPLETED: "COMPLETED",
|
|
208
|
+
FAILED: "FAILED",
|
|
209
|
+
RUNNING: "RUNNING",
|
|
210
|
+
SHUTTING_DOWN: "SHUTTING_DOWN",
|
|
211
|
+
STARTING: "STARTING",
|
|
212
|
+
TERMINATED: "TERMINATED",
|
|
213
|
+
WAITING: "WAITING",
|
|
214
|
+
};
|
|
215
|
+
export const InstanceGroupState = {
|
|
216
|
+
ARRESTED: "ARRESTED",
|
|
217
|
+
BOOTSTRAPPING: "BOOTSTRAPPING",
|
|
218
|
+
ENDED: "ENDED",
|
|
219
|
+
PROVISIONING: "PROVISIONING",
|
|
220
|
+
RECONFIGURING: "RECONFIGURING",
|
|
221
|
+
RESIZING: "RESIZING",
|
|
222
|
+
RUNNING: "RUNNING",
|
|
223
|
+
SHUTTING_DOWN: "SHUTTING_DOWN",
|
|
224
|
+
SUSPENDED: "SUSPENDED",
|
|
225
|
+
TERMINATED: "TERMINATED",
|
|
226
|
+
TERMINATING: "TERMINATING",
|
|
227
|
+
};
|
|
228
|
+
export const StepExecutionState = {
|
|
229
|
+
CANCELLED: "CANCELLED",
|
|
230
|
+
COMPLETED: "COMPLETED",
|
|
231
|
+
CONTINUE: "CONTINUE",
|
|
232
|
+
FAILED: "FAILED",
|
|
233
|
+
INTERRUPTED: "INTERRUPTED",
|
|
234
|
+
PENDING: "PENDING",
|
|
235
|
+
RUNNING: "RUNNING",
|
|
236
|
+
};
|
|
237
|
+
export const ExecutionEngineType = {
|
|
238
|
+
EMR: "EMR",
|
|
239
|
+
};
|
|
240
|
+
export const NotebookExecutionStatus = {
|
|
241
|
+
FAILED: "FAILED",
|
|
242
|
+
FAILING: "FAILING",
|
|
243
|
+
FINISHED: "FINISHED",
|
|
244
|
+
FINISHING: "FINISHING",
|
|
245
|
+
RUNNING: "RUNNING",
|
|
246
|
+
STARTING: "STARTING",
|
|
247
|
+
START_PENDING: "START_PENDING",
|
|
248
|
+
STOPPED: "STOPPED",
|
|
249
|
+
STOPPING: "STOPPING",
|
|
250
|
+
STOP_PENDING: "STOP_PENDING",
|
|
251
|
+
};
|
|
252
|
+
export const StepState = {
|
|
253
|
+
CANCELLED: "CANCELLED",
|
|
254
|
+
CANCEL_PENDING: "CANCEL_PENDING",
|
|
255
|
+
COMPLETED: "COMPLETED",
|
|
256
|
+
FAILED: "FAILED",
|
|
257
|
+
INTERRUPTED: "INTERRUPTED",
|
|
258
|
+
PENDING: "PENDING",
|
|
259
|
+
RUNNING: "RUNNING",
|
|
260
|
+
};
|
|
261
|
+
export const StepStateChangeReasonCode = {
|
|
262
|
+
NONE: "NONE",
|
|
263
|
+
};
|
|
264
|
+
export const InstanceFleetState = {
|
|
265
|
+
BOOTSTRAPPING: "BOOTSTRAPPING",
|
|
266
|
+
PROVISIONING: "PROVISIONING",
|
|
267
|
+
RESIZING: "RESIZING",
|
|
268
|
+
RUNNING: "RUNNING",
|
|
269
|
+
SUSPENDED: "SUSPENDED",
|
|
270
|
+
TERMINATED: "TERMINATED",
|
|
271
|
+
TERMINATING: "TERMINATING",
|
|
272
|
+
};
|
|
273
|
+
export const InstanceFleetStateChangeReasonCode = {
|
|
274
|
+
CLUSTER_TERMINATED: "CLUSTER_TERMINATED",
|
|
275
|
+
INSTANCE_FAILURE: "INSTANCE_FAILURE",
|
|
276
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
277
|
+
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
278
|
+
};
|
|
279
|
+
export const InstanceGroupType = {
|
|
280
|
+
CORE: "CORE",
|
|
281
|
+
MASTER: "MASTER",
|
|
282
|
+
TASK: "TASK",
|
|
283
|
+
};
|
|
284
|
+
export const InstanceGroupStateChangeReasonCode = {
|
|
285
|
+
CLUSTER_TERMINATED: "CLUSTER_TERMINATED",
|
|
286
|
+
INSTANCE_FAILURE: "INSTANCE_FAILURE",
|
|
287
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
288
|
+
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
289
|
+
};
|
|
290
|
+
export const InstanceState = {
|
|
291
|
+
AWAITING_FULFILLMENT: "AWAITING_FULFILLMENT",
|
|
292
|
+
BOOTSTRAPPING: "BOOTSTRAPPING",
|
|
293
|
+
PROVISIONING: "PROVISIONING",
|
|
294
|
+
RUNNING: "RUNNING",
|
|
295
|
+
TERMINATED: "TERMINATED",
|
|
296
|
+
};
|
|
297
|
+
export const InstanceStateChangeReasonCode = {
|
|
298
|
+
BOOTSTRAP_FAILURE: "BOOTSTRAP_FAILURE",
|
|
299
|
+
CLUSTER_TERMINATED: "CLUSTER_TERMINATED",
|
|
300
|
+
INSTANCE_FAILURE: "INSTANCE_FAILURE",
|
|
301
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
302
|
+
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
303
|
+
};
|
|
304
|
+
export const ReconfigurationType = {
|
|
305
|
+
MERGE: "MERGE",
|
|
306
|
+
OVERWRITE: "OVERWRITE",
|
|
307
|
+
};
|
|
348
308
|
export const UsernamePasswordFilterSensitiveLog = (obj) => ({
|
|
349
309
|
...obj,
|
|
350
310
|
});
|