You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::SetV2LoggingOptionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::SetV2LoggingOptionsRequest
- Defined in:
- (unknown)
Overview
Note:
When passing SetV2LoggingOptionsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
role_arn: "AwsArn",
default_log_level: "DEBUG", # accepts DEBUG, INFO, ERROR, WARN, DISABLED
disable_all_logs: false,
}
Instance Attribute Summary collapse
-
#default_log_level ⇒ String
The default logging level.
-
#disable_all_logs ⇒ Boolean
If true all logs are disabled.
-
#role_arn ⇒ String
The ARN of the role that allows IoT to write to Cloudwatch logs.
Instance Attribute Details
#default_log_level ⇒ String
The default logging level.
Possible values:
- DEBUG
- INFO
- ERROR
- WARN
- DISABLED
#disable_all_logs ⇒ Boolean
If true all logs are disabled. The default is false.
#role_arn ⇒ String
The ARN of the role that allows IoT to write to Cloudwatch logs.