OTAUpdateInfo
public struct OTAUpdateInfo : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A collection of name/value pairs
Declaration
Swift
public let additionalParameters: [String : String]?
-
The AWS IoT job ARN associated with the OTA update.
Declaration
Swift
public let awsIotJobArn: String?
-
The AWS IoT job ID associated with the OTA update.
Declaration
Swift
public let awsIotJobId: String?
-
Configuration for the rollout of OTA updates.
Declaration
Swift
public let awsJobExecutionsRolloutConfig: AwsJobExecutionsRolloutConfig?
-
Configuration information for pre-signed URLs. Valid when protocols contains HTTP.
Declaration
Swift
public let awsJobPresignedUrlConfig: AwsJobPresignedUrlConfig?
-
The date when the OTA update was created.
Declaration
Swift
public let creationDate: TimeStamp?
-
A description of the OTA update.
Declaration
Swift
public let description: String?
-
Error information associated with the OTA update.
Declaration
Swift
public let errorInfo: ErrorInfo?
-
The date when the OTA update was last updated.
Declaration
Swift
public let lastModifiedDate: TimeStamp?
-
The OTA update ARN.
Declaration
Swift
public let otaUpdateArn: String?
-
A list of files associated with the OTA update.
Declaration
Swift
public let otaUpdateFiles: [OTAUpdateFile]?
-
The OTA update ID.
Declaration
Swift
public let otaUpdateId: String?
-
The status of the OTA update.
Declaration
Swift
public let otaUpdateStatus: OTAUpdateStatus?
-
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
Swift
public let protocols: [Protocol]?
-
The targets of the OTA update.
Declaration
Swift
public let targets: [String]?
-
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
Swift
public let targetSelection: TargetSelection?
-
init(additionalParameters:awsIotJobArn:awsIotJobId:awsJobExecutionsRolloutConfig:awsJobPresignedUrlConfig:creationDate:description:errorInfo:lastModifiedDate:otaUpdateArn:otaUpdateFiles:otaUpdateId:otaUpdateStatus:protocols:targets:targetSelection:)
Undocumented
Declaration
Swift
public init(additionalParameters: [String : String]? = nil, awsIotJobArn: String? = nil, awsIotJobId: String? = nil, awsJobExecutionsRolloutConfig: AwsJobExecutionsRolloutConfig? = nil, awsJobPresignedUrlConfig: AwsJobPresignedUrlConfig? = nil, creationDate: TimeStamp? = nil, description: String? = nil, errorInfo: ErrorInfo? = nil, lastModifiedDate: TimeStamp? = nil, otaUpdateArn: String? = nil, otaUpdateFiles: [OTAUpdateFile]? = nil, otaUpdateId: String? = nil, otaUpdateStatus: OTAUpdateStatus? = nil, protocols: [Protocol]? = nil, targets: [String]? = nil, targetSelection: TargetSelection? = nil)