list_managed_policies_in_permission_set
(**kwargs)¶Lists the AWS 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',
PermissionSetArn='string',
MaxResults=123,
NextToken='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 AWS Service Namespaces in the AWS General Reference .
[REQUIRED]
The ARN of the PermissionSet whose managed policies will be listed.
dict
Response Syntax
{
'AttachedManagedPolicies': [
{
'Name': 'string',
'Arn': '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 AWS managed policy.
Name (string) --
The name of the AWS managed policy.
Arn (string) --
The ARN of the AWS managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference .
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
SSOAdmin.Client.exceptions.ResourceNotFoundException
SSOAdmin.Client.exceptions.InternalServerException
SSOAdmin.Client.exceptions.ThrottlingException
SSOAdmin.Client.exceptions.ValidationException
SSOAdmin.Client.exceptions.AccessDeniedException