WorkMail / Client / delete_resource

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.

    The identifier can accept ResourceId, or Resourcename. The following identity formats are available:

    • Resource ID: r-0123456789a0123456789b0123456789

    • Resource name: resource

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions