AWSIoTCreateOTAUpdateRequest

Objective-C

@interface AWSIoTCreateOTAUpdateRequest

Swift

class AWSIoTCreateOTAUpdateRequest
  • A list of additional OTA update parameters, which are name-value pairs. They won’t be sent to devices as a part of the Job document.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable additionalParameters;

    Swift

    var additionalParameters: [String : String]? { get set }
  • The criteria that determine when and how a job abort takes place.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTAwsJobAbortConfig *_Nullable awsJobAbortConfig;

    Swift

    var awsJobAbortConfig: AWSIoTAwsJobAbortConfig? { get set }
  • Configuration for the rollout of OTA updates.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTAwsJobExecutionsRolloutConfig *_Nullable awsJobExecutionsRolloutConfig;

    Swift

    var awsJobExecutionsRolloutConfig: AWSIoTAwsJobExecutionsRolloutConfig? { get set }
  • Configuration information for pre-signed URLs.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTAwsJobPresignedUrlConfig *_Nullable awsJobPresignedUrlConfig;

    Swift

    var awsJobPresignedUrlConfig: AWSIoTAwsJobPresignedUrlConfig? { get set }
  • Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTAwsJobTimeoutConfig *_Nullable awsJobTimeoutConfig;

    Swift

    var awsJobTimeoutConfig: AWSIoTAwsJobTimeoutConfig? { get set }
  • The description of the OTA update.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable detail;

    Swift

    var detail: String? { get set }
  • The files to be streamed by the OTA update.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSIoTOTAUpdateFile *> *_Nullable files;

    Swift

    var files: [AWSIoTOTAUpdateFile]? { get set }
  • The ID of the OTA update to be created.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable otaUpdateId;

    Swift

    var otaUpdateId: String? { get set }
  • The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device can choose the protocol.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable protocols;

    Swift

    var protocols: [String]? { get set }
  • The IAM role that grants Amazon Web Services IoT Core access to the Amazon S3, IoT jobs and Amazon Web Services Code Signing resources to create an OTA update job.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleArn;

    Swift

    var roleArn: String? { get set }
  • Metadata which can be used to manage updates.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSIoTTag *> *_Nullable tags;

    Swift

    var tags: [AWSIoTTag]? { get set }
  • Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTTargetSelection targetSelection;

    Swift

    var targetSelection: AWSIoTTargetSelection { get set }
  • The devices targeted to receive OTA updates.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable targets;

    Swift

    var targets: [String]? { get set }