cdk-docker-image-deployment 0.0.90 → 0.0.92

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/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +18 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.examples.json +5 -0
  8. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.min.json +1268 -0
  9. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.paginators.json +45 -0
  10. package/node_modules/aws-sdk/apis/codecatalyst-2022-09-28.waiters2.json +5 -0
  11. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +332 -157
  12. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.paginators.json +35 -23
  13. package/node_modules/aws-sdk/apis/gamelift-2015-10-01.min.json +423 -164
  14. package/node_modules/aws-sdk/apis/gamelift-2015-10-01.paginators.json +12 -0
  15. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +123 -87
  16. package/node_modules/aws-sdk/apis/metadata.json +6 -0
  17. package/node_modules/aws-sdk/apis/pipes-2015-10-07.examples.json +5 -0
  18. package/node_modules/aws-sdk/apis/pipes-2015-10-07.min.json +1329 -0
  19. package/node_modules/aws-sdk/apis/pipes-2015-10-07.paginators.json +10 -0
  20. package/node_modules/aws-sdk/apis/proton-2020-07-20.min.json +1 -2
  21. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +194 -72
  22. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.paginators.json +6 -0
  23. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +285 -62
  24. package/node_modules/aws-sdk/apis/states-2016-11-23.paginators.json +6 -0
  25. package/node_modules/aws-sdk/clients/all.d.ts +2 -0
  26. package/node_modules/aws-sdk/clients/all.js +3 -1
  27. package/node_modules/aws-sdk/clients/codecatalyst.d.ts +1403 -0
  28. package/node_modules/aws-sdk/clients/codecatalyst.js +19 -0
  29. package/node_modules/aws-sdk/clients/comprehend.d.ts +238 -18
  30. package/node_modules/aws-sdk/clients/ecs.d.ts +6 -6
  31. package/node_modules/aws-sdk/clients/fms.d.ts +1 -1
  32. package/node_modules/aws-sdk/clients/gamelift.d.ts +712 -323
  33. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +67 -4
  34. package/node_modules/aws-sdk/clients/medialive.d.ts +1 -1
  35. package/node_modules/aws-sdk/clients/pipes.d.ts +1612 -0
  36. package/node_modules/aws-sdk/clients/pipes.js +18 -0
  37. package/node_modules/aws-sdk/clients/polly.d.ts +1 -1
  38. package/node_modules/aws-sdk/clients/proton.d.ts +1 -1
  39. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +220 -16
  40. package/node_modules/aws-sdk/clients/sns.d.ts +14 -14
  41. package/node_modules/aws-sdk/clients/stepfunctions.d.ts +290 -17
  42. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +3 -3
  43. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +97 -16
  44. package/node_modules/aws-sdk/dist/aws-sdk.js +814 -349
  45. package/node_modules/aws-sdk/dist/aws-sdk.min.js +80 -80
  46. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +4 -0
  47. package/node_modules/aws-sdk/lib/core.js +1 -1
  48. package/node_modules/aws-sdk/lib/region_config_data.json +4 -2
  49. package/node_modules/aws-sdk/package.json +1 -1
  50. package/package.json +3 -3
@@ -36,11 +36,11 @@ declare class StepFunctions extends Service {
36
36
  */
37
37
  deleteActivity(callback?: (err: AWSError, data: StepFunctions.Types.DeleteActivityOutput) => void): Request<StepFunctions.Types.DeleteActivityOutput, AWSError>;
38
38
  /**
39
- * Deletes a state machine. This is an asynchronous operation: It sets the state machine's status to DELETING and begins the deletion process. For EXPRESS state machines, the deletion will happen eventually (usually less than a minute). Running executions may emit logs after DeleteStateMachine API is called.
39
+ * Deletes a state machine. This is an asynchronous operation: It sets the state machine's status to DELETING and begins the deletion process. If the given state machine Amazon Resource Name (ARN) is a qualified state machine ARN, it will fail with ValidationException. A qualified state machine ARN refers to a Distributed Map state defined within a state machine. For example, the qualified state machine ARN arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel refers to a Distributed Map state with a label mapStateLabel in the state machine named stateMachineName. For EXPRESS state machines, the deletion will happen eventually (usually less than a minute). Running executions may emit logs after DeleteStateMachine API is called.
40
40
  */
41
41
  deleteStateMachine(params: StepFunctions.Types.DeleteStateMachineInput, callback?: (err: AWSError, data: StepFunctions.Types.DeleteStateMachineOutput) => void): Request<StepFunctions.Types.DeleteStateMachineOutput, AWSError>;
42
42
  /**
43
- * Deletes a state machine. This is an asynchronous operation: It sets the state machine's status to DELETING and begins the deletion process. For EXPRESS state machines, the deletion will happen eventually (usually less than a minute). Running executions may emit logs after DeleteStateMachine API is called.
43
+ * Deletes a state machine. This is an asynchronous operation: It sets the state machine's status to DELETING and begins the deletion process. If the given state machine Amazon Resource Name (ARN) is a qualified state machine ARN, it will fail with ValidationException. A qualified state machine ARN refers to a Distributed Map state defined within a state machine. For example, the qualified state machine ARN arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel refers to a Distributed Map state with a label mapStateLabel in the state machine named stateMachineName. For EXPRESS state machines, the deletion will happen eventually (usually less than a minute). Running executions may emit logs after DeleteStateMachine API is called.
44
44
  */
45
45
  deleteStateMachine(callback?: (err: AWSError, data: StepFunctions.Types.DeleteStateMachineOutput) => void): Request<StepFunctions.Types.DeleteStateMachineOutput, AWSError>;
46
46
  /**
@@ -52,27 +52,35 @@ declare class StepFunctions extends Service {
52
52
  */
53
53
  describeActivity(callback?: (err: AWSError, data: StepFunctions.Types.DescribeActivityOutput) => void): Request<StepFunctions.Types.DescribeActivityOutput, AWSError>;
54
54
  /**
55
- * Describes an execution. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
55
+ * Provides all information about a state machine execution, such as the state machine associated with the execution, the execution input and output, and relevant execution metadata. Use this API action to return the Map Run ARN if the execution was dispatched by a Map Run. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machine executions unless they were dispatched by a Map Run.
56
56
  */
57
57
  describeExecution(params: StepFunctions.Types.DescribeExecutionInput, callback?: (err: AWSError, data: StepFunctions.Types.DescribeExecutionOutput) => void): Request<StepFunctions.Types.DescribeExecutionOutput, AWSError>;
58
58
  /**
59
- * Describes an execution. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
59
+ * Provides all information about a state machine execution, such as the state machine associated with the execution, the execution input and output, and relevant execution metadata. Use this API action to return the Map Run ARN if the execution was dispatched by a Map Run. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machine executions unless they were dispatched by a Map Run.
60
60
  */
61
61
  describeExecution(callback?: (err: AWSError, data: StepFunctions.Types.DescribeExecutionOutput) => void): Request<StepFunctions.Types.DescribeExecutionOutput, AWSError>;
62
62
  /**
63
- * Describes a state machine. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
63
+ * Provides information about a Map Run's configuration, progress, and results. For more information, see Examining Map Run in the Step Functions Developer Guide.
64
+ */
65
+ describeMapRun(params: StepFunctions.Types.DescribeMapRunInput, callback?: (err: AWSError, data: StepFunctions.Types.DescribeMapRunOutput) => void): Request<StepFunctions.Types.DescribeMapRunOutput, AWSError>;
66
+ /**
67
+ * Provides information about a Map Run's configuration, progress, and results. For more information, see Examining Map Run in the Step Functions Developer Guide.
68
+ */
69
+ describeMapRun(callback?: (err: AWSError, data: StepFunctions.Types.DescribeMapRunOutput) => void): Request<StepFunctions.Types.DescribeMapRunOutput, AWSError>;
70
+ /**
71
+ * Provides information about a state machine's definition, its IAM role Amazon Resource Name (ARN), and configuration. If the state machine ARN is a qualified state machine ARN, the response returned includes the Map state's label. A qualified state machine ARN refers to a Distributed Map state defined within a state machine. For example, the qualified state machine ARN arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel refers to a Distributed Map state with a label mapStateLabel in the state machine named stateMachineName. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
64
72
  */
65
73
  describeStateMachine(params: StepFunctions.Types.DescribeStateMachineInput, callback?: (err: AWSError, data: StepFunctions.Types.DescribeStateMachineOutput) => void): Request<StepFunctions.Types.DescribeStateMachineOutput, AWSError>;
66
74
  /**
67
- * Describes a state machine. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
75
+ * Provides information about a state machine's definition, its IAM role Amazon Resource Name (ARN), and configuration. If the state machine ARN is a qualified state machine ARN, the response returned includes the Map state's label. A qualified state machine ARN refers to a Distributed Map state defined within a state machine. For example, the qualified state machine ARN arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel refers to a Distributed Map state with a label mapStateLabel in the state machine named stateMachineName. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
68
76
  */
69
77
  describeStateMachine(callback?: (err: AWSError, data: StepFunctions.Types.DescribeStateMachineOutput) => void): Request<StepFunctions.Types.DescribeStateMachineOutput, AWSError>;
70
78
  /**
71
- * Describes the state machine associated with a specific execution. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
79
+ * Provides information about a state machine's definition, its execution role ARN, and configuration. If an execution was dispatched by a Map Run, the Map Run is returned in the response. Additionally, the state machine returned will be the state machine associated with the Map Run. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
72
80
  */
73
81
  describeStateMachineForExecution(params: StepFunctions.Types.DescribeStateMachineForExecutionInput, callback?: (err: AWSError, data: StepFunctions.Types.DescribeStateMachineForExecutionOutput) => void): Request<StepFunctions.Types.DescribeStateMachineForExecutionOutput, AWSError>;
74
82
  /**
75
- * Describes the state machine associated with a specific execution. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
83
+ * Provides information about a state machine's definition, its execution role ARN, and configuration. If an execution was dispatched by a Map Run, the Map Run is returned in the response. Additionally, the state machine returned will be the state machine associated with the Map Run. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
76
84
  */
77
85
  describeStateMachineForExecution(callback?: (err: AWSError, data: StepFunctions.Types.DescribeStateMachineForExecutionOutput) => void): Request<StepFunctions.Types.DescribeStateMachineForExecutionOutput, AWSError>;
78
86
  /**
@@ -100,13 +108,21 @@ declare class StepFunctions extends Service {
100
108
  */
101
109
  listActivities(callback?: (err: AWSError, data: StepFunctions.Types.ListActivitiesOutput) => void): Request<StepFunctions.Types.ListActivitiesOutput, AWSError>;
102
110
  /**
103
- * Lists the executions of a state machine that meet the filtering criteria. Results are sorted by time, with the most recent execution first. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. 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 HTTP 400 InvalidToken error. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
111
+ * Lists all executions of a state machine or a Map Run. You can list all executions related to a state machine by specifying a state machine Amazon Resource Name (ARN), or those related to a Map Run by specifying a Map Run ARN. Results are sorted by time, with the most recent execution first. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. 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 HTTP 400 InvalidToken error. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
104
112
  */
105
113
  listExecutions(params: StepFunctions.Types.ListExecutionsInput, callback?: (err: AWSError, data: StepFunctions.Types.ListExecutionsOutput) => void): Request<StepFunctions.Types.ListExecutionsOutput, AWSError>;
106
114
  /**
107
- * Lists the executions of a state machine that meet the filtering criteria. Results are sorted by time, with the most recent execution first. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. 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 HTTP 400 InvalidToken error. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
115
+ * Lists all executions of a state machine or a Map Run. You can list all executions related to a state machine by specifying a state machine Amazon Resource Name (ARN), or those related to a Map Run by specifying a Map Run ARN. Results are sorted by time, with the most recent execution first. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. 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 HTTP 400 InvalidToken error. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes. This API action is not supported by EXPRESS state machines.
108
116
  */
109
117
  listExecutions(callback?: (err: AWSError, data: StepFunctions.Types.ListExecutionsOutput) => void): Request<StepFunctions.Types.ListExecutionsOutput, AWSError>;
118
+ /**
119
+ * Lists all Map Runs that were started by a given state machine execution. Use this API action to obtain Map Run ARNs, and then call DescribeMapRun to obtain more information, if needed.
120
+ */
121
+ listMapRuns(params: StepFunctions.Types.ListMapRunsInput, callback?: (err: AWSError, data: StepFunctions.Types.ListMapRunsOutput) => void): Request<StepFunctions.Types.ListMapRunsOutput, AWSError>;
122
+ /**
123
+ * Lists all Map Runs that were started by a given state machine execution. Use this API action to obtain Map Run ARNs, and then call DescribeMapRun to obtain more information, if needed.
124
+ */
125
+ listMapRuns(callback?: (err: AWSError, data: StepFunctions.Types.ListMapRunsOutput) => void): Request<StepFunctions.Types.ListMapRunsOutput, AWSError>;
110
126
  /**
111
127
  * Lists the existing state machines. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. 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 HTTP 400 InvalidToken error. This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
112
128
  */
@@ -148,11 +164,11 @@ declare class StepFunctions extends Service {
148
164
  */
149
165
  sendTaskSuccess(callback?: (err: AWSError, data: StepFunctions.Types.SendTaskSuccessOutput) => void): Request<StepFunctions.Types.SendTaskSuccessOutput, AWSError>;
150
166
  /**
151
- * Starts a state machine execution. StartExecution is idempotent for STANDARD workflows. For a STANDARD workflow, if StartExecution is called with the same name and input as a running execution, the call will succeed and return the same response as the original request. If the execution is closed or if the input is different, it will return a 400 ExecutionAlreadyExists error. Names can be reused after 90 days. StartExecution is not idempotent for EXPRESS workflows.
167
+ * Starts a state machine execution. If the given state machine Amazon Resource Name (ARN) is a qualified state machine ARN, it will fail with ValidationException. A qualified state machine ARN refers to a Distributed Map state defined within a state machine. For example, the qualified state machine ARN arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel refers to a Distributed Map state with a label mapStateLabel in the state machine named stateMachineName. StartExecution is idempotent for STANDARD workflows. For a STANDARD workflow, if StartExecution is called with the same name and input as a running execution, the call will succeed and return the same response as the original request. If the execution is closed or if the input is different, it will return a 400 ExecutionAlreadyExists error. Names can be reused after 90 days. StartExecution is not idempotent for EXPRESS workflows.
152
168
  */
153
169
  startExecution(params: StepFunctions.Types.StartExecutionInput, callback?: (err: AWSError, data: StepFunctions.Types.StartExecutionOutput) => void): Request<StepFunctions.Types.StartExecutionOutput, AWSError>;
154
170
  /**
155
- * Starts a state machine execution. StartExecution is idempotent for STANDARD workflows. For a STANDARD workflow, if StartExecution is called with the same name and input as a running execution, the call will succeed and return the same response as the original request. If the execution is closed or if the input is different, it will return a 400 ExecutionAlreadyExists error. Names can be reused after 90 days. StartExecution is not idempotent for EXPRESS workflows.
171
+ * Starts a state machine execution. If the given state machine Amazon Resource Name (ARN) is a qualified state machine ARN, it will fail with ValidationException. A qualified state machine ARN refers to a Distributed Map state defined within a state machine. For example, the qualified state machine ARN arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel refers to a Distributed Map state with a label mapStateLabel in the state machine named stateMachineName. StartExecution is idempotent for STANDARD workflows. For a STANDARD workflow, if StartExecution is called with the same name and input as a running execution, the call will succeed and return the same response as the original request. If the execution is closed or if the input is different, it will return a 400 ExecutionAlreadyExists error. Names can be reused after 90 days. StartExecution is not idempotent for EXPRESS workflows.
156
172
  */
157
173
  startExecution(callback?: (err: AWSError, data: StepFunctions.Types.StartExecutionOutput) => void): Request<StepFunctions.Types.StartExecutionOutput, AWSError>;
158
174
  /**
@@ -188,11 +204,19 @@ declare class StepFunctions extends Service {
188
204
  */
189
205
  untagResource(callback?: (err: AWSError, data: StepFunctions.Types.UntagResourceOutput) => void): Request<StepFunctions.Types.UntagResourceOutput, AWSError>;
190
206
  /**
191
- * Updates an existing state machine by modifying its definition, roleArn, or loggingConfiguration. Running executions will continue to use the previous definition and roleArn. You must include at least one of definition or roleArn or you will receive a MissingRequiredParameter error. All StartExecution calls within a few seconds will use the updated definition and roleArn. Executions started immediately after calling UpdateStateMachine may use the previous state machine definition and roleArn.
207
+ * Updates an in-progress Map Run's configuration to include changes to the settings that control maximum concurrency and Map Run failure.
208
+ */
209
+ updateMapRun(params: StepFunctions.Types.UpdateMapRunInput, callback?: (err: AWSError, data: StepFunctions.Types.UpdateMapRunOutput) => void): Request<StepFunctions.Types.UpdateMapRunOutput, AWSError>;
210
+ /**
211
+ * Updates an in-progress Map Run's configuration to include changes to the settings that control maximum concurrency and Map Run failure.
212
+ */
213
+ updateMapRun(callback?: (err: AWSError, data: StepFunctions.Types.UpdateMapRunOutput) => void): Request<StepFunctions.Types.UpdateMapRunOutput, AWSError>;
214
+ /**
215
+ * Updates an existing state machine by modifying its definition, roleArn, or loggingConfiguration. Running executions will continue to use the previous definition and roleArn. You must include at least one of definition or roleArn or you will receive a MissingRequiredParameter error. If the given state machine Amazon Resource Name (ARN) is a qualified state machine ARN, it will fail with ValidationException. A qualified state machine ARN refers to a Distributed Map state defined within a state machine. For example, the qualified state machine ARN arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel refers to a Distributed Map state with a label mapStateLabel in the state machine named stateMachineName. All StartExecution calls within a few seconds will use the updated definition and roleArn. Executions started immediately after calling UpdateStateMachine may use the previous state machine definition and roleArn.
192
216
  */
193
217
  updateStateMachine(params: StepFunctions.Types.UpdateStateMachineInput, callback?: (err: AWSError, data: StepFunctions.Types.UpdateStateMachineOutput) => void): Request<StepFunctions.Types.UpdateStateMachineOutput, AWSError>;
194
218
  /**
195
- * Updates an existing state machine by modifying its definition, roleArn, or loggingConfiguration. Running executions will continue to use the previous definition and roleArn. You must include at least one of definition or roleArn or you will receive a MissingRequiredParameter error. All StartExecution calls within a few seconds will use the updated definition and roleArn. Executions started immediately after calling UpdateStateMachine may use the previous state machine definition and roleArn.
219
+ * Updates an existing state machine by modifying its definition, roleArn, or loggingConfiguration. Running executions will continue to use the previous definition and roleArn. You must include at least one of definition or roleArn or you will receive a MissingRequiredParameter error. If the given state machine Amazon Resource Name (ARN) is a qualified state machine ARN, it will fail with ValidationException. A qualified state machine ARN refers to a Distributed Map state defined within a state machine. For example, the qualified state machine ARN arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel refers to a Distributed Map state with a label mapStateLabel in the state machine named stateMachineName. All StartExecution calls within a few seconds will use the updated definition and roleArn. Executions started immediately after calling UpdateStateMachine may use the previous state machine definition and roleArn.
196
220
  */
197
221
  updateStateMachine(callback?: (err: AWSError, data: StepFunctions.Types.UpdateStateMachineOutput) => void): Request<StepFunctions.Types.UpdateStateMachineOutput, AWSError>;
198
222
  }
@@ -448,6 +472,66 @@ declare namespace StepFunctions {
448
472
  * The X-Ray trace header that was passed to the execution.
449
473
  */
450
474
  traceHeader?: TraceHeader;
475
+ /**
476
+ * The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.
477
+ */
478
+ mapRunArn?: LongArn;
479
+ /**
480
+ * The error string if the state machine execution failed.
481
+ */
482
+ error?: SensitiveError;
483
+ /**
484
+ * The cause string if the state machine execution failed.
485
+ */
486
+ cause?: SensitiveCause;
487
+ }
488
+ export interface DescribeMapRunInput {
489
+ /**
490
+ * The Amazon Resource Name (ARN) that identifies a Map Run.
491
+ */
492
+ mapRunArn: LongArn;
493
+ }
494
+ export interface DescribeMapRunOutput {
495
+ /**
496
+ * The Amazon Resource Name (ARN) that identifies a Map Run.
497
+ */
498
+ mapRunArn: LongArn;
499
+ /**
500
+ * The Amazon Resource Name (ARN) that identifies the execution in which the Map Run was started.
501
+ */
502
+ executionArn: Arn;
503
+ /**
504
+ * The current status of the Map Run.
505
+ */
506
+ status: MapRunStatus;
507
+ /**
508
+ * The date when the Map Run was started.
509
+ */
510
+ startDate: Timestamp;
511
+ /**
512
+ * The date when the Map Run was stopped.
513
+ */
514
+ stopDate?: Timestamp;
515
+ /**
516
+ * The maximum number of child workflow executions configured to run in parallel for the Map Run at the same time.
517
+ */
518
+ maxConcurrency: MaxConcurrency;
519
+ /**
520
+ * The maximum percentage of failed child workflow executions before the Map Run fails.
521
+ */
522
+ toleratedFailurePercentage: ToleratedFailurePercentage;
523
+ /**
524
+ * The maximum number of failed child workflow executions before the Map Run fails.
525
+ */
526
+ toleratedFailureCount: ToleratedFailureCount;
527
+ /**
528
+ * A JSON object that contains information about the total number of items, and the item count for each processing status, such as pending and failed.
529
+ */
530
+ itemCounts: MapRunItemCounts;
531
+ /**
532
+ * 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 failed and succeeded.
533
+ */
534
+ executionCounts: MapRunExecutionCounts;
451
535
  }
452
536
  export interface DescribeStateMachineForExecutionInput {
453
537
  /**
@@ -481,6 +565,14 @@ declare namespace StepFunctions {
481
565
  * Selects whether X-Ray tracing is enabled.
482
566
  */
483
567
  tracingConfiguration?: TracingConfiguration;
568
+ /**
569
+ * The Amazon Resource Name (ARN) of the Map Run that started the child workflow execution. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state.
570
+ */
571
+ mapRunArn?: LongArn;
572
+ /**
573
+ * A user-defined or an auto-generated string that identifies a Map state. This field is returned only if the executionArn is a child workflow execution that was started by a Distributed Map state.
574
+ */
575
+ label?: MapRunLabel;
484
576
  }
485
577
  export interface DescribeStateMachineInput {
486
578
  /**
@@ -522,6 +614,10 @@ declare namespace StepFunctions {
522
614
  * Selects whether X-Ray tracing is enabled.
523
615
  */
524
616
  tracingConfiguration?: TracingConfiguration;
617
+ /**
618
+ * A user-defined or an auto-generated string that identifies a Map state. This parameter is present only if the stateMachineArn specified in input is a qualified state machine ARN.
619
+ */
620
+ label?: MapRunLabel;
525
621
  }
526
622
  export type Enabled = boolean;
527
623
  export type EventId = number;
@@ -571,6 +667,14 @@ declare namespace StepFunctions {
571
667
  * If the execution already ended, the date the execution stopped.
572
668
  */
573
669
  stopDate?: Timestamp;
670
+ /**
671
+ * The Amazon Resource Name (ARN) of a Map Run. This field is returned only if mapRunArn was specified in the ListExecutions API action. If stateMachineArn was specified in ListExecutions, the mapRunArn isn't returned.
672
+ */
673
+ mapRunArn?: LongArn;
674
+ /**
675
+ * The total number of items processed in a child workflow execution. This field is returned only if mapRunArn was specified in the ListExecutions API action. If stateMachineArn was specified in ListExecutions, the itemCount field isn't returned.
676
+ */
677
+ itemCount?: UnsignedInteger;
574
678
  }
575
679
  export interface ExecutionStartedEventDetails {
576
680
  /**
@@ -756,6 +860,14 @@ declare namespace StepFunctions {
756
860
  lambdaFunctionTimedOutEventDetails?: LambdaFunctionTimedOutEventDetails;
757
861
  stateEnteredEventDetails?: StateEnteredEventDetails;
758
862
  stateExitedEventDetails?: StateExitedEventDetails;
863
+ /**
864
+ * Contains details, such as mapRunArn, and the start date and time of a Map Run. mapRunArn is the Amazon Resource Name (ARN) of the Map Run that was started.
865
+ */
866
+ mapRunStartedEventDetails?: MapRunStartedEventDetails;
867
+ /**
868
+ * Contains error and cause details about a Map Run that failed.
869
+ */
870
+ mapRunFailedEventDetails?: MapRunFailedEventDetails;
759
871
  }
760
872
  export interface HistoryEventExecutionDataDetails {
761
873
  /**
@@ -764,7 +876,7 @@ declare namespace StepFunctions {
764
876
  truncated?: truncated;
765
877
  }
766
878
  export type HistoryEventList = HistoryEvent[];
767
- export type HistoryEventType = "ActivityFailed"|"ActivityScheduled"|"ActivityScheduleFailed"|"ActivityStarted"|"ActivitySucceeded"|"ActivityTimedOut"|"ChoiceStateEntered"|"ChoiceStateExited"|"ExecutionAborted"|"ExecutionFailed"|"ExecutionStarted"|"ExecutionSucceeded"|"ExecutionTimedOut"|"FailStateEntered"|"LambdaFunctionFailed"|"LambdaFunctionScheduled"|"LambdaFunctionScheduleFailed"|"LambdaFunctionStarted"|"LambdaFunctionStartFailed"|"LambdaFunctionSucceeded"|"LambdaFunctionTimedOut"|"MapIterationAborted"|"MapIterationFailed"|"MapIterationStarted"|"MapIterationSucceeded"|"MapStateAborted"|"MapStateEntered"|"MapStateExited"|"MapStateFailed"|"MapStateStarted"|"MapStateSucceeded"|"ParallelStateAborted"|"ParallelStateEntered"|"ParallelStateExited"|"ParallelStateFailed"|"ParallelStateStarted"|"ParallelStateSucceeded"|"PassStateEntered"|"PassStateExited"|"SucceedStateEntered"|"SucceedStateExited"|"TaskFailed"|"TaskScheduled"|"TaskStarted"|"TaskStartFailed"|"TaskStateAborted"|"TaskStateEntered"|"TaskStateExited"|"TaskSubmitFailed"|"TaskSubmitted"|"TaskSucceeded"|"TaskTimedOut"|"WaitStateAborted"|"WaitStateEntered"|"WaitStateExited"|string;
879
+ export type HistoryEventType = "ActivityFailed"|"ActivityScheduled"|"ActivityScheduleFailed"|"ActivityStarted"|"ActivitySucceeded"|"ActivityTimedOut"|"ChoiceStateEntered"|"ChoiceStateExited"|"ExecutionAborted"|"ExecutionFailed"|"ExecutionStarted"|"ExecutionSucceeded"|"ExecutionTimedOut"|"FailStateEntered"|"LambdaFunctionFailed"|"LambdaFunctionScheduled"|"LambdaFunctionScheduleFailed"|"LambdaFunctionStarted"|"LambdaFunctionStartFailed"|"LambdaFunctionSucceeded"|"LambdaFunctionTimedOut"|"MapIterationAborted"|"MapIterationFailed"|"MapIterationStarted"|"MapIterationSucceeded"|"MapStateAborted"|"MapStateEntered"|"MapStateExited"|"MapStateFailed"|"MapStateStarted"|"MapStateSucceeded"|"ParallelStateAborted"|"ParallelStateEntered"|"ParallelStateExited"|"ParallelStateFailed"|"ParallelStateStarted"|"ParallelStateSucceeded"|"PassStateEntered"|"PassStateExited"|"SucceedStateEntered"|"SucceedStateExited"|"TaskFailed"|"TaskScheduled"|"TaskStarted"|"TaskStartFailed"|"TaskStateAborted"|"TaskStateEntered"|"TaskStateExited"|"TaskSubmitFailed"|"TaskSubmitted"|"TaskSucceeded"|"TaskTimedOut"|"WaitStateAborted"|"WaitStateEntered"|"WaitStateExited"|"MapRunAborted"|"MapRunFailed"|"MapRunStarted"|"MapRunSucceeded"|string;
768
880
  export type Identity = string;
769
881
  export type IncludeExecutionData = boolean;
770
882
  export type IncludeExecutionDataGetExecutionHistory = boolean;
@@ -862,9 +974,9 @@ declare namespace StepFunctions {
862
974
  }
863
975
  export interface ListExecutionsInput {
864
976
  /**
865
- * The Amazon Resource Name (ARN) of the state machine whose executions is listed.
977
+ * The Amazon Resource Name (ARN) of the state machine whose executions is listed. You can specify either a mapRunArn or a stateMachineArn, but not both.
866
978
  */
867
- stateMachineArn: Arn;
979
+ stateMachineArn?: Arn;
868
980
  /**
869
981
  * If specified, only list the executions whose current execution status matches the given filter.
870
982
  */
@@ -877,6 +989,10 @@ declare namespace StepFunctions {
877
989
  * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. 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 HTTP 400 InvalidToken error.
878
990
  */
879
991
  nextToken?: ListExecutionsPageToken;
992
+ /**
993
+ * The Amazon Resource Name (ARN) of the Map Run that started the child workflow executions. If the mapRunArn field is specified, a list of all of the child workflow executions started by a Map Run is returned. For more information, see Examining Map Run in the Step Functions Developer Guide. You can specify either a mapRunArn or a stateMachineArn, but not both.
994
+ */
995
+ mapRunArn?: LongArn;
880
996
  }
881
997
  export interface ListExecutionsOutput {
882
998
  /**
@@ -889,6 +1005,30 @@ declare namespace StepFunctions {
889
1005
  nextToken?: ListExecutionsPageToken;
890
1006
  }
891
1007
  export type ListExecutionsPageToken = string;
1008
+ export interface ListMapRunsInput {
1009
+ /**
1010
+ * The Amazon Resource Name (ARN) of the execution for which the Map Runs must be listed.
1011
+ */
1012
+ executionArn: Arn;
1013
+ /**
1014
+ * The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
1015
+ */
1016
+ maxResults?: PageSize;
1017
+ /**
1018
+ * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. 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 HTTP 400 InvalidToken error.
1019
+ */
1020
+ nextToken?: PageToken;
1021
+ }
1022
+ export interface ListMapRunsOutput {
1023
+ /**
1024
+ * 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.
1025
+ */
1026
+ mapRuns: MapRunList;
1027
+ /**
1028
+ * If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. 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 HTTP 400 InvalidToken error.
1029
+ */
1030
+ nextToken?: PageToken;
1031
+ }
892
1032
  export interface ListStateMachinesInput {
893
1033
  /**
894
1034
  * The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
@@ -951,12 +1091,122 @@ declare namespace StepFunctions {
951
1091
  */
952
1092
  index?: UnsignedInteger;
953
1093
  }
1094
+ export interface MapRunExecutionCounts {
1095
+ /**
1096
+ * The total number of child workflow executions that were started by a Map Run, but haven't started executing yet.
1097
+ */
1098
+ pending: UnsignedLong;
1099
+ /**
1100
+ * The total number of child workflow executions that were started by a Map Run and are currently in-progress.
1101
+ */
1102
+ running: UnsignedLong;
1103
+ /**
1104
+ * The total number of child workflow executions that were started by a Map Run and have completed successfully.
1105
+ */
1106
+ succeeded: UnsignedLong;
1107
+ /**
1108
+ * The total number of child workflow executions that were started by a Map Run, but have failed.
1109
+ */
1110
+ failed: UnsignedLong;
1111
+ /**
1112
+ * The total number of child workflow executions that were started by a Map Run and have timed out.
1113
+ */
1114
+ timedOut: UnsignedLong;
1115
+ /**
1116
+ * 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.
1117
+ */
1118
+ aborted: UnsignedLong;
1119
+ /**
1120
+ * The total number of child workflow executions that were started by a Map Run.
1121
+ */
1122
+ total: UnsignedLong;
1123
+ /**
1124
+ * Returns the count of child workflow executions whose results were written by ResultWriter. For more information, see ResultWriter in the Step Functions Developer Guide.
1125
+ */
1126
+ resultsWritten: UnsignedLong;
1127
+ }
1128
+ export interface MapRunFailedEventDetails {
1129
+ /**
1130
+ * The error code of the Map Run failure.
1131
+ */
1132
+ error?: SensitiveError;
1133
+ /**
1134
+ * A more detailed explanation of the cause of the failure.
1135
+ */
1136
+ cause?: SensitiveCause;
1137
+ }
1138
+ export interface MapRunItemCounts {
1139
+ /**
1140
+ * The total number of items to process in child workflow executions that haven't started running yet.
1141
+ */
1142
+ pending: UnsignedLong;
1143
+ /**
1144
+ * The total number of items being processed in child workflow executions that are currently in-progress.
1145
+ */
1146
+ running: UnsignedLong;
1147
+ /**
1148
+ * The total number of items processed in child workflow executions that have completed successfully.
1149
+ */
1150
+ succeeded: UnsignedLong;
1151
+ /**
1152
+ * The total number of items processed in child workflow executions that have failed.
1153
+ */
1154
+ failed: UnsignedLong;
1155
+ /**
1156
+ * The total number of items processed in child workflow executions that have timed out.
1157
+ */
1158
+ timedOut: UnsignedLong;
1159
+ /**
1160
+ * 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.
1161
+ */
1162
+ aborted: UnsignedLong;
1163
+ /**
1164
+ * The total number of items processed in all the child workflow executions started by a Map Run.
1165
+ */
1166
+ total: UnsignedLong;
1167
+ /**
1168
+ * Returns the count of items whose results were written by ResultWriter. For more information, see ResultWriter in the Step Functions Developer Guide.
1169
+ */
1170
+ resultsWritten: UnsignedLong;
1171
+ }
1172
+ export type MapRunLabel = string;
1173
+ export type MapRunList = MapRunListItem[];
1174
+ export interface MapRunListItem {
1175
+ /**
1176
+ * The executionArn of the execution from which the Map Run was started.
1177
+ */
1178
+ executionArn: Arn;
1179
+ /**
1180
+ * The Amazon Resource Name (ARN) of the Map Run.
1181
+ */
1182
+ mapRunArn: LongArn;
1183
+ /**
1184
+ * The Amazon Resource Name (ARN) of the executed state machine.
1185
+ */
1186
+ stateMachineArn: Arn;
1187
+ /**
1188
+ * The date on which the Map Run started.
1189
+ */
1190
+ startDate: Timestamp;
1191
+ /**
1192
+ * The date on which the Map Run stopped.
1193
+ */
1194
+ stopDate?: Timestamp;
1195
+ }
1196
+ export interface MapRunStartedEventDetails {
1197
+ /**
1198
+ * The Amazon Resource Name (ARN) of a Map Run that was started.
1199
+ */
1200
+ mapRunArn?: LongArn;
1201
+ }
1202
+ export type MapRunStatus = "RUNNING"|"SUCCEEDED"|"FAILED"|"ABORTED"|string;
954
1203
  export interface MapStateStartedEventDetails {
955
1204
  /**
956
1205
  * The size of the array for Map state iterations.
957
1206
  */
958
1207
  length?: UnsignedInteger;
959
1208
  }
1209
+ export type MaxConcurrency = number;
960
1210
  export type Name = string;
961
1211
  export type PageSize = number;
962
1212
  export type PageToken = string;
@@ -1352,6 +1602,8 @@ declare namespace StepFunctions {
1352
1602
  export type TaskToken = string;
1353
1603
  export type TimeoutInSeconds = number;
1354
1604
  export type Timestamp = Date;
1605
+ export type ToleratedFailureCount = number;
1606
+ export type ToleratedFailurePercentage = number;
1355
1607
  export type TraceHeader = string;
1356
1608
  export interface TracingConfiguration {
1357
1609
  /**
@@ -1360,6 +1612,7 @@ declare namespace StepFunctions {
1360
1612
  enabled?: Enabled;
1361
1613
  }
1362
1614
  export type UnsignedInteger = number;
1615
+ export type UnsignedLong = number;
1363
1616
  export interface UntagResourceInput {
1364
1617
  /**
1365
1618
  * The Amazon Resource Name (ARN) for the Step Functions state machine or activity.
@@ -1372,6 +1625,26 @@ declare namespace StepFunctions {
1372
1625
  }
1373
1626
  export interface UntagResourceOutput {
1374
1627
  }
1628
+ export interface UpdateMapRunInput {
1629
+ /**
1630
+ * The Amazon Resource Name (ARN) of a Map Run.
1631
+ */
1632
+ mapRunArn: LongArn;
1633
+ /**
1634
+ * The maximum number of child workflow executions that can be specified to run in parallel for the Map Run at the same time.
1635
+ */
1636
+ maxConcurrency?: MaxConcurrency;
1637
+ /**
1638
+ * The maximum percentage of failed items before the Map Run fails.
1639
+ */
1640
+ toleratedFailurePercentage?: ToleratedFailurePercentage;
1641
+ /**
1642
+ * The maximum number of failed items before the Map Run fails.
1643
+ */
1644
+ toleratedFailureCount?: ToleratedFailureCount;
1645
+ }
1646
+ export interface UpdateMapRunOutput {
1647
+ }
1375
1648
  export interface UpdateStateMachineInput {
1376
1649
  /**
1377
1650
  * The Amazon Resource Name (ARN) of the state machine.