Class: Aws::IoT::Types::RetryCriteria

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass RetryCriteria data as a hash:

{
  failure_type: "FAILED", # required, accepts FAILED, TIMED_OUT, ALL
  number_of_retries: 1, # required
}

The criteria that determines how many retries are allowed for each failure type for a job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#failure_typeString

The type of job execution failures that can initiate a job retry.

Returns:

  • (String)


16027
16028
16029
16030
16031
16032
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16027

class RetryCriteria < Struct.new(
  :failure_type,
  :number_of_retries)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_retriesInteger

The number of retries allowed for a failure type for the job.

Returns:

  • (Integer)


16027
16028
16029
16030
16031
16032
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16027

class RetryCriteria < Struct.new(
  :failure_type,
  :number_of_retries)
  SENSITIVE = []
  include Aws::Structure
end