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.

ListOTAUpdatesInput

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

type ListOTAUpdatesInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` OtaUpdateStatus *string `location:"querystring" locationName:"otaUpdateStatus" type:"string" enum:"OTAUpdateStatus"` }

MaxResults

Type: *int64

The maximum number of results to return at one time.

NextToken

Type: *string

A token used to retrieve the next set of results.

OtaUpdateStatus

Type: *string

The OTA update job status.

Method

GoString

func (s ListOTAUpdatesInput) GoString() string

GoString returns the string representation

SetMaxResults

func (s *ListOTAUpdatesInput) SetMaxResults(v int64) *ListOTAUpdatesInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *ListOTAUpdatesInput) SetNextToken(v string) *ListOTAUpdatesInput

SetNextToken sets the NextToken field's value.

SetOtaUpdateStatus

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

SetOtaUpdateStatus sets the OtaUpdateStatus field's value.

String

func (s ListOTAUpdatesInput) String() string

String returns the string representation

Validate

func (s *ListOTAUpdatesInput) Validate() error

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

On this page: