list_customer_managed_policy_references_in_permission_set
¶
list_customer_managed_policy_references_in_permission_set(
instance_arn: InstanceArn,
permission_set_arn: PermissionSetArn,
*,
config_overrides: Optional[SSOAdminClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[Token] = None,
) -> ListCustomerManagedPolicyReferencesInPermissionSetResponse
Lists all customer managed policies attached to a specified PermissionSet.
Parameters:
-
instance_arn(InstanceArn) –The ARN of the IAM Identity Center instance under which the operation will be executed.
-
permission_set_arn(PermissionSetArn) –The ARN of the
PermissionSet. -
max_results(Optional[MaxResults], default:None) –The maximum number of results to display for the list call.
-
next_token(Optional[Token], default:None) –The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure with an internal server.
-
ResourceNotFoundException–Indicates that a requested resource is not found.
-
ThrottlingException–Indicates that the principal has crossed the throttling limits of the API operations.
-
ValidationException–The request failed because it contains a syntax error.
-
UnknownServiceError–The service returned an error code this client does not model.