MockErrorOutput - AWS Step Functions
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

MockErrorOutput

A JSON object that contains a mocked error.

Contents

cause

A string containing the cause of the exception thrown when executing the state's logic.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 32768.

Required: No

error

A string denoting the error code of the exception thrown when invoking the tested state. This field is required if mock.errorOutput is specified.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: