@aws-sdk/client-sfn 3.450.0 → 3.454.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 (33) hide show
  1. package/README.md +11 -0
  2. package/dist-cjs/SFN.js +2 -0
  3. package/dist-cjs/commands/RedriveExecutionCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +41 -15
  6. package/dist-cjs/protocols/Aws_json1_0.js +82 -2
  7. package/dist-es/SFN.js +2 -0
  8. package/dist-es/commands/RedriveExecutionCommand.js +47 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/models/models_0.js +37 -12
  11. package/dist-es/protocols/Aws_json1_0.js +79 -1
  12. package/dist-types/SFN.d.ts +10 -0
  13. package/dist-types/SFNClient.d.ts +6 -2
  14. package/dist-types/commands/DeleteStateMachineCommand.d.ts +2 -2
  15. package/dist-types/commands/DescribeExecutionCommand.d.ts +7 -6
  16. package/dist-types/commands/DescribeMapRunCommand.d.ts +7 -1
  17. package/dist-types/commands/GetExecutionHistoryCommand.d.ts +8 -1
  18. package/dist-types/commands/ListExecutionsCommand.d.ts +6 -3
  19. package/dist-types/commands/RedriveExecutionCommand.d.ts +108 -0
  20. package/dist-types/commands/SendTaskFailureCommand.d.ts +4 -2
  21. package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +5 -3
  22. package/dist-types/commands/SendTaskSuccessCommand.d.ts +4 -2
  23. package/dist-types/commands/index.d.ts +1 -0
  24. package/dist-types/index.d.ts +3 -0
  25. package/dist-types/models/models_0.d.ts +238 -14
  26. package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
  27. package/dist-types/ts3.4/SFN.d.ts +17 -0
  28. package/dist-types/ts3.4/SFNClient.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/RedriveExecutionCommand.d.ts +38 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +59 -7
  32. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
  33. package/package.json +38 -36
