SSOAdmin / Client / detach_managed_policy_from_permission_set

detach_managed_policy_from_permission_set#

SSOAdmin.Client.detach_managed_policy_from_permission_set(**kwargs)#

Detaches the attached AWS managed policy ARN from the specified permission set.

See also: AWS API Documentation

Request Syntax

response = client.detach_managed_policy_from_permission_set(
    InstanceArn='string',
    PermissionSetArn='string',
    ManagedPolicyArn='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 PermissionSet from which the policy should be detached.

  • ManagedPolicyArn (string) –

    [REQUIRED]

    The AWS managed policy ARN to be detached from a permission set.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SSOAdmin.Client.exceptions.ResourceNotFoundException

  • SSOAdmin.Client.exceptions.InternalServerException

  • SSOAdmin.Client.exceptions.ThrottlingException

  • SSOAdmin.Client.exceptions.ValidationException

  • SSOAdmin.Client.exceptions.AccessDeniedException

  • SSOAdmin.Client.exceptions.ConflictException