@aws-sdk/client-sfn 3.216.0 → 3.222.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 (50) hide show
  1. package/dist-cjs/SFN.js +45 -0
  2. package/dist-cjs/commands/DescribeMapRunCommand.js +46 -0
  3. package/dist-cjs/commands/ListMapRunsCommand.js +46 -0
  4. package/dist-cjs/commands/UpdateMapRunCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/endpoint/ruleset.js +1 -1
  7. package/dist-cjs/models/models_0.js +99 -17
  8. package/dist-cjs/pagination/ListMapRunsPaginator.js +36 -0
  9. package/dist-cjs/pagination/index.js +1 -0
  10. package/dist-cjs/protocols/Aws_json1_0.js +299 -1
  11. package/dist-es/SFN.js +45 -0
  12. package/dist-es/commands/DescribeMapRunCommand.js +42 -0
  13. package/dist-es/commands/ListMapRunsCommand.js +42 -0
  14. package/dist-es/commands/UpdateMapRunCommand.js +42 -0
  15. package/dist-es/commands/index.js +3 -0
  16. package/dist-es/endpoint/ruleset.js +1 -1
  17. package/dist-es/models/models_0.js +83 -13
  18. package/dist-es/pagination/ListMapRunsPaginator.js +32 -0
  19. package/dist-es/pagination/index.js +1 -0
  20. package/dist-es/protocols/Aws_json1_0.js +293 -2
  21. package/dist-types/SFN.d.ts +44 -6
  22. package/dist-types/SFNClient.d.ts +5 -2
  23. package/dist-types/commands/DeleteStateMachineCommand.d.ts +5 -0
  24. package/dist-types/commands/DescribeExecutionCommand.d.ts +2 -2
  25. package/dist-types/commands/DescribeMapRunCommand.d.ts +37 -0
  26. package/dist-types/commands/DescribeStateMachineCommand.d.ts +4 -1
  27. package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +1 -1
  28. package/dist-types/commands/ListExecutionsCommand.d.ts +2 -1
  29. package/dist-types/commands/ListMapRunsCommand.d.ts +37 -0
  30. package/dist-types/commands/StartExecutionCommand.d.ts +4 -1
  31. package/dist-types/commands/UpdateMapRunCommand.d.ts +37 -0
  32. package/dist-types/commands/UpdateStateMachineCommand.d.ts +5 -0
  33. package/dist-types/commands/index.d.ts +3 -0
  34. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  35. package/dist-types/models/models_0.d.ts +357 -20
  36. package/dist-types/pagination/ListMapRunsPaginator.d.ts +4 -0
  37. package/dist-types/pagination/index.d.ts +1 -0
  38. package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
  39. package/dist-types/ts3.4/SFN.d.ts +51 -0
  40. package/dist-types/ts3.4/SFNClient.d.ts +18 -0
  41. package/dist-types/ts3.4/commands/DescribeMapRunCommand.d.ts +34 -0
  42. package/dist-types/ts3.4/commands/ListMapRunsCommand.d.ts +34 -0
  43. package/dist-types/ts3.4/commands/UpdateMapRunCommand.d.ts +34 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  45. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  46. package/dist-types/ts3.4/models/models_0.d.ts +139 -7
  47. package/dist-types/ts3.4/pagination/ListMapRunsPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  49. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
  50. package/package.json +29 -28
@@ -242,7 +242,7 @@ export interface CreateActivityOutput {
242
242
  creationDate: Date | undefined;
243
243
  }
244
244
  /**
245
- * <p>The provided name is invalid.</p>
245
+ * <p>The provided name is not valid.</p>
246
246
  */
