:doc:`MultipartyApproval <../../mpa>` / Paginator / ListPolicies

************
ListPolicies
************



.. py:class:: MultipartyApproval.Paginator.ListPolicies

  ::

    
    paginator = client.get_paginator('list_policies')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`MultipartyApproval.Client.list_policies`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/ListPolicies>`_    


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

      
      ::

        {
            'Policies': [
                {
                    'Arn': 'string',
                    'DefaultVersion': 123,
                    'PolicyType': 'AWS_MANAGED'|'AWS_RAM',
                    'Name': 'string'
                },
            ]
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **Policies** *(list) --* 

          An array of ``Policy`` objects. Contains a list of policies that define the permissions for team resources.

          
          

          - *(dict) --* 

            Contains details for a policy. Policies define what operations a team that define the permissions for team resources.

            
            

            - **Arn** *(string) --* 

              Amazon Resource Name (ARN) for the policy.

              
            

            - **DefaultVersion** *(integer) --* 

              Determines if the specified policy is the default for the team.

              
            

            - **PolicyType** *(string) --* 

              The type of policy.

              
            

            - **Name** *(string) --* 

              Name of the policy.

              
        
      
    