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 |
Used to enable or disable DKIM authentication for an email identity.
Synopsis
- data PutEmailIdentityDkimAttributes = PutEmailIdentityDkimAttributes' {}
- newPutEmailIdentityDkimAttributes :: Text -> PutEmailIdentityDkimAttributes
- putEmailIdentityDkimAttributes_signingEnabled :: Lens' PutEmailIdentityDkimAttributes (Maybe Bool)
- putEmailIdentityDkimAttributes_emailIdentity :: Lens' PutEmailIdentityDkimAttributes Text
- data PutEmailIdentityDkimAttributesResponse = PutEmailIdentityDkimAttributesResponse' {
- httpStatus :: Int
- newPutEmailIdentityDkimAttributesResponse :: Int -> PutEmailIdentityDkimAttributesResponse
- putEmailIdentityDkimAttributesResponse_httpStatus :: Lens' PutEmailIdentityDkimAttributesResponse Int
Creating a Request
data PutEmailIdentityDkimAttributes Source #
A request to enable or disable DKIM signing of email that you send from an email identity.
See: newPutEmailIdentityDkimAttributes
smart constructor.
PutEmailIdentityDkimAttributes' | |
|
Instances
newPutEmailIdentityDkimAttributes Source #
Create a value of PutEmailIdentityDkimAttributes
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:signingEnabled:PutEmailIdentityDkimAttributes'
, putEmailIdentityDkimAttributes_signingEnabled
- Sets the DKIM signing configuration for the identity.
When you set this value true
, then the messages that Amazon Pinpoint
sends from the identity are DKIM-signed. When you set this value to
false
, then the messages that Amazon Pinpoint sends from the identity
aren't DKIM-signed.
$sel:emailIdentity:PutEmailIdentityDkimAttributes'
, putEmailIdentityDkimAttributes_emailIdentity
- The email identity that you want to change the DKIM settings for.
Request Lenses
putEmailIdentityDkimAttributes_signingEnabled :: Lens' PutEmailIdentityDkimAttributes (Maybe Bool) Source #
Sets the DKIM signing configuration for the identity.
When you set this value true
, then the messages that Amazon Pinpoint
sends from the identity are DKIM-signed. When you set this value to
false
, then the messages that Amazon Pinpoint sends from the identity
aren't DKIM-signed.
putEmailIdentityDkimAttributes_emailIdentity :: Lens' PutEmailIdentityDkimAttributes Text Source #
The email identity that you want to change the DKIM settings for.
Destructuring the Response
data PutEmailIdentityDkimAttributesResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutEmailIdentityDkimAttributesResponse
smart constructor.
PutEmailIdentityDkimAttributesResponse' | |
|
Instances
Eq PutEmailIdentityDkimAttributesResponse Source # | |
Read PutEmailIdentityDkimAttributesResponse Source # | |
Show PutEmailIdentityDkimAttributesResponse Source # | |
Generic PutEmailIdentityDkimAttributesResponse Source # | |
Defined in Amazonka.PinpointEmail.PutEmailIdentityDkimAttributes type Rep PutEmailIdentityDkimAttributesResponse :: Type -> Type # | |
NFData PutEmailIdentityDkimAttributesResponse Source # | |
type Rep PutEmailIdentityDkimAttributesResponse Source # | |
Defined in Amazonka.PinpointEmail.PutEmailIdentityDkimAttributes type Rep PutEmailIdentityDkimAttributesResponse = D1 ('MetaData "PutEmailIdentityDkimAttributesResponse" "Amazonka.PinpointEmail.PutEmailIdentityDkimAttributes" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "PutEmailIdentityDkimAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutEmailIdentityDkimAttributesResponse Source #
Create a value of PutEmailIdentityDkimAttributesResponse
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:PutEmailIdentityDkimAttributesResponse'
, putEmailIdentityDkimAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
putEmailIdentityDkimAttributesResponse_httpStatus :: Lens' PutEmailIdentityDkimAttributesResponse Int Source #
The response's http status code.