Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.WorkMail.PutInboundDmarcSettings
Description
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.
Constructors
PutInboundDmarcSettings' | |
Fields
|
Instances
newPutInboundDmarcSettings Source #
Arguments
:: 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:
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
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.