Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
This operation returns paginated results.
- describeLogGroups :: DescribeLogGroups
- data DescribeLogGroups
- dlgLogGroupNamePrefix :: Lens' DescribeLogGroups (Maybe Text)
- dlgNextToken :: Lens' DescribeLogGroups (Maybe Text)
- dlgLimit :: Lens' DescribeLogGroups (Maybe Natural)
- describeLogGroupsResponse :: Int -> DescribeLogGroupsResponse
- data DescribeLogGroupsResponse
- dlgrsLogGroups :: Lens' DescribeLogGroupsResponse [LogGroup]
- dlgrsNextToken :: Lens' DescribeLogGroupsResponse (Maybe Text)
- dlgrsResponseStatus :: Lens' DescribeLogGroupsResponse Int
Creating a Request
describeLogGroups :: DescribeLogGroups Source #
Creates a value of DescribeLogGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeLogGroups Source #
See: describeLogGroups
smart constructor.
Request Lenses
dlgLogGroupNamePrefix :: Lens' DescribeLogGroups (Maybe Text) Source #
Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
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.
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.
Destructuring the Response
describeLogGroupsResponse Source #
Creates a value of DescribeLogGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeLogGroupsResponse Source #
See: describeLogGroupsResponse
smart constructor.
Response Lenses
dlgrsLogGroups :: Lens' DescribeLogGroupsResponse [LogGroup] Source #
Undocumented member.
dlgrsNextToken :: Lens' DescribeLogGroupsResponse (Maybe Text) Source #
Undocumented member.
dlgrsResponseStatus :: Lens' DescribeLogGroupsResponse Int Source #
The response status code.