Skip to content

SetV2LoggingOptionsRequest

Source code in docs_src/capo_iot/types/set_v2_logging_options_request.py
class SetV2LoggingOptionsRequest(TypedDict, closed=True):
    role_arn: NotRequired["capo_iot.types.aws_arn.AwsArn"]
    """<p>The ARN of the role that allows IoT to write to Cloudwatch logs.</p>"""
    default_log_level: NotRequired["capo_iot.types.log_level.LogLevel"]
    """<p>The default logging level.</p>"""
    disable_all_logs: "capo_iot.types.disable_all_logs.DisableAllLogs"
    """<p>If true all logs are disabled. The default is false.</p>"""
    event_configurations: NotRequired[
        "capo_iot.types.log_event_configurations.LogEventConfigurations"
    ]
    """<p> The list of event configurations that override account-level logging. </p>"""

default_log_level instance-attribute

default_log_level: NotRequired[LogLevel]

The default logging level.

disable_all_logs instance-attribute

disable_all_logs: DisableAllLogs

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

event_configurations instance-attribute

event_configurations: NotRequired[LogEventConfigurations]

The list of event configurations that override account-level logging.

role_arn instance-attribute

role_arn: NotRequired[AwsArn]

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