You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoT::Types::LoggingOptionsPayload

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass LoggingOptionsPayload data as a hash:

{
  role_arn: "AwsArn", # required
  log_level: "DEBUG", # accepts DEBUG, INFO, ERROR, WARN, DISABLED
}

Describes the logging options payload.

Instance Attribute Summary collapse

Instance Attribute Details

#log_levelString

The log level.

Returns:

  • (String)


4862
4863
4864
4865
4866
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 4862

class LoggingOptionsPayload < Struct.new(
  :role_arn,
  :log_level)
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that grants access.

Returns:

  • (String)


4862
4863
4864
4865
4866
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 4862

class LoggingOptionsPayload < Struct.new(
  :role_arn,
  :log_level)
  include Aws::Structure
end