@@ -658,7 +658,7 @@ export interface RoutingConfigurationListItem {
658
658
  stateMachineVersionArn: string | undefined;
659
659
  /**
660
660
  * @public
661
- * <p>The percentage of traffic you want to route to the second state machine
661
+ * <p>The percentage of traffic you want to route to a state machine
662
662
  * version. The sum of the weights in the routing
663
663
  * configuration must be equal to 100.</p>
664
664
  */
@@ -864,6 +864,19 @@ export interface CloudWatchEventsExecutionDataDetails {
864
864
  */
865
865
  included?: boolean;
866
866
  }
867
+ /**
868
+ * @public
869
+ * @enum
870
+ */
871
+ export declare const ExecutionRedriveStatus: {
872
+ readonly NOT_REDRIVABLE: "NOT_REDRIVABLE";
873
+ readonly REDRIVABLE: "REDRIVABLE";
874
+ readonly REDRIVABLE_BY_MAP_RUN: "REDRIVABLE_BY_MAP_RUN";
875
+ };
876
+ /**
877
+ * @public
878
+ */
879
+ export type ExecutionRedriveStatus = (typeof ExecutionRedriveStatus)[keyof typeof ExecutionRedriveStatus];
867
880
  /**
868
881
  * @public
869
882
  * @enum
@@ -871,6 +884,7 @@ export interface CloudWatchEventsExecutionDataDetails {
871
884
  export declare const ExecutionStatus: {
872
885
  readonly ABORTED: "ABORTED";
873
886
  readonly FAILED: "FAILED";
887
+ readonly PENDING_REDRIVE: "PENDING_REDRIVE";
874
888
  readonly RUNNING: "RUNNING";
875
889
  readonly SUCCEEDED: "SUCCEEDED";
876
890
  readonly TIMED_OUT: "TIMED_OUT";
@@ -993,6 +1007,77 @@ export interface DescribeExecutionOutput {
993
1007
  * state machine version ARN, this field will be null.</p>
994
1008
  */
995
1009
  stateMachineAliasArn?: string;
1010
+ /**
1011
+ * @public
1012
+ * <p>The number of times you've redriven an execution. If you have not yet redriven an execution, the <code>redriveCount</code> is 0. This count is not updated for redrives that failed to start or are pending to be redriven.</p>
1013
+ */
1014
+ redriveCount?: number;
1015
+ /**
1016
+ * @public
1017
+ * <p>The date the execution was last redriven. If you have not yet redriven an execution, the <code>redriveDate</code> is null.</p>
1018
+ * <p>The <code>redriveDate</code> is unavailable if you redrive a Map Run that starts child workflow executions of type <code>EXPRESS</code>.</p>
1019
+ */
1020
+ redriveDate?: Date;
1021
+ /**
1022
+ * @public
1023
+ * <p>Indicates whether or not an execution can be redriven at a given point in time.</p>
1024
+ * <ul>
1025
+ * <li>
1026
+ * <p>For executions of type <code>STANDARD</code>, <code>redriveStatus</code> is <code>NOT_REDRIVABLE</code> if calling the <a>RedriveExecution</a> API action would return the <code>ExecutionNotRedrivable</code> error.</p>
1027
+ * </li>
1028
+ * <li>
1029
+ * <p>For a Distributed Map that includes child workflows of type <code>STANDARD</code>, <code>redriveStatus</code> indicates whether or not the Map Run can redrive child workflow executions.</p>
1030
+ * </li>
1031
+ * <li>
1032
+ * <p>For a Distributed Map that includes child workflows of type <code>EXPRESS</code>, <code>redriveStatus</code> indicates whether or not the Map Run can redrive child workflow executions.</p>
1033
+ * <p>You can redrive failed or timed out <code>EXPRESS</code> workflows <i>only if</i> they're a part of a Map Run. When you <a href="https://docs.aws.amazon.com/step-functions/latest/dg/redrive-map-run.html">redrive</a> the Map Run, these workflows are restarted using the <a>StartExecution</a> API action.</p>
1034
+ * </li>
1035
+ * </ul>
1036
+ */
1037
+ redriveStatus?: ExecutionRedriveStatus;
1038
+ /**
1039
+ * @public
1040
+ * <p>When <code>redriveStatus</code> is <code>NOT_REDRIVABLE</code>, <code>redriveStatusReason</code> specifies the reason why an execution cannot be redriven.</p>
1041
+ * <ul>
1042
+ * <li>
1043
+ * <p>For executions of type <code>STANDARD</code>, or for a Distributed Map that includes child workflows of type <code>STANDARD</code>, <code>redriveStatusReason</code> can include one of the following reasons:</p>
1044
+ * <ul>
1045
+ * <li>
1046
+ * <p>
1047
+ * <code>State machine is in DELETING status</code>.</p>
1048
+ * </li>
1049
+ * <li>
1050
+ * <p>
1051
+ * <code>Execution is RUNNING and cannot be redriven</code>.</p>
1052
+ * </li>
1053
+ * <li>
1054
+ * <p>
1055
+ * <code>Execution is SUCCEEDED and cannot be redriven</code>.</p>
1056
+ * </li>
1057
+ * <li>
1058
+ * <p>
1059
+ * <code>Execution was started before the launch of RedriveExecution</code>.</p>
1060
+ * </li>
1061
+ * <li>
1062
+ * <p>
1063
+ * <code>Execution history event limit exceeded</code>.</p>
1064
+ * </li>
1065
+ * <li>
1066
+ * <p>
1067
+ * <code>Execution has exceeded the max execution time</code>.</p>
1068
+ * </li>
1069
+ * <li>
1070
+ * <p>
1071
+ * <code>Execution redrivable period exceeded</code>.</p>
1072
+ * </li>
1073
+ * </ul>
1074
+ * </li>
1075
+ * <li>
1076
+ * <p>For a Distributed Map that includes child workflows of type <code>EXPRESS</code>, <code>redriveStatusReason</code> is only returned if the child workflows are not redrivable. This happens when the child workflow executions have completed successfully.</p>
1077
+ * </li>
1078
+ * </ul>
1079
+ */
1080
+ redriveStatusReason?: string;
996
1081
  }
