CloudWatchLogs / Paginator / ListLogGroupsForQuery
ListLogGroupsForQuery#
- class CloudWatchLogs.Paginator.ListLogGroupsForQuery#
- paginator = client.get_paginator('list_log_groups_for_query') - paginate(**kwargs)#
- Creates an iterator that will paginate through responses from - CloudWatchLogs.Client.list_log_groups_for_query().- See also: AWS API Documentation - Request Syntax- response_iterator = paginator.paginate( queryId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) - Parameters:
- queryId (string) – - [REQUIRED] - The ID of the query to use. This query ID is from the response to your StartQuery operation. 
- PaginationConfig (dict) – - A dictionary that provides parameters to control pagination. - MaxItems (integer) – - The total number of items to return. If the total number of items available is more than the value specified in max-items then a - NextTokenwill be provided in the output that you can use to resume pagination.
- PageSize (integer) – - The size of each page. 
- StartingToken (string) – - A token to specify where to start paginating. This is the - NextTokenfrom a previous response.
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'logGroupIdentifiers': [ 'string', ], 'NextToken': 'string' } - Response Structure- (dict) – - logGroupIdentifiers (list) – - An array of the names and ARNs of the log groups that were processed in the query. - (string) – 
 
- NextToken (string) – - A token to resume pagination.