[][src]Struct rusoto_iot::CreateOTAUpdateRequest

pub struct CreateOTAUpdateRequest {
    pub additional_parameters: Option<HashMap<String, String>>,
    pub aws_job_executions_rollout_config: Option<AwsJobExecutionsRolloutConfig>,
    pub aws_job_presigned_url_config: Option<AwsJobPresignedUrlConfig>,
    pub description: Option<String>,
    pub files: Vec<OTAUpdateFile>,
    pub ota_update_id: String,
    pub protocols: Option<Vec<String>>,
    pub role_arn: String,
    pub tags: Option<Vec<Tag>>,
    pub target_selection: Option<String>,
    pub targets: Vec<String>,
}

Fields

additional_parameters: Option<HashMap<String, String>>

A list of additional OTA update parameters which are name-value pairs.

aws_job_executions_rollout_config: Option<AwsJobExecutionsRolloutConfig>

Configuration for the rollout of OTA updates.

aws_job_presigned_url_config: Option<AwsJobPresignedUrlConfig>

Configuration information for pre-signed URLs.

description: Option<String>

The description of the OTA update.

files: Vec<OTAUpdateFile>

The files to be streamed by the OTA update.

ota_update_id: String

The ID of the OTA update to be created.

protocols: Option<Vec<String>>

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.

role_arn: String

The IAM role that allows access to the AWS IoT Jobs service.

tags: Option<Vec<Tag>>

Metadata which can be used to manage updates.

target_selection: Option<String>

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.

targets: Vec<String>

The targeted devices to receive OTA updates.

Trait Implementations

impl Clone for CreateOTAUpdateRequest[src]

impl Debug for CreateOTAUpdateRequest[src]

impl Default for CreateOTAUpdateRequest[src]

impl PartialEq<CreateOTAUpdateRequest> for CreateOTAUpdateRequest[src]

impl Serialize for CreateOTAUpdateRequest[src]

impl StructuralPartialEq for CreateOTAUpdateRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.