{ "version":"2.0", "metadata":{ "apiVersion":"2016-11-23", "endpointPrefix":"states", "jsonVersion":"1.0", "protocol":"json", "serviceAbbreviation":"AWS SFN", "serviceFullName":"AWS Step Functions", "serviceId":"SFN", "signatureVersion":"v4", "targetPrefix":"AWSStepFunctions", "uid":"states-2016-11-23" }, "operations":{ "CreateActivity":{ "name":"CreateActivity", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateActivityInput"}, "output":{"shape":"CreateActivityOutput"}, "errors":[ {"shape":"ActivityLimitExceeded"}, {"shape":"InvalidName"}, {"shape":"TooManyTags"} ], "documentation":"

Creates an activity. An activity is a task that you write in any programming language and host on any machine that has access to Step Functions. Activities must poll Step Functions using the `GetActivityTask` API action and respond using `SendTask*` API actions. This function lets Step Functions know the existence of your activity and returns an identifier for use in a state machine and when polling from the activity.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

`CreateActivity` is an idempotent API. Subsequent requests won’t create a duplicate resource if it was already created. `CreateActivity`'s idempotency check is based on the activity `name`. If a following request has different `tags` values, Step Functions will ignore these differences and treat it as an idempotent request of the previous. In this case, `tags` will not be updated, even if they are different.

", "idempotent":true }, "CreateStateMachine":{ "name":"CreateStateMachine", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateStateMachineInput"}, "output":{"shape":"CreateStateMachineOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"InvalidDefinition"}, {"shape":"InvalidName"}, {"shape":"InvalidLoggingConfiguration"}, {"shape":"InvalidTracingConfiguration"}, {"shape":"StateMachineAlreadyExists"}, {"shape":"StateMachineDeleting"}, {"shape":"StateMachineLimitExceeded"}, {"shape":"StateMachineTypeNotSupported"}, {"shape":"TooManyTags"}, {"shape":"ValidationException"}, {"shape":"ConflictException"} ], "documentation":"

Creates a state machine. A state machine consists of a collection of states that can do work (`Task` states), determine to which states to transition next (`Choice` states), stop an execution with an error (`Fail` states), and so on. State machines are specified using a JSON-based, structured language. For more information, see Amazon States Language in the Step Functions User Guide.

If you set the `publish` parameter of this API action to `true`, it publishes version `1` as the first revision of the state machine.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

`CreateStateMachine` is an idempotent API. Subsequent requests won’t create a duplicate resource if it was already created. `CreateStateMachine`'s idempotency check is based on the state machine `name`, `definition`, `type`, `LoggingConfiguration`, and `TracingConfiguration`. The check is also based on the `publish` and `versionDescription` parameters. If a following request has a different `roleArn` or `tags`, Step Functions will ignore these differences and treat it as an idempotent request of the previous. In this case, `roleArn` and `tags` will not be updated, even if they are different.

", "idempotent":true }, "CreateStateMachineAlias":{ "name":"CreateStateMachineAlias", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateStateMachineAliasInput"}, "output":{"shape":"CreateStateMachineAliasOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"InvalidName"}, {"shape":"ValidationException"}, {"shape":"StateMachineDeleting"}, {"shape":"ResourceNotFound"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Creates an alias for a state machine that points to one or two versions of the same state machine. You can set your application to call StartExecution with an alias and update the version the alias uses without changing the client's code.

You can also map an alias to split StartExecution requests between two versions of a state machine. To do this, add a second `RoutingConfig` object in the `routingConfiguration` parameter. You must also specify the percentage of execution run requests each version should receive in both `RoutingConfig` objects. Step Functions randomly chooses which version runs a given execution based on the percentage you specify.

To create an alias that points to a single version, specify a single `RoutingConfig` object with a `weight` set to 100.

You can create up to 100 aliases for each state machine. You must delete unused aliases using the DeleteStateMachineAlias API action.

`CreateStateMachineAlias` is an idempotent API. Step Functions bases the idempotency check on the `stateMachineArn`, `description`, `name`, and `routingConfiguration` parameters. Requests that contain the same values for these parameters return a successful idempotent response without creating a duplicate resource.

Related operations:

- DescribeStateMachineAlias

- ListStateMachineAliases

- UpdateStateMachineAlias

- DeleteStateMachineAlias

" }, "DeleteActivity":{ "name":"DeleteActivity", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteActivityInput"}, "output":{"shape":"DeleteActivityOutput"}, "errors":[ {"shape":"InvalidArn"} ], "documentation":"

Deletes an activity.

" }, "DeleteStateMachine":{ "name":"DeleteStateMachine", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteStateMachineInput"}, "output":{"shape":"DeleteStateMachineOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"ValidationException"} ], "documentation":"

Deletes a state machine. This is an asynchronous operation. It sets the state machine's status to `DELETING` and begins the deletion process. A state machine is deleted only when all its executions are completed. On the next state transition, the state machine's executions are terminated.

A qualified state machine ARN can either refer to a Distributed Map state defined within a state machine, a version ARN, or an alias ARN.

The following are some examples of qualified and unqualified state machine ARNs:

- The following qualified state machine ARN refers to a Distributed Map state with a label `mapStateLabel` in a state machine named `myStateMachine`.

  `arn:partition:states:region:account-id:stateMachine:myStateMachine/mapStateLabel`

  If you provide a qualified state machine ARN that refers to a Distributed Map state, the request fails with `ValidationException`.

- The following unqualified state machine ARN refers to a state machine named `myStateMachine`.

  `arn:partition:states:region:account-id:stateMachine:myStateMachine`

This API action also deletes all versions and aliases associated with a state machine.

For `EXPRESS` state machines, the deletion happens eventually (usually in less than a minute). Running executions may emit logs after `DeleteStateMachine` API is called.

" }, "DeleteStateMachineAlias":{ "name":"DeleteStateMachineAlias", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteStateMachineAliasInput"}, "output":{"shape":"DeleteStateMachineAliasOutput"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidArn"}, {"shape":"ResourceNotFound"}, {"shape":"ConflictException"} ], "documentation":"

Deletes a state machine alias.

After you delete a state machine alias, you can't use it to start executions. When you delete a state machine alias, Step Functions doesn't delete the state machine versions that alias references.

Related operations:

- CreateStateMachineAlias

- DescribeStateMachineAlias

- ListStateMachineAliases

- UpdateStateMachineAlias

" }, "DeleteStateMachineVersion":{ "name":"DeleteStateMachineVersion", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteStateMachineVersionInput"}, "output":{"shape":"DeleteStateMachineVersionOutput"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidArn"}, {"shape":"ConflictException"} ], "documentation":"

Deletes a state machine version. After you delete a version, you can't call StartExecution using that version's ARN or use the version with a state machine alias.

Deleting a state machine version won't terminate its in-progress executions.

You can't delete a state machine version currently referenced by one or more aliases. Before you delete a version, you must either delete the aliases or update them to point to another state machine version.

Related operations:

- PublishStateMachineVersion

- ListStateMachineVersions

" }, "DescribeActivity":{ "name":"DescribeActivity", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeActivityInput"}, "output":{"shape":"DescribeActivityOutput"}, "errors":[ {"shape":"ActivityDoesNotExist"}, {"shape":"InvalidArn"} ], "documentation":"

Describes an activity.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

" }, "DescribeExecution":{ "name":"DescribeExecution", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeExecutionInput"}, "output":{"shape":"DescribeExecutionOutput"}, "errors":[ {"shape":"ExecutionDoesNotExist"}, {"shape":"InvalidArn"} ], "documentation":"

Provides information about a state machine execution, such as the state machine associated with the execution, the execution input and output, and relevant execution metadata. If you've redriven an execution, you can use this API action to return information about the redrives of that execution. In addition, you can use this API action to return the Map Run Amazon Resource Name (ARN) if the execution was dispatched by a Map Run.

If you specify a version or alias ARN when you call the StartExecution API action, `DescribeExecution` returns that ARN.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

Executions of an `EXPRESS` state machine aren't supported by `DescribeExecution` unless a Map Run dispatched them.

" }, "DescribeMapRun":{ "name":"DescribeMapRun", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeMapRunInput"}, "output":{"shape":"DescribeMapRunOutput"}, "errors":[ {"shape":"ResourceNotFound"}, {"shape":"InvalidArn"} ], "documentation":"

Provides information about a Map Run's configuration, progress, and results. If you've redriven a Map Run, this API action also returns information about the redrives of that Map Run. For more information, see Examining Map Run in the Step Functions Developer Guide.

" }, "DescribeStateMachine":{ "name":"DescribeStateMachine", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeStateMachineInput"}, "output":{"shape":"DescribeStateMachineOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"StateMachineDoesNotExist"} ], "documentation":"

Provides information about a state machine's definition, its IAM role Amazon Resource Name (ARN), and configuration.

A qualified state machine ARN can either refer to a Distributed Map state defined within a state machine, a version ARN, or an alias ARN.

The following are some examples of qualified and unqualified state machine ARNs:

- The following qualified state machine ARN refers to a Distributed Map state with a label `mapStateLabel` in a state machine named `myStateMachine`.

  `arn:partition:states:region:account-id:stateMachine:myStateMachine/mapStateLabel`

  If you provide a qualified state machine ARN that refers to a Distributed Map state, the request fails with `ValidationException`.

- The following qualified state machine ARN refers to an alias named `PROD`.

  `arn:<partition>:states:<region>:<account-id>:stateMachine:<myStateMachine:PROD>`

  If you provide a qualified state machine ARN that refers to a version ARN or an alias ARN, the request starts execution for that version or alias.

- The following unqualified state machine ARN refers to a state machine named `myStateMachine`.

  `arn:<partition>:states:<region>:<account-id>:stateMachine:<myStateMachine>`

This API action returns the details for a state machine version if the `stateMachineArn` you specify is a state machine version ARN.

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

" }, "DescribeStateMachineAlias":{ "name":"DescribeStateMachineAlias", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeStateMachineAliasInput"}, "output":{"shape":"DescribeStateMachineAliasOutput"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidArn"}, {"shape":"ResourceNotFound"} ], "documentation":"

Returns details about a state machine alias.

Related operations:

- CreateStateMachineAlias

- ListStateMachineAliases

- UpdateStateMachineAlias

- DeleteStateMachineAlias

" }, "DescribeStateMachineForExecution":{ "name":"DescribeStateMachineForExecution", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeStateMachineForExecutionInput"}, "output":{"shape":"DescribeStateMachineForExecutionOutput"}, "errors":[ {"shape":"ExecutionDoesNotExist"}, {"shape":"InvalidArn"} ], "documentation":"

Provides information about a state machine's definition, its execution role ARN, and configuration. If a Map Run dispatched the execution, this action returns the Map Run Amazon Resource Name (ARN) in the response. The state machine returned is 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.

" }, "GetActivityTask":{ "name":"GetActivityTask", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetActivityTaskInput"}, "output":{"shape":"GetActivityTaskOutput"}, "errors":[ {"shape":"ActivityDoesNotExist"}, {"shape":"ActivityWorkerLimitExceeded"}, {"shape":"InvalidArn"} ], "documentation":"

Used by workers to retrieve a task (with the specified activity ARN) which has been scheduled for execution by a running state machine. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available (i.e. an execution of a task of this type is needed.) The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll returns a `taskToken` with a null string.

This API action isn't logged in CloudTrail.

Workers should set their client side socket timeout to at least 65 seconds (5 seconds higher than the maximum time the service may hold the poll request).

Polling with `GetActivityTask` can cause latency in some implementations. See Avoid Latency When Polling for Activity Tasks in the Step Functions Developer Guide.

" }, "GetExecutionHistory":{ "name":"GetExecutionHistory", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetExecutionHistoryInput"}, "output":{"shape":"GetExecutionHistoryOutput"}, "errors":[ {"shape":"ExecutionDoesNotExist"}, {"shape":"InvalidArn"}, {"shape":"InvalidToken"} ], "documentation":"

Returns the history of the specified execution as a list of events. By default, the results are returned in ascending order of the `timeStamp` of the events. Use the `reverseOrder` parameter to get the latest events 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 API action is not supported by `EXPRESS` state machines.

" }, "ListActivities":{ "name":"ListActivities", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListActivitiesInput"}, "output":{"shape":"ListActivitiesOutput"}, "errors":[ {"shape":"InvalidToken"} ], "documentation":"

Lists the existing activities.

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.

" }, "ListExecutions":{ "name":"ListExecutions", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListExecutionsInput"}, "output":{"shape":"ListExecutionsOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"InvalidToken"}, {"shape":"StateMachineDoesNotExist"}, {"shape":"StateMachineTypeNotSupported"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFound"} ], "documentation":"

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. Using this API action, you can also list all redriven executions.

You can also provide a state machine alias ARN or version ARN to list the executions associated with a specific alias or version.

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.

" }, "ListMapRuns":{ "name":"ListMapRuns", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListMapRunsInput"}, "output":{"shape":"ListMapRunsOutput"}, "errors":[ {"shape":"ExecutionDoesNotExist"}, {"shape":"InvalidArn"}, {"shape":"InvalidToken"} ], "documentation":"

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.

" }, "ListStateMachineAliases":{ "name":"ListStateMachineAliases", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListStateMachineAliasesInput"}, "output":{"shape":"ListStateMachineAliasesOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"InvalidToken"}, {"shape":"ResourceNotFound"}, {"shape":"StateMachineDoesNotExist"}, {"shape":"StateMachineDeleting"} ], "documentation":"

Lists aliases for a specified state machine ARN. Results are sorted by time, with the most recently created aliases listed first.

To list aliases that reference a state machine version, you can specify the version ARN in the `stateMachineArn` parameter.

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.

Related operations:

- CreateStateMachineAlias

- DescribeStateMachineAlias

- UpdateStateMachineAlias

- DeleteStateMachineAlias

" }, "ListStateMachineVersions":{ "name":"ListStateMachineVersions", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListStateMachineVersionsInput"}, "output":{"shape":"ListStateMachineVersionsOutput"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidArn"}, {"shape":"InvalidToken"} ], "documentation":"

Lists versions for the specified state machine Amazon Resource Name (ARN).

The results are sorted in descending order of the version creation time.

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.

Related operations:

- PublishStateMachineVersion

- DeleteStateMachineVersion

" }, "ListStateMachines":{ "name":"ListStateMachines", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListStateMachinesInput"}, "output":{"shape":"ListStateMachinesOutput"}, "errors":[ {"shape":"InvalidToken"} ], "documentation":"

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.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListTagsForResourceInput"}, "output":{"shape":"ListTagsForResourceOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"ResourceNotFound"} ], "documentation":"

List tags for a given resource.

Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - @`.

" }, "PublishStateMachineVersion":{ "name":"PublishStateMachineVersion", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PublishStateMachineVersionInput"}, "output":{"shape":"PublishStateMachineVersionOutput"}, "errors":[ {"shape":"ValidationException"}, {"shape":"StateMachineDeleting"}, {"shape":"StateMachineDoesNotExist"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"ConflictException"}, {"shape":"InvalidArn"} ], "documentation":"

Creates a version from the current revision of a state machine. Use versions to create immutable snapshots of your state machine. You can start executions from versions either directly or with an alias. To create an alias, use CreateStateMachineAlias.

You can publish up to 1000 versions for each state machine. You must manually delete unused versions using the DeleteStateMachineVersion API action.

`PublishStateMachineVersion` is an idempotent API. It doesn't create a duplicate state machine version if it already exists for the current revision. Step Functions bases `PublishStateMachineVersion`'s idempotency check on the `stateMachineArn`, `name`, and `revisionId` parameters. Requests with the same parameters return a successful idempotent response. If you don't specify a `revisionId`, Step Functions checks for a previously published version of the state machine's current revision.

Related operations:

- DeleteStateMachineVersion

- ListStateMachineVersions

", "idempotent":true }, "RedriveExecution":{ "name":"RedriveExecution", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"RedriveExecutionInput"}, "output":{"shape":"RedriveExecutionOutput"}, "errors":[ {"shape":"ExecutionDoesNotExist"}, {"shape":"ExecutionNotRedrivable"}, {"shape":"ExecutionLimitExceeded"}, {"shape":"InvalidArn"} ], "documentation":"

Restarts unsuccessful executions of Standard workflows that didn't complete successfully in the last 14 days. These include failed, aborted, or timed out executions. When you redrive an execution, it continues the failed execution from the unsuccessful step and uses the same input. Step Functions preserves the results and execution history of the successful steps, and doesn't rerun these steps when you redrive an execution. Redriven executions use the same state machine definition and execution ARN as the original execution attempt.

For workflows that include an Inline Map or Parallel state, `RedriveExecution` API action reschedules and redrives only the iterations and branches that failed or aborted.

To redrive a workflow that includes a Distributed Map state whose Map Run failed, you must redrive the parent workflow. The parent workflow redrives all the unsuccessful states, including a failed Map Run. If a Map Run was not started in the original execution attempt, the redriven parent workflow starts the Map Run.

This API action is not supported by `EXPRESS` state machines.

However, you can restart the unsuccessful executions of Express child workflows in a Distributed Map by redriving its Map Run. When you redrive a Map Run, the Express child workflows are rerun using the StartExecution API action. For more information, see Redriving Map Runs.

You can redrive executions if your original execution meets the following conditions:

- The execution status isn't `SUCCEEDED`.

- Your workflow execution has not exceeded the redrivable period of 14 days. Redrivable period refers to the time during which you can redrive a given execution. This period starts from the day a state machine completes its execution.

- The workflow execution has not exceeded the maximum open time of one year. For more information about state machine quotas, see Quotas related to state machine executions.

- The execution event history count is less than 24,999. Redriven executions append their event history to the existing event history. Make sure your workflow execution contains less than 24,999 events to accommodate the `ExecutionRedriven` history event and at least one other history event.

", "idempotent":true }, "SendTaskFailure":{ "name":"SendTaskFailure", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"SendTaskFailureInput"}, "output":{"shape":"SendTaskFailureOutput"}, "errors":[ {"shape":"TaskDoesNotExist"}, {"shape":"InvalidToken"}, {"shape":"TaskTimedOut"} ], "documentation":"

Used by activity workers, Task states using the callback pattern, and optionally Task states using the job run pattern to report that the task identified by the `taskToken` failed.

" }, "SendTaskHeartbeat":{ "name":"SendTaskHeartbeat", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"SendTaskHeartbeatInput"}, "output":{"shape":"SendTaskHeartbeatOutput"}, "errors":[ {"shape":"TaskDoesNotExist"}, {"shape":"InvalidToken"}, {"shape":"TaskTimedOut"} ], "documentation":"

Used by activity workers and Task states using the callback pattern, and optionally Task states using the job run pattern to report to Step Functions that the task represented by the specified `taskToken` is still making progress. This action resets the `Heartbeat` clock. The `Heartbeat` threshold is specified in the state machine's Amazon States Language definition (`HeartbeatSeconds`). This action does not in itself create an event in the execution history. However, if the task times out, the execution history contains an `ActivityTimedOut` entry for activities, or a `TaskTimedOut` entry for tasks using the job run or callback pattern.

The `Timeout` of a task, defined in the state machine's Amazon States Language definition, is its maximum allowed duration, regardless of the number of SendTaskHeartbeat requests received. Use `HeartbeatSeconds` to configure the timeout interval for heartbeats.

" }, "SendTaskSuccess":{ "name":"SendTaskSuccess", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"SendTaskSuccessInput"}, "output":{"shape":"SendTaskSuccessOutput"}, "errors":[ {"shape":"TaskDoesNotExist"}, {"shape":"InvalidOutput"}, {"shape":"InvalidToken"}, {"shape":"TaskTimedOut"} ], "documentation":"

Used by activity workers, Task states using the callback pattern, and optionally Task states using the job run pattern to report that the task identified by the `taskToken` completed successfully.

" }, "StartExecution":{ "name":"StartExecution", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StartExecutionInput"}, "output":{"shape":"StartExecutionOutput"}, "errors":[ {"shape":"ExecutionLimitExceeded"}, {"shape":"ExecutionAlreadyExists"}, {"shape":"InvalidArn"}, {"shape":"InvalidExecutionInput"}, {"shape":"InvalidName"}, {"shape":"StateMachineDoesNotExist"}, {"shape":"StateMachineDeleting"}, {"shape":"ValidationException"} ], "documentation":"

Starts a state machine execution.

A qualified state machine ARN can either refer to a Distributed Map state defined within a state machine, a version ARN, or an alias ARN.

The following are some examples of qualified and unqualified state machine ARNs:

- The following qualified state machine ARN refers to a Distributed Map state with a label `mapStateLabel` in a state machine named `myStateMachine`.

  `arn:partition:states:region:account-id:stateMachine:myStateMachine/mapStateLabel`

  If you provide a qualified state machine ARN that refers to a Distributed Map state, the request fails with `ValidationException`.

- The following qualified state machine ARN refers to an alias named `PROD`.

  `arn:<partition>:states:<region>:<account-id>:stateMachine:<myStateMachine:PROD>`

  If you provide a qualified state machine ARN that refers to a version ARN or an alias ARN, the request starts execution for that version or alias.

- The following unqualified state machine ARN refers to a state machine named `myStateMachine`.

  `arn:<partition>:states:<region>:<account-id>:stateMachine:<myStateMachine>`

If you start an execution with an unqualified state machine ARN, Step Functions uses the latest revision of the state machine for the execution.

To start executions of a state machine version, call `StartExecution` and provide the version ARN or the ARN of an alias that points to the version.

`StartExecution` is idempotent for `STANDARD` workflows. For a `STANDARD` workflow, if you call `StartExecution` with the same name and input as a running execution, the call succeeds and return the same response as the original request. If the execution is closed or if the input is different, it returns a `400 ExecutionAlreadyExists` error. You can reuse names after 90 days.

`StartExecution` isn't idempotent for `EXPRESS` workflows.

", "idempotent":true }, "StartSyncExecution":{ "name":"StartSyncExecution", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StartSyncExecutionInput"}, "output":{"shape":"StartSyncExecutionOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"InvalidExecutionInput"}, {"shape":"InvalidName"}, {"shape":"StateMachineDoesNotExist"}, {"shape":"StateMachineDeleting"}, {"shape":"StateMachineTypeNotSupported"} ], "documentation":"

Starts a Synchronous Express state machine execution. `StartSyncExecution` is not available for `STANDARD` workflows.

`StartSyncExecution` will return a `200 OK` response, even if your execution fails, because the status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your execution from running, such as permissions errors, limit errors, or issues with your state machine code and configuration.

This API action isn't logged in CloudTrail.

", "endpoint":{"hostPrefix":"sync-"} }, "StopExecution":{ "name":"StopExecution", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StopExecutionInput"}, "output":{"shape":"StopExecutionOutput"}, "errors":[ {"shape":"ExecutionDoesNotExist"}, {"shape":"InvalidArn"}, {"shape":"ValidationException"} ], "documentation":"

Stops an execution.

This API action is not supported by `EXPRESS` state machines.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"TagResourceInput"}, "output":{"shape":"TagResourceOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"ResourceNotFound"}, {"shape":"TooManyTags"} ], "documentation":"

Add a tag to a Step Functions resource.

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.

Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - @`.

" }, "TestState":{ "name":"TestState", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"TestStateInput"}, "output":{"shape":"TestStateOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"InvalidDefinition"}, {"shape":"InvalidExecutionInput"}, {"shape":"ValidationException"} ], "documentation":"

Accepts the definition of a single state and executes it. You can test a state without creating a state machine or updating an existing state machine. Using this API, you can test the following:

- A state's input and output processing data flow

- An Amazon Web Services service integration request and response

- An HTTP Task request and response

You can call this API on only one state at a time. The states that you can test include the following:

- All Task types except Activity

- Pass

- Wait

- Choice

- Succeed

- Fail

The `TestState` API assumes an IAM role which must contain the required IAM permissions for the resources your state is accessing. For information about the permissions a state might need, see IAM permissions to test a state.

The `TestState` API can run for up to five minutes. If the execution of a state exceeds this duration, it fails with the `States.Timeout` error.

`TestState` doesn't support Activity tasks, `.sync` or `.waitForTaskToken` service integration patterns, Parallel, or Map states.

", "endpoint":{"hostPrefix":"sync-"} }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UntagResourceInput"}, "output":{"shape":"UntagResourceOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"ResourceNotFound"} ], "documentation":"

Remove a tag from a Step Functions resource

" }, "UpdateMapRun":{ "name":"UpdateMapRun", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateMapRunInput"}, "output":{"shape":"UpdateMapRunOutput"}, "errors":[ {"shape":"ResourceNotFound"}, {"shape":"InvalidArn"}, {"shape":"ValidationException"} ], "documentation":"

Updates an in-progress Map Run's configuration to include changes to the settings that control maximum concurrency and Map Run failure.

" }, "UpdateStateMachine":{ "name":"UpdateStateMachine", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateStateMachineInput"}, "output":{"shape":"UpdateStateMachineOutput"}, "errors":[ {"shape":"InvalidArn"}, {"shape":"InvalidDefinition"}, {"shape":"InvalidLoggingConfiguration"}, {"shape":"InvalidTracingConfiguration"}, {"shape":"MissingRequiredParameter"}, {"shape":"StateMachineDeleting"}, {"shape":"StateMachineDoesNotExist"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"} ], "documentation":"

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.

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`.

A qualified state machine ARN can either refer to a Distributed Map state defined within a state machine, a version ARN, or an alias ARN.

The following are some examples of qualified and unqualified state machine ARNs:

- The following qualified state machine ARN refers to a Distributed Map state with a label `mapStateLabel` in a state machine named `myStateMachine`.

  `arn:partition:states:region:account-id:stateMachine:myStateMachine/mapStateLabel`

  If you provide a qualified state machine ARN that refers to a Distributed Map state, the request fails with `ValidationException`.

- The following qualified state machine ARN refers to an alias named `PROD`.

  `arn:<partition>:states:<region>:<account-id>:stateMachine:<myStateMachine:PROD>`

  If you provide a qualified state machine ARN that refers to a version ARN or an alias ARN, the request starts execution for that version or alias.

- The following unqualified state machine ARN refers to a state machine named `myStateMachine`.

  `arn:<partition>:states:<region>:<account-id>:stateMachine:<myStateMachine>`

After you update your state machine, you can set the `publish` parameter to `true` in the same action to publish a new version. This way, you can opt-in to strict versioning of your state machine.

Step Functions assigns monotonically increasing integers for state machine versions, starting at version number 1.

All `StartExecution` calls within a few seconds use the updated `definition` and `roleArn`. Executions started immediately after you call `UpdateStateMachine` may use the previous state machine `definition` and `roleArn`.

", "idempotent":true }, "UpdateStateMachineAlias":{ "name":"UpdateStateMachineAlias", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateStateMachineAliasInput"}, "output":{"shape":"UpdateStateMachineAliasOutput"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidArn"}, {"shape":"ResourceNotFound"}, {"shape":"ConflictException"}, {"shape":"StateMachineDeleting"} ], "documentation":"

Updates the configuration of an existing state machine alias by modifying its `description` or `routingConfiguration`.

You must specify at least one of the `description` or `routingConfiguration` parameters to update a state machine alias.

`UpdateStateMachineAlias` is an idempotent API. Step Functions bases the idempotency check on the `stateMachineAliasArn`, `description`, and `routingConfiguration` parameters. Requests with the same parameters return an idempotent response.

This operation is eventually consistent. All StartExecution requests made within a few seconds use the latest alias configuration. Executions started immediately after calling `UpdateStateMachineAlias` may use the previous routing configuration.

Related operations:

- CreateStateMachineAlias

- DescribeStateMachineAlias

- ListStateMachineAliases

- DeleteStateMachineAlias

" } }, "shapes":{ "ActivityDoesNotExist":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The specified activity does not exist.

", "exception":true }, "ActivityFailedEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about an activity that failed during an execution.

" }, "ActivityLimitExceeded":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The maximum number of activities has been reached. Existing activities must be deleted before a new activity can be created.

", "exception":true }, "ActivityList":{ "type":"list", "member":{"shape":"ActivityListItem"} }, "ActivityListItem":{ "type":"structure", "required":[ "activityArn", "name", "creationDate" ], "members":{ "activityArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the activity.

" }, "name":{ "shape":"Name", "documentation":"

The name of the activity.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The date the activity is created.

" } }, "documentation":"

Contains details about an activity.

" }, "ActivityScheduleFailedEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about an activity schedule failure that occurred during an execution.

" }, "ActivityScheduledEventDetails":{ "type":"structure", "required":["resource"], "members":{ "resource":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the scheduled activity.

" }, "input":{ "shape":"SensitiveData", "documentation":"

The JSON data input to the activity task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "inputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about the input for an execution history event.

" }, "timeoutInSeconds":{ "shape":"TimeoutInSeconds", "documentation":"

The maximum allowed duration of the activity task.

", "box":true }, "heartbeatInSeconds":{ "shape":"TimeoutInSeconds", "documentation":"

The maximum allowed duration between two heartbeats for the activity task.

", "box":true } }, "documentation":"

Contains details about an activity scheduled during an execution.

" }, "ActivityStartedEventDetails":{ "type":"structure", "members":{ "workerName":{ "shape":"Identity", "documentation":"

The name of the worker that the task is assigned to. These names are provided by the workers when calling GetActivityTask.

" } }, "documentation":"

Contains details about the start of an activity during an execution.

" }, "ActivitySucceededEventDetails":{ "type":"structure", "members":{ "output":{ "shape":"SensitiveData", "documentation":"

The JSON data output by the activity task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "outputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about the output of an execution history event.

" } }, "documentation":"

Contains details about an activity that successfully terminated during an execution.

" }, "ActivityTimedOutEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the timeout.

" } }, "documentation":"

Contains details about an activity timeout that occurred during an execution.

" }, "ActivityWorkerLimitExceeded":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The maximum number of workers concurrently polling for activity tasks has been reached.

", "exception":true }, "AliasDescription":{ "type":"string", "max":256, "sensitive":true }, "Arn":{ "type":"string", "max":256, "min":1 }, "BilledDuration":{ "type":"long", "min":0 }, "BilledMemoryUsed":{ "type":"long", "min":0 }, "BillingDetails":{ "type":"structure", "members":{ "billedMemoryUsedInMB":{ "shape":"BilledMemoryUsed", "documentation":"

Billed memory consumption of your workflow, in MB.

" }, "billedDurationInMilliseconds":{ "shape":"BilledDuration", "documentation":"

Billed duration of your workflow, in milliseconds.

" } }, "documentation":"

An object that describes workflow billing details.

" }, "CharacterRestrictedName":{ "type":"string", "max":80, "min":1, "pattern":"^(?=.*[a-zA-Z_\\-\\.])[a-zA-Z0-9_\\-\\.]+$" }, "ClientToken":{ "type":"string", "max":64, "min":1, "pattern":"[!-~]+" }, "CloudWatchEventsExecutionDataDetails":{ "type":"structure", "members":{ "included":{ "shape":"includedDetails", "documentation":"

Indicates whether input or output was included in the response. Always `true` for API calls.

" } }, "documentation":"

Provides details about execution input or output.

" }, "CloudWatchLogsLogGroup":{ "type":"structure", "members":{ "logGroupArn":{ "shape":"Arn", "documentation":"

The ARN of the the CloudWatch log group to which you want your logs emitted to. The ARN must end with `:*`

" } }, "documentation":"

" }, "ConflictException":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

Updating or deleting a resource can cause an inconsistent state. This error occurs when there're concurrent requests for DeleteStateMachineVersion, PublishStateMachineVersion, or UpdateStateMachine with the `publish` parameter set to `true`.

HTTP Status Code: 409

", "exception":true }, "ConnectorParameters":{ "type":"string", "max":262144, "min":0, "sensitive":true }, "CreateActivityInput":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"Name", "documentation":"

The name of the activity to create. This name must be unique for your Amazon Web Services account and region for 90 days. For more information, see Limits Related to State Machine Executions in the Step Functions Developer Guide.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "tags":{ "shape":"TagList", "documentation":"

The list of tags to add to a resource.

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.

Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - @`.

" } } }, "CreateActivityOutput":{ "type":"structure", "required":[ "activityArn", "creationDate" ], "members":{ "activityArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the created activity.

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The date the activity is created.

" } } }, "CreateStateMachineAliasInput":{ "type":"structure", "required":[ "name", "routingConfiguration" ], "members":{ "description":{ "shape":"AliasDescription", "documentation":"

A description for the state machine alias.

" }, "name":{ "shape":"CharacterRestrictedName", "documentation":"

The name of the state machine alias.

To avoid conflict with version ARNs, don't use an integer in the name of the alias.

" }, "routingConfiguration":{ "shape":"RoutingConfigurationList", "documentation":"

The routing configuration of a state machine alias. The routing configuration shifts execution traffic between two state machine versions. `routingConfiguration` contains an array of `RoutingConfig` objects that specify up to two state machine versions. Step Functions then randomly choses which version to run an execution with based on the weight assigned to each `RoutingConfig`.

" } } }, "CreateStateMachineAliasOutput":{ "type":"structure", "required":[ "stateMachineAliasArn", "creationDate" ], "members":{ "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the created state machine alias.

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The date the state machine alias was created.

" } } }, "CreateStateMachineInput":{ "type":"structure", "required":[ "name", "definition", "roleArn" ], "members":{ "name":{ "shape":"Name", "documentation":"

The name of the state machine.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "definition":{ "shape":"Definition", "documentation":"

The Amazon States Language definition of the state machine. See Amazon States Language.

" }, "roleArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the IAM role to use for this state machine.

" }, "type":{ "shape":"StateMachineType", "documentation":"

Determines whether a Standard or Express state machine is created. The default is `STANDARD`. You cannot update the `type` of a state machine once it has been created.

" }, "loggingConfiguration":{ "shape":"LoggingConfiguration", "documentation":"

Defines what execution history events are logged and where they are logged.

By default, the `level` is set to `OFF`. For more information see Log Levels in the Step Functions User Guide.

" }, "tags":{ "shape":"TagList", "documentation":"

Tags to be added when creating a state machine.

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.

Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - @`.

" }, "tracingConfiguration":{ "shape":"TracingConfiguration", "documentation":"

Selects whether X-Ray tracing is enabled.

" }, "publish":{ "shape":"Publish", "documentation":"

Set to `true` to publish the first version of the state machine during creation. The default is `false`.

" }, "versionDescription":{ "shape":"VersionDescription", "documentation":"

Sets description about the state machine version. You can only set the description if the `publish` parameter is set to `true`. Otherwise, if you set `versionDescription`, but `publish` to `false`, this API action throws `ValidationException`.

" } } }, "CreateStateMachineOutput":{ "type":"structure", "required":[ "stateMachineArn", "creationDate" ], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the created state machine.

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The date the state machine is created.

" }, "stateMachineVersionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the created state machine version. If you do not set the `publish` parameter to `true`, this field returns null value.

" } } }, "Definition":{ "type":"string", "max":1048576, "min":1, "sensitive":true }, "DeleteActivityInput":{ "type":"structure", "required":["activityArn"], "members":{ "activityArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the activity to delete.

" } } }, "DeleteActivityOutput":{ "type":"structure", "members":{ } }, "DeleteStateMachineAliasInput":{ "type":"structure", "required":["stateMachineAliasArn"], "members":{ "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine alias to delete.

" } } }, "DeleteStateMachineAliasOutput":{ "type":"structure", "members":{ } }, "DeleteStateMachineInput":{ "type":"structure", "required":["stateMachineArn"], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine to delete.

" } } }, "DeleteStateMachineOutput":{ "type":"structure", "members":{ } }, "DeleteStateMachineVersionInput":{ "type":"structure", "required":["stateMachineVersionArn"], "members":{ "stateMachineVersionArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) of the state machine version to delete.

" } } }, "DeleteStateMachineVersionOutput":{ "type":"structure", "members":{ } }, "DescribeActivityInput":{ "type":"structure", "required":["activityArn"], "members":{ "activityArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the activity to describe.

" } } }, "DescribeActivityOutput":{ "type":"structure", "required":[ "activityArn", "name", "creationDate" ], "members":{ "activityArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the activity.

" }, "name":{ "shape":"Name", "documentation":"

The name of the activity.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The date the activity is created.

" } } }, "DescribeExecutionInput":{ "type":"structure", "required":["executionArn"], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the execution to describe.

" } } }, "DescribeExecutionOutput":{ "type":"structure", "required":[ "executionArn", "stateMachineArn", "status", "startDate" ], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the execution.

" }, "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the executed stated machine.

" }, "name":{ "shape":"Name", "documentation":"

The name of the execution.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "status":{ "shape":"ExecutionStatus", "documentation":"

The current status of the execution.

" }, "startDate":{ "shape":"Timestamp", "documentation":"

The date the execution is started.

" }, "stopDate":{ "shape":"Timestamp", "documentation":"

If the execution ended, the date the execution stopped.

" }, "input":{ "shape":"SensitiveData", "documentation":"

The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "inputDetails":{"shape":"CloudWatchEventsExecutionDataDetails"}, "output":{ "shape":"SensitiveData", "documentation":"

The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

This field is set only if the execution succeeds. If the execution fails, this field is null.

" }, "outputDetails":{"shape":"CloudWatchEventsExecutionDataDetails"}, "traceHeader":{ "shape":"TraceHeader", "documentation":"

The X-Ray trace header that was passed to the execution.

" }, "mapRunArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.

" }, "error":{ "shape":"SensitiveError", "documentation":"

The error string if the state machine execution failed.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

The cause string if the state machine execution failed.

" }, "stateMachineVersionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine version associated with the execution. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example, `stateMachineARN:1`.

If you start an execution from a `StartExecution` request without specifying a state machine version or alias ARN, Step Functions returns a null value.

" }, "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is a combination of state machine ARN and the alias name separated by a colon (:). For example, `stateMachineARN:PROD`.

If you start an execution from a `StartExecution` request with a state machine version ARN, this field will be null.

" }, "redriveCount":{ "shape":"RedriveCount", "documentation":"

The number of times you've redriven an execution. If you have not yet redriven an execution, the `redriveCount` is 0. This count is only updated if you successfully redrive an execution.

" }, "redriveDate":{ "shape":"Timestamp", "documentation":"

The date the execution was last redriven. If you have not yet redriven an execution, the `redriveDate` is null.

The `redriveDate` is unavailable if you redrive a Map Run that starts child workflow executions of type `EXPRESS`.

" }, "redriveStatus":{ "shape":"ExecutionRedriveStatus", "documentation":"

Indicates whether or not an execution can be redriven at a given point in time.

- For executions of type `STANDARD`, `redriveStatus` is `NOT_REDRIVABLE` if calling the RedriveExecution API action would return the `ExecutionNotRedrivable` error.

- For a Distributed Map that includes child workflows of type `STANDARD`, `redriveStatus` indicates whether or not the Map Run can redrive child workflow executions.

- For a Distributed Map that includes child workflows of type `EXPRESS`, `redriveStatus` indicates whether or not the Map Run can redrive child workflow executions.

  You can redrive failed or timed out `EXPRESS` workflows only if they're a part of a Map Run. When you redrive the Map Run, these workflows are restarted using the StartExecution API action.

" }, "redriveStatusReason":{ "shape":"SensitiveData", "documentation":"

When `redriveStatus` is `NOT_REDRIVABLE`, `redriveStatusReason` specifies the reason why an execution cannot be redriven.

- For executions of type `STANDARD`, or for a Distributed Map that includes child workflows of type `STANDARD`, `redriveStatusReason` can include one of the following reasons:

  - `State machine is in DELETING status`.

  - `Execution is RUNNING and cannot be redriven`.

  - `Execution is SUCCEEDED and cannot be redriven`.

  - `Execution was started before the launch of RedriveExecution`.

  - `Execution history event limit exceeded`.

  - `Execution has exceeded the max execution time`.

  - `Execution redrivable period exceeded`.

- For a Distributed Map that includes child workflows of type `EXPRESS`, `redriveStatusReason` is only returned if the child workflows are not redrivable. This happens when the child workflow executions have completed successfully.

" } } }, "DescribeMapRunInput":{ "type":"structure", "required":["mapRunArn"], "members":{ "mapRunArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) that identifies a Map Run.

" } } }, "DescribeMapRunOutput":{ "type":"structure", "required":[ "mapRunArn", "executionArn", "status", "startDate", "maxConcurrency", "toleratedFailurePercentage", "toleratedFailureCount", "itemCounts", "executionCounts" ], "members":{ "mapRunArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) that identifies a Map Run.

" }, "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the execution in which the Map Run was started.

" }, "status":{ "shape":"MapRunStatus", "documentation":"

The current status of the Map Run.

" }, "startDate":{ "shape":"Timestamp", "documentation":"

The date when the Map Run was started.

" }, "stopDate":{ "shape":"Timestamp", "documentation":"

The date when the Map Run was stopped.

" }, "maxConcurrency":{ "shape":"MaxConcurrency", "documentation":"

The maximum number of child workflow executions configured to run in parallel for the Map Run at the same time.

" }, "toleratedFailurePercentage":{ "shape":"ToleratedFailurePercentage", "documentation":"

The maximum percentage of failed child workflow executions before the Map Run fails.

" }, "toleratedFailureCount":{ "shape":"ToleratedFailureCount", "documentation":"

The maximum number of failed child workflow executions before the Map Run fails.

" }, "itemCounts":{ "shape":"MapRunItemCounts", "documentation":"

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`.

" }, "executionCounts":{ "shape":"MapRunExecutionCounts", "documentation":"

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`.

" }, "redriveCount":{ "shape":"RedriveCount", "documentation":"

The number of times you've redriven a Map Run. If you have not yet redriven a Map Run, the `redriveCount` is 0. This count is only updated if you successfully redrive a Map Run.

" }, "redriveDate":{ "shape":"Timestamp", "documentation":"

The date a Map Run was last redriven. If you have not yet redriven a Map Run, the `redriveDate` is null.

" } } }, "DescribeStateMachineAliasInput":{ "type":"structure", "required":["stateMachineAliasArn"], "members":{ "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine alias.

" } } }, "DescribeStateMachineAliasOutput":{ "type":"structure", "members":{ "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine alias.

" }, "name":{ "shape":"Name", "documentation":"

The name of the state machine alias.

" }, "description":{ "shape":"AliasDescription", "documentation":"

A description of the alias.

" }, "routingConfiguration":{ "shape":"RoutingConfigurationList", "documentation":"

The routing configuration of the alias.

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The date the state machine alias was created.

" }, "updateDate":{ "shape":"Timestamp", "documentation":"

The date the state machine alias was last updated.

For a newly created state machine, this is the same as the creation date.

" } } }, "DescribeStateMachineForExecutionInput":{ "type":"structure", "required":["executionArn"], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the execution you want state machine information for.

" } } }, "DescribeStateMachineForExecutionOutput":{ "type":"structure", "required":[ "stateMachineArn", "name", "definition", "roleArn", "updateDate" ], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine associated with the execution.

" }, "name":{ "shape":"Name", "documentation":"

The name of the state machine associated with the execution.

" }, "definition":{ "shape":"Definition", "documentation":"

The Amazon States Language definition of the state machine. See Amazon States Language.

" }, "roleArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution.

" }, "updateDate":{ "shape":"Timestamp", "documentation":"

The date and time the state machine associated with an execution was updated. For a newly created state machine, this is the creation date.

" }, "loggingConfiguration":{"shape":"LoggingConfiguration"}, "tracingConfiguration":{ "shape":"TracingConfiguration", "documentation":"

Selects whether X-Ray tracing is enabled.

" }, "mapRunArn":{ "shape":"LongArn", "documentation":"

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.

" }, "label":{ "shape":"MapRunLabel", "documentation":"

A user-defined or an auto-generated string that identifies a `Map` state. This ﬁeld is returned only if the `executionArn` is a child workflow execution that was started by a Distributed Map state.

" }, "revisionId":{ "shape":"RevisionId", "documentation":"

The revision identifier for the state machine. The first revision ID when you create the state machine is null.

Use the state machine `revisionId` parameter to compare the revision of a state machine with the configuration of the state machine used for executions without performing a diff of the properties, such as `definition` and `roleArn`.

" } } }, "DescribeStateMachineInput":{ "type":"structure", "required":["stateMachineArn"], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine for which you want the information.

If you specify a state machine version ARN, this API returns details about that version. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example, `stateMachineARN:1`.

" } } }, "DescribeStateMachineOutput":{ "type":"structure", "required":[ "stateMachineArn", "name", "definition", "roleArn", "type", "creationDate" ], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the state machine.

If you specified a state machine version ARN in your request, the API returns the version ARN. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example, `stateMachineARN:1`.

" }, "name":{ "shape":"Name", "documentation":"

The name of the state machine.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "status":{ "shape":"StateMachineStatus", "documentation":"

The current status of the state machine.

" }, "definition":{ "shape":"Definition", "documentation":"

The Amazon States Language definition of the state machine. See Amazon States Language.

" }, "roleArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role maintains security by granting Step Functions access to Amazon Web Services resources.)

" }, "type":{ "shape":"StateMachineType", "documentation":"

The `type` of the state machine (`STANDARD` or `EXPRESS`).

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The date the state machine is created.

For a state machine version, `creationDate` is the date the version was created.

" }, "loggingConfiguration":{"shape":"LoggingConfiguration"}, "tracingConfiguration":{ "shape":"TracingConfiguration", "documentation":"

Selects whether X-Ray tracing is enabled.

" }, "label":{ "shape":"MapRunLabel", "documentation":"

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.

" }, "revisionId":{ "shape":"RevisionId", "documentation":"

The revision identifier for the state machine.

Use the `revisionId` parameter to compare between versions of a state machine configuration used for executions without performing a diff of the properties, such as `definition` and `roleArn`.

" }, "description":{ "shape":"VersionDescription", "documentation":"

The description of the state machine version.

" } } }, "Enabled":{"type":"boolean"}, "ErrorMessage":{"type":"string"}, "EventId":{"type":"long"}, "ExecutionAbortedEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about an abort of an execution.

" }, "ExecutionAlreadyExists":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The execution has the same `name` as another execution (but a different `input`).

Executions with the same `name` and `input` are considered idempotent.

", "exception":true }, "ExecutionDoesNotExist":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The specified execution does not exist.

", "exception":true }, "ExecutionFailedEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about an execution failure event.

" }, "ExecutionLimitExceeded":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The maximum number of running executions has been reached. Running executions must end or be stopped before a new execution can be started.

", "exception":true }, "ExecutionList":{ "type":"list", "member":{"shape":"ExecutionListItem"} }, "ExecutionListItem":{ "type":"structure", "required":[ "executionArn", "stateMachineArn", "name", "status", "startDate" ], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the execution.

" }, "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine that ran the execution.

" }, "name":{ "shape":"Name", "documentation":"

The name of the execution.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "status":{ "shape":"ExecutionStatus", "documentation":"

The current status of the execution.

" }, "startDate":{ "shape":"Timestamp", "documentation":"

The date the execution started.

" }, "stopDate":{ "shape":"Timestamp", "documentation":"

If the execution already ended, the date the execution stopped.

" }, "mapRunArn":{ "shape":"LongArn", "documentation":"

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.

" }, "itemCount":{ "shape":"UnsignedInteger", "documentation":"

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.

", "box":true }, "stateMachineVersionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine version associated with the execution.

If the state machine execution was started with an unqualified ARN, it returns null.

If the execution was started using a `stateMachineAliasArn`, both the `stateMachineAliasArn` and `stateMachineVersionArn` parameters contain the respective values.

" }, "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine alias used to start an execution.

If the state machine execution was started with an unqualified ARN or a version ARN, it returns null.

" }, "redriveCount":{ "shape":"RedriveCount", "documentation":"

The number of times you've redriven an execution. If you have not yet redriven an execution, the `redriveCount` is 0. This count is only updated when you successfully redrive an execution.

", "box":true }, "redriveDate":{ "shape":"Timestamp", "documentation":"

The date the execution was last redriven.

" } }, "documentation":"

Contains details about an execution.

" }, "ExecutionNotRedrivable":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The execution Amazon Resource Name (ARN) that you specified for `executionArn` cannot be redriven.

", "exception":true }, "ExecutionRedriveFilter":{ "type":"string", "enum":[ "REDRIVEN", "NOT_REDRIVEN" ] }, "ExecutionRedriveStatus":{ "type":"string", "enum":[ "REDRIVABLE", "NOT_REDRIVABLE", "REDRIVABLE_BY_MAP_RUN" ] }, "ExecutionRedrivenEventDetails":{ "type":"structure", "members":{ "redriveCount":{ "shape":"RedriveCount", "documentation":"

The number of times you've redriven an execution. If you have not yet redriven an execution, the `redriveCount` is 0. This count is not updated for redrives that failed to start or are pending to be redriven.

" } }, "documentation":"

Contains details about a redriven execution.

" }, "ExecutionStartedEventDetails":{ "type":"structure", "members":{ "input":{ "shape":"SensitiveData", "documentation":"

The JSON data input to the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "inputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about the input for an execution history event.

" }, "roleArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the IAM role used for executing Lambda tasks.

" }, "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies a state machine alias used for starting the state machine execution.

" }, "stateMachineVersionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies a state machine version used for starting the state machine execution.

" } }, "documentation":"

Contains details about the start of the execution.

" }, "ExecutionStatus":{ "type":"string", "enum":[ "RUNNING", "SUCCEEDED", "FAILED", "TIMED_OUT", "ABORTED", "PENDING_REDRIVE" ] }, "ExecutionSucceededEventDetails":{ "type":"structure", "members":{ "output":{ "shape":"SensitiveData", "documentation":"

The JSON data output by the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "outputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about the output of an execution history event.

" } }, "documentation":"

Contains details about the successful termination of the execution.

" }, "ExecutionTimedOutEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the timeout.

" } }, "documentation":"

Contains details about the execution timeout that occurred during the execution.

" }, "GetActivityTaskInput":{ "type":"structure", "required":["activityArn"], "members":{ "activityArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)

" }, "workerName":{ "shape":"Name", "documentation":"

You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.

" } } }, "GetActivityTaskOutput":{ "type":"structure", "members":{ "taskToken":{ "shape":"TaskToken", "documentation":"

A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task.

" }, "input":{ "shape":"SensitiveDataJobInput", "documentation":"

The string that contains the JSON input data for the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" } } }, "GetExecutionHistoryInput":{ "type":"structure", "required":["executionArn"], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the execution.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

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.

" }, "reverseOrder":{ "shape":"ReverseOrder", "documentation":"

Lists events in descending order of their `timeStamp`.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" }, "includeExecutionData":{ "shape":"IncludeExecutionDataGetExecutionHistory", "documentation":"

You can select whether execution data (input or output of a history event) is returned. The default is `true`.

" } } }, "GetExecutionHistoryOutput":{ "type":"structure", "required":["events"], "members":{ "events":{ "shape":"HistoryEventList", "documentation":"

The list of events that occurred in the execution.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" } } }, "HTTPBody":{"type":"string"}, "HTTPHeaders":{"type":"string"}, "HTTPMethod":{"type":"string"}, "HTTPProtocol":{"type":"string"}, "HTTPStatusCode":{"type":"string"}, "HTTPStatusMessage":{"type":"string"}, "HistoryEvent":{ "type":"structure", "required":[ "timestamp", "type", "id" ], "members":{ "timestamp":{ "shape":"Timestamp", "documentation":"

The date and time the event occurred.

" }, "type":{ "shape":"HistoryEventType", "documentation":"

The type of the event.

" }, "id":{ "shape":"EventId", "documentation":"

The id of the event. Events are numbered sequentially, starting at one.

" }, "previousEventId":{ "shape":"EventId", "documentation":"

The id of the previous event.

" }, "activityFailedEventDetails":{"shape":"ActivityFailedEventDetails"}, "activityScheduleFailedEventDetails":{ "shape":"ActivityScheduleFailedEventDetails", "documentation":"

Contains details about an activity schedule event that failed during an execution.

" }, "activityScheduledEventDetails":{"shape":"ActivityScheduledEventDetails"}, "activityStartedEventDetails":{"shape":"ActivityStartedEventDetails"}, "activitySucceededEventDetails":{"shape":"ActivitySucceededEventDetails"}, "activityTimedOutEventDetails":{"shape":"ActivityTimedOutEventDetails"}, "taskFailedEventDetails":{ "shape":"TaskFailedEventDetails", "documentation":"

Contains details about the failure of a task.

" }, "taskScheduledEventDetails":{ "shape":"TaskScheduledEventDetails", "documentation":"

Contains details about a task that was scheduled.

" }, "taskStartFailedEventDetails":{ "shape":"TaskStartFailedEventDetails", "documentation":"

Contains details about a task that failed to start.

" }, "taskStartedEventDetails":{ "shape":"TaskStartedEventDetails", "documentation":"

Contains details about a task that was started.

" }, "taskSubmitFailedEventDetails":{ "shape":"TaskSubmitFailedEventDetails", "documentation":"

Contains details about a task that where the submit failed.

" }, "taskSubmittedEventDetails":{ "shape":"TaskSubmittedEventDetails", "documentation":"

Contains details about a submitted task.

" }, "taskSucceededEventDetails":{ "shape":"TaskSucceededEventDetails", "documentation":"

Contains details about a task that succeeded.

" }, "taskTimedOutEventDetails":{ "shape":"TaskTimedOutEventDetails", "documentation":"

Contains details about a task that timed out.

" }, "executionFailedEventDetails":{"shape":"ExecutionFailedEventDetails"}, "executionStartedEventDetails":{"shape":"ExecutionStartedEventDetails"}, "executionSucceededEventDetails":{"shape":"ExecutionSucceededEventDetails"}, "executionAbortedEventDetails":{"shape":"ExecutionAbortedEventDetails"}, "executionTimedOutEventDetails":{"shape":"ExecutionTimedOutEventDetails"}, "executionRedrivenEventDetails":{ "shape":"ExecutionRedrivenEventDetails", "documentation":"

Contains details about the redrive attempt of an execution.

" }, "mapStateStartedEventDetails":{ "shape":"MapStateStartedEventDetails", "documentation":"

Contains details about Map state that was started.

" }, "mapIterationStartedEventDetails":{ "shape":"MapIterationEventDetails", "documentation":"

Contains details about an iteration of a Map state that was started.

" }, "mapIterationSucceededEventDetails":{ "shape":"MapIterationEventDetails", "documentation":"

Contains details about an iteration of a Map state that succeeded.

" }, "mapIterationFailedEventDetails":{ "shape":"MapIterationEventDetails", "documentation":"

Contains details about an iteration of a Map state that failed.

" }, "mapIterationAbortedEventDetails":{ "shape":"MapIterationEventDetails", "documentation":"

Contains details about an iteration of a Map state that was aborted.

" }, "lambdaFunctionFailedEventDetails":{"shape":"LambdaFunctionFailedEventDetails"}, "lambdaFunctionScheduleFailedEventDetails":{"shape":"LambdaFunctionScheduleFailedEventDetails"}, "lambdaFunctionScheduledEventDetails":{"shape":"LambdaFunctionScheduledEventDetails"}, "lambdaFunctionStartFailedEventDetails":{ "shape":"LambdaFunctionStartFailedEventDetails", "documentation":"

Contains details about a lambda function that failed to start during an execution.

" }, "lambdaFunctionSucceededEventDetails":{ "shape":"LambdaFunctionSucceededEventDetails", "documentation":"

Contains details about a Lambda function that terminated successfully during an execution.

" }, "lambdaFunctionTimedOutEventDetails":{"shape":"LambdaFunctionTimedOutEventDetails"}, "stateEnteredEventDetails":{"shape":"StateEnteredEventDetails"}, "stateExitedEventDetails":{"shape":"StateExitedEventDetails"}, "mapRunStartedEventDetails":{ "shape":"MapRunStartedEventDetails", "documentation":"

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.

" }, "mapRunFailedEventDetails":{ "shape":"MapRunFailedEventDetails", "documentation":"

Contains error and cause details about a Map Run that failed.

" }, "mapRunRedrivenEventDetails":{ "shape":"MapRunRedrivenEventDetails", "documentation":"

Contains details about the redrive attempt of a Map Run.

" } }, "documentation":"

Contains details about the events of an execution.

" }, "HistoryEventExecutionDataDetails":{ "type":"structure", "members":{ "truncated":{ "shape":"truncated", "documentation":"

Indicates whether input or output was truncated in the response. Always `false` for API calls.

" } }, "documentation":"

Provides details about input or output in an execution history event.

" }, "HistoryEventList":{ "type":"list", "member":{"shape":"HistoryEvent"}, "documentation":"

Contains details about the events that occurred during an execution.

" }, "HistoryEventType":{ "type":"string", "enum":[ "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", "ExecutionRedriven", "MapRunRedriven" ] }, "Identity":{ "type":"string", "max":256 }, "IncludeExecutionData":{"type":"boolean"}, "IncludeExecutionDataGetExecutionHistory":{ "type":"boolean", "box":true }, "InspectionData":{ "type":"structure", "members":{ "input":{ "shape":"SensitiveData", "documentation":"

The raw state input.

" }, "afterInputPath":{ "shape":"SensitiveData", "documentation":"

The input after Step Functions applies the InputPath filter.

" }, "afterParameters":{ "shape":"SensitiveData", "documentation":"

The effective input after Step Functions applies the Parameters filter.

" }, "result":{ "shape":"SensitiveData", "documentation":"

The state's raw result.

" }, "afterResultSelector":{ "shape":"SensitiveData", "documentation":"

The effective result after Step Functions applies the ResultSelector filter.

" }, "afterResultPath":{ "shape":"SensitiveData", "documentation":"

The effective result combined with the raw state input after Step Functions applies the ResultPath filter.

" }, "request":{ "shape":"InspectionDataRequest", "documentation":"

The raw HTTP request that is sent when you test an HTTP Task.

" }, "response":{ "shape":"InspectionDataResponse", "documentation":"

The raw HTTP response that is returned when you test an HTTP Task.

" } }, "documentation":"

Contains additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information.

", "sensitive":true }, "InspectionDataRequest":{ "type":"structure", "members":{ "protocol":{ "shape":"HTTPProtocol", "documentation":"

The protocol used to make the HTTP request.

" }, "method":{ "shape":"HTTPMethod", "documentation":"

The HTTP method used for the HTTP request.

" }, "url":{ "shape":"URL", "documentation":"

The API endpoint used for the HTTP request.

" }, "headers":{ "shape":"HTTPHeaders", "documentation":"

The request headers associated with the HTTP request.

" }, "body":{ "shape":"HTTPBody", "documentation":"

The request body for the HTTP request.

" } }, "documentation":"

Contains additional details about the state's execution, including its input and output data processing flow, and HTTP request information.

" }, "InspectionDataResponse":{ "type":"structure", "members":{ "protocol":{ "shape":"HTTPProtocol", "documentation":"

The protocol used to return the HTTP response.

" }, "statusCode":{ "shape":"HTTPStatusCode", "documentation":"

The HTTP response status code for the HTTP response.

" }, "statusMessage":{ "shape":"HTTPStatusMessage", "documentation":"

The message associated with the HTTP status code.

" }, "headers":{ "shape":"HTTPHeaders", "documentation":"

The response headers associated with the HTTP response.

" }, "body":{ "shape":"HTTPBody", "documentation":"

The HTTP response returned.

" } }, "documentation":"

Contains additional details about the state's execution, including its input and output data processing flow, and HTTP response information. The `inspectionLevel` request parameter specifies which details are returned.

" }, "InspectionLevel":{ "type":"string", "enum":[ "INFO", "DEBUG", "TRACE" ] }, "InvalidArn":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The provided Amazon Resource Name (ARN) is not valid.

", "exception":true }, "InvalidDefinition":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The provided Amazon States Language definition is not valid.

", "exception":true }, "InvalidExecutionInput":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The provided JSON input data is not valid.

", "exception":true }, "InvalidLoggingConfiguration":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

", "exception":true }, "InvalidName":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The provided name is not valid.

", "exception":true }, "InvalidOutput":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The provided JSON output data is not valid.

", "exception":true }, "InvalidToken":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The provided token is not valid.

", "exception":true }, "InvalidTracingConfiguration":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

Your `tracingConfiguration` key does not match, or `enabled` has not been set to `true` or `false`.

", "exception":true }, "LambdaFunctionFailedEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about a Lambda function that failed during an execution.

" }, "LambdaFunctionScheduleFailedEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about a failed Lambda function schedule event that occurred during an execution.

" }, "LambdaFunctionScheduledEventDetails":{ "type":"structure", "required":["resource"], "members":{ "resource":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the scheduled Lambda function.

" }, "input":{ "shape":"SensitiveData", "documentation":"

The JSON data input to the Lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "inputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about input for an execution history event.

" }, "timeoutInSeconds":{ "shape":"TimeoutInSeconds", "documentation":"

The maximum allowed duration of the Lambda function.

", "box":true }, "taskCredentials":{ "shape":"TaskCredentials", "documentation":"

The credentials that Step Functions uses for the task.

" } }, "documentation":"

Contains details about a Lambda function scheduled during an execution.

" }, "LambdaFunctionStartFailedEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about a lambda function that failed to start during an execution.

" }, "LambdaFunctionSucceededEventDetails":{ "type":"structure", "members":{ "output":{ "shape":"SensitiveData", "documentation":"

The JSON data output by the Lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "outputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about the output of an execution history event.

" } }, "documentation":"

Contains details about a Lambda function that successfully terminated during an execution.

" }, "LambdaFunctionTimedOutEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the timeout.

" } }, "documentation":"

Contains details about a Lambda function timeout that occurred during an execution.

" }, "ListActivitiesInput":{ "type":"structure", "members":{ "maxResults":{ "shape":"PageSize", "documentation":"

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.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" } } }, "ListActivitiesOutput":{ "type":"structure", "required":["activities"], "members":{ "activities":{ "shape":"ActivityList", "documentation":"

The list of activities.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" } } }, "ListExecutionsInput":{ "type":"structure", "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

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.

You can also return a list of executions associated with a specific alias or version, by specifying an alias ARN or a version ARN in the `stateMachineArn` parameter.

" }, "statusFilter":{ "shape":"ExecutionStatus", "documentation":"

If specified, only list the executions whose current execution status matches the given filter.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

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.

" }, "nextToken":{ "shape":"ListExecutionsPageToken", "documentation":"

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.

" }, "mapRunArn":{ "shape":"LongArn", "documentation":"

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.

" }, "redriveFilter":{ "shape":"ExecutionRedriveFilter", "documentation":"

Sets a filter to list executions based on whether or not they have been redriven.

For a Distributed Map, `redriveFilter` sets a filter to list child workflow executions based on whether or not they have been redriven.

If you do not provide a `redriveFilter`, Step Functions returns a list of both redriven and non-redriven executions.

If you provide a state machine ARN in `redriveFilter`, the API returns a validation exception.

" } } }, "ListExecutionsOutput":{ "type":"structure", "required":["executions"], "members":{ "executions":{ "shape":"ExecutionList", "documentation":"

The list of matching executions.

" }, "nextToken":{ "shape":"ListExecutionsPageToken", "documentation":"

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.

" } } }, "ListExecutionsPageToken":{ "type":"string", "max":3096, "min":1 }, "ListMapRunsInput":{ "type":"structure", "required":["executionArn"], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the execution for which the Map Runs must be listed.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

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.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" } } }, "ListMapRunsOutput":{ "type":"structure", "required":["mapRuns"], "members":{ "mapRuns":{ "shape":"MapRunList", "documentation":"

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.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" } } }, "ListStateMachineAliasesInput":{ "type":"structure", "required":["stateMachineArn"], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine for which you want to list aliases.

If you specify a state machine version ARN, this API returns a list of aliases for that version.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

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.

" } } }, "ListStateMachineAliasesOutput":{ "type":"structure", "required":["stateMachineAliases"], "members":{ "stateMachineAliases":{ "shape":"StateMachineAliasList", "documentation":"

Aliases for the state machine.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" } } }, "ListStateMachineVersionsInput":{ "type":"structure", "required":["stateMachineArn"], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" }, "maxResults":{ "shape":"PageSize", "documentation":"

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.

" } } }, "ListStateMachineVersionsOutput":{ "type":"structure", "required":["stateMachineVersions"], "members":{ "stateMachineVersions":{ "shape":"StateMachineVersionList", "documentation":"

Versions for the state machine.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" } } }, "ListStateMachinesInput":{ "type":"structure", "members":{ "maxResults":{ "shape":"PageSize", "documentation":"

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.

" }, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" } } }, "ListStateMachinesOutput":{ "type":"structure", "required":["stateMachines"], "members":{ "stateMachines":{"shape":"StateMachineList"}, "nextToken":{ "shape":"PageToken", "documentation":"

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.

" } } }, "ListTagsForResourceInput":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) for the Step Functions state machine or activity.

" } } }, "ListTagsForResourceOutput":{ "type":"structure", "members":{ "tags":{ "shape":"TagList", "documentation":"

An array of tags associated with the resource.

" } } }, "LogDestination":{ "type":"structure", "members":{ "cloudWatchLogsLogGroup":{ "shape":"CloudWatchLogsLogGroup", "documentation":"

An object describing a CloudWatch log group. For more information, see AWS::Logs::LogGroup in the CloudFormation User Guide.

" } }, "documentation":"

" }, "LogDestinationList":{ "type":"list", "member":{"shape":"LogDestination"} }, "LogLevel":{ "type":"string", "enum":[ "ALL", "ERROR", "FATAL", "OFF" ] }, "LoggingConfiguration":{ "type":"structure", "members":{ "level":{ "shape":"LogLevel", "documentation":"

Defines which category of execution history events are logged.

" }, "includeExecutionData":{ "shape":"IncludeExecutionData", "documentation":"

Determines whether execution data is included in your log. When set to `false`, data is excluded.

" }, "destinations":{ "shape":"LogDestinationList", "documentation":"

An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to `OFF`.

" } }, "documentation":"

The `LoggingConfiguration` data type is used to set CloudWatch Logs options.

" }, "LongArn":{ "type":"string", "max":2000, "min":1 }, "LongObject":{"type":"long"}, "MapIterationEventDetails":{ "type":"structure", "members":{ "name":{ "shape":"Name", "documentation":"

The name of the iteration’s parent Map state.

" }, "index":{ "shape":"UnsignedInteger", "documentation":"

The index of the array belonging to the Map state iteration.

" } }, "documentation":"

Contains details about an iteration of a Map state.

" }, "MapRunExecutionCounts":{ "type":"structure", "required":[ "pending", "running", "succeeded", "failed", "timedOut", "aborted", "total", "resultsWritten" ], "members":{ "pending":{ "shape":"UnsignedLong", "documentation":"

The total number of child workflow executions that were started by a Map Run, but haven't started executing yet.

" }, "running":{ "shape":"UnsignedLong", "documentation":"

The total number of child workflow executions that were started by a Map Run and are currently in-progress.

" }, "succeeded":{ "shape":"UnsignedLong", "documentation":"

The total number of child workflow executions that were started by a Map Run and have completed successfully.

" }, "failed":{ "shape":"UnsignedLong", "documentation":"

The total number of child workflow executions that were started by a Map Run, but have failed.

" }, "timedOut":{ "shape":"UnsignedLong", "documentation":"

The total number of child workflow executions that were started by a Map Run and have timed out.

" }, "aborted":{ "shape":"UnsignedLong", "documentation":"

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.

" }, "total":{ "shape":"UnsignedLong", "documentation":"

The total number of child workflow executions that were started by a Map Run.

" }, "resultsWritten":{ "shape":"UnsignedLong", "documentation":"

Returns the count of child workflow executions whose results were written by `ResultWriter`. For more information, see ResultWriter in the Step Functions Developer Guide.

" }, "failuresNotRedrivable":{ "shape":"LongObject", "documentation":"

The number of `FAILED`, `ABORTED`, or `TIMED_OUT` child workflow executions that cannot be redriven because their execution status is terminal. For example, child workflows with an execution status of `FAILED`, `ABORTED`, or `TIMED_OUT` and a `redriveStatus` of `NOT_REDRIVABLE`.

" }, "pendingRedrive":{ "shape":"LongObject", "documentation":"

The number of unsuccessful child workflow executions currently waiting to be redriven. The status of these child workflow executions could be `FAILED`, `ABORTED`, or `TIMED_OUT` in the original execution attempt or a previous redrive attempt.

" } }, "documentation":"

Contains details about all of the child workflow executions started by a Map Run.

" }, "MapRunFailedEventDetails":{ "type":"structure", "members":{ "error":{ "shape":"SensitiveError", "documentation":"

The error code of the Map Run failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about a Map Run failure event that occurred during a state machine execution.

" }, "MapRunItemCounts":{ "type":"structure", "required":[ "pending", "running", "succeeded", "failed", "timedOut", "aborted", "total", "resultsWritten" ], "members":{ "pending":{ "shape":"UnsignedLong", "documentation":"

The total number of items to process in child workflow executions that haven't started running yet.

" }, "running":{ "shape":"UnsignedLong", "documentation":"

The total number of items being processed in child workflow executions that are currently in-progress.

" }, "succeeded":{ "shape":"UnsignedLong", "documentation":"

The total number of items processed in child workflow executions that have completed successfully.

" }, "failed":{ "shape":"UnsignedLong", "documentation":"

The total number of items processed in child workflow executions that have failed.

" }, "timedOut":{ "shape":"UnsignedLong", "documentation":"

The total number of items processed in child workflow executions that have timed out.

" }, "aborted":{ "shape":"UnsignedLong", "documentation":"

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.

" }, "total":{ "shape":"UnsignedLong", "documentation":"

The total number of items processed in all the child workflow executions started by a Map Run.

" }, "resultsWritten":{ "shape":"UnsignedLong", "documentation":"

Returns the count of items whose results were written by `ResultWriter`. For more information, see ResultWriter in the Step Functions Developer Guide.

" }, "failuresNotRedrivable":{ "shape":"LongObject", "documentation":"

The number of `FAILED`, `ABORTED`, or `TIMED_OUT` items in child workflow executions that cannot be redriven because the execution status of those child workflows is terminal. For example, child workflows with an execution status of `FAILED`, `ABORTED`, or `TIMED_OUT` and a `redriveStatus` of `NOT_REDRIVABLE`.

" }, "pendingRedrive":{ "shape":"LongObject", "documentation":"

The number of unsuccessful items in child workflow executions currently waiting to be redriven.

" } }, "documentation":"

Contains details about items that were processed in all of the child workflow executions that were started by a Map Run.

" }, "MapRunLabel":{"type":"string"}, "MapRunList":{ "type":"list", "member":{"shape":"MapRunListItem"} }, "MapRunListItem":{ "type":"structure", "required":[ "executionArn", "mapRunArn", "stateMachineArn", "startDate" ], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The `executionArn` of the execution from which the Map Run was started.

" }, "mapRunArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) of the Map Run.

" }, "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the executed state machine.

" }, "startDate":{ "shape":"Timestamp", "documentation":"

The date on which the Map Run started.

" }, "stopDate":{ "shape":"Timestamp", "documentation":"

The date on which the Map Run stopped.

" } }, "documentation":"

Contains details about a specific Map Run.

" }, "MapRunRedrivenEventDetails":{ "type":"structure", "members":{ "mapRunArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) of a Map Run that was redriven.

" }, "redriveCount":{ "shape":"RedriveCount", "documentation":"

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.

" } }, "documentation":"

Contains details about a Map Run that was redriven.

" }, "MapRunStartedEventDetails":{ "type":"structure", "members":{ "mapRunArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) of a Map Run that was started.

" } }, "documentation":"

Contains details about a Map Run that was started during a state machine execution.

" }, "MapRunStatus":{ "type":"string", "enum":[ "RUNNING", "SUCCEEDED", "FAILED", "ABORTED" ] }, "MapStateStartedEventDetails":{ "type":"structure", "members":{ "length":{ "shape":"UnsignedInteger", "documentation":"

The size of the array for Map state iterations.

" } }, "documentation":"

Details about a Map state that was started.

" }, "MaxConcurrency":{ "type":"integer", "min":0 }, "MissingRequiredParameter":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

Request is missing a required parameter. This error occurs if both `definition` and `roleArn` are not specified.

", "exception":true }, "Name":{ "type":"string", "max":80, "min":1 }, "PageSize":{ "type":"integer", "max":1000, "min":0 }, "PageToken":{ "type":"string", "max":1024, "min":1 }, "Publish":{"type":"boolean"}, "PublishStateMachineVersionInput":{ "type":"structure", "required":["stateMachineArn"], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine.

" }, "revisionId":{ "shape":"RevisionId", "documentation":"

Only publish the state machine version if the current state machine's revision ID matches the specified ID.

Use this option to avoid publishing a version if the state machine changed since you last updated it. If the specified revision ID doesn't match the state machine's current revision ID, the API returns `ConflictException`.

To specify an initial revision ID for a state machine with no revision ID assigned, specify the string `INITIAL` for the `revisionId` parameter. For example, you can specify a `revisionID` of `INITIAL` when you create a state machine using the CreateStateMachine API action.

" }, "description":{ "shape":"VersionDescription", "documentation":"

An optional description of the state machine version.

" } } }, "PublishStateMachineVersionOutput":{ "type":"structure", "required":[ "creationDate", "stateMachineVersionArn" ], "members":{ "creationDate":{ "shape":"Timestamp", "documentation":"

The date the version was created.

" }, "stateMachineVersionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) (ARN) that identifies the state machine version.

" } } }, "RedriveCount":{ "type":"integer", "box":true }, "RedriveExecutionInput":{ "type":"structure", "required":["executionArn"], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the execution to be redriven.

" }, "clientToken":{ "shape":"ClientToken", "documentation":"

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 will return idempotent responses for the last 10 client tokens used to successfully redrive the execution. These client tokens are valid for up to 15 minutes after they are first used.

", "idempotencyToken":true } } }, "RedriveExecutionOutput":{ "type":"structure", "required":["redriveDate"], "members":{ "redriveDate":{ "shape":"Timestamp", "documentation":"

The date the execution was last redriven.

" } } }, "ResourceNotFound":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"}, "resourceName":{"shape":"Arn"} }, "documentation":"

Could not find the referenced resource.

", "exception":true }, "RevealSecrets":{"type":"boolean"}, "ReverseOrder":{"type":"boolean"}, "RevisionId":{"type":"string"}, "RoutingConfigurationList":{ "type":"list", "member":{"shape":"RoutingConfigurationListItem"}, "max":2, "min":1 }, "RoutingConfigurationListItem":{ "type":"structure", "required":[ "stateMachineVersionArn", "weight" ], "members":{ "stateMachineVersionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.

If you specify the ARN of a second version, it must belong to the same state machine as the first version.

" }, "weight":{ "shape":"VersionWeight", "documentation":"

The percentage of traffic you want to route to a state machine version. The sum of the weights in the routing configuration must be equal to 100.

" } }, "documentation":"

Contains details about the routing configuration of a state machine alias. In a routing configuration, you define an array of objects that specify up to two state machine versions. You also specify the percentage of traffic to be routed to each version.

" }, "SendTaskFailureInput":{ "type":"structure", "required":["taskToken"], "members":{ "taskToken":{ "shape":"TaskToken", "documentation":"

The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

" }, "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } } }, "SendTaskFailureOutput":{ "type":"structure", "members":{ } }, "SendTaskHeartbeatInput":{ "type":"structure", "required":["taskToken"], "members":{ "taskToken":{ "shape":"TaskToken", "documentation":"

The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

" } } }, "SendTaskHeartbeatOutput":{ "type":"structure", "members":{ } }, "SendTaskSuccessInput":{ "type":"structure", "required":[ "taskToken", "output" ], "members":{ "taskToken":{ "shape":"TaskToken", "documentation":"

The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

" }, "output":{ "shape":"SensitiveData", "documentation":"

The JSON output of the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" } } }, "SendTaskSuccessOutput":{ "type":"structure", "members":{ } }, "SensitiveCause":{ "type":"string", "max":32768, "min":0, "sensitive":true }, "SensitiveData":{ "type":"string", "max":262144, "sensitive":true }, "SensitiveDataJobInput":{ "type":"string", "max":262144, "sensitive":true }, "SensitiveError":{ "type":"string", "max":256, "min":0, "sensitive":true }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The request would cause a service quota to be exceeded.

HTTP Status Code: 402

", "exception":true }, "StartExecutionInput":{ "type":"structure", "required":["stateMachineArn"], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine to execute.

The `stateMachineArn` parameter accepts one of the following inputs:

- An unqualified state machine ARN – Refers to a state machine ARN that isn't qualified with a version or alias ARN. The following is an example of an unqualified state machine ARN.

  `arn:<partition>:states:<region>:<account-id>:stateMachine:<myStateMachine>`

  Step Functions doesn't associate state machine executions that you start with an unqualified ARN with a version. This is true even if that version uses the same revision that the execution used.

- A state machine version ARN – Refers to a version ARN, which is a combination of state machine ARN and the version number separated by a colon (:). The following is an example of the ARN for version 10.

  `arn:<partition>:states:<region>:<account-id>:stateMachine:<myStateMachine>:10`

  Step Functions doesn't associate executions that you start with a version ARN with any aliases that point to that version.

- A state machine alias ARN – Refers to an alias ARN, which is a combination of state machine ARN and the alias name separated by a colon (:). The following is an example of the ARN for an alias named `PROD`.

  `arn:<partition>:states:<region>:<account-id>:stateMachine:<myStateMachine:PROD>`

  Step Functions associates executions that you start with an alias ARN with that alias and the state machine version used for that execution.

" }, "name":{ "shape":"Name", "documentation":"

Optional name of the execution. This name must be unique for your Amazon Web Services account, Region, and state machine for 90 days. For more information, see Limits Related to State Machine Executions in the Step Functions Developer Guide.

If you don't provide a name for the execution, Step Functions automatically generates a universally unique identifier (UUID) as the execution name.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "input":{ "shape":"SensitiveData", "documentation":"

The string that contains the JSON input data for the execution, for example:

`\"input\": \"{\\\"first_name\\\" : \\\"test\\\"}\"`

If you don't include any JSON input data, you still must include the two braces, for example: `\"input\": \"{}\"`

Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "traceHeader":{ "shape":"TraceHeader", "documentation":"

Passes the X-Ray trace header. The trace header can also be passed in the request payload.

" } } }, "StartExecutionOutput":{ "type":"structure", "required":[ "executionArn", "startDate" ], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the execution.

" }, "startDate":{ "shape":"Timestamp", "documentation":"

The date the execution is started.

" } } }, "StartSyncExecutionInput":{ "type":"structure", "required":["stateMachineArn"], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine to execute.

" }, "name":{ "shape":"Name", "documentation":"

The name of the execution.

" }, "input":{ "shape":"SensitiveData", "documentation":"

The string that contains the JSON input data for the execution, for example:

`\"input\": \"{\\\"first_name\\\" : \\\"test\\\"}\"`

If you don't include any JSON input data, you still must include the two braces, for example: `\"input\": \"{}\"`

Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "traceHeader":{ "shape":"TraceHeader", "documentation":"

Passes the X-Ray trace header. The trace header can also be passed in the request payload.

" } } }, "StartSyncExecutionOutput":{ "type":"structure", "required":[ "executionArn", "startDate", "stopDate", "status" ], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the execution.

" }, "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the state machine.

" }, "name":{ "shape":"Name", "documentation":"

The name of the execution.

" }, "startDate":{ "shape":"Timestamp", "documentation":"

The date the execution is started.

" }, "stopDate":{ "shape":"Timestamp", "documentation":"

If the execution has already ended, the date the execution stopped.

" }, "status":{ "shape":"SyncExecutionStatus", "documentation":"

The current status of the execution.

" }, "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" }, "input":{ "shape":"SensitiveData", "documentation":"

The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "inputDetails":{"shape":"CloudWatchEventsExecutionDataDetails"}, "output":{ "shape":"SensitiveData", "documentation":"

The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

This field is set only if the execution succeeds. If the execution fails, this field is null.

" }, "outputDetails":{"shape":"CloudWatchEventsExecutionDataDetails"}, "traceHeader":{ "shape":"TraceHeader", "documentation":"

The X-Ray trace header that was passed to the execution.

" }, "billingDetails":{ "shape":"BillingDetails", "documentation":"

An object that describes workflow billing details, including billed duration and memory use.

" } } }, "StateEnteredEventDetails":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"Name", "documentation":"

The name of the state.

" }, "input":{ "shape":"SensitiveData", "documentation":"

The string that contains the JSON input data for the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "inputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about the input for an execution history event.

" } }, "documentation":"

Contains details about a state entered during an execution.

" }, "StateExitedEventDetails":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"Name", "documentation":"

The name of the state.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "output":{ "shape":"SensitiveData", "documentation":"

The JSON output data of the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "outputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about the output of an execution history event.

" } }, "documentation":"

Contains details about an exit from a state during an execution.

" }, "StateMachineAliasList":{ "type":"list", "member":{"shape":"StateMachineAliasListItem"} }, "StateMachineAliasListItem":{ "type":"structure", "required":[ "stateMachineAliasArn", "creationDate" ], "members":{ "stateMachineAliasArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) that identifies a state machine alias. The alias ARN is a combination of state machine ARN and the alias name separated by a colon (:). For example, `stateMachineARN:PROD`.

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The creation date of a state machine alias.

" } }, "documentation":"

Contains details about a specific state machine alias.

" }, "StateMachineAlreadyExists":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

A state machine with the same name but a different definition or role ARN already exists.

", "exception":true }, "StateMachineDeleting":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The specified state machine is being deleted.

", "exception":true }, "StateMachineDoesNotExist":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The specified state machine does not exist.

", "exception":true }, "StateMachineLimitExceeded":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The maximum number of state machines has been reached. Existing state machines must be deleted before a new state machine can be created.

", "exception":true }, "StateMachineList":{ "type":"list", "member":{"shape":"StateMachineListItem"} }, "StateMachineListItem":{ "type":"structure", "required":[ "stateMachineArn", "name", "type", "creationDate" ], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) that identifies the state machine.

" }, "name":{ "shape":"Name", "documentation":"

The name of the state machine.

A name must not contain:

- white space

- brackets `< > { } [ ]`

- wildcard characters `? *`

- special characters `\" # % \\ ^ | ~ ` $ & , ; : /`

- control characters (`U+0000-001F`, `U+007F-009F`)

To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

" }, "type":{ "shape":"StateMachineType", "documentation":"

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The date the state machine is created.

" } }, "documentation":"

Contains details about the state machine.

" }, "StateMachineStatus":{ "type":"string", "enum":[ "ACTIVE", "DELETING" ] }, "StateMachineType":{ "type":"string", "enum":[ "STANDARD", "EXPRESS" ] }, "StateMachineTypeNotSupported":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

", "exception":true }, "StateMachineVersionList":{ "type":"list", "member":{"shape":"StateMachineVersionListItem"} }, "StateMachineVersionListItem":{ "type":"structure", "required":[ "stateMachineVersionArn", "creationDate" ], "members":{ "stateMachineVersionArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) that identifies a state machine version. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example, `stateMachineARN:1`.

" }, "creationDate":{ "shape":"Timestamp", "documentation":"

The creation date of a state machine version.

" } }, "documentation":"

Contains details about a specific state machine version.

" }, "StateName":{ "type":"string", "max":80, "min":1 }, "StopExecutionInput":{ "type":"structure", "required":["executionArn"], "members":{ "executionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the execution to stop.

" }, "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } } }, "StopExecutionOutput":{ "type":"structure", "required":["stopDate"], "members":{ "stopDate":{ "shape":"Timestamp", "documentation":"

The date the execution is stopped.

" } } }, "SyncExecutionStatus":{ "type":"string", "enum":[ "SUCCEEDED", "FAILED", "TIMED_OUT" ] }, "Tag":{ "type":"structure", "members":{ "key":{ "shape":"TagKey", "documentation":"

The key of a tag.

" }, "value":{ "shape":"TagValue", "documentation":"

The value of a tag.

" } }, "documentation":"

Tags are key-value pairs that can be associated with Step Functions state machines and activities.

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.

Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - @`.

" }, "TagKey":{ "type":"string", "max":128, "min":1 }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"} }, "TagList":{ "type":"list", "member":{"shape":"Tag"} }, "TagResourceInput":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) for the Step Functions state machine or activity.

" }, "tags":{ "shape":"TagList", "documentation":"

The list of tags to add to a resource.

Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - @`.

" } } }, "TagResourceOutput":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256, "min":0 }, "TaskCredentials":{ "type":"structure", "members":{ "roleArn":{ "shape":"LongArn", "documentation":"

The ARN of an IAM role that Step Functions assumes for the task. The role can allow cross-account access to resources.

" } }, "documentation":"

Contains details about the credentials that Step Functions uses for a task.

" }, "TaskDoesNotExist":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The activity does not exist.

", "exception":true }, "TaskFailedEventDetails":{ "type":"structure", "required":[ "resourceType", "resource" ], "members":{ "resourceType":{ "shape":"Name", "documentation":"

The service name of the resource in a task state.

" }, "resource":{ "shape":"Name", "documentation":"

The action of the resource called by a task state.

" }, "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about a task failure event.

" }, "TaskScheduledEventDetails":{ "type":"structure", "required":[ "resourceType", "resource", "region", "parameters" ], "members":{ "resourceType":{ "shape":"Name", "documentation":"

The service name of the resource in a task state.

" }, "resource":{ "shape":"Name", "documentation":"

The action of the resource called by a task state.

" }, "region":{ "shape":"Name", "documentation":"

The region of the scheduled task

" }, "parameters":{ "shape":"ConnectorParameters", "documentation":"

The JSON data passed to the resource referenced in a task state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "timeoutInSeconds":{ "shape":"TimeoutInSeconds", "documentation":"

The maximum allowed duration of the task.

", "box":true }, "heartbeatInSeconds":{ "shape":"TimeoutInSeconds", "documentation":"

The maximum allowed duration between two heartbeats for the task.

", "box":true }, "taskCredentials":{ "shape":"TaskCredentials", "documentation":"

The credentials that Step Functions uses for the task.

" } }, "documentation":"

Contains details about a task scheduled during an execution.

" }, "TaskStartFailedEventDetails":{ "type":"structure", "required":[ "resourceType", "resource" ], "members":{ "resourceType":{ "shape":"Name", "documentation":"

The service name of the resource in a task state.

" }, "resource":{ "shape":"Name", "documentation":"

The action of the resource called by a task state.

" }, "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about a task that failed to start during an execution.

" }, "TaskStartedEventDetails":{ "type":"structure", "required":[ "resourceType", "resource" ], "members":{ "resourceType":{ "shape":"Name", "documentation":"

The service name of the resource in a task state.

" }, "resource":{ "shape":"Name", "documentation":"

The action of the resource called by a task state.

" } }, "documentation":"

Contains details about the start of a task during an execution.

" }, "TaskSubmitFailedEventDetails":{ "type":"structure", "required":[ "resourceType", "resource" ], "members":{ "resourceType":{ "shape":"Name", "documentation":"

The service name of the resource in a task state.

" }, "resource":{ "shape":"Name", "documentation":"

The action of the resource called by a task state.

" }, "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about a task that failed to submit during an execution.

" }, "TaskSubmittedEventDetails":{ "type":"structure", "required":[ "resourceType", "resource" ], "members":{ "resourceType":{ "shape":"Name", "documentation":"

The service name of the resource in a task state.

" }, "resource":{ "shape":"Name", "documentation":"

The action of the resource called by a task state.

" }, "output":{ "shape":"SensitiveData", "documentation":"

The response from a resource when a task has started. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "outputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about the output of an execution history event.

" } }, "documentation":"

Contains details about a task submitted to a resource .

" }, "TaskSucceededEventDetails":{ "type":"structure", "required":[ "resourceType", "resource" ], "members":{ "resourceType":{ "shape":"Name", "documentation":"

The service name of the resource in a task state.

" }, "resource":{ "shape":"Name", "documentation":"

The action of the resource called by a task state.

" }, "output":{ "shape":"SensitiveData", "documentation":"

The full JSON response from a resource when a task has succeeded. This response becomes the output of the related task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "outputDetails":{ "shape":"HistoryEventExecutionDataDetails", "documentation":"

Contains details about the output of an execution history event.

" } }, "documentation":"

Contains details about the successful completion of a task state.

" }, "TaskTimedOut":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"} }, "documentation":"

The task token has either expired or the task associated with the token has already been closed.

", "exception":true }, "TaskTimedOutEventDetails":{ "type":"structure", "required":[ "resourceType", "resource" ], "members":{ "resourceType":{ "shape":"Name", "documentation":"

The service name of the resource in a task state.

" }, "resource":{ "shape":"Name", "documentation":"

The action of the resource called by a task state.

" }, "error":{ "shape":"SensitiveError", "documentation":"

The error code of the failure.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A more detailed explanation of the cause of the failure.

" } }, "documentation":"

Contains details about a resource timeout that occurred during an execution.

" }, "TaskToken":{ "type":"string", "max":1024, "min":1 }, "TestExecutionStatus":{ "type":"string", "enum":[ "SUCCEEDED", "FAILED", "RETRIABLE", "CAUGHT_ERROR" ] }, "TestStateInput":{ "type":"structure", "required":[ "definition", "roleArn" ], "members":{ "definition":{ "shape":"Definition", "documentation":"

The Amazon States Language (ASL) definition of the state.

" }, "roleArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.

" }, "input":{ "shape":"SensitiveData", "documentation":"

A string that contains the JSON input data for the state.

" }, "inspectionLevel":{ "shape":"InspectionLevel", "documentation":"

Determines the values to return when a state is tested. You can specify one of the following types:

- `INFO`: Shows the final state output. By default, Step Functions sets `inspectionLevel` to `INFO` if you don't specify a level.

- `DEBUG`: Shows the final state output along with the input and output data processing result.

- `TRACE`: Shows the HTTP request and response for an HTTP Task. This level also shows the final state output along with the input and output data processing result.

Each of these levels also provide information about the status of the state execution and the next state to transition to.

" }, "revealSecrets":{ "shape":"RevealSecrets", "documentation":"

Specifies whether or not to include secret information in the test result. For HTTP Tasks, a secret includes the data that an EventBridge connection adds to modify the HTTP request headers, query parameters, and body. Step Functions doesn't omit any information included in the state definition or the HTTP response.

If you set `revealSecrets` to `true`, you must make sure that the IAM user that calls the `TestState` API has permission for the `states:RevealSecrets` action. For an example of IAM policy that sets the `states:RevealSecrets` permission, see IAM permissions to test a state. Without this permission, Step Functions throws an access denied error.

By default, `revealSecrets` is set to `false`.

" } } }, "TestStateOutput":{ "type":"structure", "members":{ "output":{ "shape":"SensitiveData", "documentation":"

The JSON output data of the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.

" }, "error":{ "shape":"SensitiveError", "documentation":"

The error returned when the execution of a state fails.

" }, "cause":{ "shape":"SensitiveCause", "documentation":"

A detailed explanation of the cause for the error when the execution of a state fails.

" }, "inspectionData":{ "shape":"InspectionData", "documentation":"

Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information. The `inspectionLevel` request parameter specifies which details are returned.

" }, "nextState":{ "shape":"StateName", "documentation":"

The name of the next state to transition to. If you haven't defined a next state in your definition or if the execution of the state fails, this ﬁeld doesn't contain a value.

" }, "status":{ "shape":"TestExecutionStatus", "documentation":"

The execution status of the state.

" } } }, "TimeoutInSeconds":{"type":"long"}, "Timestamp":{"type":"timestamp"}, "ToleratedFailureCount":{ "type":"long", "min":0 }, "ToleratedFailurePercentage":{ "type":"float", "max":100, "min":0 }, "TooManyTags":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"}, "resourceName":{"shape":"Arn"} }, "documentation":"

You've exceeded the number of tags allowed for a resource. See the Limits Topic in the Step Functions Developer Guide.

", "exception":true }, "TraceHeader":{ "type":"string", "max":256, "min":0, "pattern":"\\p{ASCII}*" }, "TracingConfiguration":{ "type":"structure", "members":{ "enabled":{ "shape":"Enabled", "documentation":"

When set to `true`, X-Ray tracing is enabled.

" } }, "documentation":"

Selects whether or not the state machine's X-Ray tracing is enabled. Default is `false`

" }, "URL":{"type":"string"}, "UnsignedInteger":{ "type":"integer", "min":0 }, "UnsignedLong":{ "type":"long", "min":0 }, "UntagResourceInput":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) for the Step Functions state machine or activity.

" }, "tagKeys":{ "shape":"TagKeyList", "documentation":"

The list of tags to remove from the resource.

" } } }, "UntagResourceOutput":{ "type":"structure", "members":{ } }, "UpdateMapRunInput":{ "type":"structure", "required":["mapRunArn"], "members":{ "mapRunArn":{ "shape":"LongArn", "documentation":"

The Amazon Resource Name (ARN) of a Map Run.

" }, "maxConcurrency":{ "shape":"MaxConcurrency", "documentation":"

The maximum number of child workflow executions that can be specified to run in parallel for the Map Run at the same time.

", "box":true }, "toleratedFailurePercentage":{ "shape":"ToleratedFailurePercentage", "documentation":"

The maximum percentage of failed items before the Map Run fails.

", "box":true }, "toleratedFailureCount":{ "shape":"ToleratedFailureCount", "documentation":"

The maximum number of failed items before the Map Run fails.

", "box":true } } }, "UpdateMapRunOutput":{ "type":"structure", "members":{ } }, "UpdateStateMachineAliasInput":{ "type":"structure", "required":["stateMachineAliasArn"], "members":{ "stateMachineAliasArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine alias.

" }, "description":{ "shape":"AliasDescription", "documentation":"

A description of the state machine alias.

" }, "routingConfiguration":{ "shape":"RoutingConfigurationList", "documentation":"

The routing configuration of the state machine alias.

An array of `RoutingConfig` objects that specifies up to two state machine versions that the alias starts executions for.

" } } }, "UpdateStateMachineAliasOutput":{ "type":"structure", "required":["updateDate"], "members":{ "updateDate":{ "shape":"Timestamp", "documentation":"

The date and time the state machine alias was updated.

" } } }, "UpdateStateMachineInput":{ "type":"structure", "required":["stateMachineArn"], "members":{ "stateMachineArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the state machine.

" }, "definition":{ "shape":"Definition", "documentation":"

The Amazon States Language definition of the state machine. See Amazon States Language.

" }, "roleArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the IAM role of the state machine.

" }, "loggingConfiguration":{ "shape":"LoggingConfiguration", "documentation":"

Use the `LoggingConfiguration` data type to set CloudWatch Logs options.

" }, "tracingConfiguration":{ "shape":"TracingConfiguration", "documentation":"

Selects whether X-Ray tracing is enabled.

" }, "publish":{ "shape":"Publish", "documentation":"

Specifies whether the state machine version is published. The default is `false`. To publish a version after updating the state machine, set `publish` to `true`.

" }, "versionDescription":{ "shape":"VersionDescription", "documentation":"

An optional description of the state machine version to publish.

You can only specify the `versionDescription` parameter if you've set `publish` to `true`.

" } } }, "UpdateStateMachineOutput":{ "type":"structure", "required":["updateDate"], "members":{ "updateDate":{ "shape":"Timestamp", "documentation":"

The date and time the state machine was updated.

" }, "revisionId":{ "shape":"RevisionId", "documentation":"

The revision identifier for the updated state machine.

" }, "stateMachineVersionArn":{ "shape":"Arn", "documentation":"

The Amazon Resource Name (ARN) of the published state machine version.

If the `publish` parameter isn't set to `true`, this field returns null.

" } } }, "ValidationException":{ "type":"structure", "members":{ "message":{"shape":"ErrorMessage"}, "reason":{ "shape":"ValidationExceptionReason", "documentation":"

The input does not satisfy the constraints specified by an Amazon Web Services service.

" } }, "documentation":"

The input does not satisfy the constraints specified by an Amazon Web Services service.

", "exception":true }, "ValidationExceptionReason":{ "type":"string", "enum":[ "API_DOES_NOT_SUPPORT_LABELED_ARNS", "MISSING_REQUIRED_PARAMETER", "CANNOT_UPDATE_COMPLETED_MAP_RUN", "INVALID_ROUTING_CONFIGURATION" ] }, "VersionDescription":{ "type":"string", "max":256, "sensitive":true }, "VersionWeight":{ "type":"integer", "max":100, "min":0 }, "includedDetails":{"type":"boolean"}, "truncated":{"type":"boolean"} }, "documentation":"Step Functions

Step Functions is a service that lets you coordinate the components of distributed applications and microservices using visual workflows.

You can use Step Functions to build applications from individual components, each of which performs a discrete function, or task, allowing you to scale and change applications quickly. Step Functions provides a console that helps visualize the components of your application as a series of steps. Step Functions automatically triggers and tracks each step, and retries steps when there are errors, so your application executes predictably and in the right order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any issues.

Step Functions manages operations and underlying infrastructure to ensure your application is available at any scale. You can run tasks on Amazon Web Services, your own servers, or any system that has access to Amazon Web Services. You can access and use Step Functions using the console, the Amazon Web Services SDKs, or an HTTP API. For more information about Step Functions, see the Step Functions Developer Guide .

If you use the Step Functions API actions using Amazon Web Services SDK integrations, make sure the API actions are in camel case and parameter names are in Pascal case. For example, you could use Step Functions API action `startSyncExecution` and specify its parameter as `StateMachineArn`.

" }