AWSIoTAbortCriteria

Objective-C

@interface AWSIoTAbortCriteria

Swift

class AWSIoTAbortCriteria

Details of abort criteria to define rules to abort the job.

Required parameters: [failureType, action, thresholdPercentage, minNumberOfExecutedThings]

  • The type of abort action to initiate a job abort.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTAbortAction action;

    Swift

    var action: AWSIoTAbortAction { get set }
  • The type of job execution failure to define a rule to initiate a job abort.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTJobExecutionFailureType failureType;

    Swift

    var failureType: AWSIoTJobExecutionFailureType { get set }
  • Minimum number of executed things before evaluating an abort rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable minNumberOfExecutedThings;

    Swift

    var minNumberOfExecutedThings: NSNumber? { get set }
  • The threshold as a percentage of the total number of executed things that will initiate a job abort.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable thresholdPercentage;

    Swift

    var thresholdPercentage: NSNumber? { get set }