delete_retention_policy

WorkMail.Client.delete_retention_policy(**kwargs)

Deletes the specified retention policy from the specified organization.

See also: AWS API Documentation

Request Syntax

response = client.delete_retention_policy(
    OrganizationId='string',
    Id='string'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The organization ID.

  • Id (string) --

    [REQUIRED]

    The retention policy ID.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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