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.

LogTarget

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

type LogTarget struct { TargetName *string `locationName:"targetName" type:"string"` TargetType *string `locationName:"targetType" type:"string" required:"true" enum:"LogTargetType"` }

A log target.

TargetName

Type: *string

The target name.

TargetType

Type: *string

The target type.

TargetType is a required field

Method

GoString

func (s LogTarget) GoString() string

GoString returns the string representation

SetTargetName

func (s *LogTarget) SetTargetName(v string) *LogTarget

SetTargetName sets the TargetName field's value.

SetTargetType

func (s *LogTarget) SetTargetType(v string) *LogTarget

SetTargetType sets the TargetType field's value.

String

func (s LogTarget) String() string

String returns the string representation

Validate

func (s *LogTarget) Validate() error

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

On this page: