-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Amazon Simple Email Service SDK.
--   
--   The types from this library are intended to be used with
--   <a>amazonka</a>, which provides mechanisms for specifying AuthN/AuthZ
--   information, sending requests, and receiving responses.
--   
--   Lenses are used for constructing and manipulating types, due to the
--   depth of nesting of AWS types and transparency regarding
--   de/serialisation into more palatable Haskell values. The provided
--   lenses should be compatible with any of the major lens libraries such
--   as <a>lens</a> or <a>lens-family-core</a>.
--   
--   See <a>Network.AWS.SES</a> or <a>the AWS documentation</a> to get
--   started.
@package amazonka-ses
@version 1.4.5


module Network.AWS.SES.Types

-- | API version <tt>2010-12-01</tt> of the Amazon Simple Email Service SDK
--   configuration.
ses :: Service

-- | Indicates that the configuration set is invalid. See the error message
--   for details.
_InvalidConfigurationSetException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the delete operation could not be completed.
_CannotDeleteException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided receipt rule does not exist.
_RuleDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the action failed, and the message could not be sent.
--   Check the error stack for more information about what caused the
--   error.
_MessageRejected :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided receipt rule set does not exist.
_RuleSetDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the message could not be sent because Amazon SES could
--   not read the MX record required to use the specified MAIL FROM domain.
--   For information about editing the custom MAIL FROM domain settings for
--   an identity, see the <a>Amazon SES Developer Guide</a> .
_MailFromDomainNotVerifiedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the Amazon Kinesis Firehose destination is invalid. See
--   the error message for details.
_InvalidFirehoseDestinationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the configuration set could not be created because of a
--   naming conflict.
_ConfigurationSetAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the event destination does not exist.
_EventDestinationDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the Amazon CloudWatch destination is invalid. See the
--   error message for details.
_InvalidCloudWatchDestinationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided AWS Lambda function is invalid, or that
--   Amazon SES could not execute the provided function, possibly due to
--   permissions issues. For information about giving permissions, see the
--   <a>Amazon SES Developer Guide</a> .
_InvalidLambdaFunctionException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the configuration set does not exist.
_ConfigurationSetDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided policy is invalid. Check the error stack
--   for more information about what caused the error.
_InvalidPolicyException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided Amazon S3 bucket or AWS KMS encryption key
--   is invalid, or that Amazon SES could not publish to the bucket,
--   possibly due to permissions issues. For information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> .
_InvalidS3ConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided Amazon SNS topic is invalid, or that
--   Amazon SES could not publish to the topic, possibly due to permissions
--   issues. For information about giving permissions, see the <a>Amazon
--   SES Developer Guide</a> .
_InvalidSNSTopicException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the event destination could not be created because of a
--   naming conflict.
_EventDestinationAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that a resource could not be created because of a naming
--   conflict.
_AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that a resource could not be created because of service
--   limits. For a list of Amazon SES limits, see the <a>Amazon SES
--   Developer Guide</a> .
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
data BehaviorOnMXFailure
RejectMessage :: BehaviorOnMXFailure
UseDefaultValue :: BehaviorOnMXFailure
data BounceType
BTContentRejected :: BounceType
BTDoesNotExist :: BounceType
BTExceededQuota :: BounceType
BTMessageTooLarge :: BounceType
BTTemporaryFailure :: BounceType
BTUndefined :: BounceType
data ConfigurationSetAttribute
EventDestinations :: ConfigurationSetAttribute
data CustomMailFromStatus
CMFSFailed :: CustomMailFromStatus
CMFSPending :: CustomMailFromStatus
CMFSSuccess :: CustomMailFromStatus
CMFSTemporaryFailure :: CustomMailFromStatus
data DimensionValueSource
EmailHeader :: DimensionValueSource
MessageTag :: DimensionValueSource
data DsnAction
DADelayed :: DsnAction
DADelivered :: DsnAction
DAExpanded :: DsnAction
DAFailed :: DsnAction
DARelayed :: DsnAction
data EventType
ETBounce :: EventType
ETComplaint :: EventType
ETDelivery :: EventType
ETReject :: EventType
ETSend :: EventType
data IdentityType
Domain :: IdentityType
EmailAddress :: IdentityType
data InvocationType
Event :: InvocationType
RequestResponse :: InvocationType
data NotificationType
Bounce :: NotificationType
Complaint :: NotificationType
Delivery :: NotificationType
data ReceiptFilterPolicy
Allow :: ReceiptFilterPolicy
Block :: ReceiptFilterPolicy
data SNSActionEncoding
BASE64 :: SNSActionEncoding
Utf8 :: SNSActionEncoding
data StopScope
RuleSet :: StopScope
data TLSPolicy
Optional :: TLSPolicy
Require :: TLSPolicy
data VerificationStatus
Failed :: VerificationStatus
NotStarted :: VerificationStatus
Pending :: VerificationStatus
Success :: VerificationStatus
TemporaryFailure :: VerificationStatus

-- | When included in a receipt rule, this action adds a header to the
--   received email.
--   
--   For information about adding a header using a receipt rule, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>addHeaderAction</a> smart constructor.
data AddHeaderAction

-- | Creates a value of <a>AddHeaderAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ahaHeaderName</a> - The name of the header to add. Must be
--   between 1 and 50 characters, inclusive, and consist of alphanumeric
--   (a-z, A-Z, 0-9) characters and dashes only.</li>
--   <li><a>ahaHeaderValue</a> - Must be less than 2048 characters, and
--   must not contain newline characters ("r" or "n").</li>
--   </ul>
addHeaderAction :: Text -> Text -> AddHeaderAction

-- | The name of the header to add. Must be between 1 and 50 characters,
--   inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and
--   dashes only.
ahaHeaderName :: Lens' AddHeaderAction Text

-- | Must be less than 2048 characters, and must not contain newline
--   characters ("r" or "n").
ahaHeaderValue :: Lens' AddHeaderAction Text

-- | Represents the body of the message. You can specify text, HTML, or
--   both. If you use both, then the message should display correctly in
--   the widest variety of email clients.
--   
--   <i>See:</i> <a>body</a> smart constructor.
data Body

-- | Creates a value of <a>Body</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>bText</a> - The content of the message, in text format. Use
--   this for text-based email clients, or clients on high-latency networks
--   (such as mobile devices).</li>
--   <li><a>bHTML</a> - The content of the message, in HTML format. Use
--   this for email clients that can process HTML. You can include
--   clickable links, formatted text, and much more in an HTML
--   message.</li>
--   </ul>
body :: Body

-- | The content of the message, in text format. Use this for text-based
--   email clients, or clients on high-latency networks (such as mobile
--   devices).
bText :: Lens' Body (Maybe Content)

-- | The content of the message, in HTML format. Use this for email clients
--   that can process HTML. You can include clickable links, formatted
--   text, and much more in an HTML message.
bHTML :: Lens' Body (Maybe Content)

-- | When included in a receipt rule, this action rejects the received
--   email by returning a bounce response to the sender and, optionally,
--   publishes a notification to Amazon Simple Notification Service (Amazon
--   SNS).
--   
--   For information about sending a bounce message in response to a
--   received email, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>bounceAction</a> smart constructor.
data BounceAction

-- | Creates a value of <a>BounceAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>baTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify when the bounce action is taken. An example of an
--   Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   <li><a>baStatusCode</a> - The SMTP enhanced status code, as defined by
--   <a>RFC 3463</a> .</li>
--   <li><a>baSmtpReplyCode</a> - The SMTP reply code, as defined by <a>RFC
--   5321</a> .</li>
--   <li><a>baMessage</a> - Human-readable text to include in the bounce
--   message.</li>
--   <li><a>baSender</a> - The email address of the sender of the bounced
--   email. This is the address from which the bounce message will be
--   sent.</li>
--   </ul>
bounceAction :: Text -> Text -> Text -> BounceAction

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
--   the bounce action is taken. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
baTopicARN :: Lens' BounceAction (Maybe Text)

-- | The SMTP enhanced status code, as defined by <a>RFC 3463</a> .
baStatusCode :: Lens' BounceAction (Maybe Text)

-- | The SMTP reply code, as defined by <a>RFC 5321</a> .
baSmtpReplyCode :: Lens' BounceAction Text

-- | Human-readable text to include in the bounce message.
baMessage :: Lens' BounceAction Text

-- | The email address of the sender of the bounced email. This is the
--   address from which the bounce message will be sent.
baSender :: Lens' BounceAction Text

-- | Recipient-related information to include in the Delivery Status
--   Notification (DSN) when an email that Amazon SES receives on your
--   behalf bounces.
--   
--   For information about receiving email through Amazon SES, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>bouncedRecipientInfo</a> smart constructor.
data BouncedRecipientInfo

-- | Creates a value of <a>BouncedRecipientInfo</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>briBounceType</a> - The reason for the bounce. You must provide
--   either this parameter or <tt>RecipientDsnFields</tt> .</li>
--   <li><a>briRecipientDsnFields</a> - Recipient-related DSN fields, most
--   of which would normally be filled in automatically when provided with
--   a <tt>BounceType</tt> . You must provide either this parameter or
--   <tt>BounceType</tt> .</li>
--   <li><a>briRecipientARN</a> - This parameter is used only for sending
--   authorization. It is the ARN of the identity that is associated with
--   the sending authorization policy that permits you to receive email for
--   the recipient of the bounced email. For more information about sending
--   authorization, see the <a>Amazon SES Developer Guide</a> .</li>
--   <li><a>briRecipient</a> - The email address of the recipient of the
--   bounced email.</li>
--   </ul>
bouncedRecipientInfo :: Text -> BouncedRecipientInfo

-- | The reason for the bounce. You must provide either this parameter or
--   <tt>RecipientDsnFields</tt> .
briBounceType :: Lens' BouncedRecipientInfo (Maybe BounceType)

-- | Recipient-related DSN fields, most of which would normally be filled
--   in automatically when provided with a <tt>BounceType</tt> . You must
--   provide either this parameter or <tt>BounceType</tt> .
briRecipientDsnFields :: Lens' BouncedRecipientInfo (Maybe RecipientDsnFields)

-- | This parameter is used only for sending authorization. It is the ARN
--   of the identity that is associated with the sending authorization
--   policy that permits you to receive email for the recipient of the
--   bounced email. For more information about sending authorization, see
--   the <a>Amazon SES Developer Guide</a> .
briRecipientARN :: Lens' BouncedRecipientInfo (Maybe Text)

-- | The email address of the recipient of the bounced email.
briRecipient :: Lens' BouncedRecipientInfo Text

-- | Contains information associated with an Amazon CloudWatch event
--   destination to which email sending events are published.
--   
--   Event destinations, such as Amazon CloudWatch, are associated with
--   configuration sets, which enable you to publish email sending events.
--   For information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>cloudWatchDestination</a> smart constructor.
data CloudWatchDestination

-- | Creates a value of <a>CloudWatchDestination</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cwdDimensionConfigurations</a> - A list of dimensions upon
--   which to categorize your emails when you publish email sending events
--   to Amazon CloudWatch.</li>
--   </ul>
cloudWatchDestination :: CloudWatchDestination

-- | A list of dimensions upon which to categorize your emails when you
--   publish email sending events to Amazon CloudWatch.
cwdDimensionConfigurations :: Lens' CloudWatchDestination [CloudWatchDimensionConfiguration]

-- | Contains the dimension configuration to use when you publish email
--   sending events to Amazon CloudWatch.
--   
--   For information about publishing email sending events to Amazon
--   CloudWatch, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>cloudWatchDimensionConfiguration</a> smart constructor.
data CloudWatchDimensionConfiguration

-- | Creates a value of <a>CloudWatchDimensionConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cwdcDimensionName</a> - The name of an Amazon CloudWatch
--   dimension associated with an email sending metric. The name must: *
--   Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
--   or dashes (-). * Contain less than 256 characters.</li>
--   <li><a>cwdcDimensionValueSource</a> - The place where Amazon SES finds
--   the value of a dimension to publish to Amazon CloudWatch. If you want
--   Amazon SES to use the message tags that you specify using an
--   <tt>X-SES-MESSAGE-TAGS</tt> header or a parameter to the
--   <tt>SendEmail</tt> /<tt>SendRawEmail</tt> API, choose
--   <tt>messageTag</tt> . If you want Amazon SES to use your own email
--   headers, choose <tt>emailHeader</tt> .</li>
--   <li><a>cwdcDefaultDimensionValue</a> - The default value of the
--   dimension that is published to Amazon CloudWatch if you do not provide
--   the value of the dimension when you send an email. The default value
--   must: * Contain only ASCII letters (a-z, A-Z), numbers (0-9),
--   underscores (_), or dashes (-). * Contain less than 256
--   characters.</li>
--   </ul>
cloudWatchDimensionConfiguration :: Text -> DimensionValueSource -> Text -> CloudWatchDimensionConfiguration

-- | The name of an Amazon CloudWatch dimension associated with an email
--   sending metric. The name must: * Contain only ASCII letters (a-z,
--   A-Z), numbers (0-9), underscores (_), or dashes (-). * Contain less
--   than 256 characters.
cwdcDimensionName :: Lens' CloudWatchDimensionConfiguration Text

-- | The place where Amazon SES finds the value of a dimension to publish
--   to Amazon CloudWatch. If you want Amazon SES to use the message tags
--   that you specify using an <tt>X-SES-MESSAGE-TAGS</tt> header or a
--   parameter to the <tt>SendEmail</tt> /<tt>SendRawEmail</tt> API, choose
--   <tt>messageTag</tt> . If you want Amazon SES to use your own email
--   headers, choose <tt>emailHeader</tt> .
cwdcDimensionValueSource :: Lens' CloudWatchDimensionConfiguration DimensionValueSource

-- | The default value of the dimension that is published to Amazon
--   CloudWatch if you do not provide the value of the dimension when you
--   send an email. The default value must: * Contain only ASCII letters
--   (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). * Contain
--   less than 256 characters.
cwdcDefaultDimensionValue :: Lens' CloudWatchDimensionConfiguration Text

-- | The name of the configuration set.
--   
--   Configuration sets enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>configurationSet</a> smart constructor.
data ConfigurationSet

-- | Creates a value of <a>ConfigurationSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csName</a> - The name of the configuration set. The name must:
--   * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores
--   (_), or dashes (-). * Contain less than 64 characters.</li>
--   </ul>
configurationSet :: Text -> ConfigurationSet

-- | The name of the configuration set. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). *
--   Contain less than 64 characters.
csName :: Lens' ConfigurationSet Text

-- | Represents textual data, plus an optional character set specification.
--   
--   By default, the text must be 7-bit ASCII, due to the constraints of
--   the SMTP protocol. If the text must contain any other characters, then
--   you must also specify a character set. Examples include UTF-8,
--   ISO-8859-1, and Shift_JIS.
--   
--   <i>See:</i> <a>content</a> smart constructor.
data Content

-- | Creates a value of <a>Content</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cCharset</a> - The character set of the content.</li>
--   <li><a>cData</a> - The textual data of the content.</li>
--   </ul>
content :: Text -> Content

-- | The character set of the content.
cCharset :: Lens' Content (Maybe Text)

-- | The textual data of the content.
cData :: Lens' Content Text

-- | Represents the destination of the message, consisting of To:, CC:, and
--   BCC: fields.
--   
--   By default, the string must be 7-bit ASCII. If the text must contain
--   any other characters, then you must use MIME encoded-word syntax (RFC
--   2047) instead of a literal string. MIME encoded-word syntax uses the
--   following form: <tt>=?charset?encoding?encoded-text?=</tt> . For more
--   information, see <a>RFC 2047</a> .
--   
--   <i>See:</i> <a>destination</a> smart constructor.
data Destination

-- | Creates a value of <a>Destination</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dBCCAddresses</a> - The BCC: field(s) of the message.</li>
--   <li><a>dCCAddresses</a> - The CC: field(s) of the message.</li>
--   <li><a>dToAddresses</a> - The To: field(s) of the message.</li>
--   </ul>
destination :: Destination

-- | The BCC: field(s) of the message.
dBCCAddresses :: Lens' Destination [Text]

-- | The CC: field(s) of the message.
dCCAddresses :: Lens' Destination [Text]

-- | The To: field(s) of the message.
dToAddresses :: Lens' Destination [Text]

-- | Contains information about the event destination to which the
--   specified email sending events are published.
--   
--   Event destinations are associated with configuration sets, which
--   enable you to publish email sending events to Amazon CloudWatch or
--   Amazon Kinesis Firehose. For information about using configuration
--   sets, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>eventDestination</a> smart constructor.
data EventDestination

-- | Creates a value of <a>EventDestination</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>edEnabled</a> - Sets whether Amazon SES publishes events to
--   this destination when you send an email with the associated
--   configuration set. Set to <tt>true</tt> to enable publishing to this
--   destination; set to <tt>false</tt> to prevent publishing to this
--   destination. The default value is <tt>false</tt> .</li>
--   <li><a>edKinesisFirehoseDestination</a> - An object that contains the
--   delivery stream ARN and the IAM role ARN associated with an Amazon
--   Kinesis Firehose event destination.</li>
--   <li><a>edCloudWatchDestination</a> - An object that contains the
--   names, default values, and sources of the dimensions associated with
--   an Amazon CloudWatch event destination.</li>
--   <li><a>edName</a> - The name of the event destination. The name must:
--   * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores
--   (_), or dashes (-). * Contain less than 64 characters.</li>
--   <li><a>edMatchingEventTypes</a> - The type of email sending events to
--   publish to the event destination.</li>
--   </ul>
eventDestination :: Text -> EventDestination

-- | Sets whether Amazon SES publishes events to this destination when you
--   send an email with the associated configuration set. Set to
--   <tt>true</tt> to enable publishing to this destination; set to
--   <tt>false</tt> to prevent publishing to this destination. The default
--   value is <tt>false</tt> .
edEnabled :: Lens' EventDestination (Maybe Bool)

-- | An object that contains the delivery stream ARN and the IAM role ARN
--   associated with an Amazon Kinesis Firehose event destination.
edKinesisFirehoseDestination :: Lens' EventDestination (Maybe KinesisFirehoseDestination)

-- | An object that contains the names, default values, and sources of the
--   dimensions associated with an Amazon CloudWatch event destination.
edCloudWatchDestination :: Lens' EventDestination (Maybe CloudWatchDestination)

-- | The name of the event destination. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). *
--   Contain less than 64 characters.
edName :: Lens' EventDestination Text

-- | The type of email sending events to publish to the event destination.
edMatchingEventTypes :: Lens' EventDestination [EventType]

-- | Additional X-headers to include in the Delivery Status Notification
--   (DSN) when an email that Amazon SES receives on your behalf bounces.
--   
--   For information about receiving email through Amazon SES, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>extensionField</a> smart constructor.
data ExtensionField

-- | Creates a value of <a>ExtensionField</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>efName</a> - The name of the header to add. Must be between 1
--   and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z,
--   0-9) characters and dashes only.</li>
--   <li><a>efValue</a> - The value of the header to add. Must be less than
--   2048 characters, and must not contain newline characters ("r" or
--   "n").</li>
--   </ul>
extensionField :: Text -> Text -> ExtensionField

-- | The name of the header to add. Must be between 1 and 50 characters,
--   inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and
--   dashes only.
efName :: Lens' ExtensionField Text

-- | The value of the header to add. Must be less than 2048 characters, and
--   must not contain newline characters ("r" or "n").
efValue :: Lens' ExtensionField Text

-- | Represents the DKIM attributes of a verified email address or a
--   domain.
--   
--   <i>See:</i> <a>identityDkimAttributes</a> smart constructor.
data IdentityDkimAttributes

-- | Creates a value of <a>IdentityDkimAttributes</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>idaDkimTokens</a> - A set of character strings that represent
--   the domain's identity. Using these tokens, you will need to create DNS
--   CNAME records that point to DKIM public keys hosted by Amazon SES.
--   Amazon Web Services will eventually detect that you have updated your
--   DNS records; this detection process may take up to 72 hours. Upon
--   successful detection, Amazon SES will be able to DKIM-sign email
--   originating from that domain. (This only applies to domain identities,
--   not email address identities.) For more information about creating DNS
--   records using DKIM tokens, go to the <a>Amazon SES Developer Guide</a>
--   .</li>
--   <li><a>idaDkimEnabled</a> - True if DKIM signing is enabled for email
--   sent from the identity; false otherwise. The default value is
--   true.</li>
--   <li><a>idaDkimVerificationStatus</a> - Describes whether Amazon SES
--   has successfully verified the DKIM DNS records (tokens) published in
--   the domain name's DNS. (This only applies to domain identities, not
--   email address identities.)</li>
--   </ul>
identityDkimAttributes :: Bool -> VerificationStatus -> IdentityDkimAttributes

-- | A set of character strings that represent the domain's identity. Using
--   these tokens, you will need to create DNS CNAME records that point to
--   DKIM public keys hosted by Amazon SES. Amazon Web Services will
--   eventually detect that you have updated your DNS records; this
--   detection process may take up to 72 hours. Upon successful detection,
--   Amazon SES will be able to DKIM-sign email originating from that
--   domain. (This only applies to domain identities, not email address
--   identities.) For more information about creating DNS records using
--   DKIM tokens, go to the <a>Amazon SES Developer Guide</a> .
idaDkimTokens :: Lens' IdentityDkimAttributes [Text]

-- | True if DKIM signing is enabled for email sent from the identity;
--   false otherwise. The default value is true.
idaDkimEnabled :: Lens' IdentityDkimAttributes Bool

-- | Describes whether Amazon SES has successfully verified the DKIM DNS
--   records (tokens) published in the domain name's DNS. (This only
--   applies to domain identities, not email address identities.)
idaDkimVerificationStatus :: Lens' IdentityDkimAttributes VerificationStatus

-- | Represents the custom MAIL FROM domain attributes of a verified
--   identity (email address or domain).
--   
--   <i>See:</i> <a>identityMailFromDomainAttributes</a> smart constructor.
data IdentityMailFromDomainAttributes

-- | Creates a value of <a>IdentityMailFromDomainAttributes</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>imfdaMailFromDomain</a> - The custom MAIL FROM domain that the
--   identity is configured to use.</li>
--   <li><a>imfdaMailFromDomainStatus</a> - The state that indicates
--   whether Amazon SES has successfully read the MX record required for
--   custom MAIL FROM domain setup. If the state is <tt>Success</tt> ,
--   Amazon SES uses the specified custom MAIL FROM domain when the
--   verified identity sends an email. All other states indicate that
--   Amazon SES takes the action described by <tt>BehaviorOnMXFailure</tt>
--   .</li>
--   <li><a>imfdaBehaviorOnMXFailure</a> - The action that Amazon SES takes
--   if it cannot successfully read the required MX record when you send an
--   email. A value of <tt>UseDefaultValue</tt> indicates that if Amazon
--   SES cannot read the required MX record, it uses amazonses.com (or a
--   subdomain of that) as the MAIL FROM domain. A value of
--   <tt>RejectMessage</tt> indicates that if Amazon SES cannot read the
--   required MX record, Amazon SES returns a
--   <tt>MailFromDomainNotVerified</tt> error and does not send the email.
--   The custom MAIL FROM setup states that result in this behavior are
--   <tt>Pending</tt> , <tt>Failed</tt> , and <tt>TemporaryFailure</tt>
--   .</li>
--   </ul>
identityMailFromDomainAttributes :: Text -> CustomMailFromStatus -> BehaviorOnMXFailure -> IdentityMailFromDomainAttributes

-- | The custom MAIL FROM domain that the identity is configured to use.
imfdaMailFromDomain :: Lens' IdentityMailFromDomainAttributes Text

-- | The state that indicates whether Amazon SES has successfully read the
--   MX record required for custom MAIL FROM domain setup. If the state is
--   <tt>Success</tt> , Amazon SES uses the specified custom MAIL FROM
--   domain when the verified identity sends an email. All other states
--   indicate that Amazon SES takes the action described by
--   <tt>BehaviorOnMXFailure</tt> .
imfdaMailFromDomainStatus :: Lens' IdentityMailFromDomainAttributes CustomMailFromStatus

-- | The action that Amazon SES takes if it cannot successfully read the
--   required MX record when you send an email. A value of
--   <tt>UseDefaultValue</tt> indicates that if Amazon SES cannot read the
--   required MX record, it uses amazonses.com (or a subdomain of that) as
--   the MAIL FROM domain. A value of <tt>RejectMessage</tt> indicates that
--   if Amazon SES cannot read the required MX record, Amazon SES returns a
--   <tt>MailFromDomainNotVerified</tt> error and does not send the email.
--   The custom MAIL FROM setup states that result in this behavior are
--   <tt>Pending</tt> , <tt>Failed</tt> , and <tt>TemporaryFailure</tt> .
imfdaBehaviorOnMXFailure :: Lens' IdentityMailFromDomainAttributes BehaviorOnMXFailure

-- | Represents the notification attributes of an identity, including
--   whether an identity has Amazon Simple Notification Service (Amazon
--   SNS) topics set for bounce, complaint, and/or delivery notifications,
--   and whether feedback forwarding is enabled for bounce and complaint
--   notifications.
--   
--   <i>See:</i> <a>identityNotificationAttributes</a> smart constructor.
data IdentityNotificationAttributes

-- | Creates a value of <a>IdentityNotificationAttributes</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>inaHeadersInDeliveryNotificationsEnabled</a> - Describes
--   whether Amazon SES includes the original email headers in Amazon SNS
--   notifications of type <tt>Delivery</tt> . A value of <tt>true</tt>
--   specifies that Amazon SES will include headers in delivery
--   notifications, and a value of <tt>false</tt> specifies that Amazon SES
--   will not include headers in delivery notifications.</li>
--   <li><a>inaHeadersInComplaintNotificationsEnabled</a> - Describes
--   whether Amazon SES includes the original email headers in Amazon SNS
--   notifications of type <tt>Complaint</tt> . A value of <tt>true</tt>
--   specifies that Amazon SES will include headers in complaint
--   notifications, and a value of <tt>false</tt> specifies that Amazon SES
--   will not include headers in complaint notifications.</li>
--   <li><a>inaHeadersInBounceNotificationsEnabled</a> - Describes whether
--   Amazon SES includes the original email headers in Amazon SNS
--   notifications of type <tt>Bounce</tt> . A value of <tt>true</tt>
--   specifies that Amazon SES will include headers in bounce
--   notifications, and a value of <tt>false</tt> specifies that Amazon SES
--   will not include headers in bounce notifications.</li>
--   <li><a>inaBounceTopic</a> - The Amazon Resource Name (ARN) of the
--   Amazon SNS topic where Amazon SES will publish bounce
--   notifications.</li>
--   <li><a>inaComplaintTopic</a> - The Amazon Resource Name (ARN) of the
--   Amazon SNS topic where Amazon SES will publish complaint
--   notifications.</li>
--   <li><a>inaDeliveryTopic</a> - The Amazon Resource Name (ARN) of the
--   Amazon SNS topic where Amazon SES will publish delivery
--   notifications.</li>
--   <li><a>inaForwardingEnabled</a> - Describes whether Amazon SES will
--   forward bounce and complaint notifications as email. <tt>true</tt>
--   indicates that Amazon SES will forward bounce and complaint
--   notifications as email, while <tt>false</tt> indicates that bounce and
--   complaint notifications will be published only to the specified bounce
--   and complaint Amazon SNS topics.</li>
--   </ul>
identityNotificationAttributes :: Text -> Text -> Text -> Bool -> IdentityNotificationAttributes

-- | Describes whether Amazon SES includes the original email headers in
--   Amazon SNS notifications of type <tt>Delivery</tt> . A value of
--   <tt>true</tt> specifies that Amazon SES will include headers in
--   delivery notifications, and a value of <tt>false</tt> specifies that
--   Amazon SES will not include headers in delivery notifications.
inaHeadersInDeliveryNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)

-- | Describes whether Amazon SES includes the original email headers in
--   Amazon SNS notifications of type <tt>Complaint</tt> . A value of
--   <tt>true</tt> specifies that Amazon SES will include headers in
--   complaint notifications, and a value of <tt>false</tt> specifies that
--   Amazon SES will not include headers in complaint notifications.
inaHeadersInComplaintNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)

-- | Describes whether Amazon SES includes the original email headers in
--   Amazon SNS notifications of type <tt>Bounce</tt> . A value of
--   <tt>true</tt> specifies that Amazon SES will include headers in bounce
--   notifications, and a value of <tt>false</tt> specifies that Amazon SES
--   will not include headers in bounce notifications.
inaHeadersInBounceNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
--   SES will publish bounce notifications.
inaBounceTopic :: Lens' IdentityNotificationAttributes Text

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
--   SES will publish complaint notifications.
inaComplaintTopic :: Lens' IdentityNotificationAttributes Text

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
--   SES will publish delivery notifications.
inaDeliveryTopic :: Lens' IdentityNotificationAttributes Text

-- | Describes whether Amazon SES will forward bounce and complaint
--   notifications as email. <tt>true</tt> indicates that Amazon SES will
--   forward bounce and complaint notifications as email, while
--   <tt>false</tt> indicates that bounce and complaint notifications will
--   be published only to the specified bounce and complaint Amazon SNS
--   topics.
inaForwardingEnabled :: Lens' IdentityNotificationAttributes Bool

-- | Represents the verification attributes of a single identity.
--   
--   <i>See:</i> <a>identityVerificationAttributes</a> smart constructor.
data IdentityVerificationAttributes

-- | Creates a value of <a>IdentityVerificationAttributes</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ivaVerificationToken</a> - The verification token for a domain
--   identity. Null for email address identities.</li>
--   <li><a>ivaVerificationStatus</a> - The verification status of the
--   identity: <a>Pending</a>, <a>Success</a>, <a>Failed</a>, or
--   <a>TemporaryFailure</a>.</li>
--   </ul>
identityVerificationAttributes :: VerificationStatus -> IdentityVerificationAttributes

-- | The verification token for a domain identity. Null for email address
--   identities.
ivaVerificationToken :: Lens' IdentityVerificationAttributes (Maybe Text)

-- | The verification status of the identity: <a>Pending</a>,
--   <a>Success</a>, <a>Failed</a>, or <a>TemporaryFailure</a>.
ivaVerificationStatus :: Lens' IdentityVerificationAttributes VerificationStatus

-- | Contains the delivery stream ARN and the IAM role ARN associated with
--   an Amazon Kinesis Firehose event destination.
--   
--   Event destinations, such as Amazon Kinesis Firehose, are associated
--   with configuration sets, which enable you to publish email sending
--   events. For information about using configuration sets, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>kinesisFirehoseDestination</a> smart constructor.
data KinesisFirehoseDestination

-- | Creates a value of <a>KinesisFirehoseDestination</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>kfdIAMRoleARN</a> - The ARN of the IAM role under which Amazon
--   SES publishes email sending events to the Amazon Kinesis Firehose
--   stream.</li>
--   <li><a>kfdDeliveryStreamARN</a> - The ARN of the Amazon Kinesis
--   Firehose stream to which to publish email sending events.</li>
--   </ul>
kinesisFirehoseDestination :: Text -> Text -> KinesisFirehoseDestination

-- | The ARN of the IAM role under which Amazon SES publishes email sending
--   events to the Amazon Kinesis Firehose stream.
kfdIAMRoleARN :: Lens' KinesisFirehoseDestination Text

-- | The ARN of the Amazon Kinesis Firehose stream to which to publish
--   email sending events.
kfdDeliveryStreamARN :: Lens' KinesisFirehoseDestination Text

-- | When included in a receipt rule, this action calls an AWS Lambda
--   function and, optionally, publishes a notification to Amazon Simple
--   Notification Service (Amazon SNS).
--   
--   To enable Amazon SES to call your AWS Lambda function or to publish to
--   an Amazon SNS topic of another account, Amazon SES must have
--   permission to access those resources. For information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> .
--   
--   For information about using AWS Lambda actions in receipt rules, see
--   the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>lambdaAction</a> smart constructor.
data LambdaAction

-- | Creates a value of <a>LambdaAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>laInvocationType</a> - The invocation type of the AWS Lambda
--   function. An invocation type of <tt>RequestResponse</tt> means that
--   the execution of the function will immediately result in a response,
--   and a value of <tt>Event</tt> means that the function will be invoked
--   asynchronously. The default value is <tt>Event</tt> . For information
--   about AWS Lambda invocation types, see the <a>AWS Lambda Developer
--   Guide</a> . <i>Important:</i> There is a 30-second timeout on
--   <tt>RequestResponse</tt> invocations. You should use <tt>Event</tt>
--   invocation in most cases. Use <tt>RequestResponse</tt> only when you
--   want to make a mail flow decision, such as whether to stop the receipt
--   rule or the receipt rule set.</li>
--   <li><a>laTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify when the Lambda action is taken. An example of an
--   Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   <li><a>laFunctionARN</a> - The Amazon Resource Name (ARN) of the AWS
--   Lambda function. An example of an AWS Lambda function ARN is
--   <tt>arn:aws:lambda:us-west-2:account-id:function:MyFunction</tt> . For
--   more information about AWS Lambda, see the <a>AWS Lambda Developer
--   Guide</a> .</li>
--   </ul>
lambdaAction :: Text -> LambdaAction

-- | The invocation type of the AWS Lambda function. An invocation type of
--   <tt>RequestResponse</tt> means that the execution of the function will
--   immediately result in a response, and a value of <tt>Event</tt> means
--   that the function will be invoked asynchronously. The default value is
--   <tt>Event</tt> . For information about AWS Lambda invocation types,
--   see the <a>AWS Lambda Developer Guide</a> . <i>Important:</i> There is
--   a 30-second timeout on <tt>RequestResponse</tt> invocations. You
--   should use <tt>Event</tt> invocation in most cases. Use
--   <tt>RequestResponse</tt> only when you want to make a mail flow
--   decision, such as whether to stop the receipt rule or the receipt rule
--   set.
laInvocationType :: Lens' LambdaAction (Maybe InvocationType)

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
--   the Lambda action is taken. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
laTopicARN :: Lens' LambdaAction (Maybe Text)

-- | The Amazon Resource Name (ARN) of the AWS Lambda function. An example
--   of an AWS Lambda function ARN is
--   <tt>arn:aws:lambda:us-west-2:account-id:function:MyFunction</tt> . For
--   more information about AWS Lambda, see the <a>AWS Lambda Developer
--   Guide</a> .
laFunctionARN :: Lens' LambdaAction Text

-- | Represents the message to be sent, composed of a subject and a body.
--   
--   <i>See:</i> <a>message</a> smart constructor.
data Message

-- | Creates a value of <a>Message</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mSubject</a> - The subject of the message: A short summary of
--   the content, which will appear in the recipient's inbox.</li>
--   <li><a>mBody</a> - The message body.</li>
--   </ul>
message :: Content -> Body -> Message

-- | The subject of the message: A short summary of the content, which will
--   appear in the recipient's inbox.
mSubject :: Lens' Message Content

-- | The message body.
mBody :: Lens' Message Body

-- | Message-related information to include in the Delivery Status
--   Notification (DSN) when an email that Amazon SES receives on your
--   behalf bounces.
--   
--   For information about receiving email through Amazon SES, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>messageDsn</a> smart constructor.
data MessageDsn

-- | Creates a value of <a>MessageDsn</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mdArrivalDate</a> - When the message was received by the
--   reporting mail transfer agent (MTA), in <a>RFC 822</a> date-time
--   format.</li>
--   <li><a>mdExtensionFields</a> - Additional X-headers to include in the
--   DSN.</li>
--   <li><a>mdReportingMta</a> - The reporting MTA that attempted to
--   deliver the message, formatted as specified in <a>RFC 3464</a>
--   (<tt>mta-name-type; mta-name</tt> ). The default value is <tt>dns;
--   inbound-smtp.[region].amazonaws.com</tt> .</li>
--   </ul>
messageDsn :: Text -> MessageDsn

-- | When the message was received by the reporting mail transfer agent
--   (MTA), in <a>RFC 822</a> date-time format.
mdArrivalDate :: Lens' MessageDsn (Maybe UTCTime)

-- | Additional X-headers to include in the DSN.
mdExtensionFields :: Lens' MessageDsn [ExtensionField]

-- | The reporting MTA that attempted to deliver the message, formatted as
--   specified in <a>RFC 3464</a> (<tt>mta-name-type; mta-name</tt> ). The
--   default value is <tt>dns; inbound-smtp.[region].amazonaws.com</tt> .
mdReportingMta :: Lens' MessageDsn Text

-- | Contains the name and value of a tag that you can provide to
--   <tt>SendEmail</tt> or <tt>SendRawEmail</tt> to apply to an email.
--   
--   Message tags, which you use with configuration sets, enable you to
--   publish email sending events. For information about using
--   configuration sets, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>messageTag</a> smart constructor.
data MessageTag

-- | Creates a value of <a>MessageTag</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mtName</a> - The name of the tag. The name must: * Contain only
--   ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes
--   (-). * Contain less than 256 characters.</li>
--   <li><a>mtValue</a> - The value of the tag. The value must: * Contain
--   only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or
--   dashes (-). * Contain less than 256 characters.</li>
--   </ul>
messageTag :: Text -> Text -> MessageTag

-- | The name of the tag. The name must: * Contain only ASCII letters (a-z,
--   A-Z), numbers (0-9), underscores (_), or dashes (-). * Contain less
--   than 256 characters.
mtName :: Lens' MessageTag Text

-- | The value of the tag. The value must: * Contain only ASCII letters
--   (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). * Contain
--   less than 256 characters.
mtValue :: Lens' MessageTag Text

-- | Represents the raw data of the message.
--   
--   <i>See:</i> <a>rawMessage</a> smart constructor.
data RawMessage

-- | Creates a value of <a>RawMessage</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rmData</a> - The raw data of the message. The client must
--   ensure that the message format complies with Internet email standards
--   regarding email header fields, MIME types, MIME encoding, and base64
--   encoding. The To:, CC:, and BCC: headers in the raw message can
--   contain a group list. If you are using <tt>SendRawEmail</tt> with
--   sending authorization, you can include X-headers in the raw message to
--   specify the "Source," "From," and <a>Return-Path</a> addresses. For
--   more information, see the documentation for <tt>SendRawEmail</tt> .
--   <i>Important:</i> Do not include these X-headers in the DKIM
--   signature, because they are removed by Amazon SES before sending the
--   email. For more information, go to the <a>Amazon SES Developer
--   Guide</a> . -- <i>Note:</i> This <tt>Lens</tt> automatically encodes
--   and decodes Base64 data. The underlying isomorphism will encode to
--   Base64 representation during serialisation, and decode from Base64
--   representation during deserialisation. This <tt>Lens</tt> accepts and
--   returns only raw unencoded data.</li>
--   </ul>
rawMessage :: ByteString -> RawMessage

-- | The raw data of the message. The client must ensure that the message
--   format complies with Internet email standards regarding email header
--   fields, MIME types, MIME encoding, and base64 encoding. The To:, CC:,
--   and BCC: headers in the raw message can contain a group list. If you
--   are using <tt>SendRawEmail</tt> with sending authorization, you can
--   include X-headers in the raw message to specify the "Source," "From,"
--   and <a>Return-Path</a> addresses. For more information, see the
--   documentation for <tt>SendRawEmail</tt> . <i>Important:</i> Do not
--   include these X-headers in the DKIM signature, because they are
--   removed by Amazon SES before sending the email. For more information,
--   go to the <a>Amazon SES Developer Guide</a> . -- <i>Note:</i> This
--   <tt>Lens</tt> automatically encodes and decodes Base64 data. The
--   underlying isomorphism will encode to Base64 representation during
--   serialisation, and decode from Base64 representation during
--   deserialisation. This <tt>Lens</tt> accepts and returns only raw
--   unencoded data.
rmData :: Lens' RawMessage ByteString

-- | An action that Amazon SES can take when it receives an email on behalf
--   of one or more email addresses or domains that you own. An instance of
--   this data type can represent only one action.
--   
--   For information about setting up receipt rules, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptAction</a> smart constructor.
data ReceiptAction

-- | Creates a value of <a>ReceiptAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>raAddHeaderAction</a> - Adds a header to the received
--   email.</li>
--   <li><a>raSNSAction</a> - Publishes the email content within a
--   notification to Amazon SNS.</li>
--   <li><a>raWorkmailAction</a> - Calls Amazon WorkMail and, optionally,
--   publishes a notification to Amazon SNS.</li>
--   <li><a>raBounceAction</a> - Rejects the received email by returning a
--   bounce response to the sender and, optionally, publishes a
--   notification to Amazon Simple Notification Service (Amazon SNS).</li>
--   <li><a>raLambdaAction</a> - Calls an AWS Lambda function, and
--   optionally, publishes a notification to Amazon SNS.</li>
--   <li><a>raStopAction</a> - Terminates the evaluation of the receipt
--   rule set and optionally publishes a notification to Amazon SNS.</li>
--   <li><a>raS3Action</a> - Saves the received message to an Amazon Simple
--   Storage Service (Amazon S3) bucket and, optionally, publishes a
--   notification to Amazon SNS.</li>
--   </ul>
receiptAction :: ReceiptAction

-- | Adds a header to the received email.
raAddHeaderAction :: Lens' ReceiptAction (Maybe AddHeaderAction)

-- | Publishes the email content within a notification to Amazon SNS.
raSNSAction :: Lens' ReceiptAction (Maybe SNSAction)

-- | Calls Amazon WorkMail and, optionally, publishes a notification to
--   Amazon SNS.
raWorkmailAction :: Lens' ReceiptAction (Maybe WorkmailAction)

-- | Rejects the received email by returning a bounce response to the
--   sender and, optionally, publishes a notification to Amazon Simple
--   Notification Service (Amazon SNS).
raBounceAction :: Lens' ReceiptAction (Maybe BounceAction)

-- | Calls an AWS Lambda function, and optionally, publishes a notification
--   to Amazon SNS.
raLambdaAction :: Lens' ReceiptAction (Maybe LambdaAction)

-- | Terminates the evaluation of the receipt rule set and optionally
--   publishes a notification to Amazon SNS.
raStopAction :: Lens' ReceiptAction (Maybe StopAction)

-- | Saves the received message to an Amazon Simple Storage Service (Amazon
--   S3) bucket and, optionally, publishes a notification to Amazon SNS.
raS3Action :: Lens' ReceiptAction (Maybe S3Action)

-- | A receipt IP address filter enables you to specify whether to accept
--   or reject mail originating from an IP address or range of IP
--   addresses.
--   
--   For information about setting up IP address filters, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptFilter</a> smart constructor.
data ReceiptFilter

-- | Creates a value of <a>ReceiptFilter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rfName</a> - The name of the IP address filter. The name must:
--   * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.),
--   underscores (_), or dashes (-). * Start and end with a letter or
--   number. * Contain less than 64 characters.</li>
--   <li><a>rfIPFilter</a> - A structure that provides the IP addresses to
--   block or allow, and whether to block or allow incoming mail from
--   them.</li>
--   </ul>
receiptFilter :: Text -> ReceiptIPFilter -> ReceiptFilter

-- | The name of the IP address filter. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or
--   dashes (-). * Start and end with a letter or number. * Contain less
--   than 64 characters.
rfName :: Lens' ReceiptFilter Text

-- | A structure that provides the IP addresses to block or allow, and
--   whether to block or allow incoming mail from them.
rfIPFilter :: Lens' ReceiptFilter ReceiptIPFilter

-- | A receipt IP address filter enables you to specify whether to accept
--   or reject mail originating from an IP address or range of IP
--   addresses.
--   
--   For information about setting up IP address filters, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptIPFilter</a> smart constructor.
data ReceiptIPFilter

-- | Creates a value of <a>ReceiptIPFilter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rifPolicy</a> - Indicates whether to block or allow incoming
--   mail from the specified IP addresses.</li>
--   <li><a>rifCidr</a> - A single IP address or a range of IP addresses
--   that you want to block or allow, specified in Classless Inter-Domain
--   Routing (CIDR) notation. An example of a single email address is
--   10.0.0.1. An example of a range of IP addresses is 10.0.0.1<i>24. For
--   more information about CIDR notation, see
--   &lt;https:</i><i>tools.ietf.org</i>html/rfc2317 RFC 2317&gt; .</li>
--   </ul>
receiptIPFilter :: ReceiptFilterPolicy -> Text -> ReceiptIPFilter

-- | Indicates whether to block or allow incoming mail from the specified
--   IP addresses.
rifPolicy :: Lens' ReceiptIPFilter ReceiptFilterPolicy

-- | A single IP address or a range of IP addresses that you want to block
--   or allow, specified in Classless Inter-Domain Routing (CIDR) notation.
--   An example of a single email address is 10.0.0.1. An example of a
--   range of IP addresses is 10.0.0.1<i>24. For more information about
--   CIDR notation, see &lt;https:</i><i>tools.ietf.org</i>html/rfc2317 RFC
--   2317&gt; .
rifCidr :: Lens' ReceiptIPFilter Text

-- | Receipt rules enable you to specify which actions Amazon SES should
--   take when it receives mail on behalf of one or more email addresses or
--   domains that you own.
--   
--   Each receipt rule defines a set of email addresses or domains to which
--   it applies. If the email addresses or domains match at least one
--   recipient address of the message, Amazon SES executes all of the
--   receipt rule's actions on the message.
--   
--   For information about setting up receipt rules, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptRule</a> smart constructor.
data ReceiptRule

-- | Creates a value of <a>ReceiptRule</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrScanEnabled</a> - If <tt>true</tt> , then messages to which
--   this receipt rule applies are scanned for spam and viruses. The
--   default value is <tt>false</tt> .</li>
--   <li><a>rrEnabled</a> - If <tt>true</tt> , the receipt rule is active.
--   The default value is <tt>false</tt> .</li>
--   <li><a>rrActions</a> - An ordered list of actions to perform on
--   messages that match at least one of the recipient email addresses or
--   domains specified in the receipt rule.</li>
--   <li><a>rrRecipients</a> - The recipient domains and email addresses to
--   which the receipt rule applies. If this field is not specified, this
--   rule will match all recipients under all verified domains.</li>
--   <li><a>rrTLSPolicy</a> - Specifies whether Amazon SES should require
--   that incoming email is delivered over a connection encrypted with
--   Transport Layer Security (TLS). If this parameter is set to
--   <tt>Require</tt> , Amazon SES will bounce emails that are not received
--   over TLS. The default is <tt>Optional</tt> .</li>
--   <li><a>rrName</a> - The name of the receipt rule. The name must: *
--   Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.),
--   underscores (_), or dashes (-). * Start and end with a letter or
--   number. * Contain less than 64 characters.</li>
--   </ul>
receiptRule :: Text -> ReceiptRule

-- | If <tt>true</tt> , then messages to which this receipt rule applies
--   are scanned for spam and viruses. The default value is <tt>false</tt>
--   .
rrScanEnabled :: Lens' ReceiptRule (Maybe Bool)

-- | If <tt>true</tt> , the receipt rule is active. The default value is
--   <tt>false</tt> .
rrEnabled :: Lens' ReceiptRule (Maybe Bool)

-- | An ordered list of actions to perform on messages that match at least
--   one of the recipient email addresses or domains specified in the
--   receipt rule.
rrActions :: Lens' ReceiptRule [ReceiptAction]

-- | The recipient domains and email addresses to which the receipt rule
--   applies. If this field is not specified, this rule will match all
--   recipients under all verified domains.
rrRecipients :: Lens' ReceiptRule [Text]

-- | Specifies whether Amazon SES should require that incoming email is
--   delivered over a connection encrypted with Transport Layer Security
--   (TLS). If this parameter is set to <tt>Require</tt> , Amazon SES will
--   bounce emails that are not received over TLS. The default is
--   <tt>Optional</tt> .
rrTLSPolicy :: Lens' ReceiptRule (Maybe TLSPolicy)

-- | The name of the receipt rule. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or
--   dashes (-). * Start and end with a letter or number. * Contain less
--   than 64 characters.
rrName :: Lens' ReceiptRule Text

-- | Information about a receipt rule set.
--   
--   A receipt rule set is a collection of rules that specify what Amazon
--   SES should do with mail it receives on behalf of your account's
--   verified domains.
--   
--   For information about setting up receipt rule sets, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptRuleSetMetadata</a> smart constructor.
data ReceiptRuleSetMetadata

-- | Creates a value of <a>ReceiptRuleSetMetadata</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrsmName</a> - The name of the receipt rule set. The name must:
--   * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.),
--   underscores (_), or dashes (-). * Start and end with a letter or
--   number. * Contain less than 64 characters.</li>
--   <li><a>rrsmCreatedTimestamp</a> - The date and time the receipt rule
--   set was created.</li>
--   </ul>
receiptRuleSetMetadata :: ReceiptRuleSetMetadata

-- | The name of the receipt rule set. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or
--   dashes (-). * Start and end with a letter or number. * Contain less
--   than 64 characters.
rrsmName :: Lens' ReceiptRuleSetMetadata (Maybe Text)

-- | The date and time the receipt rule set was created.
rrsmCreatedTimestamp :: Lens' ReceiptRuleSetMetadata (Maybe UTCTime)

-- | Recipient-related information to include in the Delivery Status
--   Notification (DSN) when an email that Amazon SES receives on your
--   behalf bounces.
--   
--   For information about receiving email through Amazon SES, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>recipientDsnFields</a> smart constructor.
data RecipientDsnFields

-- | Creates a value of <a>RecipientDsnFields</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rdfDiagnosticCode</a> - An extended explanation of what went
--   wrong; this is usually an SMTP response. See <a>RFC 3463</a> for the
--   correct formatting of this parameter.</li>
--   <li><a>rdfRemoteMta</a> - The MTA to which the remote MTA attempted to
--   deliver the message, formatted as specified in <a>RFC 3464</a>
--   (<tt>mta-name-type; mta-name</tt> ). This parameter typically applies
--   only to propagating synchronous bounces.</li>
--   <li><a>rdfFinalRecipient</a> - The email address to which the message
--   was ultimately delivered. This corresponds to the
--   <tt>Final-Recipient</tt> in the DSN. If not specified,
--   <tt>FinalRecipient</tt> will be set to the <tt>Recipient</tt>
--   specified in the <tt>BouncedRecipientInfo</tt> structure. Either
--   <tt>FinalRecipient</tt> or the recipient in
--   <tt>BouncedRecipientInfo</tt> must be a recipient of the original
--   bounced message.</li>
--   <li><a>rdfExtensionFields</a> - Additional X-headers to include in the
--   DSN.</li>
--   <li><a>rdfLastAttemptDate</a> - The time the final delivery attempt
--   was made, in <a>RFC 822</a> date-time format.</li>
--   <li><a>rdfAction</a> - The action performed by the reporting mail
--   transfer agent (MTA) as a result of its attempt to deliver the message
--   to the recipient address. This is required by <a>RFC 3464</a> .</li>
--   <li><a>rdfStatus</a> - The status code that indicates what went wrong.
--   This is required by <a>RFC 3464</a> .</li>
--   </ul>
recipientDsnFields :: DsnAction -> Text -> RecipientDsnFields

-- | An extended explanation of what went wrong; this is usually an SMTP
--   response. See <a>RFC 3463</a> for the correct formatting of this
--   parameter.
rdfDiagnosticCode :: Lens' RecipientDsnFields (Maybe Text)

-- | The MTA to which the remote MTA attempted to deliver the message,
--   formatted as specified in <a>RFC 3464</a> (<tt>mta-name-type;
--   mta-name</tt> ). This parameter typically applies only to propagating
--   synchronous bounces.
rdfRemoteMta :: Lens' RecipientDsnFields (Maybe Text)

-- | The email address to which the message was ultimately delivered. This
--   corresponds to the <tt>Final-Recipient</tt> in the DSN. If not
--   specified, <tt>FinalRecipient</tt> will be set to the
--   <tt>Recipient</tt> specified in the <tt>BouncedRecipientInfo</tt>
--   structure. Either <tt>FinalRecipient</tt> or the recipient in
--   <tt>BouncedRecipientInfo</tt> must be a recipient of the original
--   bounced message.
rdfFinalRecipient :: Lens' RecipientDsnFields (Maybe Text)

-- | Additional X-headers to include in the DSN.
rdfExtensionFields :: Lens' RecipientDsnFields [ExtensionField]

-- | The time the final delivery attempt was made, in <a>RFC 822</a>
--   date-time format.
rdfLastAttemptDate :: Lens' RecipientDsnFields (Maybe UTCTime)

-- | The action performed by the reporting mail transfer agent (MTA) as a
--   result of its attempt to deliver the message to the recipient address.
--   This is required by <a>RFC 3464</a> .
rdfAction :: Lens' RecipientDsnFields DsnAction

-- | The status code that indicates what went wrong. This is required by
--   <a>RFC 3464</a> .
rdfStatus :: Lens' RecipientDsnFields Text

-- | When included in a receipt rule, this action saves the received
--   message to an Amazon Simple Storage Service (Amazon S3) bucket and,
--   optionally, publishes a notification to Amazon Simple Notification
--   Service (Amazon SNS).
--   
--   To enable Amazon SES to write emails to your Amazon S3 bucket, use an
--   AWS KMS key to encrypt your emails, or publish to an Amazon SNS topic
--   of another account, Amazon SES must have permission to access those
--   resources. For information about giving permissions, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   For information about specifying Amazon S3 actions in receipt rules,
--   see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>s3Action</a> smart constructor.
data S3Action

-- | Creates a value of <a>S3Action</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>s3KMSKeyARN</a> - The customer master key that Amazon SES
--   should use to encrypt your emails before saving them to the Amazon S3
--   bucket. You can use the default master key or a custom master key you
--   created in AWS KMS as follows: * To use the default master key,
--   provide an ARN in the form of
--   <tt>arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias<i>aws</i>ses</tt>
--   . For example, if your AWS account ID is 123456789012 and you want to
--   use the default master key in the US West (Oregon) region, the ARN of
--   the default master key would be
--   <tt>arn:aws:kms:us-west-2:123456789012:alias<i>aws</i>ses</tt> . If
--   you use the default master key, you don't need to perform any extra
--   steps to give Amazon SES permission to use the key. * To use a custom
--   master key you created in AWS KMS, provide the ARN of the master key
--   and ensure that you add a statement to your key's policy to give
--   Amazon SES permission to use it. For more information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> . For more
--   information about key policies, see the <a>AWS KMS Developer Guide</a>
--   . If you do not specify a master key, Amazon SES will not encrypt your
--   emails. <i>Important:</i> Your mail is encrypted by Amazon SES using
--   the Amazon S3 encryption client before the mail is submitted to Amazon
--   S3 for storage. It is not encrypted using Amazon S3 server-side
--   encryption. This means that you must use the Amazon S3 encryption
--   client to decrypt the email after retrieving it from Amazon S3, as the
--   service has no access to use your AWS KMS keys for decryption. This
--   encryption client is currently available with the <a>AWS Java SDK</a>
--   and <a>AWS Ruby SDK</a> only. For more information about client-side
--   encryption using AWS KMS master keys, see the <a>Amazon S3 Developer
--   Guide</a> .</li>
--   <li><a>s3TopicARN</a> - The ARN of the Amazon SNS topic to notify when
--   the message is saved to the Amazon S3 bucket. An example of an Amazon
--   SNS topic ARN is <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> .
--   For more information about Amazon SNS topics, see the <a>Amazon SNS
--   Developer Guide</a> .</li>
--   <li><a>s3ObjectKeyPrefix</a> - The key prefix of the Amazon S3 bucket.
--   The key prefix is similar to a directory name that enables you to
--   store similar data under the same directory in a bucket.</li>
--   <li><a>s3BucketName</a> - The name of the Amazon S3 bucket to which to
--   save the received email.</li>
--   </ul>
s3Action :: Text -> S3Action

-- | The customer master key that Amazon SES should use to encrypt your
--   emails before saving them to the Amazon S3 bucket. You can use the
--   default master key or a custom master key you created in AWS KMS as
--   follows: * To use the default master key, provide an ARN in the form
--   of
--   <tt>arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias<i>aws</i>ses</tt>
--   . For example, if your AWS account ID is 123456789012 and you want to
--   use the default master key in the US West (Oregon) region, the ARN of
--   the default master key would be
--   <tt>arn:aws:kms:us-west-2:123456789012:alias<i>aws</i>ses</tt> . If
--   you use the default master key, you don't need to perform any extra
--   steps to give Amazon SES permission to use the key. * To use a custom
--   master key you created in AWS KMS, provide the ARN of the master key
--   and ensure that you add a statement to your key's policy to give
--   Amazon SES permission to use it. For more information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> . For more
--   information about key policies, see the <a>AWS KMS Developer Guide</a>
--   . If you do not specify a master key, Amazon SES will not encrypt your
--   emails. <i>Important:</i> Your mail is encrypted by Amazon SES using
--   the Amazon S3 encryption client before the mail is submitted to Amazon
--   S3 for storage. It is not encrypted using Amazon S3 server-side
--   encryption. This means that you must use the Amazon S3 encryption
--   client to decrypt the email after retrieving it from Amazon S3, as the
--   service has no access to use your AWS KMS keys for decryption. This
--   encryption client is currently available with the <a>AWS Java SDK</a>
--   and <a>AWS Ruby SDK</a> only. For more information about client-side
--   encryption using AWS KMS master keys, see the <a>Amazon S3 Developer
--   Guide</a> .
s3KMSKeyARN :: Lens' S3Action (Maybe Text)

-- | The ARN of the Amazon SNS topic to notify when the message is saved to
--   the Amazon S3 bucket. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
s3TopicARN :: Lens' S3Action (Maybe Text)

-- | The key prefix of the Amazon S3 bucket. The key prefix is similar to a
--   directory name that enables you to store similar data under the same
--   directory in a bucket.
s3ObjectKeyPrefix :: Lens' S3Action (Maybe Text)

-- | The name of the Amazon S3 bucket to which to save the received email.
s3BucketName :: Lens' S3Action Text

-- | When included in a receipt rule, this action publishes a notification
--   to Amazon Simple Notification Service (Amazon SNS). This action
--   includes a complete copy of the email content in the Amazon SNS
--   notifications. Amazon SNS notifications for all other actions simply
--   provide information about the email. They do not include the email
--   content itself.
--   
--   If you own the Amazon SNS topic, you don't need to do anything to give
--   Amazon SES permission to publish emails to it. However, if you don't
--   own the Amazon SNS topic, you need to attach a policy to the topic to
--   give Amazon SES permissions to access it. For information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>Important:</i> You can only publish emails that are 150 KB or less
--   (including the header) to Amazon SNS. Larger emails will bounce. If
--   you anticipate emails larger than 150 KB, use the S3 action instead.
--   
--   For information about using a receipt rule to publish an Amazon SNS
--   notification, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>snsAction</a> smart constructor.
data SNSAction

-- | Creates a value of <a>SNSAction</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>saEncoding</a> - The encoding to use for the email within the
--   Amazon SNS notification. UTF-8 is easier to use, but may not preserve
--   all special characters when a message was encoded with a different
--   encoding format. Base64 preserves all special characters. The default
--   value is UTF-8.</li>
--   <li><a>saTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   </ul>
snsAction :: Text -> SNSAction

-- | The encoding to use for the email within the Amazon SNS notification.
--   UTF-8 is easier to use, but may not preserve all special characters
--   when a message was encoded with a different encoding format. Base64
--   preserves all special characters. The default value is UTF-8.
saEncoding :: Lens' SNSAction (Maybe SNSActionEncoding)

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An
--   example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
saTopicARN :: Lens' SNSAction Text

-- | Represents sending statistics data. Each <tt>SendDataPoint</tt>
--   contains statistics for a 15-minute period of sending activity.
--   
--   <i>See:</i> <a>sendDataPoint</a> smart constructor.
data SendDataPoint

-- | Creates a value of <a>SendDataPoint</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sdpRejects</a> - Number of emails rejected by Amazon SES.</li>
--   <li><a>sdpComplaints</a> - Number of unwanted emails that were
--   rejected by recipients.</li>
--   <li><a>sdpDeliveryAttempts</a> - Number of emails that have been
--   sent.</li>
--   <li><a>sdpBounces</a> - Number of emails that have bounced.</li>
--   <li><a>sdpTimestamp</a> - Time of the data point.</li>
--   </ul>
sendDataPoint :: SendDataPoint

-- | Number of emails rejected by Amazon SES.
sdpRejects :: Lens' SendDataPoint (Maybe Integer)

-- | Number of unwanted emails that were rejected by recipients.
sdpComplaints :: Lens' SendDataPoint (Maybe Integer)

-- | Number of emails that have been sent.
sdpDeliveryAttempts :: Lens' SendDataPoint (Maybe Integer)

-- | Number of emails that have bounced.
sdpBounces :: Lens' SendDataPoint (Maybe Integer)

-- | Time of the data point.
sdpTimestamp :: Lens' SendDataPoint (Maybe UTCTime)

-- | When included in a receipt rule, this action terminates the evaluation
--   of the receipt rule set and, optionally, publishes a notification to
--   Amazon Simple Notification Service (Amazon SNS).
--   
--   For information about setting a stop action in a receipt rule, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>stopAction</a> smart constructor.
data StopAction

-- | Creates a value of <a>StopAction</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify when the stop action is taken. An example of an
--   Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   <li><a>sScope</a> - The scope to which the Stop action applies. That
--   is, what is being stopped.</li>
--   </ul>
stopAction :: StopScope -> StopAction

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
--   the stop action is taken. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
sTopicARN :: Lens' StopAction (Maybe Text)

-- | The scope to which the Stop action applies. That is, what is being
--   stopped.
sScope :: Lens' StopAction StopScope

-- | When included in a receipt rule, this action calls Amazon WorkMail
--   and, optionally, publishes a notification to Amazon Simple
--   Notification Service (Amazon SNS). You will typically not use this
--   action directly because Amazon WorkMail adds the rule automatically
--   during its setup procedure.
--   
--   For information using a receipt rule to call Amazon WorkMail, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>workmailAction</a> smart constructor.
data WorkmailAction

-- | Creates a value of <a>WorkmailAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>waTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify when the WorkMail action is called. An example of
--   an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   <li><a>waOrganizationARN</a> - The ARN of the Amazon WorkMail
--   organization. An example of an Amazon WorkMail organization ARN is
--   <tt>arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7</tt>
--   . For information about Amazon WorkMail organizations, see the
--   <a>Amazon WorkMail Administrator Guide</a> .</li>
--   </ul>
workmailAction :: Text -> WorkmailAction

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
--   the WorkMail action is called. An example of an Amazon SNS topic ARN
--   is <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
waTopicARN :: Lens' WorkmailAction (Maybe Text)

-- | The ARN of the Amazon WorkMail organization. An example of an Amazon
--   WorkMail organization ARN is
--   <tt>arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7</tt>
--   . For information about Amazon WorkMail organizations, see the
--   <a>Amazon WorkMail Administrator Guide</a> .
waOrganizationARN :: Lens' WorkmailAction Text


-- | Updates the event destination of a configuration set.
--   
--   Event destinations are associated with configuration sets, which
--   enable you to publish email sending events to Amazon CloudWatch or
--   Amazon Kinesis Firehose. For information about using configuration
--   sets, see the <a>Amazon SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.UpdateConfigurationSetEventDestination

-- | Creates a value of <a>UpdateConfigurationSetEventDestination</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucsedConfigurationSetName</a> - The name of the configuration
--   set that you want to update.</li>
--   <li><a>ucsedEventDestination</a> - The event destination object that
--   you want to apply to the specified configuration set.</li>
--   </ul>
updateConfigurationSetEventDestination :: Text -> EventDestination -> UpdateConfigurationSetEventDestination

-- | Represents a request to update the event destination of a
--   configuration set. Configuration sets enable you to publish email
--   sending events. For information about using configuration sets, see
--   the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>updateConfigurationSetEventDestination</a> smart
--   constructor.
data UpdateConfigurationSetEventDestination

-- | The name of the configuration set that you want to update.
ucsedConfigurationSetName :: Lens' UpdateConfigurationSetEventDestination Text

-- | The event destination object that you want to apply to the specified
--   configuration set.
ucsedEventDestination :: Lens' UpdateConfigurationSetEventDestination EventDestination

-- | Creates a value of
--   <a>UpdateConfigurationSetEventDestinationResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucsedrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
updateConfigurationSetEventDestinationResponse :: Int -> UpdateConfigurationSetEventDestinationResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>updateConfigurationSetEventDestinationResponse</a>
--   smart constructor.
data UpdateConfigurationSetEventDestinationResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ucsedrsResponseStatus :: Lens' UpdateConfigurationSetEventDestinationResponse Int
instance GHC.Generics.Generic Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestinationResponse
instance Data.Data.Data Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestinationResponse
instance GHC.Show.Show Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestinationResponse
instance GHC.Read.Read Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestinationResponse
instance GHC.Classes.Eq Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestinationResponse
instance GHC.Generics.Generic Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance Data.Data.Data Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance GHC.Show.Show Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance GHC.Read.Read Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance GHC.Classes.Eq Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance Network.AWS.Types.AWSRequest Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance Data.Hashable.Class.Hashable Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance Control.DeepSeq.NFData Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestination
instance Control.DeepSeq.NFData Network.AWS.SES.UpdateConfigurationSetEventDestination.UpdateConfigurationSetEventDestinationResponse


-- | Updates a receipt rule.
--   
--   For information about managing receipt rules, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.UpdateReceiptRule

-- | Creates a value of <a>UpdateReceiptRule</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>urrRuleSetName</a> - The name of the receipt rule set to which
--   the receipt rule belongs.</li>
--   <li><a>urrRule</a> - A data structure that contains the updated
--   receipt rule information.</li>
--   </ul>
updateReceiptRule :: Text -> ReceiptRule -> UpdateReceiptRule

-- | Represents a request to update a receipt rule. You use receipt rules
--   to receive email with Amazon SES. For more information, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>updateReceiptRule</a> smart constructor.
data UpdateReceiptRule

-- | The name of the receipt rule set to which the receipt rule belongs.
urrRuleSetName :: Lens' UpdateReceiptRule Text

-- | A data structure that contains the updated receipt rule information.
urrRule :: Lens' UpdateReceiptRule ReceiptRule