997
1082
  /**
998
1083
  * @public
@@ -1061,6 +1146,16 @@ export interface MapRunExecutionCounts {
1061
1146
  * <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>
1062
1147
  */
1063
1148
  resultsWritten: number | undefined;
1149
+ /**
1150
+ * @public
1151
+ * <p>The number of <code>FAILED</code>, <code>ABORTED</code>, or <code>TIMED_OUT</code> child workflow executions that cannot be redriven because their execution status is terminal. For example, if your execution event history contains 25,000 entries, or the <code>toleratedFailureCount</code> or <code>toleratedFailurePercentage</code> for the Distributed Map has exceeded.</p>
1152
+ */
1153
+ failuresNotRedrivable?: number;
1154
+ /**
1155
+ * @public
1156
+ * <p>The number of unsuccessful child workflow executions currently waiting to be redriven. The status of these child workflow executions could be <code>FAILED</code>, <code>ABORTED</code>, or <code>TIMED_OUT</code> in the original execution attempt or a previous redrive attempt.</p>
1157
+ */
1158
+ pendingRedrive?: number;
1064
1159
  }
1065
1160
  /**
1066
1161
  * @public
@@ -1107,6 +1202,16 @@ export interface MapRunItemCounts {
1107
1202
  * <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>
1108
1203
  */
1109
1204
  resultsWritten: number | undefined;
1205
+ /**
1206
+ * @public
1207
+ * <p>The number of <code>FAILED</code>, <code>ABORTED</code>, or <code>TIMED_OUT</code> items in child workflow executions that cannot be redriven because the execution status of those child workflows is terminal. For example, if your execution event history contains 25,000 entries, or the <code>toleratedFailureCount</code> or <code>toleratedFailurePercentage</code> for the Distributed Map has exceeded.</p>
1208
+ */
1209
+ failuresNotRedrivable?: number;
1210
+ /**
1211
+ * @public
1212
+ * <p>The number of unsuccessful items in child workflow executions currently waiting to be redriven.</p>
1213
+ */
1214
+ pendingRedrive?: number;
1110
1215
  }
1111
1216
  /**
1112
1217
  * @public
@@ -1176,6 +1281,16 @@ export interface DescribeMapRunOutput {
1176
1281
  * <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>
1177
1282
  */
1178
1283
  executionCounts: MapRunExecutionCounts | undefined;
1284
+ /**
1285
+ * @public
1286
+ * <p>The number of times you've redriven a Map Run. If you have not yet redriven a Map Run, the <code>redriveCount</code> is 0. This count is not updated for redrives that failed to start or are pending to be redriven.</p>
1287
+ */
1288
+ redriveCount?: number;
1289
+ /**
1290
+ * @public
1291
+ * <p>The date a Map Run was last redriven. If you have not yet redriven a Map Run, the <code>redriveDate</code> is null.</p>
1292
+ */
1293
+ redriveDate?: Date;
1179
1294
  }
1180
1295
  /**
1181
1296
  * @public
@@ -1522,6 +1637,17 @@ export interface ExecutionFailedEventDetails {
1522
1637
  */
1523
1638
  cause?: string;
1524
1639
  }
1640
+ /**
1641
+ * @public
1642
+ * <p>Contains details about a redriven execution.</p>
1643
+ */
1644
+ export interface ExecutionRedrivenEventDetails {
1645
+ /**
1646
+ * @public
1647
+ * <p>The number of times you've redriven an execution. If you have not yet redriven an execution, the <code>redriveCount</code> is 0. This count is not updated for redrives that failed to start or are pending to be redriven.</p>
1648
+ */
1649
+ redriveCount?: number;
1650
+ }
1525
1651
  /**
1526
1652
  * @public
1527
1653
  * <p>Contains details about the start of the execution.</p>
@@ -1741,6 +1867,22 @@ export interface MapRunFailedEventDetails {
1741
1867
  */
1742
1868
  cause?: string;
1743
1869
  }
1870
+ /**
1871
+ * @public
1872
+ * <p>Contains details about a Map Run that was redriven.</p>
1873
+ */
1874
+ export interface MapRunRedrivenEventDetails {
1875
+ /**
1876
+ * @public
1877
+ * <p>The Amazon Resource Name (ARN) of a Map Run that was redriven.</p>
1878
+ */
1879
+ mapRunArn?: string;
1880
+ /**
1881
+ * @public
1882
+ * <p>The number of times the Map Run has been redriven at this point in the execution's history including this event. The redrive count for a redriven Map Run is always greater than 0.</p>
1883
+ */
1884
+ redriveCount?: number;
1885
+ }
1744
1886
  /**
1745
1887
  * @public
1746
1888
  * <p>Contains details about a Map Run that was started during a state machine execution.</p>
@@ -2057,6 +2199,7 @@ export declare const HistoryEventType: {
2057
2199
  readonly ChoiceStateExited: "ChoiceStateExited";
2058
2200
  readonly ExecutionAborted: "ExecutionAborted";
2059
2201
  readonly ExecutionFailed: "ExecutionFailed";
2202
+ readonly ExecutionRedriven: "ExecutionRedriven";
2060
2203
  readonly ExecutionStarted: "ExecutionStarted";
2061
2204
  readonly ExecutionSucceeded: "ExecutionSucceeded";
2062
2205
  readonly ExecutionTimedOut: "ExecutionTimedOut";
@@ -2074,6 +2217,7 @@ export declare const HistoryEventType: {
2074
2217
  readonly MapIterationSucceeded: "MapIterationSucceeded";
2075
2218
  readonly MapRunAborted: "MapRunAborted";
2076
2219
  readonly MapRunFailed: "MapRunFailed";
2220
+ readonly MapRunRedriven: "MapRunRedriven";
2077
2221
  readonly MapRunStarted: "MapRunStarted";
2078
2222
  readonly MapRunSucceeded: "MapRunSucceeded";
2079
2223
  readonly MapStateAborted: "MapStateAborted";
@@ -2232,6 +2376,11 @@ export interface HistoryEvent {
2232
2376
  * <p>Contains details about the execution timeout that occurred during the execution.</p>
2233
2377
  */
2234
2378
  executionTimedOutEventDetails?: ExecutionTimedOutEventDetails;
2379
+ /**
2380
+ * @public
2381
+ * <p>Contains details about the redrive attempt of an execution.</p>
2382
+ */
2383
+ executionRedrivenEventDetails?: ExecutionRedrivenEventDetails;
2235
2384
  /**
2236
2385
  * @public
2237
2386
  * <p>Contains details about Map state that was started.</p>
@@ -2309,6 +2458,11 @@ export interface HistoryEvent {
2309
2458
  * <p>Contains error and cause details about a Map Run that failed.</p>
2310
2459
  */
2311
2460
  mapRunFailedEventDetails?: MapRunFailedEventDetails;
2461
+ /**
2462
+ * @public
2463
+ * <p>Contains details about the redrive attempt of a Map Run.</p>
2464
+ */
2465
+ mapRunRedrivenEventDetails?: MapRunRedrivenEventDetails;
2312
2466
  }
2313
2467
  /**
2314
2468
  * @public
@@ -2372,6 +2526,18 @@ export interface ListActivitiesOutput {
2372
2526
  */
2373
2527
  nextToken?: string;
2374
2528
  }
2529
+ /**
2530
+ * @public
2531
+ * @enum
2532
+ */
2533
+ export declare const ExecutionRedriveFilter: {
2534
+ readonly NOT_REDRIVEN: "NOT_REDRIVEN";
2535
+ readonly REDRIVEN: "REDRIVEN";
2536
+ };
2537
+ /**
2538
+ * @public
2539
+ */
2540
+ export type ExecutionRedriveFilter = (typeof ExecutionRedriveFilter)[keyof typeof ExecutionRedriveFilter];
2375
2541
  /**
2376
2542
  * @public
2377
2543
  */
@@ -2408,6 +2574,14 @@ export interface ListExecutionsInput {
2408
2574
  * <p>You can specify either a <code>mapRunArn</code> or a <code>stateMachineArn</code>, but not both.</p>
2409
2575
  */
2410
2576
  mapRunArn?: string;
2577
+ /**
2578
+ * @public
2579
+ * <p>Sets a filter to list executions based on whether or not they have been redriven.</p>
2580
+ * <p>For a Distributed Map, <code>redriveFilter</code> sets a filter to list child workflow executions based on whether or not they have been redriven.</p>
2581
+ * <p>If you do not provide a <code>redriveFilter</code>, Step Functions returns a list of both redriven and non-redriven executions.</p>
2582
+ * <p>If you provide a state machine ARN in <code>redriveFilter</code>, the API returns a validation exception.</p>
2583
+ */
2584
+ redriveFilter?: ExecutionRedriveFilter;
2411
2585
  }
2412
2586
  /**
2413
2587
  * @public
@@ -2489,6 +2663,16 @@ export interface ExecutionListItem {
2489
2663
  * <p>If the state machine execution was started with an unqualified ARN or a version ARN, it returns null.</p>
2490
2664
  */
2491
2665
  stateMachineAliasArn?: string;
2666
+ /**
2667
+ * @public
2668
+ * <p>The number of times you've redriven an execution. If you have not yet redriven an execution, the <code>redriveCount</code> is 0. This count is not updated for redrives that failed to start or are pending to be redriven.</p>
2669
+ */
2670
+ redriveCount?: number;
2671
+ /**
2672
+ * @public
2673
+ * <p>The date the execution was last redriven.</p>
2674
+ */
2675
+ redriveDate?: Date;
2492
2676
  }
2493
2677
  /**
2494
2678
  * @public
@@ -2829,6 +3013,56 @@ export interface PublishStateMachineVersionOutput {
2829
3013
  */
2830
3014
  stateMachineVersionArn: string | undefined;
2831
3015
  }
3016
+ /**
3017
+ * @public
3018
+ * <p>The maximum number of running executions has been reached. Running executions must end or
3019
+ * be stopped before a new execution can be started.</p>
3020
+ */
3021
+ export declare class ExecutionLimitExceeded extends __BaseException {
3022
+ readonly name: "ExecutionLimitExceeded";
3023
+ readonly $fault: "client";
3024
+ /**
3025
+ * @internal
3026
+ */
3027
+ constructor(opts: __ExceptionOptionType<ExecutionLimitExceeded, __BaseException>);
3028
+ }
3029
+ /**
3030
+ * @public
3031
+ * <p>The execution Amazon Resource Name (ARN) that you specified for <code>executionArn</code> cannot be redriven.</p>
3032
+ */
3033
+ export declare class ExecutionNotRedrivable extends __BaseException {
3034
+ readonly name: "ExecutionNotRedrivable";
3035
+ readonly $fault: "client";
3036
+ /**
3037
+ * @internal
3038
+ */
3039
+ constructor(opts: __ExceptionOptionType<ExecutionNotRedrivable, __BaseException>);
3040
+ }
3041
+ /**
3042
+ * @public
3043
+ */
3044
+ export interface RedriveExecutionInput {
3045
+ /**
3046
+ * @public
3047
+ * <p>The Amazon Resource Name (ARN) of the execution to be redriven.</p>
3048
+ */
3049
+ executionArn: string | undefined;
3050
+ /**
3051
+ * @public
3052
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The API uses one of the last 10 client tokens provided.</p>
3053
+ */
3054
+ clientToken?: string;
3055
+ }
3056
+ /**
3057
+ * @public
3058
+ */
3059
+ export interface RedriveExecutionOutput {
3060
+ /**
3061
+ * @public
3062
+ * <p>The date the execution was last redriven.</p>
3063
+ */
3064
+ redriveDate: Date | undefined;
3065
+ }
2832
3066
  /**
2833
3067
  * @public
2834
3068
  */
@@ -2858,6 +3092,7 @@ export interface SendTaskFailureOutput {
2858
3092
  }
2859
3093
  /**
2860
3094
  * @public
3095
+ * <p>The activity does not exist.</p>
2861
3096
  */
