MockErrorOutput - AWS Step Functions

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: