Class: Aws::IoT::Types::EnableIoTLoggingParams

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 EnableIoTLoggingParams data as a hash:

{
  role_arn_for_logging: "RoleArn", # required
  log_level: "DEBUG", # required, accepts DEBUG, INFO, ERROR, WARN, DISABLED
}

Parameters used when defining a mitigation action that enable Amazon Web Services IoT Core logging.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#log_levelString

Specifies the type of information to be logged.

Returns:

  • (String)


8733
8734
8735
8736
8737
8738
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8733

class EnableIoTLoggingParams < Struct.new(
  :role_arn_for_logging,
  :log_level)
  SENSITIVE = []
  include Aws::Structure
end

#role_arn_for_loggingString

The Amazon Resource Name (ARN) of the IAM role used for logging.

Returns:

  • (String)


8733
8734
8735
8736
8737
8738
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8733

class EnableIoTLoggingParams < Struct.new(
  :role_arn_for_logging,
  :log_level)
  SENSITIVE = []
  include Aws::Structure
end