Class Errors
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.Errors
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.904Z")
@Stability(Stable)
public class Errors
extends software.amazon.jsii.JsiiObject
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.stepfunctions.*; Errors errors = new Errors();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMatches any Error.static final StringA branch of a Parallel state failed.static final StringA Task State failed to heartbeat for a time longer than the “HeartbeatSeconds” value.static final StringA Choice state failed to find a match for the condition field extracted from its input.static final StringWithin a state’s “Parameters” field, the attempt to replace a field whose name ends in “.$” using a Path failed.static final StringA Task State failed because it had insufficient privileges to execute the specified code.static final StringA Task State’s “ResultPath” field cannot be applied to the input the state received.static final StringA Task State failed during the execution.static final StringA Task State either ran longer than the “TimeoutSeconds” value, or failed to heartbeat for a time longer than the “HeartbeatSeconds” value. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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.
-
-
Constructor Details
-
Errors
protected Errors(software.amazon.jsii.JsiiObjectRef objRef) -
Errors
protected Errors(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Errors
@Stability(Stable) public Errors()
-