Class: AWSCDK::StepFunctions::Errors
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::StepFunctions::Errors
- Defined in:
- step_functions/errors.rb
Overview
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.
Class Method Summary collapse
-
.ALL ⇒ String
Matches any Error.
-
.BRANCH_FAILED ⇒ String
A branch of a Parallel state failed.
-
.HEARTBEAT_TIMEOUT ⇒ String
A Task State failed to heartbeat for a time longer than the “HeartbeatSeconds” value.
- .jsii_overridable_methods ⇒ Object
-
.NO_CHOICE_MATCHED ⇒ String
A Choice state failed to find a match for the condition field extracted from its input.
-
.PARAMETER_PATH_FAILURE ⇒ String
Within a state’s “Parameters” field, the attempt to replace a field whose name ends in “.$” using a Path failed.
-
.PERMISSIONS ⇒ String
A Task State failed because it had insufficient privileges to execute the specified code.
-
.RESULT_PATH_MATCH_FAILURE ⇒ String
A Task State’s “ResultPath” field cannot be applied to the input the state received.
-
.TASKS_FAILED ⇒ String
A Task State failed during the execution.
-
.TIMEOUT ⇒ String
A Task State either ran longer than the “TimeoutSeconds” value, or failed to heartbeat for a time longer than the “HeartbeatSeconds” value.
Instance Method Summary collapse
-
#initialize ⇒ Errors
constructor
A new instance of Errors.
Constructor Details
#initialize ⇒ Errors
Returns a new instance of Errors.
8 9 10 |
# File 'step_functions/errors.rb', line 8 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
.ALL ⇒ String
Matches any Error.
20 21 22 |
# File 'step_functions/errors.rb', line 20 def self.ALL() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_stepfunctions.Errors", "ALL") end |
.BRANCH_FAILED ⇒ String
A branch of a Parallel state failed.
27 28 29 |
# File 'step_functions/errors.rb', line 27 def self.BRANCH_FAILED() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_stepfunctions.Errors", "BRANCH_FAILED") end |
.HEARTBEAT_TIMEOUT ⇒ String
A Task State failed to heartbeat for a time longer than the “HeartbeatSeconds” value.
34 35 36 |
# File 'step_functions/errors.rb', line 34 def self.HEARTBEAT_TIMEOUT() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_stepfunctions.Errors", "HEARTBEAT_TIMEOUT") end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 |
# File 'step_functions/errors.rb', line 12 def self.jsii_overridable_methods { } end |
.NO_CHOICE_MATCHED ⇒ String
A Choice state failed to find a match for the condition field extracted from its input.
41 42 43 |
# File 'step_functions/errors.rb', line 41 def self.NO_CHOICE_MATCHED() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_stepfunctions.Errors", "NO_CHOICE_MATCHED") end |
.PARAMETER_PATH_FAILURE ⇒ String
Within a state’s “Parameters” field, the attempt to replace a field whose name ends in “.$” using a Path failed.
48 49 50 |
# File 'step_functions/errors.rb', line 48 def self.PARAMETER_PATH_FAILURE() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_stepfunctions.Errors", "PARAMETER_PATH_FAILURE") end |
.PERMISSIONS ⇒ String
A Task State failed because it had insufficient privileges to execute the specified code.
55 56 57 |
# File 'step_functions/errors.rb', line 55 def self.PERMISSIONS() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_stepfunctions.Errors", "PERMISSIONS") end |
.RESULT_PATH_MATCH_FAILURE ⇒ String
A Task State’s “ResultPath” field cannot be applied to the input the state received.
62 63 64 |
# File 'step_functions/errors.rb', line 62 def self.RESULT_PATH_MATCH_FAILURE() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_stepfunctions.Errors", "RESULT_PATH_MATCH_FAILURE") end |
.TASKS_FAILED ⇒ String
A Task State failed during the execution.
69 70 71 |
# File 'step_functions/errors.rb', line 69 def self.TASKS_FAILED() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_stepfunctions.Errors", "TASKS_FAILED") end |
.TIMEOUT ⇒ String
A Task State either ran longer than the “TimeoutSeconds” value, or failed to heartbeat for a time longer than the “HeartbeatSeconds” value.
76 77 78 |
# File 'step_functions/errors.rb', line 76 def self.TIMEOUT() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_stepfunctions.Errors", "TIMEOUT") end |