Module Values_0.SetV2LoggingOptionsRequestSource

Sets the logging options for the V2 logging service. Requires permission to access the SetV2LoggingOptions action.

Sourcetype nonrec t = {
  1. roleArn : AwsArn.t option;
    (*

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

    *)
  2. defaultLogLevel : LogLevel.t option;
    (*

    The default logging level.

    *)
  3. disableAllLogs : DisableAllLogs.t option;
    (*

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

    *)
  4. eventConfigurations : LogEventConfigurations.t option;
    (*

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

    *)
}
Sourceval make : ?roleArn:??? -> ?defaultLogLevel:??? -> ?disableAllLogs:??? -> ?eventConfigurations:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of DisableAllLogs.t | `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of LogEventType.t ]) list ] list | `String of AwsArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t