:doc:`Personalize <../../personalize>` / Paginator / ListDatasetGroups

*****************
ListDatasetGroups
*****************



.. py:class:: Personalize.Paginator.ListDatasetGroups

  ::

    
    paginator = client.get_paginator('list_dataset_groups')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`Personalize.Client.list_dataset_groups`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetGroups>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': '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**

      
      ::

        {
            'datasetGroups': [
                {
                    'name': 'string',
                    'datasetGroupArn': 'string',
                    'status': 'string',
                    'creationDateTime': datetime(2015, 1, 1),
                    'lastUpdatedDateTime': datetime(2015, 1, 1),
                    'failureReason': 'string',
                    'domain': 'ECOMMERCE'|'VIDEO_ON_DEMAND'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **datasetGroups** *(list) --* 

          The list of your dataset groups.

          
          

          - *(dict) --* 

            Provides a summary of the properties of a dataset group. For a complete listing, call the `DescribeDatasetGroup <https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDatasetGroup.html>`__ API.

            
            

            - **name** *(string) --* 

              The name of the dataset group.

              
            

            - **datasetGroupArn** *(string) --* 

              The Amazon Resource Name (ARN) of the dataset group.

              
            

            - **status** *(string) --* 

              The status of the dataset group.

               

              A dataset group can be in one of the following states:

               

              
              * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
               
              * DELETE PENDING
              

              
            

            - **creationDateTime** *(datetime) --* 

              The date and time (in Unix time) that the dataset group was created.

              
            

            - **lastUpdatedDateTime** *(datetime) --* 

              The date and time (in Unix time) that the dataset group was last updated.

              
            

            - **failureReason** *(string) --* 

              If creating a dataset group fails, the reason behind the failure.

              
            

            - **domain** *(string) --* 

              The domain of a Domain dataset group.

              
        
      
        

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

          A token to resume pagination.

          
    