:doc:`ResourceGroups <../../resource-groups>` / Paginator / ListGroupingStatuses

********************
ListGroupingStatuses
********************



.. py:class:: ResourceGroups.Paginator.ListGroupingStatuses

  ::

    
    paginator = client.get_paginator('list_grouping_statuses')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`ResourceGroups.Client.list_grouping_statuses`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupingStatuses>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          Group='string',
          Filters=[
              {
                  'Name': 'status'|'resource-arn',
                  'Values': [
                      'string',
                  ]
              },
          ],
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type Group: string
    :param Group: **[REQUIRED]** 

      The application group identifier, expressed as an Amazon resource name (ARN) or the application group name.

      

    
    :type Filters: list
    :param Filters: 

      The filter name and value pair that is used to return more specific results from a list of resources.

      

    
      - *(dict) --* 

        A filter name and value pair that is used to obtain more specific results from the list of grouping statuses.

        

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

          The name of the filter. Filter names are case-sensitive.

          

        
        - **Values** *(list) --* **[REQUIRED]** 

          One or more filter values. Allowed filter values vary by resource filter name, and are case-sensitive.

          

        
          - *(string) --* 

          
      
      
  
    :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**

      
      ::

        {
            'Group': 'string',
            'GroupingStatuses': [
                {
                    'ResourceArn': 'string',
                    'Action': 'GROUP'|'UNGROUP',
                    'Status': 'SUCCESS'|'FAILED'|'IN_PROGRESS'|'SKIPPED',
                    'ErrorMessage': 'string',
                    'ErrorCode': 'string',
                    'UpdatedAt': datetime(2015, 1, 1)
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **Group** *(string) --* 

          The application group identifier, expressed as an Amazon resource name (ARN) or the application group name.

          
        

        - **GroupingStatuses** *(list) --* 

          Returns details about the grouping or ungrouping status of the resources in the specified application group.

          
          

          - *(dict) --* 

            The information about a grouping or ungrouping resource action.

            
            

            - **ResourceArn** *(string) --* 

              The Amazon resource name (ARN) of a resource.

              
            

            - **Action** *(string) --* 

              Describes the resource grouping action with values of ``GROUP`` or ``UNGROUP``.

              
            

            - **Status** *(string) --* 

              Describes the resource grouping status with values of ``SUCCESS``, ``FAILED``, ``IN_PROGRESS``, or ``SKIPPED``.

              
            

            - **ErrorMessage** *(string) --* 

              A message that explains the ``ErrorCode``.

              
            

            - **ErrorCode** *(string) --* 

              Specifies the error code that was raised.

              
            

            - **UpdatedAt** *(datetime) --* 

              A timestamp of when the status was last updated.

              
        
      
    