WorkMail / Client / disassociate_delegate_from_resource

disassociate_delegate_from_resource#

WorkMail.Client.disassociate_delegate_from_resource(**kwargs)#

Removes a member from the resource’s set of delegates.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_delegate_from_resource(
    OrganizationId='string',
    ResourceId='string',
    EntityId='string'
)
Parameters:
  • OrganizationId (string) –

    [REQUIRED]

    The identifier for the organization under which the resource exists.

  • ResourceId (string) –

    [REQUIRED]

    The identifier of the resource from which delegates’ set members are removed.

  • EntityId (string) –

    [REQUIRED]

    The identifier for the member (user, group) to be removed from the resource’s delegates.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • WorkMail.Client.exceptions.EntityNotFoundException

  • WorkMail.Client.exceptions.EntityStateException

  • WorkMail.Client.exceptions.InvalidParameterException

  • WorkMail.Client.exceptions.OrganizationNotFoundException

  • WorkMail.Client.exceptions.OrganizationStateException