Class: AWSCDK::StepFunctions::Errors

Inherits:
Jsii::Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeErrors

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

.ALLString

Matches any Error.

Returns:

  • (String)


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_FAILEDString

A branch of a Parallel state failed.

Returns:

  • (String)


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_TIMEOUTString

A Task State failed to heartbeat for a time longer than the “HeartbeatSeconds” value.

Returns:

  • (String)


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_methodsObject



12
13
14
15
# File 'step_functions/errors.rb', line 12

def self.jsii_overridable_methods
  {
  }
end

.NO_CHOICE_MATCHEDString

A Choice state failed to find a match for the condition field extracted from its input.

Returns:

  • (String)


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_FAILUREString

Within a state’s “Parameters” field, the attempt to replace a field whose name ends in “.$” using a Path failed.

Returns:

  • (String)


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

.PERMISSIONSString

A Task State failed because it had insufficient privileges to execute the specified code.

Returns:

  • (String)


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_FAILUREString

A Task State’s “ResultPath” field cannot be applied to the input the state received.

Returns:

  • (String)


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_FAILEDString

A Task State failed during the execution.

Returns:

  • (String)


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

.TIMEOUTString

A Task State either ran longer than the “TimeoutSeconds” value, or failed to heartbeat for a time longer than the “HeartbeatSeconds” value.

Returns:

  • (String)


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