Class Errors
Predefined error strings Error names in Amazon States Language - https://states-language.net/spec.html#appendix-a Error handling in Step Functions - https://docs.aws.amazon.com/step-functions/latest/dg/concepts-error-handling.html.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.AWS.StepFunctions.dll
Syntax (csharp)
public class Errors : DeputyBase
Syntax (vb)
Public Class Errors
Inherits DeputyBase
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
var errors = new Errors();
Synopsis
Constructors
Errors() | |
Errors(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Errors(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ALL | Matches any Error. |
BRANCH_FAILED | A branch of a Parallel state failed. |
HEARTBEAT_TIMEOUT | A Task State failed to heartbeat for a time longer than the “HeartbeatSeconds” value. |
NO_CHOICE_MATCHED | A Choice state failed to find a match for the condition field extracted from its input. |
PARAMETER_PATH_FAILURE | Within a state’s “Parameters” field, the attempt to replace a field whose name ends in “.$” using a Path failed. |
PERMISSIONS | A Task State failed because it had insufficient privileges to execute the specified code. |
RESULT_PATH_MATCH_FAILURE | A Task State’s “ResultPath” field cannot be applied to the input the state received. |
TASKS_FAILED | A Task State failed during the execution. |
TIMEOUT | A Task State either ran longer than the “TimeoutSeconds” value, or failed to heartbeat for a time longer than the “HeartbeatSeconds” value. |
Constructors
Errors()
public Errors()
Errors(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Errors(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Errors(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Errors(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ALL
Matches any Error.
public static string ALL { get; }
Property Value
System.String
BRANCH_FAILED
A branch of a Parallel state failed.
public static string BRANCH_FAILED { get; }
Property Value
System.String
HEARTBEAT_TIMEOUT
A Task State failed to heartbeat for a time longer than the “HeartbeatSeconds” value.
public static string HEARTBEAT_TIMEOUT { get; }
Property Value
System.String
NO_CHOICE_MATCHED
A Choice state failed to find a match for the condition field extracted from its input.
public static string NO_CHOICE_MATCHED { get; }
Property Value
System.String
PARAMETER_PATH_FAILURE
Within a state’s “Parameters” field, the attempt to replace a field whose name ends in “.$” using a Path failed.
public static string PARAMETER_PATH_FAILURE { get; }
Property Value
System.String
PERMISSIONS
A Task State failed because it had insufficient privileges to execute the specified code.
public static string PERMISSIONS { get; }
Property Value
System.String
RESULT_PATH_MATCH_FAILURE
A Task State’s “ResultPath” field cannot be applied to the input the state received.
public static string RESULT_PATH_MATCH_FAILURE { get; }
Property Value
System.String
TASKS_FAILED
A Task State failed during the execution.
public static string TASKS_FAILED { get; }
Property Value
System.String
TIMEOUT
A Task State either ran longer than the “TimeoutSeconds” value, or failed to heartbeat for a time longer than the “HeartbeatSeconds” value.
public static string TIMEOUT { get; }
Property Value
System.String