:doc:`LexModelBuildingService <../../lex-models>` / Paginator / GetIntents

**********
GetIntents
**********



.. py:class:: LexModelBuildingService.Paginator.GetIntents

  ::

    
    paginator = client.get_paginator('get_intents')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`LexModelBuildingService.Client.get_intents`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntents>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          nameContains='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type nameContains: string
    :param nameContains: 

      Substring to match in intent names. An intent will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

      

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

      
      ::

        {
            'intents': [
                {
                    'name': 'string',
                    'description': 'string',
                    'lastUpdatedDate': datetime(2015, 1, 1),
                    'createdDate': datetime(2015, 1, 1),
                    'version': 'string'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **intents** *(list) --* 

          An array of ``Intent`` objects. For more information, see  PutBot.

          
          

          - *(dict) --* 

            Provides information about an intent.

            
            

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

              The name of the intent.

              
            

            - **description** *(string) --* 

              A description of the intent.

              
            

            - **lastUpdatedDate** *(datetime) --* 

              The date that the intent was updated. When you create an intent, the creation date and last updated date are the same.

              
            

            - **createdDate** *(datetime) --* 

              The date that the intent was created.

              
            

            - **version** *(string) --* 

              The version of the intent.

              
        
      
        

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

          A token to resume pagination.

          
    