delete_resource(**kwargs)¶Deletes the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource(
    OrganizationId='string',
    ResourceId='string'
)
[REQUIRED]
The identifier associated with the organization from which the resource is deleted.
[REQUIRED]
The identifier of the resource to be deleted.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.EntityStateExceptionWorkMail.Client.exceptions.InvalidParameterExceptionWorkMail.Client.exceptions.OrganizationNotFoundExceptionWorkMail.Client.exceptions.OrganizationStateException