Class: Aws::IoT::Types::AwsJobAbortCriteria

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

Overview

The criteria that determine when and how a job abort takes place.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The type of job action to take to initiate the job abort.

Returns:

  • (String)


1165
1166
1167
1168
1169
1170
1171
1172
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1165

class AwsJobAbortCriteria < Struct.new(
  :failure_type,
  :action,
  :threshold_percentage,
  :min_number_of_executed_things)
  SENSITIVE = []
  include Aws::Structure
end

#failure_typeString

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

Returns:

  • (String)


1165
1166
1167
1168
1169
1170
1171
1172
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1165

class AwsJobAbortCriteria < Struct.new(
  :failure_type,
  :action,
  :threshold_percentage,
  :min_number_of_executed_things)
  SENSITIVE = []
  include Aws::Structure
end

#min_number_of_executed_thingsInteger

The minimum number of things which must receive job execution notifications before the job can be aborted.

Returns:

  • (Integer)


1165
1166
1167
1168
1169
1170
1171
1172
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1165

class AwsJobAbortCriteria < Struct.new(
  :failure_type,
  :action,
  :threshold_percentage,
  :min_number_of_executed_things)
  SENSITIVE = []
  include Aws::Structure
end

#threshold_percentageFloat

The minimum percentage of job execution failures that must occur to initiate the job abort.

Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).

Returns:

  • (Float)


1165
1166
1167
1168
1169
1170
1171
1172
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1165

class AwsJobAbortCriteria < Struct.new(
  :failure_type,
  :action,
  :threshold_percentage,
  :min_number_of_executed_things)
  SENSITIVE = []
  include Aws::Structure
end