@aws-sdk/client-sfn 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.
Files changed (31) hide show
  1. package/dist-cjs/models/models_0.js +98 -106
  2. package/dist-es/models/models_0.js +98 -106
  3. package/dist-types/commands/CreateActivityCommand.d.ts +3 -3
  4. package/dist-types/commands/CreateStateMachineCommand.d.ts +8 -8
  5. package/dist-types/commands/DeleteActivityCommand.d.ts +1 -1
  6. package/dist-types/commands/DeleteStateMachineCommand.d.ts +1 -1
  7. package/dist-types/commands/DescribeActivityCommand.d.ts +1 -1
  8. package/dist-types/commands/DescribeExecutionCommand.d.ts +1 -1
  9. package/dist-types/commands/DescribeMapRunCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeStateMachineCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +1 -1
  12. package/dist-types/commands/GetActivityTaskCommand.d.ts +1 -1
  13. package/dist-types/commands/GetExecutionHistoryCommand.d.ts +1 -1
  14. package/dist-types/commands/ListActivitiesCommand.d.ts +1 -1
  15. package/dist-types/commands/ListExecutionsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListMapRunsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListStateMachinesCommand.d.ts +1 -1
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  19. package/dist-types/commands/SendTaskFailureCommand.d.ts +1 -1
  20. package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +1 -1
  21. package/dist-types/commands/SendTaskSuccessCommand.d.ts +1 -1
  22. package/dist-types/commands/StartExecutionCommand.d.ts +1 -1
  23. package/dist-types/commands/StartSyncExecutionCommand.d.ts +1 -1
  24. package/dist-types/commands/StopExecutionCommand.d.ts +1 -1
  25. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  26. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  27. package/dist-types/commands/UpdateMapRunCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateStateMachineCommand.d.ts +6 -6
  29. package/dist-types/models/models_0.d.ts +139 -99
  30. package/dist-types/ts3.4/models/models_0.d.ts +112 -98
  31. package/package.json +34 -34
@@ -70,18 +70,16 @@ class TooManyTags extends SFNServiceException_1.SFNServiceException {
70
70
  }
71
71
  }
72
72
  exports.TooManyTags = TooManyTags;
