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.

OTAUpdateFile

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

type OTAUpdateFile struct { Attributes map[string]*string `locationName:"attributes" type:"map"` CodeSigning *CodeSigning `locationName:"codeSigning" type:"structure"` FileLocation *FileLocation `locationName:"fileLocation" type:"structure"` FileName *string `locationName:"fileName" type:"string"` FileVersion *string `locationName:"fileVersion" type:"string"` }

Describes a file to be associated with an OTA update.

Attributes

Type: map[string]*string

A list of name/attribute pairs.

CodeSigning

Describes the method to use when code signing a file.

FileLocation

The location of the OTA update.

FileName

Type: *string

The name of the file.

FileVersion

Type: *string

The file version.

Method

GoString

func (s OTAUpdateFile) GoString() string

GoString returns the string representation

SetAttributes

func (s *OTAUpdateFile) SetAttributes(v map[string]*string) *OTAUpdateFile

SetAttributes sets the Attributes field's value.

SetCodeSigning

func (s *OTAUpdateFile) SetCodeSigning(v *CodeSigning) *OTAUpdateFile

SetCodeSigning sets the CodeSigning field's value.

SetFileLocation

func (s *OTAUpdateFile) SetFileLocation(v *FileLocation) *OTAUpdateFile

SetFileLocation sets the FileLocation field's value.

SetFileName

func (s *OTAUpdateFile) SetFileName(v string) *OTAUpdateFile

SetFileName sets the FileName field's value.

SetFileVersion

func (s *OTAUpdateFile) SetFileVersion(v string) *OTAUpdateFile

SetFileVersion sets the FileVersion field's value.

String

func (s OTAUpdateFile) String() string

String returns the string representation

Validate

func (s *OTAUpdateFile) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: