SSOAdmin / Client / list_customer_managed_policy_references_in_permission_set
list_customer_managed_policy_references_in_permission_set#
- SSOAdmin.Client.list_customer_managed_policy_references_in_permission_set(**kwargs)#
Lists all customer managed policies attached to a specified PermissionSet.
See also: AWS API Documentation
Request Syntax
response = client.list_customer_managed_policy_references_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.
MaxResults (integer) – The maximum number of results to display for the list call.
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
.
- Return type:
dict
- Returns:
Response Syntax
{ 'CustomerManagedPolicyReferences': [ { 'Name': 'string', 'Path': 'string' }, ], 'NextToken': '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.
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