associate_delegate_to_resource

associate_delegate_to_resource(**kwargs)

Adds a member (user or group) to the resource's set of delegates.

See also: AWS API Documentation

Request Syntax

response = client.associate_delegate_to_resource(
    OrganizationId='string',
    ResourceId='string',
    EntityId='string'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The organization under which the resource exists.

  • ResourceId (string) --

    [REQUIRED]

    The resource for which members (users or groups) are associated.

  • EntityId (string) --

    [REQUIRED]

    The member (user or group) to associate to the resource.

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