73
- var LogLevel;
74
- (function (LogLevel) {
75
- LogLevel["ALL"] = "ALL";
76
- LogLevel["ERROR"] = "ERROR";
77
- LogLevel["FATAL"] = "FATAL";
78
- LogLevel["OFF"] = "OFF";
79
- })(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
80
- var StateMachineType;
81
- (function (StateMachineType) {
82
- StateMachineType["EXPRESS"] = "EXPRESS";
83
- StateMachineType["STANDARD"] = "STANDARD";
84
- })(StateMachineType = exports.StateMachineType || (exports.StateMachineType = {}));
73
+ exports.LogLevel = {
74
+ ALL: "ALL",
75
+ ERROR: "ERROR",
76
+ FATAL: "FATAL",
77
+ OFF: "OFF",
78
+ };
79
+ exports.StateMachineType = {
80
+ EXPRESS: "EXPRESS",
81
+ STANDARD: "STANDARD",
82
+ };
85
83
  class InvalidArn extends SFNServiceException_1.SFNServiceException {
86
84
  constructor(opts) {
87
85
  super({
@@ -186,12 +184,11 @@ class StateMachineTypeNotSupported extends SFNServiceException_1.SFNServiceExcep
186
184
  }
187
185
  }
188
186
  exports.StateMachineTypeNotSupported = StateMachineTypeNotSupported;
189
- var ValidationExceptionReason;
190
- (function (ValidationExceptionReason) {
191
- ValidationExceptionReason["API_DOES_NOT_SUPPORT_LABELED_ARNS"] = "API_DOES_NOT_SUPPORT_LABELED_ARNS";
192
- ValidationExceptionReason["CANNOT_UPDATE_COMPLETED_MAP_RUN"] = "CANNOT_UPDATE_COMPLETED_MAP_RUN";
193
- ValidationExceptionReason["MISSING_REQUIRED_PARAMETER"] = "MISSING_REQUIRED_PARAMETER";
194
- })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
187
+ exports.ValidationExceptionReason = {
188
+ API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS",
189
+ CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN",
190
+ MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER",
191
+ };
195
192
  class ValidationException extends SFNServiceException_1.SFNServiceException {
196
193
  constructor(opts) {
197
194
  super({
@@ -206,14 +203,13 @@ class ValidationException extends SFNServiceException_1.SFNServiceException {
206
203
  }
207
204
  }
208
205
  exports.ValidationException = ValidationException;
209
- var ExecutionStatus;
210
- (function (ExecutionStatus) {
211
- ExecutionStatus["ABORTED"] = "ABORTED";
212
- ExecutionStatus["FAILED"] = "FAILED";
213
- ExecutionStatus["RUNNING"] = "RUNNING";
214
- ExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
215
- ExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
216
- })(ExecutionStatus = exports.ExecutionStatus || (exports.ExecutionStatus = {}));
206
+ exports.ExecutionStatus = {
207
+ ABORTED: "ABORTED",
208
+ FAILED: "FAILED",
209
+ RUNNING: "RUNNING",
210
+ SUCCEEDED: "SUCCEEDED",
211
+ TIMED_OUT: "TIMED_OUT",
212
+ };
217
213
  class ExecutionDoesNotExist extends SFNServiceException_1.SFNServiceException {
218
214
  constructor(opts) {
219
215
  super({
@@ -227,13 +223,12 @@ class ExecutionDoesNotExist extends SFNServiceException_1.SFNServiceException {
227
223
  }
228
224
  }
229
225
  exports.ExecutionDoesNotExist = ExecutionDoesNotExist;
230
- var MapRunStatus;
231
- (function (MapRunStatus) {
232
- MapRunStatus["ABORTED"] = "ABORTED";
233
- MapRunStatus["FAILED"] = "FAILED";
234
- MapRunStatus["RUNNING"] = "RUNNING";
235
- MapRunStatus["SUCCEEDED"] = "SUCCEEDED";
236
- })(MapRunStatus = exports.MapRunStatus || (exports.MapRunStatus = {}));
226
+ exports.MapRunStatus = {
227
+ ABORTED: "ABORTED",
228
+ FAILED: "FAILED",
229
+ RUNNING: "RUNNING",
230
+ SUCCEEDED: "SUCCEEDED",
231
+ };
237
232
  class ResourceNotFound extends SFNServiceException_1.SFNServiceException {
238
233
  constructor(opts) {
239
234
  super({
@@ -248,11 +243,10 @@ class ResourceNotFound extends SFNServiceException_1.SFNServiceException {
248
243
  }
249
244
  }
250
245
  exports.ResourceNotFound = ResourceNotFound;
251
- var StateMachineStatus;
252
- (function (StateMachineStatus) {
253
- StateMachineStatus["ACTIVE"] = "ACTIVE";
254
- StateMachineStatus["DELETING"] = "DELETING";
255
- })(StateMachineStatus = exports.StateMachineStatus || (exports.StateMachineStatus = {}));
246
+ exports.StateMachineStatus = {
247
+ ACTIVE: "ACTIVE",
248
+ DELETING: "DELETING",
249
+ };
256
250
  class StateMachineDoesNotExist extends SFNServiceException_1.SFNServiceException {
257
251
  constructor(opts) {
258
252
  super({
@@ -266,68 +260,67 @@ class StateMachineDoesNotExist extends SFNServiceException_1.SFNServiceException
266
260
  }
267
261
  }
268
262
  exports.StateMachineDoesNotExist = StateMachineDoesNotExist;
269
- var HistoryEventType;
270
- (function (HistoryEventType) {
271
- HistoryEventType["ActivityFailed"] = "ActivityFailed";
272
- HistoryEventType["ActivityScheduleFailed"] = "ActivityScheduleFailed";
273
- HistoryEventType["ActivityScheduled"] = "ActivityScheduled";
274
- HistoryEventType["ActivityStarted"] = "ActivityStarted";
275
- HistoryEventType["ActivitySucceeded"] = "ActivitySucceeded";
276
- HistoryEventType["ActivityTimedOut"] = "ActivityTimedOut";
277
- HistoryEventType["ChoiceStateEntered"] = "ChoiceStateEntered";
278
- HistoryEventType["ChoiceStateExited"] = "ChoiceStateExited";
279
- HistoryEventType["ExecutionAborted"] = "ExecutionAborted";
280
- HistoryEventType["ExecutionFailed"] = "ExecutionFailed";
281
- HistoryEventType["ExecutionStarted"] = "ExecutionStarted";
282
- HistoryEventType["ExecutionSucceeded"] = "ExecutionSucceeded";
283
- HistoryEventType["ExecutionTimedOut"] = "ExecutionTimedOut";
284
- HistoryEventType["FailStateEntered"] = "FailStateEntered";
285
- HistoryEventType["LambdaFunctionFailed"] = "LambdaFunctionFailed";
286
- HistoryEventType["LambdaFunctionScheduleFailed"] = "LambdaFunctionScheduleFailed";
287
- HistoryEventType["LambdaFunctionScheduled"] = "LambdaFunctionScheduled";
288
- HistoryEventType["LambdaFunctionStartFailed"] = "LambdaFunctionStartFailed";
289
- HistoryEventType["LambdaFunctionStarted"] = "LambdaFunctionStarted";
290
- HistoryEventType["LambdaFunctionSucceeded"] = "LambdaFunctionSucceeded";
291
- HistoryEventType["LambdaFunctionTimedOut"] = "LambdaFunctionTimedOut";
292
- HistoryEventType["MapIterationAborted"] = "MapIterationAborted";
293
- HistoryEventType["MapIterationFailed"] = "MapIterationFailed";
294
- HistoryEventType["MapIterationStarted"] = "MapIterationStarted";
295
- HistoryEventType["MapIterationSucceeded"] = "MapIterationSucceeded";
296
- HistoryEventType["MapRunAborted"] = "MapRunAborted";
297
- HistoryEventType["MapRunFailed"] = "MapRunFailed";
298
- HistoryEventType["MapRunStarted"] = "MapRunStarted";
299
- HistoryEventType["MapRunSucceeded"] = "MapRunSucceeded";
300
- HistoryEventType["MapStateAborted"] = "MapStateAborted";
301
- HistoryEventType["MapStateEntered"] = "MapStateEntered";
302
- HistoryEventType["MapStateExited"] = "MapStateExited";
303
- HistoryEventType["MapStateFailed"] = "MapStateFailed";
304
- HistoryEventType["MapStateStarted"] = "MapStateStarted";
305
- HistoryEventType["MapStateSucceeded"] = "MapStateSucceeded";
306
- HistoryEventType["ParallelStateAborted"] = "ParallelStateAborted";
307
- HistoryEventType["ParallelStateEntered"] = "ParallelStateEntered";
308
- HistoryEventType["ParallelStateExited"] = "ParallelStateExited";
309
- HistoryEventType["ParallelStateFailed"] = "ParallelStateFailed";
310
- HistoryEventType["ParallelStateStarted"] = "ParallelStateStarted";
311
- HistoryEventType["ParallelStateSucceeded"] = "ParallelStateSucceeded";
312
- HistoryEventType["PassStateEntered"] = "PassStateEntered";
313
- HistoryEventType["PassStateExited"] = "PassStateExited";
314
- HistoryEventType["SucceedStateEntered"] = "SucceedStateEntered";
315
- HistoryEventType["SucceedStateExited"] = "SucceedStateExited";
316
- HistoryEventType["TaskFailed"] = "TaskFailed";
317
- HistoryEventType["TaskScheduled"] = "TaskScheduled";
318
- HistoryEventType["TaskStartFailed"] = "TaskStartFailed";
319
- HistoryEventType["TaskStarted"] = "TaskStarted";
320
- HistoryEventType["TaskStateAborted"] = "TaskStateAborted";
321
- HistoryEventType["TaskStateEntered"] = "TaskStateEntered";
322
- HistoryEventType["TaskStateExited"] = "TaskStateExited";
323
- HistoryEventType["TaskSubmitFailed"] = "TaskSubmitFailed";
324
- HistoryEventType["TaskSubmitted"] = "TaskSubmitted";
325
- HistoryEventType["TaskSucceeded"] = "TaskSucceeded";
326
- HistoryEventType["TaskTimedOut"] = "TaskTimedOut";
327
- HistoryEventType["WaitStateAborted"] = "WaitStateAborted";
328
- HistoryEventType["WaitStateEntered"] = "WaitStateEntered";
329
- HistoryEventType["WaitStateExited"] = "WaitStateExited";
330
- })(HistoryEventType = exports.HistoryEventType || (exports.HistoryEventType = {}));
263
+ exports.HistoryEventType = {
264
+ ActivityFailed: "ActivityFailed",
265
+ ActivityScheduleFailed: "ActivityScheduleFailed",
266
+ ActivityScheduled: "ActivityScheduled",
267
+ ActivityStarted: "ActivityStarted",
268
+ ActivitySucceeded: "ActivitySucceeded",
269
+ ActivityTimedOut: "ActivityTimedOut",
270
+ ChoiceStateEntered: "ChoiceStateEntered",
271
+ ChoiceStateExited: "ChoiceStateExited",
272
+ ExecutionAborted: "ExecutionAborted",
273
+ ExecutionFailed: "ExecutionFailed",
274
+ ExecutionStarted: "ExecutionStarted",
275
+ ExecutionSucceeded: "ExecutionSucceeded",
276
+ ExecutionTimedOut: "ExecutionTimedOut",
277
+ FailStateEntered: "FailStateEntered",
278
+ LambdaFunctionFailed: "LambdaFunctionFailed",
279
+ LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed",
280
+ LambdaFunctionScheduled: "LambdaFunctionScheduled",
281
+ LambdaFunctionStartFailed: "LambdaFunctionStartFailed",
282
+ LambdaFunctionStarted: "LambdaFunctionStarted",
283
+ LambdaFunctionSucceeded: "LambdaFunctionSucceeded",
284
+ LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
285
+ MapIterationAborted: "MapIterationAborted",
286
+ MapIterationFailed: "MapIterationFailed",
287
+ MapIterationStarted: "MapIterationStarted",
288
+ MapIterationSucceeded: "MapIterationSucceeded",
289
+ MapRunAborted: "MapRunAborted",
290
+ MapRunFailed: "MapRunFailed",
291
+ MapRunStarted: "MapRunStarted",
292
+ MapRunSucceeded: "MapRunSucceeded",
293
+ MapStateAborted: "MapStateAborted",
294
+ MapStateEntered: "MapStateEntered",
295
+ MapStateExited: "MapStateExited",
296
+ MapStateFailed: "MapStateFailed",
297
+ MapStateStarted: "MapStateStarted",
298
+ MapStateSucceeded: "MapStateSucceeded",
299
+ ParallelStateAborted: "ParallelStateAborted",
300
+ ParallelStateEntered: "ParallelStateEntered",
301
+ ParallelStateExited: "ParallelStateExited",
302
+ ParallelStateFailed: "ParallelStateFailed",
303
+ ParallelStateStarted: "ParallelStateStarted",
304
+ ParallelStateSucceeded: "ParallelStateSucceeded",
305
+ PassStateEntered: "PassStateEntered",
306
+ PassStateExited: "PassStateExited",
307
+ SucceedStateEntered: "SucceedStateEntered",
308
+ SucceedStateExited: "SucceedStateExited",
309
+ TaskFailed: "TaskFailed",
310
+ TaskScheduled: "TaskScheduled",
311
+ TaskStartFailed: "TaskStartFailed",
312
+ TaskStarted: "TaskStarted",
313
+ TaskStateAborted: "TaskStateAborted",
314
+ TaskStateEntered: "TaskStateEntered",
315
+ TaskStateExited: "TaskStateExited",
316
+ TaskSubmitFailed: "TaskSubmitFailed",
317
+ TaskSubmitted: "TaskSubmitted",
318
+ TaskSucceeded: "TaskSucceeded",
319
+ TaskTimedOut: "TaskTimedOut",
320
+ WaitStateAborted: "WaitStateAborted",
321
+ WaitStateEntered: "WaitStateEntered",
322
+ WaitStateExited: "WaitStateExited",
323
+ };
331
324
  class InvalidToken extends SFNServiceException_1.SFNServiceException {
332
325
  constructor(opts) {
333
326
  super({
@@ -419,12 +412,11 @@ class InvalidExecutionInput extends SFNServiceException_1.SFNServiceException {
419
412
  }
420
413
  }
421
414
  exports.InvalidExecutionInput = InvalidExecutionInput;
422
- var SyncExecutionStatus;
423
- (function (SyncExecutionStatus) {
424
- SyncExecutionStatus["FAILED"] = "FAILED";
425
- SyncExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
426
- SyncExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
427
- })(SyncExecutionStatus = exports.SyncExecutionStatus || (exports.SyncExecutionStatus = {}));
415
+ exports.SyncExecutionStatus = {
416
+ FAILED: "FAILED",
417
+ SUCCEEDED: "SUCCEEDED",
418
+ TIMED_OUT: "TIMED_OUT",
419
+ };
428
420
  class MissingRequiredParameter extends SFNServiceException_1.SFNServiceException {
429
421
  constructor(opts) {
430
422
  super({
@@ -61,18 +61,16 @@ export class TooManyTags extends __BaseException {
61
61
  this.resourceName = opts.resourceName;
62
62
  }
63
63
  }
64
- export var LogLevel;
65
- (function (LogLevel) {
66
- LogLevel["ALL"] = "ALL";
67
- LogLevel["ERROR"] = "ERROR";
68
- LogLevel["FATAL"] = "FATAL";
69
- LogLevel["OFF"] = "OFF";
70
- })(LogLevel || (LogLevel = {}));
71
- export var StateMachineType;
72
- (function (StateMachineType) {
73
- StateMachineType["EXPRESS"] = "EXPRESS";
74
- StateMachineType["STANDARD"] = "STANDARD";
75
- })(StateMachineType || (StateMachineType = {}));
64
+ export const LogLevel = {
65
+ ALL: "ALL",
66
+ ERROR: "ERROR",
67
+ FATAL: "FATAL",
68
+ OFF: "OFF",
69
+ };
70
+ export const StateMachineType = {
71
+ EXPRESS: "EXPRESS",
72
+ STANDARD: "STANDARD",
73
+ };
76
74
  export class InvalidArn extends __BaseException {
77
75
  constructor(opts) {
78
76
  super({
@@ -169,12 +167,11 @@ export class StateMachineTypeNotSupported extends __BaseException {
169
167
  Object.setPrototypeOf(this, StateMachineTypeNotSupported.prototype);
170
168
  }
171
169
  }
172
- export var ValidationExceptionReason;
173
- (function (ValidationExceptionReason) {
174
- ValidationExceptionReason["API_DOES_NOT_SUPPORT_LABELED_ARNS"] = "API_DOES_NOT_SUPPORT_LABELED_ARNS";
175
- ValidationExceptionReason["CANNOT_UPDATE_COMPLETED_MAP_RUN"] = "CANNOT_UPDATE_COMPLETED_MAP_RUN";
176
- ValidationExceptionReason["MISSING_REQUIRED_PARAMETER"] = "MISSING_REQUIRED_PARAMETER";
177
- })(ValidationExceptionReason || (ValidationExceptionReason = {}));
170
+ export const ValidationExceptionReason = {
171
+ API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS",
172
+ CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN",
173
+ MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER",
174
+ };
178
175
  export class ValidationException extends __BaseException {
179
176
  constructor(opts) {
180
177
  super({
@@ -188,14 +185,13 @@ export class ValidationException extends __BaseException {
188
185
  this.reason = opts.reason;
189
186
  }
190
187
  }
191
- export var ExecutionStatus;
192
- (function (ExecutionStatus) {
193
- ExecutionStatus["ABORTED"] = "ABORTED";
194
- ExecutionStatus["FAILED"] = "FAILED";
195
- ExecutionStatus["RUNNING"] = "RUNNING";
196
- ExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
197
- ExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
198
- })(ExecutionStatus || (ExecutionStatus = {}));
188
+ export const ExecutionStatus = {
189
+ ABORTED: "ABORTED",
190
+ FAILED: "FAILED",
191
+ RUNNING: "RUNNING",
192
+ SUCCEEDED: "SUCCEEDED",
193
+ TIMED_OUT: "TIMED_OUT",
194
+ };
199
195
  export class ExecutionDoesNotExist extends __BaseException {
200
196
  constructor(opts) {
201
197
  super({
@@ -208,13 +204,12 @@ export class ExecutionDoesNotExist extends __BaseException {
208
204
  Object.setPrototypeOf(this, ExecutionDoesNotExist.prototype);
209
205
  }
210
206
  }
211
- export var MapRunStatus;
212
- (function (MapRunStatus) {
213
- MapRunStatus["ABORTED"] = "ABORTED";
214
- MapRunStatus["FAILED"] = "FAILED";
215
- MapRunStatus["RUNNING"] = "RUNNING";
216
- MapRunStatus["SUCCEEDED"] = "SUCCEEDED";
217
- })(MapRunStatus || (MapRunStatus = {}));
207
+ export const MapRunStatus = {
208
+ ABORTED: "ABORTED",
209
+ FAILED: "FAILED",
210
+ RUNNING: "RUNNING",
211
+ SUCCEEDED: "SUCCEEDED",
212
+ };
218
213
  export class ResourceNotFound extends __BaseException {
219
214
  constructor(opts) {
220
215
  super({
@@ -228,11 +223,10 @@ export class ResourceNotFound extends __BaseException {
228
223
  this.resourceName = opts.resourceName;
229
224
  }
230
225
  }
231
- export var StateMachineStatus;
232
- (function (StateMachineStatus) {
233
- StateMachineStatus["ACTIVE"] = "ACTIVE";
234
- StateMachineStatus["DELETING"] = "DELETING";
235
- })(StateMachineStatus || (StateMachineStatus = {}));
226
+ export const StateMachineStatus = {
227
+ ACTIVE: "ACTIVE",
228
+ DELETING: "DELETING",
229
+ };
236
230
  export class StateMachineDoesNotExist extends __BaseException {
237
231
  constructor(opts) {
238
232
  super({
@@ -245,68 +239,67 @@ export class StateMachineDoesNotExist extends __BaseException {
245
239
  Object.setPrototypeOf(this, StateMachineDoesNotExist.prototype);
246
240
  }
247
241
  }
248
- export var HistoryEventType;
249
- (function (HistoryEventType) {
250
- HistoryEventType["ActivityFailed"] = "ActivityFailed";
251
- HistoryEventType["ActivityScheduleFailed"] = "ActivityScheduleFailed";
252
- HistoryEventType["ActivityScheduled"] = "ActivityScheduled";
253
- HistoryEventType["ActivityStarted"] = "ActivityStarted";
254
- HistoryEventType["ActivitySucceeded"] = "ActivitySucceeded";
255
- HistoryEventType["ActivityTimedOut"] = "ActivityTimedOut";
256
- HistoryEventType["ChoiceStateEntered"] = "ChoiceStateEntered";
257
- HistoryEventType["ChoiceStateExited"] = "ChoiceStateExited";
258
- HistoryEventType["ExecutionAborted"] = "ExecutionAborted";
259
- HistoryEventType["ExecutionFailed"] = "ExecutionFailed";
260
- HistoryEventType["ExecutionStarted"] = "ExecutionStarted";
261
- HistoryEventType["ExecutionSucceeded"] = "ExecutionSucceeded";
262
- HistoryEventType["ExecutionTimedOut"] = "ExecutionTimedOut";
263
- HistoryEventType["FailStateEntered"] = "FailStateEntered";
264
- HistoryEventType["LambdaFunctionFailed"] = "LambdaFunctionFailed";
265
- HistoryEventType["LambdaFunctionScheduleFailed"] = "LambdaFunctionScheduleFailed";
266
- HistoryEventType["LambdaFunctionScheduled"] = "LambdaFunctionScheduled";
267
- HistoryEventType["LambdaFunctionStartFailed"] = "LambdaFunctionStartFailed";
268
- HistoryEventType["LambdaFunctionStarted"] = "LambdaFunctionStarted";
269
- HistoryEventType["LambdaFunctionSucceeded"] = "LambdaFunctionSucceeded";
270
- HistoryEventType["LambdaFunctionTimedOut"] = "LambdaFunctionTimedOut";
271
- HistoryEventType["MapIterationAborted"] = "MapIterationAborted";
272
- HistoryEventType["MapIterationFailed"] = "MapIterationFailed";
273
- HistoryEventType["MapIterationStarted"] = "MapIterationStarted";
274
- HistoryEventType["MapIterationSucceeded"] = "MapIterationSucceeded";
275
- HistoryEventType["MapRunAborted"] = "MapRunAborted";
276
- HistoryEventType["MapRunFailed"] = "MapRunFailed";
277
- HistoryEventType["MapRunStarted"] = "MapRunStarted";
278
- HistoryEventType["MapRunSucceeded"] = "MapRunSucceeded";
279
- HistoryEventType["MapStateAborted"] = "MapStateAborted";
280
- HistoryEventType["MapStateEntered"] = "MapStateEntered";
281
- HistoryEventType["MapStateExited"] = "MapStateExited";
282
- HistoryEventType["MapStateFailed"] = "MapStateFailed";
283
- HistoryEventType["MapStateStarted"] = "MapStateStarted";
284
- HistoryEventType["MapStateSucceeded"] = "MapStateSucceeded";
285
- HistoryEventType["ParallelStateAborted"] = "ParallelStateAborted";
286
- HistoryEventType["ParallelStateEntered"] = "ParallelStateEntered";
287
- HistoryEventType["ParallelStateExited"] = "ParallelStateExited";
288
- HistoryEventType["ParallelStateFailed"] = "ParallelStateFailed";
289
- HistoryEventType["ParallelStateStarted"] = "ParallelStateStarted";
290
- HistoryEventType["ParallelStateSucceeded"] = "ParallelStateSucceeded";
291
- HistoryEventType["PassStateEntered"] = "PassStateEntered";
292
- HistoryEventType["PassStateExited"] = "PassStateExited";
293
- HistoryEventType["SucceedStateEntered"] = "SucceedStateEntered";
294
- HistoryEventType["SucceedStateExited"] = "SucceedStateExited";
295
- HistoryEventType["TaskFailed"] = "TaskFailed";
296
- HistoryEventType["TaskScheduled"] = "TaskScheduled";
297
- HistoryEventType["TaskStartFailed"] = "TaskStartFailed";
298
- HistoryEventType["TaskStarted"] = "TaskStarted";
299
- HistoryEventType["TaskStateAborted"] = "TaskStateAborted";
300
- HistoryEventType["TaskStateEntered"] = "TaskStateEntered";
301
- HistoryEventType["TaskStateExited"] = "TaskStateExited";
302
- HistoryEventType["TaskSubmitFailed"] = "TaskSubmitFailed";
303
- HistoryEventType["TaskSubmitted"] = "TaskSubmitted";
304
- HistoryEventType["TaskSucceeded"] = "TaskSucceeded";
305
- HistoryEventType["TaskTimedOut"] = "TaskTimedOut";
306
- HistoryEventType["WaitStateAborted"] = "WaitStateAborted";
307
- HistoryEventType["WaitStateEntered"] = "WaitStateEntered";
308
- HistoryEventType["WaitStateExited"] = "WaitStateExited";
309
- })(HistoryEventType || (HistoryEventType = {}));
242
+ export const HistoryEventType = {
243
+ ActivityFailed: "ActivityFailed",
244
+ ActivityScheduleFailed: "ActivityScheduleFailed",
245
+ ActivityScheduled: "ActivityScheduled",
246
+ ActivityStarted: "ActivityStarted",
247
+ ActivitySucceeded: "ActivitySucceeded",
248
+ ActivityTimedOut: "ActivityTimedOut",
249
+ ChoiceStateEntered: "ChoiceStateEntered",
250
+ ChoiceStateExited: "ChoiceStateExited",
251
+ ExecutionAborted: "ExecutionAborted",
252
+ ExecutionFailed: "ExecutionFailed",
253
+ ExecutionStarted: "ExecutionStarted",
254
+ ExecutionSucceeded: "ExecutionSucceeded",
255
+ ExecutionTimedOut: "ExecutionTimedOut",
256
+ FailStateEntered: "FailStateEntered",
257
+ LambdaFunctionFailed: "LambdaFunctionFailed",
258
+ LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed",
259
+ LambdaFunctionScheduled: "LambdaFunctionScheduled",
260
+ LambdaFunctionStartFailed: "LambdaFunctionStartFailed",
261
+ LambdaFunctionStarted: "LambdaFunctionStarted",
262
+ LambdaFunctionSucceeded: "LambdaFunctionSucceeded",
263
+ LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
264
+ MapIterationAborted: "MapIterationAborted",
265
+ MapIterationFailed: "MapIterationFailed",
266
+ MapIterationStarted: "MapIterationStarted",
267
+ MapIterationSucceeded: "MapIterationSucceeded",
268
+ MapRunAborted: "MapRunAborted",
269
+ MapRunFailed: "MapRunFailed",
270
+ MapRunStarted: "MapRunStarted",
271
+ MapRunSucceeded: "MapRunSucceeded",
272
+ MapStateAborted: "MapStateAborted",
273
+ MapStateEntered: "MapStateEntered",
274
+ MapStateExited: "MapStateExited",
275
+ MapStateFailed: "MapStateFailed",
276
+ MapStateStarted: "MapStateStarted",
277
+ MapStateSucceeded: "MapStateSucceeded",
278
+ ParallelStateAborted: "ParallelStateAborted",
279
+ ParallelStateEntered: "ParallelStateEntered",
280
+ ParallelStateExited: "ParallelStateExited",
281
+ ParallelStateFailed: "ParallelStateFailed",
282
+ ParallelStateStarted: "ParallelStateStarted",
283
+ ParallelStateSucceeded: "ParallelStateSucceeded",
284
+ PassStateEntered: "PassStateEntered",
285
+ PassStateExited: "PassStateExited",
286
+ SucceedStateEntered: "SucceedStateEntered",
287
+ SucceedStateExited: "SucceedStateExited",
288
+ TaskFailed: "TaskFailed",
289
+ TaskScheduled: "TaskScheduled",
290
+ TaskStartFailed: "TaskStartFailed",
291
+ TaskStarted: "TaskStarted",
292
+ TaskStateAborted: "TaskStateAborted",
293
+ TaskStateEntered: "TaskStateEntered",
294
+ TaskStateExited: "TaskStateExited",
295
+ TaskSubmitFailed: "TaskSubmitFailed",
296
+ TaskSubmitted: "TaskSubmitted",
297
+ TaskSucceeded: "TaskSucceeded",
298
+ TaskTimedOut: "TaskTimedOut",
299
+ WaitStateAborted: "WaitStateAborted",
300
+ WaitStateEntered: "WaitStateEntered",
301
+ WaitStateExited: "WaitStateExited",
302
+ };
310
303
  export class InvalidToken extends __BaseException {
311
304
  constructor(opts) {
312
305
  super({
@@ -391,12 +384,11 @@ export class InvalidExecutionInput extends __BaseException {
391
384
  Object.setPrototypeOf(this, InvalidExecutionInput.prototype);
392
385
  }
393
386
  }
394
- export var SyncExecutionStatus;
395
- (function (SyncExecutionStatus) {
396
- SyncExecutionStatus["FAILED"] = "FAILED";
397
- SyncExecutionStatus["SUCCEEDED"] = "SUCCEEDED";
398
- SyncExecutionStatus["TIMED_OUT"] = "TIMED_OUT";
399
- })(SyncExecutionStatus || (SyncExecutionStatus = {}));
387
+ export const SyncExecutionStatus = {
388
+ FAILED: "FAILED",
389
+ SUCCEEDED: "SUCCEEDED",
390
+ TIMED_OUT: "TIMED_OUT",
391
+ };
400
392
  export class MissingRequiredParameter extends __BaseException {
401
393
  constructor(opts) {
402
394
  super({
@@ -42,10 +42,10 @@ export interface CreateActivityCommandOutput extends CreateActivityOutput, __Met
42
42
  * import { SFNClient, CreateActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
43
43
  * // const { SFNClient, CreateActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
44
44
  * const client = new SFNClient(config);
45
- * const input = {
45
+ * const input = { // CreateActivityInput
46
46
  * name: "STRING_VALUE", // required
47
- * tags: [
48
- * {
47
+ * tags: [ // TagList
48
+ * { // Tag
49
49
  * key: "STRING_VALUE",
50
50
  * value: "STRING_VALUE",
51
51
  * },
@@ -45,29 +45,29 @@ export interface CreateStateMachineCommandOutput extends CreateStateMachineOutpu
45
45
  * import { SFNClient, CreateStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
46
46
  * // const { SFNClient, CreateStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
47
47
  * const client = new SFNClient(config);
48
- * const input = {
48
+ * const input = { // CreateStateMachineInput
49
49
  * name: "STRING_VALUE", // required
50
50
  * definition: "STRING_VALUE", // required
51
51
  * roleArn: "STRING_VALUE", // required
52
52
  * type: "STANDARD" || "EXPRESS",
53
- * loggingConfiguration: {
53
+ * loggingConfiguration: { // LoggingConfiguration
54
54
  * level: "ALL" || "ERROR" || "FATAL" || "OFF",
55
55
  * includeExecutionData: true || false,
56
- * destinations: [
57
- * {
58
- * cloudWatchLogsLogGroup: {
56
+ * destinations: [ // LogDestinationList
57
+ * { // LogDestination
58
+ * cloudWatchLogsLogGroup: { // CloudWatchLogsLogGroup
59
59
  * logGroupArn: "STRING_VALUE",
60
60
  * },
61
61
  * },
62
62
  * ],
63
63
  * },
64
- * tags: [
65
- * {
64
+ * tags: [ // TagList
65
+ * { // Tag
66
66
  * key: "STRING_VALUE",
67
67
  * value: "STRING_VALUE",
68
68
  * },
69
69
  * ],
70
- * tracingConfiguration: {
70
+ * tracingConfiguration: { // TracingConfiguration
71
71
  * enabled: true || false,
72
72
  * },
73
73
  * };
@@ -26,7 +26,7 @@ export interface DeleteActivityCommandOutput extends DeleteActivityOutput, __Met
26
26
  * import { SFNClient, DeleteActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
27
27
  * // const { SFNClient, DeleteActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
28
28
  * const client = new SFNClient(config);
29
- * const input = {
29
+ * const input = { // DeleteActivityInput
30
30
  * activityArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteActivityCommand(input);
@@ -37,7 +37,7 @@ export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutpu
37
37
  * import { SFNClient, DeleteStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
38
38
  * // const { SFNClient, DeleteStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
39
39
  * const client = new SFNClient(config);
40
- * const input = {
40
+ * const input = { // DeleteStateMachineInput
41
41
  * stateMachineArn: "STRING_VALUE", // required
42
42
  * };
43
43
  * const command = new DeleteStateMachineCommand(input);
@@ -29,7 +29,7 @@ export interface DescribeActivityCommandOutput extends DescribeActivityOutput, _
29
29
  * import { SFNClient, DescribeActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
30
30
  * // const { SFNClient, DescribeActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
31
31
  * const client = new SFNClient(config);
32
- * const input = {
32
+ * const input = { // DescribeActivityInput
33
33
  * activityArn: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new DescribeActivityCommand(input);
@@ -30,7 +30,7 @@ export interface DescribeExecutionCommandOutput extends DescribeExecutionOutput,
30
30
  * import { SFNClient, DescribeExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
31
31
  * // const { SFNClient, DescribeExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
32
32
  * const client = new SFNClient(config);
33
- * const input = {
33
+ * const input = { // DescribeExecutionInput
34
34
  * executionArn: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DescribeExecutionCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeMapRunCommandOutput extends DescribeMapRunOutput, __Met
26
26
  * import { SFNClient, DescribeMapRunCommand } from "@aws-sdk/client-sfn"; // ES Modules import
27
27
  * // const { SFNClient, DescribeMapRunCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
28
28
  * const client = new SFNClient(config);
29
- * const input = {
29
+ * const input = { // DescribeMapRunInput
30
30
  * mapRunArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeMapRunCommand(input);