amazonka-cloudwatch-logs-0.1.2: Amazon CloudWatch Logs SDK.

Safe HaskellNone




Returns all the log groups that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by log group name.

By default, this operation returns up to 50 log groups. If there are more log groups to list, the response would contain a nextToken value in the response body. You can also limit the number of log groups returned in the response by specifying the limit parameter in the request.



Request constructor

describeLogGroups :: DescribeLogGroups Source

DescribeLogGroups constructor.

The fields accessible through corresponding lenses are:

Request lenses

dlgLimit :: Lens' DescribeLogGroups (Maybe Natural) Source

The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.

dlgNextToken :: Lens' DescribeLogGroups (Maybe Text) Source

A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous DescribeLogGroups request.


Response constructor

describeLogGroupsResponse :: DescribeLogGroupsResponse Source

DescribeLogGroupsResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses