get_inline_policy_for_permission_set

SSOAdmin.Client.get_inline_policy_for_permission_set(**kwargs)

Obtains the inline policy assigned to the permission set.

See also: AWS API Documentation

Request Syntax

response = client.get_inline_policy_for_permission_set(
    InstanceArn='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 AWS Service Namespaces in the AWS General Reference .

  • PermissionSetArn (string) --

    [REQUIRED]

    The ARN of the permission set.

Return type

dict

Returns

Response Syntax

{
    'InlinePolicy': 'string'
}

Response Structure

  • (dict) --

    • InlinePolicy (string) --

      The inline policy that is attached to the permission set.

Exceptions

  • SSOAdmin.Client.exceptions.ResourceNotFoundException
  • SSOAdmin.Client.exceptions.InternalServerException
  • SSOAdmin.Client.exceptions.ThrottlingException
  • SSOAdmin.Client.exceptions.ValidationException
  • SSOAdmin.Client.exceptions.AccessDeniedException