Amazon WorkMail

2021/10/05 - Amazon WorkMail - 2 new api methods

Changes  This release allows customers to change their inbound DMARC settings in Amazon WorkMail.

DescribeInboundDmarcSettings (new) Link ¶

Lists the settings in a DMARC policy for a specified organization.

See also: AWS API Documentation

Request Syntax

client.describe_inbound_dmarc_settings(
    OrganizationId='string'
)
type OrganizationId

string

param OrganizationId

[REQUIRED]

Lists the ID of the given organization.

rtype

dict

returns

Response Syntax

{
    'Enforced': True|False
}

Response Structure

  • (dict) --

    • Enforced (boolean) --

      Lists the enforcement setting of the applied policy.

PutInboundDmarcSettings (new) Link ¶

Enables or disables a DMARC policy for a given organization.

See also: AWS API Documentation

Request Syntax

client.put_inbound_dmarc_settings(
    OrganizationId='string',
    Enforced=True|False
)
type OrganizationId

string

param OrganizationId

[REQUIRED]

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

type Enforced

boolean

param Enforced

[REQUIRED]

Enforces or suspends a policy after it's applied.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --