| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.SES.SetIdentityDkimEnabled
Description
Enables or disables Easy DKIM signing of email sent from an identity:
- If Easy DKIM signing is enabled for a domain name identity (such as
example.com), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (for example,userexample.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 (for example, userexample.com ), you can only enable Easy DKIM signing if the corresponding domain (in this case, example.com ) has been set up for Easy DKIM using the AWS Console or the VerifyDomainDkim@ operation.
You can execute this operation no more than once per second.
For more information about Easy DKIM signing, go to the Amazon SES Developer Guide .
- setIdentityDkimEnabled :: Text -> Bool -> SetIdentityDkimEnabled
- data SetIdentityDkimEnabled
- sideIdentity :: Lens' SetIdentityDkimEnabled Text
- sideDkimEnabled :: Lens' SetIdentityDkimEnabled Bool
- setIdentityDkimEnabledResponse :: Int -> SetIdentityDkimEnabledResponse
- data SetIdentityDkimEnabledResponse
- sidersResponseStatus :: Lens' SetIdentityDkimEnabledResponse Int
Creating a Request
setIdentityDkimEnabled Source #
Arguments
| :: Text | |
| -> Bool | |
| -> SetIdentityDkimEnabled |
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:
sideIdentity- The identity for which DKIM signing should be enabled or disabled.sideDkimEnabled- Sets whether DKIM signing is enabled for an identity. Set totrueto enable DKIM signing for this identity;falseto disable it.
data SetIdentityDkimEnabled Source #
Represents a request to enable or disable Amazon SES Easy DKIM signing for an identity. For more information about setting up Easy DKIM, see the Amazon SES Developer Guide .
See: setIdentityDkimEnabled smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> SetIdentityDkimEnabledResponse |
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:
sidersResponseStatus- -- | The response status code.
data SetIdentityDkimEnabledResponse Source #
An empty element returned on a successful request.
See: setIdentityDkimEnabledResponse smart constructor.
Instances
Response Lenses
sidersResponseStatus :: Lens' SetIdentityDkimEnabledResponse Int Source #
- - | The response status code.