AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
 
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.

Namespace: Amazon.CloudWatchLogs
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract DescribeLogStreamsResponse DescribeLogStreams(
         DescribeLogStreamsRequest request
)

Parameters

request
Type: Amazon.CloudWatchLogs.Model.DescribeLogStreamsRequest

Container for the necessary parameters to execute the DescribeLogStreams service method.

Return Value
Type: Amazon.CloudWatchLogs.Model.DescribeLogStreamsResponse
The response from the DescribeLogStreams service method, as returned by CloudWatchLogs.

Exceptions

ExceptionCondition
InvalidParameterException Returned if a parameter of the request is incorrectly specified.
ResourceNotFoundException Returned if the specified resource does not exist.
ServiceUnavailableException Returned if the service cannot complete the request.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5