@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.
- package/dist-cjs/index.js +250 -151
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +151 -0
- package/dist-es/models/errors.js +405 -0
- package/dist-es/models/models_0.js +1 -551
- package/dist-es/schemas/schemas_0.js +98 -6
- package/dist-types/commands/TestStateCommand.d.ts +29 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +295 -0
- package/dist-types/models/errors.d.ts +426 -0
- package/dist-types/models/models_0.d.ts +157 -703
- package/dist-types/schemas/schemas_0.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +183 -0
- package/dist-types/ts3.4/models/errors.d.ts +218 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -393
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -165,10 +165,6 @@ let ActivityWorkerLimitExceeded$1 = class ActivityWorkerLimitExceeded extends SF
|
|
|
165
165
|
Object.setPrototypeOf(this, ActivityWorkerLimitExceeded.prototype);
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
|
-
const EncryptionType = {
|
|
169
|
-
AWS_OWNED_KEY: "AWS_OWNED_KEY",
|
|
170
|
-
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
171
|
-
};
|
|
172
168
|
let InvalidEncryptionConfiguration$1 = class InvalidEncryptionConfiguration extends SFNServiceException$1 {
|
|
173
169
|
name = "InvalidEncryptionConfiguration";
|
|
174
170
|
$fault = "client";
|
|
@@ -243,16 +239,6 @@ let ConflictException$1 = class ConflictException extends SFNServiceException$1
|
|
|
243
239
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
244
240
|
}
|
|
245
241
|
};
|
|
246
|
-
const LogLevel = {
|
|
247
|
-
ALL: "ALL",
|
|
248
|
-
ERROR: "ERROR",
|
|
249
|
-
FATAL: "FATAL",
|
|
250
|
-
OFF: "OFF",
|
|
251
|
-
};
|
|
252
|
-
const StateMachineType = {
|
|
253
|
-
EXPRESS: "EXPRESS",
|
|
254
|
-
STANDARD: "STANDARD",
|
|
255
|
-
};
|
|
256
242
|
let InvalidArn$1 = class InvalidArn extends SFNServiceException$1 {
|
|
257
243
|
name = "InvalidArn";
|
|
258
244
|
$fault = "client";
|
|
@@ -349,12 +335,6 @@ let StateMachineTypeNotSupported$1 = class StateMachineTypeNotSupported extends
|
|
|
349
335
|
Object.setPrototypeOf(this, StateMachineTypeNotSupported.prototype);
|
|
350
336
|
}
|
|
351
337
|
};
|
|
352
|
-
const ValidationExceptionReason = {
|
|
353
|
-
API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS",
|
|
354
|
-
CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN",
|
|
355
|
-
INVALID_ROUTING_CONFIGURATION: "INVALID_ROUTING_CONFIGURATION",
|
|
356
|
-
MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER",
|
|
357
|
-
};
|
|
358
338
|
let ValidationException$1 = class ValidationException extends SFNServiceException$1 {
|
|
359
339
|
name = "ValidationException";
|
|
360
340
|
$fault = "client";
|
|
@@ -395,23 +375,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
395
375
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
396
376
|
}
|
|
397
377
|
};
|
|
398
|
-
const IncludedData = {
|
|
399
|
-
ALL_DATA: "ALL_DATA",
|
|
400
|
-
METADATA_ONLY: "METADATA_ONLY",
|
|
401
|
-
};
|
|
402
|
-
const ExecutionRedriveStatus = {
|
|
403
|
-
NOT_REDRIVABLE: "NOT_REDRIVABLE",
|
|
404
|
-
REDRIVABLE: "REDRIVABLE",
|
|
405
|
-
REDRIVABLE_BY_MAP_RUN: "REDRIVABLE_BY_MAP_RUN",
|
|
406
|
-
};
|
|
407
|
-
const ExecutionStatus = {
|
|
408
|
-
ABORTED: "ABORTED",
|
|
409
|
-
FAILED: "FAILED",
|
|
410
|
-
PENDING_REDRIVE: "PENDING_REDRIVE",
|
|
411
|
-
RUNNING: "RUNNING",
|
|
412
|
-
SUCCEEDED: "SUCCEEDED",
|
|
413
|
-
TIMED_OUT: "TIMED_OUT",
|
|
414
|
-
};
|
|
415
378
|
let ExecutionDoesNotExist$1 = class ExecutionDoesNotExist extends SFNServiceException$1 {
|
|
416
379
|
name = "ExecutionDoesNotExist";
|
|
417
380
|
$fault = "client";
|
|
@@ -424,13 +387,6 @@ let ExecutionDoesNotExist$1 = class ExecutionDoesNotExist extends SFNServiceExce
|
|
|
424
387
|
Object.setPrototypeOf(this, ExecutionDoesNotExist.prototype);
|
|
425
388
|
}
|
|
426
389
|
};
|
|
427
|
-
const KmsKeyState = {
|
|
428
|
-
CREATING: "CREATING",
|
|
429
|
-
DISABLED: "DISABLED",
|
|
430
|
-
PENDING_DELETION: "PENDING_DELETION",
|
|
431
|
-
PENDING_IMPORT: "PENDING_IMPORT",
|
|
432
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
433
|
-
};
|
|
434
390
|
let KmsInvalidStateException$1 = class KmsInvalidStateException extends SFNServiceException$1 {
|
|
435
391
|
name = "KmsInvalidStateException";
|
|
436
392
|
$fault = "client";
|
|
@@ -445,16 +401,6 @@ let KmsInvalidStateException$1 = class KmsInvalidStateException extends SFNServi
|
|
|
445
401
|
this.kmsKeyState = opts.kmsKeyState;
|
|
446
402
|
}
|
|
447
403
|
};
|
|
448
|
-
const MapRunStatus = {
|
|
449
|
-
ABORTED: "ABORTED",
|
|
450
|
-
FAILED: "FAILED",
|
|
451
|
-
RUNNING: "RUNNING",
|
|
452
|
-
SUCCEEDED: "SUCCEEDED",
|
|
453
|
-
};
|
|
454
|
-
const StateMachineStatus = {
|
|
455
|
-
ACTIVE: "ACTIVE",
|
|
456
|
-
DELETING: "DELETING",
|
|
457
|
-
};
|
|
458
404
|
let StateMachineDoesNotExist$1 = class StateMachineDoesNotExist extends SFNServiceException$1 {
|
|
459
405
|
name = "StateMachineDoesNotExist";
|
|
460
406
|
$fault = "client";
|
|
@@ -467,70 +413,6 @@ let StateMachineDoesNotExist$1 = class StateMachineDoesNotExist extends SFNServi
|
|
|
467
413
|
Object.setPrototypeOf(this, StateMachineDoesNotExist.prototype);
|
|
468
414
|
}
|
|
469
415
|
};
|
|
470
|
-
const HistoryEventType = {
|
|
471
|
-
ActivityFailed: "ActivityFailed",
|
|
472
|
-
ActivityScheduleFailed: "ActivityScheduleFailed",
|
|
473
|
-
ActivityScheduled: "ActivityScheduled",
|
|
474
|
-
ActivityStarted: "ActivityStarted",
|
|
475
|
-
ActivitySucceeded: "ActivitySucceeded",
|
|
476
|
-
ActivityTimedOut: "ActivityTimedOut",
|
|
477
|
-
ChoiceStateEntered: "ChoiceStateEntered",
|
|
478
|
-
ChoiceStateExited: "ChoiceStateExited",
|
|
479
|
-
EvaluationFailed: "EvaluationFailed",
|
|
480
|
-
ExecutionAborted: "ExecutionAborted",
|
|
481
|
-
ExecutionFailed: "ExecutionFailed",
|
|
482
|
-
ExecutionRedriven: "ExecutionRedriven",
|
|
483
|
-
ExecutionStarted: "ExecutionStarted",
|
|
484
|
-
ExecutionSucceeded: "ExecutionSucceeded",
|
|
485
|
-
ExecutionTimedOut: "ExecutionTimedOut",
|
|
486
|
-
FailStateEntered: "FailStateEntered",
|
|
487
|
-
LambdaFunctionFailed: "LambdaFunctionFailed",
|
|
488
|
-
LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed",
|
|
489
|
-
LambdaFunctionScheduled: "LambdaFunctionScheduled",
|
|
490
|
-
LambdaFunctionStartFailed: "LambdaFunctionStartFailed",
|
|
491
|
-
LambdaFunctionStarted: "LambdaFunctionStarted",
|
|
492
|
-
LambdaFunctionSucceeded: "LambdaFunctionSucceeded",
|
|
493
|
-
LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
|
|
494
|
-
MapIterationAborted: "MapIterationAborted",
|
|
495
|
-
MapIterationFailed: "MapIterationFailed",
|
|
496
|
-
MapIterationStarted: "MapIterationStarted",
|
|
497
|
-
MapIterationSucceeded: "MapIterationSucceeded",
|
|
498
|
-
MapRunAborted: "MapRunAborted",
|
|
499
|
-
MapRunFailed: "MapRunFailed",
|
|
500
|
-
MapRunRedriven: "MapRunRedriven",
|
|
501
|
-
MapRunStarted: "MapRunStarted",
|
|
502
|
-
MapRunSucceeded: "MapRunSucceeded",
|
|
503
|
-
MapStateAborted: "MapStateAborted",
|
|
504
|
-
MapStateEntered: "MapStateEntered",
|
|
505
|
-
MapStateExited: "MapStateExited",
|
|
506
|
-
MapStateFailed: "MapStateFailed",
|
|
507
|
-
MapStateStarted: "MapStateStarted",
|
|
508
|
-
MapStateSucceeded: "MapStateSucceeded",
|
|
509
|
-
ParallelStateAborted: "ParallelStateAborted",
|
|
510
|
-
ParallelStateEntered: "ParallelStateEntered",
|
|
511
|
-
ParallelStateExited: "ParallelStateExited",
|
|
512
|
-
ParallelStateFailed: "ParallelStateFailed",
|
|
513
|
-
ParallelStateStarted: "ParallelStateStarted",
|
|
514
|
-
ParallelStateSucceeded: "ParallelStateSucceeded",
|
|
515
|
-
PassStateEntered: "PassStateEntered",
|
|
516
|
-
PassStateExited: "PassStateExited",
|
|
517
|
-
SucceedStateEntered: "SucceedStateEntered",
|
|
518
|
-
SucceedStateExited: "SucceedStateExited",
|
|
519
|
-
TaskFailed: "TaskFailed",
|
|
520
|
-
TaskScheduled: "TaskScheduled",
|
|
521
|
-
TaskStartFailed: "TaskStartFailed",
|
|
522
|
-
TaskStarted: "TaskStarted",
|
|
523
|
-
TaskStateAborted: "TaskStateAborted",
|
|
524
|
-
TaskStateEntered: "TaskStateEntered",
|
|
525
|
-
TaskStateExited: "TaskStateExited",
|
|
526
|
-
TaskSubmitFailed: "TaskSubmitFailed",
|
|
527
|
-
TaskSubmitted: "TaskSubmitted",
|
|
528
|
-
TaskSucceeded: "TaskSucceeded",
|
|
529
|
-
TaskTimedOut: "TaskTimedOut",
|
|
530
|
-
WaitStateAborted: "WaitStateAborted",
|
|
531
|
-
WaitStateEntered: "WaitStateEntered",
|
|
532
|
-
WaitStateExited: "WaitStateExited",
|
|
533
|
-
};
|
|
534
416
|
let InvalidToken$1 = class InvalidToken extends SFNServiceException$1 {
|
|
535
417
|
name = "InvalidToken";
|
|
536
418
|
$fault = "client";
|
|
@@ -543,10 +425,6 @@ let InvalidToken$1 = class InvalidToken extends SFNServiceException$1 {
|
|
|
543
425
|
Object.setPrototypeOf(this, InvalidToken.prototype);
|
|
544
426
|
}
|
|
545
427
|
};
|
|
546
|
-
const ExecutionRedriveFilter = {
|
|
547
|
-
NOT_REDRIVEN: "NOT_REDRIVEN",
|
|
548
|
-
REDRIVEN: "REDRIVEN",
|
|
549
|
-
};
|
|
550
428
|
let ExecutionLimitExceeded$1 = class ExecutionLimitExceeded extends SFNServiceException$1 {
|
|
551
429
|
name = "ExecutionLimitExceeded";
|
|
552
430
|
$fault = "client";
|
|
@@ -631,22 +509,6 @@ let InvalidExecutionInput$1 = class InvalidExecutionInput extends SFNServiceExce
|
|
|
631
509
|
Object.setPrototypeOf(this, InvalidExecutionInput.prototype);
|
|
632
510
|
}
|
|
633
511
|
};
|
|
634
|
-
const SyncExecutionStatus = {
|
|
635
|
-
FAILED: "FAILED",
|
|
636
|
-
SUCCEEDED: "SUCCEEDED",
|
|
637
|
-
TIMED_OUT: "TIMED_OUT",
|
|
638
|
-
};
|
|
639
|
-
const InspectionLevel = {
|
|
640
|
-
DEBUG: "DEBUG",
|
|
641
|
-
INFO: "INFO",
|
|
642
|
-
TRACE: "TRACE",
|
|
643
|
-
};
|
|
644
|
-
const TestExecutionStatus = {
|
|
645
|
-
CAUGHT_ERROR: "CAUGHT_ERROR",
|
|
646
|
-
FAILED: "FAILED",
|
|
647
|
-
RETRIABLE: "RETRIABLE",
|
|
648
|
-
SUCCEEDED: "SUCCEEDED",
|
|
649
|
-
};
|
|
650
512
|
let MissingRequiredParameter$1 = class MissingRequiredParameter extends SFNServiceException$1 {
|
|
651
513
|
name = "MissingRequiredParameter";
|
|
652
514
|
$fault = "client";
|
|
@@ -659,14 +521,6 @@ let MissingRequiredParameter$1 = class MissingRequiredParameter extends SFNServi
|
|
|
659
521
|
Object.setPrototypeOf(this, MissingRequiredParameter.prototype);
|
|
660
522
|
}
|
|
661
523
|
};
|
|
662
|
-
const ValidateStateMachineDefinitionSeverity = {
|
|
663
|
-
ERROR: "ERROR",
|
|
664
|
-
WARNING: "WARNING",
|
|
665
|
-
};
|
|
666
|
-
const ValidateStateMachineDefinitionResultCode = {
|
|
667
|
-
FAIL: "FAIL",
|
|
668
|
-
OK: "OK",
|
|
669
|
-
};
|
|
670
524
|
|
|
671
525
|
const _AAE = "ActivityAlreadyExists";
|
|
672
526
|
const _AD = "AliasDescription";
|
|
@@ -735,6 +589,7 @@ const _EDNE = "ExecutionDoesNotExist";
|
|
|
735
589
|
const _EFED = "EvaluationFailedEventDetails";
|
|
736
590
|
const _EFEDx = "ExecutionFailedEventDetails";
|
|
737
591
|
const _EFL = "EvaluationFailureLocation";
|
|
592
|
+
const _EHI = "ExceptionHandlerIndex";
|
|
738
593
|
const _EL = "ExecutionList";
|
|
739
594
|
const _ELE = "ExecutionLimitExceeded";
|
|
740
595
|
const _ELI = "ExecutionListItem";
|
|
@@ -758,12 +613,16 @@ const _IDR = "InspectionDataRequest";
|
|
|
758
613
|
const _IDRn = "InspectionDataResponse";
|
|
759
614
|
const _IDn = "InvalidDefinition";
|
|
760
615
|
const _IEC = "InvalidEncryptionConfiguration";
|
|
616
|
+
const _IED = "InspectionErrorDetails";
|
|
761
617
|
const _IEI = "InvalidExecutionInput";
|
|
762
618
|
const _ILC = "InvalidLoggingConfiguration";
|
|
619
|
+
const _IMC = "InspectionMaxConcurrency";
|
|
763
620
|
const _IN = "InvalidName";
|
|
764
621
|
const _IO = "InvalidOutput";
|
|
765
622
|
const _IT = "InvalidToken";
|
|
766
623
|
const _ITC = "InvalidTracingConfiguration";
|
|
624
|
+
const _ITFC = "InspectionToleratedFailureCount";
|
|
625
|
+
const _ITFP = "InspectionToleratedFailurePercentage";
|
|
767
626
|
const _KADE = "KmsAccessDeniedException";
|
|
768
627
|
const _KISE = "KmsInvalidStateException";
|
|
769
628
|
const _KTE = "KmsThrottlingException";
|
|
@@ -797,6 +656,8 @@ const _LSMVO = "ListStateMachineVersionsOutput";
|
|
|
797
656
|
const _LTFR = "ListTagsForResource";
|
|
798
657
|
const _LTFRI = "ListTagsForResourceInput";
|
|
799
658
|
const _LTFRO = "ListTagsForResourceOutput";
|
|
659
|
+
const _MEO = "MockErrorOutput";
|
|
660
|
+
const _MI = "MockInput";
|
|
800
661
|
const _MIED = "MapIterationEventDetails";
|
|
801
662
|
const _MREC = "MapRunExecutionCounts";
|
|
802
663
|
const _MRFED = "MapRunFailedEventDetails";
|
|
@@ -810,6 +671,7 @@ const _MSSED = "MapStateStartedEventDetails";
|
|
|
810
671
|
const _PSMV = "PublishStateMachineVersion";
|
|
811
672
|
const _PSMVI = "PublishStateMachineVersionInput";
|
|
812
673
|
const _PSMVO = "PublishStateMachineVersionOutput";
|
|
674
|
+
const _RBIS = "RetryBackoffIntervalSeconds";
|
|
813
675
|
const _RCL = "RoutingConfigurationList";
|
|
814
676
|
const _RCLI = "RoutingConfigurationListItem";
|
|
815
677
|
const _RE = "RedriveExecution";
|
|
@@ -863,6 +725,7 @@ const _TR = "TagResource";
|
|
|
863
725
|
const _TRI = "TagResourceInput";
|
|
864
726
|
const _TRO = "TagResourceOutput";
|
|
865
727
|
const _TS = "TestState";
|
|
728
|
+
const _TSC = "TestStateConfiguration";
|
|
866
729
|
const _TSED = "TaskScheduledEventDetails";
|
|
867
730
|
const _TSEDa = "TaskStartedEventDetails";
|
|
868
731
|
const _TSEDas = "TaskSubmittedEventDetails";
|
|
@@ -871,6 +734,7 @@ const _TSFED = "TaskStartFailedEventDetails";
|
|
|
871
734
|
const _TSFEDa = "TaskSubmitFailedEventDetails";
|
|
872
735
|
const _TSI = "TestStateInput";
|
|
873
736
|
const _TSO = "TestStateOutput";
|
|
737
|
+
const _TSSN = "TestStateStateName";
|
|
874
738
|
const _TTO = "TaskTimedOut";
|
|
875
739
|
const _TTOED = "TaskTimedOutEventDetails";
|
|
876
740
|
const _UMR = "UpdateMapRun";
|
|
@@ -903,7 +767,11 @@ const _a = "activities";
|
|
|
903
767
|
const _aA = "activityArn";
|
|
904
768
|
const _aAf = "afterArguments";
|
|
905
769
|
const _aFED = "activityFailedEventDetails";
|
|
770
|
+
const _aIB = "afterItemBatcher";
|
|
906
771
|
const _aIP = "afterInputPath";
|
|
772
|
+
const _aIPf = "afterItemsPath";
|
|
773
|
+
const _aIPft = "afterItemsPointer";
|
|
774
|
+
const _aIS = "afterItemSelector";
|
|
907
775
|
const _aP = "afterParameters";
|
|
908
776
|
const _aRP = "afterResultPath";
|
|
909
777
|
const _aRS = "afterResultSelector";
|
|
@@ -921,10 +789,12 @@ const _bDIM = "billedDurationInMilliseconds";
|
|
|
921
789
|
const _bMUIMB = "billedMemoryUsedInMB";
|
|
922
790
|
const _c = "client";
|
|
923
791
|
const _cD = "creationDate";
|
|
792
|
+
const _cI = "catchIndex";
|
|
924
793
|
const _cT = "clientToken";
|
|
925
794
|
const _cWLLG = "cloudWatchLogsLogGroup";
|
|
926
795
|
const _ca = "cause";
|
|
927
|
-
const _co = "
|
|
796
|
+
const _co = "context";
|
|
797
|
+
const _cod = "code";
|
|
928
798
|
const _d = "description";
|
|
929
799
|
const _de = "definition";
|
|
930
800
|
const _des = "destinations";
|
|
@@ -933,9 +803,12 @@ const _e = "error";
|
|
|
933
803
|
const _eA = "executionArn";
|
|
934
804
|
const _eAED = "executionAbortedEventDetails";
|
|
935
805
|
const _eC = "encryptionConfiguration";
|
|
806
|
+
const _eCBS = "errorCausedByState";
|
|
936
807
|
const _eCx = "executionCounts";
|
|
808
|
+
const _eD = "errorDetails";
|
|
937
809
|
const _eFED = "executionFailedEventDetails";
|
|
938
810
|
const _eFEDv = "evaluationFailedEventDetails";
|
|
811
|
+
const _eO = "errorOutput";
|
|
939
812
|
const _eRED = "executionRedrivenEventDetails";
|
|
940
813
|
const _eSED = "executionStartedEventDetails";
|
|
941
814
|
const _eSEDx = "executionSucceededEventDetails";
|
|
@@ -946,6 +819,7 @@ const _ev = "events";
|
|
|
946
819
|
const _ex = "executions";
|
|
947
820
|
const _f = "failed";
|
|
948
821
|
const _fNR = "failuresNotRedrivable";
|
|
822
|
+
const _fVM = "fieldValidationMode";
|
|
949
823
|
const _h = "headers";
|
|
950
824
|
const _hE = "httpError";
|
|
951
825
|
const _hIS = "heartbeatInSeconds";
|
|
@@ -979,7 +853,9 @@ const _lo = "location";
|
|
|
979
853
|
const _m = "message";
|
|
980
854
|
const _mC = "maxConcurrency";
|
|
981
855
|
const _mIAED = "mapIterationAbortedEventDetails";
|
|
856
|
+
const _mIFC = "mapIterationFailureCount";
|
|
982
857
|
const _mIFED = "mapIterationFailedEventDetails";
|
|
858
|
+
const _mIRD = "mapItemReaderData";
|
|
983
859
|
const _mISED = "mapIterationStartedEventDetails";
|
|
984
860
|
const _mISEDa = "mapIterationSucceededEventDetails";
|
|
985
861
|
const _mR = "maxResults";
|
|
@@ -990,6 +866,7 @@ const _mRSED = "mapRunStartedEventDetails";
|
|
|
990
866
|
const _mRa = "mapRuns";
|
|
991
867
|
const _mSSED = "mapStateStartedEventDetails";
|
|
992
868
|
const _me = "method";
|
|
869
|
+
const _mo = "mock";
|
|
993
870
|
const _n = "name";
|
|
994
871
|
const _nS = "nextState";
|
|
995
872
|
const _nT = "nextToken";
|
|
@@ -1004,13 +881,16 @@ const _pr = "protocol";
|
|
|
1004
881
|
const _r = "resource";
|
|
1005
882
|
const _rA = "roleArn";
|
|
1006
883
|
const _rAe = "resourceArn";
|
|
884
|
+
const _rBIS = "retryBackoffIntervalSeconds";
|
|
1007
885
|
const _rC = "routingConfiguration";
|
|
1008
886
|
const _rCe = "redriveCount";
|
|
1009
887
|
const _rD = "redriveDate";
|
|
1010
888
|
const _rF = "redriveFilter";
|
|
1011
889
|
const _rI = "revisionId";
|
|
890
|
+
const _rIe = "retryIndex";
|
|
1012
891
|
const _rN = "resourceName";
|
|
1013
892
|
const _rO = "reverseOrder";
|
|
893
|
+
const _rRC = "retrierRetryCount";
|
|
1014
894
|
const _rS = "redriveStatus";
|
|
1015
895
|
const _rSR = "redriveStatusReason";
|
|
1016
896
|
const _rSe = "revealSecrets";
|
|
@@ -1024,6 +904,7 @@ const _res = "response";
|
|
|
1024
904
|
const _ru = "running";
|
|
1025
905
|
const _s = "status";
|
|
1026
906
|
const _sC = "statusCode";
|
|
907
|
+
const _sCt = "stateConfiguration";
|
|
1027
908
|
const _sD = "startDate";
|
|
1028
909
|
const _sDt = "stopDate";
|
|
1029
910
|
const _sEED = "stateEnteredEventDetails";
|
|
@@ -1036,6 +917,7 @@ const _sMAt = "stateMachineAliases";
|
|
|
1036
917
|
const _sMV = "stateMachineVersions";
|
|
1037
918
|
const _sMVA = "stateMachineVersionArn";
|
|
1038
919
|
const _sMt = "stateMachines";
|
|
920
|
+
const _sN = "stateName";
|
|
1039
921
|
const _se = "severity";
|
|
1040
922
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sfn";
|
|
1041
923
|
const _st = "state";
|
|
@@ -1075,10 +957,16 @@ var AliasDescription = [0, n0, _AD, 8, 0];
|
|
|
1075
957
|
var ConnectorParameters = [0, n0, _CP, 8, 0];
|
|
1076
958
|
var Definition = [0, n0, _D, 8, 0];
|
|
1077
959
|
var EvaluationFailureLocation = [0, n0, _EFL, 8, 0];
|
|
960
|
+
var ExceptionHandlerIndex = [0, n0, _EHI, 8, 1];
|
|
961
|
+
var InspectionMaxConcurrency = [0, n0, _IMC, 8, 1];
|
|
962
|
+
var InspectionToleratedFailureCount = [0, n0, _ITFC, 8, 1];
|
|
963
|
+
var InspectionToleratedFailurePercentage = [0, n0, _ITFP, 8, 1];
|
|
964
|
+
var RetryBackoffIntervalSeconds = [0, n0, _RBIS, 8, 1];
|
|
1078
965
|
var SensitiveCause = [0, n0, _SC, 8, 0];
|
|
1079
966
|
var SensitiveData = [0, n0, _SD, 8, 0];
|
|
1080
967
|
var SensitiveDataJobInput = [0, n0, _SDJI, 8, 0];
|
|
1081
968
|
var SensitiveError = [0, n0, _SE, 8, 0];
|
|
969
|
+
var TestStateStateName = [0, n0, _TSSN, 8, 0];
|
|
1082
970
|
var ValidateStateMachineDefinitionCode = [0, n0, _VSMDC, 8, 0];
|
|
1083
971
|
var ValidateStateMachineDefinitionLocation = [0, n0, _VSMDL, 8, 0];
|
|
1084
972
|
var ValidateStateMachineDefinitionMessage = [0, n0, _VSMDM, 8, 0];
|
|
@@ -1579,7 +1467,7 @@ var InspectionData = [
|
|
|
1579
1467
|
n0,
|
|
1580
1468
|
_ID,
|
|
1581
1469
|
8,
|
|
1582
|
-
[_i, _aAf, _aIP, _aP, _re, _aRS, _aRP, _req, _res, _v],
|
|
1470
|
+
[_i, _aAf, _aIP, _aP, _re, _aRS, _aRP, _req, _res, _v, _eD, _aIPf, _aIS, _aIB, _aIPft, _tFC, _tFP, _mC],
|
|
1583
1471
|
[
|
|
1584
1472
|
[() => SensitiveData, 0],
|
|
1585
1473
|
[() => SensitiveData, 0],
|
|
@@ -1591,10 +1479,30 @@ var InspectionData = [
|
|
|
1591
1479
|
() => InspectionDataRequest,
|
|
1592
1480
|
() => InspectionDataResponse,
|
|
1593
1481
|
[() => SensitiveData, 0],
|
|
1482
|
+
[() => InspectionErrorDetails, 0],
|
|
1483
|
+
[() => SensitiveData, 0],
|
|
1484
|
+
[() => SensitiveData, 0],
|
|
1485
|
+
[() => SensitiveData, 0],
|
|
1486
|
+
[() => SensitiveData, 0],
|
|
1487
|
+
[() => InspectionToleratedFailureCount, 0],
|
|
1488
|
+
[() => InspectionToleratedFailurePercentage, 0],
|
|
1489
|
+
[() => InspectionMaxConcurrency, 0],
|
|
1594
1490
|
],
|
|
1595
1491
|
];
|
|
1596
1492
|
var InspectionDataRequest = [3, n0, _IDR, 0, [_pr, _me, _u, _h, _b], [0, 0, 0, 0, 0]];
|
|
1597
1493
|
var InspectionDataResponse = [3, n0, _IDRn, 0, [_pr, _sC, _sM, _h, _b], [0, 0, 0, 0, 0]];
|
|
1494
|
+
var InspectionErrorDetails = [
|
|
1495
|
+
3,
|
|
1496
|
+
n0,
|
|
1497
|
+
_IED,
|
|
1498
|
+
0,
|
|
1499
|
+
[_cI, _rIe, _rBIS],
|
|
1500
|
+
[
|
|
1501
|
+
[() => ExceptionHandlerIndex, 0],
|
|
1502
|
+
[() => ExceptionHandlerIndex, 0],
|
|
1503
|
+
[() => RetryBackoffIntervalSeconds, 0],
|
|
1504
|
+
],
|
|
1505
|
+
];
|
|
1598
1506
|
var InvalidArn = [
|
|
1599
1507
|
-3,
|
|
1600
1508
|
n0,
|
|
@@ -1874,6 +1782,25 @@ var MissingRequiredParameter = [
|
|
|
1874
1782
|
[0],
|
|
1875
1783
|
];
|
|
1876
1784
|
schema.TypeRegistry.for(n0).registerError(MissingRequiredParameter, MissingRequiredParameter$1);
|
|
1785
|
+
var MockErrorOutput = [
|
|
1786
|
+
3,
|
|
1787
|
+
n0,
|
|
1788
|
+
_MEO,
|
|
1789
|
+
0,
|
|
1790
|
+
[_e, _ca],
|
|
1791
|
+
[
|
|
1792
|
+
[() => SensitiveError, 0],
|
|
1793
|
+
[() => SensitiveCause, 0],
|
|
1794
|
+
],
|
|
1795
|
+
];
|
|
1796
|
+
var MockInput = [
|
|
1797
|
+
3,
|
|
1798
|
+
n0,
|
|
1799
|
+
_MI,
|
|
1800
|
+
0,
|
|
1801
|
+
[_re, _eO, _fVM],
|
|
1802
|
+
[[() => SensitiveData, 0], [() => MockErrorOutput, 0], 0],
|
|
1803
|
+
];
|
|
1877
1804
|
var PublishStateMachineVersionInput = [
|
|
1878
1805
|
3,
|
|
1879
1806
|
n0,
|
|
@@ -2135,13 +2062,32 @@ var TaskTimedOutEventDetails = [
|
|
|
2135
2062
|
[_rT, _r, _e, _ca],
|
|
2136
2063
|
[0, 0, [() => SensitiveError, 0], [() => SensitiveCause, 0]],
|
|
2137
2064
|
];
|
|
2065
|
+
var TestStateConfiguration = [
|
|
2066
|
+
3,
|
|
2067
|
+
n0,
|
|
2068
|
+
_TSC,
|
|
2069
|
+
0,
|
|
2070
|
+
[_rRC, _eCBS, _mIFC, _mIRD],
|
|
2071
|
+
[1, [() => TestStateStateName, 0], 1, [() => SensitiveData, 0]],
|
|
2072
|
+
];
|
|
2138
2073
|
var TestStateInput = [
|
|
2139
2074
|
3,
|
|
2140
2075
|
n0,
|
|
2141
2076
|
_TSI,
|
|
2142
2077
|
0,
|
|
2143
|
-
[_de, _rA, _i, _iL, _rSe, _v],
|
|
2144
|
-
[
|
|
2078
|
+
[_de, _rA, _i, _iL, _rSe, _v, _sN, _mo, _co, _sCt],
|
|
2079
|
+
[
|
|
2080
|
+
[() => Definition, 0],
|
|
2081
|
+
0,
|
|
2082
|
+
[() => SensitiveData, 0],
|
|
2083
|
+
0,
|
|
2084
|
+
2,
|
|
2085
|
+
[() => SensitiveData, 0],
|
|
2086
|
+
[() => TestStateStateName, 0],
|
|
2087
|
+
[() => MockInput, 0],
|
|
2088
|
+
[() => SensitiveData, 0],
|
|
2089
|
+
[() => TestStateConfiguration, 0],
|
|
2090
|
+
],
|
|
2145
2091
|
];
|
|
2146
2092
|
var TestStateOutput = [
|
|
2147
2093
|
3,
|
|
@@ -2200,7 +2146,7 @@ var ValidateStateMachineDefinitionDiagnostic = [
|
|
|
2200
2146
|
n0,
|
|
2201
2147
|
_VSMDD,
|
|
2202
2148
|
0,
|
|
2203
|
-
[_se,
|
|
2149
|
+
[_se, _cod, _m, _lo],
|
|
2204
2150
|
[
|
|
2205
2151
|
0,
|
|
2206
2152
|
[() => ValidateStateMachineDefinitionCode, 0],
|
|
@@ -3028,6 +2974,158 @@ const paginateListMapRuns = core.createPaginator(SFNClient, ListMapRunsCommand,
|
|
|
3028
2974
|
|
|
3029
2975
|
const paginateListStateMachines = core.createPaginator(SFNClient, ListStateMachinesCommand, "nextToken", "nextToken", "maxResults");
|
|
3030
2976
|
|
|
2977
|
+
const EncryptionType = {
|
|
2978
|
+
AWS_OWNED_KEY: "AWS_OWNED_KEY",
|
|
2979
|
+
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
2980
|
+
};
|
|
2981
|
+
const LogLevel = {
|
|
2982
|
+
ALL: "ALL",
|
|
2983
|
+
ERROR: "ERROR",
|
|
2984
|
+
FATAL: "FATAL",
|
|
2985
|
+
OFF: "OFF",
|
|
2986
|
+
};
|
|
2987
|
+
const StateMachineType = {
|
|
2988
|
+
EXPRESS: "EXPRESS",
|
|
2989
|
+
STANDARD: "STANDARD",
|
|
2990
|
+
};
|
|
2991
|
+
const ValidationExceptionReason = {
|
|
2992
|
+
API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS",
|
|
2993
|
+
CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN",
|
|
2994
|
+
INVALID_ROUTING_CONFIGURATION: "INVALID_ROUTING_CONFIGURATION",
|
|
2995
|
+
MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER",
|
|
2996
|
+
};
|
|
2997
|
+
const IncludedData = {
|
|
2998
|
+
ALL_DATA: "ALL_DATA",
|
|
2999
|
+
METADATA_ONLY: "METADATA_ONLY",
|
|
3000
|
+
};
|
|
3001
|
+
const ExecutionRedriveStatus = {
|
|
3002
|
+
NOT_REDRIVABLE: "NOT_REDRIVABLE",
|
|
3003
|
+
REDRIVABLE: "REDRIVABLE",
|
|
3004
|
+
REDRIVABLE_BY_MAP_RUN: "REDRIVABLE_BY_MAP_RUN",
|
|
3005
|
+
};
|
|
3006
|
+
const ExecutionStatus = {
|
|
3007
|
+
ABORTED: "ABORTED",
|
|
3008
|
+
FAILED: "FAILED",
|
|
3009
|
+
PENDING_REDRIVE: "PENDING_REDRIVE",
|
|
3010
|
+
RUNNING: "RUNNING",
|
|
3011
|
+
SUCCEEDED: "SUCCEEDED",
|
|
3012
|
+
TIMED_OUT: "TIMED_OUT",
|
|
3013
|
+
};
|
|
3014
|
+
const KmsKeyState = {
|
|
3015
|
+
CREATING: "CREATING",
|
|
3016
|
+
DISABLED: "DISABLED",
|
|
3017
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
3018
|
+
PENDING_IMPORT: "PENDING_IMPORT",
|
|
3019
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
3020
|
+
};
|
|
3021
|
+
const MapRunStatus = {
|
|
3022
|
+
ABORTED: "ABORTED",
|
|
3023
|
+
FAILED: "FAILED",
|
|
3024
|
+
RUNNING: "RUNNING",
|
|
3025
|
+
SUCCEEDED: "SUCCEEDED",
|
|
3026
|
+
};
|
|
3027
|
+
const StateMachineStatus = {
|
|
3028
|
+
ACTIVE: "ACTIVE",
|
|
3029
|
+
DELETING: "DELETING",
|
|
3030
|
+
};
|
|
3031
|
+
const HistoryEventType = {
|
|
3032
|
+
ActivityFailed: "ActivityFailed",
|
|
3033
|
+
ActivityScheduleFailed: "ActivityScheduleFailed",
|
|
3034
|
+
ActivityScheduled: "ActivityScheduled",
|
|
3035
|
+
ActivityStarted: "ActivityStarted",
|
|
3036
|
+
ActivitySucceeded: "ActivitySucceeded",
|
|
3037
|
+
ActivityTimedOut: "ActivityTimedOut",
|
|
3038
|
+
ChoiceStateEntered: "ChoiceStateEntered",
|
|
3039
|
+
ChoiceStateExited: "ChoiceStateExited",
|
|
3040
|
+
EvaluationFailed: "EvaluationFailed",
|
|
3041
|
+
ExecutionAborted: "ExecutionAborted",
|
|
3042
|
+
ExecutionFailed: "ExecutionFailed",
|
|
3043
|
+
ExecutionRedriven: "ExecutionRedriven",
|
|
3044
|
+
ExecutionStarted: "ExecutionStarted",
|
|
3045
|
+
ExecutionSucceeded: "ExecutionSucceeded",
|
|
3046
|
+
ExecutionTimedOut: "ExecutionTimedOut",
|
|
3047
|
+
FailStateEntered: "FailStateEntered",
|
|
3048
|
+
LambdaFunctionFailed: "LambdaFunctionFailed",
|
|
3049
|
+
LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed",
|
|
3050
|
+
LambdaFunctionScheduled: "LambdaFunctionScheduled",
|
|
3051
|
+
LambdaFunctionStartFailed: "LambdaFunctionStartFailed",
|
|
3052
|
+
LambdaFunctionStarted: "LambdaFunctionStarted",
|
|
3053
|
+
LambdaFunctionSucceeded: "LambdaFunctionSucceeded",
|
|
3054
|
+
LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
|
|
3055
|
+
MapIterationAborted: "MapIterationAborted",
|
|
3056
|
+
MapIterationFailed: "MapIterationFailed",
|
|
3057
|
+
MapIterationStarted: "MapIterationStarted",
|
|
3058
|
+
MapIterationSucceeded: "MapIterationSucceeded",
|
|
3059
|
+
MapRunAborted: "MapRunAborted",
|
|
3060
|
+
MapRunFailed: "MapRunFailed",
|
|
3061
|
+
MapRunRedriven: "MapRunRedriven",
|
|
3062
|
+
MapRunStarted: "MapRunStarted",
|
|
3063
|
+
MapRunSucceeded: "MapRunSucceeded",
|
|
3064
|
+
MapStateAborted: "MapStateAborted",
|
|
3065
|
+
MapStateEntered: "MapStateEntered",
|
|
3066
|
+
MapStateExited: "MapStateExited",
|
|
3067
|
+
MapStateFailed: "MapStateFailed",
|
|
3068
|
+
MapStateStarted: "MapStateStarted",
|
|
3069
|
+
MapStateSucceeded: "MapStateSucceeded",
|
|
3070
|
+
ParallelStateAborted: "ParallelStateAborted",
|
|
3071
|
+
ParallelStateEntered: "ParallelStateEntered",
|
|
3072
|
+
ParallelStateExited: "ParallelStateExited",
|
|
3073
|
+
ParallelStateFailed: "ParallelStateFailed",
|
|
3074
|
+
ParallelStateStarted: "ParallelStateStarted",
|
|
3075
|
+
ParallelStateSucceeded: "ParallelStateSucceeded",
|
|
3076
|
+
PassStateEntered: "PassStateEntered",
|
|
3077
|
+
PassStateExited: "PassStateExited",
|
|
3078
|
+
SucceedStateEntered: "SucceedStateEntered",
|
|
3079
|
+
SucceedStateExited: "SucceedStateExited",
|
|
3080
|
+
TaskFailed: "TaskFailed",
|
|
3081
|
+
TaskScheduled: "TaskScheduled",
|
|
3082
|
+
TaskStartFailed: "TaskStartFailed",
|
|
3083
|
+
TaskStarted: "TaskStarted",
|
|
3084
|
+
TaskStateAborted: "TaskStateAborted",
|
|
3085
|
+
TaskStateEntered: "TaskStateEntered",
|
|
3086
|
+
TaskStateExited: "TaskStateExited",
|
|
3087
|
+
TaskSubmitFailed: "TaskSubmitFailed",
|
|
3088
|
+
TaskSubmitted: "TaskSubmitted",
|
|
3089
|
+
TaskSucceeded: "TaskSucceeded",
|
|
3090
|
+
TaskTimedOut: "TaskTimedOut",
|
|
3091
|
+
WaitStateAborted: "WaitStateAborted",
|
|
3092
|
+
WaitStateEntered: "WaitStateEntered",
|
|
3093
|
+
WaitStateExited: "WaitStateExited",
|
|
3094
|
+
};
|
|
3095
|
+
const ExecutionRedriveFilter = {
|
|
3096
|
+
NOT_REDRIVEN: "NOT_REDRIVEN",
|
|
3097
|
+
REDRIVEN: "REDRIVEN",
|
|
3098
|
+
};
|
|
3099
|
+
const SyncExecutionStatus = {
|
|
3100
|
+
FAILED: "FAILED",
|
|
3101
|
+
SUCCEEDED: "SUCCEEDED",
|
|
3102
|
+
TIMED_OUT: "TIMED_OUT",
|
|
3103
|
+
};
|
|
3104
|
+
const InspectionLevel = {
|
|
3105
|
+
DEBUG: "DEBUG",
|
|
3106
|
+
INFO: "INFO",
|
|
3107
|
+
TRACE: "TRACE",
|
|
3108
|
+
};
|
|
3109
|
+
const MockResponseValidationMode = {
|
|
3110
|
+
NONE: "NONE",
|
|
3111
|
+
PRESENT: "PRESENT",
|
|
3112
|
+
STRICT: "STRICT",
|
|
3113
|
+
};
|
|
3114
|
+
const TestExecutionStatus = {
|
|
3115
|
+
CAUGHT_ERROR: "CAUGHT_ERROR",
|
|
3116
|
+
FAILED: "FAILED",
|
|
3117
|
+
RETRIABLE: "RETRIABLE",
|
|
3118
|
+
SUCCEEDED: "SUCCEEDED",
|
|
3119
|
+
};
|
|
3120
|
+
const ValidateStateMachineDefinitionSeverity = {
|
|
3121
|
+
ERROR: "ERROR",
|
|
3122
|
+
WARNING: "WARNING",
|
|
3123
|
+
};
|
|
3124
|
+
const ValidateStateMachineDefinitionResultCode = {
|
|
3125
|
+
FAIL: "FAIL",
|
|
3126
|
+
OK: "OK",
|
|
3127
|
+
};
|
|
3128
|
+
|
|
3031
3129
|
Object.defineProperty(exports, "$Command", {
|
|
3032
3130
|
enumerable: true,
|
|
3033
3131
|
get: function () { return smithyClient.Command; }
|
|
@@ -3090,6 +3188,7 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
|
3090
3188
|
exports.LogLevel = LogLevel;
|
|
3091
3189
|
exports.MapRunStatus = MapRunStatus;
|
|
3092
3190
|
exports.MissingRequiredParameter = MissingRequiredParameter$1;
|
|
3191
|
+
exports.MockResponseValidationMode = MockResponseValidationMode;
|
|
3093
3192
|
exports.PublishStateMachineVersionCommand = PublishStateMachineVersionCommand;
|
|
3094
3193
|
exports.RedriveExecutionCommand = RedriveExecutionCommand;
|
|
3095
3194
|
exports.ResourceNotFound = ResourceNotFound$1;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./SFNClient";
|
|
|
2
2
|
export * from "./SFN";
|
|
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 { SFNServiceException } from "./models/SFNServiceException";
|