EKS / Paginator / ListAccessEntries

ListAccessEntries#

class EKS.Paginator.ListAccessEntries#
paginator = client.get_paginator('list_access_entries')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from EKS.Client.list_access_entries().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    clusterName='string',
    associatedPolicyArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • clusterName (string) –

    [REQUIRED]

    The name of your cluster.

  • associatedPolicyArn (string) – The ARN of an AccessPolicy. When you specify an access policy ARN, only the access entries associated to that access policy are returned. For a list of available policy ARNs, use ListAccessPolicies.

  • PaginationConfig (dict) –

    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.

Return type:

dict

Returns:

Response Syntax

{
    'accessEntries': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • accessEntries (list) –

      The list of access entries that exist for the cluster.

      • (string) –

    • NextToken (string) –

      A token to resume pagination.