:doc:`EKS <../../eks>` / Paginator / ListAccessPolicies

******************
ListAccessPolicies
******************



.. py:class:: EKS.Paginator.ListAccessPolicies

  ::

    
    paginator = client.get_paginator('list_access_policies')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`EKS.Client.list_access_policies`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListAccessPolicies>`_    


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

      
      ::

        {
            'accessPolicies': [
                {
                    'name': 'string',
                    'arn': 'string'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **accessPolicies** *(list) --* 

          The list of available access policies. You can't view the contents of an access policy using the API. To view the contents, see `Access policy permissions <https://docs.aws.amazon.com/eks/latest/userguide/access-policies.html#access-policy-permissions>`__ in the *Amazon EKS User Guide*.

          
          

          - *(dict) --* 

            An access policy includes permissions that allow Amazon EKS to authorize an IAM principal to work with Kubernetes objects on your cluster. The policies are managed by Amazon EKS, but they're not IAM policies. You can't view the permissions in the policies using the API. The permissions for many of the policies are similar to the Kubernetes ``cluster-admin``, ``admin``, ``edit``, and ``view`` cluster roles. For more information about these cluster roles, see `User-facing roles <https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles>`__ in the Kubernetes documentation. To view the contents of the policies, see `Access policy permissions <https://docs.aws.amazon.com/eks/latest/userguide/access-policies.html#access-policy-permissions>`__ in the *Amazon EKS User Guide*.

            
            

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

              The name of the access policy.

              
            

            - **arn** *(string) --* 

              The ARN of the access policy.

              
        
      
        

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

          A token to resume pagination.

          
    