SSOAdmin / Paginator / ListCustomerManagedPolicyReferencesInPermissionSet

ListCustomerManagedPolicyReferencesInPermissionSet#

class SSOAdmin.Paginator.ListCustomerManagedPolicyReferencesInPermissionSet#
paginator = client.get_paginator('list_customer_managed_policy_references_in_permission_set')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    InstanceArn='string',
    PermissionSetArn='string',
    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.

  • PermissionSetArn (string) –

    [REQUIRED]

    The ARN of the PermissionSet.

  • 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

{
    'CustomerManagedPolicyReferences': [
        {
            'Name': 'string',
            'Path': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • CustomerManagedPolicyReferences (list) –

      Specifies the names and paths of the customer managed policies that you have attached to your permission set.

      • (dict) –

        Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.

        • Name (string) –

          The name of the IAM policy that you have configured in each account where you want to deploy your permission set.

        • Path (string) –

          The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is /. For more information, see Friendly names and paths in the IAM User Guide.