-- | Creates a value of <a>UpdateReceiptRuleResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>urrrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
updateReceiptRuleResponse :: Int -> UpdateReceiptRuleResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>updateReceiptRuleResponse</a> smart constructor.
data UpdateReceiptRuleResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
urrrsResponseStatus :: Lens' UpdateReceiptRuleResponse Int
instance GHC.Generics.Generic Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRuleResponse
instance Data.Data.Data Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRuleResponse
instance GHC.Show.Show Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRuleResponse
instance GHC.Read.Read Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRuleResponse
instance GHC.Classes.Eq Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRuleResponse
instance GHC.Generics.Generic Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance Data.Data.Data Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance GHC.Show.Show Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance GHC.Read.Read Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance GHC.Classes.Eq Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance Network.AWS.Types.AWSRequest Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance Data.Hashable.Class.Hashable Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance Control.DeepSeq.NFData Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRule
instance Control.DeepSeq.NFData Network.AWS.SES.UpdateReceiptRule.UpdateReceiptRuleResponse


-- | Returns a set of DKIM tokens for a domain. DKIM <i>tokens</i> are
--   character strings that represent your domain's identity. Using these
--   tokens, you will need to create DNS CNAME records that point to DKIM
--   public keys hosted by Amazon SES. Amazon Web Services will eventually
--   detect that you have updated your DNS records; this detection process
--   may take up to 72 hours. Upon successful detection, Amazon SES will be
--   able to DKIM-sign email originating from that domain.
--   
--   This action is throttled at one request per second.
--   
--   To enable or disable Easy DKIM signing for a domain, use the
--   <tt>SetIdentityDkimEnabled</tt> action.
--   
--   For more information about creating DNS records using DKIM tokens, go
--   to the <a>Amazon SES Developer Guide</a> .
module Network.AWS.SES.VerifyDomainDkim

-- | Creates a value of <a>VerifyDomainDkim</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vddDomain</a> - The name of the domain to be verified for Easy
--   DKIM signing.</li>
--   </ul>
verifyDomainDkim :: Text -> VerifyDomainDkim

-- | Represents a request to generate the CNAME records needed to set up
--   Easy DKIM with Amazon SES. For more information about setting up Easy
--   DKIM, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>verifyDomainDkim</a> smart constructor.
data VerifyDomainDkim

-- | The name of the domain to be verified for Easy DKIM signing.
vddDomain :: Lens' VerifyDomainDkim Text

-- | Creates a value of <a>VerifyDomainDkimResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vddrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>vddrsDkimTokens</a> - A set of character strings that represent
--   the domain's identity. If the identity is an email address, the tokens
--   represent the domain of that address. Using these tokens, you will
--   need to create DNS CNAME records that point to DKIM public keys hosted
--   by Amazon SES. Amazon Web Services will eventually detect that you
--   have updated your DNS records; this detection process may take up to
--   72 hours. Upon successful detection, Amazon SES will be able to
--   DKIM-sign emails originating from that domain. For more information
--   about creating DNS records using DKIM tokens, go to the <a>Amazon SES
--   Developer Guide</a> .</li>
--   </ul>
verifyDomainDkimResponse :: Int -> VerifyDomainDkimResponse

-- | Returns CNAME records that you must publish to the DNS server of your
--   domain to set up Easy DKIM with Amazon SES.
--   
--   <i>See:</i> <a>verifyDomainDkimResponse</a> smart constructor.
data VerifyDomainDkimResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
vddrsResponseStatus :: Lens' VerifyDomainDkimResponse Int

-- | A set of character strings that represent the domain's identity. If
--   the identity is an email address, the tokens represent the domain of
--   that address. Using these tokens, you will need to create DNS CNAME
--   records that point to DKIM public keys hosted by Amazon SES. Amazon
--   Web Services will eventually detect that you have updated your DNS
--   records; this detection process may take up to 72 hours. Upon
--   successful detection, Amazon SES will be able to DKIM-sign emails
--   originating from that domain. For more information about creating DNS
--   records using DKIM tokens, go to the <a>Amazon SES Developer Guide</a>
--   .
vddrsDkimTokens :: Lens' VerifyDomainDkimResponse [Text]
instance GHC.Generics.Generic Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkimResponse
instance Data.Data.Data Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkimResponse
instance GHC.Show.Show Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkimResponse
instance GHC.Read.Read Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkimResponse
instance GHC.Classes.Eq Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkimResponse
instance GHC.Generics.Generic Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance Data.Data.Data Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance GHC.Show.Show Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance GHC.Read.Read Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance GHC.Classes.Eq Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance Network.AWS.Types.AWSRequest Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance Data.Hashable.Class.Hashable Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance Control.DeepSeq.NFData Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkim
instance Control.DeepSeq.NFData Network.AWS.SES.VerifyDomainDkim.VerifyDomainDkimResponse


-- | Verifies a domain.
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.VerifyDomainIdentity

-- | Creates a value of <a>VerifyDomainIdentity</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vdiDomain</a> - The domain to be verified.</li>
--   </ul>
verifyDomainIdentity :: Text -> VerifyDomainIdentity

-- | Represents a request to begin Amazon SES domain verification and to
--   generate the TXT records that you must publish to the DNS server of
--   your domain to complete the verification. For information about domain
--   verification, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>verifyDomainIdentity</a> smart constructor.
data VerifyDomainIdentity

-- | The domain to be verified.
vdiDomain :: Lens' VerifyDomainIdentity Text

-- | Creates a value of <a>VerifyDomainIdentityResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vdirsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>vdirsVerificationToken</a> - A TXT record that must be placed
--   in the DNS settings for the domain, in order to complete domain
--   verification.</li>
--   </ul>
verifyDomainIdentityResponse :: Int -> Text -> VerifyDomainIdentityResponse

-- | Returns a TXT record that you must publish to the DNS server of your
--   domain to complete domain verification with Amazon SES.
--   
--   <i>See:</i> <a>verifyDomainIdentityResponse</a> smart constructor.
data VerifyDomainIdentityResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
vdirsResponseStatus :: Lens' VerifyDomainIdentityResponse Int

-- | A TXT record that must be placed in the DNS settings for the domain,
--   in order to complete domain verification.
vdirsVerificationToken :: Lens' VerifyDomainIdentityResponse Text
instance GHC.Generics.Generic Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentityResponse
instance Data.Data.Data Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentityResponse
instance GHC.Show.Show Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentityResponse
instance GHC.Read.Read Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentityResponse
instance GHC.Classes.Eq Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentityResponse
instance GHC.Generics.Generic Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance Data.Data.Data Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance GHC.Show.Show Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance GHC.Read.Read Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance GHC.Classes.Eq Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance Network.AWS.Types.AWSRequest Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance Data.Hashable.Class.Hashable Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance Control.DeepSeq.NFData Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentity
instance Control.DeepSeq.NFData Network.AWS.SES.VerifyDomainIdentity.VerifyDomainIdentityResponse


-- | Verifies an email address. This action causes a confirmation email
--   message to be sent to the specified address.
--   
--   <i>Important:</i> The VerifyEmailAddress action is deprecated as of
--   the May 15, 2012 release of Domain Verification. The
--   VerifyEmailIdentity action is now preferred.
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.VerifyEmailAddress

-- | Creates a value of <a>VerifyEmailAddress</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>veaEmailAddress</a> - The email address to be verified.</li>
--   </ul>
verifyEmailAddress :: Text -> VerifyEmailAddress

-- | Represents a request to begin email address verification with Amazon
--   SES. For information about email address verification, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>verifyEmailAddress</a> smart constructor.
data VerifyEmailAddress

-- | The email address to be verified.
veaEmailAddress :: Lens' VerifyEmailAddress Text

-- | Creates a value of <a>VerifyEmailAddressResponse</a> with the minimum
--   fields required to make a request.
verifyEmailAddressResponse :: VerifyEmailAddressResponse

-- | <i>See:</i> <a>verifyEmailAddressResponse</a> smart constructor.
data VerifyEmailAddressResponse
instance GHC.Generics.Generic Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddressResponse
instance Data.Data.Data Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddressResponse
instance GHC.Show.Show Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddressResponse
instance GHC.Read.Read Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddressResponse
instance GHC.Classes.Eq Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddressResponse
instance GHC.Generics.Generic Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance Data.Data.Data Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance GHC.Show.Show Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance GHC.Read.Read Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance GHC.Classes.Eq Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance Network.AWS.Types.AWSRequest Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance Data.Hashable.Class.Hashable Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance Control.DeepSeq.NFData Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddress
instance Control.DeepSeq.NFData Network.AWS.SES.VerifyEmailAddress.VerifyEmailAddressResponse


-- | Verifies an email address. This action causes a confirmation email
--   message to be sent to the specified address.
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.VerifyEmailIdentity

-- | Creates a value of <a>VerifyEmailIdentity</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>veiEmailAddress</a> - The email address to be verified.</li>
--   </ul>
verifyEmailIdentity :: Text -> VerifyEmailIdentity

-- | Represents a request to begin email address verification with Amazon
--   SES. For information about email address verification, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>verifyEmailIdentity</a> smart constructor.
data VerifyEmailIdentity

-- | The email address to be verified.
veiEmailAddress :: Lens' VerifyEmailIdentity Text

-- | Creates a value of <a>VerifyEmailIdentityResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>veirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
verifyEmailIdentityResponse :: Int -> VerifyEmailIdentityResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>verifyEmailIdentityResponse</a> smart constructor.
data VerifyEmailIdentityResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
veirsResponseStatus :: Lens' VerifyEmailIdentityResponse Int
instance GHC.Generics.Generic Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentityResponse
instance Data.Data.Data Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentityResponse
instance GHC.Show.Show Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentityResponse
instance GHC.Read.Read Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentityResponse
instance GHC.Classes.Eq Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentityResponse
instance GHC.Generics.Generic Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance Data.Data.Data Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance GHC.Show.Show Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance GHC.Read.Read Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance GHC.Classes.Eq Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance Network.AWS.Types.AWSRequest Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance Data.Hashable.Class.Hashable Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance Control.DeepSeq.NFData Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentity
instance Control.DeepSeq.NFData Network.AWS.SES.VerifyEmailIdentity.VerifyEmailIdentityResponse


module Network.AWS.SES.Waiters


-- | Sets the position of the specified receipt rule in the receipt rule
--   set.
--   
--   For information about managing receipt rules, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.SetReceiptRulePosition

-- | Creates a value of <a>SetReceiptRulePosition</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srrpAfter</a> - The name of the receipt rule after which to
--   place the specified receipt rule.</li>
--   <li><a>srrpRuleSetName</a> - The name of the receipt rule set that
--   contains the receipt rule to reposition.</li>
--   <li><a>srrpRuleName</a> - The name of the receipt rule to
--   reposition.</li>
--   </ul>
setReceiptRulePosition :: Text -> Text -> SetReceiptRulePosition

-- | Represents a request to set the position of a receipt rule in a
--   receipt rule set. You use receipt rule sets to receive email with
--   Amazon SES. For more information, see the <a>Amazon SES Developer
--   Guide</a> .
--   
--   <i>See:</i> <a>setReceiptRulePosition</a> smart constructor.
data SetReceiptRulePosition

-- | The name of the receipt rule after which to place the specified
--   receipt rule.
srrpAfter :: Lens' SetReceiptRulePosition (Maybe Text)

-- | The name of the receipt rule set that contains the receipt rule to
--   reposition.
srrpRuleSetName :: Lens' SetReceiptRulePosition Text

-- | The name of the receipt rule to reposition.
srrpRuleName :: Lens' SetReceiptRulePosition Text

-- | Creates a value of <a>SetReceiptRulePositionResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srrprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
setReceiptRulePositionResponse :: Int -> SetReceiptRulePositionResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>setReceiptRulePositionResponse</a> smart constructor.
data SetReceiptRulePositionResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
srrprsResponseStatus :: Lens' SetReceiptRulePositionResponse Int
instance GHC.Generics.Generic Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePositionResponse
instance Data.Data.Data Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePositionResponse
instance GHC.Show.Show Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePositionResponse
instance GHC.Read.Read Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePositionResponse
instance GHC.Classes.Eq Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePositionResponse
instance GHC.Generics.Generic Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance Data.Data.Data Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance GHC.Show.Show Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance GHC.Read.Read Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance GHC.Classes.Eq Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance Data.Hashable.Class.Hashable Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance Control.DeepSeq.NFData Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePosition
instance Control.DeepSeq.NFData Network.AWS.SES.SetReceiptRulePosition.SetReceiptRulePositionResponse


-- | Given an identity (an email address or a domain), sets the Amazon
--   Simple Notification Service (Amazon SNS) topic to which Amazon SES
--   will publish bounce, complaint, and/or delivery notifications for
--   emails sent with that identity as the <tt>Source</tt> .
--   
--   This action is throttled at one request per second.
--   
--   For more information about feedback notification, see the <a>Amazon
--   SES Developer Guide</a> .
module Network.AWS.SES.SetIdentityNotificationTopic

-- | Creates a value of <a>SetIdentityNotificationTopic</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sintSNSTopic</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic. If the parameter is omitted from the request or a null
--   value is passed, <tt>SnsTopic</tt> is cleared and publishing is
--   disabled.</li>
--   <li><a>sintIdentity</a> - The identity for which the Amazon SNS topic
--   will be set. You can specify an identity by using its name or by using
--   its Amazon Resource Name (ARN). Examples: <tt>user</tt>example.com<tt>
--   , </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ .</li>
--   <li><a>sintNotificationType</a> - The type of notifications that will
--   be published to the specified Amazon SNS topic.</li>
--   </ul>
setIdentityNotificationTopic :: Text -> NotificationType -> SetIdentityNotificationTopic

-- | Represents a request to specify the Amazon SNS topic to which Amazon
--   SES will publish bounce, complaint, or delivery notifications for
--   emails sent with that identity as the Source. For information about
--   Amazon SES notifications, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>setIdentityNotificationTopic</a> smart constructor.
data SetIdentityNotificationTopic

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic. If the
--   parameter is omitted from the request or a null value is passed,
--   <tt>SnsTopic</tt> is cleared and publishing is disabled.
sintSNSTopic :: Lens' SetIdentityNotificationTopic (Maybe Text)

-- | The identity for which the Amazon SNS topic will be set. You can
--   specify an identity by using its name or by using its Amazon Resource
--   Name (ARN). Examples: <tt>user</tt>example.com<tt> ,
--   </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ .
sintIdentity :: Lens' SetIdentityNotificationTopic Text

-- | The type of notifications that will be published to the specified
--   Amazon SNS topic.
sintNotificationType :: Lens' SetIdentityNotificationTopic NotificationType

-- | Creates a value of <a>SetIdentityNotificationTopicResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sintrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
setIdentityNotificationTopicResponse :: Int -> SetIdentityNotificationTopicResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>setIdentityNotificationTopicResponse</a> smart
--   constructor.
data SetIdentityNotificationTopicResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sintrsResponseStatus :: Lens' SetIdentityNotificationTopicResponse Int
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopicResponse
instance Data.Data.Data Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopicResponse
instance GHC.Show.Show Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopicResponse
instance GHC.Read.Read Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopicResponse
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopicResponse
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance Data.Data.Data Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance GHC.Show.Show Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance GHC.Read.Read Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance Data.Hashable.Class.Hashable Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopic
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityNotificationTopic.SetIdentityNotificationTopicResponse


-- | Enables or disables the custom MAIL FROM domain setup for a verified
--   identity (an email address or a domain).
--   
--   <i>Important:</i> To send emails using the specified MAIL FROM domain,
--   you must add an MX record to your MAIL FROM domain's DNS settings. If
--   you want your emails to pass Sender Policy Framework (SPF) checks, you
--   must also add or update an SPF record. For more information, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.SetIdentityMailFromDomain

-- | Creates a value of <a>SetIdentityMailFromDomain</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>simfdMailFromDomain</a> - The custom MAIL FROM domain that you
--   want the verified identity to use. The MAIL FROM domain must 1) be a
--   subdomain of the verified identity, 2) not be used in a <a>From</a>
--   address if the MAIL FROM domain is the destination of email feedback
--   forwarding (for more information, see the <a>Amazon SES Developer
--   Guide</a> ), and 3) not be used to receive emails. A value of
--   <tt>null</tt> disables the custom MAIL FROM setting for the
--   identity.</li>
--   <li><a>simfdBehaviorOnMXFailure</a> - The action that you want Amazon
--   SES to take if it cannot successfully read the required MX record when
--   you send an email. If you choose <tt>UseDefaultValue</tt> , Amazon SES
--   will use amazonses.com (or a subdomain of that) as the MAIL FROM
--   domain. If you choose <tt>RejectMessage</tt> , Amazon SES will return
--   a <tt>MailFromDomainNotVerified</tt> error and not send the email. The
--   action specified in <tt>BehaviorOnMXFailure</tt> is taken when the
--   custom MAIL FROM domain setup is in the <tt>Pending</tt> ,
--   <tt>Failed</tt> , and <tt>TemporaryFailure</tt> states.</li>
--   <li><a>simfdIdentity</a> - The verified identity for which you want to
--   enable or disable the specified custom MAIL FROM domain.</li>
--   </ul>
setIdentityMailFromDomain :: Text -> SetIdentityMailFromDomain

-- | Represents a request to enable or disable the Amazon SES custom MAIL
--   FROM domain setup for a verified identity. For information about using
--   a custom MAIL FROM domain, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>setIdentityMailFromDomain</a> smart constructor.
data SetIdentityMailFromDomain

-- | The custom MAIL FROM domain that you want the verified identity to
--   use. The MAIL FROM domain must 1) be a subdomain of the verified
--   identity, 2) not be used in a <a>From</a> address if the MAIL FROM
--   domain is the destination of email feedback forwarding (for more
--   information, see the <a>Amazon SES Developer Guide</a> ), and 3) not
--   be used to receive emails. A value of <tt>null</tt> disables the
--   custom MAIL FROM setting for the identity.
simfdMailFromDomain :: Lens' SetIdentityMailFromDomain (Maybe Text)

-- | The action that you want Amazon SES to take if it cannot successfully
--   read the required MX record when you send an email. If you choose
--   <tt>UseDefaultValue</tt> , Amazon SES will use amazonses.com (or a
--   subdomain of that) as the MAIL FROM domain. If you choose
--   <tt>RejectMessage</tt> , Amazon SES will return a
--   <tt>MailFromDomainNotVerified</tt> error and not send the email. The
--   action specified in <tt>BehaviorOnMXFailure</tt> is taken when the
--   custom MAIL FROM domain setup is in the <tt>Pending</tt> ,
--   <tt>Failed</tt> , and <tt>TemporaryFailure</tt> states.
simfdBehaviorOnMXFailure :: Lens' SetIdentityMailFromDomain (Maybe BehaviorOnMXFailure)

-- | The verified identity for which you want to enable or disable the
--   specified custom MAIL FROM domain.
simfdIdentity :: Lens' SetIdentityMailFromDomain Text

-- | Creates a value of <a>SetIdentityMailFromDomainResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>simfdrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
setIdentityMailFromDomainResponse :: Int -> SetIdentityMailFromDomainResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>setIdentityMailFromDomainResponse</a> smart
--   constructor.
data SetIdentityMailFromDomainResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
simfdrsResponseStatus :: Lens' SetIdentityMailFromDomainResponse Int
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomainResponse
instance Data.Data.Data Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomainResponse
instance GHC.Show.Show Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomainResponse
instance GHC.Read.Read Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomainResponse
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomainResponse
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance Data.Data.Data Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance GHC.Show.Show Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance GHC.Read.Read Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance Data.Hashable.Class.Hashable Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomain
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityMailFromDomain.SetIdentityMailFromDomainResponse


-- | Given an identity (an email address or a domain), sets whether Amazon
--   SES includes the original email headers in the Amazon Simple
--   Notification Service (Amazon SNS) notifications of a specified type.
--   
--   This action is throttled at one request per second.
--   
--   For more information about using notifications with Amazon SES, see
--   the <a>Amazon SES Developer Guide</a> .
module Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled

-- | Creates a value of <a>SetIdentityHeadersInNotificationsEnabled</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sihineIdentity</a> - The identity for which to enable or
--   disable headers in notifications. Examples:
--   <tt>user</tt>example.com<tt> , </tt>example.com@ .</li>
--   <li><a>sihineNotificationType</a> - The notification type for which to
--   enable or disable headers in notifications.</li>
--   <li><a>sihineEnabled</a> - Sets whether Amazon SES includes the
--   original email headers in Amazon SNS notifications of the specified
--   notification type. A value of <tt>true</tt> specifies that Amazon SES
--   will include headers in notifications, and a value of <tt>false</tt>
--   specifies that Amazon SES will not include headers in notifications.
--   This value can only be set when <tt>NotificationType</tt> is already
--   set to use a particular Amazon SNS topic.</li>
--   </ul>
setIdentityHeadersInNotificationsEnabled :: Text -> NotificationType -> Bool -> SetIdentityHeadersInNotificationsEnabled

-- | Represents a request to set whether Amazon SES includes the original
--   email headers in the Amazon SNS notifications of a specified type. For
--   information about notifications, see the <a>Amazon SES Developer
--   Guide</a> .
--   
--   <i>See:</i> <a>setIdentityHeadersInNotificationsEnabled</a> smart
--   constructor.
data SetIdentityHeadersInNotificationsEnabled

-- | The identity for which to enable or disable headers in notifications.
--   Examples: <tt>user</tt>example.com<tt> , </tt>example.com@ .
sihineIdentity :: Lens' SetIdentityHeadersInNotificationsEnabled Text

-- | The notification type for which to enable or disable headers in
--   notifications.
sihineNotificationType :: Lens' SetIdentityHeadersInNotificationsEnabled NotificationType

-- | Sets whether Amazon SES includes the original email headers in Amazon
--   SNS notifications of the specified notification type. A value of
--   <tt>true</tt> specifies that Amazon SES will include headers in
--   notifications, and a value of <tt>false</tt> specifies that Amazon SES
--   will not include headers in notifications. This value can only be set
--   when <tt>NotificationType</tt> is already set to use a particular
--   Amazon SNS topic.
sihineEnabled :: Lens' SetIdentityHeadersInNotificationsEnabled Bool

-- | Creates a value of
--   <a>SetIdentityHeadersInNotificationsEnabledResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sihinersResponseStatus</a> - -- | The response status
--   code.</li>
--   </ul>
setIdentityHeadersInNotificationsEnabledResponse :: Int -> SetIdentityHeadersInNotificationsEnabledResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>setIdentityHeadersInNotificationsEnabledResponse</a>
--   smart constructor.
data SetIdentityHeadersInNotificationsEnabledResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sihinersResponseStatus :: Lens' SetIdentityHeadersInNotificationsEnabledResponse Int
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabledResponse
instance Data.Data.Data Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabledResponse
instance GHC.Show.Show Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabledResponse
instance GHC.Read.Read Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabledResponse
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabledResponse
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance Data.Data.Data Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance GHC.Show.Show Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance GHC.Read.Read Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance Data.Hashable.Class.Hashable Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabled
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled.SetIdentityHeadersInNotificationsEnabledResponse


-- | Given an identity (an email address or a domain), enables or disables
--   whether Amazon SES forwards bounce and complaint notifications as
--   email. Feedback forwarding can only be disabled when Amazon Simple
--   Notification Service (Amazon SNS) topics are specified for both
--   bounces and complaints.
--   
--   This action is throttled at one request per second.
--   
--   For more information about using notifications with Amazon SES, see
--   the <a>Amazon SES Developer Guide</a> .
module Network.AWS.SES.SetIdentityFeedbackForwardingEnabled

-- | Creates a value of <a>SetIdentityFeedbackForwardingEnabled</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>siffeIdentity</a> - The identity for which to set bounce and
--   complaint notification forwarding. Examples:
--   <tt>user</tt>example.com<tt> , </tt>example.com@ .</li>
--   <li><a>siffeForwardingEnabled</a> - Sets whether Amazon SES will
--   forward bounce and complaint notifications as email. <tt>true</tt>
--   specifies that Amazon SES will forward bounce and complaint
--   notifications as email, in addition to any Amazon SNS topic publishing
--   otherwise specified. <tt>false</tt> specifies that Amazon SES will
--   publish bounce and complaint notifications only through Amazon SNS.
--   This value can only be set to <tt>false</tt> when Amazon SNS topics
--   are set for both <tt>Bounce</tt> and <tt>Complaint</tt> notification
--   types.</li>
--   </ul>
setIdentityFeedbackForwardingEnabled :: Text -> Bool -> SetIdentityFeedbackForwardingEnabled

-- | Represents a request to enable or disable whether Amazon SES forwards
--   you bounce and complaint notifications through email. For information
--   about email feedback forwarding, see the <a>Amazon SES Developer
--   Guide</a> .
--   
--   <i>See:</i> <a>setIdentityFeedbackForwardingEnabled</a> smart
--   constructor.
data SetIdentityFeedbackForwardingEnabled

-- | The identity for which to set bounce and complaint notification
--   forwarding. Examples: <tt>user</tt>example.com<tt> , </tt>example.com@
--   .
siffeIdentity :: Lens' SetIdentityFeedbackForwardingEnabled Text

-- | Sets whether Amazon SES will forward bounce and complaint
--   notifications as email. <tt>true</tt> specifies that Amazon SES will
--   forward bounce and complaint notifications as email, in addition to
--   any Amazon SNS topic publishing otherwise specified. <tt>false</tt>
--   specifies that Amazon SES will publish bounce and complaint
--   notifications only through Amazon SNS. This value can only be set to
--   <tt>false</tt> when Amazon SNS topics are set for both <tt>Bounce</tt>
--   and <tt>Complaint</tt> notification types.
siffeForwardingEnabled :: Lens' SetIdentityFeedbackForwardingEnabled Bool

-- | Creates a value of <a>SetIdentityFeedbackForwardingEnabledResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>siffersResponseStatus</a> - -- | The response status code.</li>
--   </ul>
setIdentityFeedbackForwardingEnabledResponse :: Int -> SetIdentityFeedbackForwardingEnabledResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>setIdentityFeedbackForwardingEnabledResponse</a> smart
--   constructor.
data SetIdentityFeedbackForwardingEnabledResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
siffersResponseStatus :: Lens' SetIdentityFeedbackForwardingEnabledResponse Int
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabledResponse
instance Data.Data.Data Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabledResponse
instance GHC.Show.Show Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabledResponse
instance GHC.Read.Read Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabledResponse
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabledResponse
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance Data.Data.Data Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance GHC.Show.Show Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance GHC.Read.Read Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance Data.Hashable.Class.Hashable Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabled
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityFeedbackForwardingEnabled.SetIdentityFeedbackForwardingEnabledResponse


-- | Enables or disables Easy DKIM signing of email sent from an identity:
--   
--   <ul>
--   <li>If Easy DKIM signing is enabled for a domain name identity (e.g.,
--   <tt>example.com</tt> ), then Amazon SES will DKIM-sign all email sent
--   by addresses under that domain name (e.g., <tt>user</tt>example.com@
--   ).</li>
--   <li>If Easy DKIM signing is enabled for an email address, then Amazon
--   SES will DKIM-sign all email sent by that email address.</li>
--   </ul>
--   
--   For email addresses (e.g., <tt>user</tt>example.com<tt> ), you can
--   only enable Easy DKIM signing if the corresponding domain (e.g.,
--   </tt>example.com<tt> ) has been set up for Easy DKIM using the AWS
--   Console or the </tt>VerifyDomainDkim@ action.
--   
--   This action is throttled at one request per second.
--   
--   For more information about Easy DKIM signing, go to the <a>Amazon SES
--   Developer Guide</a> .
module Network.AWS.SES.SetIdentityDkimEnabled

-- | Creates a value of <a>SetIdentityDkimEnabled</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sideIdentity</a> - The identity for which DKIM signing should
--   be enabled or disabled.</li>
--   <li><a>sideDkimEnabled</a> - Sets whether DKIM signing is enabled for
--   an identity. Set to <tt>true</tt> to enable DKIM signing for this
--   identity; <tt>false</tt> to disable it.</li>
--   </ul>
setIdentityDkimEnabled :: Text -> Bool -> SetIdentityDkimEnabled

-- | 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 <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>setIdentityDkimEnabled</a> smart constructor.
data SetIdentityDkimEnabled

-- | The identity for which DKIM signing should be enabled or disabled.
sideIdentity :: Lens' SetIdentityDkimEnabled Text

-- | Sets whether DKIM signing is enabled for an identity. Set to
--   <tt>true</tt> to enable DKIM signing for this identity; <tt>false</tt>
--   to disable it.
sideDkimEnabled :: Lens' SetIdentityDkimEnabled Bool

-- | Creates a value of <a>SetIdentityDkimEnabledResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sidersResponseStatus</a> - -- | The response status code.</li>
--   </ul>
setIdentityDkimEnabledResponse :: Int -> SetIdentityDkimEnabledResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>setIdentityDkimEnabledResponse</a> smart constructor.
data SetIdentityDkimEnabledResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sidersResponseStatus :: Lens' SetIdentityDkimEnabledResponse Int
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabledResponse
instance Data.Data.Data Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabledResponse
instance GHC.Show.Show Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabledResponse
instance GHC.Read.Read Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabledResponse
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabledResponse
instance GHC.Generics.Generic Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance Data.Data.Data Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance GHC.Show.Show Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance GHC.Read.Read Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance GHC.Classes.Eq Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance Data.Hashable.Class.Hashable Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabled
instance Control.DeepSeq.NFData Network.AWS.SES.SetIdentityDkimEnabled.SetIdentityDkimEnabledResponse


-- | Sets the specified receipt rule set as the active receipt rule set.
--   
--   For information about managing receipt rule sets, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.SetActiveReceiptRuleSet

-- | Creates a value of <a>SetActiveReceiptRuleSet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sarrsRuleSetName</a> - The name of the receipt rule set to make
--   active. Setting this value to null disables all email receiving.</li>
--   </ul>
setActiveReceiptRuleSet :: SetActiveReceiptRuleSet

-- | Represents a request to set a receipt rule set as the active receipt
--   rule set. You use receipt rule sets to receive email with Amazon SES.
--   For more information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>setActiveReceiptRuleSet</a> smart constructor.
data SetActiveReceiptRuleSet

-- | The name of the receipt rule set to make active. Setting this value to
--   null disables all email receiving.
sarrsRuleSetName :: Lens' SetActiveReceiptRuleSet (Maybe Text)

-- | Creates a value of <a>SetActiveReceiptRuleSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sarrsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
setActiveReceiptRuleSetResponse :: Int -> SetActiveReceiptRuleSetResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>setActiveReceiptRuleSetResponse</a> smart constructor.
data SetActiveReceiptRuleSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sarrsrsResponseStatus :: Lens' SetActiveReceiptRuleSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSetResponse
instance Data.Data.Data Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSetResponse
instance GHC.Show.Show Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSetResponse
instance GHC.Read.Read Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSetResponse
instance GHC.Classes.Eq Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSetResponse
instance GHC.Generics.Generic Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance Data.Data.Data Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance GHC.Show.Show Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance GHC.Read.Read Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance GHC.Classes.Eq Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.SetActiveReceiptRuleSet.SetActiveReceiptRuleSetResponse


-- | Sends an email message, with header and content specified by the
--   client. The <tt>SendRawEmail</tt> action is useful for sending
--   multipart MIME emails. The raw text of the message must comply with
--   Internet email standards; otherwise, the message cannot be sent.
--   
--   There are several important points to know about <tt>SendRawEmail</tt>
--   :
--   
--   <ul>
--   <li>You can only send email from verified email addresses and domains;
--   otherwise, you will get an "Email address not verified" error. If your
--   account is still in the Amazon SES sandbox, you must also verify every
--   recipient email address except for the recipients provided by the
--   Amazon SES mailbox simulator. For more information, go to the
--   <a>Amazon SES Developer Guide</a> .</li>
--   <li>The total size of the message cannot exceed 10 MB. This includes
--   any attachments that are part of the message.</li>
--   <li>Amazon SES has a limit on the total number of recipients per
--   message. The combined number of To:, CC: and BCC: email addresses
--   cannot exceed 50. If you need to send an email message to a larger
--   audience, you can divide your recipient list into groups of 50 or
--   fewer, and then call Amazon SES repeatedly to send the message to each
--   group.</li>
--   <li>The To:, CC:, and BCC: headers in the raw message can contain a
--   group list. Note that each recipient in a group list counts towards
--   the 50-recipient limit.</li>
--   <li>Amazon SES overrides any Message-ID and Date headers you
--   provide.</li>
--   <li>For every message that you send, the total number of recipients
--   (To:, CC: and BCC:) is counted against your sending quota - the
--   maximum number of emails you can send in a 24-hour period. For
--   information about your sending quota, go to the <a>Amazon SES
--   Developer Guide</a> .</li>
--   <li>If you are using sending authorization to send on behalf of
--   another user, <tt>SendRawEmail</tt> enables you to specify the
--   cross-account identity for the email's "Source," "From," and
--   <a>Return-Path</a> parameters in one of two ways: you can pass
--   optional parameters <tt>SourceArn</tt> , <tt>FromArn</tt> , and/or
--   <tt>ReturnPathArn</tt> to the API, or you can include the following
--   X-headers in the header of your raw email:</li>
--   <li><pre>X-SES-SOURCE-ARN</pre></li>
--   <li><pre>X-SES-FROM-ARN</pre></li>
--   <li><pre>X-SES-RETURN-PATH-ARN</pre></li>
--   </ul>
--   
--   <i>Important:</i> Do not include these X-headers in the DKIM
--   signature, because they are removed by Amazon SES before sending the
--   email.
--   
--   For the most common sending authorization use case, we recommend that
--   you specify the <tt>SourceIdentityArn</tt> and do not specify either
--   the <tt>FromIdentityArn</tt> or <tt>ReturnPathIdentityArn</tt> . (The
--   same note applies to the corresponding X-headers.) If you only specify
--   the <tt>SourceIdentityArn</tt> , Amazon SES will simply set the
--   <a>From</a> address and the "Return Path" address to the identity
--   specified in <tt>SourceIdentityArn</tt> . For more information about
--   sending authorization, see the <a>Amazon SES Developer Guide</a> .
module Network.AWS.SES.SendRawEmail

-- | Creates a value of <a>SendRawEmail</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sreConfigurationSetName</a> - The name of the configuration set
--   to use when you send an email using <tt>SendRawEmail</tt> .</li>
--   <li><a>sreSourceARN</a> - This parameter is used only for sending
--   authorization. It is the ARN of the identity that is associated with
--   the sending authorization policy that permits you to send for the
--   email address specified in the <tt>Source</tt> parameter. For example,
--   if the owner of <tt>example.com</tt> (which has ARN
--   <tt>arn:aws:ses:us-east-1:123456789012:identity/example.com</tt> )
--   attaches a policy to it that authorizes you to send from
--   <tt>user</tt>example.com<tt> , then you would specify the
--   </tt>SourceArn<tt> to be
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com<tt> , and
--   the </tt>Source<tt> to be </tt>user<tt>example.com</tt> . Instead of
--   using this parameter, you can use the X-header
--   <tt>X-SES-SOURCE-ARN</tt> in the raw message of the email. If you use
--   both the <tt>SourceArn</tt> parameter and the corresponding X-header,
--   Amazon SES uses the value of the <tt>SourceArn</tt> parameter.</li>
--   <li><a>sreDestinations</a> - A list of destinations for the message,
--   consisting of To:, CC:, and BCC: addresses.</li>
--   <li><a>sreReturnPathARN</a> - This parameter is used only for sending
--   authorization. It is the ARN of the identity that is associated with
--   the sending authorization policy that permits you to use the email
--   address specified in the <tt>ReturnPath</tt> parameter. For example,
--   if the owner of <tt>example.com</tt> (which has ARN
--   <tt>arn:aws:ses:us-east-1:123456789012:identity/example.com</tt> )
--   attaches a policy to it that authorizes you to use
--   <tt>feedback</tt>example.com<tt> , then you would specify the
--   </tt>ReturnPathArn<tt> to be
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com<tt> , and
--   the </tt>ReturnPath<tt> to be </tt>feedback<tt>example.com</tt> .
--   Instead of using this parameter, you can use the X-header
--   <tt>X-SES-RETURN-PATH-ARN</tt> in the raw message of the email. If you
--   use both the <tt>ReturnPathArn</tt> parameter and the corresponding
--   X-header, Amazon SES uses the value of the <tt>ReturnPathArn</tt>
--   parameter.</li>
--   <li><a>sreSource</a> - The identity's email address. If you do not
--   provide a value for this parameter, you must specify a <a>From</a>
--   address in the raw text of the message. (You can also specify both.)
--   By default, the string must be 7-bit ASCII. If the text must contain
--   any other characters, then you must use MIME encoded-word syntax (RFC
--   2047) instead of a literal string. MIME encoded-word syntax uses the
--   following form: <tt>=?charset?encoding?encoded-text?=</tt> . For more
--   information, see <a>RFC 2047</a> .</li>
--   <li><a>sreFromARN</a> - This parameter is used only for sending
--   authorization. It is the ARN of the identity that is associated with
--   the sending authorization policy that permits you to specify a
--   particular <a>From</a> address in the header of the raw email. Instead
--   of using this parameter, you can use the X-header
--   <tt>X-SES-FROM-ARN</tt> in the raw message of the email. If you use
--   both the <tt>FromArn</tt> parameter and the corresponding X-header,
--   Amazon SES uses the value of the <tt>FromArn</tt> parameter.</li>
--   <li><a>sreTags</a> - A list of tags, in the form of name/value pairs,
--   to apply to an email that you send using <tt>SendRawEmail</tt> . Tags
--   correspond to characteristics of the email that you define, so that
--   you can publish email sending events.</li>
--   <li><a>sreRawMessage</a> - The raw text of the message. The client is
--   responsible for ensuring the following: * Message must contain a
--   header and a body, separated by a blank line. * All required header
--   fields must be present. * Each part of a multipart MIME message must
--   be formatted properly. * MIME content types must be among those
--   supported by Amazon SES. For more information, go to the <a>Amazon SES
--   Developer Guide</a> . * Must be base64-encoded.</li>
--   </ul>
sendRawEmail :: RawMessage -> SendRawEmail

-- | Represents a request to send a single raw email using Amazon SES. For
--   more information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>sendRawEmail</a> smart constructor.
data SendRawEmail

-- | The name of the configuration set to use when you send an email using
--   <tt>SendRawEmail</tt> .
sreConfigurationSetName :: Lens' SendRawEmail (Maybe Text)

-- | This parameter is used only for sending authorization. It is the ARN
--   of the identity that is associated with the sending authorization
--   policy that permits you to send for the email address specified in the
--   <tt>Source</tt> parameter. For example, if the owner of
--   <tt>example.com</tt> (which has ARN
--   <tt>arn:aws:ses:us-east-1:123456789012:identity/example.com</tt> )
--   attaches a policy to it that authorizes you to send from
--   <tt>user</tt>example.com<tt> , then you would specify the
--   </tt>SourceArn<tt> to be
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com<tt> , and
--   the </tt>Source<tt> to be </tt>user<tt>example.com</tt> . Instead of
--   using this parameter, you can use the X-header
--   <tt>X-SES-SOURCE-ARN</tt> in the raw message of the email. If you use
--   both the <tt>SourceArn</tt> parameter and the corresponding X-header,
--   Amazon SES uses the value of the <tt>SourceArn</tt> parameter.
sreSourceARN :: Lens' SendRawEmail (Maybe Text)

-- | A list of destinations for the message, consisting of To:, CC:, and
--   BCC: addresses.
sreDestinations :: Lens' SendRawEmail [Text]

-- | This parameter is used only for sending authorization. It is the ARN
--   of the identity that is associated with the sending authorization
--   policy that permits you to use the email address specified in the
--   <tt>ReturnPath</tt> parameter. For example, if the owner of
--   <tt>example.com</tt> (which has ARN
--   <tt>arn:aws:ses:us-east-1:123456789012:identity/example.com</tt> )
--   attaches a policy to it that authorizes you to use
--   <tt>feedback</tt>example.com<tt> , then you would specify the
--   </tt>ReturnPathArn<tt> to be
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com<tt> , and
--   the </tt>ReturnPath<tt> to be </tt>feedback<tt>example.com</tt> .
--   Instead of using this parameter, you can use the X-header
--   <tt>X-SES-RETURN-PATH-ARN</tt> in the raw message of the email. If you
--   use both the <tt>ReturnPathArn</tt> parameter and the corresponding
--   X-header, Amazon SES uses the value of the <tt>ReturnPathArn</tt>
--   parameter.
sreReturnPathARN :: Lens' SendRawEmail (Maybe Text)

-- | The identity's email address. If you do not provide a value for this
--   parameter, you must specify a <a>From</a> address in the raw text of
--   the message. (You can also specify both.) By default, the string must
--   be 7-bit ASCII. If the text must contain any other characters, then
--   you must use MIME encoded-word syntax (RFC 2047) instead of a literal
--   string. MIME encoded-word syntax uses the following form:
--   <tt>=?charset?encoding?encoded-text?=</tt> . For more information, see
--   <a>RFC 2047</a> .
sreSource :: Lens' SendRawEmail (Maybe Text)

-- | This parameter is used only for sending authorization. It is the ARN
--   of the identity that is associated with the sending authorization
--   policy that permits you to specify a particular <a>From</a> address in
--   the header of the raw email. Instead of using this parameter, you can
--   use the X-header <tt>X-SES-FROM-ARN</tt> in the raw message of the
--   email. If you use both the <tt>FromArn</tt> parameter and the
--   corresponding X-header, Amazon SES uses the value of the
--   <tt>FromArn</tt> parameter.
sreFromARN :: Lens' SendRawEmail (Maybe Text)

-- | A list of tags, in the form of name/value pairs, to apply to an email
--   that you send using <tt>SendRawEmail</tt> . Tags correspond to
--   characteristics of the email that you define, so that you can publish
--   email sending events.
sreTags :: Lens' SendRawEmail [MessageTag]

-- | The raw text of the message. The client is responsible for ensuring
--   the following: * Message must contain a header and a body, separated
--   by a blank line. * All required header fields must be present. * Each
--   part of a multipart MIME message must be formatted properly. * MIME
--   content types must be among those supported by Amazon SES. For more
--   information, go to the <a>Amazon SES Developer Guide</a> . * Must be
--   base64-encoded.
sreRawMessage :: Lens' SendRawEmail RawMessage

-- | Creates a value of <a>SendRawEmailResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srersResponseStatus</a> - -- | The response status code.</li>
--   <li><a>srersMessageId</a> - The unique message identifier returned
--   from the <tt>SendRawEmail</tt> action.</li>
--   </ul>
sendRawEmailResponse :: Int -> Text -> SendRawEmailResponse

-- | Represents a unique message ID.
--   
--   <i>See:</i> <a>sendRawEmailResponse</a> smart constructor.
data SendRawEmailResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
srersResponseStatus :: Lens' SendRawEmailResponse Int

-- | The unique message identifier returned from the <tt>SendRawEmail</tt>
--   action.
srersMessageId :: Lens' SendRawEmailResponse Text
instance GHC.Generics.Generic Network.AWS.SES.SendRawEmail.SendRawEmailResponse
instance Data.Data.Data Network.AWS.SES.SendRawEmail.SendRawEmailResponse
instance GHC.Show.Show Network.AWS.SES.SendRawEmail.SendRawEmailResponse
instance GHC.Read.Read Network.AWS.SES.SendRawEmail.SendRawEmailResponse
instance GHC.Classes.Eq Network.AWS.SES.SendRawEmail.SendRawEmailResponse
instance GHC.Generics.Generic Network.AWS.SES.SendRawEmail.SendRawEmail
instance Data.Data.Data Network.AWS.SES.SendRawEmail.SendRawEmail
instance GHC.Show.Show Network.AWS.SES.SendRawEmail.SendRawEmail
instance GHC.Read.Read Network.AWS.SES.SendRawEmail.SendRawEmail
instance GHC.Classes.Eq Network.AWS.SES.SendRawEmail.SendRawEmail
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SendRawEmail.SendRawEmail
instance Data.Hashable.Class.Hashable Network.AWS.SES.SendRawEmail.SendRawEmail
instance Control.DeepSeq.NFData Network.AWS.SES.SendRawEmail.SendRawEmail
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SendRawEmail.SendRawEmail
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SendRawEmail.SendRawEmail
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SendRawEmail.SendRawEmail
instance Control.DeepSeq.NFData Network.AWS.SES.SendRawEmail.SendRawEmailResponse


-- | Composes an email message based on input data, and then immediately
--   queues the message for sending.
--   
--   There are several important points to know about <tt>SendEmail</tt> :
--   
--   <ul>
--   <li>You can only send email from verified email addresses and domains;
--   otherwise, you will get an "Email address not verified" error. If your
--   account is still in the Amazon SES sandbox, you must also verify every
--   recipient email address except for the recipients provided by the
--   Amazon SES mailbox simulator. For more information, go to the
--   <a>Amazon SES Developer Guide</a> .</li>
--   <li>The total size of the message cannot exceed 10 MB. This includes
--   any attachments that are part of the message.</li>
--   <li>Amazon SES has a limit on the total number of recipients per
--   message. The combined number of To:, CC: and BCC: email addresses
--   cannot exceed 50. If you need to send an email message to a larger
--   audience, you can divide your recipient list into groups of 50 or
--   fewer, and then call Amazon SES repeatedly to send the message to each
--   group.</li>
--   <li>For every message that you send, the total number of recipients
--   (To:, CC: and BCC:) is counted against your sending quota - the
--   maximum number of emails you can send in a 24-hour period. For
--   information about your sending quota, go to the <a>Amazon SES
--   Developer Guide</a> .</li>
--   </ul>
module Network.AWS.SES.SendEmail

-- | Creates a value of <a>SendEmail</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>seReturnPath</a> - The email address to which bounces and
--   complaints are to be forwarded when feedback forwarding is enabled. If
--   the message cannot be delivered to the recipient, then an error
--   message will be returned from the recipient's ISP; this message will
--   then be forwarded to the email address specified by the
--   <tt>ReturnPath</tt> parameter. The <tt>ReturnPath</tt> parameter is
--   never overwritten. This email address must be either individually
--   verified with Amazon SES, or from a domain that has been verified with
--   Amazon SES.</li>
--   <li><a>seConfigurationSetName</a> - The name of the configuration set
--   to use when you send an email using <tt>SendEmail</tt> .</li>
--   <li><a>seSourceARN</a> - This parameter is used only for sending
--   authorization. It is the ARN of the identity that is associated with
--   the sending authorization policy that permits you to send for the
--   email address specified in the <tt>Source</tt> parameter. For example,
--   if the owner of <tt>example.com</tt> (which has ARN
--   <tt>arn:aws:ses:us-east-1:123456789012:identity/example.com</tt> )
--   attaches a policy to it that authorizes you to send from
--   <tt>user</tt>example.com<tt> , then you would specify the
--   </tt>SourceArn<tt> to be
--   </tt>arn:aws:ses:us-east-1:123456789012:identity<i>example.com<tt> ,
--   and the </tt>Source<tt> to be </tt>user<tt>example.com</tt> . For more
--   information about sending authorization, see the
--   &lt;http:</i><i>docs.aws.amazon.com</i>ses<i>latest</i>DeveloperGuide/sending-authorization.html
--   Amazon SES Developer Guide&gt; .</li>
--   <li><a>seReturnPathARN</a> - This parameter is used only for sending
--   authorization. It is the ARN of the identity that is associated with
--   the sending authorization policy that permits you to use the email
--   address specified in the <tt>ReturnPath</tt> parameter. For example,
--   if the owner of <tt>example.com</tt> (which has ARN
--   <tt>arn:aws:ses:us-east-1:123456789012:identity/example.com</tt> )
--   attaches a policy to it that authorizes you to use
--   <tt>feedback</tt>example.com<tt> , then you would specify the
--   </tt>ReturnPathArn<tt> to be
--   </tt>arn:aws:ses:us-east-1:123456789012:identity<i>example.com<tt> ,
--   and the </tt>ReturnPath<tt> to be </tt>feedback<tt>example.com</tt> .
--   For more information about sending authorization, see the
--   &lt;http:</i><i>docs.aws.amazon.com</i>ses<i>latest</i>DeveloperGuide/sending-authorization.html
--   Amazon SES Developer Guide&gt; .</li>
--   <li><a>seTags</a> - A list of tags, in the form of name/value pairs,
--   to apply to an email that you send using <tt>SendEmail</tt> . Tags
--   correspond to characteristics of the email that you define, so that
--   you can publish email sending events.</li>
--   <li><a>seReplyToAddresses</a> - The reply-to email address(es) for the
--   message. If the recipient replies to the message, each reply-to
--   address will receive the reply.</li>
--   <li><a>seSource</a> - The email address that is sending the email.
--   This email address must be either individually verified with Amazon
--   SES, or from a domain that has been verified with Amazon SES. For
--   information about verifying identities, see the <a>Amazon SES
--   Developer Guide</a> . If you are sending on behalf of another user and
--   have been permitted to do so by a sending authorization policy, then
--   you must also specify the <tt>SourceArn</tt> parameter. For more
--   information about sending authorization, see the <a>Amazon SES
--   Developer Guide</a> . In all cases, the email address must be 7-bit
--   ASCII. If the text must contain any other characters, then you must
--   use MIME encoded-word syntax (RFC 2047) instead of a literal string.
--   MIME encoded-word syntax uses the following form:
--   <tt>=?charset?encoding?encoded-text?=</tt> . For more information, see
--   <a>RFC 2047</a> .</li>
--   <li><a>seDestination</a> - The destination for this email, composed of
--   To:, CC:, and BCC: fields.</li>
--   <li><a>seMessage</a> - The message to be sent.</li>
--   </ul>
sendEmail :: Text -> Destination -> Message -> SendEmail

-- | Represents a request to send a single formatted email using Amazon
--   SES. For more information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>sendEmail</a> smart constructor.
data SendEmail

-- | The email address to which bounces and complaints are to be forwarded
--   when feedback forwarding is enabled. If the message cannot be
--   delivered to the recipient, then an error message will be returned
--   from the recipient's ISP; this message will then be forwarded to the
--   email address specified by the <tt>ReturnPath</tt> parameter. The
--   <tt>ReturnPath</tt> parameter is never overwritten. This email address
--   must be either individually verified with Amazon SES, or from a domain
--   that has been verified with Amazon SES.
seReturnPath :: Lens' SendEmail (Maybe Text)

-- | The name of the configuration set to use when you send an email using
--   <tt>SendEmail</tt> .
seConfigurationSetName :: Lens' SendEmail (Maybe Text)

-- | This parameter is used only for sending authorization. It is the ARN
--   of the identity that is associated with the sending authorization
--   policy that permits you to send for the email address specified in the
--   <tt>Source</tt> parameter. For example, if the owner of
--   <tt>example.com</tt> (which has ARN
--   <tt>arn:aws:ses:us-east-1:123456789012:identity/example.com</tt> )
--   attaches a policy to it that authorizes you to send from
--   <tt>user</tt>example.com<tt> , then you would specify the
--   </tt>SourceArn<tt> to be
--   </tt>arn:aws:ses:us-east-1:123456789012:identity<i>example.com<tt> ,
--   and the </tt>Source<tt> to be </tt>user<tt>example.com</tt> . For more
--   information about sending authorization, see the
--   &lt;http:</i><i>docs.aws.amazon.com</i>ses<i>latest</i>DeveloperGuide/sending-authorization.html
--   Amazon SES Developer Guide&gt; .
seSourceARN :: Lens' SendEmail (Maybe Text)

-- | This parameter is used only for sending authorization. It is the ARN
--   of the identity that is associated with the sending authorization
--   policy that permits you to use the email address specified in the
--   <tt>ReturnPath</tt> parameter. For example, if the owner of
--   <tt>example.com</tt> (which has ARN
--   <tt>arn:aws:ses:us-east-1:123456789012:identity/example.com</tt> )
--   attaches a policy to it that authorizes you to use
--   <tt>feedback</tt>example.com<tt> , then you would specify the
--   </tt>ReturnPathArn<tt> to be
--   </tt>arn:aws:ses:us-east-1:123456789012:identity<i>example.com<tt> ,
--   and the </tt>ReturnPath<tt> to be </tt>feedback<tt>example.com</tt> .
--   For more information about sending authorization, see the
--   &lt;http:</i><i>docs.aws.amazon.com</i>ses<i>latest</i>DeveloperGuide/sending-authorization.html
--   Amazon SES Developer Guide&gt; .
seReturnPathARN :: Lens' SendEmail (Maybe Text)

-- | A list of tags, in the form of name/value pairs, to apply to an email
--   that you send using <tt>SendEmail</tt> . Tags correspond to
--   characteristics of the email that you define, so that you can publish
--   email sending events.
seTags :: Lens' SendEmail [MessageTag]

-- | The reply-to email address(es) for the message. If the recipient
--   replies to the message, each reply-to address will receive the reply.
seReplyToAddresses :: Lens' SendEmail [Text]

-- | The email address that is sending the email. This email address must
--   be either individually verified with Amazon SES, or from a domain that
--   has been verified with Amazon SES. For information about verifying
--   identities, see the <a>Amazon SES Developer Guide</a> . If you are
--   sending on behalf of another user and have been permitted to do so by
--   a sending authorization policy, then you must also specify the
--   <tt>SourceArn</tt> parameter. For more information about sending
--   authorization, see the <a>Amazon SES Developer Guide</a> . In all
--   cases, the email address must be 7-bit ASCII. If the text must contain
--   any other characters, then you must use MIME encoded-word syntax (RFC
--   2047) instead of a literal string. MIME encoded-word syntax uses the
--   following form: <tt>=?charset?encoding?encoded-text?=</tt> . For more
--   information, see <a>RFC 2047</a> .
seSource :: Lens' SendEmail Text

-- | The destination for this email, composed of To:, CC:, and BCC: fields.
seDestination :: Lens' SendEmail Destination

-- | The message to be sent.
seMessage :: Lens' SendEmail Message

-- | Creates a value of <a>SendEmailResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sersResponseStatus</a> - -- | The response status code.</li>
--   <li><a>sersMessageId</a> - The unique message identifier returned from
--   the <tt>SendEmail</tt> action.</li>
--   </ul>
sendEmailResponse :: Int -> Text -> SendEmailResponse

-- | Represents a unique message ID.
--   
--   <i>See:</i> <a>sendEmailResponse</a> smart constructor.
data SendEmailResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sersResponseStatus :: Lens' SendEmailResponse Int

-- | The unique message identifier returned from the <tt>SendEmail</tt>
--   action.
sersMessageId :: Lens' SendEmailResponse Text
instance GHC.Generics.Generic Network.AWS.SES.SendEmail.SendEmailResponse
instance Data.Data.Data Network.AWS.SES.SendEmail.SendEmailResponse
instance GHC.Show.Show Network.AWS.SES.SendEmail.SendEmailResponse
instance GHC.Read.Read Network.AWS.SES.SendEmail.SendEmailResponse
instance GHC.Classes.Eq Network.AWS.SES.SendEmail.SendEmailResponse
instance GHC.Generics.Generic Network.AWS.SES.SendEmail.SendEmail
instance Data.Data.Data Network.AWS.SES.SendEmail.SendEmail
instance GHC.Show.Show Network.AWS.SES.SendEmail.SendEmail
instance GHC.Read.Read Network.AWS.SES.SendEmail.SendEmail
instance GHC.Classes.Eq Network.AWS.SES.SendEmail.SendEmail
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SendEmail.SendEmail
instance Data.Hashable.Class.Hashable Network.AWS.SES.SendEmail.SendEmail
instance Control.DeepSeq.NFData Network.AWS.SES.SendEmail.SendEmail
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SendEmail.SendEmail
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SendEmail.SendEmail
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SendEmail.SendEmail
instance Control.DeepSeq.NFData Network.AWS.SES.SendEmail.SendEmailResponse


-- | Generates and sends a bounce message to the sender of an email you
--   received through Amazon SES. You can only use this API on an email up
--   to 24 hours after you receive it.
--   
--   For information about receiving email through Amazon SES, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.SendBounce

-- | Creates a value of <a>SendBounce</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sbMessageDsn</a> - Message-related DSN fields. If not
--   specified, Amazon SES will choose the values.</li>
--   <li><a>sbExplanation</a> - Human-readable text for the bounce message
--   to explain the failure. If not specified, the text will be
--   auto-generated based on the bounced recipient information.</li>
--   <li><a>sbBounceSenderARN</a> - This parameter is used only for sending
--   authorization. It is the ARN of the identity that is associated with
--   the sending authorization policy that permits you to use the address
--   in the <a>From</a> header of the bounce. For more information about
--   sending authorization, see the <a>Amazon SES Developer Guide</a>
--   .</li>
--   <li><a>sbOriginalMessageId</a> - The message ID of the message to be
--   bounced.</li>
--   <li><a>sbBounceSender</a> - The address to use in the <a>From</a>
--   header of the bounce message. This must be an identity that you have
--   verified with Amazon SES.</li>
--   <li><a>sbBouncedRecipientInfoList</a> - A list of recipients of the
--   bounced message, including the information required to create the
--   Delivery Status Notifications (DSNs) for the recipients. You must
--   specify at least one <tt>BouncedRecipientInfo</tt> in the list.</li>
--   </ul>
sendBounce :: Text -> Text -> SendBounce

-- | Represents a request to send a bounce message to the sender of an
--   email you received through Amazon SES.
--   
--   <i>See:</i> <a>sendBounce</a> smart constructor.
data SendBounce

-- | Message-related DSN fields. If not specified, Amazon SES will choose
--   the values.
sbMessageDsn :: Lens' SendBounce (Maybe MessageDsn)

-- | Human-readable text for the bounce message to explain the failure. If
--   not specified, the text will be auto-generated based on the bounced
--   recipient information.
sbExplanation :: Lens' SendBounce (Maybe Text)

-- | This parameter is used only for sending authorization. It is the ARN
--   of the identity that is associated with the sending authorization
--   policy that permits you to use the address in the <a>From</a> header
--   of the bounce. For more information about sending authorization, see
--   the <a>Amazon SES Developer Guide</a> .
sbBounceSenderARN :: Lens' SendBounce (Maybe Text)

-- | The message ID of the message to be bounced.
sbOriginalMessageId :: Lens' SendBounce Text

-- | The address to use in the <a>From</a> header of the bounce message.
--   This must be an identity that you have verified with Amazon SES.
sbBounceSender :: Lens' SendBounce Text

-- | A list of recipients of the bounced message, including the information
--   required to create the Delivery Status Notifications (DSNs) for the
--   recipients. You must specify at least one
--   <tt>BouncedRecipientInfo</tt> in the list.
sbBouncedRecipientInfoList :: Lens' SendBounce [BouncedRecipientInfo]

-- | Creates a value of <a>SendBounceResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sbrsMessageId</a> - The message ID of the bounce message.</li>
--   <li><a>sbrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
sendBounceResponse :: Int -> SendBounceResponse

-- | Represents a unique message ID.
--   
--   <i>See:</i> <a>sendBounceResponse</a> smart constructor.
data SendBounceResponse

-- | The message ID of the bounce message.
sbrsMessageId :: Lens' SendBounceResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
sbrsResponseStatus :: Lens' SendBounceResponse Int
instance GHC.Generics.Generic Network.AWS.SES.SendBounce.SendBounceResponse
instance Data.Data.Data Network.AWS.SES.SendBounce.SendBounceResponse
instance GHC.Show.Show Network.AWS.SES.SendBounce.SendBounceResponse
instance GHC.Read.Read Network.AWS.SES.SendBounce.SendBounceResponse
instance GHC.Classes.Eq Network.AWS.SES.SendBounce.SendBounceResponse
instance GHC.Generics.Generic Network.AWS.SES.SendBounce.SendBounce
instance Data.Data.Data Network.AWS.SES.SendBounce.SendBounce
instance GHC.Show.Show Network.AWS.SES.SendBounce.SendBounce
instance GHC.Read.Read Network.AWS.SES.SendBounce.SendBounce
instance GHC.Classes.Eq Network.AWS.SES.SendBounce.SendBounce
instance Network.AWS.Types.AWSRequest Network.AWS.SES.SendBounce.SendBounce
instance Data.Hashable.Class.Hashable Network.AWS.SES.SendBounce.SendBounce
instance Control.DeepSeq.NFData Network.AWS.SES.SendBounce.SendBounce
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SendBounce.SendBounce
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SendBounce.SendBounce
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SendBounce.SendBounce
instance Control.DeepSeq.NFData Network.AWS.SES.SendBounce.SendBounceResponse


-- | Reorders the receipt rules within a receipt rule set.
--   
--   For information about managing receipt rule sets, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.ReorderReceiptRuleSet

-- | Creates a value of <a>ReorderReceiptRuleSet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrrsRuleSetName</a> - The name of the receipt rule set to
--   reorder.</li>
--   <li><a>rrrsRuleNames</a> - A list of the specified receipt rule set's
--   receipt rules in the order that you want to put them.</li>
--   </ul>
reorderReceiptRuleSet :: Text -> ReorderReceiptRuleSet

-- | Represents a request to reorder the receipt rules within a receipt
--   rule set. You use receipt rule sets to receive email with Amazon SES.
--   For more information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>reorderReceiptRuleSet</a> smart constructor.
data ReorderReceiptRuleSet

-- | The name of the receipt rule set to reorder.
rrrsRuleSetName :: Lens' ReorderReceiptRuleSet Text

-- | A list of the specified receipt rule set's receipt rules in the order
--   that you want to put them.
rrrsRuleNames :: Lens' ReorderReceiptRuleSet [Text]

-- | Creates a value of <a>ReorderReceiptRuleSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrrsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
reorderReceiptRuleSetResponse :: Int -> ReorderReceiptRuleSetResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>reorderReceiptRuleSetResponse</a> smart constructor.
data ReorderReceiptRuleSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rrrsrsResponseStatus :: Lens' ReorderReceiptRuleSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSetResponse
instance Data.Data.Data Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSetResponse
instance GHC.Show.Show Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSetResponse
instance GHC.Read.Read Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSetResponse
instance GHC.Classes.Eq Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSetResponse
instance GHC.Generics.Generic Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance Data.Data.Data Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance GHC.Show.Show Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance GHC.Read.Read Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance GHC.Classes.Eq Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.ReorderReceiptRuleSet.ReorderReceiptRuleSetResponse


-- | Adds or updates a sending authorization policy for the specified
--   identity (an email address or a domain).
--   
--   Sending authorization is a feature that enables an identity owner to
--   authorize other senders to use its identities. For information about
--   using sending authorization, see the <a>Amazon SES Developer Guide</a>
--   .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.PutIdentityPolicy

-- | Creates a value of <a>PutIdentityPolicy</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pipIdentity</a> - The identity to which the policy will apply.
--   You can specify an identity by using its name or by using its Amazon
--   Resource Name (ARN). Examples: <tt>user</tt>example.com<tt> ,
--   </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To
--   successfully call this API, you must own the identity.</li>
--   <li><a>pipPolicyName</a> - The name of the policy. The policy name
--   cannot exceed 64 characters and can only include alphanumeric
--   characters, dashes, and underscores.</li>
--   <li><a>pipPolicy</a> - The text of the policy in JSON format. The
--   policy cannot exceed 4 KB. For information about the syntax of sending
--   authorization policies, see the <a>Amazon SES Developer Guide</a>
--   .</li>
--   </ul>
putIdentityPolicy :: Text -> Text -> Text -> PutIdentityPolicy

-- | Represents a request to add or update a sending authorization policy
--   for an identity. Sending authorization is an Amazon SES feature that
--   enables you to authorize other senders to use your identities. For
--   information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>putIdentityPolicy</a> smart constructor.
data PutIdentityPolicy

-- | The identity to which the policy will apply. You can specify an
--   identity by using its name or by using its Amazon Resource Name (ARN).
--   Examples: <tt>user</tt>example.com<tt> , </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To
--   successfully call this API, you must own the identity.
pipIdentity :: Lens' PutIdentityPolicy Text

-- | The name of the policy. The policy name cannot exceed 64 characters
--   and can only include alphanumeric characters, dashes, and underscores.
pipPolicyName :: Lens' PutIdentityPolicy Text

-- | The text of the policy in JSON format. The policy cannot exceed 4 KB.
--   For information about the syntax of sending authorization policies,
--   see the <a>Amazon SES Developer Guide</a> .
pipPolicy :: Lens' PutIdentityPolicy Text

-- | Creates a value of <a>PutIdentityPolicyResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>piprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
putIdentityPolicyResponse :: Int -> PutIdentityPolicyResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>putIdentityPolicyResponse</a> smart constructor.
data PutIdentityPolicyResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
piprsResponseStatus :: Lens' PutIdentityPolicyResponse Int
instance GHC.Generics.Generic Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicyResponse
instance Data.Data.Data Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicyResponse
instance GHC.Show.Show Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicyResponse
instance GHC.Read.Read Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicyResponse
instance GHC.Classes.Eq Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicyResponse
instance GHC.Generics.Generic Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance Data.Data.Data Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance GHC.Show.Show Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance GHC.Read.Read Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance GHC.Classes.Eq Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance Network.AWS.Types.AWSRequest Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance Data.Hashable.Class.Hashable Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance Control.DeepSeq.NFData Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicy
instance Control.DeepSeq.NFData Network.AWS.SES.PutIdentityPolicy.PutIdentityPolicyResponse


-- | Returns a list containing all of the email addresses that have been
--   verified.
--   
--   <i>Important:</i> The ListVerifiedEmailAddresses action is deprecated
--   as of the May 15, 2012 release of Domain Verification. The
--   ListIdentities action is now preferred.
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.ListVerifiedEmailAddresses

-- | Creates a value of <a>ListVerifiedEmailAddresses</a> with the minimum
--   fields required to make a request.
listVerifiedEmailAddresses :: ListVerifiedEmailAddresses

-- | <i>See:</i> <a>listVerifiedEmailAddresses</a> smart constructor.
data ListVerifiedEmailAddresses

-- | Creates a value of <a>ListVerifiedEmailAddressesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lvearsVerifiedEmailAddresses</a> - A list of email addresses
--   that have been verified.</li>
--   <li><a>lvearsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listVerifiedEmailAddressesResponse :: Int -> ListVerifiedEmailAddressesResponse

-- | A list of email addresses that you have verified with Amazon SES under
--   your AWS account.
--   
--   <i>See:</i> <a>listVerifiedEmailAddressesResponse</a> smart
--   constructor.
data ListVerifiedEmailAddressesResponse

