delete_resource

WorkMail.Client.delete_resource(**kwargs)

Deletes the specified resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The identifier associated with the organization from which the resource is deleted.

  • ResourceId (string) --

    [REQUIRED]

    The identifier of the resource to be deleted.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkMail.Client.exceptions.EntityStateException
  • WorkMail.Client.exceptions.InvalidParameterException
  • WorkMail.Client.exceptions.OrganizationNotFoundException
  • WorkMail.Client.exceptions.OrganizationStateException