| 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.PinpointEmail.PutEmailIdentityDkimAttributes
Description
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.
Constructors
| PutEmailIdentityDkimAttributes' | |
Fields
| |
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:
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.
Constructors
| PutEmailIdentityDkimAttributesResponse' | |
Fields
| |
Instances
newPutEmailIdentityDkimAttributesResponse Source #
Arguments
| :: Int | |
| -> PutEmailIdentityDkimAttributesResponse |
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.