247
247
  export declare class InvalidName extends __BaseException {
248
248
  readonly name: "InvalidName";
@@ -401,7 +401,7 @@ export interface CreateStateMachineOutput {
401
401
  creationDate: Date | undefined;
402
402
  }
403
403
  /**
404
- * <p>The provided Amazon Resource Name (ARN) is invalid.</p>
404
+ * <p>The provided Amazon Resource Name (ARN) is not valid.</p>
405
405
  */
406
406
  export declare class InvalidArn extends __BaseException {
407
407
  readonly name: "InvalidArn";
@@ -412,7 +412,7 @@ export declare class InvalidArn extends __BaseException {
412
412
  constructor(opts: __ExceptionOptionType<InvalidArn, __BaseException>);
413
413
  }
414
414
  /**
415
- * <p>The provided Amazon States Language definition is invalid.</p>
415
+ * <p>The provided Amazon States Language definition is not valid.</p>
416
416
  */
417
417
  export declare class InvalidDefinition extends __BaseException {
418
418
  readonly name: "InvalidDefinition";
@@ -507,6 +507,26 @@ export interface DeleteStateMachineInput {
507
507
  }
508
508
  export interface DeleteStateMachineOutput {
509
509
  }
510
+ export declare enum ValidationExceptionReason {
511
+ API_DOES_NOT_SUPPORT_LABELED_ARNS = "API_DOES_NOT_SUPPORT_LABELED_ARNS",
512
+ CANNOT_UPDATE_COMPLETED_MAP_RUN = "CANNOT_UPDATE_COMPLETED_MAP_RUN",
513
+ MISSING_REQUIRED_PARAMETER = "MISSING_REQUIRED_PARAMETER"
514
+ }
515
+ /**
516
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
517
+ */
518
+ export declare class ValidationException extends __BaseException {
519
+ readonly name: "ValidationException";
520
+ readonly $fault: "client";
521
+ /**
522
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
523
+ */
524
+ reason?: ValidationExceptionReason | string;
525
+ /**
526
+ * @internal
527
+ */
528
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
529
+ }
510
530
  export interface DescribeActivityInput {
511
531
  /**
512
532
  * <p>The Amazon Resource Name (ARN) of the activity to describe.</p>
@@ -643,6 +663,18 @@ export interface DescribeExecutionOutput {
643
663
  * <p>The X-Ray trace header that was passed to the execution.</p>
644
664
  */
645
665
  traceHeader?: string;
666
+ /**
667
+ * <p>The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.</p>
668
+ */
669
+ mapRunArn?: string;
670
+ /**
671
+ * <p>The error string if the state machine execution failed.</p>
672
+ */
673
+ error?: string;
674
+ /**
675
+ * <p>The cause string if the state machine execution failed.</p>
676
+ */
677
+ cause?: string;
646
678
  }
647
679
  /**
648
680
  * <p>The specified execution does not exist.</p>
@@ -655,6 +687,147 @@ export declare class ExecutionDoesNotExist extends __BaseException {
655
687
  */
656
688
  constructor(opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>);
657
689
  }
690
+ export interface DescribeMapRunInput {
691
+ /**
692
+ * <p>The Amazon Resource Name (ARN) that identifies a Map Run.</p>
693
+ */
694
+ mapRunArn: string | undefined;
695
+ }
696
+ /**
697
+ * <p>Contains details about all of the child workflow executions started by a Map Run.</p>
698
+ */
699
+ export interface MapRunExecutionCounts {
700
+ /**
701
+ * <p>The total number of child workflow executions that were started by a Map Run, but haven't started executing yet. </p>
702
+ */
703
+ pending: number | undefined;
704
+ /**
705
+ * <p>The total number of child workflow executions that were started by a Map Run and are currently in-progress.</p>
706
+ */
707
+ running: number | undefined;
708
+ /**
709
+ * <p>The total number of child workflow executions that were started by a Map Run and have completed successfully.</p>
710
+ */
711
+ succeeded: number | undefined;
712
+ /**
713
+ * <p>The total number of child workflow executions that were started by a Map Run, but have failed.</p>
714
+ */
715
+ failed: number | undefined;
716
+ /**
717
+ * <p>The total number of child workflow executions that were started by a Map Run and have timed out.</p>
718
+ */
719
+ timedOut: number | undefined;
720
+ /**
721
+ * <p>The total number of child workflow executions that were started by a Map Run and were running, but were either stopped by the user or by Step Functions because the Map Run failed. </p>
722
+ */
723
+ aborted: number | undefined;
724
+ /**
725
+ * <p>The total number of child workflow executions that were started by a Map Run.</p>
726
+ */
727
+ total: number | undefined;
728
+ /**
729
+ * <p>Returns the count of child workflow executions whose results were written by <code>ResultWriter</code>. For more information, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultwriter.html">ResultWriter</a> in the <i>Step Functions Developer Guide</i>.</p>
730
+ */
731
+ resultsWritten: number | undefined;
732
+ }
733
+ /**
734
+ * <p>Contains details about items that were processed in all of the child workflow executions that were started by a Map Run.</p>
735
+ */
736
+ export interface MapRunItemCounts {
737
+ /**
738
+ * <p>The total number of items to process in child workflow executions that haven't started running yet.</p>
739
+ */
740
+ pending: number | undefined;
741
+ /**
742
+ * <p>The total number of items being processed in child workflow executions that are currently in-progress.</p>
743
+ */
744
+ running: number | undefined;
745
+ /**
746
+ * <p>The total number of items processed in child workflow executions that have completed successfully.</p>
747
+ */
748
+ succeeded: number | undefined;
749
+ /**
750
+ * <p>The total number of items processed in child workflow executions that have failed.</p>
751
+ */
752
+ failed: number | undefined;
753
+ /**
754
+ * <p>The total number of items processed in child workflow executions that have timed out.</p>
755
+ */
756
+ timedOut: number | undefined;
757
+ /**
758
+ * <p>The total number of items processed in child workflow executions that were either stopped by the user or by Step Functions, because the Map Run failed.</p>
759
+ */
760
+ aborted: number | undefined;
761
+ /**
762
+ * <p>The total number of items processed in all the child workflow executions started by a Map Run.</p>
763
+ */
764
+ total: number | undefined;
765
+ /**
766
+ * <p>Returns the count of items whose results were written by <code>ResultWriter</code>. For more information, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultwriter.html">ResultWriter</a> in the <i>Step Functions Developer Guide</i>.</p>
767
+ */
768
+ resultsWritten: number | undefined;
769
+ }
770
+ export declare enum MapRunStatus {
771
+ ABORTED = "ABORTED",
772
+ FAILED = "FAILED",
773
+ RUNNING = "RUNNING",
774
+ SUCCEEDED = "SUCCEEDED"
775
+ }
776
+ export interface DescribeMapRunOutput {
777
+ /**
778
+ * <p>The Amazon Resource Name (ARN) that identifies a Map Run.</p>
779
+ */
780
+ mapRunArn: string | undefined;
781
+ /**
782
+ * <p>The Amazon Resource Name (ARN) that identifies the execution in which the Map Run was started.</p>
783
+ */
784
+ executionArn: string | undefined;
785
+ /**
786
+ * <p>The current status of the Map Run.</p>
787
+ */
788
+ status: MapRunStatus | string | undefined;
789
+ /**
790
+ * <p>The date when the Map Run was started.</p>
791
+ */
792
+ startDate: Date | undefined;
793
+ /**
794
+ * <p>The date when the Map Run was stopped.</p>
795
+ */
796
+ stopDate?: Date;
797
+ /**
798
+ * <p>The maximum number of child workflow executions configured to run in parallel for the Map Run at the same time.</p>
799
+ */
800
+ maxConcurrency: number | undefined;
801
+ /**
802
+ * <p>The maximum percentage of failed child workflow executions before the Map Run fails.</p>
803
+ */
804
+ toleratedFailurePercentage: number | undefined;
805
+ /**
806
+ * <p>The maximum number of failed child workflow executions before the Map Run fails.</p>
807
+ */
808
+ toleratedFailureCount: number | undefined;
809
+ /**
810
+ * <p>A JSON object that contains information about the total number of items, and the item count for each processing status, such as <code>pending</code> and <code>failed</code>.</p>
811
+ */
812
+ itemCounts: MapRunItemCounts | undefined;
813
+ /**
814
+ * <p>A JSON object that contains information about the total number of child workflow executions for the Map Run, and the count of child workflow executions for each status, such as <code>failed</code> and <code>succeeded</code>.</p>
815
+ */
816
+ executionCounts: MapRunExecutionCounts | undefined;
817
+ }
818
+ /**
819
+ * <p>Could not find the referenced resource. Only state machine and activity ARNs are
820
+ * supported.</p>
821
+ */
822
+ export declare class ResourceNotFound extends __BaseException {
823
+ readonly name: "ResourceNotFound";
824
+ readonly $fault: "client";
825
+ resourceName?: string;
826
+ /**
827
+ * @internal
828
+ */
829
+ constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
830
+ }
658
831
  export interface DescribeStateMachineInput {
659
832
  /**
660
833
  * <p>The Amazon Resource Name (ARN) of the state machine to describe.</p>
@@ -727,6 +900,10 @@ export interface DescribeStateMachineOutput {
727
900
  * <p>Selects whether X-Ray tracing is enabled.</p>
728
901
  */
729
902
  tracingConfiguration?: TracingConfiguration;
903
+ /**
904
+ * <p>A user-defined or an auto-generated string that identifies a <code>Map</code> state. This parameter is present only if the <code>stateMachineArn</code> specified in input is a qualified state machine ARN.</p>
905
+ */
906
+ label?: string;
730
907
  }
731
908
  /**
732
909
  * <p>The specified state machine does not exist.</p>
@@ -776,6 +953,14 @@ export interface DescribeStateMachineForExecutionOutput {
776
953
  * <p>Selects whether X-Ray tracing is enabled.</p>
777
954
  */
778
955
  tracingConfiguration?: TracingConfiguration;
956
+ /**
957
+ * <p>The Amazon Resource Name (ARN) of the Map Run that started the child workflow execution. This field is returned only if the <code>executionArn</code> is a child workflow execution that was started by a Distributed Map state.</p>
958
+ */
959
+ mapRunArn?: string;
960
+ /**
961
+ * <p>A user-defined or an auto-generated string that identifies a <code>Map</code> state. This field is returned only if the <code>executionArn</code> is a child workflow execution that was started by a Distributed Map state.</p>
962
+ */
963
+ label?: string;
779
964
  }
780
965
  export interface GetActivityTaskInput {
781
966
  /**
@@ -1011,6 +1196,28 @@ export interface MapIterationEventDetails {
1011
1196
  */
1012
1197
  index?: number;
1013
1198
  }
1199
+ /**
1200
+ * <p>Contains details about a Map Run failure event that occurred during a state machine execution.</p>
1201
+ */
1202
+ export interface MapRunFailedEventDetails {
1203
+ /**
1204
+ * <p>The error code of the Map Run failure.</p>
1205
+ */
1206
+ error?: string;
1207
+ /**
1208
+ * <p>A more detailed explanation of the cause of the failure.</p>
1209
+ */
1210
+ cause?: string;
1211
+ }
1212
+ /**
1213
+ * <p>Contains details about a Map Run that was started during a state machine execution.</p>
1214
+ */
1215
+ export interface MapRunStartedEventDetails {
1216
+ /**
1217
+ * <p>The Amazon Resource Name (ARN) of a Map Run that was started.</p>
1218
+ */
1219
+ mapRunArn?: string;
1220
+ }
1014
1221
  /**
1015
1222
  * <p>Details about a Map state that was started.</p>
1016
1223
  */
@@ -1276,6 +1483,10 @@ export declare enum HistoryEventType {
1276
1483
  MapIterationFailed = "MapIterationFailed",
1277
1484
  MapIterationStarted = "MapIterationStarted",
1278
1485
  MapIterationSucceeded = "MapIterationSucceeded",
1486
+ MapRunAborted = "MapRunAborted",
1487
+ MapRunFailed = "MapRunFailed",
1488
+ MapRunStarted = "MapRunStarted",
1489
+ MapRunSucceeded = "MapRunSucceeded",
1279
1490
  MapStateAborted = "MapStateAborted",
1280
1491
  MapStateEntered = "MapStateEntered",
1281
1492
  MapStateExited = "MapStateExited",
@@ -1458,6 +1669,14 @@ export interface HistoryEvent {
1458
1669
  * <p>Contains details about an exit from a state during an execution.</p>
1459
1670
  */
1460
1671
  stateExitedEventDetails?: StateExitedEventDetails;
1672
+ /**
1673
+ * <p>Contains details, such as <code>mapRunArn</code>, and the start date and time of a Map Run. <code>mapRunArn</code> is the Amazon Resource Name (ARN) of the Map Run that was started.</p>
1674
+ */
1675
+ mapRunStartedEventDetails?: MapRunStartedEventDetails;
1676
+ /**
1677
+ * <p>Contains error and cause details about a Map Run that failed.</p>
1678
+ */
1679
+ mapRunFailedEventDetails?: MapRunFailedEventDetails;
1461
1680
  }
1462
1681
  export interface GetExecutionHistoryOutput {
1463
1682
  /**
@@ -1471,7 +1690,7 @@ export interface GetExecutionHistoryOutput {
1471
1690
  nextToken?: string;
1472
1691
  }
1473
1692
  /**
1474
- * <p>The provided token is invalid.</p>
1693
+ * <p>The provided token is not valid.</p>
1475
1694
  */
1476
1695
  export declare class InvalidToken extends __BaseException {
1477
1696
  readonly name: "InvalidToken";
@@ -1508,8 +1727,9 @@ export interface ListActivitiesOutput {
1508
1727
  export interface ListExecutionsInput {
1509
1728
  /**
1510
1729
  * <p>The Amazon Resource Name (ARN) of the state machine whose executions is listed.</p>
1730
+ * <p>You can specify either a <code>mapRunArn</code> or a <code>stateMachineArn</code>, but not both.</p>
1511
1731
  */
1512
- stateMachineArn: string | undefined;
1732
+ stateMachineArn?: string;
1513
1733
  /**
1514
1734
  * <p>If specified, only list the executions whose current execution status matches the given
1515
1735
  * filter.</p>
@@ -1526,6 +1746,11 @@ export interface ListExecutionsInput {
1526
1746
  * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
1527
1747
  */
1528
1748
  nextToken?: string;
1749
+ /**
1750
+ * <p>The Amazon Resource Name (ARN) of the Map Run that started the child workflow executions. If the <code>mapRunArn</code> field is specified, a list of all of the child workflow executions started by a Map Run is returned. For more information, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-examine-map-run.html">Examining Map Run</a> in the <i>Step Functions Developer Guide</i>.</p>
1751
+ * <p>You can specify either a <code>mapRunArn</code> or a <code>stateMachineArn</code>, but not both.</p>
1752
+ */
1753
+ mapRunArn?: string;
1529
1754
  }
1530
1755
  /**
1531
1756
  * <p>Contains details about an execution.</p>
@@ -1577,6 +1802,14 @@ export interface ExecutionListItem {
1577
1802
  * <p>If the execution already ended, the date the execution stopped.</p>
1578
1803
  */
1579
1804
  stopDate?: Date;
1805
+ /**
1806
+ * <p>The Amazon Resource Name (ARN) of a Map Run. This field is returned only if <code>mapRunArn</code> was specified in the <code>ListExecutions</code> API action. If <code>stateMachineArn</code> was specified in <code>ListExecutions</code>, the <code>mapRunArn</code> isn't returned.</p>
1807
+ */
1808
+ mapRunArn?: string;
1809
+ /**
1810
+ * <p>The total number of items processed in a child workflow execution. This field is returned only if <code>mapRunArn</code> was specified in the <code>ListExecutions</code> API action. If <code>stateMachineArn</code> was specified in <code>ListExecutions</code>, the <code>itemCount</code> field isn't returned.</p>
1811
+ */
1812
+ itemCount?: number;
1580
1813
  }
1581
1814
  export interface ListExecutionsOutput {
1582
1815
  /**
@@ -1589,6 +1822,59 @@ export interface ListExecutionsOutput {
1589
1822
  */
1590
1823
  nextToken?: string;
1591
1824
  }
1825
+ export interface ListMapRunsInput {
1826
+ /**
1827
+ * <p>The Amazon Resource Name (ARN) of the execution for which the Map Runs must be listed.</p>
1828
+ */
1829
+ executionArn: string | undefined;
1830
+ /**
1831
+ * <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results.
1832
+ * The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p>
1833
+ * <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p>
1834
+ */
1835
+ maxResults?: number;
1836
+ /**
1837
+ * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
1838
+ * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
1839
+ */
1840
+ nextToken?: string;
1841
+ }
1842
+ /**
1843
+ * <p>Contains details about a specific Map Run.</p>
1844
+ */
1845
+ export interface MapRunListItem {
1846
+ /**
1847
+ * <p>The <code>executionArn</code> of the execution from which the Map Run was started.</p>
1848
+ */
1849
+ executionArn: string | undefined;
1850
+ /**
1851
+ * <p>The Amazon Resource Name (ARN) of the Map Run.</p>
1852
+ */
1853
+ mapRunArn: string | undefined;
1854
+ /**
1855
+ * <p>The Amazon Resource Name (ARN) of the executed state machine.</p>
1856
+ */
1857
+ stateMachineArn: string | undefined;
1858
+ /**
1859
+ * <p>The date on which the Map Run started.</p>
1860
+ */
1861
+ startDate: Date | undefined;
1862
+ /**
1863
+ * <p>The date on which the Map Run stopped.</p>
1864
+ */
1865
+ stopDate?: Date;
1866
+ }
1867
+ export interface ListMapRunsOutput {
1868
+ /**
1869
+ * <p>An array that lists information related to a Map Run, such as the Amazon Resource Name (ARN) of the Map Run and the ARN of the state machine that started the Map Run.</p>
1870
+ */
1871
+ mapRuns: MapRunListItem[] | undefined;
1872
+ /**
1873
+ * <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
1874
+ * Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
1875
+ */
1876
+ nextToken?: string;
1877
+ }
1592
1878
  export interface ListStateMachinesInput {
1593
1879
  /**
1594
1880
  * <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results.
@@ -1665,19 +1951,6 @@ export interface ListTagsForResourceOutput {
1665
1951
  */
1666
1952
  tags?: Tag[];
1667
1953
  }
1668
- /**
1669
- * <p>Could not find the referenced resource. Only state machine and activity ARNs are
1670
- * supported.</p>
1671
- */
1672
- export declare class ResourceNotFound extends __BaseException {
1673
- readonly name: "ResourceNotFound";
1674
- readonly $fault: "client";
1675
- resourceName?: string;
1676
- /**
1677
- * @internal
1678
- */
1679
- constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
1680
- }
1681
1954
  export interface SendTaskFailureInput {
1682
1955
  /**
1683
1956
  * <p>The token that represents this task. Task tokens are generated by Step Functions when
@@ -1723,7 +1996,7 @@ export interface SendTaskHeartbeatInput {
1723
1996
  export interface SendTaskHeartbeatOutput {
1724
1997
  }
1725
1998
  /**
1726
- * <p>The provided JSON output data is invalid.</p>
1999
+ * <p>The provided JSON output data is not valid.</p>
1727
2000
  */
1728
2001
  export declare class InvalidOutput extends __BaseException {
1729
2002
  readonly name: "InvalidOutput";
@@ -1776,7 +2049,7 @@ export declare class ExecutionLimitExceeded extends __BaseException {
1776
2049
  constructor(opts: __ExceptionOptionType<ExecutionLimitExceeded, __BaseException>);
1777
2050
  }
1778
2051
  /**
1779
- * <p>The provided JSON input data is invalid.</p>
2052
+ * <p>The provided JSON input data is not valid.</p>
1780
2053
  */
1781
2054
  export declare class InvalidExecutionInput extends __BaseException {
1782
2055
  readonly name: "InvalidExecutionInput";
@@ -2002,6 +2275,26 @@ export interface UntagResourceInput {
2002
2275
  }
2003
2276
  export interface UntagResourceOutput {
2004
2277
  }
2278
+ export interface UpdateMapRunInput {
2279
+ /**
2280
+ * <p>The Amazon Resource Name (ARN) of a Map Run.</p>
2281
+ */
2282
+ mapRunArn: string | undefined;
2283
+ /**
2284
+ * <p>The maximum number of child workflow executions that can be specified to run in parallel for the Map Run at the same time.</p>
2285
+ */
2286
+ maxConcurrency?: number;
2287
+ /**
2288
+ * <p>The maximum percentage of failed items before the Map Run fails.</p>
2289
+ */
2290
+ toleratedFailurePercentage?: number;
2291
+ /**
2292
+ * <p>The maximum number of failed items before the Map Run fails.</p>
2293
+ */
2294
+ toleratedFailureCount?: number;
2295
+ }
2296
+ export interface UpdateMapRunOutput {
2297
+ }
2005
2298
  /**
2006
2299
  * <p>Request is missing a required parameter. This error occurs if both <code>definition</code>
2007
2300
  * and <code>roleArn</code> are not specified.</p>
@@ -2147,6 +2440,22 @@ export declare const CloudWatchEventsExecutionDataDetailsFilterSensitiveLog: (ob
2147
2440
  * @internal
2148
2441
  */
2149
2442
  export declare const DescribeExecutionOutputFilterSensitiveLog: (obj: DescribeExecutionOutput) => any;
2443
+ /**
2444
+ * @internal
2445
+ */
2446
+ export declare const DescribeMapRunInputFilterSensitiveLog: (obj: DescribeMapRunInput) => any;
2447
+ /**
2448
+ * @internal
2449
+ */
2450
+ export declare const MapRunExecutionCountsFilterSensitiveLog: (obj: MapRunExecutionCounts) => any;
2451
+ /**
2452
+ * @internal
2453
+ */
2454
+ export declare const MapRunItemCountsFilterSensitiveLog: (obj: MapRunItemCounts) => any;
2455
+ /**
2456
+ * @internal
2457
+ */
2458
+ export declare const DescribeMapRunOutputFilterSensitiveLog: (obj: DescribeMapRunOutput) => any;
2150
2459
  /**
2151
2460
  * @internal
2152
2461
  */
@@ -2227,6 +2536,14 @@ export declare const LambdaFunctionTimedOutEventDetailsFilterSensitiveLog: (obj:
2227
2536
  * @internal
2228
2537
  */
2229
2538
  export declare const MapIterationEventDetailsFilterSensitiveLog: (obj: MapIterationEventDetails) => any;
2539
+ /**
2540
+ * @internal
2541
+ */
2542
+ export declare const MapRunFailedEventDetailsFilterSensitiveLog: (obj: MapRunFailedEventDetails) => any;
2543
+ /**
2544
+ * @internal
2545
+ */
2546
+ export declare const MapRunStartedEventDetailsFilterSensitiveLog: (obj: MapRunStartedEventDetails) => any;
2230
2547
  /**
2231
2548
  * @internal
2232
2549
  */
@@ -2299,6 +2616,18 @@ export declare const ExecutionListItemFilterSensitiveLog: (obj: ExecutionListIte
2299
2616
  * @internal
2300
2617
  */
2301
2618
  export declare const ListExecutionsOutputFilterSensitiveLog: (obj: ListExecutionsOutput) => any;
2619
+ /**
2620
+ * @internal
2621
+ */
2622
+ export declare const ListMapRunsInputFilterSensitiveLog: (obj: ListMapRunsInput) => any;
2623
+ /**
2624
+ * @internal
2625
+ */
2626
+ export declare const MapRunListItemFilterSensitiveLog: (obj: MapRunListItem) => any;
2627
+ /**
2628
+ * @internal
2629
+ */
2630
+ export declare const ListMapRunsOutputFilterSensitiveLog: (obj: ListMapRunsOutput) => any;
2302
2631
  /**
2303
2632
  * @internal
2304
2633
  */
@@ -2387,6 +2716,14 @@ export declare const UntagResourceInputFilterSensitiveLog: (obj: UntagResourceIn
2387
2716
  * @internal
2388
2717
  */
2389
2718
  export declare const UntagResourceOutputFilterSensitiveLog: (obj: UntagResourceOutput) => any;
2719
+ /**
2720
+ * @internal
2721
+ */
2722
+ export declare const UpdateMapRunInputFilterSensitiveLog: (obj: UpdateMapRunInput) => any;
2723
+ /**
2724
+ * @internal
2725
+ */
2726
+ export declare const UpdateMapRunOutputFilterSensitiveLog: (obj: UpdateMapRunOutput) => any;
2390
2727
  /**
2391
2728
  * @internal
2392
2729
  */
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListMapRunsCommandInput, ListMapRunsCommandOutput } from "../commands/ListMapRunsCommand";
3
+ import { SFNPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListMapRuns(config: SFNPaginationConfiguration, input: ListMapRunsCommandInput, ...additionalArguments: any): Paginator<ListMapRunsCommandOutput>;
@@ -2,4 +2,5 @@ export * from "./GetExecutionHistoryPaginator";
2
2
  export * from "./Interfaces";
3
3
  export * from "./ListActivitiesPaginator";
4
4
  export * from "./ListExecutionsPaginator";
5
+ export * from "./ListMapRunsPaginator";
5
6
  export * from "./ListStateMachinesPaginator";
@@ -6,12 +6,14 @@ import { DeleteActivityCommandInput, DeleteActivityCommandOutput } from "../comm
6
6
  import { DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput } from "../commands/DeleteStateMachineCommand";
7
7
  import { DescribeActivityCommandInput, DescribeActivityCommandOutput } from "../commands/DescribeActivityCommand";
8
8
  import { DescribeExecutionCommandInput, DescribeExecutionCommandOutput } from "../commands/DescribeExecutionCommand";
9
+ import { DescribeMapRunCommandInput, DescribeMapRunCommandOutput } from "../commands/DescribeMapRunCommand";
9
10
  import { DescribeStateMachineCommandInput, DescribeStateMachineCommandOutput } from "../commands/DescribeStateMachineCommand";
10
11
  import { DescribeStateMachineForExecutionCommandInput, DescribeStateMachineForExecutionCommandOutput } from "../commands/DescribeStateMachineForExecutionCommand";
11
12
  import { GetActivityTaskCommandInput, GetActivityTaskCommandOutput } from "../commands/GetActivityTaskCommand";
12
13
  import { GetExecutionHistoryCommandInput, GetExecutionHistoryCommandOutput } from "../commands/GetExecutionHistoryCommand";
13
14
  import { ListActivitiesCommandInput, ListActivitiesCommandOutput } from "../commands/ListActivitiesCommand";
14
15
  import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "../commands/ListExecutionsCommand";
16
+ import { ListMapRunsCommandInput, ListMapRunsCommandOutput } from "../commands/ListMapRunsCommand";
15
17
  import { ListStateMachinesCommandInput, ListStateMachinesCommandOutput } from "../commands/ListStateMachinesCommand";
16
18
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
17
19
  import { SendTaskFailureCommandInput, SendTaskFailureCommandOutput } from "../commands/SendTaskFailureCommand";
@@ -22,6 +24,7 @@ import { StartSyncExecutionCommandInput, StartSyncExecutionCommandOutput } from
22
24
  import { StopExecutionCommandInput, StopExecutionCommandOutput } from "../commands/StopExecutionCommand";
23
25
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
24
26
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
27
+ import { UpdateMapRunCommandInput, UpdateMapRunCommandOutput } from "../commands/UpdateMapRunCommand";
25
28
  import { UpdateStateMachineCommandInput, UpdateStateMachineCommandOutput } from "../commands/UpdateStateMachineCommand";
26
29
  export declare const serializeAws_json1_0CreateActivityCommand: (input: CreateActivityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
30
  export declare const serializeAws_json1_0CreateStateMachineCommand: (input: CreateStateMachineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -29,12 +32,14 @@ export declare const serializeAws_json1_0DeleteActivityCommand: (input: DeleteAc
29
32
  export declare const serializeAws_json1_0DeleteStateMachineCommand: (input: DeleteStateMachineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
33
  export declare const serializeAws_json1_0DescribeActivityCommand: (input: DescribeActivityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
34
  export declare const serializeAws_json1_0DescribeExecutionCommand: (input: DescribeExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
+ export declare const serializeAws_json1_0DescribeMapRunCommand: (input: DescribeMapRunCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
36
  export declare const serializeAws_json1_0DescribeStateMachineCommand: (input: DescribeStateMachineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
37
  export declare const serializeAws_json1_0DescribeStateMachineForExecutionCommand: (input: DescribeStateMachineForExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
38
  export declare const serializeAws_json1_0GetActivityTaskCommand: (input: GetActivityTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
39
  export declare const serializeAws_json1_0GetExecutionHistoryCommand: (input: GetExecutionHistoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
40
  export declare const serializeAws_json1_0ListActivitiesCommand: (input: ListActivitiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
41
  export declare const serializeAws_json1_0ListExecutionsCommand: (input: ListExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
+ export declare const serializeAws_json1_0ListMapRunsCommand: (input: ListMapRunsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
43
  export declare const serializeAws_json1_0ListStateMachinesCommand: (input: ListStateMachinesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
44
  export declare const serializeAws_json1_0ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
45
  export declare const serializeAws_json1_0SendTaskFailureCommand: (input: SendTaskFailureCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -45,6 +50,7 @@ export declare const serializeAws_json1_0StartSyncExecutionCommand: (input: Star
45
50
  export declare const serializeAws_json1_0StopExecutionCommand: (input: StopExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
51
  export declare const serializeAws_json1_0TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
52
  export declare const serializeAws_json1_0UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ export declare const serializeAws_json1_0UpdateMapRunCommand: (input: UpdateMapRunCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
54
  export declare const serializeAws_json1_0UpdateStateMachineCommand: (input: UpdateStateMachineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
55
  export declare const deserializeAws_json1_0CreateActivityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateActivityCommandOutput>;
50
56
  export declare const deserializeAws_json1_0CreateStateMachineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateStateMachineCommandOutput>;
@@ -52,12 +58,14 @@ export declare const deserializeAws_json1_0DeleteActivityCommand: (output: __Htt
52
58
  export declare const deserializeAws_json1_0DeleteStateMachineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteStateMachineCommandOutput>;
53
59
  export declare const deserializeAws_json1_0DescribeActivityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeActivityCommandOutput>;
54
60
  export declare const deserializeAws_json1_0DescribeExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeExecutionCommandOutput>;
61
+ export declare const deserializeAws_json1_0DescribeMapRunCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeMapRunCommandOutput>;
55
62
  export declare const deserializeAws_json1_0DescribeStateMachineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStateMachineCommandOutput>;
56
63
  export declare const deserializeAws_json1_0DescribeStateMachineForExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStateMachineForExecutionCommandOutput>;
57
64
  export declare const deserializeAws_json1_0GetActivityTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetActivityTaskCommandOutput>;
58
65
  export declare const deserializeAws_json1_0GetExecutionHistoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetExecutionHistoryCommandOutput>;
59
66
  export declare const deserializeAws_json1_0ListActivitiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListActivitiesCommandOutput>;
60
67
  export declare const deserializeAws_json1_0ListExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListExecutionsCommandOutput>;
68
+ export declare const deserializeAws_json1_0ListMapRunsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMapRunsCommandOutput>;
61
69
  export declare const deserializeAws_json1_0ListStateMachinesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStateMachinesCommandOutput>;
62
70
  export declare const deserializeAws_json1_0ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
63
71
  export declare const deserializeAws_json1_0SendTaskFailureCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendTaskFailureCommandOutput>;
@@ -68,4 +76,5 @@ export declare const deserializeAws_json1_0StartSyncExecutionCommand: (output: _
68
76
  export declare const deserializeAws_json1_0StopExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopExecutionCommandOutput>;
69
77
  export declare const deserializeAws_json1_0TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
70
78
  export declare const deserializeAws_json1_0UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
79
+ export declare const deserializeAws_json1_0UpdateMapRunCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateMapRunCommandOutput>;
71
80
  export declare const deserializeAws_json1_0UpdateStateMachineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateStateMachineCommandOutput>;