SSOAdmin / Client / get_inline_policy_for_permission_set

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:
Return type:

dict

Returns:

Response Syntax

{
    'InlinePolicy': 'string'
}

Response Structure

  • (dict) –

    • InlinePolicy (string) –

      The inline policy that is attached to the permission set.

      Note

      For Length Constraints, if a valid ARN is provided for a permission set, it is possible for an empty inline policy to be returned.

Exceptions

  • SSOAdmin.Client.exceptions.ThrottlingException

  • SSOAdmin.Client.exceptions.InternalServerException

  • SSOAdmin.Client.exceptions.ResourceNotFoundException

  • SSOAdmin.Client.exceptions.AccessDeniedException

  • SSOAdmin.Client.exceptions.ValidationException