WorkMail / Client / put_inbound_dmarc_settings

put_inbound_dmarc_settings#

WorkMail.Client.put_inbound_dmarc_settings(**kwargs)#

Enables or disables a DMARC policy for a given organization.

See also: AWS API Documentation

Request Syntax

response = client.put_inbound_dmarc_settings(
    OrganizationId='string',
    Enforced=True|False
)
Parameters:
  • OrganizationId (string) –

    [REQUIRED]

    The ID of the organization that you are applying the DMARC policy to.

  • Enforced (boolean) –

    [REQUIRED]

    Enforces or suspends a policy after it’s applied.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • WorkMail.Client.exceptions.OrganizationNotFoundException

  • WorkMail.Client.exceptions.OrganizationStateException