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.

GetLoggingOptionsOutput

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

type GetLoggingOptionsOutput struct { LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` RoleArn *string `locationName:"roleArn" type:"string"` }

The output from the GetLoggingOptions operation.

LogLevel

Type: *string

The logging level.

RoleArn

Type: *string

The ARN of the IAM role that grants access.

Method

GoString

func (s GetLoggingOptionsOutput) GoString() string

GoString returns the string representation

SetLogLevel

func (s *GetLoggingOptionsOutput) SetLogLevel(v string) *GetLoggingOptionsOutput

SetLogLevel sets the LogLevel field's value.

SetRoleArn

func (s *GetLoggingOptionsOutput) SetRoleArn(v string) *GetLoggingOptionsOutput

SetRoleArn sets the RoleArn field's value.

String

func (s GetLoggingOptionsOutput) String() string

String returns the string representation

On this page: