:doc:`CloudWatchLogs <../../logs>` / Paginator / ListAggregateLogGroupSummaries

******************************
ListAggregateLogGroupSummaries
******************************



.. py:class:: CloudWatchLogs.Paginator.ListAggregateLogGroupSummaries

  ::

    
    paginator = client.get_paginator('list_aggregate_log_group_summaries')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`CloudWatchLogs.Client.list_aggregate_log_group_summaries`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListAggregateLogGroupSummaries>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          accountIdentifiers=[
              'string',
          ],
          includeLinkedAccounts=True|False,
          logGroupClass='STANDARD'|'INFREQUENT_ACCESS'|'DELIVERY',
          logGroupNamePattern='string',
          dataSources=[
              {
                  'name': 'string',
                  'type': 'string'
              },
          ],
          groupBy='DATA_SOURCE_NAME_TYPE_AND_FORMAT'|'DATA_SOURCE_NAME_AND_TYPE',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type accountIdentifiers: list
    :param accountIdentifiers: 

      When ``includeLinkedAccounts`` is set to ``true``, use this parameter to specify the list of accounts to search. You can specify as many as 20 account IDs in the array.

      

    
      - *(string) --* 

      
  
    :type includeLinkedAccounts: boolean
    :param includeLinkedAccounts: 

      If you are using a monitoring account, set this to ``true`` to have the operation return log groups in the accounts listed in ``accountIdentifiers``.

       

      If this parameter is set to ``true`` and ``accountIdentifiers`` contains a null value, the operation returns all log groups in the monitoring account and all log groups in all source accounts that are linked to the monitoring account.

       

      The default for this parameter is ``false``.

      

    
    :type logGroupClass: string
    :param logGroupClass: 

      Filters the results by log group class to include only log groups of the specified class.

      

    
    :type logGroupNamePattern: string
    :param logGroupNamePattern: 

      Use this parameter to limit the returned log groups to only those with names that match the pattern that you specify. This parameter is a regular expression that can match prefixes and substrings, and supports wildcard matching and matching multiple patterns, as in the following examples.

       

      
      * Use ``^`` to match log group names by prefix.
       
      * For a substring match, specify the string to match. All matches are case sensitive
       
      * To match multiple patterns, separate them with a ``|`` as in the example ``^/aws/lambda|discovery``
      

       

      You can specify as many as five different regular expression patterns in this field, each of which must be between 3 and 24 characters. You can include the ``^`` symbol as many as five times, and include the ``|`` symbol as many as four times.

      

    
    :type dataSources: list
    :param dataSources: 

      Filters the results by data source characteristics to include only log groups associated with the specified data sources.

      

    
      - *(dict) --* 

        Filter criteria for data sources, used to specify which data sources to include in operations based on name and type.

        

      
        - **name** *(string) --* **[REQUIRED]** 

          The name pattern to filter data sources by.

          

        
        - **type** *(string) --* 

          The type pattern to filter data sources by.

          

        
      
  
    :type groupBy: string
    :param groupBy: **[REQUIRED]** 

      Specifies how to group the log groups in the summary.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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 ``NextToken`` will 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 ``NextToken`` from a previous response.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax**

      
      ::

        {
            'aggregateLogGroupSummaries': [
                {
                    'logGroupCount': 123,
                    'groupingIdentifiers': [
                        {
                            'key': 'string',
                            'value': 'string'
                        },
                    ]
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **aggregateLogGroupSummaries** *(list) --* 

          The list of aggregate log group summaries grouped by the specified data source characteristics.

          
          

          - *(dict) --* 

            Contains an aggregate summary of log groups grouped by data source characteristics, including the count of log groups and their grouping identifiers.

            
            

            - **logGroupCount** *(integer) --* 

              The number of log groups in this aggregate summary group.

              
            

            - **groupingIdentifiers** *(list) --* 

              An array of key-value pairs that identify the data source characteristics used to group the log groups.

               

              The size and content of this array depends on the ``groupBy`` parameter specified in the request.

              
              

              - *(dict) --* 

                A key-value pair that identifies how log groups are grouped in aggregate summaries.

                
                

                - **key** *(string) --* 

                  The key that identifies the grouping characteristic. The format of the key uses dot notation. Examples are, ``dataSource.Name``, ``dataSource.Type``, and ``dataSource.Format``.

                  
                

                - **value** *(string) --* 

                  The value associated with the grouping characteristic. Examples are ``amazon_vpc``, ``flow``, and ``OCSF``.

                  
            
          
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    