AWSIoTOTAUpdateInfo

Objective-C

@interface AWSIoTOTAUpdateInfo

Swift

class AWSIoTOTAUpdateInfo

Information about an OTA update.

  • A collection of name/value pairs

    Declaration

    Objective-C

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

    Swift

    var additionalParameters: [String : String]? { get set }
  • The IoT job ARN associated with the OTA update.

    Declaration

    Objective-C

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

    Swift

    var awsIotJobArn: String? { get set }
  • The IoT job ID associated with the OTA update.

    Declaration

    Objective-C

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

    Swift

    var awsIotJobId: String? { 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. Valid when protocols contains HTTP.

    Declaration

    Objective-C

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

    Swift

    var awsJobPresignedUrlConfig: AWSIoTAwsJobPresignedUrlConfig? { get set }
  • The date when the OTA update was created.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable creationDate;

    Swift

    var creationDate: Date? { get set }
  • A description of the OTA update.

    Declaration

    Objective-C

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

    Swift

    var detail: String? { get set }
  • Error information associated with the OTA update.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTErrorInfo *_Nullable errorInfo;

    Swift

    var errorInfo: AWSIoTErrorInfo? { get set }
  • The date when the OTA update was last updated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable lastModifiedDate;

    Swift

    var lastModifiedDate: Date? { get set }
  • The OTA update ARN.

    Declaration

    Objective-C

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

    Swift

    var otaUpdateArn: String? { get set }
  • A list of files associated with the OTA update.

    Declaration

    Objective-C

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

    Swift

    var otaUpdateFiles: [AWSIoTOTAUpdateFile]? { get set }
  • The OTA update ID.

    Declaration

    Objective-C

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

    Swift

    var otaUpdateId: String? { get set }
  • The status of the OTA update.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTOTAUpdateStatus otaUpdateStatus;

    Swift

    var otaUpdateStatus: AWSIoTOTAUpdateStatus { 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 }
  • Specifies whether the OTA update will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the OTA update (SNAPSHOT). If continuous, the OTA update may also be run on a thing when a change is detected in a target. For example, an OTA update will run on a thing when the thing is added to a target group, even after the OTA update was completed by all things originally in the group.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTTargetSelection targetSelection;

    Swift

    var targetSelection: AWSIoTTargetSelection { get set }
  • The targets of the OTA update.

    Declaration

    Objective-C

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

    Swift

    var targets: [String]? { get set }