:doc:`VerifiedPermissions <../../verifiedpermissions>` / Paginator / ListPolicyTemplates

*******************
ListPolicyTemplates
*******************



.. py:class:: VerifiedPermissions.Paginator.ListPolicyTemplates

  ::

    
    paginator = client.get_paginator('list_policy_templates')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`VerifiedPermissions.Client.list_policy_templates`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListPolicyTemplates>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          policyStoreId='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type policyStoreId: string
    :param policyStoreId: **[REQUIRED]** 

      Specifies the ID of the policy store that contains the policy templates you want to list.

      

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

      
      ::

        {
            'policyTemplates': [
                {
                    'policyStoreId': 'string',
                    'policyTemplateId': 'string',
                    'description': 'string',
                    'createdDate': datetime(2015, 1, 1),
                    'lastUpdatedDate': datetime(2015, 1, 1)
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **policyTemplates** *(list) --* 

          The list of the policy templates in the specified policy store.

          
          

          - *(dict) --* 

            Contains details about a policy template

             

            This data type is used as a response parameter for the `ListPolicyTemplates <https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListPolicyTemplates.html>`__ operation.

            
            

            - **policyStoreId** *(string) --* 

              The unique identifier of the policy store that contains the template.

              
            

            - **policyTemplateId** *(string) --* 

              The unique identifier of the policy template.

              
            

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

              The description attached to the policy template.

              
            

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

              The date and time that the policy template was created.

              
            

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

              The date and time that the policy template was most recently updated.

              
        
      
        

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

          A token to resume pagination.

          
    