AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

OTAUpdateInfo

import "github.com/aws/aws-sdk-go/service/iot"

type OTAUpdateInfo struct { AdditionalParameters map[string]*string `locationName:"additionalParameters" type:"map"` AwsIotJobArn *string `locationName:"awsIotJobArn" type:"string"` AwsIotJobId *string `locationName:"awsIotJobId" type:"string"` AwsJobExecutionsRolloutConfig *AwsJobExecutionsRolloutConfig `locationName:"awsJobExecutionsRolloutConfig" type:"structure"` CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` Description *string `locationName:"description" type:"string"` ErrorInfo *ErrorInfo `locationName:"errorInfo" type:"structure"` LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"` OtaUpdateArn *string `locationName:"otaUpdateArn" type:"string"` OtaUpdateFiles []*OTAUpdateFile `locationName:"otaUpdateFiles" min:"1" type:"list"` OtaUpdateId *string `locationName:"otaUpdateId" min:"1" type:"string"` OtaUpdateStatus *string `locationName:"otaUpdateStatus" type:"string" enum:"OTAUpdateStatus"` TargetSelection *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"` Targets []*string `locationName:"targets" min:"1" type:"list"` }

Information about an OTA update.

AdditionalParameters

Type: map[string]*string

A collection of name/value pairs

AwsIotJobArn

Type: *string

The AWS IoT job ARN associated with the OTA update.

AwsIotJobId

Type: *string

The AWS IoT job ID associated with the OTA update.

AwsJobExecutionsRolloutConfig

Configuration for the rollout of OTA updates.

CreationDate

Type: *time.Time

The date when the OTA update was created.

Description

Type: *string

A description of the OTA update.

ErrorInfo

Error information.

LastModifiedDate

Type: *time.Time

The date when the OTA update was last updated.

OtaUpdateArn

Type: *string

The OTA update ARN.

OtaUpdateFiles

Describes a file to be associated with an OTA update.

OtaUpdateId

Type: *string

The OTA update ID.

OtaUpdateStatus

Type: *string

The status of the OTA update.

TargetSelection

Type: *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.

Targets

Type: []*string

The targets of the OTA update.

Method

GoString

func (s OTAUpdateInfo) GoString() string

GoString returns the string representation

SetAdditionalParameters

func (s *OTAUpdateInfo) SetAdditionalParameters(v map[string]*string) *OTAUpdateInfo

SetAdditionalParameters sets the AdditionalParameters field's value.

SetAwsIotJobArn

func (s *OTAUpdateInfo) SetAwsIotJobArn(v string) *OTAUpdateInfo

SetAwsIotJobArn sets the AwsIotJobArn field's value.

SetAwsIotJobId

func (s *OTAUpdateInfo) SetAwsIotJobId(v string) *OTAUpdateInfo

SetAwsIotJobId sets the AwsIotJobId field's value.

SetAwsJobExecutionsRolloutConfig

func (s *OTAUpdateInfo) SetAwsJobExecutionsRolloutConfig(v *AwsJobExecutionsRolloutConfig) *OTAUpdateInfo

SetAwsJobExecutionsRolloutConfig sets the AwsJobExecutionsRolloutConfig field's value.

SetCreationDate

func (s *OTAUpdateInfo) SetCreationDate(v time.Time) *OTAUpdateInfo

SetCreationDate sets the CreationDate field's value.

SetDescription

func (s *OTAUpdateInfo) SetDescription(v string) *OTAUpdateInfo

SetDescription sets the Description field's value.

SetErrorInfo

func (s *OTAUpdateInfo) SetErrorInfo(v *ErrorInfo) *OTAUpdateInfo

SetErrorInfo sets the ErrorInfo field's value.

SetLastModifiedDate

func (s *OTAUpdateInfo) SetLastModifiedDate(v time.Time) *OTAUpdateInfo

SetLastModifiedDate sets the LastModifiedDate field's value.

SetOtaUpdateArn

func (s *OTAUpdateInfo) SetOtaUpdateArn(v string) *OTAUpdateInfo

SetOtaUpdateArn sets the OtaUpdateArn field's value.

SetOtaUpdateFiles

func (s *OTAUpdateInfo) SetOtaUpdateFiles(v []*OTAUpdateFile) *OTAUpdateInfo

SetOtaUpdateFiles sets the OtaUpdateFiles field's value.

SetOtaUpdateId

func (s *OTAUpdateInfo) SetOtaUpdateId(v string) *OTAUpdateInfo

SetOtaUpdateId sets the OtaUpdateId field's value.

SetOtaUpdateStatus

func (s *OTAUpdateInfo) SetOtaUpdateStatus(v string) *OTAUpdateInfo

SetOtaUpdateStatus sets the OtaUpdateStatus field's value.

SetTargetSelection

func (s *OTAUpdateInfo) SetTargetSelection(v string) *OTAUpdateInfo

SetTargetSelection sets the TargetSelection field's value.

SetTargets

func (s *OTAUpdateInfo) SetTargets(v []*string) *OTAUpdateInfo

SetTargets sets the Targets field's value.

String

func (s OTAUpdateInfo) String() string

String returns the string representation

On this page: