Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Enables or disables a DMARC policy for a given organization.
Synopsis
- data PutInboundDmarcSettings = PutInboundDmarcSettings' {
- organizationId :: Text
- enforced :: Bool
- newPutInboundDmarcSettings :: Text -> Bool -> PutInboundDmarcSettings
- putInboundDmarcSettings_organizationId :: Lens' PutInboundDmarcSettings Text
- putInboundDmarcSettings_enforced :: Lens' PutInboundDmarcSettings Bool
- data PutInboundDmarcSettingsResponse = PutInboundDmarcSettingsResponse' {
- httpStatus :: Int
- newPutInboundDmarcSettingsResponse :: Int -> PutInboundDmarcSettingsResponse
- putInboundDmarcSettingsResponse_httpStatus :: Lens' PutInboundDmarcSettingsResponse Int
Creating a Request
data PutInboundDmarcSettings Source #
See: newPutInboundDmarcSettings
smart constructor.
PutInboundDmarcSettings' | |
|
Instances
newPutInboundDmarcSettings Source #
:: Text | |
-> Bool | |
-> PutInboundDmarcSettings |
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.
PutInboundDmarcSettingsResponse' | |
|
Instances
Eq PutInboundDmarcSettingsResponse Source # | |
Read PutInboundDmarcSettingsResponse Source # | |
Show PutInboundDmarcSettingsResponse Source # | |
Defined in Amazonka.WorkMail.PutInboundDmarcSettings | |
Generic PutInboundDmarcSettingsResponse Source # | |
NFData PutInboundDmarcSettingsResponse Source # | |
Defined in Amazonka.WorkMail.PutInboundDmarcSettings rnf :: PutInboundDmarcSettingsResponse -> () # | |
type Rep PutInboundDmarcSettingsResponse Source # | |
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
putInboundDmarcSettingsResponse_httpStatus :: Lens' PutInboundDmarcSettingsResponse Int Source #
The response's http status code.