2862
3097
  export declare class TaskDoesNotExist extends __BaseException {
2863
3098
  readonly name: "TaskDoesNotExist";
@@ -2869,6 +3104,7 @@ export declare class TaskDoesNotExist extends __BaseException {
2869
3104
  }
2870
3105
  /**
2871
3106
  * @public
3107
+ * <p>The task token has either expired or the task associated with the token has already been closed.</p>
2872
3108
  */
2873
3109
  export declare class TaskTimedOut extends __BaseException {
2874
3110
  readonly name: "TaskTimedOut";
@@ -2946,19 +3182,6 @@ export declare class ExecutionAlreadyExists extends __BaseException {
2946
3182
  */
2947
3183
  constructor(opts: __ExceptionOptionType<ExecutionAlreadyExists, __BaseException>);
2948
3184
  }
2949
- /**
2950
- * @public
2951
- * <p>The maximum number of running executions has been reached. Running executions must end or
2952
- * be stopped before a new execution can be started.</p>
2953
- */
2954
- export declare class ExecutionLimitExceeded extends __BaseException {
2955
- readonly name: "ExecutionLimitExceeded";
2956
- readonly $fault: "client";
2957
- /**
2958
- * @internal
2959
- */
2960
- constructor(opts: __ExceptionOptionType<ExecutionLimitExceeded, __BaseException>);
2961
- }
2962
3185
  /**
2963
3186
  * @public
2964
3187
  * <p>The provided JSON input data is not valid.</p>
@@ -3015,6 +3238,7 @@ export interface StartExecutionInput {
3015
3238
  * This name must be unique for your Amazon Web Services account, Region, and state machine for 90 days. For more information,
3016
3239
  * see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions">
3017
3240
  * Limits Related to State Machine Executions</a> in the <i>Step Functions Developer Guide</i>.</p>
3241
+ * <p>If you don't provide a name for the execution, Step Functions automatically generates a universally unique identifier (UUID) as the execution name.</p>
3018
3242
  * <p>A name must <i>not</i> contain:</p>
3019
3243
  * <ul>
3020
3244
  * <li>
@@ -23,6 +23,7 @@ import { ListStateMachinesCommandInput, ListStateMachinesCommandOutput } from ".
23
23
  import { ListStateMachineVersionsCommandInput, ListStateMachineVersionsCommandOutput } from "../commands/ListStateMachineVersionsCommand";
24
24
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
25
25
  import { PublishStateMachineVersionCommandInput, PublishStateMachineVersionCommandOutput } from "../commands/PublishStateMachineVersionCommand";
26
+ import { RedriveExecutionCommandInput, RedriveExecutionCommandOutput } from "../commands/RedriveExecutionCommand";
26
27
  import { SendTaskFailureCommandInput, SendTaskFailureCommandOutput } from "../commands/SendTaskFailureCommand";
27
28
  import { SendTaskHeartbeatCommandInput, SendTaskHeartbeatCommandOutput } from "../commands/SendTaskHeartbeatCommand";
28
29
  import { SendTaskSuccessCommandInput, SendTaskSuccessCommandOutput } from "../commands/SendTaskSuccessCommand";
@@ -126,6 +127,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
126
127
  * serializeAws_json1_0PublishStateMachineVersionCommand
127
128
  */
128
129
  export declare const se_PublishStateMachineVersionCommand: (input: PublishStateMachineVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
130
+ /**
131
+ * serializeAws_json1_0RedriveExecutionCommand
132
+ */
133
+ export declare const se_RedriveExecutionCommand: (input: RedriveExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
129
134
  /**
130
135
  * serializeAws_json1_0SendTaskFailureCommand
131
136
  */
@@ -262,6 +267,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
262
267
  * deserializeAws_json1_0PublishStateMachineVersionCommand
263
268
  */
264
269
  export declare const de_PublishStateMachineVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PublishStateMachineVersionCommandOutput>;
270
+ /**
271
+ * deserializeAws_json1_0RedriveExecutionCommand
272
+ */
273
+ export declare const de_RedriveExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RedriveExecutionCommandOutput>;
265
274
  /**
266
275
  * deserializeAws_json1_0SendTaskFailureCommand
267
276
  */
@@ -91,6 +91,10 @@ import {
91
91
  PublishStateMachineVersionCommandInput,
92
92
  PublishStateMachineVersionCommandOutput,
93
93
  } from "./commands/PublishStateMachineVersionCommand";
94
+ import {
95
+ RedriveExecutionCommandInput,
96
+ RedriveExecutionCommandOutput,
97
+ } from "./commands/RedriveExecutionCommand";
94
98
  import {
95
99
  SendTaskFailureCommandInput,
96
100
  SendTaskFailureCommandOutput,
@@ -436,6 +440,19 @@ export interface SFN {
436
440
  options: __HttpHandlerOptions,
437
441
  cb: (err: any, data?: PublishStateMachineVersionCommandOutput) => void
438
442
  ): void;
443
+ redriveExecution(
444
+ args: RedriveExecutionCommandInput,
445
+ options?: __HttpHandlerOptions
446
+ ): Promise<RedriveExecutionCommandOutput>;
447
+ redriveExecution(
448
+ args: RedriveExecutionCommandInput,
449
+ cb: (err: any, data?: RedriveExecutionCommandOutput) => void
450
+ ): void;
451
+ redriveExecution(
452
+ args: RedriveExecutionCommandInput,
453
+ options: __HttpHandlerOptions,
454
+ cb: (err: any, data?: RedriveExecutionCommandOutput) => void
455
+ ): void;
439
456
  sendTaskFailure(
440
457
  args: SendTaskFailureCommandInput,
441
458
  options?: __HttpHandlerOptions
@@ -137,6 +137,10 @@ import {
137
137
  PublishStateMachineVersionCommandInput,
138
138
  PublishStateMachineVersionCommandOutput,
139
139
  } from "./commands/PublishStateMachineVersionCommand";
140
+ import {
141
+ RedriveExecutionCommandInput,
142
+ RedriveExecutionCommandOutput,
143
+ } from "./commands/RedriveExecutionCommand";
140
144
  import {
141
145
  SendTaskFailureCommandInput,
142
146
  SendTaskFailureCommandOutput,
@@ -212,6 +216,7 @@ export type ServiceInputTypes =
212
216
  | ListStateMachinesCommandInput
213
217
  | ListTagsForResourceCommandInput
214
218
  | PublishStateMachineVersionCommandInput
219
+ | RedriveExecutionCommandInput
215
220
  | SendTaskFailureCommandInput
216
221
  | SendTaskHeartbeatCommandInput
217
222
  | SendTaskSuccessCommandInput
@@ -247,6 +252,7 @@ export type ServiceOutputTypes =
247
252
  | ListStateMachinesCommandOutput
248
253
  | ListTagsForResourceCommandOutput
249
254
  | PublishStateMachineVersionCommandOutput
255
+ | RedriveExecutionCommandOutput
250
256
  | SendTaskFailureCommandOutput
251
257
  | SendTaskHeartbeatCommandOutput
252
258
  | SendTaskSuccessCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ RedriveExecutionInput,
11
+ RedriveExecutionOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SFNClientResolvedConfig,
17
+ } from "../SFNClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface RedriveExecutionCommandInput extends RedriveExecutionInput {}
20
+ export interface RedriveExecutionCommandOutput
21
+ extends RedriveExecutionOutput,
22
+ __MetadataBearer {}
23
+ export declare class RedriveExecutionCommand extends $Command<
24
+ RedriveExecutionCommandInput,
25
+ RedriveExecutionCommandOutput,
26
+ SFNClientResolvedConfig
27
+ > {
28
+ readonly input: RedriveExecutionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: RedriveExecutionCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: SFNClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<RedriveExecutionCommandInput, RedriveExecutionCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -21,6 +21,7 @@ export * from "./ListStateMachineVersionsCommand";
21
21
  export * from "./ListStateMachinesCommand";
22
22
  export * from "./ListTagsForResourceCommand";
23
23
  export * from "./PublishStateMachineVersionCommand";
24
+ export * from "./RedriveExecutionCommand";
24
25
  export * from "./SendTaskFailureCommand";
25
26
  export * from "./SendTaskHeartbeatCommand";
26
27
  export * from "./SendTaskSuccessCommand";