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.

SetV2LoggingOptionsInput

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

type SetV2LoggingOptionsInput 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 logging level.

DisableAllLogs

Type: *bool

If true all logs are disabled. The default is false.

RoleArn

Type: *string

The ARN of the role that allows IoT to write to Cloudwatch logs.

Method

GoString

func (s SetV2LoggingOptionsInput) GoString() string

GoString returns the string representation

SetDefaultLogLevel

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

SetDefaultLogLevel sets the DefaultLogLevel field's value.

SetDisableAllLogs

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

SetDisableAllLogs sets the DisableAllLogs field's value.

SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

String

func (s SetV2LoggingOptionsInput) String() string

String returns the string representation

On this page: