Module Values.DescribeLogGroupsResponseSource

Returns information about log groups, including data sources that ingest into each log group. You can return all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name. CloudWatch Logs doesn't support IAM policies that control access to the DescribeLogGroups action by using the aws:ResourceTag/key-name condition key. Other CloudWatch Logs actions do support the use of the aws:ResourceTag/key-name condition key to control access. For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags. If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

Sourcetype nonrec t = {
  1. logGroups : LogGroups.t option;
    (*

    An array of structures, where each structure contains the information about one log group.

    *)
  2. nextToken : NextToken.t option;
}
Sourcetype nonrec error = [
  1. | `InvalidParameterException of InvalidParameterException.t
  2. | `ServiceUnavailableException of ServiceUnavailableException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?logGroups:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterException of unit | `ServiceUnavailableException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterException of unit | `ServiceUnavailableException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of DeletionProtectionEnabled.t | `Enum of string | `Integer of Days.t | `List of [> `Enum of string ] list | `Long of Timestamp.t | `String of LogGroupName.t ]) list ] list | `String of NextToken.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