-- | A list of email addresses that have been verified.
lvearsVerifiedEmailAddresses :: Lens' ListVerifiedEmailAddressesResponse [Text]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lvearsResponseStatus :: Lens' ListVerifiedEmailAddressesResponse Int
instance GHC.Generics.Generic Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddressesResponse
instance Data.Data.Data Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddressesResponse
instance GHC.Show.Show Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddressesResponse
instance GHC.Read.Read Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddressesResponse
instance GHC.Classes.Eq Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddressesResponse
instance GHC.Generics.Generic Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance Data.Data.Data Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance GHC.Show.Show Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance GHC.Read.Read Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance GHC.Classes.Eq Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance Network.AWS.Types.AWSRequest Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance Data.Hashable.Class.Hashable Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance Control.DeepSeq.NFData Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddresses
instance Control.DeepSeq.NFData Network.AWS.SES.ListVerifiedEmailAddresses.ListVerifiedEmailAddressesResponse


-- | Lists the receipt rule sets that exist under your AWS account. If
--   there are additional receipt rule sets to be retrieved, you will
--   receive a <tt>NextToken</tt> that you can provide to the next call to
--   <tt>ListReceiptRuleSets</tt> to retrieve the additional entries.
--   
--   For information about managing receipt rule sets, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.ListReceiptRuleSets

-- | Creates a value of <a>ListReceiptRuleSets</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrrsNextToken</a> - A token returned from a previous call to
--   <tt>ListReceiptRuleSets</tt> to indicate the position in the receipt
--   rule set list.</li>
--   </ul>
listReceiptRuleSets :: ListReceiptRuleSets

-- | Represents a request to list the receipt rule sets that exist under
--   your AWS account. You use receipt rule sets to receive email with
--   Amazon SES. For more information, see the <a>Amazon SES Developer
--   Guide</a> .
--   
--   <i>See:</i> <a>listReceiptRuleSets</a> smart constructor.
data ListReceiptRuleSets

-- | A token returned from a previous call to <tt>ListReceiptRuleSets</tt>
--   to indicate the position in the receipt rule set list.
lrrsNextToken :: Lens' ListReceiptRuleSets (Maybe Text)

-- | Creates a value of <a>ListReceiptRuleSetsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrrsrsRuleSets</a> - The metadata for the currently active
--   receipt rule set. The metadata consists of the rule set name and the
--   timestamp of when the rule set was created.</li>
--   <li><a>lrrsrsNextToken</a> - A token indicating that there are
--   additional receipt rule sets available to be listed. Pass this token
--   to successive calls of <tt>ListReceiptRuleSets</tt> to retrieve up to
--   100 receipt rule sets at a time.</li>
--   <li><a>lrrsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listReceiptRuleSetsResponse :: Int -> ListReceiptRuleSetsResponse

-- | A list of receipt rule sets that exist under your AWS account.
--   
--   <i>See:</i> <a>listReceiptRuleSetsResponse</a> smart constructor.
data ListReceiptRuleSetsResponse

-- | The metadata for the currently active receipt rule set. The metadata
--   consists of the rule set name and the timestamp of when the rule set
--   was created.
lrrsrsRuleSets :: Lens' ListReceiptRuleSetsResponse [ReceiptRuleSetMetadata]

-- | A token indicating that there are additional receipt rule sets
--   available to be listed. Pass this token to successive calls of
--   <tt>ListReceiptRuleSets</tt> to retrieve up to 100 receipt rule sets
--   at a time.
lrrsrsNextToken :: Lens' ListReceiptRuleSetsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lrrsrsResponseStatus :: Lens' ListReceiptRuleSetsResponse Int
instance GHC.Generics.Generic Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSetsResponse
instance Data.Data.Data Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSetsResponse
instance GHC.Show.Show Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSetsResponse
instance GHC.Read.Read Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSetsResponse
instance GHC.Classes.Eq Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSetsResponse
instance GHC.Generics.Generic Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance Data.Data.Data Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance GHC.Show.Show Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance GHC.Read.Read Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance GHC.Classes.Eq Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance Network.AWS.Types.AWSRequest Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance Data.Hashable.Class.Hashable Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance Control.DeepSeq.NFData Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSets
instance Control.DeepSeq.NFData Network.AWS.SES.ListReceiptRuleSets.ListReceiptRuleSetsResponse


-- | Lists the IP address filters associated with your AWS account.
--   
--   For information about managing IP address filters, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.ListReceiptFilters

-- | Creates a value of <a>ListReceiptFilters</a> with the minimum fields
--   required to make a request.
listReceiptFilters :: ListReceiptFilters

-- | Represents a request to list the IP address filters that exist under
--   your AWS account. You use IP address filters when you receive email
--   with Amazon SES. For more information, see the <a>Amazon SES Developer
--   Guide</a> .
--   
--   <i>See:</i> <a>listReceiptFilters</a> smart constructor.
data ListReceiptFilters

-- | Creates a value of <a>ListReceiptFiltersResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrfrsFilters</a> - A list of IP address filter data structures,
--   which each consist of a name, an IP address range, and whether to
--   allow or block mail from it.</li>
--   <li><a>lrfrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listReceiptFiltersResponse :: Int -> ListReceiptFiltersResponse

-- | A list of IP address filters that exist under your AWS account.
--   
--   <i>See:</i> <a>listReceiptFiltersResponse</a> smart constructor.
data ListReceiptFiltersResponse

-- | A list of IP address filter data structures, which each consist of a
--   name, an IP address range, and whether to allow or block mail from it.
lrfrsFilters :: Lens' ListReceiptFiltersResponse [ReceiptFilter]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lrfrsResponseStatus :: Lens' ListReceiptFiltersResponse Int
instance GHC.Generics.Generic Network.AWS.SES.ListReceiptFilters.ListReceiptFiltersResponse
instance Data.Data.Data Network.AWS.SES.ListReceiptFilters.ListReceiptFiltersResponse
instance GHC.Show.Show Network.AWS.SES.ListReceiptFilters.ListReceiptFiltersResponse
instance GHC.Read.Read Network.AWS.SES.ListReceiptFilters.ListReceiptFiltersResponse
instance GHC.Classes.Eq Network.AWS.SES.ListReceiptFilters.ListReceiptFiltersResponse
instance GHC.Generics.Generic Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance Data.Data.Data Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance GHC.Show.Show Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance GHC.Read.Read Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance GHC.Classes.Eq Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance Network.AWS.Types.AWSRequest Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance Data.Hashable.Class.Hashable Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance Control.DeepSeq.NFData Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.ListReceiptFilters.ListReceiptFilters
instance Control.DeepSeq.NFData Network.AWS.SES.ListReceiptFilters.ListReceiptFiltersResponse


-- | Returns a list of sending authorization policies that are attached to
--   the given identity (an email address or a domain). This API returns
--   only a list. If you want the actual policy content, you can use
--   <tt>GetIdentityPolicies</tt> .
--   
--   Sending authorization is a feature that enables an identity owner to
--   authorize other senders to use its identities. For information about
--   using sending authorization, see the <a>Amazon SES Developer Guide</a>
--   .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.ListIdentityPolicies

-- | Creates a value of <a>ListIdentityPolicies</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lipIdentity</a> - The identity that is associated with the
--   policy for which the policies will be listed. You can specify an
--   identity by using its name or by using its Amazon Resource Name (ARN).
--   Examples: <tt>user</tt>example.com<tt> , </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To
--   successfully call this API, you must own the identity.</li>
--   </ul>
listIdentityPolicies :: Text -> ListIdentityPolicies

-- | Represents a request to return a list of sending authorization
--   policies that are attached to an identity. Sending authorization is an
--   Amazon SES feature that enables you to authorize other senders to use
--   your identities. For information, see the <a>Amazon SES Developer
--   Guide</a> .
--   
--   <i>See:</i> <a>listIdentityPolicies</a> smart constructor.
data ListIdentityPolicies

-- | The identity that is associated with the policy for which the policies
--   will be listed. You can specify an identity by using its name or by
--   using its Amazon Resource Name (ARN). Examples:
--   <tt>user</tt>example.com<tt> , </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To
--   successfully call this API, you must own the identity.
lipIdentity :: Lens' ListIdentityPolicies Text

-- | Creates a value of <a>ListIdentityPoliciesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>liprsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>liprsPolicyNames</a> - A list of names of policies that apply
--   to the specified identity.</li>
--   </ul>
listIdentityPoliciesResponse :: Int -> ListIdentityPoliciesResponse

-- | A list of names of sending authorization policies that apply to an
--   identity.
--   
--   <i>See:</i> <a>listIdentityPoliciesResponse</a> smart constructor.
data ListIdentityPoliciesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
liprsResponseStatus :: Lens' ListIdentityPoliciesResponse Int

-- | A list of names of policies that apply to the specified identity.
liprsPolicyNames :: Lens' ListIdentityPoliciesResponse [Text]
instance GHC.Generics.Generic Network.AWS.SES.ListIdentityPolicies.ListIdentityPoliciesResponse
instance Data.Data.Data Network.AWS.SES.ListIdentityPolicies.ListIdentityPoliciesResponse
instance GHC.Show.Show Network.AWS.SES.ListIdentityPolicies.ListIdentityPoliciesResponse
instance GHC.Read.Read Network.AWS.SES.ListIdentityPolicies.ListIdentityPoliciesResponse
instance GHC.Classes.Eq Network.AWS.SES.ListIdentityPolicies.ListIdentityPoliciesResponse
instance GHC.Generics.Generic Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance Data.Data.Data Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance GHC.Show.Show Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance GHC.Read.Read Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance GHC.Classes.Eq Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance Network.AWS.Types.AWSRequest Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance Data.Hashable.Class.Hashable Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance Control.DeepSeq.NFData Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.ListIdentityPolicies.ListIdentityPolicies
instance Control.DeepSeq.NFData Network.AWS.SES.ListIdentityPolicies.ListIdentityPoliciesResponse


-- | Returns a list containing all of the identities (email addresses and
--   domains) for your AWS account, regardless of verification status.
--   
--   This action is throttled at one request per second.
--   
--   This operation returns paginated results.
module Network.AWS.SES.ListIdentities

-- | Creates a value of <a>ListIdentities</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>liIdentityType</a> - The type of the identities to list.
--   Possible values are <a>EmailAddress</a> and <a>Domain</a>. If this
--   parameter is omitted, then all identities will be listed.</li>
--   <li><a>liNextToken</a> - The token to use for pagination.</li>
--   <li><a>liMaxItems</a> - The maximum number of identities per page.
--   Possible values are 1-1000 inclusive.</li>
--   </ul>
listIdentities :: ListIdentities

-- | Represents a request to return a list of all identities (email
--   addresses and domains) that you have attempted to verify under your
--   AWS account, regardless of verification status.
--   
--   <i>See:</i> <a>listIdentities</a> smart constructor.
data ListIdentities

-- | The type of the identities to list. Possible values are
--   <a>EmailAddress</a> and <a>Domain</a>. If this parameter is omitted,
--   then all identities will be listed.
liIdentityType :: Lens' ListIdentities (Maybe IdentityType)

-- | The token to use for pagination.
liNextToken :: Lens' ListIdentities (Maybe Text)

-- | The maximum number of identities per page. Possible values are 1-1000
--   inclusive.
liMaxItems :: Lens' ListIdentities (Maybe Int)

-- | Creates a value of <a>ListIdentitiesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lirsNextToken</a> - The token used for pagination.</li>
--   <li><a>lirsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lirsIdentities</a> - A list of identities.</li>
--   </ul>
listIdentitiesResponse :: Int -> ListIdentitiesResponse

-- | A list of all identities that you have attempted to verify under your
--   AWS account, regardless of verification status.
--   
--   <i>See:</i> <a>listIdentitiesResponse</a> smart constructor.
data ListIdentitiesResponse

-- | The token used for pagination.
lirsNextToken :: Lens' ListIdentitiesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lirsResponseStatus :: Lens' ListIdentitiesResponse Int

-- | A list of identities.
lirsIdentities :: Lens' ListIdentitiesResponse [Text]
instance GHC.Generics.Generic Network.AWS.SES.ListIdentities.ListIdentitiesResponse
instance Data.Data.Data Network.AWS.SES.ListIdentities.ListIdentitiesResponse
instance GHC.Show.Show Network.AWS.SES.ListIdentities.ListIdentitiesResponse
instance GHC.Read.Read Network.AWS.SES.ListIdentities.ListIdentitiesResponse
instance GHC.Classes.Eq Network.AWS.SES.ListIdentities.ListIdentitiesResponse
instance GHC.Generics.Generic Network.AWS.SES.ListIdentities.ListIdentities
instance Data.Data.Data Network.AWS.SES.ListIdentities.ListIdentities
instance GHC.Show.Show Network.AWS.SES.ListIdentities.ListIdentities
instance GHC.Read.Read Network.AWS.SES.ListIdentities.ListIdentities
instance GHC.Classes.Eq Network.AWS.SES.ListIdentities.ListIdentities
instance Network.AWS.Pager.AWSPager Network.AWS.SES.ListIdentities.ListIdentities
instance Network.AWS.Types.AWSRequest Network.AWS.SES.ListIdentities.ListIdentities
instance Data.Hashable.Class.Hashable Network.AWS.SES.ListIdentities.ListIdentities
instance Control.DeepSeq.NFData Network.AWS.SES.ListIdentities.ListIdentities
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.ListIdentities.ListIdentities
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.ListIdentities.ListIdentities
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.ListIdentities.ListIdentities
instance Control.DeepSeq.NFData Network.AWS.SES.ListIdentities.ListIdentitiesResponse


-- | Lists the configuration sets associated with your AWS account.
--   
--   Configuration sets enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second and can return up
--   to 50 configuration sets at a time.
module Network.AWS.SES.ListConfigurationSets

-- | Creates a value of <a>ListConfigurationSets</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lcsNextToken</a> - A token returned from a previous call to
--   <tt>ListConfigurationSets</tt> to indicate the position of the
--   configuration set in the configuration set list.</li>
--   <li><a>lcsMaxItems</a> - The number of configuration sets to
--   return.</li>
--   </ul>
listConfigurationSets :: ListConfigurationSets

-- | Represents a request to list the configuration sets associated with
--   your AWS account. Configuration sets enable you to publish email
--   sending events. For information about using configuration sets, see
--   the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>listConfigurationSets</a> smart constructor.
data ListConfigurationSets

-- | A token returned from a previous call to
--   <tt>ListConfigurationSets</tt> to indicate the position of the
--   configuration set in the configuration set list.
lcsNextToken :: Lens' ListConfigurationSets (Maybe Text)

-- | The number of configuration sets to return.
lcsMaxItems :: Lens' ListConfigurationSets (Maybe Int)

-- | Creates a value of <a>ListConfigurationSetsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lcsrsConfigurationSets</a> - A list of configuration sets.</li>
--   <li><a>lcsrsNextToken</a> - A token indicating that there are
--   additional configuration sets available to be listed. Pass this token
--   to successive calls of <tt>ListConfigurationSets</tt> .</li>
--   <li><a>lcsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listConfigurationSetsResponse :: Int -> ListConfigurationSetsResponse

-- | A list of configuration sets associated with your AWS account.
--   Configuration sets enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>listConfigurationSetsResponse</a> smart constructor.
data ListConfigurationSetsResponse

-- | A list of configuration sets.
lcsrsConfigurationSets :: Lens' ListConfigurationSetsResponse [ConfigurationSet]

-- | A token indicating that there are additional configuration sets
--   available to be listed. Pass this token to successive calls of
--   <tt>ListConfigurationSets</tt> .
lcsrsNextToken :: Lens' ListConfigurationSetsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lcsrsResponseStatus :: Lens' ListConfigurationSetsResponse Int
instance GHC.Generics.Generic Network.AWS.SES.ListConfigurationSets.ListConfigurationSetsResponse
instance Data.Data.Data Network.AWS.SES.ListConfigurationSets.ListConfigurationSetsResponse
instance GHC.Show.Show Network.AWS.SES.ListConfigurationSets.ListConfigurationSetsResponse
instance GHC.Read.Read Network.AWS.SES.ListConfigurationSets.ListConfigurationSetsResponse
instance GHC.Classes.Eq Network.AWS.SES.ListConfigurationSets.ListConfigurationSetsResponse
instance GHC.Generics.Generic Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance Data.Data.Data Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance GHC.Show.Show Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance GHC.Read.Read Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance GHC.Classes.Eq Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance Network.AWS.Types.AWSRequest Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance Data.Hashable.Class.Hashable Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance Control.DeepSeq.NFData Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.ListConfigurationSets.ListConfigurationSets
instance Control.DeepSeq.NFData Network.AWS.SES.ListConfigurationSets.ListConfigurationSetsResponse


-- | Returns the user's sending statistics. The result is a list of data
--   points, representing the last two weeks of sending activity.
--   
--   Each data point in the list contains statistics for a 15-minute
--   interval.
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.GetSendStatistics

-- | Creates a value of <a>GetSendStatistics</a> with the minimum fields
--   required to make a request.
getSendStatistics :: GetSendStatistics

-- | <i>See:</i> <a>getSendStatistics</a> smart constructor.
data GetSendStatistics

-- | Creates a value of <a>GetSendStatisticsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gssrsSendDataPoints</a> - A list of data points, each of which
--   represents 15 minutes of activity.</li>
--   <li><a>gssrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
getSendStatisticsResponse :: Int -> GetSendStatisticsResponse

-- | Represents a list of data points. This list contains aggregated data
--   from the previous two weeks of your sending activity with Amazon SES.
--   
--   <i>See:</i> <a>getSendStatisticsResponse</a> smart constructor.
data GetSendStatisticsResponse

-- | A list of data points, each of which represents 15 minutes of
--   activity.
gssrsSendDataPoints :: Lens' GetSendStatisticsResponse [SendDataPoint]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gssrsResponseStatus :: Lens' GetSendStatisticsResponse Int
instance GHC.Generics.Generic Network.AWS.SES.GetSendStatistics.GetSendStatisticsResponse
instance Data.Data.Data Network.AWS.SES.GetSendStatistics.GetSendStatisticsResponse
instance GHC.Show.Show Network.AWS.SES.GetSendStatistics.GetSendStatisticsResponse
instance GHC.Read.Read Network.AWS.SES.GetSendStatistics.GetSendStatisticsResponse
instance GHC.Classes.Eq Network.AWS.SES.GetSendStatistics.GetSendStatisticsResponse
instance GHC.Generics.Generic Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance Data.Data.Data Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance GHC.Show.Show Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance GHC.Read.Read Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance GHC.Classes.Eq Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance Network.AWS.Types.AWSRequest Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance Data.Hashable.Class.Hashable Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance Control.DeepSeq.NFData Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.GetSendStatistics.GetSendStatistics
instance Control.DeepSeq.NFData Network.AWS.SES.GetSendStatistics.GetSendStatisticsResponse


-- | Returns the user's current sending limits.
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.GetSendQuota

-- | Creates a value of <a>GetSendQuota</a> with the minimum fields
--   required to make a request.
getSendQuota :: GetSendQuota

-- | <i>See:</i> <a>getSendQuota</a> smart constructor.
data GetSendQuota

-- | Creates a value of <a>GetSendQuotaResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gsqrsMaxSendRate</a> - The maximum number of emails that Amazon
--   SES can accept from the user's account per second.</li>
--   <li><a>gsqrsSentLast24Hours</a> - The number of emails sent during the
--   previous 24 hours.</li>
--   <li><a>gsqrsMax24HourSend</a> - The maximum number of emails the user
--   is allowed to send in a 24-hour interval. A value of -1 signifies an
--   unlimited quota.</li>
--   <li><a>gsqrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
getSendQuotaResponse :: Int -> GetSendQuotaResponse

-- | Represents your Amazon SES daily sending quota, maximum send rate, and
--   the number of emails you have sent in the last 24 hours.
--   
--   <i>See:</i> <a>getSendQuotaResponse</a> smart constructor.
data GetSendQuotaResponse

-- | The maximum number of emails that Amazon SES can accept from the
--   user's account per second.
gsqrsMaxSendRate :: Lens' GetSendQuotaResponse (Maybe Double)

-- | The number of emails sent during the previous 24 hours.
gsqrsSentLast24Hours :: Lens' GetSendQuotaResponse (Maybe Double)

-- | The maximum number of emails the user is allowed to send in a 24-hour
--   interval. A value of -1 signifies an unlimited quota.
gsqrsMax24HourSend :: Lens' GetSendQuotaResponse (Maybe Double)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gsqrsResponseStatus :: Lens' GetSendQuotaResponse Int
instance GHC.Generics.Generic Network.AWS.SES.GetSendQuota.GetSendQuotaResponse
instance Data.Data.Data Network.AWS.SES.GetSendQuota.GetSendQuotaResponse
instance GHC.Show.Show Network.AWS.SES.GetSendQuota.GetSendQuotaResponse
instance GHC.Read.Read Network.AWS.SES.GetSendQuota.GetSendQuotaResponse
instance GHC.Classes.Eq Network.AWS.SES.GetSendQuota.GetSendQuotaResponse
instance GHC.Generics.Generic Network.AWS.SES.GetSendQuota.GetSendQuota
instance Data.Data.Data Network.AWS.SES.GetSendQuota.GetSendQuota
instance GHC.Show.Show Network.AWS.SES.GetSendQuota.GetSendQuota
instance GHC.Read.Read Network.AWS.SES.GetSendQuota.GetSendQuota
instance GHC.Classes.Eq Network.AWS.SES.GetSendQuota.GetSendQuota
instance Network.AWS.Types.AWSRequest Network.AWS.SES.GetSendQuota.GetSendQuota
instance Data.Hashable.Class.Hashable Network.AWS.SES.GetSendQuota.GetSendQuota
instance Control.DeepSeq.NFData Network.AWS.SES.GetSendQuota.GetSendQuota
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.GetSendQuota.GetSendQuota
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.GetSendQuota.GetSendQuota
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.GetSendQuota.GetSendQuota
instance Control.DeepSeq.NFData Network.AWS.SES.GetSendQuota.GetSendQuotaResponse


-- | Given a list of identities (email addresses and/or domains), returns
--   the verification status and (for domain identities) the verification
--   token for each identity.
--   
--   This action is throttled at one request per second and can only get
--   verification attributes for up to 100 identities at a time.
module Network.AWS.SES.GetIdentityVerificationAttributes

-- | Creates a value of <a>GetIdentityVerificationAttributes</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>givaIdentities</a> - A list of identities.</li>
--   </ul>
getIdentityVerificationAttributes :: GetIdentityVerificationAttributes

-- | Represents a request to return the Amazon SES verification status of a
--   list of identities. For domain identities, this request also returns
--   the verification token. For information about verifying identities
--   with Amazon SES, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>getIdentityVerificationAttributes</a> smart
--   constructor.
data GetIdentityVerificationAttributes

-- | A list of identities.
givaIdentities :: Lens' GetIdentityVerificationAttributes [Text]

-- | Creates a value of <a>GetIdentityVerificationAttributesResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>givarsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>givarsVerificationAttributes</a> - A map of Identities to
--   IdentityVerificationAttributes objects.</li>
--   </ul>
getIdentityVerificationAttributesResponse :: Int -> GetIdentityVerificationAttributesResponse

-- | The Amazon SES verification status of a list of identities. For domain
--   identities, this response also contains the verification token.
--   
--   <i>See:</i> <a>getIdentityVerificationAttributesResponse</a> smart
--   constructor.
data GetIdentityVerificationAttributesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
givarsResponseStatus :: Lens' GetIdentityVerificationAttributesResponse Int

-- | A map of Identities to IdentityVerificationAttributes objects.
givarsVerificationAttributes :: Lens' GetIdentityVerificationAttributesResponse (HashMap Text IdentityVerificationAttributes)
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributesResponse
instance Data.Data.Data Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributesResponse
instance GHC.Show.Show Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributesResponse
instance GHC.Read.Read Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributesResponse
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributesResponse
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance Data.Data.Data Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance GHC.Show.Show Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance GHC.Read.Read Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance Data.Hashable.Class.Hashable Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributes
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityVerificationAttributes.GetIdentityVerificationAttributesResponse


-- | Returns the requested sending authorization policies for the given
--   identity (an email address or a domain). The policies are returned as
--   a map of policy names to policy contents. You can retrieve a maximum
--   of 20 policies at a time.
--   
--   Sending authorization is a feature that enables an identity owner to
--   authorize other senders to use its identities. For information about
--   using sending authorization, see the <a>Amazon SES Developer Guide</a>
--   .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.GetIdentityPolicies

-- | Creates a value of <a>GetIdentityPolicies</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gipIdentity</a> - The identity for which the policies will be
--   retrieved. You can specify an identity by using its name or by using
--   its Amazon Resource Name (ARN). Examples: <tt>user</tt>example.com<tt>
--   , </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To
--   successfully call this API, you must own the identity.</li>
--   <li><a>gipPolicyNames</a> - A list of the names of policies to be
--   retrieved. You can retrieve a maximum of 20 policies at a time. If you
--   do not know the names of the policies that are attached to the
--   identity, you can use <tt>ListIdentityPolicies</tt> .</li>
--   </ul>
getIdentityPolicies :: Text -> GetIdentityPolicies

-- | Represents a request to return the requested sending authorization
--   policies for an identity. Sending authorization is an Amazon SES
--   feature that enables you to authorize other senders to use your
--   identities. For information, see the <a>Amazon SES Developer Guide</a>
--   .
--   
--   <i>See:</i> <a>getIdentityPolicies</a> smart constructor.
data GetIdentityPolicies

-- | The identity for which the policies will be retrieved. You can specify
--   an identity by using its name or by using its Amazon Resource Name
--   (ARN). Examples: <tt>user</tt>example.com<tt> , </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To
--   successfully call this API, you must own the identity.
gipIdentity :: Lens' GetIdentityPolicies Text

-- | A list of the names of policies to be retrieved. You can retrieve a
--   maximum of 20 policies at a time. If you do not know the names of the
--   policies that are attached to the identity, you can use
--   <tt>ListIdentityPolicies</tt> .
gipPolicyNames :: Lens' GetIdentityPolicies [Text]

-- | Creates a value of <a>GetIdentityPoliciesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>giprsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>giprsPolicies</a> - A map of policy names to policies.</li>
--   </ul>
getIdentityPoliciesResponse :: Int -> GetIdentityPoliciesResponse

-- | Represents the requested sending authorization policies.
--   
--   <i>See:</i> <a>getIdentityPoliciesResponse</a> smart constructor.
data GetIdentityPoliciesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
giprsResponseStatus :: Lens' GetIdentityPoliciesResponse Int

-- | A map of policy names to policies.
giprsPolicies :: Lens' GetIdentityPoliciesResponse (HashMap Text Text)
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityPolicies.GetIdentityPoliciesResponse
instance Data.Data.Data Network.AWS.SES.GetIdentityPolicies.GetIdentityPoliciesResponse
instance GHC.Show.Show Network.AWS.SES.GetIdentityPolicies.GetIdentityPoliciesResponse
instance GHC.Read.Read Network.AWS.SES.GetIdentityPolicies.GetIdentityPoliciesResponse
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityPolicies.GetIdentityPoliciesResponse
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance Data.Data.Data Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance GHC.Show.Show Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance GHC.Read.Read Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance Network.AWS.Types.AWSRequest Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance Data.Hashable.Class.Hashable Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.GetIdentityPolicies.GetIdentityPolicies
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityPolicies.GetIdentityPoliciesResponse


-- | Given a list of verified identities (email addresses and/or domains),
--   returns a structure describing identity notification attributes.
--   
--   This action is throttled at one request per second and can only get
--   notification attributes for up to 100 identities at a time.
--   
--   For more information about using notifications with Amazon SES, see
--   the <a>Amazon SES Developer Guide</a> .
module Network.AWS.SES.GetIdentityNotificationAttributes

-- | Creates a value of <a>GetIdentityNotificationAttributes</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ginaIdentities</a> - A list of one or more identities. You can
--   specify an identity by using its name or by using its Amazon Resource
--   Name (ARN). Examples: <tt>user</tt>example.com<tt> ,
--   </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ .</li>
--   </ul>
getIdentityNotificationAttributes :: GetIdentityNotificationAttributes

-- | Represents a request to return the notification attributes for a list
--   of identities you verified with Amazon SES. For information about
--   Amazon SES notifications, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>getIdentityNotificationAttributes</a> smart
--   constructor.
data GetIdentityNotificationAttributes

-- | A list of one or more identities. You can specify an identity by using
--   its name or by using its Amazon Resource Name (ARN). Examples:
--   <tt>user</tt>example.com<tt> , </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ .
ginaIdentities :: Lens' GetIdentityNotificationAttributes [Text]

-- | Creates a value of <a>GetIdentityNotificationAttributesResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ginarsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ginarsNotificationAttributes</a> - A map of Identity to
--   IdentityNotificationAttributes.</li>
--   </ul>
getIdentityNotificationAttributesResponse :: Int -> GetIdentityNotificationAttributesResponse

-- | Represents the notification attributes for a list of identities.
--   
--   <i>See:</i> <a>getIdentityNotificationAttributesResponse</a> smart
--   constructor.
data GetIdentityNotificationAttributesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ginarsResponseStatus :: Lens' GetIdentityNotificationAttributesResponse Int

-- | A map of Identity to IdentityNotificationAttributes.
ginarsNotificationAttributes :: Lens' GetIdentityNotificationAttributesResponse (HashMap Text IdentityNotificationAttributes)
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributesResponse
instance Data.Data.Data Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributesResponse
instance GHC.Show.Show Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributesResponse
instance GHC.Read.Read Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributesResponse
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributesResponse
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance Data.Data.Data Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance GHC.Show.Show Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance GHC.Read.Read Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance Data.Hashable.Class.Hashable Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributes
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityNotificationAttributes.GetIdentityNotificationAttributesResponse


-- | Returns the custom MAIL FROM attributes for a list of identities
--   (email addresses and/or domains).
--   
--   This action is throttled at one request per second and can only get
--   custom MAIL FROM attributes for up to 100 identities at a time.
module Network.AWS.SES.GetIdentityMailFromDomainAttributes

-- | Creates a value of <a>GetIdentityMailFromDomainAttributes</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gimfdaIdentities</a> - A list of one or more identities.</li>
--   </ul>
getIdentityMailFromDomainAttributes :: GetIdentityMailFromDomainAttributes

-- | Represents a request to return the Amazon SES custom MAIL FROM
--   attributes for a list of identities. For information about using a
--   custom MAIL FROM domain, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>getIdentityMailFromDomainAttributes</a> smart
--   constructor.
data GetIdentityMailFromDomainAttributes

-- | A list of one or more identities.
gimfdaIdentities :: Lens' GetIdentityMailFromDomainAttributes [Text]

-- | Creates a value of <a>GetIdentityMailFromDomainAttributesResponse</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gimfdarsResponseStatus</a> - -- | The response status
--   code.</li>
--   <li><a>gimfdarsMailFromDomainAttributes</a> - A map of identities to
--   custom MAIL FROM attributes.</li>
--   </ul>
getIdentityMailFromDomainAttributesResponse :: Int -> GetIdentityMailFromDomainAttributesResponse

-- | Represents the custom MAIL FROM attributes for a list of identities.
--   
--   <i>See:</i> <a>getIdentityMailFromDomainAttributesResponse</a> smart
--   constructor.
data GetIdentityMailFromDomainAttributesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gimfdarsResponseStatus :: Lens' GetIdentityMailFromDomainAttributesResponse Int

-- | A map of identities to custom MAIL FROM attributes.
gimfdarsMailFromDomainAttributes :: Lens' GetIdentityMailFromDomainAttributesResponse (HashMap Text IdentityMailFromDomainAttributes)
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributesResponse
instance Data.Data.Data Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributesResponse
instance GHC.Show.Show Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributesResponse
instance GHC.Read.Read Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributesResponse
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributesResponse
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance Data.Data.Data Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance GHC.Show.Show Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance GHC.Read.Read Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance Data.Hashable.Class.Hashable Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributes
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityMailFromDomainAttributes.GetIdentityMailFromDomainAttributesResponse


-- | Returns the current status of Easy DKIM signing for an entity. For
--   domain name identities, this action also returns the DKIM tokens that
--   are required for Easy DKIM signing, and whether Amazon SES has
--   successfully verified that these tokens have been published.
--   
--   This action takes a list of identities as input and returns the
--   following information for each:
--   
--   <ul>
--   <li>Whether Easy DKIM signing is enabled or disabled.</li>
--   <li>A set of DKIM tokens that represent the identity. If the identity
--   is an email address, the tokens represent the domain of that
--   address.</li>
--   <li>Whether Amazon SES has successfully verified the DKIM tokens
--   published in the domain's DNS. This information is only returned for
--   domain name identities, not for email addresses.</li>
--   </ul>
--   
--   This action is throttled at one request per second and can only get
--   DKIM attributes for up to 100 identities at a time.
--   
--   For more information about creating DNS records using DKIM tokens, go
--   to the <a>Amazon SES Developer Guide</a> .
module Network.AWS.SES.GetIdentityDkimAttributes

-- | Creates a value of <a>GetIdentityDkimAttributes</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gidaIdentities</a> - A list of one or more verified identities
--   - email addresses, domains, or both.</li>
--   </ul>
getIdentityDkimAttributes :: GetIdentityDkimAttributes

-- | Represents a request for the status of Amazon SES Easy DKIM signing
--   for an identity. For domain identities, this request also returns the
--   DKIM tokens that are required for Easy DKIM signing, and whether
--   Amazon SES successfully verified that these tokens were published. For
--   more information about Easy DKIM, see the <a>Amazon SES Developer
--   Guide</a> .
--   
--   <i>See:</i> <a>getIdentityDkimAttributes</a> smart constructor.
data GetIdentityDkimAttributes

-- | A list of one or more verified identities - email addresses, domains,
--   or both.
gidaIdentities :: Lens' GetIdentityDkimAttributes [Text]

-- | Creates a value of <a>GetIdentityDkimAttributesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gidarsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>gidarsDkimAttributes</a> - The DKIM attributes for an email
--   address or a domain.</li>
--   </ul>
getIdentityDkimAttributesResponse :: Int -> GetIdentityDkimAttributesResponse

-- | Represents the status of Amazon SES Easy DKIM signing for an identity.
--   For domain identities, this response also contains the DKIM tokens
--   that are required for Easy DKIM signing, and whether Amazon SES
--   successfully verified that these tokens were published.
--   
--   <i>See:</i> <a>getIdentityDkimAttributesResponse</a> smart
--   constructor.
data GetIdentityDkimAttributesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gidarsResponseStatus :: Lens' GetIdentityDkimAttributesResponse Int

-- | The DKIM attributes for an email address or a domain.
gidarsDkimAttributes :: Lens' GetIdentityDkimAttributesResponse (HashMap Text IdentityDkimAttributes)
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributesResponse
instance Data.Data.Data Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributesResponse
instance GHC.Show.Show Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributesResponse
instance GHC.Read.Read Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributesResponse
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributesResponse
instance GHC.Generics.Generic Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance Data.Data.Data Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance GHC.Show.Show Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance GHC.Read.Read Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance GHC.Classes.Eq Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance Network.AWS.Types.AWSRequest Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance Data.Hashable.Class.Hashable Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributes
instance Control.DeepSeq.NFData Network.AWS.SES.GetIdentityDkimAttributes.GetIdentityDkimAttributesResponse


-- | Returns the details of the specified receipt rule set.
--   
--   For information about managing receipt rule sets, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DescribeReceiptRuleSet

-- | Creates a value of <a>DescribeReceiptRuleSet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drrsRuleSetName</a> - The name of the receipt rule set to
--   describe.</li>
--   </ul>
describeReceiptRuleSet :: Text -> DescribeReceiptRuleSet

-- | Represents a request to return the details of a receipt rule set. You
--   use receipt rule sets to receive email with Amazon SES. For more
--   information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>describeReceiptRuleSet</a> smart constructor.
data DescribeReceiptRuleSet

-- | The name of the receipt rule set to describe.
drrsRuleSetName :: Lens' DescribeReceiptRuleSet Text

-- | Creates a value of <a>DescribeReceiptRuleSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>desrsRules</a> - A list of the receipt rules that belong to the
--   specified receipt rule set.</li>
--   <li><a>desrsMetadata</a> - The metadata for the receipt rule set,
--   which consists of the rule set name and the timestamp of when the rule
--   set was created.</li>
--   <li><a>desrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeReceiptRuleSetResponse :: Int -> DescribeReceiptRuleSetResponse

-- | Represents the details of the specified receipt rule set.
--   
--   <i>See:</i> <a>describeReceiptRuleSetResponse</a> smart constructor.
data DescribeReceiptRuleSetResponse

-- | A list of the receipt rules that belong to the specified receipt rule
--   set.
desrsRules :: Lens' DescribeReceiptRuleSetResponse [ReceiptRule]

-- | The metadata for the receipt rule set, which consists of the rule set
--   name and the timestamp of when the rule set was created.
desrsMetadata :: Lens' DescribeReceiptRuleSetResponse (Maybe ReceiptRuleSetMetadata)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
desrsResponseStatus :: Lens' DescribeReceiptRuleSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSetResponse
instance Data.Data.Data Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSetResponse
instance GHC.Show.Show Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSetResponse
instance GHC.Read.Read Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSetResponse
instance GHC.Classes.Eq Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSetResponse
instance GHC.Generics.Generic Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance Data.Data.Data Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance GHC.Show.Show Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance GHC.Read.Read Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance GHC.Classes.Eq Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.DescribeReceiptRuleSet.DescribeReceiptRuleSetResponse


-- | Returns the details of the specified receipt rule.
--   
--   For information about setting up receipt rules, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DescribeReceiptRule

-- | Creates a value of <a>DescribeReceiptRule</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drrRuleSetName</a> - The name of the receipt rule set to which
--   the receipt rule belongs.</li>
--   <li><a>drrRuleName</a> - The name of the receipt rule.</li>
--   </ul>
describeReceiptRule :: Text -> Text -> DescribeReceiptRule

-- | Represents a request to return the details of a receipt rule. You use
--   receipt rules to receive email with Amazon SES. For more information,
--   see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>describeReceiptRule</a> smart constructor.
data DescribeReceiptRule

-- | The name of the receipt rule set to which the receipt rule belongs.
drrRuleSetName :: Lens' DescribeReceiptRule Text

-- | The name of the receipt rule.
drrRuleName :: Lens' DescribeReceiptRule Text

-- | Creates a value of <a>DescribeReceiptRuleResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drrrsRule</a> - A data structure that contains the specified
--   receipt rule's name, actions, recipients, domains, enabled status,
--   scan status, and Transport Layer Security (TLS) policy.</li>
--   <li><a>drrrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeReceiptRuleResponse :: Int -> DescribeReceiptRuleResponse

-- | Represents the details of a receipt rule.
--   
--   <i>See:</i> <a>describeReceiptRuleResponse</a> smart constructor.
data DescribeReceiptRuleResponse

-- | A data structure that contains the specified receipt rule's name,
--   actions, recipients, domains, enabled status, scan status, and
--   Transport Layer Security (TLS) policy.
drrrsRule :: Lens' DescribeReceiptRuleResponse (Maybe ReceiptRule)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drrrsResponseStatus :: Lens' DescribeReceiptRuleResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRuleResponse
instance Data.Data.Data Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRuleResponse
instance GHC.Show.Show Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRuleResponse
instance GHC.Read.Read Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRuleResponse
instance GHC.Classes.Eq Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRuleResponse
instance GHC.Generics.Generic Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance Data.Data.Data Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance GHC.Show.Show Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance GHC.Read.Read Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance GHC.Classes.Eq Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance Data.Hashable.Class.Hashable Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance Control.DeepSeq.NFData Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRule
instance Control.DeepSeq.NFData Network.AWS.SES.DescribeReceiptRule.DescribeReceiptRuleResponse


-- | Returns the details of the specified configuration set.
--   
--   Configuration sets enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DescribeConfigurationSet

-- | Creates a value of <a>DescribeConfigurationSet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcsConfigurationSetAttributeNames</a> - A list of configuration
--   set attributes to return.</li>
--   <li><a>dcsConfigurationSetName</a> - The name of the configuration set
--   to describe.</li>
--   </ul>
describeConfigurationSet :: Text -> DescribeConfigurationSet

-- | Represents a request to return the details of a configuration set.
--   Configuration sets enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>describeConfigurationSet</a> smart constructor.
data DescribeConfigurationSet

-- | A list of configuration set attributes to return.
dcsConfigurationSetAttributeNames :: Lens' DescribeConfigurationSet [ConfigurationSetAttribute]

-- | The name of the configuration set to describe.
dcsConfigurationSetName :: Lens' DescribeConfigurationSet Text

-- | Creates a value of <a>DescribeConfigurationSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcsrsConfigurationSet</a> - The configuration set object
--   associated with the specified configuration set.</li>
--   <li><a>dcsrsEventDestinations</a> - A list of event destinations
--   associated with the configuration set.</li>
--   <li><a>dcsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeConfigurationSetResponse :: Int -> DescribeConfigurationSetResponse

-- | Represents the details of a configuration set. Configuration sets
--   enable you to publish email sending events. For information about
--   using configuration sets, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>describeConfigurationSetResponse</a> smart constructor.
data DescribeConfigurationSetResponse

-- | The configuration set object associated with the specified
--   configuration set.
dcsrsConfigurationSet :: Lens' DescribeConfigurationSetResponse (Maybe ConfigurationSet)

-- | A list of event destinations associated with the configuration set.
dcsrsEventDestinations :: Lens' DescribeConfigurationSetResponse [EventDestination]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dcsrsResponseStatus :: Lens' DescribeConfigurationSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSetResponse
instance Data.Data.Data Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSetResponse
instance GHC.Show.Show Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSetResponse
instance GHC.Read.Read Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSetResponse
instance GHC.Classes.Eq Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSetResponse
instance GHC.Generics.Generic Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance Data.Data.Data Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance GHC.Show.Show Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance GHC.Read.Read Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance GHC.Classes.Eq Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance Control.DeepSeq.NFData Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSet
instance Control.DeepSeq.NFData Network.AWS.SES.DescribeConfigurationSet.DescribeConfigurationSetResponse


-- | Returns the metadata and receipt rules for the receipt rule set that
--   is currently active.
--   
--   For information about setting up receipt rule sets, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DescribeActiveReceiptRuleSet

-- | Creates a value of <a>DescribeActiveReceiptRuleSet</a> with the
--   minimum fields required to make a request.
describeActiveReceiptRuleSet :: DescribeActiveReceiptRuleSet

-- | Represents a request to return the metadata and receipt rules for the
--   receipt rule set that is currently active. You use receipt rule sets
--   to receive email with Amazon SES. For more information, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>describeActiveReceiptRuleSet</a> smart constructor.
data DescribeActiveReceiptRuleSet

-- | Creates a value of <a>DescribeActiveReceiptRuleSetResponse</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>darrsrsRules</a> - The receipt rules that belong to the active
--   rule set.</li>
--   <li><a>darrsrsMetadata</a> - The metadata for the currently active
--   receipt rule set. The metadata consists of the rule set name and a
--   timestamp of when the rule set was created.</li>
--   <li><a>darrsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeActiveReceiptRuleSetResponse :: Int -> DescribeActiveReceiptRuleSetResponse

-- | Represents the metadata and receipt rules for the receipt rule set
--   that is currently active.
--   
--   <i>See:</i> <a>describeActiveReceiptRuleSetResponse</a> smart
--   constructor.
data DescribeActiveReceiptRuleSetResponse

-- | The receipt rules that belong to the active rule set.
darrsrsRules :: Lens' DescribeActiveReceiptRuleSetResponse [ReceiptRule]

-- | The metadata for the currently active receipt rule set. The metadata
--   consists of the rule set name and a timestamp of when the rule set was
--   created.
darrsrsMetadata :: Lens' DescribeActiveReceiptRuleSetResponse (Maybe ReceiptRuleSetMetadata)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
darrsrsResponseStatus :: Lens' DescribeActiveReceiptRuleSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSetResponse
instance Data.Data.Data Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSetResponse
instance GHC.Show.Show Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSetResponse
instance GHC.Read.Read Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSetResponse
instance GHC.Classes.Eq Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSetResponse
instance GHC.Generics.Generic Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance Data.Data.Data Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance GHC.Show.Show Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance GHC.Read.Read Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance GHC.Classes.Eq Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.DescribeActiveReceiptRuleSet.DescribeActiveReceiptRuleSetResponse


-- | Deletes the specified email address from the list of verified
--   addresses.
--   
--   <i>Important:</i> The DeleteVerifiedEmailAddress action is deprecated
--   as of the May 15, 2012 release of Domain Verification. The
--   DeleteIdentity action is now preferred.
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DeleteVerifiedEmailAddress

-- | Creates a value of <a>DeleteVerifiedEmailAddress</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dveaEmailAddress</a> - An email address to be removed from the
--   list of verified addresses.</li>
--   </ul>
deleteVerifiedEmailAddress :: Text -> DeleteVerifiedEmailAddress

-- | Represents a request to delete an email address from the list of email
--   addresses you have attempted to verify under your AWS account.
--   
--   <i>See:</i> <a>deleteVerifiedEmailAddress</a> smart constructor.
data DeleteVerifiedEmailAddress

-- | An email address to be removed from the list of verified addresses.
dveaEmailAddress :: Lens' DeleteVerifiedEmailAddress Text

-- | Creates a value of <a>DeleteVerifiedEmailAddressResponse</a> with the
--   minimum fields required to make a request.
deleteVerifiedEmailAddressResponse :: DeleteVerifiedEmailAddressResponse

-- | <i>See:</i> <a>deleteVerifiedEmailAddressResponse</a> smart
--   constructor.
data DeleteVerifiedEmailAddressResponse
instance GHC.Generics.Generic Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddressResponse
instance Data.Data.Data Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddressResponse
instance GHC.Show.Show Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddressResponse
instance GHC.Read.Read Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddressResponse
instance GHC.Classes.Eq Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddressResponse
instance GHC.Generics.Generic Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance Data.Data.Data Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance GHC.Show.Show Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance GHC.Read.Read Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance GHC.Classes.Eq Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddress
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteVerifiedEmailAddress.DeleteVerifiedEmailAddressResponse


-- | Deletes the specified receipt rule set and all of the receipt rules it
--   contains.
--   
--   For information about managing receipt rule sets, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DeleteReceiptRuleSet

-- | Creates a value of <a>DeleteReceiptRuleSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dRuleSetName</a> - The name of the receipt rule set to
--   delete.</li>
--   </ul>
deleteReceiptRuleSet :: Text -> DeleteReceiptRuleSet

-- | Represents a request to delete a receipt rule set and all of the
--   receipt rules it contains. You use receipt rule sets to receive email
--   with Amazon SES. For more information, see the <a>Amazon SES Developer
--   Guide</a> .
--   
--   <i>See:</i> <a>deleteReceiptRuleSet</a> smart constructor.
data DeleteReceiptRuleSet

-- | The name of the receipt rule set to delete.
dRuleSetName :: Lens' DeleteReceiptRuleSet Text

-- | Creates a value of <a>DeleteReceiptRuleSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drrsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteReceiptRuleSetResponse :: Int -> DeleteReceiptRuleSetResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>deleteReceiptRuleSetResponse</a> smart constructor.
data DeleteReceiptRuleSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drrsrsResponseStatus :: Lens' DeleteReceiptRuleSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSetResponse
instance Data.Data.Data Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSetResponse
instance GHC.Show.Show Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSetResponse
instance GHC.Read.Read Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSetResponse
instance GHC.Classes.Eq Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSetResponse
instance GHC.Generics.Generic Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance Data.Data.Data Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance GHC.Show.Show Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance GHC.Read.Read Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance GHC.Classes.Eq Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteReceiptRuleSet.DeleteReceiptRuleSetResponse


-- | Deletes the specified receipt rule.
--   
--   For information about managing receipt rules, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DeleteReceiptRule

-- | Creates a value of <a>DeleteReceiptRule</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>delRuleSetName</a> - The name of the receipt rule set that
--   contains the receipt rule to delete.</li>
--   <li><a>delRuleName</a> - The name of the receipt rule to delete.</li>
--   </ul>
deleteReceiptRule :: Text -> Text -> DeleteReceiptRule

-- | Represents a request to delete a receipt rule. You use receipt rules
--   to receive email with Amazon SES. For more information, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>deleteReceiptRule</a> smart constructor.
data DeleteReceiptRule

-- | The name of the receipt rule set that contains the receipt rule to
--   delete.
delRuleSetName :: Lens' DeleteReceiptRule Text

-- | The name of the receipt rule to delete.
delRuleName :: Lens' DeleteReceiptRule Text

-- | Creates a value of <a>DeleteReceiptRuleResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>delrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteReceiptRuleResponse :: Int -> DeleteReceiptRuleResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>deleteReceiptRuleResponse</a> smart constructor.
data DeleteReceiptRuleResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
delrsResponseStatus :: Lens' DeleteReceiptRuleResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRuleResponse
instance Data.Data.Data Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRuleResponse
instance GHC.Show.Show Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRuleResponse
instance GHC.Read.Read Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRuleResponse
instance GHC.Classes.Eq Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRuleResponse
instance GHC.Generics.Generic Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance Data.Data.Data Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance GHC.Show.Show Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance GHC.Read.Read Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance GHC.Classes.Eq Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRule
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteReceiptRule.DeleteReceiptRuleResponse


-- | Deletes the specified IP address filter.
--   
--   For information about managing IP address filters, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DeleteReceiptFilter

-- | Creates a value of <a>DeleteReceiptFilter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drfFilterName</a> - The name of the IP address filter to
--   delete.</li>
--   </ul>
deleteReceiptFilter :: Text -> DeleteReceiptFilter

-- | Represents a request to delete an IP address filter. You use IP
--   address filters when you receive email with Amazon SES. For more
--   information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>deleteReceiptFilter</a> smart constructor.
data DeleteReceiptFilter

-- | The name of the IP address filter to delete.
drfFilterName :: Lens' DeleteReceiptFilter Text

-- | Creates a value of <a>DeleteReceiptFilterResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drfrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteReceiptFilterResponse :: Int -> DeleteReceiptFilterResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>deleteReceiptFilterResponse</a> smart constructor.
data DeleteReceiptFilterResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drfrsResponseStatus :: Lens' DeleteReceiptFilterResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilterResponse
instance Data.Data.Data Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilterResponse
instance GHC.Show.Show Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilterResponse
instance GHC.Read.Read Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilterResponse
instance GHC.Classes.Eq Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilterResponse
instance GHC.Generics.Generic Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance Data.Data.Data Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance GHC.Show.Show Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance GHC.Read.Read Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance GHC.Classes.Eq Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilter
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteReceiptFilter.DeleteReceiptFilterResponse


-- | Deletes the specified sending authorization policy for the given
--   identity (an email address or a domain). This API returns successfully
--   even if a policy with the specified name does not exist.
--   
--   Sending authorization is a feature that enables an identity owner to
--   authorize other senders to use its identities. For information about
--   using sending authorization, see the <a>Amazon SES Developer Guide</a>
--   .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DeleteIdentityPolicy

-- | Creates a value of <a>DeleteIdentityPolicy</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dipIdentity</a> - The identity that is associated with the
--   policy that you want to delete. You can specify the identity by using
--   its name or by using its Amazon Resource Name (ARN). Examples:
--   <tt>user</tt>example.com<tt> , </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To
--   successfully call this API, you must own the identity.</li>
--   <li><a>dipPolicyName</a> - The name of the policy to be deleted.</li>
--   </ul>
deleteIdentityPolicy :: Text -> Text -> DeleteIdentityPolicy

-- | Represents a request to delete a sending authorization policy for an
--   identity. Sending authorization is an Amazon SES feature that enables
--   you to authorize other senders to use your identities. For
--   information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>deleteIdentityPolicy</a> smart constructor.
data DeleteIdentityPolicy

-- | The identity that is associated with the policy that you want to
--   delete. You can specify the identity by using its name or by using its
--   Amazon Resource Name (ARN). Examples: <tt>user</tt>example.com<tt> ,
--   </tt>example.com<tt> ,
--   </tt>arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To
--   successfully call this API, you must own the identity.
dipIdentity :: Lens' DeleteIdentityPolicy Text

-- | The name of the policy to be deleted.
dipPolicyName :: Lens' DeleteIdentityPolicy Text

-- | Creates a value of <a>DeleteIdentityPolicyResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>diprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteIdentityPolicyResponse :: Int -> DeleteIdentityPolicyResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>deleteIdentityPolicyResponse</a> smart constructor.
data DeleteIdentityPolicyResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
diprsResponseStatus :: Lens' DeleteIdentityPolicyResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicyResponse
instance Data.Data.Data Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicyResponse
instance GHC.Show.Show Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicyResponse
instance GHC.Read.Read Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicyResponse
instance GHC.Classes.Eq Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicyResponse
instance GHC.Generics.Generic Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance Data.Data.Data Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance GHC.Show.Show Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance GHC.Read.Read Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance GHC.Classes.Eq Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicy
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteIdentityPolicy.DeleteIdentityPolicyResponse


-- | Deletes the specified identity (an email address or a domain) from the
--   list of verified identities.
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DeleteIdentity

-- | Creates a value of <a>DeleteIdentity</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>diIdentity</a> - The identity to be removed from the list of
--   identities for the AWS Account.</li>
--   </ul>
deleteIdentity :: Text -> DeleteIdentity

-- | Represents a request to delete one of your Amazon SES identities (an
--   email address or domain).
--   
--   <i>See:</i> <a>deleteIdentity</a> smart constructor.
data DeleteIdentity

-- | The identity to be removed from the list of identities for the AWS
--   Account.
diIdentity :: Lens' DeleteIdentity Text

-- | Creates a value of <a>DeleteIdentityResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteIdentityResponse :: Int -> DeleteIdentityResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>deleteIdentityResponse</a> smart constructor.
data DeleteIdentityResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dirsResponseStatus :: Lens' DeleteIdentityResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DeleteIdentity.DeleteIdentityResponse
instance Data.Data.Data Network.AWS.SES.DeleteIdentity.DeleteIdentityResponse
instance GHC.Show.Show Network.AWS.SES.DeleteIdentity.DeleteIdentityResponse
instance GHC.Read.Read Network.AWS.SES.DeleteIdentity.DeleteIdentityResponse
instance GHC.Classes.Eq Network.AWS.SES.DeleteIdentity.DeleteIdentityResponse
instance GHC.Generics.Generic Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance Data.Data.Data Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance GHC.Show.Show Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance GHC.Read.Read Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance GHC.Classes.Eq Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteIdentity.DeleteIdentity
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteIdentity.DeleteIdentityResponse


-- | Deletes a configuration set event destination.
--   
--   Configuration set event destinations are associated with configuration
--   sets, which enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DeleteConfigurationSetEventDestination

-- | Creates a value of <a>DeleteConfigurationSetEventDestination</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcsedConfigurationSetName</a> - The name of the configuration
--   set from which to delete the event destination.</li>
--   <li><a>dcsedEventDestinationName</a> - The name of the event
--   destination to delete.</li>
--   </ul>
deleteConfigurationSetEventDestination :: Text -> Text -> DeleteConfigurationSetEventDestination

-- | Represents a request to delete a configuration set event destination.
--   Configuration set event destinations are associated with configuration
--   sets, which enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>deleteConfigurationSetEventDestination</a> smart
--   constructor.
data DeleteConfigurationSetEventDestination

-- | The name of the configuration set from which to delete the event
--   destination.
dcsedConfigurationSetName :: Lens' DeleteConfigurationSetEventDestination Text

-- | The name of the event destination to delete.
dcsedEventDestinationName :: Lens' DeleteConfigurationSetEventDestination Text

-- | Creates a value of
--   <a>DeleteConfigurationSetEventDestinationResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcsedrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteConfigurationSetEventDestinationResponse :: Int -> DeleteConfigurationSetEventDestinationResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>deleteConfigurationSetEventDestinationResponse</a>
--   smart constructor.
data DeleteConfigurationSetEventDestinationResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dcsedrsResponseStatus :: Lens' DeleteConfigurationSetEventDestinationResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestinationResponse
instance Data.Data.Data Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestinationResponse
instance GHC.Show.Show Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestinationResponse
instance GHC.Read.Read Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestinationResponse
instance GHC.Classes.Eq Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestinationResponse
instance GHC.Generics.Generic Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance Data.Data.Data Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance GHC.Show.Show Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance GHC.Read.Read Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance GHC.Classes.Eq Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestination
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteConfigurationSetEventDestination.DeleteConfigurationSetEventDestinationResponse


-- | Deletes a configuration set.
--   
--   Configuration sets enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.DeleteConfigurationSet

-- | Creates a value of <a>DeleteConfigurationSet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dConfigurationSetName</a> - The name of the configuration set
--   to delete.</li>
--   </ul>
deleteConfigurationSet :: Text -> DeleteConfigurationSet

-- | Represents a request to delete a configuration set. Configuration sets
--   enable you to publish email sending events. For information about
--   using configuration sets, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>deleteConfigurationSet</a> smart constructor.
data DeleteConfigurationSet

-- | The name of the configuration set to delete.
dConfigurationSetName :: Lens' DeleteConfigurationSet Text

-- | Creates a value of <a>DeleteConfigurationSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteConfigurationSetResponse :: Int -> DeleteConfigurationSetResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>deleteConfigurationSetResponse</a> smart constructor.
data DeleteConfigurationSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drsResponseStatus :: Lens' DeleteConfigurationSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSetResponse
instance Data.Data.Data Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSetResponse
instance GHC.Show.Show Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSetResponse
instance GHC.Read.Read Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSetResponse
instance GHC.Classes.Eq Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSetResponse
instance GHC.Generics.Generic Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance Data.Data.Data Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance GHC.Show.Show Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance GHC.Read.Read Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance GHC.Classes.Eq Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSet
instance Control.DeepSeq.NFData Network.AWS.SES.DeleteConfigurationSet.DeleteConfigurationSetResponse


-- | Creates an empty receipt rule set.
--   
--   For information about setting up receipt rule sets, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.CreateReceiptRuleSet

-- | Creates a value of <a>CreateReceiptRuleSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crrsRuleSetName</a> - The name of the rule set to create. The
--   name must: * Contain only ASCII letters (a-z, A-Z), numbers (0-9),
--   periods (.), underscores (_), or dashes (-). * Start and end with a
--   letter or number. * Contain less than 64 characters.</li>
--   </ul>
createReceiptRuleSet :: Text -> CreateReceiptRuleSet

-- | Represents a request to create an empty receipt rule set. You use
--   receipt rule sets to receive email with Amazon SES. For more
--   information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>createReceiptRuleSet</a> smart constructor.
data CreateReceiptRuleSet

-- | The name of the rule set to create. The name must: * Contain only
--   ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_),
--   or dashes (-). * Start and end with a letter or number. * Contain less
--   than 64 characters.
crrsRuleSetName :: Lens' CreateReceiptRuleSet Text

-- | Creates a value of <a>CreateReceiptRuleSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crrsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createReceiptRuleSetResponse :: Int -> CreateReceiptRuleSetResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>createReceiptRuleSetResponse</a> smart constructor.
data CreateReceiptRuleSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
crrsrsResponseStatus :: Lens' CreateReceiptRuleSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSetResponse
instance Data.Data.Data Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSetResponse
instance GHC.Show.Show Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSetResponse
instance GHC.Read.Read Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSetResponse
instance GHC.Classes.Eq Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSetResponse
instance GHC.Generics.Generic Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance Data.Data.Data Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance GHC.Show.Show Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance GHC.Read.Read Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance GHC.Classes.Eq Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.CreateReceiptRuleSet.CreateReceiptRuleSetResponse


-- | Creates a receipt rule.
--   
--   For information about setting up receipt rules, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.CreateReceiptRule

-- | Creates a value of <a>CreateReceiptRule</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crrAfter</a> - The name of an existing rule after which the new
--   rule will be placed. If this parameter is null, the new rule will be
--   inserted at the beginning of the rule list.</li>
--   <li><a>crrRuleSetName</a> - The name of the rule set to which to add
--   the rule.</li>
--   <li><a>crrRule</a> - A data structure that contains the specified
--   rule's name, actions, recipients, domains, enabled status, scan
--   status, and TLS policy.</li>
--   </ul>
createReceiptRule :: Text -> ReceiptRule -> CreateReceiptRule

-- | Represents a request to create a receipt rule. You use receipt rules
--   to receive email with Amazon SES. For more information, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>createReceiptRule</a> smart constructor.
data CreateReceiptRule

-- | The name of an existing rule after which the new rule will be placed.
--   If this parameter is null, the new rule will be inserted at the
--   beginning of the rule list.
crrAfter :: Lens' CreateReceiptRule (Maybe Text)

-- | The name of the rule set to which to add the rule.
crrRuleSetName :: Lens' CreateReceiptRule Text

-- | A data structure that contains the specified rule's name, actions,
--   recipients, domains, enabled status, scan status, and TLS policy.
crrRule :: Lens' CreateReceiptRule ReceiptRule

-- | Creates a value of <a>CreateReceiptRuleResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crrrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createReceiptRuleResponse :: Int -> CreateReceiptRuleResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>createReceiptRuleResponse</a> smart constructor.
data CreateReceiptRuleResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
crrrsResponseStatus :: Lens' CreateReceiptRuleResponse Int
instance GHC.Generics.Generic Network.AWS.SES.CreateReceiptRule.CreateReceiptRuleResponse
instance Data.Data.Data Network.AWS.SES.CreateReceiptRule.CreateReceiptRuleResponse
instance GHC.Show.Show Network.AWS.SES.CreateReceiptRule.CreateReceiptRuleResponse
instance GHC.Read.Read Network.AWS.SES.CreateReceiptRule.CreateReceiptRuleResponse
instance GHC.Classes.Eq Network.AWS.SES.CreateReceiptRule.CreateReceiptRuleResponse
instance GHC.Generics.Generic Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance Data.Data.Data Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance GHC.Show.Show Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance GHC.Read.Read Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance GHC.Classes.Eq Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance Network.AWS.Types.AWSRequest Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance Data.Hashable.Class.Hashable Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance Control.DeepSeq.NFData Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.CreateReceiptRule.CreateReceiptRule
instance Control.DeepSeq.NFData Network.AWS.SES.CreateReceiptRule.CreateReceiptRuleResponse


-- | Creates a new IP address filter.
--   
--   For information about setting up IP address filters, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.CreateReceiptFilter

-- | Creates a value of <a>CreateReceiptFilter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crfFilter</a> - A data structure that describes the IP address
--   filter to create, which consists of a name, an IP address range, and
--   whether to allow or block mail from it.</li>
--   </ul>
createReceiptFilter :: ReceiptFilter -> CreateReceiptFilter

-- | Represents a request to create a new IP address filter. You use IP
--   address filters when you receive email with Amazon SES. For more
--   information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>createReceiptFilter</a> smart constructor.
data CreateReceiptFilter

-- | A data structure that describes the IP address filter to create, which
--   consists of a name, an IP address range, and whether to allow or block
--   mail from it.
crfFilter :: Lens' CreateReceiptFilter ReceiptFilter

-- | Creates a value of <a>CreateReceiptFilterResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crfrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createReceiptFilterResponse :: Int -> CreateReceiptFilterResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>createReceiptFilterResponse</a> smart constructor.
data CreateReceiptFilterResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
crfrsResponseStatus :: Lens' CreateReceiptFilterResponse Int
instance GHC.Generics.Generic Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilterResponse
instance Data.Data.Data Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilterResponse
instance GHC.Show.Show Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilterResponse
instance GHC.Read.Read Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilterResponse
instance GHC.Classes.Eq Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilterResponse
instance GHC.Generics.Generic Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance Data.Data.Data Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance GHC.Show.Show Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance GHC.Read.Read Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance GHC.Classes.Eq Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance Network.AWS.Types.AWSRequest Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance Data.Hashable.Class.Hashable Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance Control.DeepSeq.NFData Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilter
instance Control.DeepSeq.NFData Network.AWS.SES.CreateReceiptFilter.CreateReceiptFilterResponse


-- | Creates a configuration set event destination.
--   
--   An event destination is the AWS service to which Amazon SES publishes
--   the email sending events associated with a configuration set. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.CreateConfigurationSetEventDestination

-- | Creates a value of <a>CreateConfigurationSetEventDestination</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccsedConfigurationSetName</a> - The name of the configuration
--   set to which to apply the event destination.</li>
--   <li><a>ccsedEventDestination</a> - An object that describes the AWS
--   service to which Amazon SES will publish the email sending events
--   associated with the specified configuration set.</li>
--   </ul>
createConfigurationSetEventDestination :: Text -> EventDestination -> CreateConfigurationSetEventDestination

-- | Represents a request to create a configuration set event destination.
--   A configuration set event destination, which can be either Amazon
--   CloudWatch or Amazon Kinesis Firehose, describes an AWS service in
--   which Amazon SES publishes the email sending events associated with a
--   configuration set. For information about using configuration sets, see
--   the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>createConfigurationSetEventDestination</a> smart
--   constructor.
data CreateConfigurationSetEventDestination

-- | The name of the configuration set to which to apply the event
--   destination.
ccsedConfigurationSetName :: Lens' CreateConfigurationSetEventDestination Text

-- | An object that describes the AWS service to which Amazon SES will
--   publish the email sending events associated with the specified
--   configuration set.
ccsedEventDestination :: Lens' CreateConfigurationSetEventDestination EventDestination

-- | Creates a value of
--   <a>CreateConfigurationSetEventDestinationResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccsedrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createConfigurationSetEventDestinationResponse :: Int -> CreateConfigurationSetEventDestinationResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>createConfigurationSetEventDestinationResponse</a>
--   smart constructor.
data CreateConfigurationSetEventDestinationResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ccsedrsResponseStatus :: Lens' CreateConfigurationSetEventDestinationResponse Int
instance GHC.Generics.Generic Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestinationResponse
instance Data.Data.Data Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestinationResponse
instance GHC.Show.Show Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestinationResponse
instance GHC.Read.Read Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestinationResponse
instance GHC.Classes.Eq Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestinationResponse
instance GHC.Generics.Generic Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance Data.Data.Data Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance GHC.Show.Show Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance GHC.Read.Read Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance GHC.Classes.Eq Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance Network.AWS.Types.AWSRequest Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance Data.Hashable.Class.Hashable Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance Control.DeepSeq.NFData Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestination
instance Control.DeepSeq.NFData Network.AWS.SES.CreateConfigurationSetEventDestination.CreateConfigurationSetEventDestinationResponse


-- | Creates a configuration set.
--   
--   Configuration sets enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.CreateConfigurationSet

-- | Creates a value of <a>CreateConfigurationSet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccsConfigurationSet</a> - A data structure that contains the
--   name of the configuration set.</li>
--   </ul>
createConfigurationSet :: ConfigurationSet -> CreateConfigurationSet

-- | Represents a request to create a configuration set. Configuration sets
--   enable you to publish email sending events. For information about
--   using configuration sets, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>createConfigurationSet</a> smart constructor.
data CreateConfigurationSet

-- | A data structure that contains the name of the configuration set.
ccsConfigurationSet :: Lens' CreateConfigurationSet ConfigurationSet

-- | Creates a value of <a>CreateConfigurationSetResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createConfigurationSetResponse :: Int -> CreateConfigurationSetResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>createConfigurationSetResponse</a> smart constructor.
data CreateConfigurationSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ccsrsResponseStatus :: Lens' CreateConfigurationSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSetResponse
instance Data.Data.Data Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSetResponse
instance GHC.Show.Show Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSetResponse
instance GHC.Read.Read Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSetResponse
instance GHC.Classes.Eq Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSetResponse
instance GHC.Generics.Generic Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance Data.Data.Data Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance GHC.Show.Show Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance GHC.Read.Read Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance GHC.Classes.Eq Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance Control.DeepSeq.NFData Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSet
instance Control.DeepSeq.NFData Network.AWS.SES.CreateConfigurationSet.CreateConfigurationSetResponse


-- | Creates a receipt rule set by cloning an existing one. All receipt
--   rules and configurations are copied to the new receipt rule set and
--   are completely independent of the source rule set.
--   
--   For information about setting up rule sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   This action is throttled at one request per second.
module Network.AWS.SES.CloneReceiptRuleSet

-- | Creates a value of <a>CloneReceiptRuleSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cRuleSetName</a> - The name of the rule set to create. The name
--   must: * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods
--   (.), underscores (_), or dashes (-). * Start and end with a letter or
--   number. * Contain less than 64 characters.</li>
--   <li><a>cOriginalRuleSetName</a> - The name of the rule set to
--   clone.</li>
--   </ul>
cloneReceiptRuleSet :: Text -> Text -> CloneReceiptRuleSet

-- | Represents a request to create a receipt rule set by cloning an
--   existing one. You use receipt rule sets to receive email with Amazon
--   SES. For more information, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>cloneReceiptRuleSet</a> smart constructor.
data CloneReceiptRuleSet

-- | The name of the rule set to create. The name must: * Contain only
--   ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_),
--   or dashes (-). * Start and end with a letter or number. * Contain less
--   than 64 characters.
cRuleSetName :: Lens' CloneReceiptRuleSet Text

-- | The name of the rule set to clone.
cOriginalRuleSetName :: Lens' CloneReceiptRuleSet Text

-- | Creates a value of <a>CloneReceiptRuleSetResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>crsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
cloneReceiptRuleSetResponse :: Int -> CloneReceiptRuleSetResponse

-- | An empty element returned on a successful request.
--   
--   <i>See:</i> <a>cloneReceiptRuleSetResponse</a> smart constructor.
data CloneReceiptRuleSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
crsResponseStatus :: Lens' CloneReceiptRuleSetResponse Int
instance GHC.Generics.Generic Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSetResponse
instance Data.Data.Data Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSetResponse
instance GHC.Show.Show Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSetResponse
instance GHC.Read.Read Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSetResponse
instance GHC.Classes.Eq Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSetResponse
instance GHC.Generics.Generic Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance Data.Data.Data Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance GHC.Show.Show Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance GHC.Read.Read Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance GHC.Classes.Eq Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance Network.AWS.Types.AWSRequest Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance Data.Hashable.Class.Hashable Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance Network.AWS.Data.Path.ToPath Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSet
instance Control.DeepSeq.NFData Network.AWS.SES.CloneReceiptRuleSet.CloneReceiptRuleSetResponse


-- | <b>Amazon Simple Email Service</b>
--   
--   This is the API Reference for Amazon Simple Email Service (Amazon
--   SES). This documentation is intended to be used in conjunction with
--   the <a>Amazon SES Developer Guide</a> .
module Network.AWS.SES

-- | API version <tt>2010-12-01</tt> of the Amazon Simple Email Service SDK
--   configuration.
ses :: Service

-- | Indicates that the configuration set is invalid. See the error message
--   for details.
_InvalidConfigurationSetException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the delete operation could not be completed.
_CannotDeleteException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided receipt rule does not exist.
_RuleDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the action failed, and the message could not be sent.
--   Check the error stack for more information about what caused the
--   error.
_MessageRejected :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided receipt rule set does not exist.
_RuleSetDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the message could not be sent because Amazon SES could
--   not read the MX record required to use the specified MAIL FROM domain.
--   For information about editing the custom MAIL FROM domain settings for
--   an identity, see the <a>Amazon SES Developer Guide</a> .
_MailFromDomainNotVerifiedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the Amazon Kinesis Firehose destination is invalid. See
--   the error message for details.
_InvalidFirehoseDestinationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the configuration set could not be created because of a
--   naming conflict.
_ConfigurationSetAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the event destination does not exist.
_EventDestinationDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the Amazon CloudWatch destination is invalid. See the
--   error message for details.
_InvalidCloudWatchDestinationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided AWS Lambda function is invalid, or that
--   Amazon SES could not execute the provided function, possibly due to
--   permissions issues. For information about giving permissions, see the
--   <a>Amazon SES Developer Guide</a> .
_InvalidLambdaFunctionException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the configuration set does not exist.
_ConfigurationSetDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided policy is invalid. Check the error stack
--   for more information about what caused the error.
_InvalidPolicyException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided Amazon S3 bucket or AWS KMS encryption key
--   is invalid, or that Amazon SES could not publish to the bucket,
--   possibly due to permissions issues. For information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> .
_InvalidS3ConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the provided Amazon SNS topic is invalid, or that
--   Amazon SES could not publish to the topic, possibly due to permissions
--   issues. For information about giving permissions, see the <a>Amazon
--   SES Developer Guide</a> .
_InvalidSNSTopicException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that the event destination could not be created because of a
--   naming conflict.
_EventDestinationAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that a resource could not be created because of a naming
--   conflict.
_AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Indicates that a resource could not be created because of service
--   limits. For a list of Amazon SES limits, see the <a>Amazon SES
--   Developer Guide</a> .
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
data BehaviorOnMXFailure
RejectMessage :: BehaviorOnMXFailure
UseDefaultValue :: BehaviorOnMXFailure
data BounceType
BTContentRejected :: BounceType
BTDoesNotExist :: BounceType
BTExceededQuota :: BounceType
BTMessageTooLarge :: BounceType
BTTemporaryFailure :: BounceType
BTUndefined :: BounceType
data ConfigurationSetAttribute
EventDestinations :: ConfigurationSetAttribute
data CustomMailFromStatus
CMFSFailed :: CustomMailFromStatus
CMFSPending :: CustomMailFromStatus
CMFSSuccess :: CustomMailFromStatus
CMFSTemporaryFailure :: CustomMailFromStatus
data DimensionValueSource
EmailHeader :: DimensionValueSource
MessageTag :: DimensionValueSource
data DsnAction
DADelayed :: DsnAction
DADelivered :: DsnAction
DAExpanded :: DsnAction
DAFailed :: DsnAction
DARelayed :: DsnAction
data EventType
ETBounce :: EventType
ETComplaint :: EventType
ETDelivery :: EventType
ETReject :: EventType
ETSend :: EventType
data IdentityType
Domain :: IdentityType
EmailAddress :: IdentityType
data InvocationType
Event :: InvocationType
RequestResponse :: InvocationType
data NotificationType
Bounce :: NotificationType
Complaint :: NotificationType
Delivery :: NotificationType
data ReceiptFilterPolicy
Allow :: ReceiptFilterPolicy
Block :: ReceiptFilterPolicy
data SNSActionEncoding
BASE64 :: SNSActionEncoding
Utf8 :: SNSActionEncoding
data StopScope
RuleSet :: StopScope
data TLSPolicy
Optional :: TLSPolicy
Require :: TLSPolicy
data VerificationStatus
Failed :: VerificationStatus
NotStarted :: VerificationStatus
Pending :: VerificationStatus
Success :: VerificationStatus
TemporaryFailure :: VerificationStatus

-- | When included in a receipt rule, this action adds a header to the
--   received email.
--   
--   For information about adding a header using a receipt rule, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>addHeaderAction</a> smart constructor.
data AddHeaderAction

-- | Creates a value of <a>AddHeaderAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ahaHeaderName</a> - The name of the header to add. Must be
--   between 1 and 50 characters, inclusive, and consist of alphanumeric
--   (a-z, A-Z, 0-9) characters and dashes only.</li>
--   <li><a>ahaHeaderValue</a> - Must be less than 2048 characters, and
--   must not contain newline characters ("r" or "n").</li>
--   </ul>
addHeaderAction :: Text -> Text -> AddHeaderAction

-- | The name of the header to add. Must be between 1 and 50 characters,
--   inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and
--   dashes only.
ahaHeaderName :: Lens' AddHeaderAction Text

-- | Must be less than 2048 characters, and must not contain newline
--   characters ("r" or "n").
ahaHeaderValue :: Lens' AddHeaderAction Text

-- | Represents the body of the message. You can specify text, HTML, or
--   both. If you use both, then the message should display correctly in
--   the widest variety of email clients.
--   
--   <i>See:</i> <a>body</a> smart constructor.
data Body

-- | Creates a value of <a>Body</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>bText</a> - The content of the message, in text format. Use
--   this for text-based email clients, or clients on high-latency networks
--   (such as mobile devices).</li>
--   <li><a>bHTML</a> - The content of the message, in HTML format. Use
--   this for email clients that can process HTML. You can include
--   clickable links, formatted text, and much more in an HTML
--   message.</li>
--   </ul>
body :: Body

-- | The content of the message, in text format. Use this for text-based
--   email clients, or clients on high-latency networks (such as mobile
--   devices).
bText :: Lens' Body (Maybe Content)

-- | The content of the message, in HTML format. Use this for email clients
--   that can process HTML. You can include clickable links, formatted
--   text, and much more in an HTML message.
bHTML :: Lens' Body (Maybe Content)

-- | When included in a receipt rule, this action rejects the received
--   email by returning a bounce response to the sender and, optionally,
--   publishes a notification to Amazon Simple Notification Service (Amazon
--   SNS).
--   
--   For information about sending a bounce message in response to a
--   received email, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>bounceAction</a> smart constructor.
data BounceAction

-- | Creates a value of <a>BounceAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>baTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify when the bounce action is taken. An example of an
--   Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   <li><a>baStatusCode</a> - The SMTP enhanced status code, as defined by
--   <a>RFC 3463</a> .</li>
--   <li><a>baSmtpReplyCode</a> - The SMTP reply code, as defined by <a>RFC
--   5321</a> .</li>
--   <li><a>baMessage</a> - Human-readable text to include in the bounce
--   message.</li>
--   <li><a>baSender</a> - The email address of the sender of the bounced
--   email. This is the address from which the bounce message will be
--   sent.</li>
--   </ul>
bounceAction :: Text -> Text -> Text -> BounceAction

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
--   the bounce action is taken. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
baTopicARN :: Lens' BounceAction (Maybe Text)

-- | The SMTP enhanced status code, as defined by <a>RFC 3463</a> .
baStatusCode :: Lens' BounceAction (Maybe Text)

-- | The SMTP reply code, as defined by <a>RFC 5321</a> .
baSmtpReplyCode :: Lens' BounceAction Text

-- | Human-readable text to include in the bounce message.
baMessage :: Lens' BounceAction Text

-- | The email address of the sender of the bounced email. This is the
--   address from which the bounce message will be sent.
baSender :: Lens' BounceAction Text

-- | Recipient-related information to include in the Delivery Status
--   Notification (DSN) when an email that Amazon SES receives on your
--   behalf bounces.
--   
--   For information about receiving email through Amazon SES, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>bouncedRecipientInfo</a> smart constructor.
data BouncedRecipientInfo

-- | Creates a value of <a>BouncedRecipientInfo</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>briBounceType</a> - The reason for the bounce. You must provide
--   either this parameter or <tt>RecipientDsnFields</tt> .</li>
--   <li><a>briRecipientDsnFields</a> - Recipient-related DSN fields, most
--   of which would normally be filled in automatically when provided with
--   a <tt>BounceType</tt> . You must provide either this parameter or
--   <tt>BounceType</tt> .</li>
--   <li><a>briRecipientARN</a> - This parameter is used only for sending
--   authorization. It is the ARN of the identity that is associated with
--   the sending authorization policy that permits you to receive email for
--   the recipient of the bounced email. For more information about sending
--   authorization, see the <a>Amazon SES Developer Guide</a> .</li>
--   <li><a>briRecipient</a> - The email address of the recipient of the
--   bounced email.</li>
--   </ul>
bouncedRecipientInfo :: Text -> BouncedRecipientInfo

-- | The reason for the bounce. You must provide either this parameter or
--   <tt>RecipientDsnFields</tt> .
briBounceType :: Lens' BouncedRecipientInfo (Maybe BounceType)

-- | Recipient-related DSN fields, most of which would normally be filled
--   in automatically when provided with a <tt>BounceType</tt> . You must
--   provide either this parameter or <tt>BounceType</tt> .
briRecipientDsnFields :: Lens' BouncedRecipientInfo (Maybe RecipientDsnFields)

-- | This parameter is used only for sending authorization. It is the ARN
--   of the identity that is associated with the sending authorization
--   policy that permits you to receive email for the recipient of the
--   bounced email. For more information about sending authorization, see
--   the <a>Amazon SES Developer Guide</a> .
briRecipientARN :: Lens' BouncedRecipientInfo (Maybe Text)

-- | The email address of the recipient of the bounced email.
briRecipient :: Lens' BouncedRecipientInfo Text

-- | Contains information associated with an Amazon CloudWatch event
--   destination to which email sending events are published.
--   
--   Event destinations, such as Amazon CloudWatch, are associated with
--   configuration sets, which enable you to publish email sending events.
--   For information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>cloudWatchDestination</a> smart constructor.
data CloudWatchDestination

-- | Creates a value of <a>CloudWatchDestination</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cwdDimensionConfigurations</a> - A list of dimensions upon
--   which to categorize your emails when you publish email sending events
--   to Amazon CloudWatch.</li>
--   </ul>
cloudWatchDestination :: CloudWatchDestination

-- | A list of dimensions upon which to categorize your emails when you
--   publish email sending events to Amazon CloudWatch.
cwdDimensionConfigurations :: Lens' CloudWatchDestination [CloudWatchDimensionConfiguration]

-- | Contains the dimension configuration to use when you publish email
--   sending events to Amazon CloudWatch.
--   
--   For information about publishing email sending events to Amazon
--   CloudWatch, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>cloudWatchDimensionConfiguration</a> smart constructor.
data CloudWatchDimensionConfiguration

-- | Creates a value of <a>CloudWatchDimensionConfiguration</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cwdcDimensionName</a> - The name of an Amazon CloudWatch
--   dimension associated with an email sending metric. The name must: *
--   Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
--   or dashes (-). * Contain less than 256 characters.</li>
--   <li><a>cwdcDimensionValueSource</a> - The place where Amazon SES finds
--   the value of a dimension to publish to Amazon CloudWatch. If you want
--   Amazon SES to use the message tags that you specify using an
--   <tt>X-SES-MESSAGE-TAGS</tt> header or a parameter to the
--   <tt>SendEmail</tt> /<tt>SendRawEmail</tt> API, choose
--   <tt>messageTag</tt> . If you want Amazon SES to use your own email
--   headers, choose <tt>emailHeader</tt> .</li>
--   <li><a>cwdcDefaultDimensionValue</a> - The default value of the
--   dimension that is published to Amazon CloudWatch if you do not provide
--   the value of the dimension when you send an email. The default value
--   must: * Contain only ASCII letters (a-z, A-Z), numbers (0-9),
--   underscores (_), or dashes (-). * Contain less than 256
--   characters.</li>
--   </ul>
cloudWatchDimensionConfiguration :: Text -> DimensionValueSource -> Text -> CloudWatchDimensionConfiguration

-- | The name of an Amazon CloudWatch dimension associated with an email
--   sending metric. The name must: * Contain only ASCII letters (a-z,
--   A-Z), numbers (0-9), underscores (_), or dashes (-). * Contain less
--   than 256 characters.
cwdcDimensionName :: Lens' CloudWatchDimensionConfiguration Text

-- | The place where Amazon SES finds the value of a dimension to publish
--   to Amazon CloudWatch. If you want Amazon SES to use the message tags
--   that you specify using an <tt>X-SES-MESSAGE-TAGS</tt> header or a
--   parameter to the <tt>SendEmail</tt> /<tt>SendRawEmail</tt> API, choose
--   <tt>messageTag</tt> . If you want Amazon SES to use your own email
--   headers, choose <tt>emailHeader</tt> .
cwdcDimensionValueSource :: Lens' CloudWatchDimensionConfiguration DimensionValueSource

-- | The default value of the dimension that is published to Amazon
--   CloudWatch if you do not provide the value of the dimension when you
--   send an email. The default value must: * Contain only ASCII letters
--   (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). * Contain
--   less than 256 characters.
cwdcDefaultDimensionValue :: Lens' CloudWatchDimensionConfiguration Text

-- | The name of the configuration set.
--   
--   Configuration sets enable you to publish email sending events. For
--   information about using configuration sets, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>configurationSet</a> smart constructor.
data ConfigurationSet

-- | Creates a value of <a>ConfigurationSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csName</a> - The name of the configuration set. The name must:
--   * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores
--   (_), or dashes (-). * Contain less than 64 characters.</li>
--   </ul>
configurationSet :: Text -> ConfigurationSet

-- | The name of the configuration set. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). *
--   Contain less than 64 characters.
csName :: Lens' ConfigurationSet Text

-- | Represents textual data, plus an optional character set specification.
--   
--   By default, the text must be 7-bit ASCII, due to the constraints of
--   the SMTP protocol. If the text must contain any other characters, then
--   you must also specify a character set. Examples include UTF-8,
--   ISO-8859-1, and Shift_JIS.
--   
--   <i>See:</i> <a>content</a> smart constructor.
data Content

-- | Creates a value of <a>Content</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cCharset</a> - The character set of the content.</li>
--   <li><a>cData</a> - The textual data of the content.</li>
--   </ul>
content :: Text -> Content

-- | The character set of the content.
cCharset :: Lens' Content (Maybe Text)

-- | The textual data of the content.
cData :: Lens' Content Text

-- | Represents the destination of the message, consisting of To:, CC:, and
--   BCC: fields.
--   
--   By default, the string must be 7-bit ASCII. If the text must contain
--   any other characters, then you must use MIME encoded-word syntax (RFC
--   2047) instead of a literal string. MIME encoded-word syntax uses the
--   following form: <tt>=?charset?encoding?encoded-text?=</tt> . For more
--   information, see <a>RFC 2047</a> .
--   
--   <i>See:</i> <a>destination</a> smart constructor.
data Destination

-- | Creates a value of <a>Destination</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dBCCAddresses</a> - The BCC: field(s) of the message.</li>
--   <li><a>dCCAddresses</a> - The CC: field(s) of the message.</li>
--   <li><a>dToAddresses</a> - The To: field(s) of the message.</li>
--   </ul>
destination :: Destination

-- | The BCC: field(s) of the message.
dBCCAddresses :: Lens' Destination [Text]

-- | The CC: field(s) of the message.
dCCAddresses :: Lens' Destination [Text]

-- | The To: field(s) of the message.
dToAddresses :: Lens' Destination [Text]

-- | Contains information about the event destination to which the
--   specified email sending events are published.
--   
--   Event destinations are associated with configuration sets, which
--   enable you to publish email sending events to Amazon CloudWatch or
--   Amazon Kinesis Firehose. For information about using configuration
--   sets, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>eventDestination</a> smart constructor.
data EventDestination

-- | Creates a value of <a>EventDestination</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>edEnabled</a> - Sets whether Amazon SES publishes events to
--   this destination when you send an email with the associated
--   configuration set. Set to <tt>true</tt> to enable publishing to this
--   destination; set to <tt>false</tt> to prevent publishing to this
--   destination. The default value is <tt>false</tt> .</li>
--   <li><a>edKinesisFirehoseDestination</a> - An object that contains the
--   delivery stream ARN and the IAM role ARN associated with an Amazon
--   Kinesis Firehose event destination.</li>
--   <li><a>edCloudWatchDestination</a> - An object that contains the
--   names, default values, and sources of the dimensions associated with
--   an Amazon CloudWatch event destination.</li>
--   <li><a>edName</a> - The name of the event destination. The name must:
--   * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores
--   (_), or dashes (-). * Contain less than 64 characters.</li>
--   <li><a>edMatchingEventTypes</a> - The type of email sending events to
--   publish to the event destination.</li>
--   </ul>
eventDestination :: Text -> EventDestination

-- | Sets whether Amazon SES publishes events to this destination when you
--   send an email with the associated configuration set. Set to
--   <tt>true</tt> to enable publishing to this destination; set to
--   <tt>false</tt> to prevent publishing to this destination. The default
--   value is <tt>false</tt> .
edEnabled :: Lens' EventDestination (Maybe Bool)

-- | An object that contains the delivery stream ARN and the IAM role ARN
--   associated with an Amazon Kinesis Firehose event destination.
edKinesisFirehoseDestination :: Lens' EventDestination (Maybe KinesisFirehoseDestination)

-- | An object that contains the names, default values, and sources of the
--   dimensions associated with an Amazon CloudWatch event destination.
edCloudWatchDestination :: Lens' EventDestination (Maybe CloudWatchDestination)

-- | The name of the event destination. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). *
--   Contain less than 64 characters.
edName :: Lens' EventDestination Text

-- | The type of email sending events to publish to the event destination.
edMatchingEventTypes :: Lens' EventDestination [EventType]

-- | Additional X-headers to include in the Delivery Status Notification
--   (DSN) when an email that Amazon SES receives on your behalf bounces.
--   
--   For information about receiving email through Amazon SES, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>extensionField</a> smart constructor.
data ExtensionField

-- | Creates a value of <a>ExtensionField</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>efName</a> - The name of the header to add. Must be between 1
--   and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z,
--   0-9) characters and dashes only.</li>
--   <li><a>efValue</a> - The value of the header to add. Must be less than
--   2048 characters, and must not contain newline characters ("r" or
--   "n").</li>
--   </ul>
extensionField :: Text -> Text -> ExtensionField

-- | The name of the header to add. Must be between 1 and 50 characters,
--   inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and
--   dashes only.
efName :: Lens' ExtensionField Text

-- | The value of the header to add. Must be less than 2048 characters, and
--   must not contain newline characters ("r" or "n").
efValue :: Lens' ExtensionField Text

-- | Represents the DKIM attributes of a verified email address or a
--   domain.
--   
--   <i>See:</i> <a>identityDkimAttributes</a> smart constructor.
data IdentityDkimAttributes

-- | Creates a value of <a>IdentityDkimAttributes</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>idaDkimTokens</a> - A set of character strings that represent
--   the domain's identity. Using these tokens, you will need to create DNS
--   CNAME records that point to DKIM public keys hosted by Amazon SES.
--   Amazon Web Services will eventually detect that you have updated your
--   DNS records; this detection process may take up to 72 hours. Upon
--   successful detection, Amazon SES will be able to DKIM-sign email
--   originating from that domain. (This only applies to domain identities,
--   not email address identities.) For more information about creating DNS
--   records using DKIM tokens, go to the <a>Amazon SES Developer Guide</a>
--   .</li>
--   <li><a>idaDkimEnabled</a> - True if DKIM signing is enabled for email
--   sent from the identity; false otherwise. The default value is
--   true.</li>
--   <li><a>idaDkimVerificationStatus</a> - Describes whether Amazon SES
--   has successfully verified the DKIM DNS records (tokens) published in
--   the domain name's DNS. (This only applies to domain identities, not
--   email address identities.)</li>
--   </ul>
identityDkimAttributes :: Bool -> VerificationStatus -> IdentityDkimAttributes

-- | A set of character strings that represent the domain's identity. Using
--   these tokens, you will need to create DNS CNAME records that point to
--   DKIM public keys hosted by Amazon SES. Amazon Web Services will
--   eventually detect that you have updated your DNS records; this
--   detection process may take up to 72 hours. Upon successful detection,
--   Amazon SES will be able to DKIM-sign email originating from that
--   domain. (This only applies to domain identities, not email address
--   identities.) For more information about creating DNS records using
--   DKIM tokens, go to the <a>Amazon SES Developer Guide</a> .
idaDkimTokens :: Lens' IdentityDkimAttributes [Text]

-- | True if DKIM signing is enabled for email sent from the identity;
--   false otherwise. The default value is true.
idaDkimEnabled :: Lens' IdentityDkimAttributes Bool

-- | Describes whether Amazon SES has successfully verified the DKIM DNS
--   records (tokens) published in the domain name's DNS. (This only
--   applies to domain identities, not email address identities.)
idaDkimVerificationStatus :: Lens' IdentityDkimAttributes VerificationStatus

-- | Represents the custom MAIL FROM domain attributes of a verified
--   identity (email address or domain).
--   
--   <i>See:</i> <a>identityMailFromDomainAttributes</a> smart constructor.
data IdentityMailFromDomainAttributes

-- | Creates a value of <a>IdentityMailFromDomainAttributes</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>imfdaMailFromDomain</a> - The custom MAIL FROM domain that the
--   identity is configured to use.</li>
--   <li><a>imfdaMailFromDomainStatus</a> - The state that indicates
--   whether Amazon SES has successfully read the MX record required for
--   custom MAIL FROM domain setup. If the state is <tt>Success</tt> ,
--   Amazon SES uses the specified custom MAIL FROM domain when the
--   verified identity sends an email. All other states indicate that
--   Amazon SES takes the action described by <tt>BehaviorOnMXFailure</tt>
--   .</li>
--   <li><a>imfdaBehaviorOnMXFailure</a> - The action that Amazon SES takes
--   if it cannot successfully read the required MX record when you send an
--   email. A value of <tt>UseDefaultValue</tt> indicates that if Amazon
--   SES cannot read the required MX record, it uses amazonses.com (or a
--   subdomain of that) as the MAIL FROM domain. A value of
--   <tt>RejectMessage</tt> indicates that if Amazon SES cannot read the
--   required MX record, Amazon SES returns a
--   <tt>MailFromDomainNotVerified</tt> error and does not send the email.
--   The custom MAIL FROM setup states that result in this behavior are
--   <tt>Pending</tt> , <tt>Failed</tt> , and <tt>TemporaryFailure</tt>
--   .</li>
--   </ul>
identityMailFromDomainAttributes :: Text -> CustomMailFromStatus -> BehaviorOnMXFailure -> IdentityMailFromDomainAttributes

-- | The custom MAIL FROM domain that the identity is configured to use.
imfdaMailFromDomain :: Lens' IdentityMailFromDomainAttributes Text

-- | The state that indicates whether Amazon SES has successfully read the
--   MX record required for custom MAIL FROM domain setup. If the state is
--   <tt>Success</tt> , Amazon SES uses the specified custom MAIL FROM
--   domain when the verified identity sends an email. All other states
--   indicate that Amazon SES takes the action described by
--   <tt>BehaviorOnMXFailure</tt> .
imfdaMailFromDomainStatus :: Lens' IdentityMailFromDomainAttributes CustomMailFromStatus

-- | The action that Amazon SES takes if it cannot successfully read the
--   required MX record when you send an email. A value of
--   <tt>UseDefaultValue</tt> indicates that if Amazon SES cannot read the
--   required MX record, it uses amazonses.com (or a subdomain of that) as
--   the MAIL FROM domain. A value of <tt>RejectMessage</tt> indicates that
--   if Amazon SES cannot read the required MX record, Amazon SES returns a
--   <tt>MailFromDomainNotVerified</tt> error and does not send the email.
--   The custom MAIL FROM setup states that result in this behavior are
--   <tt>Pending</tt> , <tt>Failed</tt> , and <tt>TemporaryFailure</tt> .
imfdaBehaviorOnMXFailure :: Lens' IdentityMailFromDomainAttributes BehaviorOnMXFailure

-- | Represents the notification attributes of an identity, including
--   whether an identity has Amazon Simple Notification Service (Amazon
--   SNS) topics set for bounce, complaint, and/or delivery notifications,
--   and whether feedback forwarding is enabled for bounce and complaint
--   notifications.
--   
--   <i>See:</i> <a>identityNotificationAttributes</a> smart constructor.
data IdentityNotificationAttributes

-- | Creates a value of <a>IdentityNotificationAttributes</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>inaHeadersInDeliveryNotificationsEnabled</a> - Describes
--   whether Amazon SES includes the original email headers in Amazon SNS
--   notifications of type <tt>Delivery</tt> . A value of <tt>true</tt>
--   specifies that Amazon SES will include headers in delivery
--   notifications, and a value of <tt>false</tt> specifies that Amazon SES
--   will not include headers in delivery notifications.</li>
--   <li><a>inaHeadersInComplaintNotificationsEnabled</a> - Describes
--   whether Amazon SES includes the original email headers in Amazon SNS
--   notifications of type <tt>Complaint</tt> . A value of <tt>true</tt>
--   specifies that Amazon SES will include headers in complaint
--   notifications, and a value of <tt>false</tt> specifies that Amazon SES
--   will not include headers in complaint notifications.</li>
--   <li><a>inaHeadersInBounceNotificationsEnabled</a> - Describes whether
--   Amazon SES includes the original email headers in Amazon SNS
--   notifications of type <tt>Bounce</tt> . A value of <tt>true</tt>
--   specifies that Amazon SES will include headers in bounce
--   notifications, and a value of <tt>false</tt> specifies that Amazon SES
--   will not include headers in bounce notifications.</li>
--   <li><a>inaBounceTopic</a> - The Amazon Resource Name (ARN) of the
--   Amazon SNS topic where Amazon SES will publish bounce
--   notifications.</li>
--   <li><a>inaComplaintTopic</a> - The Amazon Resource Name (ARN) of the
--   Amazon SNS topic where Amazon SES will publish complaint
--   notifications.</li>
--   <li><a>inaDeliveryTopic</a> - The Amazon Resource Name (ARN) of the
--   Amazon SNS topic where Amazon SES will publish delivery
--   notifications.</li>
--   <li><a>inaForwardingEnabled</a> - Describes whether Amazon SES will
--   forward bounce and complaint notifications as email. <tt>true</tt>
--   indicates that Amazon SES will forward bounce and complaint
--   notifications as email, while <tt>false</tt> indicates that bounce and
--   complaint notifications will be published only to the specified bounce
--   and complaint Amazon SNS topics.</li>
--   </ul>
identityNotificationAttributes :: Text -> Text -> Text -> Bool -> IdentityNotificationAttributes

-- | Describes whether Amazon SES includes the original email headers in
--   Amazon SNS notifications of type <tt>Delivery</tt> . A value of
--   <tt>true</tt> specifies that Amazon SES will include headers in
--   delivery notifications, and a value of <tt>false</tt> specifies that
--   Amazon SES will not include headers in delivery notifications.
inaHeadersInDeliveryNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)

-- | Describes whether Amazon SES includes the original email headers in
--   Amazon SNS notifications of type <tt>Complaint</tt> . A value of
--   <tt>true</tt> specifies that Amazon SES will include headers in
--   complaint notifications, and a value of <tt>false</tt> specifies that
--   Amazon SES will not include headers in complaint notifications.
inaHeadersInComplaintNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)

-- | Describes whether Amazon SES includes the original email headers in
--   Amazon SNS notifications of type <tt>Bounce</tt> . A value of
--   <tt>true</tt> specifies that Amazon SES will include headers in bounce
--   notifications, and a value of <tt>false</tt> specifies that Amazon SES
--   will not include headers in bounce notifications.
inaHeadersInBounceNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
--   SES will publish bounce notifications.
inaBounceTopic :: Lens' IdentityNotificationAttributes Text

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
--   SES will publish complaint notifications.
inaComplaintTopic :: Lens' IdentityNotificationAttributes Text

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
--   SES will publish delivery notifications.
inaDeliveryTopic :: Lens' IdentityNotificationAttributes Text

-- | Describes whether Amazon SES will forward bounce and complaint
--   notifications as email. <tt>true</tt> indicates that Amazon SES will
--   forward bounce and complaint notifications as email, while
--   <tt>false</tt> indicates that bounce and complaint notifications will
--   be published only to the specified bounce and complaint Amazon SNS
--   topics.
inaForwardingEnabled :: Lens' IdentityNotificationAttributes Bool

-- | Represents the verification attributes of a single identity.
--   
--   <i>See:</i> <a>identityVerificationAttributes</a> smart constructor.
data IdentityVerificationAttributes

-- | Creates a value of <a>IdentityVerificationAttributes</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ivaVerificationToken</a> - The verification token for a domain
--   identity. Null for email address identities.</li>
--   <li><a>ivaVerificationStatus</a> - The verification status of the
--   identity: <a>Pending</a>, <a>Success</a>, <a>Failed</a>, or
--   <a>TemporaryFailure</a>.</li>
--   </ul>
identityVerificationAttributes :: VerificationStatus -> IdentityVerificationAttributes

-- | The verification token for a domain identity. Null for email address
--   identities.
ivaVerificationToken :: Lens' IdentityVerificationAttributes (Maybe Text)

-- | The verification status of the identity: <a>Pending</a>,
--   <a>Success</a>, <a>Failed</a>, or <a>TemporaryFailure</a>.
ivaVerificationStatus :: Lens' IdentityVerificationAttributes VerificationStatus

-- | Contains the delivery stream ARN and the IAM role ARN associated with
--   an Amazon Kinesis Firehose event destination.
--   
--   Event destinations, such as Amazon Kinesis Firehose, are associated
--   with configuration sets, which enable you to publish email sending
--   events. For information about using configuration sets, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>kinesisFirehoseDestination</a> smart constructor.
data KinesisFirehoseDestination

-- | Creates a value of <a>KinesisFirehoseDestination</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>kfdIAMRoleARN</a> - The ARN of the IAM role under which Amazon
--   SES publishes email sending events to the Amazon Kinesis Firehose
--   stream.</li>
--   <li><a>kfdDeliveryStreamARN</a> - The ARN of the Amazon Kinesis
--   Firehose stream to which to publish email sending events.</li>
--   </ul>
kinesisFirehoseDestination :: Text -> Text -> KinesisFirehoseDestination

-- | The ARN of the IAM role under which Amazon SES publishes email sending
--   events to the Amazon Kinesis Firehose stream.
kfdIAMRoleARN :: Lens' KinesisFirehoseDestination Text

-- | The ARN of the Amazon Kinesis Firehose stream to which to publish
--   email sending events.
kfdDeliveryStreamARN :: Lens' KinesisFirehoseDestination Text

-- | When included in a receipt rule, this action calls an AWS Lambda
--   function and, optionally, publishes a notification to Amazon Simple
--   Notification Service (Amazon SNS).
--   
--   To enable Amazon SES to call your AWS Lambda function or to publish to
--   an Amazon SNS topic of another account, Amazon SES must have
--   permission to access those resources. For information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> .
--   
--   For information about using AWS Lambda actions in receipt rules, see
--   the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>lambdaAction</a> smart constructor.
data LambdaAction

-- | Creates a value of <a>LambdaAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>laInvocationType</a> - The invocation type of the AWS Lambda
--   function. An invocation type of <tt>RequestResponse</tt> means that
--   the execution of the function will immediately result in a response,
--   and a value of <tt>Event</tt> means that the function will be invoked
--   asynchronously. The default value is <tt>Event</tt> . For information
--   about AWS Lambda invocation types, see the <a>AWS Lambda Developer
--   Guide</a> . <i>Important:</i> There is a 30-second timeout on
--   <tt>RequestResponse</tt> invocations. You should use <tt>Event</tt>
--   invocation in most cases. Use <tt>RequestResponse</tt> only when you
--   want to make a mail flow decision, such as whether to stop the receipt
--   rule or the receipt rule set.</li>
--   <li><a>laTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify when the Lambda action is taken. An example of an
--   Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   <li><a>laFunctionARN</a> - The Amazon Resource Name (ARN) of the AWS
--   Lambda function. An example of an AWS Lambda function ARN is
--   <tt>arn:aws:lambda:us-west-2:account-id:function:MyFunction</tt> . For
--   more information about AWS Lambda, see the <a>AWS Lambda Developer
--   Guide</a> .</li>
--   </ul>
lambdaAction :: Text -> LambdaAction

-- | The invocation type of the AWS Lambda function. An invocation type of
--   <tt>RequestResponse</tt> means that the execution of the function will
--   immediately result in a response, and a value of <tt>Event</tt> means
--   that the function will be invoked asynchronously. The default value is
--   <tt>Event</tt> . For information about AWS Lambda invocation types,
--   see the <a>AWS Lambda Developer Guide</a> . <i>Important:</i> There is
--   a 30-second timeout on <tt>RequestResponse</tt> invocations. You
--   should use <tt>Event</tt> invocation in most cases. Use
--   <tt>RequestResponse</tt> only when you want to make a mail flow
--   decision, such as whether to stop the receipt rule or the receipt rule
--   set.
laInvocationType :: Lens' LambdaAction (Maybe InvocationType)

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
--   the Lambda action is taken. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
laTopicARN :: Lens' LambdaAction (Maybe Text)

-- | The Amazon Resource Name (ARN) of the AWS Lambda function. An example
--   of an AWS Lambda function ARN is
--   <tt>arn:aws:lambda:us-west-2:account-id:function:MyFunction</tt> . For
--   more information about AWS Lambda, see the <a>AWS Lambda Developer
--   Guide</a> .
laFunctionARN :: Lens' LambdaAction Text

-- | Represents the message to be sent, composed of a subject and a body.
--   
--   <i>See:</i> <a>message</a> smart constructor.
data Message

-- | Creates a value of <a>Message</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mSubject</a> - The subject of the message: A short summary of
--   the content, which will appear in the recipient's inbox.</li>
--   <li><a>mBody</a> - The message body.</li>
--   </ul>
message :: Content -> Body -> Message

-- | The subject of the message: A short summary of the content, which will
--   appear in the recipient's inbox.
mSubject :: Lens' Message Content

-- | The message body.
mBody :: Lens' Message Body

-- | Message-related information to include in the Delivery Status
--   Notification (DSN) when an email that Amazon SES receives on your
--   behalf bounces.
--   
--   For information about receiving email through Amazon SES, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>messageDsn</a> smart constructor.
data MessageDsn

-- | Creates a value of <a>MessageDsn</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mdArrivalDate</a> - When the message was received by the
--   reporting mail transfer agent (MTA), in <a>RFC 822</a> date-time
--   format.</li>
--   <li><a>mdExtensionFields</a> - Additional X-headers to include in the
--   DSN.</li>
--   <li><a>mdReportingMta</a> - The reporting MTA that attempted to
--   deliver the message, formatted as specified in <a>RFC 3464</a>
--   (<tt>mta-name-type; mta-name</tt> ). The default value is <tt>dns;
--   inbound-smtp.[region].amazonaws.com</tt> .</li>
--   </ul>
messageDsn :: Text -> MessageDsn

-- | When the message was received by the reporting mail transfer agent
--   (MTA), in <a>RFC 822</a> date-time format.
mdArrivalDate :: Lens' MessageDsn (Maybe UTCTime)

-- | Additional X-headers to include in the DSN.
mdExtensionFields :: Lens' MessageDsn [ExtensionField]

-- | The reporting MTA that attempted to deliver the message, formatted as
--   specified in <a>RFC 3464</a> (<tt>mta-name-type; mta-name</tt> ). The
--   default value is <tt>dns; inbound-smtp.[region].amazonaws.com</tt> .
mdReportingMta :: Lens' MessageDsn Text

-- | Contains the name and value of a tag that you can provide to
--   <tt>SendEmail</tt> or <tt>SendRawEmail</tt> to apply to an email.
--   
--   Message tags, which you use with configuration sets, enable you to
--   publish email sending events. For information about using
--   configuration sets, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>messageTag</a> smart constructor.
data MessageTag

-- | Creates a value of <a>MessageTag</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mtName</a> - The name of the tag. The name must: * Contain only
--   ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes
--   (-). * Contain less than 256 characters.</li>
--   <li><a>mtValue</a> - The value of the tag. The value must: * Contain
--   only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or
--   dashes (-). * Contain less than 256 characters.</li>
--   </ul>
messageTag :: Text -> Text -> MessageTag

-- | The name of the tag. The name must: * Contain only ASCII letters (a-z,
--   A-Z), numbers (0-9), underscores (_), or dashes (-). * Contain less
--   than 256 characters.
mtName :: Lens' MessageTag Text

-- | The value of the tag. The value must: * Contain only ASCII letters
--   (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). * Contain
--   less than 256 characters.
mtValue :: Lens' MessageTag Text

-- | Represents the raw data of the message.
--   
--   <i>See:</i> <a>rawMessage</a> smart constructor.
data RawMessage

-- | Creates a value of <a>RawMessage</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rmData</a> - The raw data of the message. The client must
--   ensure that the message format complies with Internet email standards
--   regarding email header fields, MIME types, MIME encoding, and base64
--   encoding. The To:, CC:, and BCC: headers in the raw message can
--   contain a group list. If you are using <tt>SendRawEmail</tt> with
--   sending authorization, you can include X-headers in the raw message to
--   specify the "Source," "From," and <a>Return-Path</a> addresses. For
--   more information, see the documentation for <tt>SendRawEmail</tt> .
--   <i>Important:</i> Do not include these X-headers in the DKIM
--   signature, because they are removed by Amazon SES before sending the
--   email. For more information, go to the <a>Amazon SES Developer
--   Guide</a> . -- <i>Note:</i> This <tt>Lens</tt> automatically encodes
--   and decodes Base64 data. The underlying isomorphism will encode to
--   Base64 representation during serialisation, and decode from Base64
--   representation during deserialisation. This <tt>Lens</tt> accepts and
--   returns only raw unencoded data.</li>
--   </ul>
rawMessage :: ByteString -> RawMessage

-- | The raw data of the message. The client must ensure that the message
--   format complies with Internet email standards regarding email header
--   fields, MIME types, MIME encoding, and base64 encoding. The To:, CC:,
--   and BCC: headers in the raw message can contain a group list. If you
--   are using <tt>SendRawEmail</tt> with sending authorization, you can
--   include X-headers in the raw message to specify the "Source," "From,"
--   and <a>Return-Path</a> addresses. For more information, see the
--   documentation for <tt>SendRawEmail</tt> . <i>Important:</i> Do not
--   include these X-headers in the DKIM signature, because they are
--   removed by Amazon SES before sending the email. For more information,
--   go to the <a>Amazon SES Developer Guide</a> . -- <i>Note:</i> This
--   <tt>Lens</tt> automatically encodes and decodes Base64 data. The
--   underlying isomorphism will encode to Base64 representation during
--   serialisation, and decode from Base64 representation during
--   deserialisation. This <tt>Lens</tt> accepts and returns only raw
--   unencoded data.
rmData :: Lens' RawMessage ByteString

-- | An action that Amazon SES can take when it receives an email on behalf
--   of one or more email addresses or domains that you own. An instance of
--   this data type can represent only one action.
--   
--   For information about setting up receipt rules, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptAction</a> smart constructor.
data ReceiptAction

-- | Creates a value of <a>ReceiptAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>raAddHeaderAction</a> - Adds a header to the received
--   email.</li>
--   <li><a>raSNSAction</a> - Publishes the email content within a
--   notification to Amazon SNS.</li>
--   <li><a>raWorkmailAction</a> - Calls Amazon WorkMail and, optionally,
--   publishes a notification to Amazon SNS.</li>
--   <li><a>raBounceAction</a> - Rejects the received email by returning a
--   bounce response to the sender and, optionally, publishes a
--   notification to Amazon Simple Notification Service (Amazon SNS).</li>
--   <li><a>raLambdaAction</a> - Calls an AWS Lambda function, and
--   optionally, publishes a notification to Amazon SNS.</li>
--   <li><a>raStopAction</a> - Terminates the evaluation of the receipt
--   rule set and optionally publishes a notification to Amazon SNS.</li>
--   <li><a>raS3Action</a> - Saves the received message to an Amazon Simple
--   Storage Service (Amazon S3) bucket and, optionally, publishes a
--   notification to Amazon SNS.</li>
--   </ul>
receiptAction :: ReceiptAction

-- | Adds a header to the received email.
raAddHeaderAction :: Lens' ReceiptAction (Maybe AddHeaderAction)

-- | Publishes the email content within a notification to Amazon SNS.
raSNSAction :: Lens' ReceiptAction (Maybe SNSAction)

-- | Calls Amazon WorkMail and, optionally, publishes a notification to
--   Amazon SNS.
raWorkmailAction :: Lens' ReceiptAction (Maybe WorkmailAction)

-- | Rejects the received email by returning a bounce response to the
--   sender and, optionally, publishes a notification to Amazon Simple
--   Notification Service (Amazon SNS).
raBounceAction :: Lens' ReceiptAction (Maybe BounceAction)

-- | Calls an AWS Lambda function, and optionally, publishes a notification
--   to Amazon SNS.
raLambdaAction :: Lens' ReceiptAction (Maybe LambdaAction)

-- | Terminates the evaluation of the receipt rule set and optionally
--   publishes a notification to Amazon SNS.
raStopAction :: Lens' ReceiptAction (Maybe StopAction)

-- | Saves the received message to an Amazon Simple Storage Service (Amazon
--   S3) bucket and, optionally, publishes a notification to Amazon SNS.
raS3Action :: Lens' ReceiptAction (Maybe S3Action)

-- | A receipt IP address filter enables you to specify whether to accept
--   or reject mail originating from an IP address or range of IP
--   addresses.
--   
--   For information about setting up IP address filters, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptFilter</a> smart constructor.
data ReceiptFilter

-- | Creates a value of <a>ReceiptFilter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rfName</a> - The name of the IP address filter. The name must:
--   * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.),
--   underscores (_), or dashes (-). * Start and end with a letter or
--   number. * Contain less than 64 characters.</li>
--   <li><a>rfIPFilter</a> - A structure that provides the IP addresses to
--   block or allow, and whether to block or allow incoming mail from
--   them.</li>
--   </ul>
receiptFilter :: Text -> ReceiptIPFilter -> ReceiptFilter

-- | The name of the IP address filter. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or
--   dashes (-). * Start and end with a letter or number. * Contain less
--   than 64 characters.
rfName :: Lens' ReceiptFilter Text

-- | A structure that provides the IP addresses to block or allow, and
--   whether to block or allow incoming mail from them.
rfIPFilter :: Lens' ReceiptFilter ReceiptIPFilter

-- | A receipt IP address filter enables you to specify whether to accept
--   or reject mail originating from an IP address or range of IP
--   addresses.
--   
--   For information about setting up IP address filters, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptIPFilter</a> smart constructor.
data ReceiptIPFilter

-- | Creates a value of <a>ReceiptIPFilter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rifPolicy</a> - Indicates whether to block or allow incoming
--   mail from the specified IP addresses.</li>
--   <li><a>rifCidr</a> - A single IP address or a range of IP addresses
--   that you want to block or allow, specified in Classless Inter-Domain
--   Routing (CIDR) notation. An example of a single email address is
--   10.0.0.1. An example of a range of IP addresses is 10.0.0.1<i>24. For
--   more information about CIDR notation, see
--   &lt;https:</i><i>tools.ietf.org</i>html/rfc2317 RFC 2317&gt; .</li>
--   </ul>
receiptIPFilter :: ReceiptFilterPolicy -> Text -> ReceiptIPFilter

-- | Indicates whether to block or allow incoming mail from the specified
--   IP addresses.
rifPolicy :: Lens' ReceiptIPFilter ReceiptFilterPolicy

-- | A single IP address or a range of IP addresses that you want to block
--   or allow, specified in Classless Inter-Domain Routing (CIDR) notation.
--   An example of a single email address is 10.0.0.1. An example of a
--   range of IP addresses is 10.0.0.1<i>24. For more information about
--   CIDR notation, see &lt;https:</i><i>tools.ietf.org</i>html/rfc2317 RFC
--   2317&gt; .
rifCidr :: Lens' ReceiptIPFilter Text

-- | Receipt rules enable you to specify which actions Amazon SES should
--   take when it receives mail on behalf of one or more email addresses or
--   domains that you own.
--   
--   Each receipt rule defines a set of email addresses or domains to which
--   it applies. If the email addresses or domains match at least one
--   recipient address of the message, Amazon SES executes all of the
--   receipt rule's actions on the message.
--   
--   For information about setting up receipt rules, see the <a>Amazon SES
--   Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptRule</a> smart constructor.
data ReceiptRule

-- | Creates a value of <a>ReceiptRule</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrScanEnabled</a> - If <tt>true</tt> , then messages to which
--   this receipt rule applies are scanned for spam and viruses. The
--   default value is <tt>false</tt> .</li>
--   <li><a>rrEnabled</a> - If <tt>true</tt> , the receipt rule is active.
--   The default value is <tt>false</tt> .</li>
--   <li><a>rrActions</a> - An ordered list of actions to perform on
--   messages that match at least one of the recipient email addresses or
--   domains specified in the receipt rule.</li>
--   <li><a>rrRecipients</a> - The recipient domains and email addresses to
--   which the receipt rule applies. If this field is not specified, this
--   rule will match all recipients under all verified domains.</li>
--   <li><a>rrTLSPolicy</a> - Specifies whether Amazon SES should require
--   that incoming email is delivered over a connection encrypted with
--   Transport Layer Security (TLS). If this parameter is set to
--   <tt>Require</tt> , Amazon SES will bounce emails that are not received
--   over TLS. The default is <tt>Optional</tt> .</li>
--   <li><a>rrName</a> - The name of the receipt rule. The name must: *
--   Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.),
--   underscores (_), or dashes (-). * Start and end with a letter or
--   number. * Contain less than 64 characters.</li>
--   </ul>
receiptRule :: Text -> ReceiptRule

-- | If <tt>true</tt> , then messages to which this receipt rule applies
--   are scanned for spam and viruses. The default value is <tt>false</tt>
--   .
rrScanEnabled :: Lens' ReceiptRule (Maybe Bool)

-- | If <tt>true</tt> , the receipt rule is active. The default value is
--   <tt>false</tt> .
rrEnabled :: Lens' ReceiptRule (Maybe Bool)

-- | An ordered list of actions to perform on messages that match at least
--   one of the recipient email addresses or domains specified in the
--   receipt rule.
rrActions :: Lens' ReceiptRule [ReceiptAction]

-- | The recipient domains and email addresses to which the receipt rule
--   applies. If this field is not specified, this rule will match all
--   recipients under all verified domains.
rrRecipients :: Lens' ReceiptRule [Text]

-- | Specifies whether Amazon SES should require that incoming email is
--   delivered over a connection encrypted with Transport Layer Security
--   (TLS). If this parameter is set to <tt>Require</tt> , Amazon SES will
--   bounce emails that are not received over TLS. The default is
--   <tt>Optional</tt> .
rrTLSPolicy :: Lens' ReceiptRule (Maybe TLSPolicy)

-- | The name of the receipt rule. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or
--   dashes (-). * Start and end with a letter or number. * Contain less
--   than 64 characters.
rrName :: Lens' ReceiptRule Text

-- | Information about a receipt rule set.
--   
--   A receipt rule set is a collection of rules that specify what Amazon
--   SES should do with mail it receives on behalf of your account's
--   verified domains.
--   
--   For information about setting up receipt rule sets, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   <i>See:</i> <a>receiptRuleSetMetadata</a> smart constructor.
data ReceiptRuleSetMetadata

-- | Creates a value of <a>ReceiptRuleSetMetadata</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rrsmName</a> - The name of the receipt rule set. The name must:
--   * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.),
--   underscores (_), or dashes (-). * Start and end with a letter or
--   number. * Contain less than 64 characters.</li>
--   <li><a>rrsmCreatedTimestamp</a> - The date and time the receipt rule
--   set was created.</li>
--   </ul>
receiptRuleSetMetadata :: ReceiptRuleSetMetadata

-- | The name of the receipt rule set. The name must: * Contain only ASCII
--   letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or
--   dashes (-). * Start and end with a letter or number. * Contain less
--   than 64 characters.
rrsmName :: Lens' ReceiptRuleSetMetadata (Maybe Text)

-- | The date and time the receipt rule set was created.
rrsmCreatedTimestamp :: Lens' ReceiptRuleSetMetadata (Maybe UTCTime)

-- | Recipient-related information to include in the Delivery Status
--   Notification (DSN) when an email that Amazon SES receives on your
--   behalf bounces.
--   
--   For information about receiving email through Amazon SES, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>recipientDsnFields</a> smart constructor.
data RecipientDsnFields

-- | Creates a value of <a>RecipientDsnFields</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rdfDiagnosticCode</a> - An extended explanation of what went
--   wrong; this is usually an SMTP response. See <a>RFC 3463</a> for the
--   correct formatting of this parameter.</li>
--   <li><a>rdfRemoteMta</a> - The MTA to which the remote MTA attempted to
--   deliver the message, formatted as specified in <a>RFC 3464</a>
--   (<tt>mta-name-type; mta-name</tt> ). This parameter typically applies
--   only to propagating synchronous bounces.</li>
--   <li><a>rdfFinalRecipient</a> - The email address to which the message
--   was ultimately delivered. This corresponds to the
--   <tt>Final-Recipient</tt> in the DSN. If not specified,
--   <tt>FinalRecipient</tt> will be set to the <tt>Recipient</tt>
--   specified in the <tt>BouncedRecipientInfo</tt> structure. Either
--   <tt>FinalRecipient</tt> or the recipient in
--   <tt>BouncedRecipientInfo</tt> must be a recipient of the original
--   bounced message.</li>
--   <li><a>rdfExtensionFields</a> - Additional X-headers to include in the
--   DSN.</li>
--   <li><a>rdfLastAttemptDate</a> - The time the final delivery attempt
--   was made, in <a>RFC 822</a> date-time format.</li>
--   <li><a>rdfAction</a> - The action performed by the reporting mail
--   transfer agent (MTA) as a result of its attempt to deliver the message
--   to the recipient address. This is required by <a>RFC 3464</a> .</li>
--   <li><a>rdfStatus</a> - The status code that indicates what went wrong.
--   This is required by <a>RFC 3464</a> .</li>
--   </ul>
recipientDsnFields :: DsnAction -> Text -> RecipientDsnFields

-- | An extended explanation of what went wrong; this is usually an SMTP
--   response. See <a>RFC 3463</a> for the correct formatting of this
--   parameter.
rdfDiagnosticCode :: Lens' RecipientDsnFields (Maybe Text)

-- | The MTA to which the remote MTA attempted to deliver the message,
--   formatted as specified in <a>RFC 3464</a> (<tt>mta-name-type;
--   mta-name</tt> ). This parameter typically applies only to propagating
--   synchronous bounces.
rdfRemoteMta :: Lens' RecipientDsnFields (Maybe Text)

-- | The email address to which the message was ultimately delivered. This
--   corresponds to the <tt>Final-Recipient</tt> in the DSN. If not
--   specified, <tt>FinalRecipient</tt> will be set to the
--   <tt>Recipient</tt> specified in the <tt>BouncedRecipientInfo</tt>
--   structure. Either <tt>FinalRecipient</tt> or the recipient in
--   <tt>BouncedRecipientInfo</tt> must be a recipient of the original
--   bounced message.
rdfFinalRecipient :: Lens' RecipientDsnFields (Maybe Text)

-- | Additional X-headers to include in the DSN.
rdfExtensionFields :: Lens' RecipientDsnFields [ExtensionField]

-- | The time the final delivery attempt was made, in <a>RFC 822</a>
--   date-time format.
rdfLastAttemptDate :: Lens' RecipientDsnFields (Maybe UTCTime)

-- | The action performed by the reporting mail transfer agent (MTA) as a
--   result of its attempt to deliver the message to the recipient address.
--   This is required by <a>RFC 3464</a> .
rdfAction :: Lens' RecipientDsnFields DsnAction

-- | The status code that indicates what went wrong. This is required by
--   <a>RFC 3464</a> .
rdfStatus :: Lens' RecipientDsnFields Text

-- | When included in a receipt rule, this action saves the received
--   message to an Amazon Simple Storage Service (Amazon S3) bucket and,
--   optionally, publishes a notification to Amazon Simple Notification
--   Service (Amazon SNS).
--   
--   To enable Amazon SES to write emails to your Amazon S3 bucket, use an
--   AWS KMS key to encrypt your emails, or publish to an Amazon SNS topic
--   of another account, Amazon SES must have permission to access those
--   resources. For information about giving permissions, see the <a>Amazon
--   SES Developer Guide</a> .
--   
--   For information about specifying Amazon S3 actions in receipt rules,
--   see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>s3Action</a> smart constructor.
data S3Action

-- | Creates a value of <a>S3Action</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>s3KMSKeyARN</a> - The customer master key that Amazon SES
--   should use to encrypt your emails before saving them to the Amazon S3
--   bucket. You can use the default master key or a custom master key you
--   created in AWS KMS as follows: * To use the default master key,
--   provide an ARN in the form of
--   <tt>arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias<i>aws</i>ses</tt>
--   . For example, if your AWS account ID is 123456789012 and you want to
--   use the default master key in the US West (Oregon) region, the ARN of
--   the default master key would be
--   <tt>arn:aws:kms:us-west-2:123456789012:alias<i>aws</i>ses</tt> . If
--   you use the default master key, you don't need to perform any extra
--   steps to give Amazon SES permission to use the key. * To use a custom
--   master key you created in AWS KMS, provide the ARN of the master key
--   and ensure that you add a statement to your key's policy to give
--   Amazon SES permission to use it. For more information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> . For more
--   information about key policies, see the <a>AWS KMS Developer Guide</a>
--   . If you do not specify a master key, Amazon SES will not encrypt your
--   emails. <i>Important:</i> Your mail is encrypted by Amazon SES using
--   the Amazon S3 encryption client before the mail is submitted to Amazon
--   S3 for storage. It is not encrypted using Amazon S3 server-side
--   encryption. This means that you must use the Amazon S3 encryption
--   client to decrypt the email after retrieving it from Amazon S3, as the
--   service has no access to use your AWS KMS keys for decryption. This
--   encryption client is currently available with the <a>AWS Java SDK</a>
--   and <a>AWS Ruby SDK</a> only. For more information about client-side
--   encryption using AWS KMS master keys, see the <a>Amazon S3 Developer
--   Guide</a> .</li>
--   <li><a>s3TopicARN</a> - The ARN of the Amazon SNS topic to notify when
--   the message is saved to the Amazon S3 bucket. An example of an Amazon
--   SNS topic ARN is <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> .
--   For more information about Amazon SNS topics, see the <a>Amazon SNS
--   Developer Guide</a> .</li>
--   <li><a>s3ObjectKeyPrefix</a> - The key prefix of the Amazon S3 bucket.
--   The key prefix is similar to a directory name that enables you to
--   store similar data under the same directory in a bucket.</li>
--   <li><a>s3BucketName</a> - The name of the Amazon S3 bucket to which to
--   save the received email.</li>
--   </ul>
s3Action :: Text -> S3Action

-- | The customer master key that Amazon SES should use to encrypt your
--   emails before saving them to the Amazon S3 bucket. You can use the
--   default master key or a custom master key you created in AWS KMS as
--   follows: * To use the default master key, provide an ARN in the form
--   of
--   <tt>arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias<i>aws</i>ses</tt>
--   . For example, if your AWS account ID is 123456789012 and you want to
--   use the default master key in the US West (Oregon) region, the ARN of
--   the default master key would be
--   <tt>arn:aws:kms:us-west-2:123456789012:alias<i>aws</i>ses</tt> . If
--   you use the default master key, you don't need to perform any extra
--   steps to give Amazon SES permission to use the key. * To use a custom
--   master key you created in AWS KMS, provide the ARN of the master key
--   and ensure that you add a statement to your key's policy to give
--   Amazon SES permission to use it. For more information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> . For more
--   information about key policies, see the <a>AWS KMS Developer Guide</a>
--   . If you do not specify a master key, Amazon SES will not encrypt your
--   emails. <i>Important:</i> Your mail is encrypted by Amazon SES using
--   the Amazon S3 encryption client before the mail is submitted to Amazon
--   S3 for storage. It is not encrypted using Amazon S3 server-side
--   encryption. This means that you must use the Amazon S3 encryption
--   client to decrypt the email after retrieving it from Amazon S3, as the
--   service has no access to use your AWS KMS keys for decryption. This
--   encryption client is currently available with the <a>AWS Java SDK</a>
--   and <a>AWS Ruby SDK</a> only. For more information about client-side
--   encryption using AWS KMS master keys, see the <a>Amazon S3 Developer
--   Guide</a> .
s3KMSKeyARN :: Lens' S3Action (Maybe Text)

-- | The ARN of the Amazon SNS topic to notify when the message is saved to
--   the Amazon S3 bucket. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
s3TopicARN :: Lens' S3Action (Maybe Text)

-- | The key prefix of the Amazon S3 bucket. The key prefix is similar to a
--   directory name that enables you to store similar data under the same
--   directory in a bucket.
s3ObjectKeyPrefix :: Lens' S3Action (Maybe Text)

-- | The name of the Amazon S3 bucket to which to save the received email.
s3BucketName :: Lens' S3Action Text

-- | When included in a receipt rule, this action publishes a notification
--   to Amazon Simple Notification Service (Amazon SNS). This action
--   includes a complete copy of the email content in the Amazon SNS
--   notifications. Amazon SNS notifications for all other actions simply
--   provide information about the email. They do not include the email
--   content itself.
--   
--   If you own the Amazon SNS topic, you don't need to do anything to give
--   Amazon SES permission to publish emails to it. However, if you don't
--   own the Amazon SNS topic, you need to attach a policy to the topic to
--   give Amazon SES permissions to access it. For information about giving
--   permissions, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>Important:</i> You can only publish emails that are 150 KB or less
--   (including the header) to Amazon SNS. Larger emails will bounce. If
--   you anticipate emails larger than 150 KB, use the S3 action instead.
--   
--   For information about using a receipt rule to publish an Amazon SNS
--   notification, see the <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>snsAction</a> smart constructor.
data SNSAction

-- | Creates a value of <a>SNSAction</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>saEncoding</a> - The encoding to use for the email within the
--   Amazon SNS notification. UTF-8 is easier to use, but may not preserve
--   all special characters when a message was encoded with a different
--   encoding format. Base64 preserves all special characters. The default
--   value is UTF-8.</li>
--   <li><a>saTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   </ul>
snsAction :: Text -> SNSAction

-- | The encoding to use for the email within the Amazon SNS notification.
--   UTF-8 is easier to use, but may not preserve all special characters
--   when a message was encoded with a different encoding format. Base64
--   preserves all special characters. The default value is UTF-8.
saEncoding :: Lens' SNSAction (Maybe SNSActionEncoding)

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An
--   example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
saTopicARN :: Lens' SNSAction Text

-- | Represents sending statistics data. Each <tt>SendDataPoint</tt>
--   contains statistics for a 15-minute period of sending activity.
--   
--   <i>See:</i> <a>sendDataPoint</a> smart constructor.
data SendDataPoint

-- | Creates a value of <a>SendDataPoint</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sdpRejects</a> - Number of emails rejected by Amazon SES.</li>
--   <li><a>sdpComplaints</a> - Number of unwanted emails that were
--   rejected by recipients.</li>
--   <li><a>sdpDeliveryAttempts</a> - Number of emails that have been
--   sent.</li>
--   <li><a>sdpBounces</a> - Number of emails that have bounced.</li>
--   <li><a>sdpTimestamp</a> - Time of the data point.</li>
--   </ul>
sendDataPoint :: SendDataPoint

-- | Number of emails rejected by Amazon SES.
sdpRejects :: Lens' SendDataPoint (Maybe Integer)

-- | Number of unwanted emails that were rejected by recipients.
sdpComplaints :: Lens' SendDataPoint (Maybe Integer)

-- | Number of emails that have been sent.
sdpDeliveryAttempts :: Lens' SendDataPoint (Maybe Integer)

-- | Number of emails that have bounced.
sdpBounces :: Lens' SendDataPoint (Maybe Integer)

-- | Time of the data point.
sdpTimestamp :: Lens' SendDataPoint (Maybe UTCTime)

-- | When included in a receipt rule, this action terminates the evaluation
--   of the receipt rule set and, optionally, publishes a notification to
--   Amazon Simple Notification Service (Amazon SNS).
--   
--   For information about setting a stop action in a receipt rule, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>stopAction</a> smart constructor.
data StopAction

-- | Creates a value of <a>StopAction</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify when the stop action is taken. An example of an
--   Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   <li><a>sScope</a> - The scope to which the Stop action applies. That
--   is, what is being stopped.</li>
--   </ul>
stopAction :: StopScope -> StopAction

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
--   the stop action is taken. An example of an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
sTopicARN :: Lens' StopAction (Maybe Text)

-- | The scope to which the Stop action applies. That is, what is being
--   stopped.
sScope :: Lens' StopAction StopScope

-- | When included in a receipt rule, this action calls Amazon WorkMail
--   and, optionally, publishes a notification to Amazon Simple
--   Notification Service (Amazon SNS). You will typically not use this
--   action directly because Amazon WorkMail adds the rule automatically
--   during its setup procedure.
--   
--   For information using a receipt rule to call Amazon WorkMail, see the
--   <a>Amazon SES Developer Guide</a> .
--   
--   <i>See:</i> <a>workmailAction</a> smart constructor.
data WorkmailAction

-- | Creates a value of <a>WorkmailAction</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>waTopicARN</a> - The Amazon Resource Name (ARN) of the Amazon
--   SNS topic to notify when the WorkMail action is called. An example of
--   an Amazon SNS topic ARN is
--   <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .</li>
--   <li><a>waOrganizationARN</a> - The ARN of the Amazon WorkMail
--   organization. An example of an Amazon WorkMail organization ARN is
--   <tt>arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7</tt>
--   . For information about Amazon WorkMail organizations, see the
--   <a>Amazon WorkMail Administrator Guide</a> .</li>
--   </ul>
workmailAction :: Text -> WorkmailAction

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when
--   the WorkMail action is called. An example of an Amazon SNS topic ARN
--   is <tt>arn:aws:sns:us-west-2:123456789012:MyTopic</tt> . For more
--   information about Amazon SNS topics, see the <a>Amazon SNS Developer
--   Guide</a> .
waTopicARN :: Lens' WorkmailAction (Maybe Text)

-- | The ARN of the Amazon WorkMail organization. An example of an Amazon
--   WorkMail organization ARN is
--   <tt>arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7</tt>
--   . For information about Amazon WorkMail organizations, see the
--   <a>Amazon WorkMail Administrator Guide</a> .
waOrganizationARN :: Lens' WorkmailAction Text
