SSOAdmin / Paginator / ListAccountsForProvisionedPermissionSet

ListAccountsForProvisionedPermissionSet#

class SSOAdmin.Paginator.ListAccountsForProvisionedPermissionSet#
paginator = client.get_paginator('list_accounts_for_provisioned_permission_set')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from SSOAdmin.Client.list_accounts_for_provisioned_permission_set().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    InstanceArn='string',
    PermissionSetArn='string',
    ProvisioningStatus='LATEST_PERMISSION_SET_PROVISIONED'|'LATEST_PERMISSION_SET_NOT_PROVISIONED',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • InstanceArn (string) –

    [REQUIRED]

    The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

  • PermissionSetArn (string) –

    [REQUIRED]

    The ARN of the PermissionSet from which the associated Amazon Web Services accounts will be listed.

  • ProvisioningStatus (string) – The permission set provisioning status for an Amazon Web Services account.

  • 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

{
    'AccountIds': [
        'string',
    ],

}

Response Structure

  • (dict) –

    • AccountIds (list) –

      The list of Amazon Web Services AccountIds.

      • (string) –