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 Amazon Web Services 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',
    ManagedPolicyArn='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 Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

  • ManagedPolicyArn (string) –

    [REQUIRED]

    The Amazon Web Services managed policy ARN to be detached from a permission set.

  • PermissionSetArn (string) –

    [REQUIRED]

    The ARN of the PermissionSet from which the policy should be detached.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SSOAdmin.Client.exceptions.ThrottlingException

  • SSOAdmin.Client.exceptions.InternalServerException

  • SSOAdmin.Client.exceptions.ResourceNotFoundException

  • SSOAdmin.Client.exceptions.AccessDeniedException

  • SSOAdmin.Client.exceptions.ValidationException

  • SSOAdmin.Client.exceptions.ConflictException