SSOAdmin / Client / list_managed_policies_in_permission_set

list_managed_policies_in_permission_set#

SSOAdmin.Client.list_managed_policies_in_permission_set(**kwargs)#

Lists the Amazon Web Services managed policy that is attached to a specified permission set.

See also: AWS API Documentation

Request Syntax

response = client.list_managed_policies_in_permission_set(
    InstanceArn='string',
    MaxResults=123,
    NextToken='string',
    PermissionSetArn='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.

  • MaxResults (integer) – The maximum number of results to display for the PermissionSet.

  • NextToken (string) – The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.

  • PermissionSetArn (string) –

    [REQUIRED]

    The ARN of the PermissionSet whose managed policies will be listed.

Return type:

dict

Returns:

Response Syntax

{
    'AttachedManagedPolicies': [
        {
            'Arn': 'string',
            'Name': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • AttachedManagedPolicies (list) –

      An array of the AttachedManagedPolicy data type object.

      • (dict) –

        A structure that stores the details of the Amazon Web Services managed policy.

    • NextToken (string) –

      The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.

Exceptions