Copyright | (c) 2013-2015 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 streams that are associated with the specified log group. The list returned in the response is ASCII-sorted by log stream name.
By default, this operation returns up to 50 log streams. If there are
more log streams to list, the response would contain a nextToken
value
in the response body. You can also limit the number of log streams
returned in the response by specifying the limit
parameter in the
request. This operation has a limit of five transactions per second,
after which transactions are throttled.
See: AWS API Reference for DescribeLogStreams.
This operation returns paginated results.
- describeLogStreams :: Text -> DescribeLogStreams
- data DescribeLogStreams
- dlssOrderBy :: Lens' DescribeLogStreams (Maybe OrderBy)
- dlssDescending :: Lens' DescribeLogStreams (Maybe Bool)
- dlssNextToken :: Lens' DescribeLogStreams (Maybe Text)
- dlssLogStreamNamePrefix :: Lens' DescribeLogStreams (Maybe Text)
- dlssLimit :: Lens' DescribeLogStreams (Maybe Natural)
- dlssLogGroupName :: Lens' DescribeLogStreams Text
- describeLogStreamsResponse :: Int -> DescribeLogStreamsResponse
- data DescribeLogStreamsResponse
- dlsrsNextToken :: Lens' DescribeLogStreamsResponse (Maybe Text)
- dlsrsLogStreams :: Lens' DescribeLogStreamsResponse [LogStream]
- dlsrsStatus :: Lens' DescribeLogStreamsResponse Int
Creating a Request
Creates a value of DescribeLogStreams
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeLogStreams Source
See: describeLogStreams
smart constructor.
Request Lenses
dlssOrderBy :: Lens' DescribeLogStreams (Maybe OrderBy) Source
Specifies what to order the returned log streams by. Valid arguments are 'LogStreamName' or 'LastEventTime'. If you don't specify a value, results are ordered by LogStreamName. If 'LastEventTime' is chosen, the request cannot also contain a logStreamNamePrefix.
dlssDescending :: Lens' DescribeLogStreams (Maybe Bool) Source
If set to true, results are returned in descending order. If you don't specify a value or set it to false, results are returned in ascending order.
dlssNextToken :: Lens' DescribeLogStreams (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
DescribeLogStreams
request.
dlssLogStreamNamePrefix :: Lens' DescribeLogStreams (Maybe Text) Source
Will only return log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
dlssLimit :: Lens' DescribeLogStreams (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.
dlssLogGroupName :: Lens' DescribeLogStreams Text Source
The log group name for which log streams are to be listed.
Destructuring the Response
describeLogStreamsResponse Source
Creates a value of DescribeLogStreamsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeLogStreamsResponse Source
See: describeLogStreamsResponse
smart constructor.
Response Lenses
dlsrsNextToken :: Lens' DescribeLogStreamsResponse (Maybe Text) Source
Undocumented member.
dlsrsLogStreams :: Lens' DescribeLogStreamsResponse [LogStream] Source
Undocumented member.
dlsrsStatus :: Lens' DescribeLogStreamsResponse Int Source
The response status code.