AWS SDK Version 3 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.

Container for the parameters to the ListLogGroupsForQuery operation. Returns a list of the log groups that were analyzed during a single CloudWatch Logs Insights query. This can be useful for queries that use log group name prefixes or the filterIndex command, because the log groups are dynamically selected in these cases.

For more information about field indexes, see Create field indexes to improve query performance and reduce costs.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudWatchLogs.AmazonCloudWatchLogsRequest
      Amazon.CloudWatchLogs.Model.ListLogGroupsForQueryRequest

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z

Syntax

C#
public class ListLogGroupsForQueryRequest : AmazonCloudWatchLogsRequest
         IAmazonWebServiceRequest

The ListLogGroupsForQueryRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

Limits the number of returned log groups to the specified number.

Public Property NextToken System.String

Gets and sets the property NextToken.

Public Property QueryId System.String

Gets and sets the property QueryId.

The ID of the query to use. This query ID is from the response to your StartQuery operation.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5