Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.
This operation returns paginated results.
Synopsis
- 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:
dlgLogGroupNamePrefix
- The prefix to match.dlgNextToken
- The token for the next set of items to return. (You received this token from a previous call.)dlgLimit
- The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
data DescribeLogGroups Source #
See: describeLogGroups
smart constructor.
Instances
Request Lenses
dlgLogGroupNamePrefix :: Lens' DescribeLogGroups (Maybe Text) Source #
The prefix to match.
dlgNextToken :: Lens' DescribeLogGroups (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dlgLimit :: Lens' DescribeLogGroups (Maybe Natural) Source #
The maximum number of items returned. If you don't specify a value, the default is 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:
dlgrsLogGroups
- The log groups.dlgrsNextToken
- Undocumented member.dlgrsResponseStatus
- -- | The response status code.
data DescribeLogGroupsResponse Source #
See: describeLogGroupsResponse
smart constructor.
Instances
Response Lenses
dlgrsLogGroups :: Lens' DescribeLogGroupsResponse [LogGroup] Source #
The log groups.
dlgrsNextToken :: Lens' DescribeLogGroupsResponse (Maybe Text) Source #
Undocumented member.
dlgrsResponseStatus :: Lens' DescribeLogGroupsResponse Int Source #
- - | The response status code.