AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class DescribeLogStreamsRequest : AmazonCloudWatchLogsRequest IRequestEvents
The DescribeLogStreamsRequest type exposes the following members
Name | Description | |
---|---|---|
DescribeLogStreamsRequest() | Empty constructor used to set properties independently even when a simple constructor is available | |
DescribeLogStreamsRequest(string) | Instantiates DescribeLogStreamsRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
Descending | System.Boolean |
Gets and sets the property Descending.
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. |
|
Limit | System.Int32 |
Gets and sets the property Limit.
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items. |
|
LogGroupName | System.String |
Gets and sets the property LogGroupName.
The log group name for which log streams are to be listed. |
|
LogStreamNamePrefix | System.String |
Gets and sets the property LogStreamNamePrefix.
Will only return log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied. |
|
NextToken | System.String |
Gets and sets the property NextToken.
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 |
|
OrderBy | Amazon.CloudWatchLogs.OrderBy |
Gets and sets the property OrderBy.
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5