SSOAdmin.Client.
list_permission_sets
(**kwargs)¶Lists the PermissionSet s in an IAM Identity Center instance.
See also: AWS API Documentation
Request Syntax
response = client.list_permission_sets(
InstanceArn='string',
NextToken='string',
MaxResults=123
)
[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 .
dict
Response Syntax
{
'PermissionSets': [
'string',
],
'NextToken': 'string'
}
Response Structure
(dict) --
PermissionSets (list) --
Defines the level of access on an AWS account.
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