| 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.SESV2.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 are sent from the
identity are signed using DKIM. If you set this value to false, your
messages are sent without DKIM signing.
$sel:emailIdentity:PutEmailIdentityDkimAttributes', putEmailIdentityDkimAttributes_emailIdentity - The email identity.
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 are sent from the
identity are signed using DKIM. If you set this value to false, your
messages are sent without DKIM signing.
putEmailIdentityDkimAttributes_emailIdentity :: Lens' PutEmailIdentityDkimAttributes Text Source #
The email identity.
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.