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.
http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html
- data DescribeLogStreams
- describeLogStreams :: Text -> DescribeLogStreams
- dls1Descending :: Lens' DescribeLogStreams (Maybe Bool)
- dls1Limit :: Lens' DescribeLogStreams (Maybe Natural)
- dls1LogGroupName :: Lens' DescribeLogStreams Text
- dls1LogStreamNamePrefix :: Lens' DescribeLogStreams (Maybe Text)
- dls1NextToken :: Lens' DescribeLogStreams (Maybe Text)
- dls1OrderBy :: Lens' DescribeLogStreams (Maybe OrderBy)
- data DescribeLogStreamsResponse
- describeLogStreamsResponse :: DescribeLogStreamsResponse
- dlsrLogStreams :: Lens' DescribeLogStreamsResponse [LogStream]
- dlsrNextToken :: Lens' DescribeLogStreamsResponse (Maybe Text)
Request
data DescribeLogStreams Source
Request constructor
DescribeLogStreams
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dls1Descending :: 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.
dls1Limit :: 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.
dls1LogStreamNamePrefix :: 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.
dls1NextToken :: 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.
dls1OrderBy :: 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.
Response
Response constructor
describeLogStreamsResponse :: DescribeLogStreamsResponse Source
DescribeLogStreamsResponse
constructor.
The fields accessible through corresponding lenses are: