Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Enables or disables Easy DKIM signing of email sent from an identity:
- If Easy DKIM signing is enabled for a domain name identity (e.g., 'example.com'), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g., 'user\'example.com').
- If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address.
For email addresses (e.g., 'user\'example.com'), you can only enable
Easy DKIM signing if the corresponding domain (e.g., 'example.com') has
been set up for Easy DKIM using the AWS Console or the
VerifyDomainDkim
action.
This action is throttled at one request per second.
For more information about Easy DKIM signing, go to the Amazon SES Developer Guide.
See: AWS API Reference for SetIdentityDkimEnabled.
- setIdentityDkimEnabled :: Text -> Bool -> SetIdentityDkimEnabled
- data SetIdentityDkimEnabled
- sideIdentity :: Lens' SetIdentityDkimEnabled Text
- sideDkimEnabled :: Lens' SetIdentityDkimEnabled Bool
- setIdentityDkimEnabledResponse :: Int -> SetIdentityDkimEnabledResponse
- data SetIdentityDkimEnabledResponse
- sidersStatus :: Lens' SetIdentityDkimEnabledResponse Int
Creating a Request
Creates a value of SetIdentityDkimEnabled
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetIdentityDkimEnabled Source
Represents a request instructing the service to enable or disable DKIM signing for an identity.
See: setIdentityDkimEnabled
smart constructor.
Request Lenses
sideIdentity :: Lens' SetIdentityDkimEnabled Text Source
The identity for which DKIM signing should be enabled or disabled.
sideDkimEnabled :: Lens' SetIdentityDkimEnabled Bool Source
Sets whether DKIM signing is enabled for an identity. Set to true
to
enable DKIM signing for this identity; false
to disable it.
Destructuring the Response
setIdentityDkimEnabledResponse Source
Creates a value of SetIdentityDkimEnabledResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetIdentityDkimEnabledResponse Source
An empty element. Receiving this element indicates that the request completed successfully.
See: setIdentityDkimEnabledResponse
smart constructor.
Response Lenses
sidersStatus :: Lens' SetIdentityDkimEnabledResponse Int Source
The response status code.