libZSservicesZSamazonka-workmailZSamazonka-workmail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkMail.PutInboundDmarcSettings

Description

Enables or disables a DMARC policy for a given organization.

Synopsis

Creating a Request

data PutInboundDmarcSettings Source #

See: newPutInboundDmarcSettings smart constructor.

Constructors

PutInboundDmarcSettings' 

Fields

  • organizationId :: Text

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

  • enforced :: Bool

    Enforces or suspends a policy after it's applied.

Instances

Instances details
Eq PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

Read PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

Show PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

Generic PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

Associated Types

type Rep PutInboundDmarcSettings :: Type -> Type #

NFData PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

Methods

rnf :: PutInboundDmarcSettings -> () #

Hashable PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

ToJSON PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

AWSRequest PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

ToHeaders PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

ToPath PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

ToQuery PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

type Rep PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

type Rep PutInboundDmarcSettings = D1 ('MetaData "PutInboundDmarcSettings" "Amazonka.WorkMail.PutInboundDmarcSettings" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "PutInboundDmarcSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "enforced") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))
type AWSResponse PutInboundDmarcSettings Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

newPutInboundDmarcSettings Source #

Create a value of PutInboundDmarcSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:organizationId:PutInboundDmarcSettings', putInboundDmarcSettings_organizationId - The ID of the organization that you are applying the DMARC policy to.

$sel:enforced:PutInboundDmarcSettings', putInboundDmarcSettings_enforced - Enforces or suspends a policy after it's applied.

Request Lenses

putInboundDmarcSettings_organizationId :: Lens' PutInboundDmarcSettings Text Source #

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

putInboundDmarcSettings_enforced :: Lens' PutInboundDmarcSettings Bool Source #

Enforces or suspends a policy after it's applied.

Destructuring the Response

data PutInboundDmarcSettingsResponse Source #

See: newPutInboundDmarcSettingsResponse smart constructor.

Constructors

PutInboundDmarcSettingsResponse' 

Fields

Instances

Instances details
Eq PutInboundDmarcSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

Read PutInboundDmarcSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

Show PutInboundDmarcSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

Generic PutInboundDmarcSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

Associated Types

type Rep PutInboundDmarcSettingsResponse :: Type -> Type #

NFData PutInboundDmarcSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

type Rep PutInboundDmarcSettingsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutInboundDmarcSettings

type Rep PutInboundDmarcSettingsResponse = D1 ('MetaData "PutInboundDmarcSettingsResponse" "Amazonka.WorkMail.PutInboundDmarcSettings" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "PutInboundDmarcSettingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutInboundDmarcSettingsResponse Source #

Create a value of PutInboundDmarcSettingsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:PutInboundDmarcSettingsResponse', putInboundDmarcSettingsResponse_httpStatus - The response's http status code.

Response Lenses