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.

S3Destination

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

type S3Destination struct { Bucket *string `locationName:"bucket" min:"1" type:"string"` Prefix *string `locationName:"prefix" type:"string"` }

Describes the location of updated firmware in S3.

Bucket

Type: *string

The S3 bucket that contains the updated firmware.

Prefix

Type: *string

The S3 prefix.

Method

GoString

func (s S3Destination) GoString() string

GoString returns the string representation

SetBucket

func (s *S3Destination) SetBucket(v string) *S3Destination

SetBucket sets the Bucket field's value.

SetPrefix

func (s *S3Destination) SetPrefix(v string) *S3Destination

SetPrefix sets the Prefix field's value.

String

func (s S3Destination) String() string

String returns the string representation

Validate

func (s *S3Destination) Validate() error

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

On this page: