@aws-sdk/client-sfn 3.934.0 → 3.936.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.
@@ -1,551 +1 @@
1
- import { SFNServiceException as __BaseException } from "./SFNServiceException";
2
- export class ActivityAlreadyExists extends __BaseException {
3
- name = "ActivityAlreadyExists";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "ActivityAlreadyExists",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, ActivityAlreadyExists.prototype);
12
- }
13
- }
14
- export class ActivityDoesNotExist extends __BaseException {
15
- name = "ActivityDoesNotExist";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "ActivityDoesNotExist",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, ActivityDoesNotExist.prototype);
24
- }
25
- }
26
- export class ActivityLimitExceeded extends __BaseException {
27
- name = "ActivityLimitExceeded";
28
- $fault = "client";
29
- constructor(opts) {
30
- super({
31
- name: "ActivityLimitExceeded",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, ActivityLimitExceeded.prototype);
36
- }
37
- }
38
- export class ActivityWorkerLimitExceeded extends __BaseException {
39
- name = "ActivityWorkerLimitExceeded";
40
- $fault = "client";
41
- constructor(opts) {
42
- super({
43
- name: "ActivityWorkerLimitExceeded",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, ActivityWorkerLimitExceeded.prototype);
48
- }
49
- }
50
- export const EncryptionType = {
51
- AWS_OWNED_KEY: "AWS_OWNED_KEY",
52
- CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
53
- };
54
- export class InvalidEncryptionConfiguration extends __BaseException {
55
- name = "InvalidEncryptionConfiguration";
56
- $fault = "client";
57
- constructor(opts) {
58
- super({
59
- name: "InvalidEncryptionConfiguration",
60
- $fault: "client",
61
- ...opts,
62
- });
63
- Object.setPrototypeOf(this, InvalidEncryptionConfiguration.prototype);
64
- }
65
- }
66
- export class InvalidName extends __BaseException {
67
- name = "InvalidName";
68
- $fault = "client";
69
- constructor(opts) {
70
- super({
71
- name: "InvalidName",
72
- $fault: "client",
73
- ...opts,
74
- });
75
- Object.setPrototypeOf(this, InvalidName.prototype);
76
- }
77
- }
78
- export class KmsAccessDeniedException extends __BaseException {
79
- name = "KmsAccessDeniedException";
80
- $fault = "client";
81
- constructor(opts) {
82
- super({
83
- name: "KmsAccessDeniedException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- Object.setPrototypeOf(this, KmsAccessDeniedException.prototype);
88
- }
89
- }
90
- export class KmsThrottlingException extends __BaseException {
91
- name = "KmsThrottlingException";
92
- $fault = "client";
93
- constructor(opts) {
94
- super({
95
- name: "KmsThrottlingException",
96
- $fault: "client",
97
- ...opts,
98
- });
99
- Object.setPrototypeOf(this, KmsThrottlingException.prototype);
100
- }
101
- }
102
- export class TooManyTags extends __BaseException {
103
- name = "TooManyTags";
104
- $fault = "client";
105
- resourceName;
106
- constructor(opts) {
107
- super({
108
- name: "TooManyTags",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- Object.setPrototypeOf(this, TooManyTags.prototype);
113
- this.resourceName = opts.resourceName;
114
- }
115
- }
116
- export class ConflictException extends __BaseException {
117
- name = "ConflictException";
118
- $fault = "client";
119
- constructor(opts) {
120
- super({
121
- name: "ConflictException",
122
- $fault: "client",
123
- ...opts,
124
- });
125
- Object.setPrototypeOf(this, ConflictException.prototype);
126
- }
127
- }
128
- export const LogLevel = {
129
- ALL: "ALL",
130
- ERROR: "ERROR",
131
- FATAL: "FATAL",
132
- OFF: "OFF",
133
- };
134
- export const StateMachineType = {
135
- EXPRESS: "EXPRESS",
136
- STANDARD: "STANDARD",
137
- };
138
- export class InvalidArn extends __BaseException {
139
- name = "InvalidArn";
140
- $fault = "client";
141
- constructor(opts) {
142
- super({
143
- name: "InvalidArn",
144
- $fault: "client",
145
- ...opts,
146
- });
147
- Object.setPrototypeOf(this, InvalidArn.prototype);
148
- }
149
- }
150
- export class InvalidDefinition extends __BaseException {
151
- name = "InvalidDefinition";
152
- $fault = "client";
153
- constructor(opts) {
154
- super({
155
- name: "InvalidDefinition",
156
- $fault: "client",
157
- ...opts,
158
- });
159
- Object.setPrototypeOf(this, InvalidDefinition.prototype);
160
- }
161
- }
162
- export class InvalidLoggingConfiguration extends __BaseException {
163
- name = "InvalidLoggingConfiguration";
164
- $fault = "client";
165
- constructor(opts) {
166
- super({
167
- name: "InvalidLoggingConfiguration",
168
- $fault: "client",
169
- ...opts,
170
- });
171
- Object.setPrototypeOf(this, InvalidLoggingConfiguration.prototype);
172
- }
173
- }
174
- export class InvalidTracingConfiguration extends __BaseException {
175
- name = "InvalidTracingConfiguration";
176
- $fault = "client";
177
- constructor(opts) {
178
- super({
179
- name: "InvalidTracingConfiguration",
180
- $fault: "client",
181
- ...opts,
182
- });
183
- Object.setPrototypeOf(this, InvalidTracingConfiguration.prototype);
184
- }
185
- }
186
- export class StateMachineAlreadyExists extends __BaseException {
187
- name = "StateMachineAlreadyExists";
188
- $fault = "client";
189
- constructor(opts) {
190
- super({
191
- name: "StateMachineAlreadyExists",
192
- $fault: "client",
193
- ...opts,
194
- });
195
- Object.setPrototypeOf(this, StateMachineAlreadyExists.prototype);
196
- }
197
- }
198
- export class StateMachineDeleting extends __BaseException {
199
- name = "StateMachineDeleting";
200
- $fault = "client";
201
- constructor(opts) {
202
- super({
203
- name: "StateMachineDeleting",
204
- $fault: "client",
205
- ...opts,
206
- });
207
- Object.setPrototypeOf(this, StateMachineDeleting.prototype);
208
- }
209
- }
210
- export class StateMachineLimitExceeded extends __BaseException {
211
- name = "StateMachineLimitExceeded";
212
- $fault = "client";
213
- constructor(opts) {
214
- super({
215
- name: "StateMachineLimitExceeded",
216
- $fault: "client",
217
- ...opts,
218
- });
219
- Object.setPrototypeOf(this, StateMachineLimitExceeded.prototype);
220
- }
221
- }
222
- export class StateMachineTypeNotSupported extends __BaseException {
223
- name = "StateMachineTypeNotSupported";
224
- $fault = "client";
225
- constructor(opts) {
226
- super({
227
- name: "StateMachineTypeNotSupported",
228
- $fault: "client",
229
- ...opts,
230
- });
231
- Object.setPrototypeOf(this, StateMachineTypeNotSupported.prototype);
232
- }
233
- }
234
- export const ValidationExceptionReason = {
235
- API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS",
236
- CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN",
237
- INVALID_ROUTING_CONFIGURATION: "INVALID_ROUTING_CONFIGURATION",
238
- MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER",
239
- };
240
- export class ValidationException extends __BaseException {
241
- name = "ValidationException";
242
- $fault = "client";
243
- reason;
244
- constructor(opts) {
245
- super({
246
- name: "ValidationException",
247
- $fault: "client",
248
- ...opts,
249
- });
250
- Object.setPrototypeOf(this, ValidationException.prototype);
251
- this.reason = opts.reason;
252
- }
253
- }
254
- export class ResourceNotFound extends __BaseException {
255
- name = "ResourceNotFound";
256
- $fault = "client";
257
- resourceName;
258
- constructor(opts) {
259
- super({
260
- name: "ResourceNotFound",
261
- $fault: "client",
262
- ...opts,
263
- });
264
- Object.setPrototypeOf(this, ResourceNotFound.prototype);
265
- this.resourceName = opts.resourceName;
266
- }
267
- }
268
- export class ServiceQuotaExceededException extends __BaseException {
269
- name = "ServiceQuotaExceededException";
270
- $fault = "client";
271
- constructor(opts) {
272
- super({
273
- name: "ServiceQuotaExceededException",
274
- $fault: "client",
275
- ...opts,
276
- });
277
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
278
- }
279
- }
280
- export const IncludedData = {
281
- ALL_DATA: "ALL_DATA",
282
- METADATA_ONLY: "METADATA_ONLY",
283
- };
284
- export const ExecutionRedriveStatus = {
285
- NOT_REDRIVABLE: "NOT_REDRIVABLE",
286
- REDRIVABLE: "REDRIVABLE",
287
- REDRIVABLE_BY_MAP_RUN: "REDRIVABLE_BY_MAP_RUN",
288
- };
289
- export const ExecutionStatus = {
290
- ABORTED: "ABORTED",
291
- FAILED: "FAILED",
292
- PENDING_REDRIVE: "PENDING_REDRIVE",
293
- RUNNING: "RUNNING",
294
- SUCCEEDED: "SUCCEEDED",
295
- TIMED_OUT: "TIMED_OUT",
296
- };
297
- export class ExecutionDoesNotExist extends __BaseException {
298
- name = "ExecutionDoesNotExist";
299
- $fault = "client";
300
- constructor(opts) {
301
- super({
302
- name: "ExecutionDoesNotExist",
303
- $fault: "client",
304
- ...opts,
305
- });
306
- Object.setPrototypeOf(this, ExecutionDoesNotExist.prototype);
307
- }
308
- }
309
- export const KmsKeyState = {
310
- CREATING: "CREATING",
311
- DISABLED: "DISABLED",
312
- PENDING_DELETION: "PENDING_DELETION",
313
- PENDING_IMPORT: "PENDING_IMPORT",
314
- UNAVAILABLE: "UNAVAILABLE",
315
- };
316
- export class KmsInvalidStateException extends __BaseException {
317
- name = "KmsInvalidStateException";
318
- $fault = "client";
319
- kmsKeyState;
320
- constructor(opts) {
321
- super({
322
- name: "KmsInvalidStateException",
323
- $fault: "client",
324
- ...opts,
325
- });
326
- Object.setPrototypeOf(this, KmsInvalidStateException.prototype);
327
- this.kmsKeyState = opts.kmsKeyState;
328
- }
329
- }
330
- export const MapRunStatus = {
331
- ABORTED: "ABORTED",
332
- FAILED: "FAILED",
333
- RUNNING: "RUNNING",
334
- SUCCEEDED: "SUCCEEDED",
335
- };
336
- export const StateMachineStatus = {
337
- ACTIVE: "ACTIVE",
338
- DELETING: "DELETING",
339
- };
340
- export class StateMachineDoesNotExist extends __BaseException {
341
- name = "StateMachineDoesNotExist";
342
- $fault = "client";
343
- constructor(opts) {
344
- super({
345
- name: "StateMachineDoesNotExist",
346
- $fault: "client",
347
- ...opts,
348
- });
349
- Object.setPrototypeOf(this, StateMachineDoesNotExist.prototype);
350
- }
351
- }
352
- export const HistoryEventType = {
353
- ActivityFailed: "ActivityFailed",
354
- ActivityScheduleFailed: "ActivityScheduleFailed",
355
- ActivityScheduled: "ActivityScheduled",
356
- ActivityStarted: "ActivityStarted",
357
- ActivitySucceeded: "ActivitySucceeded",
358
- ActivityTimedOut: "ActivityTimedOut",
359
- ChoiceStateEntered: "ChoiceStateEntered",
360
- ChoiceStateExited: "ChoiceStateExited",
361
- EvaluationFailed: "EvaluationFailed",
362
- ExecutionAborted: "ExecutionAborted",
363
- ExecutionFailed: "ExecutionFailed",
364
- ExecutionRedriven: "ExecutionRedriven",
365
- ExecutionStarted: "ExecutionStarted",
366
- ExecutionSucceeded: "ExecutionSucceeded",
367
- ExecutionTimedOut: "ExecutionTimedOut",
368
- FailStateEntered: "FailStateEntered",
369
- LambdaFunctionFailed: "LambdaFunctionFailed",
370
- LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed",
371
- LambdaFunctionScheduled: "LambdaFunctionScheduled",
372
- LambdaFunctionStartFailed: "LambdaFunctionStartFailed",
373
- LambdaFunctionStarted: "LambdaFunctionStarted",
374
- LambdaFunctionSucceeded: "LambdaFunctionSucceeded",
375
- LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
376
- MapIterationAborted: "MapIterationAborted",
377
- MapIterationFailed: "MapIterationFailed",
378
- MapIterationStarted: "MapIterationStarted",
379
- MapIterationSucceeded: "MapIterationSucceeded",
380
- MapRunAborted: "MapRunAborted",
381
- MapRunFailed: "MapRunFailed",
382
- MapRunRedriven: "MapRunRedriven",
383
- MapRunStarted: "MapRunStarted",
384
- MapRunSucceeded: "MapRunSucceeded",
385
- MapStateAborted: "MapStateAborted",
386
- MapStateEntered: "MapStateEntered",
387
- MapStateExited: "MapStateExited",
388
- MapStateFailed: "MapStateFailed",
389
- MapStateStarted: "MapStateStarted",
390
- MapStateSucceeded: "MapStateSucceeded",
391
- ParallelStateAborted: "ParallelStateAborted",
392
- ParallelStateEntered: "ParallelStateEntered",
393
- ParallelStateExited: "ParallelStateExited",
394
- ParallelStateFailed: "ParallelStateFailed",
395
- ParallelStateStarted: "ParallelStateStarted",
396
- ParallelStateSucceeded: "ParallelStateSucceeded",
397
- PassStateEntered: "PassStateEntered",
398
- PassStateExited: "PassStateExited",
399
- SucceedStateEntered: "SucceedStateEntered",
400
- SucceedStateExited: "SucceedStateExited",
401
- TaskFailed: "TaskFailed",
402
- TaskScheduled: "TaskScheduled",
403
- TaskStartFailed: "TaskStartFailed",
404
- TaskStarted: "TaskStarted",
405
- TaskStateAborted: "TaskStateAborted",
406
- TaskStateEntered: "TaskStateEntered",
407
- TaskStateExited: "TaskStateExited",
408
- TaskSubmitFailed: "TaskSubmitFailed",
409
- TaskSubmitted: "TaskSubmitted",
410
- TaskSucceeded: "TaskSucceeded",
411
- TaskTimedOut: "TaskTimedOut",
412
- WaitStateAborted: "WaitStateAborted",
413
- WaitStateEntered: "WaitStateEntered",
414
- WaitStateExited: "WaitStateExited",
415
- };
416
- export class InvalidToken extends __BaseException {
417
- name = "InvalidToken";
418
- $fault = "client";
419
- constructor(opts) {
420
- super({
421
- name: "InvalidToken",
422
- $fault: "client",
423
- ...opts,
424
- });
425
- Object.setPrototypeOf(this, InvalidToken.prototype);
426
- }
427
- }
428
- export const ExecutionRedriveFilter = {
429
- NOT_REDRIVEN: "NOT_REDRIVEN",
430
- REDRIVEN: "REDRIVEN",
431
- };
432
- export class ExecutionLimitExceeded extends __BaseException {
433
- name = "ExecutionLimitExceeded";
434
- $fault = "client";
435
- constructor(opts) {
436
- super({
437
- name: "ExecutionLimitExceeded",
438
- $fault: "client",
439
- ...opts,
440
- });
441
- Object.setPrototypeOf(this, ExecutionLimitExceeded.prototype);
442
- }
443
- }
444
- export class ExecutionNotRedrivable extends __BaseException {
445
- name = "ExecutionNotRedrivable";
446
- $fault = "client";
447
- constructor(opts) {
448
- super({
449
- name: "ExecutionNotRedrivable",
450
- $fault: "client",
451
- ...opts,
452
- });
453
- Object.setPrototypeOf(this, ExecutionNotRedrivable.prototype);
454
- }
455
- }
456
- export class TaskDoesNotExist extends __BaseException {
457
- name = "TaskDoesNotExist";
458
- $fault = "client";
459
- constructor(opts) {
460
- super({
461
- name: "TaskDoesNotExist",
462
- $fault: "client",
463
- ...opts,
464
- });
465
- Object.setPrototypeOf(this, TaskDoesNotExist.prototype);
466
- }
467
- }
468
- export class TaskTimedOut extends __BaseException {
469
- name = "TaskTimedOut";
470
- $fault = "client";
471
- constructor(opts) {
472
- super({
473
- name: "TaskTimedOut",
474
- $fault: "client",
475
- ...opts,
476
- });
477
- Object.setPrototypeOf(this, TaskTimedOut.prototype);
478
- }
479
- }
480
- export class InvalidOutput extends __BaseException {
481
- name = "InvalidOutput";
482
- $fault = "client";
483
- constructor(opts) {
484
- super({
485
- name: "InvalidOutput",
486
- $fault: "client",
487
- ...opts,
488
- });
489
- Object.setPrototypeOf(this, InvalidOutput.prototype);
490
- }
491
- }
492
- export class ExecutionAlreadyExists extends __BaseException {
493
- name = "ExecutionAlreadyExists";
494
- $fault = "client";
495
- constructor(opts) {
496
- super({
497
- name: "ExecutionAlreadyExists",
498
- $fault: "client",
499
- ...opts,
500
- });
501
- Object.setPrototypeOf(this, ExecutionAlreadyExists.prototype);
502
- }
503
- }
504
- export class InvalidExecutionInput extends __BaseException {
505
- name = "InvalidExecutionInput";
506
- $fault = "client";
507
- constructor(opts) {
508
- super({
509
- name: "InvalidExecutionInput",
510
- $fault: "client",
511
- ...opts,
512
- });
513
- Object.setPrototypeOf(this, InvalidExecutionInput.prototype);
514
- }
515
- }
516
- export const SyncExecutionStatus = {
517
- FAILED: "FAILED",
518
- SUCCEEDED: "SUCCEEDED",
519
- TIMED_OUT: "TIMED_OUT",
520
- };
521
- export const InspectionLevel = {
522
- DEBUG: "DEBUG",
523
- INFO: "INFO",
524
- TRACE: "TRACE",
525
- };
526
- export const TestExecutionStatus = {
527
- CAUGHT_ERROR: "CAUGHT_ERROR",
528
- FAILED: "FAILED",
529
- RETRIABLE: "RETRIABLE",
530
- SUCCEEDED: "SUCCEEDED",
531
- };
532
- export class MissingRequiredParameter extends __BaseException {
533
- name = "MissingRequiredParameter";
534
- $fault = "client";
535
- constructor(opts) {
536
- super({
537
- name: "MissingRequiredParameter",
538
- $fault: "client",
539
- ...opts,
540
- });
541
- Object.setPrototypeOf(this, MissingRequiredParameter.prototype);
542
- }
543
- }
544
- export const ValidateStateMachineDefinitionSeverity = {
545
- ERROR: "ERROR",
546
- WARNING: "WARNING",
547
- };
548
- export const ValidateStateMachineDefinitionResultCode = {
549
- FAIL: "FAIL",
550
- OK: "OK",
551
- };
1
+ export {};