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 groups that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by log group name.

By default, this operation returns up to 50 log groups. If there are more log groups to list, the response would contain a nextToken value in the response body. You can also limit the number of log groups returned in the response by specifying the limit parameter in the request.

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


public virtual DescribeLogGroupsResponse DescribeLogGroups()
Return Value
Type: Amazon.CloudWatchLogs.Model.DescribeLogGroupsResponse
The response from the DescribeLogGroups service method, as returned by CloudWatchLogs.


InvalidParameterException Returned if a parameter of the request is incorrectly specified.
ServiceUnavailableException Returned if the service cannot complete the request.

Version Information

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