Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

put_inbound_dmarc_settings

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