AWSIoTAbortCriteria

Objective-C

@interface AWSIoTAbortCriteria

Swift

class AWSIoTAbortCriteria

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

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

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

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTAbortAction action;

    Swift

    var action: AWSIoTAbortAction { get set }
  • The type of job execution failures that can initiate a job abort.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTJobExecutionFailureType failureType;

    Swift

    var failureType: AWSIoTJobExecutionFailureType { get set }
  • The minimum number of things which must receive job execution notifications before the job can be aborted.

    Declaration

    Objective-C

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

    Swift

    var minNumberOfExecutedThings: NSNumber? { get set }
  • 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).

    Declaration

    Objective-C

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

    Swift

    var thresholdPercentage: NSNumber? { get set }