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.

GetV2LoggingOptionsOutput

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

type GetV2LoggingOptionsOutput struct { DefaultLogLevel *string `locationName:"defaultLogLevel" type:"string" enum:"LogLevel"` DisableAllLogs *bool `locationName:"disableAllLogs" type:"boolean"` RoleArn *string `locationName:"roleArn" type:"string"` }

DefaultLogLevel

Type: *string

The default log level.

DisableAllLogs

Type: *bool

Disables all logs.

RoleArn

Type: *string

The IAM role ARN AWS IoT uses to write to your CloudWatch logs.

Method

GoString

func (s GetV2LoggingOptionsOutput) GoString() string

GoString returns the string representation

SetDefaultLogLevel

func (s *GetV2LoggingOptionsOutput) SetDefaultLogLevel(v string) *GetV2LoggingOptionsOutput

SetDefaultLogLevel sets the DefaultLogLevel field's value.

SetDisableAllLogs

func (s *GetV2LoggingOptionsOutput) SetDisableAllLogs(v bool) *GetV2LoggingOptionsOutput

SetDisableAllLogs sets the DisableAllLogs field's value.

SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

String

func (s GetV2LoggingOptionsOutput) String() string

String returns the string representation

On this page: