VerifiedPermissions / Paginator / ListIdentitySources

ListIdentitySources#

class VerifiedPermissions.Paginator.ListIdentitySources#
paginator = client.get_paginator('list_identity_sources')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from VerifiedPermissions.Client.list_identity_sources().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    policyStoreId='string',
    filters=[
        {
            'principalEntityType': 'string'
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • policyStoreId (string) –

    [REQUIRED]

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

  • filters (list) –

    Specifies characteristics of an identity source that you can use to limit the output to matching identity sources.

    • (dict) –

      A structure that defines characteristics of an identity source that you can use to filter.

      This data type is used as a request parameter for the ListIdentityStores operation.

      • principalEntityType (string) –

        The Cedar entity type of the principals returned by the identity provider (IdP) associated with this identity source.

  • 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

{
    'identitySources': [
        {
            'createdDate': datetime(2015, 1, 1),
            'details': {
                'clientIds': [
                    'string',
                ],
                'userPoolArn': 'string',
                'discoveryUrl': 'string',
                'openIdIssuer': 'COGNITO'
            },
            'identitySourceId': 'string',
            'lastUpdatedDate': datetime(2015, 1, 1),
            'policyStoreId': 'string',
            'principalEntityType': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • identitySources (list) –

      The list of identity sources stored in the specified policy store.

      • (dict) –

        A structure that defines an identity source.

        This data type is used as a request parameter for the ListIdentityStores operation.

        • createdDate (datetime) –

          The date and time the identity source was originally created.

        • details (dict) –

          A structure that contains the details of the associated identity provider (IdP).

          • clientIds (list) –

            The application client IDs associated with the specified Amazon Cognito user pool that are enabled for this identity source.

            • (string) –

          • userPoolArn (string) –

            The Amazon Cognito user pool whose identities are accessible to this Verified Permissions policy store.

          • discoveryUrl (string) –

            The well-known URL that points to this user pool’s OIDC discovery endpoint. This is a URL string in the following format. This URL replaces the placeholders for both the Amazon Web Services Region and the user pool identifier with those appropriate for this user pool.

            https://cognito-idp.<region>.amazonaws.com/<user-pool-id>/.well-known/openid-configuration

          • openIdIssuer (string) –

            A string that identifies the type of OIDC service represented by this identity source.

            At this time, the only valid value is cognito.

        • identitySourceId (string) –

          The unique identifier of the identity source.

        • lastUpdatedDate (datetime) –

          The date and time the identity source was most recently updated.

        • policyStoreId (string) –

          The identifier of the policy store that contains the identity source.

        • principalEntityType (string) –

          The Cedar entity type of the principals returned from the IdP associated with this identity source.

    • NextToken (string) –

      A token to resume pagination.