packages feed

amazonka-ses 1.4.5 → 1.5.0

raw patch · 91 files changed

+6245/−3421 lines, 91 filesdep ~amazonka-coredep ~amazonka-sesdep ~amazonka-testPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core, amazonka-ses, amazonka-test

API changes (from Hackage documentation)

- Network.AWS.SES: BTContentRejected :: BounceType
- Network.AWS.SES: BTDoesNotExist :: BounceType
- Network.AWS.SES: BTExceededQuota :: BounceType
- Network.AWS.SES: BTMessageTooLarge :: BounceType
- Network.AWS.SES: BTTemporaryFailure :: BounceType
- Network.AWS.SES: BTUndefined :: BounceType
- Network.AWS.SES: NotStarted :: VerificationStatus
- Network.AWS.SES: Pending :: VerificationStatus
- Network.AWS.SES.Types: BTContentRejected :: BounceType
- Network.AWS.SES.Types: BTDoesNotExist :: BounceType
- Network.AWS.SES.Types: BTExceededQuota :: BounceType
- Network.AWS.SES.Types: BTMessageTooLarge :: BounceType
- Network.AWS.SES.Types: BTTemporaryFailure :: BounceType
- Network.AWS.SES.Types: BTUndefined :: BounceType
- Network.AWS.SES.Types: NotStarted :: VerificationStatus
- Network.AWS.SES.Types: Pending :: VerificationStatus
+ Network.AWS.SES: AccountDailyQuotaExceeded :: BulkEmailStatus
+ Network.AWS.SES: AccountSuspended :: BulkEmailStatus
+ Network.AWS.SES: AccountThrottled :: BulkEmailStatus
+ Network.AWS.SES: ConfigurationSetDoesNotExist :: BulkEmailStatus
+ Network.AWS.SES: ContentRejected :: BounceType
+ Network.AWS.SES: DoesNotExist :: BounceType
+ Network.AWS.SES: ETClick :: EventType
+ Network.AWS.SES: ETOpen :: EventType
+ Network.AWS.SES: ETRenderingFailure :: EventType
+ Network.AWS.SES: ExceededQuota :: BounceType
+ Network.AWS.SES: InvalidParameterValue :: BulkEmailStatus
+ Network.AWS.SES: InvalidSendingPoolName :: BulkEmailStatus
+ Network.AWS.SES: LinkTag :: DimensionValueSource
+ Network.AWS.SES: MailFromDomainNotVerified :: BulkEmailStatus
+ Network.AWS.SES: MessageRejected :: BulkEmailStatus
+ Network.AWS.SES: MessageTooLarge :: BounceType
+ Network.AWS.SES: TemplateDoesNotExist :: BulkEmailStatus
+ Network.AWS.SES: TrackingOptions :: ConfigurationSetAttribute
+ Network.AWS.SES: TransientFailure :: BulkEmailStatus
+ Network.AWS.SES: Undefined :: BounceType
+ Network.AWS.SES: VSFailed :: VerificationStatus
+ Network.AWS.SES: VSNotStarted :: VerificationStatus
+ Network.AWS.SES: VSPending :: VerificationStatus
+ Network.AWS.SES: VSSuccess :: VerificationStatus
+ Network.AWS.SES: VSTemporaryFailure :: VerificationStatus
+ Network.AWS.SES: _InvalidRenderingParameterException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES: _InvalidSNSDestinationException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES: _InvalidTemplateException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES: _InvalidTrackingOptionsException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES: _MissingRenderingAttributeException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES: _TemplateDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES: _TrackingOptionsAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES: _TrackingOptionsDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES: bedDestination :: Lens' BulkEmailDestination Destination
+ Network.AWS.SES: bedReplacementTags :: Lens' BulkEmailDestination [MessageTag]
+ Network.AWS.SES: bedReplacementTemplateData :: Lens' BulkEmailDestination (Maybe Text)
+ Network.AWS.SES: bedsError :: Lens' BulkEmailDestinationStatus (Maybe Text)
+ Network.AWS.SES: bedsMessageId :: Lens' BulkEmailDestinationStatus (Maybe Text)
+ Network.AWS.SES: bedsStatus :: Lens' BulkEmailDestinationStatus (Maybe BulkEmailStatus)
+ Network.AWS.SES: bulkEmailDestination :: Destination -> BulkEmailDestination
+ Network.AWS.SES: bulkEmailDestinationStatus :: BulkEmailDestinationStatus
+ Network.AWS.SES: data BulkEmailDestination
+ Network.AWS.SES: data BulkEmailDestinationStatus
+ Network.AWS.SES: data BulkEmailStatus
+ Network.AWS.SES: data SNSDestination
+ Network.AWS.SES: data Template
+ Network.AWS.SES: data TemplateMetadata
+ Network.AWS.SES: data TrackingOptions
+ Network.AWS.SES: edSNSDestination :: Lens' EventDestination (Maybe SNSDestination)
+ Network.AWS.SES: sdTopicARN :: Lens' SNSDestination Text
+ Network.AWS.SES: snsDestination :: Text -> SNSDestination
+ Network.AWS.SES: tHTMLPart :: Lens' Template (Maybe Text)
+ Network.AWS.SES: tSubjectPart :: Lens' Template (Maybe Text)
+ Network.AWS.SES: tTemplateName :: Lens' Template Text
+ Network.AWS.SES: tTextPart :: Lens' Template (Maybe Text)
+ Network.AWS.SES: template :: Text -> Template
+ Network.AWS.SES: templateMetadata :: TemplateMetadata
+ Network.AWS.SES: tmCreatedTimestamp :: Lens' TemplateMetadata (Maybe UTCTime)
+ Network.AWS.SES: tmName :: Lens' TemplateMetadata (Maybe Text)
+ Network.AWS.SES: toCustomRedirectDomain :: Lens' TrackingOptions (Maybe Text)
+ Network.AWS.SES: trackingOptions :: TrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: ccstoConfigurationSetName :: Lens' CreateConfigurationSetTrackingOptions Text
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: ccstoTrackingOptions :: Lens' CreateConfigurationSetTrackingOptions TrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: ccstorsResponseStatus :: Lens' CreateConfigurationSetTrackingOptionsResponse Int
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: createConfigurationSetTrackingOptions :: Text -> TrackingOptions -> CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: createConfigurationSetTrackingOptionsResponse :: Int -> CreateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: data CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: data CreateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance Control.DeepSeq.NFData Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance Control.DeepSeq.NFData Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance Data.Data.Data Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance Data.Data.Data Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance Data.Hashable.Class.Hashable Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance GHC.Classes.Eq Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance GHC.Classes.Eq Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance GHC.Generics.Generic Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance GHC.Generics.Generic Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance GHC.Read.Read Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance GHC.Read.Read Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance GHC.Show.Show Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance GHC.Show.Show Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateConfigurationSetTrackingOptions: instance Network.AWS.Types.AWSRequest Network.AWS.SES.CreateConfigurationSetTrackingOptions.CreateConfigurationSetTrackingOptions
+ Network.AWS.SES.CreateTemplate: createTemplate :: Template -> CreateTemplate
+ Network.AWS.SES.CreateTemplate: createTemplateResponse :: Int -> CreateTemplateResponse
+ Network.AWS.SES.CreateTemplate: ctTemplate :: Lens' CreateTemplate Template
+ Network.AWS.SES.CreateTemplate: ctrsResponseStatus :: Lens' CreateTemplateResponse Int
+ Network.AWS.SES.CreateTemplate: data CreateTemplate
+ Network.AWS.SES.CreateTemplate: data CreateTemplateResponse
+ Network.AWS.SES.CreateTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.CreateTemplate.CreateTemplateResponse
+ Network.AWS.SES.CreateTemplate: instance Data.Data.Data Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance Data.Data.Data Network.AWS.SES.CreateTemplate.CreateTemplateResponse
+ Network.AWS.SES.CreateTemplate: instance Data.Hashable.Class.Hashable Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance GHC.Classes.Eq Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance GHC.Classes.Eq Network.AWS.SES.CreateTemplate.CreateTemplateResponse
+ Network.AWS.SES.CreateTemplate: instance GHC.Generics.Generic Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance GHC.Generics.Generic Network.AWS.SES.CreateTemplate.CreateTemplateResponse
+ Network.AWS.SES.CreateTemplate: instance GHC.Read.Read Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance GHC.Read.Read Network.AWS.SES.CreateTemplate.CreateTemplateResponse
+ Network.AWS.SES.CreateTemplate: instance GHC.Show.Show Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance GHC.Show.Show Network.AWS.SES.CreateTemplate.CreateTemplateResponse
+ Network.AWS.SES.CreateTemplate: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.CreateTemplate: instance Network.AWS.Types.AWSRequest Network.AWS.SES.CreateTemplate.CreateTemplate
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: data DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: data DeleteConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: dcstoConfigurationSetName :: Lens' DeleteConfigurationSetTrackingOptions Text
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: dcstorsResponseStatus :: Lens' DeleteConfigurationSetTrackingOptionsResponse Int
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: deleteConfigurationSetTrackingOptions :: Text -> DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: deleteConfigurationSetTrackingOptionsResponse :: Int -> DeleteConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance Control.DeepSeq.NFData Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance Control.DeepSeq.NFData Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance Data.Data.Data Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance Data.Data.Data Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance GHC.Classes.Eq Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance GHC.Classes.Eq Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance GHC.Generics.Generic Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance GHC.Generics.Generic Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance GHC.Read.Read Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance GHC.Read.Read Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance GHC.Show.Show Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance GHC.Show.Show Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteConfigurationSetTrackingOptions: instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteConfigurationSetTrackingOptions.DeleteConfigurationSetTrackingOptions
+ Network.AWS.SES.DeleteTemplate: data DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: data DeleteTemplateResponse
+ Network.AWS.SES.DeleteTemplate: deleteTemplate :: Text -> DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: deleteTemplateResponse :: Int -> DeleteTemplateResponse
+ Network.AWS.SES.DeleteTemplate: dtTemplateName :: Lens' DeleteTemplate Text
+ Network.AWS.SES.DeleteTemplate: dtrsResponseStatus :: Lens' DeleteTemplateResponse Int
+ Network.AWS.SES.DeleteTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.DeleteTemplate.DeleteTemplateResponse
+ Network.AWS.SES.DeleteTemplate: instance Data.Data.Data Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance Data.Data.Data Network.AWS.SES.DeleteTemplate.DeleteTemplateResponse
+ Network.AWS.SES.DeleteTemplate: instance Data.Hashable.Class.Hashable Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance GHC.Classes.Eq Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance GHC.Classes.Eq Network.AWS.SES.DeleteTemplate.DeleteTemplateResponse
+ Network.AWS.SES.DeleteTemplate: instance GHC.Generics.Generic Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance GHC.Generics.Generic Network.AWS.SES.DeleteTemplate.DeleteTemplateResponse
+ Network.AWS.SES.DeleteTemplate: instance GHC.Read.Read Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance GHC.Read.Read Network.AWS.SES.DeleteTemplate.DeleteTemplateResponse
+ Network.AWS.SES.DeleteTemplate: instance GHC.Show.Show Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance GHC.Show.Show Network.AWS.SES.DeleteTemplate.DeleteTemplateResponse
+ Network.AWS.SES.DeleteTemplate: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DeleteTemplate: instance Network.AWS.Types.AWSRequest Network.AWS.SES.DeleteTemplate.DeleteTemplate
+ Network.AWS.SES.DescribeConfigurationSet: dcsrsTrackingOptions :: Lens' DescribeConfigurationSetResponse (Maybe TrackingOptions)
+ Network.AWS.SES.GetTemplate: data GetTemplate
+ Network.AWS.SES.GetTemplate: data GetTemplateResponse
+ Network.AWS.SES.GetTemplate: getTemplate :: Text -> GetTemplate
+ Network.AWS.SES.GetTemplate: getTemplateResponse :: Int -> GetTemplateResponse
+ Network.AWS.SES.GetTemplate: gtTemplateName :: Lens' GetTemplate Text
+ Network.AWS.SES.GetTemplate: gtrsResponseStatus :: Lens' GetTemplateResponse Int
+ Network.AWS.SES.GetTemplate: gtrsTemplate :: Lens' GetTemplateResponse (Maybe Template)
+ Network.AWS.SES.GetTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.GetTemplate.GetTemplateResponse
+ Network.AWS.SES.GetTemplate: instance Data.Data.Data Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance Data.Data.Data Network.AWS.SES.GetTemplate.GetTemplateResponse
+ Network.AWS.SES.GetTemplate: instance Data.Hashable.Class.Hashable Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance GHC.Classes.Eq Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance GHC.Classes.Eq Network.AWS.SES.GetTemplate.GetTemplateResponse
+ Network.AWS.SES.GetTemplate: instance GHC.Generics.Generic Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance GHC.Generics.Generic Network.AWS.SES.GetTemplate.GetTemplateResponse
+ Network.AWS.SES.GetTemplate: instance GHC.Read.Read Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance GHC.Read.Read Network.AWS.SES.GetTemplate.GetTemplateResponse
+ Network.AWS.SES.GetTemplate: instance GHC.Show.Show Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance GHC.Show.Show Network.AWS.SES.GetTemplate.GetTemplateResponse
+ Network.AWS.SES.GetTemplate: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.GetTemplate: instance Network.AWS.Types.AWSRequest Network.AWS.SES.GetTemplate.GetTemplate
+ Network.AWS.SES.ListTemplates: data ListTemplates
+ Network.AWS.SES.ListTemplates: data ListTemplatesResponse
+ Network.AWS.SES.ListTemplates: instance Control.DeepSeq.NFData Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance Control.DeepSeq.NFData Network.AWS.SES.ListTemplates.ListTemplatesResponse
+ Network.AWS.SES.ListTemplates: instance Data.Data.Data Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance Data.Data.Data Network.AWS.SES.ListTemplates.ListTemplatesResponse
+ Network.AWS.SES.ListTemplates: instance Data.Hashable.Class.Hashable Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance GHC.Classes.Eq Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance GHC.Classes.Eq Network.AWS.SES.ListTemplates.ListTemplatesResponse
+ Network.AWS.SES.ListTemplates: instance GHC.Generics.Generic Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance GHC.Generics.Generic Network.AWS.SES.ListTemplates.ListTemplatesResponse
+ Network.AWS.SES.ListTemplates: instance GHC.Read.Read Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance GHC.Read.Read Network.AWS.SES.ListTemplates.ListTemplatesResponse
+ Network.AWS.SES.ListTemplates: instance GHC.Show.Show Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance GHC.Show.Show Network.AWS.SES.ListTemplates.ListTemplatesResponse
+ Network.AWS.SES.ListTemplates: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: instance Network.AWS.Types.AWSRequest Network.AWS.SES.ListTemplates.ListTemplates
+ Network.AWS.SES.ListTemplates: listTemplates :: ListTemplates
+ Network.AWS.SES.ListTemplates: listTemplatesResponse :: Int -> ListTemplatesResponse
+ Network.AWS.SES.ListTemplates: ltMaxItems :: Lens' ListTemplates (Maybe Int)
+ Network.AWS.SES.ListTemplates: ltNextToken :: Lens' ListTemplates (Maybe Text)
+ Network.AWS.SES.ListTemplates: ltrsNextToken :: Lens' ListTemplatesResponse (Maybe Text)
+ Network.AWS.SES.ListTemplates: ltrsResponseStatus :: Lens' ListTemplatesResponse Int
+ Network.AWS.SES.ListTemplates: ltrsTemplatesMetadata :: Lens' ListTemplatesResponse [TemplateMetadata]
+ Network.AWS.SES.SendBulkTemplatedEmail: data SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: data SendBulkTemplatedEmailResponse
+ Network.AWS.SES.SendBulkTemplatedEmail: instance Control.DeepSeq.NFData Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance Control.DeepSeq.NFData Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmailResponse
+ Network.AWS.SES.SendBulkTemplatedEmail: instance Data.Data.Data Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance Data.Data.Data Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmailResponse
+ Network.AWS.SES.SendBulkTemplatedEmail: instance Data.Hashable.Class.Hashable Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance GHC.Classes.Eq Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance GHC.Classes.Eq Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmailResponse
+ Network.AWS.SES.SendBulkTemplatedEmail: instance GHC.Generics.Generic Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance GHC.Generics.Generic Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmailResponse
+ Network.AWS.SES.SendBulkTemplatedEmail: instance GHC.Read.Read Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance GHC.Read.Read Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmailResponse
+ Network.AWS.SES.SendBulkTemplatedEmail: instance GHC.Show.Show Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance GHC.Show.Show Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmailResponse
+ Network.AWS.SES.SendBulkTemplatedEmail: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: instance Network.AWS.Types.AWSRequest Network.AWS.SES.SendBulkTemplatedEmail.SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteConfigurationSetName :: Lens' SendBulkTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteDefaultTags :: Lens' SendBulkTemplatedEmail [MessageTag]
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteDefaultTemplateData :: Lens' SendBulkTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteDestinations :: Lens' SendBulkTemplatedEmail [BulkEmailDestination]
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteReplyToAddresses :: Lens' SendBulkTemplatedEmail [Text]
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteReturnPath :: Lens' SendBulkTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteReturnPathARN :: Lens' SendBulkTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteSource :: Lens' SendBulkTemplatedEmail Text
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteSourceARN :: Lens' SendBulkTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteTemplate :: Lens' SendBulkTemplatedEmail Text
+ Network.AWS.SES.SendBulkTemplatedEmail: sbteTemplateARN :: Lens' SendBulkTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendBulkTemplatedEmail: sbtersResponseStatus :: Lens' SendBulkTemplatedEmailResponse Int
+ Network.AWS.SES.SendBulkTemplatedEmail: sbtersStatus :: Lens' SendBulkTemplatedEmailResponse [BulkEmailDestinationStatus]
+ Network.AWS.SES.SendBulkTemplatedEmail: sendBulkTemplatedEmail :: Text -> Text -> SendBulkTemplatedEmail
+ Network.AWS.SES.SendBulkTemplatedEmail: sendBulkTemplatedEmailResponse :: Int -> SendBulkTemplatedEmailResponse
+ Network.AWS.SES.SendTemplatedEmail: data SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: data SendTemplatedEmailResponse
+ Network.AWS.SES.SendTemplatedEmail: instance Control.DeepSeq.NFData Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance Control.DeepSeq.NFData Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmailResponse
+ Network.AWS.SES.SendTemplatedEmail: instance Data.Data.Data Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance Data.Data.Data Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmailResponse
+ Network.AWS.SES.SendTemplatedEmail: instance Data.Hashable.Class.Hashable Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance GHC.Classes.Eq Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance GHC.Classes.Eq Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmailResponse
+ Network.AWS.SES.SendTemplatedEmail: instance GHC.Generics.Generic Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance GHC.Generics.Generic Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmailResponse
+ Network.AWS.SES.SendTemplatedEmail: instance GHC.Read.Read Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance GHC.Read.Read Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmailResponse
+ Network.AWS.SES.SendTemplatedEmail: instance GHC.Show.Show Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance GHC.Show.Show Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmailResponse
+ Network.AWS.SES.SendTemplatedEmail: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: instance Network.AWS.Types.AWSRequest Network.AWS.SES.SendTemplatedEmail.SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: sendTemplatedEmail :: Text -> Destination -> Text -> Text -> SendTemplatedEmail
+ Network.AWS.SES.SendTemplatedEmail: sendTemplatedEmailResponse :: Int -> Text -> SendTemplatedEmailResponse
+ Network.AWS.SES.SendTemplatedEmail: steConfigurationSetName :: Lens' SendTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendTemplatedEmail: steDestination :: Lens' SendTemplatedEmail Destination
+ Network.AWS.SES.SendTemplatedEmail: steReplyToAddresses :: Lens' SendTemplatedEmail [Text]
+ Network.AWS.SES.SendTemplatedEmail: steReturnPath :: Lens' SendTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendTemplatedEmail: steReturnPathARN :: Lens' SendTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendTemplatedEmail: steSource :: Lens' SendTemplatedEmail Text
+ Network.AWS.SES.SendTemplatedEmail: steSourceARN :: Lens' SendTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendTemplatedEmail: steTags :: Lens' SendTemplatedEmail [MessageTag]
+ Network.AWS.SES.SendTemplatedEmail: steTemplate :: Lens' SendTemplatedEmail Text
+ Network.AWS.SES.SendTemplatedEmail: steTemplateARN :: Lens' SendTemplatedEmail (Maybe Text)
+ Network.AWS.SES.SendTemplatedEmail: steTemplateData :: Lens' SendTemplatedEmail Text
+ Network.AWS.SES.SendTemplatedEmail: stersMessageId :: Lens' SendTemplatedEmailResponse Text
+ Network.AWS.SES.SendTemplatedEmail: stersResponseStatus :: Lens' SendTemplatedEmailResponse Int
+ Network.AWS.SES.TestRenderTemplate: data TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: data TestRenderTemplateResponse
+ Network.AWS.SES.TestRenderTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.TestRenderTemplate.TestRenderTemplateResponse
+ Network.AWS.SES.TestRenderTemplate: instance Data.Data.Data Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance Data.Data.Data Network.AWS.SES.TestRenderTemplate.TestRenderTemplateResponse
+ Network.AWS.SES.TestRenderTemplate: instance Data.Hashable.Class.Hashable Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance GHC.Classes.Eq Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance GHC.Classes.Eq Network.AWS.SES.TestRenderTemplate.TestRenderTemplateResponse
+ Network.AWS.SES.TestRenderTemplate: instance GHC.Generics.Generic Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance GHC.Generics.Generic Network.AWS.SES.TestRenderTemplate.TestRenderTemplateResponse
+ Network.AWS.SES.TestRenderTemplate: instance GHC.Read.Read Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance GHC.Read.Read Network.AWS.SES.TestRenderTemplate.TestRenderTemplateResponse
+ Network.AWS.SES.TestRenderTemplate: instance GHC.Show.Show Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance GHC.Show.Show Network.AWS.SES.TestRenderTemplate.TestRenderTemplateResponse
+ Network.AWS.SES.TestRenderTemplate: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: instance Network.AWS.Types.AWSRequest Network.AWS.SES.TestRenderTemplate.TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: testRenderTemplate :: Text -> Text -> TestRenderTemplate
+ Network.AWS.SES.TestRenderTemplate: testRenderTemplateResponse :: Int -> TestRenderTemplateResponse
+ Network.AWS.SES.TestRenderTemplate: trtTemplateData :: Lens' TestRenderTemplate Text
+ Network.AWS.SES.TestRenderTemplate: trtTemplateName :: Lens' TestRenderTemplate Text
+ Network.AWS.SES.TestRenderTemplate: trtrsRenderedTemplate :: Lens' TestRenderTemplateResponse (Maybe Text)
+ Network.AWS.SES.TestRenderTemplate: trtrsResponseStatus :: Lens' TestRenderTemplateResponse Int
+ Network.AWS.SES.Types: AccountDailyQuotaExceeded :: BulkEmailStatus
+ Network.AWS.SES.Types: AccountSuspended :: BulkEmailStatus
+ Network.AWS.SES.Types: AccountThrottled :: BulkEmailStatus
+ Network.AWS.SES.Types: ConfigurationSetDoesNotExist :: BulkEmailStatus
+ Network.AWS.SES.Types: ContentRejected :: BounceType
+ Network.AWS.SES.Types: DoesNotExist :: BounceType
+ Network.AWS.SES.Types: ETClick :: EventType
+ Network.AWS.SES.Types: ETOpen :: EventType
+ Network.AWS.SES.Types: ETRenderingFailure :: EventType
+ Network.AWS.SES.Types: ExceededQuota :: BounceType
+ Network.AWS.SES.Types: InvalidParameterValue :: BulkEmailStatus
+ Network.AWS.SES.Types: InvalidSendingPoolName :: BulkEmailStatus
+ Network.AWS.SES.Types: LinkTag :: DimensionValueSource
+ Network.AWS.SES.Types: MailFromDomainNotVerified :: BulkEmailStatus
+ Network.AWS.SES.Types: MessageRejected :: BulkEmailStatus
+ Network.AWS.SES.Types: MessageTooLarge :: BounceType
+ Network.AWS.SES.Types: TemplateDoesNotExist :: BulkEmailStatus
+ Network.AWS.SES.Types: TrackingOptions :: ConfigurationSetAttribute
+ Network.AWS.SES.Types: TransientFailure :: BulkEmailStatus
+ Network.AWS.SES.Types: Undefined :: BounceType
+ Network.AWS.SES.Types: VSFailed :: VerificationStatus
+ Network.AWS.SES.Types: VSNotStarted :: VerificationStatus
+ Network.AWS.SES.Types: VSPending :: VerificationStatus
+ Network.AWS.SES.Types: VSSuccess :: VerificationStatus
+ Network.AWS.SES.Types: VSTemporaryFailure :: VerificationStatus
+ Network.AWS.SES.Types: _InvalidRenderingParameterException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES.Types: _InvalidSNSDestinationException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES.Types: _InvalidTemplateException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES.Types: _InvalidTrackingOptionsException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES.Types: _MissingRenderingAttributeException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES.Types: _TemplateDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES.Types: _TrackingOptionsAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES.Types: _TrackingOptionsDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.SES.Types: bedDestination :: Lens' BulkEmailDestination Destination
+ Network.AWS.SES.Types: bedReplacementTags :: Lens' BulkEmailDestination [MessageTag]
+ Network.AWS.SES.Types: bedReplacementTemplateData :: Lens' BulkEmailDestination (Maybe Text)
+ Network.AWS.SES.Types: bedsError :: Lens' BulkEmailDestinationStatus (Maybe Text)
+ Network.AWS.SES.Types: bedsMessageId :: Lens' BulkEmailDestinationStatus (Maybe Text)
+ Network.AWS.SES.Types: bedsStatus :: Lens' BulkEmailDestinationStatus (Maybe BulkEmailStatus)
+ Network.AWS.SES.Types: bulkEmailDestination :: Destination -> BulkEmailDestination
+ Network.AWS.SES.Types: bulkEmailDestinationStatus :: BulkEmailDestinationStatus
+ Network.AWS.SES.Types: data BulkEmailDestination
+ Network.AWS.SES.Types: data BulkEmailDestinationStatus
+ Network.AWS.SES.Types: data BulkEmailStatus
+ Network.AWS.SES.Types: data SNSDestination
+ Network.AWS.SES.Types: data Template
+ Network.AWS.SES.Types: data TemplateMetadata
+ Network.AWS.SES.Types: data TrackingOptions
+ Network.AWS.SES.Types: edSNSDestination :: Lens' EventDestination (Maybe SNSDestination)
+ Network.AWS.SES.Types: sdTopicARN :: Lens' SNSDestination Text
+ Network.AWS.SES.Types: snsDestination :: Text -> SNSDestination
+ Network.AWS.SES.Types: tHTMLPart :: Lens' Template (Maybe Text)
+ Network.AWS.SES.Types: tSubjectPart :: Lens' Template (Maybe Text)
+ Network.AWS.SES.Types: tTemplateName :: Lens' Template Text
+ Network.AWS.SES.Types: tTextPart :: Lens' Template (Maybe Text)
+ Network.AWS.SES.Types: template :: Text -> Template
+ Network.AWS.SES.Types: templateMetadata :: TemplateMetadata
+ Network.AWS.SES.Types: tmCreatedTimestamp :: Lens' TemplateMetadata (Maybe UTCTime)
+ Network.AWS.SES.Types: tmName :: Lens' TemplateMetadata (Maybe Text)
+ Network.AWS.SES.Types: toCustomRedirectDomain :: Lens' TrackingOptions (Maybe Text)
+ Network.AWS.SES.Types: trackingOptions :: TrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: data UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: data UpdateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance Control.DeepSeq.NFData Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance Control.DeepSeq.NFData Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance Data.Data.Data Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance Data.Data.Data Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance Data.Hashable.Class.Hashable Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance GHC.Classes.Eq Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance GHC.Classes.Eq Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance GHC.Generics.Generic Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance GHC.Generics.Generic Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance GHC.Read.Read Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance GHC.Read.Read Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance GHC.Show.Show Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance GHC.Show.Show Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: instance Network.AWS.Types.AWSRequest Network.AWS.SES.UpdateConfigurationSetTrackingOptions.UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: ucstoConfigurationSetName :: Lens' UpdateConfigurationSetTrackingOptions Text
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: ucstoTrackingOptions :: Lens' UpdateConfigurationSetTrackingOptions TrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: ucstorsResponseStatus :: Lens' UpdateConfigurationSetTrackingOptionsResponse Int
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: updateConfigurationSetTrackingOptions :: Text -> TrackingOptions -> UpdateConfigurationSetTrackingOptions
+ Network.AWS.SES.UpdateConfigurationSetTrackingOptions: updateConfigurationSetTrackingOptionsResponse :: Int -> UpdateConfigurationSetTrackingOptionsResponse
+ Network.AWS.SES.UpdateTemplate: data UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: data UpdateTemplateResponse
+ Network.AWS.SES.UpdateTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance Control.DeepSeq.NFData Network.AWS.SES.UpdateTemplate.UpdateTemplateResponse
+ Network.AWS.SES.UpdateTemplate: instance Data.Data.Data Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance Data.Data.Data Network.AWS.SES.UpdateTemplate.UpdateTemplateResponse
+ Network.AWS.SES.UpdateTemplate: instance Data.Hashable.Class.Hashable Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance GHC.Classes.Eq Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance GHC.Classes.Eq Network.AWS.SES.UpdateTemplate.UpdateTemplateResponse
+ Network.AWS.SES.UpdateTemplate: instance GHC.Generics.Generic Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance GHC.Generics.Generic Network.AWS.SES.UpdateTemplate.UpdateTemplateResponse
+ Network.AWS.SES.UpdateTemplate: instance GHC.Read.Read Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance GHC.Read.Read Network.AWS.SES.UpdateTemplate.UpdateTemplateResponse
+ Network.AWS.SES.UpdateTemplate: instance GHC.Show.Show Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance GHC.Show.Show Network.AWS.SES.UpdateTemplate.UpdateTemplateResponse
+ Network.AWS.SES.UpdateTemplate: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance Network.AWS.Data.Path.ToPath Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance Network.AWS.Data.Query.ToQuery Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: instance Network.AWS.Types.AWSRequest Network.AWS.SES.UpdateTemplate.UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: updateTemplate :: Template -> UpdateTemplate
+ Network.AWS.SES.UpdateTemplate: updateTemplateResponse :: Int -> UpdateTemplateResponse
+ Network.AWS.SES.UpdateTemplate: utTemplate :: Lens' UpdateTemplate Template
+ Network.AWS.SES.UpdateTemplate: utrsResponseStatus :: Lens' UpdateTemplateResponse Int
- Network.AWS.SES: Failed :: VerificationStatus
+ Network.AWS.SES: Failed :: BulkEmailStatus
- Network.AWS.SES: Success :: VerificationStatus
+ Network.AWS.SES: Success :: BulkEmailStatus
- Network.AWS.SES: TemporaryFailure :: VerificationStatus
+ Network.AWS.SES: TemporaryFailure :: BounceType
- Network.AWS.SES.Types: Failed :: VerificationStatus
+ Network.AWS.SES.Types: Failed :: BulkEmailStatus
- Network.AWS.SES.Types: Success :: VerificationStatus
+ Network.AWS.SES.Types: Success :: BulkEmailStatus
- Network.AWS.SES.Types: TemporaryFailure :: VerificationStatus
+ Network.AWS.SES.Types: TemporaryFailure :: BounceType

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`1.4.5`+`1.5.0`   ## Description
amazonka-ses.cabal view
@@ -1,13 +1,13 @@ name:                  amazonka-ses-version:               1.4.5+version:               1.5.0 synopsis:              Amazon Simple Email Service SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues-license:               OtherLicense+license:               MPL-2.0 license-file:          LICENSE author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay@gmail.com>-copyright:             Copyright (c) 2013-2016 Brendan Hay+maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>+copyright:             Copyright (c) 2013-2017 Brendan Hay category:              Network, AWS, Cloud, Distributed Computing build-type:            Simple cabal-version:         >= 1.10@@ -29,30 +29,39 @@     to get started.  source-repository head-    type:     git-    location: git://github.com/brendanhay/amazonka.git+    type:              git+    location:          git://github.com/brendanhay/amazonka.git+    subdir:            amazonka-ses  library     default-language:  Haskell2010     hs-source-dirs:    src gen -    ghc-options:       -Wall+    ghc-options:+        -Wall+        -fwarn-incomplete-uni-patterns+        -fwarn-incomplete-record-updates+        -funbox-strict-fields      exposed-modules:           Network.AWS.SES         , Network.AWS.SES.CloneReceiptRuleSet         , Network.AWS.SES.CreateConfigurationSet         , Network.AWS.SES.CreateConfigurationSetEventDestination+        , Network.AWS.SES.CreateConfigurationSetTrackingOptions         , Network.AWS.SES.CreateReceiptFilter         , Network.AWS.SES.CreateReceiptRule         , Network.AWS.SES.CreateReceiptRuleSet+        , Network.AWS.SES.CreateTemplate         , Network.AWS.SES.DeleteConfigurationSet         , Network.AWS.SES.DeleteConfigurationSetEventDestination+        , Network.AWS.SES.DeleteConfigurationSetTrackingOptions         , Network.AWS.SES.DeleteIdentity         , Network.AWS.SES.DeleteIdentityPolicy         , Network.AWS.SES.DeleteReceiptFilter         , Network.AWS.SES.DeleteReceiptRule         , Network.AWS.SES.DeleteReceiptRuleSet+        , Network.AWS.SES.DeleteTemplate         , Network.AWS.SES.DeleteVerifiedEmailAddress         , Network.AWS.SES.DescribeActiveReceiptRuleSet         , Network.AWS.SES.DescribeConfigurationSet@@ -65,17 +74,21 @@         , Network.AWS.SES.GetIdentityVerificationAttributes         , Network.AWS.SES.GetSendQuota         , Network.AWS.SES.GetSendStatistics+        , Network.AWS.SES.GetTemplate         , Network.AWS.SES.ListConfigurationSets         , Network.AWS.SES.ListIdentities         , Network.AWS.SES.ListIdentityPolicies         , Network.AWS.SES.ListReceiptFilters         , Network.AWS.SES.ListReceiptRuleSets+        , Network.AWS.SES.ListTemplates         , Network.AWS.SES.ListVerifiedEmailAddresses         , Network.AWS.SES.PutIdentityPolicy         , Network.AWS.SES.ReorderReceiptRuleSet         , Network.AWS.SES.SendBounce+        , Network.AWS.SES.SendBulkTemplatedEmail         , Network.AWS.SES.SendEmail         , Network.AWS.SES.SendRawEmail+        , Network.AWS.SES.SendTemplatedEmail         , Network.AWS.SES.SetActiveReceiptRuleSet         , Network.AWS.SES.SetIdentityDkimEnabled         , Network.AWS.SES.SetIdentityFeedbackForwardingEnabled@@ -83,9 +96,12 @@         , Network.AWS.SES.SetIdentityMailFromDomain         , Network.AWS.SES.SetIdentityNotificationTopic         , Network.AWS.SES.SetReceiptRulePosition+        , Network.AWS.SES.TestRenderTemplate         , Network.AWS.SES.Types         , Network.AWS.SES.UpdateConfigurationSetEventDestination+        , Network.AWS.SES.UpdateConfigurationSetTrackingOptions         , Network.AWS.SES.UpdateReceiptRule+        , Network.AWS.SES.UpdateTemplate         , Network.AWS.SES.VerifyDomainDkim         , Network.AWS.SES.VerifyDomainIdentity         , Network.AWS.SES.VerifyEmailAddress@@ -97,7 +113,7 @@         , Network.AWS.SES.Types.Sum      build-depends:-          amazonka-core == 1.4.5.*+          amazonka-core == 1.5.0.*         , base          >= 4.7     && < 5  test-suite amazonka-ses-test@@ -117,9 +133,9 @@         , Test.AWS.SES.Internal      build-depends:-          amazonka-core == 1.4.5.*-        , amazonka-test == 1.4.5.*-        , amazonka-ses == 1.4.5.*+          amazonka-core == 1.5.0.*+        , amazonka-test == 1.5.0.*+        , amazonka-ses         , base         , bytestring         , tasty
+ fixture/CreateConfigurationSetTrackingOptions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/CreateConfigurationSetTrackingOptionsResponse.proto view
+ fixture/CreateTemplate.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/CreateTemplateResponse.proto view
+ fixture/DeleteConfigurationSetTrackingOptions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DeleteConfigurationSetTrackingOptionsResponse.proto view
+ fixture/DeleteTemplate.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DeleteTemplateResponse.proto view
+ fixture/GetTemplate.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/GetTemplateResponse.proto view
+ fixture/ListTemplates.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ListTemplatesResponse.proto view
+ fixture/SendBulkTemplatedEmail.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/SendBulkTemplatedEmailResponse.proto view
+ fixture/SendTemplatedEmail.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/SendTemplatedEmailResponse.proto view
+ fixture/TestRenderTemplate.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/TestRenderTemplateResponse.proto view
+ fixture/UpdateConfigurationSetTrackingOptions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/UpdateConfigurationSetTrackingOptionsResponse.proto view
+ fixture/UpdateTemplate.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/email/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  email.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/UpdateTemplateResponse.proto view
gen/Network/AWS/SES.hs view
@@ -5,15 +5,15 @@  -- | -- Module      : Network.AWS.SES--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- __Amazon Simple Email Service__ ----- This is the API Reference for Amazon Simple Email Service (Amazon SES). This documentation is intended to be used in conjunction with the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html Amazon SES Developer Guide> .+-- This is the API Reference for <https://aws.amazon.com/ses/ Amazon Simple Email Service> (Amazon SES). This documentation is intended to be used in conjunction with the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html Amazon SES Developer Guide> . -- module Network.AWS.SES     (@@ -26,6 +26,12 @@     -- ** InvalidConfigurationSetException     , _InvalidConfigurationSetException +    -- ** InvalidSNSDestinationException+    , _InvalidSNSDestinationException++    -- ** TemplateDoesNotExistException+    , _TemplateDoesNotExistException+     -- ** CannotDeleteException     , _CannotDeleteException @@ -35,6 +41,12 @@     -- ** MessageRejected     , _MessageRejected +    -- ** InvalidRenderingParameterException+    , _InvalidRenderingParameterException++    -- ** MissingRenderingAttributeException+    , _MissingRenderingAttributeException+     -- ** RuleSetDoesNotExistException     , _RuleSetDoesNotExistException @@ -47,6 +59,9 @@     -- ** ConfigurationSetAlreadyExistsException     , _ConfigurationSetAlreadyExistsException +    -- ** InvalidTrackingOptionsException+    , _InvalidTrackingOptionsException+     -- ** EventDestinationDoesNotExistException     , _EventDestinationDoesNotExistException @@ -56,6 +71,12 @@     -- ** InvalidLambdaFunctionException     , _InvalidLambdaFunctionException +    -- ** TrackingOptionsDoesNotExistException+    , _TrackingOptionsDoesNotExistException++    -- ** InvalidTemplateException+    , _InvalidTemplateException+     -- ** ConfigurationSetDoesNotExistException     , _ConfigurationSetDoesNotExistException @@ -65,6 +86,9 @@     -- ** InvalidS3ConfigurationException     , _InvalidS3ConfigurationException +    -- ** TrackingOptionsAlreadyExistsException+    , _TrackingOptionsAlreadyExistsException+     -- ** InvalidSNSTopicException     , _InvalidSNSTopicException @@ -83,6 +107,15 @@     -- * Operations     -- $operations +    -- ** CreateTemplate+    , module Network.AWS.SES.CreateTemplate++    -- ** DeleteConfigurationSetTrackingOptions+    , module Network.AWS.SES.DeleteConfigurationSetTrackingOptions++    -- ** UpdateConfigurationSetTrackingOptions+    , module Network.AWS.SES.UpdateConfigurationSetTrackingOptions+     -- ** CreateReceiptRuleSet     , module Network.AWS.SES.CreateReceiptRuleSet @@ -146,9 +179,18 @@     -- ** GetIdentityPolicies     , module Network.AWS.SES.GetIdentityPolicies +    -- ** ListTemplates+    , module Network.AWS.SES.ListTemplates+     -- ** VerifyDomainIdentity     , module Network.AWS.SES.VerifyDomainIdentity +    -- ** UpdateTemplate+    , module Network.AWS.SES.UpdateTemplate++    -- ** DeleteTemplate+    , module Network.AWS.SES.DeleteTemplate+     -- ** ReorderReceiptRuleSet     , module Network.AWS.SES.ReorderReceiptRuleSet @@ -167,9 +209,18 @@     -- ** GetIdentityDkimAttributes     , module Network.AWS.SES.GetIdentityDkimAttributes +    -- ** SendTemplatedEmail+    , module Network.AWS.SES.SendTemplatedEmail+     -- ** VerifyDomainDkim     , module Network.AWS.SES.VerifyDomainDkim +    -- ** TestRenderTemplate+    , module Network.AWS.SES.TestRenderTemplate++    -- ** SendBulkTemplatedEmail+    , module Network.AWS.SES.SendBulkTemplatedEmail+     -- ** SendRawEmail     , module Network.AWS.SES.SendRawEmail @@ -221,12 +272,18 @@     -- ** CreateReceiptRule     , module Network.AWS.SES.CreateReceiptRule +    -- ** GetTemplate+    , module Network.AWS.SES.GetTemplate+     -- ** SetActiveReceiptRuleSet     , module Network.AWS.SES.SetActiveReceiptRuleSet      -- ** CreateConfigurationSet     , module Network.AWS.SES.CreateConfigurationSet +    -- ** CreateConfigurationSetTrackingOptions+    , module Network.AWS.SES.CreateConfigurationSetTrackingOptions+     -- ** DescribeActiveReceiptRuleSet     , module Network.AWS.SES.DescribeActiveReceiptRuleSet @@ -238,6 +295,9 @@     -- ** BounceType     , BounceType (..) +    -- ** BulkEmailStatus+    , BulkEmailStatus (..)+     -- ** ConfigurationSetAttribute     , ConfigurationSetAttribute (..) @@ -306,6 +366,20 @@     , briRecipientARN     , briRecipient +    -- ** BulkEmailDestination+    , BulkEmailDestination+    , bulkEmailDestination+    , bedReplacementTemplateData+    , bedReplacementTags+    , bedDestination++    -- ** BulkEmailDestinationStatus+    , BulkEmailDestinationStatus+    , bulkEmailDestinationStatus+    , bedsStatus+    , bedsError+    , bedsMessageId+     -- ** CloudWatchDestination     , CloudWatchDestination     , cloudWatchDestination@@ -342,6 +416,7 @@     , edEnabled     , edKinesisFirehoseDestination     , edCloudWatchDestination+    , edSNSDestination     , edName     , edMatchingEventTypes @@ -483,6 +558,11 @@     , saEncoding     , saTopicARN +    -- ** SNSDestination+    , SNSDestination+    , snsDestination+    , sdTopicARN+     -- ** SendDataPoint     , SendDataPoint     , sendDataPoint@@ -498,6 +578,25 @@     , sTopicARN     , sScope +    -- ** Template+    , Template+    , template+    , tTextPart+    , tSubjectPart+    , tHTMLPart+    , tTemplateName++    -- ** TemplateMetadata+    , TemplateMetadata+    , templateMetadata+    , tmName+    , tmCreatedTimestamp++    -- ** TrackingOptions+    , TrackingOptions+    , trackingOptions+    , toCustomRedirectDomain+     -- ** WorkmailAction     , WorkmailAction     , workmailAction@@ -505,57 +604,68 @@     , waOrganizationARN     ) where -import           Network.AWS.SES.CloneReceiptRuleSet-import           Network.AWS.SES.CreateConfigurationSet-import           Network.AWS.SES.CreateConfigurationSetEventDestination-import           Network.AWS.SES.CreateReceiptFilter-import           Network.AWS.SES.CreateReceiptRule-import           Network.AWS.SES.CreateReceiptRuleSet-import           Network.AWS.SES.DeleteConfigurationSet-import           Network.AWS.SES.DeleteConfigurationSetEventDestination-import           Network.AWS.SES.DeleteIdentity-import           Network.AWS.SES.DeleteIdentityPolicy-import           Network.AWS.SES.DeleteReceiptFilter-import           Network.AWS.SES.DeleteReceiptRule-import           Network.AWS.SES.DeleteReceiptRuleSet-import           Network.AWS.SES.DeleteVerifiedEmailAddress-import           Network.AWS.SES.DescribeActiveReceiptRuleSet-import           Network.AWS.SES.DescribeConfigurationSet-import           Network.AWS.SES.DescribeReceiptRule-import           Network.AWS.SES.DescribeReceiptRuleSet-import           Network.AWS.SES.GetIdentityDkimAttributes-import           Network.AWS.SES.GetIdentityMailFromDomainAttributes-import           Network.AWS.SES.GetIdentityNotificationAttributes-import           Network.AWS.SES.GetIdentityPolicies-import           Network.AWS.SES.GetIdentityVerificationAttributes-import           Network.AWS.SES.GetSendQuota-import           Network.AWS.SES.GetSendStatistics-import           Network.AWS.SES.ListConfigurationSets-import           Network.AWS.SES.ListIdentities-import           Network.AWS.SES.ListIdentityPolicies-import           Network.AWS.SES.ListReceiptFilters-import           Network.AWS.SES.ListReceiptRuleSets-import           Network.AWS.SES.ListVerifiedEmailAddresses-import           Network.AWS.SES.PutIdentityPolicy-import           Network.AWS.SES.ReorderReceiptRuleSet-import           Network.AWS.SES.SendBounce-import           Network.AWS.SES.SendEmail-import           Network.AWS.SES.SendRawEmail-import           Network.AWS.SES.SetActiveReceiptRuleSet-import           Network.AWS.SES.SetIdentityDkimEnabled-import           Network.AWS.SES.SetIdentityFeedbackForwardingEnabled-import           Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled-import           Network.AWS.SES.SetIdentityMailFromDomain-import           Network.AWS.SES.SetIdentityNotificationTopic-import           Network.AWS.SES.SetReceiptRulePosition-import           Network.AWS.SES.Types-import           Network.AWS.SES.UpdateConfigurationSetEventDestination-import           Network.AWS.SES.UpdateReceiptRule-import           Network.AWS.SES.VerifyDomainDkim-import           Network.AWS.SES.VerifyDomainIdentity-import           Network.AWS.SES.VerifyEmailAddress-import           Network.AWS.SES.VerifyEmailIdentity-import           Network.AWS.SES.Waiters+import Network.AWS.SES.CloneReceiptRuleSet+import Network.AWS.SES.CreateConfigurationSet+import Network.AWS.SES.CreateConfigurationSetEventDestination+import Network.AWS.SES.CreateConfigurationSetTrackingOptions+import Network.AWS.SES.CreateReceiptFilter+import Network.AWS.SES.CreateReceiptRule+import Network.AWS.SES.CreateReceiptRuleSet+import Network.AWS.SES.CreateTemplate+import Network.AWS.SES.DeleteConfigurationSet+import Network.AWS.SES.DeleteConfigurationSetEventDestination+import Network.AWS.SES.DeleteConfigurationSetTrackingOptions+import Network.AWS.SES.DeleteIdentity+import Network.AWS.SES.DeleteIdentityPolicy+import Network.AWS.SES.DeleteReceiptFilter+import Network.AWS.SES.DeleteReceiptRule+import Network.AWS.SES.DeleteReceiptRuleSet+import Network.AWS.SES.DeleteTemplate+import Network.AWS.SES.DeleteVerifiedEmailAddress+import Network.AWS.SES.DescribeActiveReceiptRuleSet+import Network.AWS.SES.DescribeConfigurationSet+import Network.AWS.SES.DescribeReceiptRule+import Network.AWS.SES.DescribeReceiptRuleSet+import Network.AWS.SES.GetIdentityDkimAttributes+import Network.AWS.SES.GetIdentityMailFromDomainAttributes+import Network.AWS.SES.GetIdentityNotificationAttributes+import Network.AWS.SES.GetIdentityPolicies+import Network.AWS.SES.GetIdentityVerificationAttributes+import Network.AWS.SES.GetSendQuota+import Network.AWS.SES.GetSendStatistics+import Network.AWS.SES.GetTemplate+import Network.AWS.SES.ListConfigurationSets+import Network.AWS.SES.ListIdentities+import Network.AWS.SES.ListIdentityPolicies+import Network.AWS.SES.ListReceiptFilters+import Network.AWS.SES.ListReceiptRuleSets+import Network.AWS.SES.ListTemplates+import Network.AWS.SES.ListVerifiedEmailAddresses+import Network.AWS.SES.PutIdentityPolicy+import Network.AWS.SES.ReorderReceiptRuleSet+import Network.AWS.SES.SendBounce+import Network.AWS.SES.SendBulkTemplatedEmail+import Network.AWS.SES.SendEmail+import Network.AWS.SES.SendRawEmail+import Network.AWS.SES.SendTemplatedEmail+import Network.AWS.SES.SetActiveReceiptRuleSet+import Network.AWS.SES.SetIdentityDkimEnabled+import Network.AWS.SES.SetIdentityFeedbackForwardingEnabled+import Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled+import Network.AWS.SES.SetIdentityMailFromDomain+import Network.AWS.SES.SetIdentityNotificationTopic+import Network.AWS.SES.SetReceiptRulePosition+import Network.AWS.SES.TestRenderTemplate+import Network.AWS.SES.Types+import Network.AWS.SES.UpdateConfigurationSetEventDestination+import Network.AWS.SES.UpdateConfigurationSetTrackingOptions+import Network.AWS.SES.UpdateReceiptRule+import Network.AWS.SES.UpdateTemplate+import Network.AWS.SES.VerifyDomainDkim+import Network.AWS.SES.VerifyDomainIdentity+import Network.AWS.SES.VerifyEmailAddress+import Network.AWS.SES.VerifyEmailIdentity+import Network.AWS.SES.Waiters  {- $errors Error matchers are designed for use with the functions provided by
gen/Network/AWS/SES/CloneReceiptRuleSet.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.CloneReceiptRuleSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about setting up rule sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.CloneReceiptRuleSet     (@@ -41,12 +41,12 @@     , crsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -54,10 +54,11 @@ -- -- /See:/ 'cloneReceiptRuleSet' smart constructor. data CloneReceiptRuleSet = CloneReceiptRuleSet'-    { _cRuleSetName         :: !Text-    , _cOriginalRuleSetName :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _cRuleSetName         :: !Text+  , _cOriginalRuleSetName :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CloneReceiptRuleSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -70,11 +71,10 @@     -> Text -- ^ 'cOriginalRuleSetName'     -> CloneReceiptRuleSet cloneReceiptRuleSet pRuleSetName_ pOriginalRuleSetName_ =-    CloneReceiptRuleSet'-    { _cRuleSetName = pRuleSetName_-    , _cOriginalRuleSetName = pOriginalRuleSetName_-    }+  CloneReceiptRuleSet'+  {_cRuleSetName = pRuleSetName_, _cOriginalRuleSetName = pOriginalRuleSetName_} + -- | 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 cRuleSetName = lens _cRuleSetName (\ s a -> s{_cRuleSetName = a});@@ -92,9 +92,9 @@               (\ s h x ->                  CloneReceiptRuleSetResponse' <$> (pure (fromEnum s))) -instance Hashable CloneReceiptRuleSet+instance Hashable CloneReceiptRuleSet where -instance NFData CloneReceiptRuleSet+instance NFData CloneReceiptRuleSet where  instance ToHeaders CloneReceiptRuleSet where         toHeaders = const mempty@@ -116,9 +116,10 @@ -- -- /See:/ 'cloneReceiptRuleSetResponse' smart constructor. newtype CloneReceiptRuleSetResponse = CloneReceiptRuleSetResponse'-    { _crsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _crsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CloneReceiptRuleSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -128,12 +129,11 @@     :: Int -- ^ 'crsResponseStatus'     -> CloneReceiptRuleSetResponse cloneReceiptRuleSetResponse pResponseStatus_ =-    CloneReceiptRuleSetResponse'-    { _crsResponseStatus = pResponseStatus_-    }+  CloneReceiptRuleSetResponse' {_crsResponseStatus = pResponseStatus_} + -- | -- | The response status code. crsResponseStatus :: Lens' CloneReceiptRuleSetResponse Int crsResponseStatus = lens _crsResponseStatus (\ s a -> s{_crsResponseStatus = a}); -instance NFData CloneReceiptRuleSetResponse+instance NFData CloneReceiptRuleSetResponse where
gen/Network/AWS/SES/CreateConfigurationSet.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.CreateConfigurationSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- Configuration sets enable you to publish email sending events. For information about using configuration sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.CreateConfigurationSet     (@@ -40,12 +40,12 @@     , ccsrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . --@@ -53,9 +53,10 @@ -- -- /See:/ 'createConfigurationSet' smart constructor. newtype CreateConfigurationSet = CreateConfigurationSet'-    { _ccsConfigurationSet :: ConfigurationSet-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _ccsConfigurationSet :: ConfigurationSet+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateConfigurationSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -65,10 +66,9 @@     :: ConfigurationSet -- ^ 'ccsConfigurationSet'     -> CreateConfigurationSet createConfigurationSet pConfigurationSet_ =-    CreateConfigurationSet'-    { _ccsConfigurationSet = pConfigurationSet_-    }+  CreateConfigurationSet' {_ccsConfigurationSet = pConfigurationSet_} + -- | A data structure that contains the name of the configuration set. ccsConfigurationSet :: Lens' CreateConfigurationSet ConfigurationSet ccsConfigurationSet = lens _ccsConfigurationSet (\ s a -> s{_ccsConfigurationSet = a});@@ -83,9 +83,9 @@                  CreateConfigurationSetResponse' <$>                    (pure (fromEnum s))) -instance Hashable CreateConfigurationSet+instance Hashable CreateConfigurationSet where -instance NFData CreateConfigurationSet+instance NFData CreateConfigurationSet where  instance ToHeaders CreateConfigurationSet where         toHeaders = const mempty@@ -107,9 +107,10 @@ -- -- /See:/ 'createConfigurationSetResponse' smart constructor. newtype CreateConfigurationSetResponse = CreateConfigurationSetResponse'-    { _ccsrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _ccsrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateConfigurationSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -119,12 +120,11 @@     :: Int -- ^ 'ccsrsResponseStatus'     -> CreateConfigurationSetResponse createConfigurationSetResponse pResponseStatus_ =-    CreateConfigurationSetResponse'-    { _ccsrsResponseStatus = pResponseStatus_-    }+  CreateConfigurationSetResponse' {_ccsrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. ccsrsResponseStatus :: Lens' CreateConfigurationSetResponse Int ccsrsResponseStatus = lens _ccsrsResponseStatus (\ s a -> s{_ccsrsResponseStatus = a}); -instance NFData CreateConfigurationSetResponse+instance NFData CreateConfigurationSetResponse where
gen/Network/AWS/SES/CreateConfigurationSetEventDestination.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.CreateConfigurationSetEventDestination--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.CreateConfigurationSetEventDestination     (@@ -41,12 +41,12 @@     , ccsedrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . --@@ -54,37 +54,40 @@ -- -- /See:/ 'createConfigurationSetEventDestination' smart constructor. data CreateConfigurationSetEventDestination = CreateConfigurationSetEventDestination'-    { _ccsedConfigurationSetName :: !Text-    , _ccsedEventDestination     :: !EventDestination-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _ccsedConfigurationSetName :: !Text+  , _ccsedEventDestination     :: !EventDestination+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateConfigurationSetEventDestination' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ccsedConfigurationSetName' - The name of the configuration set to which to apply the event destination.+-- * 'ccsedConfigurationSetName' - The name of the configuration set that the event destination should be associated with. ----- * 'ccsedEventDestination' - An object that describes the AWS service to which Amazon SES will publish the email sending events associated with the specified configuration set.+-- * 'ccsedEventDestination' - An object that describes the AWS service that email sending event information will be published to. createConfigurationSetEventDestination     :: Text -- ^ 'ccsedConfigurationSetName'     -> EventDestination -- ^ 'ccsedEventDestination'     -> CreateConfigurationSetEventDestination createConfigurationSetEventDestination pConfigurationSetName_ pEventDestination_ =-    CreateConfigurationSetEventDestination'-    { _ccsedConfigurationSetName = pConfigurationSetName_-    , _ccsedEventDestination = pEventDestination_-    }+  CreateConfigurationSetEventDestination'+  { _ccsedConfigurationSetName = pConfigurationSetName_+  , _ccsedEventDestination = pEventDestination_+  } --- | The name of the configuration set to which to apply the event destination.++-- | The name of the configuration set that the event destination should be associated with. ccsedConfigurationSetName :: Lens' CreateConfigurationSetEventDestination Text ccsedConfigurationSetName = lens _ccsedConfigurationSetName (\ s a -> s{_ccsedConfigurationSetName = a}); --- | An object that describes the AWS service to which Amazon SES will publish the email sending events associated with the specified configuration set.+-- | An object that describes the AWS service that email sending event information will be published to. ccsedEventDestination :: Lens' CreateConfigurationSetEventDestination EventDestination ccsedEventDestination = lens _ccsedEventDestination (\ s a -> s{_ccsedEventDestination = a});  instance AWSRequest-         CreateConfigurationSetEventDestination where+           CreateConfigurationSetEventDestination+         where         type Rs CreateConfigurationSetEventDestination =              CreateConfigurationSetEventDestinationResponse         request = postQuery ses@@ -96,21 +99,26 @@                    (pure (fromEnum s)))  instance Hashable-         CreateConfigurationSetEventDestination+           CreateConfigurationSetEventDestination+         where  instance NFData-         CreateConfigurationSetEventDestination+           CreateConfigurationSetEventDestination+         where  instance ToHeaders-         CreateConfigurationSetEventDestination where+           CreateConfigurationSetEventDestination+         where         toHeaders = const mempty  instance ToPath-         CreateConfigurationSetEventDestination where+           CreateConfigurationSetEventDestination+         where         toPath = const "/"  instance ToQuery-         CreateConfigurationSetEventDestination where+           CreateConfigurationSetEventDestination+         where         toQuery CreateConfigurationSetEventDestination'{..}           = mconcat               ["Action" =:@@ -126,9 +134,10 @@ -- -- /See:/ 'createConfigurationSetEventDestinationResponse' smart constructor. newtype CreateConfigurationSetEventDestinationResponse = CreateConfigurationSetEventDestinationResponse'-    { _ccsedrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _ccsedrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateConfigurationSetEventDestinationResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -138,13 +147,14 @@     :: Int -- ^ 'ccsedrsResponseStatus'     -> CreateConfigurationSetEventDestinationResponse createConfigurationSetEventDestinationResponse pResponseStatus_ =-    CreateConfigurationSetEventDestinationResponse'-    { _ccsedrsResponseStatus = pResponseStatus_-    }+  CreateConfigurationSetEventDestinationResponse'+  {_ccsedrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. ccsedrsResponseStatus :: Lens' CreateConfigurationSetEventDestinationResponse Int ccsedrsResponseStatus = lens _ccsedrsResponseStatus (\ s a -> s{_ccsedrsResponseStatus = a});  instance NFData-         CreateConfigurationSetEventDestinationResponse+           CreateConfigurationSetEventDestinationResponse+         where
+ gen/Network/AWS/SES/CreateConfigurationSetTrackingOptions.hs view
@@ -0,0 +1,156 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.CreateConfigurationSetTrackingOptions+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an association between a configuration set and a custom domain for open and click event tracking.+--+--+-- By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using configuration sets, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html Configuring Custom Domains to Handle Open and Click Tracking> in the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html Amazon SES Developer Guide> .+--+module Network.AWS.SES.CreateConfigurationSetTrackingOptions+    (+    -- * Creating a Request+      createConfigurationSetTrackingOptions+    , CreateConfigurationSetTrackingOptions+    -- * Request Lenses+    , ccstoConfigurationSetName+    , ccstoTrackingOptions++    -- * Destructuring the Response+    , createConfigurationSetTrackingOptionsResponse+    , CreateConfigurationSetTrackingOptionsResponse+    -- * Response Lenses+    , ccstorsResponseStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | Represents a request to create an open and click tracking option object in a configuration set.+--+--+--+-- /See:/ 'createConfigurationSetTrackingOptions' smart constructor.+data CreateConfigurationSetTrackingOptions = CreateConfigurationSetTrackingOptions'+  { _ccstoConfigurationSetName :: !Text+  , _ccstoTrackingOptions      :: !TrackingOptions+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CreateConfigurationSetTrackingOptions' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ccstoConfigurationSetName' - The name of the configuration set that the tracking options should be associated with.+--+-- * 'ccstoTrackingOptions' - Undocumented member.+createConfigurationSetTrackingOptions+    :: Text -- ^ 'ccstoConfigurationSetName'+    -> TrackingOptions -- ^ 'ccstoTrackingOptions'+    -> CreateConfigurationSetTrackingOptions+createConfigurationSetTrackingOptions pConfigurationSetName_ pTrackingOptions_ =+  CreateConfigurationSetTrackingOptions'+  { _ccstoConfigurationSetName = pConfigurationSetName_+  , _ccstoTrackingOptions = pTrackingOptions_+  }+++-- | The name of the configuration set that the tracking options should be associated with.+ccstoConfigurationSetName :: Lens' CreateConfigurationSetTrackingOptions Text+ccstoConfigurationSetName = lens _ccstoConfigurationSetName (\ s a -> s{_ccstoConfigurationSetName = a});++-- | Undocumented member.+ccstoTrackingOptions :: Lens' CreateConfigurationSetTrackingOptions TrackingOptions+ccstoTrackingOptions = lens _ccstoTrackingOptions (\ s a -> s{_ccstoTrackingOptions = a});++instance AWSRequest+           CreateConfigurationSetTrackingOptions+         where+        type Rs CreateConfigurationSetTrackingOptions =+             CreateConfigurationSetTrackingOptionsResponse+        request = postQuery ses+        response+          = receiveXMLWrapper+              "CreateConfigurationSetTrackingOptionsResult"+              (\ s h x ->+                 CreateConfigurationSetTrackingOptionsResponse' <$>+                   (pure (fromEnum s)))++instance Hashable+           CreateConfigurationSetTrackingOptions+         where++instance NFData CreateConfigurationSetTrackingOptions+         where++instance ToHeaders+           CreateConfigurationSetTrackingOptions+         where+        toHeaders = const mempty++instance ToPath CreateConfigurationSetTrackingOptions+         where+        toPath = const "/"++instance ToQuery+           CreateConfigurationSetTrackingOptions+         where+        toQuery CreateConfigurationSetTrackingOptions'{..}+          = mconcat+              ["Action" =:+                 ("CreateConfigurationSetTrackingOptions" ::+                    ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "ConfigurationSetName" =: _ccstoConfigurationSetName,+               "TrackingOptions" =: _ccstoTrackingOptions]++-- | An empty element returned on a successful request.+--+--+--+-- /See:/ 'createConfigurationSetTrackingOptionsResponse' smart constructor.+newtype CreateConfigurationSetTrackingOptionsResponse = CreateConfigurationSetTrackingOptionsResponse'+  { _ccstorsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CreateConfigurationSetTrackingOptionsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ccstorsResponseStatus' - -- | The response status code.+createConfigurationSetTrackingOptionsResponse+    :: Int -- ^ 'ccstorsResponseStatus'+    -> CreateConfigurationSetTrackingOptionsResponse+createConfigurationSetTrackingOptionsResponse pResponseStatus_ =+  CreateConfigurationSetTrackingOptionsResponse'+  {_ccstorsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+ccstorsResponseStatus :: Lens' CreateConfigurationSetTrackingOptionsResponse Int+ccstorsResponseStatus = lens _ccstorsResponseStatus (\ s a -> s{_ccstorsResponseStatus = a});++instance NFData+           CreateConfigurationSetTrackingOptionsResponse+         where
gen/Network/AWS/SES/CreateReceiptFilter.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.CreateReceiptFilter--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about setting up IP address filters, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.CreateReceiptFilter     (@@ -40,12 +40,12 @@     , crfrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -53,9 +53,10 @@ -- -- /See:/ 'createReceiptFilter' smart constructor. newtype CreateReceiptFilter = CreateReceiptFilter'-    { _crfFilter :: ReceiptFilter-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _crfFilter :: ReceiptFilter+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateReceiptFilter' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -64,11 +65,9 @@ createReceiptFilter     :: ReceiptFilter -- ^ 'crfFilter'     -> CreateReceiptFilter-createReceiptFilter pFilter_ =-    CreateReceiptFilter'-    { _crfFilter = pFilter_-    }+createReceiptFilter pFilter_ = CreateReceiptFilter' {_crfFilter = pFilter_} + -- | 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 crfFilter = lens _crfFilter (\ s a -> s{_crfFilter = a});@@ -82,9 +81,9 @@               (\ s h x ->                  CreateReceiptFilterResponse' <$> (pure (fromEnum s))) -instance Hashable CreateReceiptFilter+instance Hashable CreateReceiptFilter where -instance NFData CreateReceiptFilter+instance NFData CreateReceiptFilter where  instance ToHeaders CreateReceiptFilter where         toHeaders = const mempty@@ -105,9 +104,10 @@ -- -- /See:/ 'createReceiptFilterResponse' smart constructor. newtype CreateReceiptFilterResponse = CreateReceiptFilterResponse'-    { _crfrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _crfrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateReceiptFilterResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -117,12 +117,11 @@     :: Int -- ^ 'crfrsResponseStatus'     -> CreateReceiptFilterResponse createReceiptFilterResponse pResponseStatus_ =-    CreateReceiptFilterResponse'-    { _crfrsResponseStatus = pResponseStatus_-    }+  CreateReceiptFilterResponse' {_crfrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. crfrsResponseStatus :: Lens' CreateReceiptFilterResponse Int crfrsResponseStatus = lens _crfrsResponseStatus (\ s a -> s{_crfrsResponseStatus = a}); -instance NFData CreateReceiptFilterResponse+instance NFData CreateReceiptFilterResponse where
gen/Network/AWS/SES/CreateReceiptRule.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.CreateReceiptRule--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about setting up receipt rules, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.CreateReceiptRule     (@@ -42,12 +42,12 @@     , crrrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to create a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -55,18 +55,19 @@ -- -- /See:/ 'createReceiptRule' smart constructor. data CreateReceiptRule = CreateReceiptRule'-    { _crrAfter       :: !(Maybe Text)-    , _crrRuleSetName :: !Text-    , _crrRule        :: !ReceiptRule-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _crrAfter       :: !(Maybe Text)+  , _crrRuleSetName :: !Text+  , _crrRule        :: !ReceiptRule+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateReceiptRule' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'crrAfter' - 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. ----- * 'crrRuleSetName' - The name of the rule set to which to add the rule.+-- * 'crrRuleSetName' - The name of the rule set that the receipt rule will be added to. -- -- * 'crrRule' - A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. createReceiptRule@@ -74,17 +75,15 @@     -> ReceiptRule -- ^ 'crrRule'     -> CreateReceiptRule createReceiptRule pRuleSetName_ pRule_ =-    CreateReceiptRule'-    { _crrAfter = Nothing-    , _crrRuleSetName = pRuleSetName_-    , _crrRule = pRule_-    }+  CreateReceiptRule'+  {_crrAfter = Nothing, _crrRuleSetName = pRuleSetName_, _crrRule = pRule_} + -- | 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) crrAfter = lens _crrAfter (\ s a -> s{_crrAfter = a}); --- | The name of the rule set to which to add the rule.+-- | The name of the rule set that the receipt rule will be added to. crrRuleSetName :: Lens' CreateReceiptRule Text crrRuleSetName = lens _crrRuleSetName (\ s a -> s{_crrRuleSetName = a}); @@ -100,9 +99,9 @@               (\ s h x ->                  CreateReceiptRuleResponse' <$> (pure (fromEnum s))) -instance Hashable CreateReceiptRule+instance Hashable CreateReceiptRule where -instance NFData CreateReceiptRule+instance NFData CreateReceiptRule where  instance ToHeaders CreateReceiptRule where         toHeaders = const mempty@@ -124,9 +123,10 @@ -- -- /See:/ 'createReceiptRuleResponse' smart constructor. newtype CreateReceiptRuleResponse = CreateReceiptRuleResponse'-    { _crrrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _crrrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateReceiptRuleResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -136,12 +136,11 @@     :: Int -- ^ 'crrrsResponseStatus'     -> CreateReceiptRuleResponse createReceiptRuleResponse pResponseStatus_ =-    CreateReceiptRuleResponse'-    { _crrrsResponseStatus = pResponseStatus_-    }+  CreateReceiptRuleResponse' {_crrrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. crrrsResponseStatus :: Lens' CreateReceiptRuleResponse Int crrrsResponseStatus = lens _crrrsResponseStatus (\ s a -> s{_crrrsResponseStatus = a}); -instance NFData CreateReceiptRuleResponse+instance NFData CreateReceiptRuleResponse where
gen/Network/AWS/SES/CreateReceiptRuleSet.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.CreateReceiptRuleSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about setting up receipt rule sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.CreateReceiptRuleSet     (@@ -40,12 +40,12 @@     , crrsrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -53,9 +53,10 @@ -- -- /See:/ 'createReceiptRuleSet' smart constructor. newtype CreateReceiptRuleSet = CreateReceiptRuleSet'-    { _crrsRuleSetName :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _crrsRuleSetName :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateReceiptRuleSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -65,10 +66,9 @@     :: Text -- ^ 'crrsRuleSetName'     -> CreateReceiptRuleSet createReceiptRuleSet pRuleSetName_ =-    CreateReceiptRuleSet'-    { _crrsRuleSetName = pRuleSetName_-    }+  CreateReceiptRuleSet' {_crrsRuleSetName = pRuleSetName_} + -- | 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 crrsRuleSetName = lens _crrsRuleSetName (\ s a -> s{_crrsRuleSetName = a});@@ -83,9 +83,9 @@                  CreateReceiptRuleSetResponse' <$>                    (pure (fromEnum s))) -instance Hashable CreateReceiptRuleSet+instance Hashable CreateReceiptRuleSet where -instance NFData CreateReceiptRuleSet+instance NFData CreateReceiptRuleSet where  instance ToHeaders CreateReceiptRuleSet where         toHeaders = const mempty@@ -106,9 +106,10 @@ -- -- /See:/ 'createReceiptRuleSetResponse' smart constructor. newtype CreateReceiptRuleSetResponse = CreateReceiptRuleSetResponse'-    { _crrsrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _crrsrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateReceiptRuleSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -118,12 +119,11 @@     :: Int -- ^ 'crrsrsResponseStatus'     -> CreateReceiptRuleSetResponse createReceiptRuleSetResponse pResponseStatus_ =-    CreateReceiptRuleSetResponse'-    { _crrsrsResponseStatus = pResponseStatus_-    }+  CreateReceiptRuleSetResponse' {_crrsrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. crrsrsResponseStatus :: Lens' CreateReceiptRuleSetResponse Int crrsrsResponseStatus = lens _crrsrsResponseStatus (\ s a -> s{_crrsrsResponseStatus = a}); -instance NFData CreateReceiptRuleSetResponse+instance NFData CreateReceiptRuleSetResponse where
+ gen/Network/AWS/SES/CreateTemplate.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.CreateTemplate+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html Amazon SES Developer Guide> .+--+--+-- You can execute this operation no more than once per second.+--+module Network.AWS.SES.CreateTemplate+    (+    -- * Creating a Request+      createTemplate+    , CreateTemplate+    -- * Request Lenses+    , ctTemplate++    -- * Destructuring the Response+    , createTemplateResponse+    , CreateTemplateResponse+    -- * Response Lenses+    , ctrsResponseStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | Represents a request to create an email template. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html Amazon SES Developer Guide> .+--+--+--+-- /See:/ 'createTemplate' smart constructor.+newtype CreateTemplate = CreateTemplate'+  { _ctTemplate :: Template+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CreateTemplate' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ctTemplate' - The content of the email, composed of a subject line, an HTML part, and a text-only part.+createTemplate+    :: Template -- ^ 'ctTemplate'+    -> CreateTemplate+createTemplate pTemplate_ = CreateTemplate' {_ctTemplate = pTemplate_}+++-- | The content of the email, composed of a subject line, an HTML part, and a text-only part.+ctTemplate :: Lens' CreateTemplate Template+ctTemplate = lens _ctTemplate (\ s a -> s{_ctTemplate = a});++instance AWSRequest CreateTemplate where+        type Rs CreateTemplate = CreateTemplateResponse+        request = postQuery ses+        response+          = receiveXMLWrapper "CreateTemplateResult"+              (\ s h x ->+                 CreateTemplateResponse' <$> (pure (fromEnum s)))++instance Hashable CreateTemplate where++instance NFData CreateTemplate where++instance ToHeaders CreateTemplate where+        toHeaders = const mempty++instance ToPath CreateTemplate where+        toPath = const "/"++instance ToQuery CreateTemplate where+        toQuery CreateTemplate'{..}+          = mconcat+              ["Action" =: ("CreateTemplate" :: ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "Template" =: _ctTemplate]++-- | /See:/ 'createTemplateResponse' smart constructor.+newtype CreateTemplateResponse = CreateTemplateResponse'+  { _ctrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CreateTemplateResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ctrsResponseStatus' - -- | The response status code.+createTemplateResponse+    :: Int -- ^ 'ctrsResponseStatus'+    -> CreateTemplateResponse+createTemplateResponse pResponseStatus_ =+  CreateTemplateResponse' {_ctrsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+ctrsResponseStatus :: Lens' CreateTemplateResponse Int+ctrsResponseStatus = lens _ctrsResponseStatus (\ s a -> s{_ctrsResponseStatus = a});++instance NFData CreateTemplateResponse where
gen/Network/AWS/SES/DeleteConfigurationSet.hs view
@@ -12,18 +12,16 @@  -- | -- Module      : Network.AWS.SES.DeleteConfigurationSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a configuration set.+-- Deletes a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . -- ----- Configuration sets enable you to publish email sending events. For information about using configuration sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .------ This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DeleteConfigurationSet     (@@ -40,12 +38,12 @@     , drsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . --@@ -53,9 +51,10 @@ -- -- /See:/ 'deleteConfigurationSet' smart constructor. newtype DeleteConfigurationSet = DeleteConfigurationSet'-    { _dConfigurationSetName :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _dConfigurationSetName :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteConfigurationSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -65,10 +64,9 @@     :: Text -- ^ 'dConfigurationSetName'     -> DeleteConfigurationSet deleteConfigurationSet pConfigurationSetName_ =-    DeleteConfigurationSet'-    { _dConfigurationSetName = pConfigurationSetName_-    }+  DeleteConfigurationSet' {_dConfigurationSetName = pConfigurationSetName_} + -- | The name of the configuration set to delete. dConfigurationSetName :: Lens' DeleteConfigurationSet Text dConfigurationSetName = lens _dConfigurationSetName (\ s a -> s{_dConfigurationSetName = a});@@ -83,9 +81,9 @@                  DeleteConfigurationSetResponse' <$>                    (pure (fromEnum s))) -instance Hashable DeleteConfigurationSet+instance Hashable DeleteConfigurationSet where -instance NFData DeleteConfigurationSet+instance NFData DeleteConfigurationSet where  instance ToHeaders DeleteConfigurationSet where         toHeaders = const mempty@@ -107,9 +105,10 @@ -- -- /See:/ 'deleteConfigurationSetResponse' smart constructor. newtype DeleteConfigurationSetResponse = DeleteConfigurationSetResponse'-    { _drsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _drsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteConfigurationSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -119,12 +118,11 @@     :: Int -- ^ 'drsResponseStatus'     -> DeleteConfigurationSetResponse deleteConfigurationSetResponse pResponseStatus_ =-    DeleteConfigurationSetResponse'-    { _drsResponseStatus = pResponseStatus_-    }+  DeleteConfigurationSetResponse' {_drsResponseStatus = pResponseStatus_} + -- | -- | The response status code. drsResponseStatus :: Lens' DeleteConfigurationSetResponse Int drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a}); -instance NFData DeleteConfigurationSetResponse+instance NFData DeleteConfigurationSetResponse where
gen/Network/AWS/SES/DeleteConfigurationSetEventDestination.hs view
@@ -12,18 +12,16 @@  -- | -- Module      : Network.AWS.SES.DeleteConfigurationSetEventDestination--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a configuration set event destination.+-- 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . -- ----- 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .------ This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DeleteConfigurationSetEventDestination     (@@ -41,12 +39,12 @@     , dcsedrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . --@@ -54,10 +52,11 @@ -- -- /See:/ 'deleteConfigurationSetEventDestination' smart constructor. data DeleteConfigurationSetEventDestination = DeleteConfigurationSetEventDestination'-    { _dcsedConfigurationSetName :: !Text-    , _dcsedEventDestinationName :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _dcsedConfigurationSetName :: !Text+  , _dcsedEventDestinationName :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteConfigurationSetEventDestination' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -70,11 +69,12 @@     -> Text -- ^ 'dcsedEventDestinationName'     -> DeleteConfigurationSetEventDestination deleteConfigurationSetEventDestination pConfigurationSetName_ pEventDestinationName_ =-    DeleteConfigurationSetEventDestination'-    { _dcsedConfigurationSetName = pConfigurationSetName_-    , _dcsedEventDestinationName = pEventDestinationName_-    }+  DeleteConfigurationSetEventDestination'+  { _dcsedConfigurationSetName = pConfigurationSetName_+  , _dcsedEventDestinationName = pEventDestinationName_+  } + -- | The name of the configuration set from which to delete the event destination. dcsedConfigurationSetName :: Lens' DeleteConfigurationSetEventDestination Text dcsedConfigurationSetName = lens _dcsedConfigurationSetName (\ s a -> s{_dcsedConfigurationSetName = a});@@ -84,7 +84,8 @@ dcsedEventDestinationName = lens _dcsedEventDestinationName (\ s a -> s{_dcsedEventDestinationName = a});  instance AWSRequest-         DeleteConfigurationSetEventDestination where+           DeleteConfigurationSetEventDestination+         where         type Rs DeleteConfigurationSetEventDestination =              DeleteConfigurationSetEventDestinationResponse         request = postQuery ses@@ -96,21 +97,26 @@                    (pure (fromEnum s)))  instance Hashable-         DeleteConfigurationSetEventDestination+           DeleteConfigurationSetEventDestination+         where  instance NFData-         DeleteConfigurationSetEventDestination+           DeleteConfigurationSetEventDestination+         where  instance ToHeaders-         DeleteConfigurationSetEventDestination where+           DeleteConfigurationSetEventDestination+         where         toHeaders = const mempty  instance ToPath-         DeleteConfigurationSetEventDestination where+           DeleteConfigurationSetEventDestination+         where         toPath = const "/"  instance ToQuery-         DeleteConfigurationSetEventDestination where+           DeleteConfigurationSetEventDestination+         where         toQuery DeleteConfigurationSetEventDestination'{..}           = mconcat               ["Action" =:@@ -126,9 +132,10 @@ -- -- /See:/ 'deleteConfigurationSetEventDestinationResponse' smart constructor. newtype DeleteConfigurationSetEventDestinationResponse = DeleteConfigurationSetEventDestinationResponse'-    { _dcsedrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _dcsedrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteConfigurationSetEventDestinationResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -138,13 +145,14 @@     :: Int -- ^ 'dcsedrsResponseStatus'     -> DeleteConfigurationSetEventDestinationResponse deleteConfigurationSetEventDestinationResponse pResponseStatus_ =-    DeleteConfigurationSetEventDestinationResponse'-    { _dcsedrsResponseStatus = pResponseStatus_-    }+  DeleteConfigurationSetEventDestinationResponse'+  {_dcsedrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. dcsedrsResponseStatus :: Lens' DeleteConfigurationSetEventDestinationResponse Int dcsedrsResponseStatus = lens _dcsedrsResponseStatus (\ s a -> s{_dcsedrsResponseStatus = a});  instance NFData-         DeleteConfigurationSetEventDestinationResponse+           DeleteConfigurationSetEventDestinationResponse+         where
+ gen/Network/AWS/SES/DeleteConfigurationSetTrackingOptions.hs view
@@ -0,0 +1,144 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.DeleteConfigurationSetTrackingOptions+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an association between a configuration set and a custom domain for open and click event tracking.+--+--+-- By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using configuration sets, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html Configuring Custom Domains to Handle Open and Click Tracking> in the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html Amazon SES Developer Guide> .+--+module Network.AWS.SES.DeleteConfigurationSetTrackingOptions+    (+    -- * Creating a Request+      deleteConfigurationSetTrackingOptions+    , DeleteConfigurationSetTrackingOptions+    -- * Request Lenses+    , dcstoConfigurationSetName++    -- * Destructuring the Response+    , deleteConfigurationSetTrackingOptionsResponse+    , DeleteConfigurationSetTrackingOptionsResponse+    -- * Response Lenses+    , dcstorsResponseStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | Represents a request to delete open and click tracking options in a configuration set.+--+--+--+-- /See:/ 'deleteConfigurationSetTrackingOptions' smart constructor.+newtype DeleteConfigurationSetTrackingOptions = DeleteConfigurationSetTrackingOptions'+  { _dcstoConfigurationSetName :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteConfigurationSetTrackingOptions' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dcstoConfigurationSetName' - The name of the configuration set from which you want to delete the tracking options.+deleteConfigurationSetTrackingOptions+    :: Text -- ^ 'dcstoConfigurationSetName'+    -> DeleteConfigurationSetTrackingOptions+deleteConfigurationSetTrackingOptions pConfigurationSetName_ =+  DeleteConfigurationSetTrackingOptions'+  {_dcstoConfigurationSetName = pConfigurationSetName_}+++-- | The name of the configuration set from which you want to delete the tracking options.+dcstoConfigurationSetName :: Lens' DeleteConfigurationSetTrackingOptions Text+dcstoConfigurationSetName = lens _dcstoConfigurationSetName (\ s a -> s{_dcstoConfigurationSetName = a});++instance AWSRequest+           DeleteConfigurationSetTrackingOptions+         where+        type Rs DeleteConfigurationSetTrackingOptions =+             DeleteConfigurationSetTrackingOptionsResponse+        request = postQuery ses+        response+          = receiveXMLWrapper+              "DeleteConfigurationSetTrackingOptionsResult"+              (\ s h x ->+                 DeleteConfigurationSetTrackingOptionsResponse' <$>+                   (pure (fromEnum s)))++instance Hashable+           DeleteConfigurationSetTrackingOptions+         where++instance NFData DeleteConfigurationSetTrackingOptions+         where++instance ToHeaders+           DeleteConfigurationSetTrackingOptions+         where+        toHeaders = const mempty++instance ToPath DeleteConfigurationSetTrackingOptions+         where+        toPath = const "/"++instance ToQuery+           DeleteConfigurationSetTrackingOptions+         where+        toQuery DeleteConfigurationSetTrackingOptions'{..}+          = mconcat+              ["Action" =:+                 ("DeleteConfigurationSetTrackingOptions" ::+                    ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "ConfigurationSetName" =: _dcstoConfigurationSetName]++-- | An empty element returned on a successful request.+--+--+--+-- /See:/ 'deleteConfigurationSetTrackingOptionsResponse' smart constructor.+newtype DeleteConfigurationSetTrackingOptionsResponse = DeleteConfigurationSetTrackingOptionsResponse'+  { _dcstorsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteConfigurationSetTrackingOptionsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dcstorsResponseStatus' - -- | The response status code.+deleteConfigurationSetTrackingOptionsResponse+    :: Int -- ^ 'dcstorsResponseStatus'+    -> DeleteConfigurationSetTrackingOptionsResponse+deleteConfigurationSetTrackingOptionsResponse pResponseStatus_ =+  DeleteConfigurationSetTrackingOptionsResponse'+  {_dcstorsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+dcstorsResponseStatus :: Lens' DeleteConfigurationSetTrackingOptionsResponse Int+dcstorsResponseStatus = lens _dcstorsResponseStatus (\ s a -> s{_dcstorsResponseStatus = a});++instance NFData+           DeleteConfigurationSetTrackingOptionsResponse+         where
gen/Network/AWS/SES/DeleteIdentity.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.DeleteIdentity--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- 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.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DeleteIdentity     (@@ -38,12 +38,12 @@     , dirsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to delete one of your Amazon SES identities (an email address or domain). --@@ -51,9 +51,10 @@ -- -- /See:/ 'deleteIdentity' smart constructor. newtype DeleteIdentity = DeleteIdentity'-    { _diIdentity :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _diIdentity :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteIdentity' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -62,11 +63,9 @@ deleteIdentity     :: Text -- ^ 'diIdentity'     -> DeleteIdentity-deleteIdentity pIdentity_ =-    DeleteIdentity'-    { _diIdentity = pIdentity_-    }+deleteIdentity pIdentity_ = DeleteIdentity' {_diIdentity = pIdentity_} + -- | The identity to be removed from the list of identities for the AWS Account. diIdentity :: Lens' DeleteIdentity Text diIdentity = lens _diIdentity (\ s a -> s{_diIdentity = a});@@ -79,9 +78,9 @@               (\ s h x ->                  DeleteIdentityResponse' <$> (pure (fromEnum s))) -instance Hashable DeleteIdentity+instance Hashable DeleteIdentity where -instance NFData DeleteIdentity+instance NFData DeleteIdentity where  instance ToHeaders DeleteIdentity where         toHeaders = const mempty@@ -102,9 +101,10 @@ -- -- /See:/ 'deleteIdentityResponse' smart constructor. newtype DeleteIdentityResponse = DeleteIdentityResponse'-    { _dirsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _dirsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteIdentityResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -114,12 +114,11 @@     :: Int -- ^ 'dirsResponseStatus'     -> DeleteIdentityResponse deleteIdentityResponse pResponseStatus_ =-    DeleteIdentityResponse'-    { _dirsResponseStatus = pResponseStatus_-    }+  DeleteIdentityResponse' {_dirsResponseStatus = pResponseStatus_} + -- | -- | The response status code. dirsResponseStatus :: Lens' DeleteIdentityResponse Int dirsResponseStatus = lens _dirsResponseStatus (\ s a -> s{_dirsResponseStatus = a}); -instance NFData DeleteIdentityResponse+instance NFData DeleteIdentityResponse where
gen/Network/AWS/SES/DeleteIdentityPolicy.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.DeleteIdentityPolicy--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DeleteIdentityPolicy     (@@ -41,12 +41,12 @@     , diprsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . --@@ -54,10 +54,11 @@ -- -- /See:/ 'deleteIdentityPolicy' smart constructor. data DeleteIdentityPolicy = DeleteIdentityPolicy'-    { _dipIdentity   :: !Text-    , _dipPolicyName :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _dipIdentity   :: !Text+  , _dipPolicyName :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteIdentityPolicy' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -70,11 +71,10 @@     -> Text -- ^ 'dipPolicyName'     -> DeleteIdentityPolicy deleteIdentityPolicy pIdentity_ pPolicyName_ =-    DeleteIdentityPolicy'-    { _dipIdentity = pIdentity_-    , _dipPolicyName = pPolicyName_-    }+  DeleteIdentityPolicy'+  {_dipIdentity = pIdentity_, _dipPolicyName = pPolicyName_} + -- | 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: @user@example.com@ , @example.com@ , @arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To successfully call this API, you must own the identity. dipIdentity :: Lens' DeleteIdentityPolicy Text dipIdentity = lens _dipIdentity (\ s a -> s{_dipIdentity = a});@@ -93,9 +93,9 @@                  DeleteIdentityPolicyResponse' <$>                    (pure (fromEnum s))) -instance Hashable DeleteIdentityPolicy+instance Hashable DeleteIdentityPolicy where -instance NFData DeleteIdentityPolicy+instance NFData DeleteIdentityPolicy where  instance ToHeaders DeleteIdentityPolicy where         toHeaders = const mempty@@ -117,9 +117,10 @@ -- -- /See:/ 'deleteIdentityPolicyResponse' smart constructor. newtype DeleteIdentityPolicyResponse = DeleteIdentityPolicyResponse'-    { _diprsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _diprsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteIdentityPolicyResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -129,12 +130,11 @@     :: Int -- ^ 'diprsResponseStatus'     -> DeleteIdentityPolicyResponse deleteIdentityPolicyResponse pResponseStatus_ =-    DeleteIdentityPolicyResponse'-    { _diprsResponseStatus = pResponseStatus_-    }+  DeleteIdentityPolicyResponse' {_diprsResponseStatus = pResponseStatus_} + -- | -- | The response status code. diprsResponseStatus :: Lens' DeleteIdentityPolicyResponse Int diprsResponseStatus = lens _diprsResponseStatus (\ s a -> s{_diprsResponseStatus = a}); -instance NFData DeleteIdentityPolicyResponse+instance NFData DeleteIdentityPolicyResponse where
gen/Network/AWS/SES/DeleteReceiptFilter.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.DeleteReceiptFilter--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing IP address filters, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-ip-filters.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DeleteReceiptFilter     (@@ -40,12 +40,12 @@     , drfrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -53,9 +53,10 @@ -- -- /See:/ 'deleteReceiptFilter' smart constructor. newtype DeleteReceiptFilter = DeleteReceiptFilter'-    { _drfFilterName :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _drfFilterName :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteReceiptFilter' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -65,10 +66,9 @@     :: Text -- ^ 'drfFilterName'     -> DeleteReceiptFilter deleteReceiptFilter pFilterName_ =-    DeleteReceiptFilter'-    { _drfFilterName = pFilterName_-    }+  DeleteReceiptFilter' {_drfFilterName = pFilterName_} + -- | The name of the IP address filter to delete. drfFilterName :: Lens' DeleteReceiptFilter Text drfFilterName = lens _drfFilterName (\ s a -> s{_drfFilterName = a});@@ -82,9 +82,9 @@               (\ s h x ->                  DeleteReceiptFilterResponse' <$> (pure (fromEnum s))) -instance Hashable DeleteReceiptFilter+instance Hashable DeleteReceiptFilter where -instance NFData DeleteReceiptFilter+instance NFData DeleteReceiptFilter where  instance ToHeaders DeleteReceiptFilter where         toHeaders = const mempty@@ -105,9 +105,10 @@ -- -- /See:/ 'deleteReceiptFilterResponse' smart constructor. newtype DeleteReceiptFilterResponse = DeleteReceiptFilterResponse'-    { _drfrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _drfrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteReceiptFilterResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -117,12 +118,11 @@     :: Int -- ^ 'drfrsResponseStatus'     -> DeleteReceiptFilterResponse deleteReceiptFilterResponse pResponseStatus_ =-    DeleteReceiptFilterResponse'-    { _drfrsResponseStatus = pResponseStatus_-    }+  DeleteReceiptFilterResponse' {_drfrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. drfrsResponseStatus :: Lens' DeleteReceiptFilterResponse Int drfrsResponseStatus = lens _drfrsResponseStatus (\ s a -> s{_drfrsResponseStatus = a}); -instance NFData DeleteReceiptFilterResponse+instance NFData DeleteReceiptFilterResponse where
gen/Network/AWS/SES/DeleteReceiptRule.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.DeleteReceiptRule--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing receipt rules, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DeleteReceiptRule     (@@ -41,12 +41,12 @@     , delrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to delete a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -54,10 +54,11 @@ -- -- /See:/ 'deleteReceiptRule' smart constructor. data DeleteReceiptRule = DeleteReceiptRule'-    { _delRuleSetName :: !Text-    , _delRuleName    :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _delRuleSetName :: !Text+  , _delRuleName    :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteReceiptRule' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -70,11 +71,10 @@     -> Text -- ^ 'delRuleName'     -> DeleteReceiptRule deleteReceiptRule pRuleSetName_ pRuleName_ =-    DeleteReceiptRule'-    { _delRuleSetName = pRuleSetName_-    , _delRuleName = pRuleName_-    }+  DeleteReceiptRule'+  {_delRuleSetName = pRuleSetName_, _delRuleName = pRuleName_} + -- | The name of the receipt rule set that contains the receipt rule to delete. delRuleSetName :: Lens' DeleteReceiptRule Text delRuleSetName = lens _delRuleSetName (\ s a -> s{_delRuleSetName = a});@@ -91,9 +91,9 @@               (\ s h x ->                  DeleteReceiptRuleResponse' <$> (pure (fromEnum s))) -instance Hashable DeleteReceiptRule+instance Hashable DeleteReceiptRule where -instance NFData DeleteReceiptRule+instance NFData DeleteReceiptRule where  instance ToHeaders DeleteReceiptRule where         toHeaders = const mempty@@ -115,9 +115,10 @@ -- -- /See:/ 'deleteReceiptRuleResponse' smart constructor. newtype DeleteReceiptRuleResponse = DeleteReceiptRuleResponse'-    { _delrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _delrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteReceiptRuleResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -127,12 +128,11 @@     :: Int -- ^ 'delrsResponseStatus'     -> DeleteReceiptRuleResponse deleteReceiptRuleResponse pResponseStatus_ =-    DeleteReceiptRuleResponse'-    { _delrsResponseStatus = pResponseStatus_-    }+  DeleteReceiptRuleResponse' {_delrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. delrsResponseStatus :: Lens' DeleteReceiptRuleResponse Int delrsResponseStatus = lens _delrsResponseStatus (\ s a -> s{_delrsResponseStatus = a}); -instance NFData DeleteReceiptRuleResponse+instance NFData DeleteReceiptRuleResponse where
gen/Network/AWS/SES/DeleteReceiptRuleSet.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.DeleteReceiptRuleSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing receipt rule sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DeleteReceiptRuleSet     (@@ -40,12 +40,12 @@     , drrsrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -53,9 +53,10 @@ -- -- /See:/ 'deleteReceiptRuleSet' smart constructor. newtype DeleteReceiptRuleSet = DeleteReceiptRuleSet'-    { _dRuleSetName :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _dRuleSetName :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteReceiptRuleSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -65,10 +66,9 @@     :: Text -- ^ 'dRuleSetName'     -> DeleteReceiptRuleSet deleteReceiptRuleSet pRuleSetName_ =-    DeleteReceiptRuleSet'-    { _dRuleSetName = pRuleSetName_-    }+  DeleteReceiptRuleSet' {_dRuleSetName = pRuleSetName_} + -- | The name of the receipt rule set to delete. dRuleSetName :: Lens' DeleteReceiptRuleSet Text dRuleSetName = lens _dRuleSetName (\ s a -> s{_dRuleSetName = a});@@ -83,9 +83,9 @@                  DeleteReceiptRuleSetResponse' <$>                    (pure (fromEnum s))) -instance Hashable DeleteReceiptRuleSet+instance Hashable DeleteReceiptRuleSet where -instance NFData DeleteReceiptRuleSet+instance NFData DeleteReceiptRuleSet where  instance ToHeaders DeleteReceiptRuleSet where         toHeaders = const mempty@@ -106,9 +106,10 @@ -- -- /See:/ 'deleteReceiptRuleSetResponse' smart constructor. newtype DeleteReceiptRuleSetResponse = DeleteReceiptRuleSetResponse'-    { _drrsrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _drrsrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteReceiptRuleSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -118,12 +119,11 @@     :: Int -- ^ 'drrsrsResponseStatus'     -> DeleteReceiptRuleSetResponse deleteReceiptRuleSetResponse pResponseStatus_ =-    DeleteReceiptRuleSetResponse'-    { _drrsrsResponseStatus = pResponseStatus_-    }+  DeleteReceiptRuleSetResponse' {_drrsrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. drrsrsResponseStatus :: Lens' DeleteReceiptRuleSetResponse Int drrsrsResponseStatus = lens _drrsrsResponseStatus (\ s a -> s{_drrsrsResponseStatus = a}); -instance NFData DeleteReceiptRuleSetResponse+instance NFData DeleteReceiptRuleSetResponse where
+ gen/Network/AWS/SES/DeleteTemplate.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.DeleteTemplate+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an email template.+--+--+-- You can execute this operation no more than once per second.+--+module Network.AWS.SES.DeleteTemplate+    (+    -- * Creating a Request+      deleteTemplate+    , DeleteTemplate+    -- * Request Lenses+    , dtTemplateName++    -- * Destructuring the Response+    , deleteTemplateResponse+    , DeleteTemplateResponse+    -- * Response Lenses+    , dtrsResponseStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | Represents a request to delete an email template. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html Amazon SES Developer Guide> .+--+--+--+-- /See:/ 'deleteTemplate' smart constructor.+newtype DeleteTemplate = DeleteTemplate'+  { _dtTemplateName :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteTemplate' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dtTemplateName' - The name of the template to be deleted.+deleteTemplate+    :: Text -- ^ 'dtTemplateName'+    -> DeleteTemplate+deleteTemplate pTemplateName_ =+  DeleteTemplate' {_dtTemplateName = pTemplateName_}+++-- | The name of the template to be deleted.+dtTemplateName :: Lens' DeleteTemplate Text+dtTemplateName = lens _dtTemplateName (\ s a -> s{_dtTemplateName = a});++instance AWSRequest DeleteTemplate where+        type Rs DeleteTemplate = DeleteTemplateResponse+        request = postQuery ses+        response+          = receiveXMLWrapper "DeleteTemplateResult"+              (\ s h x ->+                 DeleteTemplateResponse' <$> (pure (fromEnum s)))++instance Hashable DeleteTemplate where++instance NFData DeleteTemplate where++instance ToHeaders DeleteTemplate where+        toHeaders = const mempty++instance ToPath DeleteTemplate where+        toPath = const "/"++instance ToQuery DeleteTemplate where+        toQuery DeleteTemplate'{..}+          = mconcat+              ["Action" =: ("DeleteTemplate" :: ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "TemplateName" =: _dtTemplateName]++-- | /See:/ 'deleteTemplateResponse' smart constructor.+newtype DeleteTemplateResponse = DeleteTemplateResponse'+  { _dtrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DeleteTemplateResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dtrsResponseStatus' - -- | The response status code.+deleteTemplateResponse+    :: Int -- ^ 'dtrsResponseStatus'+    -> DeleteTemplateResponse+deleteTemplateResponse pResponseStatus_ =+  DeleteTemplateResponse' {_dtrsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+dtrsResponseStatus :: Lens' DeleteTemplateResponse Int+dtrsResponseStatus = lens _dtrsResponseStatus (\ s a -> s{_dtrsResponseStatus = a});++instance NFData DeleteTemplateResponse where
gen/Network/AWS/SES/DeleteVerifiedEmailAddress.hs view
@@ -12,19 +12,15 @@  -- | -- Module      : Network.AWS.SES.DeleteVerifiedEmailAddress--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified email address from the list of verified addresses.+-- Deprecated. Use the @DeleteIdentity@ operation to delete email addresses and domains. -- ----- /Important:/ 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     (     -- * Creating a Request@@ -38,12 +34,12 @@     , DeleteVerifiedEmailAddressResponse     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to delete an email address from the list of email addresses you have attempted to verify under your AWS account. --@@ -51,9 +47,10 @@ -- -- /See:/ 'deleteVerifiedEmailAddress' smart constructor. newtype DeleteVerifiedEmailAddress = DeleteVerifiedEmailAddress'-    { _dveaEmailAddress :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _dveaEmailAddress :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteVerifiedEmailAddress' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -63,10 +60,9 @@     :: Text -- ^ 'dveaEmailAddress'     -> DeleteVerifiedEmailAddress deleteVerifiedEmailAddress pEmailAddress_ =-    DeleteVerifiedEmailAddress'-    { _dveaEmailAddress = pEmailAddress_-    }+  DeleteVerifiedEmailAddress' {_dveaEmailAddress = pEmailAddress_} + -- | An email address to be removed from the list of verified addresses. dveaEmailAddress :: Lens' DeleteVerifiedEmailAddress Text dveaEmailAddress = lens _dveaEmailAddress (\ s a -> s{_dveaEmailAddress = a});@@ -78,9 +74,9 @@         response           = receiveNull DeleteVerifiedEmailAddressResponse' -instance Hashable DeleteVerifiedEmailAddress+instance Hashable DeleteVerifiedEmailAddress where -instance NFData DeleteVerifiedEmailAddress+instance NFData DeleteVerifiedEmailAddress where  instance ToHeaders DeleteVerifiedEmailAddress where         toHeaders = const mempty@@ -98,13 +94,16 @@  -- | /See:/ 'deleteVerifiedEmailAddressResponse' smart constructor. data DeleteVerifiedEmailAddressResponse =-    DeleteVerifiedEmailAddressResponse'-    deriving (Eq,Read,Show,Data,Typeable,Generic)+  DeleteVerifiedEmailAddressResponse'+  deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteVerifiedEmailAddressResponse' with the minimum fields required to make a request. -- deleteVerifiedEmailAddressResponse     :: DeleteVerifiedEmailAddressResponse deleteVerifiedEmailAddressResponse = DeleteVerifiedEmailAddressResponse' + instance NFData DeleteVerifiedEmailAddressResponse+         where
gen/Network/AWS/SES/DescribeActiveReceiptRuleSet.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.DescribeActiveReceiptRuleSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about setting up receipt rule sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DescribeActiveReceiptRuleSet     (@@ -40,12 +40,12 @@     , darrsrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -53,15 +53,17 @@ -- -- /See:/ 'describeActiveReceiptRuleSet' smart constructor. data DescribeActiveReceiptRuleSet =-    DescribeActiveReceiptRuleSet'-    deriving (Eq,Read,Show,Data,Typeable,Generic)+  DescribeActiveReceiptRuleSet'+  deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeActiveReceiptRuleSet' with the minimum fields required to make a request. -- describeActiveReceiptRuleSet     :: DescribeActiveReceiptRuleSet describeActiveReceiptRuleSet = DescribeActiveReceiptRuleSet' + instance AWSRequest DescribeActiveReceiptRuleSet          where         type Rs DescribeActiveReceiptRuleSet =@@ -77,9 +79,9 @@                      <*> (x .@? "Metadata")                      <*> (pure (fromEnum s))) -instance Hashable DescribeActiveReceiptRuleSet+instance Hashable DescribeActiveReceiptRuleSet where -instance NFData DescribeActiveReceiptRuleSet+instance NFData DescribeActiveReceiptRuleSet where  instance ToHeaders DescribeActiveReceiptRuleSet where         toHeaders = const mempty@@ -101,11 +103,12 @@ -- -- /See:/ 'describeActiveReceiptRuleSetResponse' smart constructor. data DescribeActiveReceiptRuleSetResponse = DescribeActiveReceiptRuleSetResponse'-    { _darrsrsRules          :: !(Maybe [ReceiptRule])-    , _darrsrsMetadata       :: !(Maybe ReceiptRuleSetMetadata)-    , _darrsrsResponseStatus :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _darrsrsRules          :: !(Maybe [ReceiptRule])+  , _darrsrsMetadata       :: !(Maybe ReceiptRuleSetMetadata)+  , _darrsrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeActiveReceiptRuleSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -119,12 +122,13 @@     :: Int -- ^ 'darrsrsResponseStatus'     -> DescribeActiveReceiptRuleSetResponse describeActiveReceiptRuleSetResponse pResponseStatus_ =-    DescribeActiveReceiptRuleSetResponse'-    { _darrsrsRules = Nothing-    , _darrsrsMetadata = Nothing-    , _darrsrsResponseStatus = pResponseStatus_-    }+  DescribeActiveReceiptRuleSetResponse'+  { _darrsrsRules = Nothing+  , _darrsrsMetadata = Nothing+  , _darrsrsResponseStatus = pResponseStatus_+  } + -- | The receipt rules that belong to the active rule set. darrsrsRules :: Lens' DescribeActiveReceiptRuleSetResponse [ReceiptRule] darrsrsRules = lens _darrsrsRules (\ s a -> s{_darrsrsRules = a}) . _Default . _Coerce;@@ -138,3 +142,4 @@ darrsrsResponseStatus = lens _darrsrsResponseStatus (\ s a -> s{_darrsrsResponseStatus = a});  instance NFData DescribeActiveReceiptRuleSetResponse+         where
gen/Network/AWS/SES/DescribeConfigurationSet.hs view
@@ -12,18 +12,16 @@  -- | -- Module      : Network.AWS.SES.DescribeConfigurationSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the details of the specified configuration set.+-- Returns the details of the specified configuration set. For information about using configuration sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . -- ----- Configuration sets enable you to publish email sending events. For information about using configuration sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .------ This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DescribeConfigurationSet     (@@ -38,17 +36,18 @@     , describeConfigurationSetResponse     , DescribeConfigurationSetResponse     -- * Response Lenses+    , dcsrsTrackingOptions     , dcsrsConfigurationSet     , dcsrsEventDestinations     , dcsrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . --@@ -56,10 +55,11 @@ -- -- /See:/ 'describeConfigurationSet' smart constructor. data DescribeConfigurationSet = DescribeConfigurationSet'-    { _dcsConfigurationSetAttributeNames :: !(Maybe [ConfigurationSetAttribute])-    , _dcsConfigurationSetName           :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _dcsConfigurationSetAttributeNames :: !(Maybe [ConfigurationSetAttribute])+  , _dcsConfigurationSetName           :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeConfigurationSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -71,11 +71,12 @@     :: Text -- ^ 'dcsConfigurationSetName'     -> DescribeConfigurationSet describeConfigurationSet pConfigurationSetName_ =-    DescribeConfigurationSet'-    { _dcsConfigurationSetAttributeNames = Nothing-    , _dcsConfigurationSetName = pConfigurationSetName_-    }+  DescribeConfigurationSet'+  { _dcsConfigurationSetAttributeNames = Nothing+  , _dcsConfigurationSetName = pConfigurationSetName_+  } + -- | A list of configuration set attributes to return. dcsConfigurationSetAttributeNames :: Lens' DescribeConfigurationSet [ConfigurationSetAttribute] dcsConfigurationSetAttributeNames = lens _dcsConfigurationSetAttributeNames (\ s a -> s{_dcsConfigurationSetAttributeNames = a}) . _Default . _Coerce;@@ -92,14 +93,16 @@           = receiveXMLWrapper "DescribeConfigurationSetResult"               (\ s h x ->                  DescribeConfigurationSetResponse' <$>-                   (x .@? "ConfigurationSet") <*>+                   (x .@? "TrackingOptions") <*>+                     (x .@? "ConfigurationSet")+                     <*>                      (x .@? "EventDestinations" .!@ mempty >>=                         may (parseXMLList "member"))                      <*> (pure (fromEnum s))) -instance Hashable DescribeConfigurationSet+instance Hashable DescribeConfigurationSet where -instance NFData DescribeConfigurationSet+instance NFData DescribeConfigurationSet where  instance ToHeaders DescribeConfigurationSet where         toHeaders = const mempty@@ -125,15 +128,19 @@ -- -- /See:/ 'describeConfigurationSetResponse' smart constructor. data DescribeConfigurationSetResponse = DescribeConfigurationSetResponse'-    { _dcsrsConfigurationSet  :: !(Maybe ConfigurationSet)-    , _dcsrsEventDestinations :: !(Maybe [EventDestination])-    , _dcsrsResponseStatus    :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _dcsrsTrackingOptions   :: !(Maybe TrackingOptions)+  , _dcsrsConfigurationSet  :: !(Maybe ConfigurationSet)+  , _dcsrsEventDestinations :: !(Maybe [EventDestination])+  , _dcsrsResponseStatus    :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeConfigurationSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'dcsrsTrackingOptions' - The name of the custom open and click tracking domain associated with the configuration set.+-- -- * 'dcsrsConfigurationSet' - The configuration set object associated with the specified configuration set. -- -- * 'dcsrsEventDestinations' - A list of event destinations associated with the configuration set.@@ -143,12 +150,18 @@     :: Int -- ^ 'dcsrsResponseStatus'     -> DescribeConfigurationSetResponse describeConfigurationSetResponse pResponseStatus_ =-    DescribeConfigurationSetResponse'-    { _dcsrsConfigurationSet = Nothing-    , _dcsrsEventDestinations = Nothing-    , _dcsrsResponseStatus = pResponseStatus_-    }+  DescribeConfigurationSetResponse'+  { _dcsrsTrackingOptions = Nothing+  , _dcsrsConfigurationSet = Nothing+  , _dcsrsEventDestinations = Nothing+  , _dcsrsResponseStatus = pResponseStatus_+  } ++-- | The name of the custom open and click tracking domain associated with the configuration set.+dcsrsTrackingOptions :: Lens' DescribeConfigurationSetResponse (Maybe TrackingOptions)+dcsrsTrackingOptions = lens _dcsrsTrackingOptions (\ s a -> s{_dcsrsTrackingOptions = a});+ -- | The configuration set object associated with the specified configuration set. dcsrsConfigurationSet :: Lens' DescribeConfigurationSetResponse (Maybe ConfigurationSet) dcsrsConfigurationSet = lens _dcsrsConfigurationSet (\ s a -> s{_dcsrsConfigurationSet = a});@@ -162,3 +175,4 @@ dcsrsResponseStatus = lens _dcsrsResponseStatus (\ s a -> s{_dcsrsResponseStatus = a});  instance NFData DescribeConfigurationSetResponse+         where
gen/Network/AWS/SES/DescribeReceiptRule.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.DescribeReceiptRule--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about setting up receipt rules, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DescribeReceiptRule     (@@ -42,12 +42,12 @@     , drrrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -55,15 +55,16 @@ -- -- /See:/ 'describeReceiptRule' smart constructor. data DescribeReceiptRule = DescribeReceiptRule'-    { _drrRuleSetName :: !Text-    , _drrRuleName    :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _drrRuleSetName :: !Text+  , _drrRuleName    :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeReceiptRule' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drrRuleSetName' - The name of the receipt rule set to which the receipt rule belongs.+-- * 'drrRuleSetName' - The name of the receipt rule set that the receipt rule belongs to. -- -- * 'drrRuleName' - The name of the receipt rule. describeReceiptRule@@ -71,12 +72,11 @@     -> Text -- ^ 'drrRuleName'     -> DescribeReceiptRule describeReceiptRule pRuleSetName_ pRuleName_ =-    DescribeReceiptRule'-    { _drrRuleSetName = pRuleSetName_-    , _drrRuleName = pRuleName_-    }+  DescribeReceiptRule'+  {_drrRuleSetName = pRuleSetName_, _drrRuleName = pRuleName_} --- | The name of the receipt rule set to which the receipt rule belongs.++-- | The name of the receipt rule set that the receipt rule belongs to. drrRuleSetName :: Lens' DescribeReceiptRule Text drrRuleSetName = lens _drrRuleSetName (\ s a -> s{_drrRuleSetName = a}); @@ -94,9 +94,9 @@                  DescribeReceiptRuleResponse' <$>                    (x .@? "Rule") <*> (pure (fromEnum s))) -instance Hashable DescribeReceiptRule+instance Hashable DescribeReceiptRule where -instance NFData DescribeReceiptRule+instance NFData DescribeReceiptRule where  instance ToHeaders DescribeReceiptRule where         toHeaders = const mempty@@ -118,10 +118,11 @@ -- -- /See:/ 'describeReceiptRuleResponse' smart constructor. data DescribeReceiptRuleResponse = DescribeReceiptRuleResponse'-    { _drrrsRule           :: !(Maybe ReceiptRule)-    , _drrrsResponseStatus :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _drrrsRule           :: !(Maybe ReceiptRule)+  , _drrrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeReceiptRuleResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -133,11 +134,10 @@     :: Int -- ^ 'drrrsResponseStatus'     -> DescribeReceiptRuleResponse describeReceiptRuleResponse pResponseStatus_ =-    DescribeReceiptRuleResponse'-    { _drrrsRule = Nothing-    , _drrrsResponseStatus = pResponseStatus_-    }+  DescribeReceiptRuleResponse'+  {_drrrsRule = Nothing, _drrrsResponseStatus = pResponseStatus_} + -- | 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) drrrsRule = lens _drrrsRule (\ s a -> s{_drrrsRule = a});@@ -146,4 +146,4 @@ drrrsResponseStatus :: Lens' DescribeReceiptRuleResponse Int drrrsResponseStatus = lens _drrrsResponseStatus (\ s a -> s{_drrrsResponseStatus = a}); -instance NFData DescribeReceiptRuleResponse+instance NFData DescribeReceiptRuleResponse where
gen/Network/AWS/SES/DescribeReceiptRuleSet.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.DescribeReceiptRuleSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing receipt rule sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.DescribeReceiptRuleSet     (@@ -42,12 +42,12 @@     , desrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -55,9 +55,10 @@ -- -- /See:/ 'describeReceiptRuleSet' smart constructor. newtype DescribeReceiptRuleSet = DescribeReceiptRuleSet'-    { _drrsRuleSetName :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _drrsRuleSetName :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeReceiptRuleSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -67,10 +68,9 @@     :: Text -- ^ 'drrsRuleSetName'     -> DescribeReceiptRuleSet describeReceiptRuleSet pRuleSetName_ =-    DescribeReceiptRuleSet'-    { _drrsRuleSetName = pRuleSetName_-    }+  DescribeReceiptRuleSet' {_drrsRuleSetName = pRuleSetName_} + -- | The name of the receipt rule set to describe. drrsRuleSetName :: Lens' DescribeReceiptRuleSet Text drrsRuleSetName = lens _drrsRuleSetName (\ s a -> s{_drrsRuleSetName = a});@@ -88,9 +88,9 @@                      <*> (x .@? "Metadata")                      <*> (pure (fromEnum s))) -instance Hashable DescribeReceiptRuleSet+instance Hashable DescribeReceiptRuleSet where -instance NFData DescribeReceiptRuleSet+instance NFData DescribeReceiptRuleSet where  instance ToHeaders DescribeReceiptRuleSet where         toHeaders = const mempty@@ -112,11 +112,12 @@ -- -- /See:/ 'describeReceiptRuleSetResponse' smart constructor. data DescribeReceiptRuleSetResponse = DescribeReceiptRuleSetResponse'-    { _desrsRules          :: !(Maybe [ReceiptRule])-    , _desrsMetadata       :: !(Maybe ReceiptRuleSetMetadata)-    , _desrsResponseStatus :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _desrsRules          :: !(Maybe [ReceiptRule])+  , _desrsMetadata       :: !(Maybe ReceiptRuleSetMetadata)+  , _desrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeReceiptRuleSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -130,12 +131,13 @@     :: Int -- ^ 'desrsResponseStatus'     -> DescribeReceiptRuleSetResponse describeReceiptRuleSetResponse pResponseStatus_ =-    DescribeReceiptRuleSetResponse'-    { _desrsRules = Nothing-    , _desrsMetadata = Nothing-    , _desrsResponseStatus = pResponseStatus_-    }+  DescribeReceiptRuleSetResponse'+  { _desrsRules = Nothing+  , _desrsMetadata = Nothing+  , _desrsResponseStatus = pResponseStatus_+  } + -- | A list of the receipt rules that belong to the specified receipt rule set. desrsRules :: Lens' DescribeReceiptRuleSetResponse [ReceiptRule] desrsRules = lens _desrsRules (\ s a -> s{_desrsRules = a}) . _Default . _Coerce;@@ -148,4 +150,4 @@ desrsResponseStatus :: Lens' DescribeReceiptRuleSetResponse Int desrsResponseStatus = lens _desrsResponseStatus (\ s a -> s{_desrsResponseStatus = a}); -instance NFData DescribeReceiptRuleSetResponse+instance NFData DescribeReceiptRuleSetResponse where
gen/Network/AWS/SES/GetIdentityDkimAttributes.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.GetIdentityDkimAttributes--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- Returns the current status of Easy DKIM signing for an entity. For domain name identities, this operation 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:+-- This operation takes a list of identities as input and returns the following information for each: -- --     * Whether Easy DKIM signing is enabled or disabled. --@@ -31,7 +31,7 @@ -- -- ----- This action is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.+-- This operation 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html Amazon SES Developer Guide> . --@@ -51,12 +51,12 @@     , gidarsDkimAttributes     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html Amazon SES Developer Guide> . --@@ -64,9 +64,10 @@ -- -- /See:/ 'getIdentityDkimAttributes' smart constructor. newtype GetIdentityDkimAttributes = GetIdentityDkimAttributes'-    { _gidaIdentities :: [Text]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _gidaIdentities :: [Text]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityDkimAttributes' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -75,10 +76,9 @@ getIdentityDkimAttributes     :: GetIdentityDkimAttributes getIdentityDkimAttributes =-    GetIdentityDkimAttributes'-    { _gidaIdentities = mempty-    }+  GetIdentityDkimAttributes' {_gidaIdentities = mempty} + -- | A list of one or more verified identities - email addresses, domains, or both. gidaIdentities :: Lens' GetIdentityDkimAttributes [Text] gidaIdentities = lens _gidaIdentities (\ s a -> s{_gidaIdentities = a}) . _Coerce;@@ -95,9 +95,9 @@                      (x .@? "DkimAttributes" .!@ mempty >>=                         parseXMLMap "entry" "key" "value")) -instance Hashable GetIdentityDkimAttributes+instance Hashable GetIdentityDkimAttributes where -instance NFData GetIdentityDkimAttributes+instance NFData GetIdentityDkimAttributes where  instance ToHeaders GetIdentityDkimAttributes where         toHeaders = const mempty@@ -119,10 +119,11 @@ -- -- /See:/ 'getIdentityDkimAttributesResponse' smart constructor. data GetIdentityDkimAttributesResponse = GetIdentityDkimAttributesResponse'-    { _gidarsResponseStatus :: !Int-    , _gidarsDkimAttributes :: !(Map Text IdentityDkimAttributes)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _gidarsResponseStatus :: !Int+  , _gidarsDkimAttributes :: !(Map Text IdentityDkimAttributes)+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityDkimAttributesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -134,11 +135,10 @@     :: Int -- ^ 'gidarsResponseStatus'     -> GetIdentityDkimAttributesResponse getIdentityDkimAttributesResponse pResponseStatus_ =-    GetIdentityDkimAttributesResponse'-    { _gidarsResponseStatus = pResponseStatus_-    , _gidarsDkimAttributes = mempty-    }+  GetIdentityDkimAttributesResponse'+  {_gidarsResponseStatus = pResponseStatus_, _gidarsDkimAttributes = mempty} + -- | -- | The response status code. gidarsResponseStatus :: Lens' GetIdentityDkimAttributesResponse Int gidarsResponseStatus = lens _gidarsResponseStatus (\ s a -> s{_gidarsResponseStatus = a});@@ -148,3 +148,4 @@ gidarsDkimAttributes = lens _gidarsDkimAttributes (\ s a -> s{_gidarsDkimAttributes = a}) . _Map;  instance NFData GetIdentityDkimAttributesResponse+         where
gen/Network/AWS/SES/GetIdentityMailFromDomainAttributes.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.GetIdentityMailFromDomainAttributes--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the custom MAIL FROM attributes for a list of identities (email addresses and/or domains).+-- Returns the custom MAIL FROM attributes for a list of identities (email addresses : 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.+-- This operation 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     (@@ -39,12 +39,12 @@     , gimfdarsMailFromDomainAttributes     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from.html Amazon SES Developer Guide> . --@@ -52,9 +52,10 @@ -- -- /See:/ 'getIdentityMailFromDomainAttributes' smart constructor. newtype GetIdentityMailFromDomainAttributes = GetIdentityMailFromDomainAttributes'-    { _gimfdaIdentities :: [Text]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _gimfdaIdentities :: [Text]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityMailFromDomainAttributes' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -63,16 +64,16 @@ getIdentityMailFromDomainAttributes     :: GetIdentityMailFromDomainAttributes getIdentityMailFromDomainAttributes =-    GetIdentityMailFromDomainAttributes'-    { _gimfdaIdentities = mempty-    }+  GetIdentityMailFromDomainAttributes' {_gimfdaIdentities = mempty} + -- | A list of one or more identities. gimfdaIdentities :: Lens' GetIdentityMailFromDomainAttributes [Text] gimfdaIdentities = lens _gimfdaIdentities (\ s a -> s{_gimfdaIdentities = a}) . _Coerce;  instance AWSRequest-         GetIdentityMailFromDomainAttributes where+           GetIdentityMailFromDomainAttributes+         where         type Rs GetIdentityMailFromDomainAttributes =              GetIdentityMailFromDomainAttributesResponse         request = postQuery ses@@ -86,11 +87,14 @@                         parseXMLMap "entry" "key" "value"))  instance Hashable GetIdentityMailFromDomainAttributes+         where  instance NFData GetIdentityMailFromDomainAttributes+         where  instance ToHeaders-         GetIdentityMailFromDomainAttributes where+           GetIdentityMailFromDomainAttributes+         where         toHeaders = const mempty  instance ToPath GetIdentityMailFromDomainAttributes@@ -114,10 +118,11 @@ -- -- /See:/ 'getIdentityMailFromDomainAttributesResponse' smart constructor. data GetIdentityMailFromDomainAttributesResponse = GetIdentityMailFromDomainAttributesResponse'-    { _gimfdarsResponseStatus           :: !Int-    , _gimfdarsMailFromDomainAttributes :: !(Map Text IdentityMailFromDomainAttributes)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _gimfdarsResponseStatus :: !Int+  , _gimfdarsMailFromDomainAttributes :: !(Map Text IdentityMailFromDomainAttributes)+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityMailFromDomainAttributesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -129,11 +134,12 @@     :: Int -- ^ 'gimfdarsResponseStatus'     -> GetIdentityMailFromDomainAttributesResponse getIdentityMailFromDomainAttributesResponse pResponseStatus_ =-    GetIdentityMailFromDomainAttributesResponse'-    { _gimfdarsResponseStatus = pResponseStatus_-    , _gimfdarsMailFromDomainAttributes = mempty-    }+  GetIdentityMailFromDomainAttributesResponse'+  { _gimfdarsResponseStatus = pResponseStatus_+  , _gimfdarsMailFromDomainAttributes = mempty+  } + -- | -- | The response status code. gimfdarsResponseStatus :: Lens' GetIdentityMailFromDomainAttributesResponse Int gimfdarsResponseStatus = lens _gimfdarsResponseStatus (\ s a -> s{_gimfdarsResponseStatus = a});@@ -143,4 +149,5 @@ gimfdarsMailFromDomainAttributes = lens _gimfdarsMailFromDomainAttributes (\ s a -> s{_gimfdarsMailFromDomainAttributes = a}) . _Map;  instance NFData-         GetIdentityMailFromDomainAttributesResponse+           GetIdentityMailFromDomainAttributesResponse+         where
gen/Network/AWS/SES/GetIdentityNotificationAttributes.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.GetIdentityNotificationAttributes--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- 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.+-- This operation 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html Amazon SES Developer Guide> . --@@ -41,12 +41,12 @@     , ginarsNotificationAttributes     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html Amazon SES Developer Guide> . --@@ -54,9 +54,10 @@ -- -- /See:/ 'getIdentityNotificationAttributes' smart constructor. newtype GetIdentityNotificationAttributes = GetIdentityNotificationAttributes'-    { _ginaIdentities :: [Text]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _ginaIdentities :: [Text]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityNotificationAttributes' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -65,10 +66,9 @@ getIdentityNotificationAttributes     :: GetIdentityNotificationAttributes getIdentityNotificationAttributes =-    GetIdentityNotificationAttributes'-    { _ginaIdentities = mempty-    }+  GetIdentityNotificationAttributes' {_ginaIdentities = mempty} + -- | 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: @user@example.com@ , @example.com@ , @arn:aws:ses:us-east-1:123456789012:identity/example.com@ . ginaIdentities :: Lens' GetIdentityNotificationAttributes [Text] ginaIdentities = lens _ginaIdentities (\ s a -> s{_ginaIdentities = a}) . _Coerce;@@ -88,8 +88,10 @@                         parseXMLMap "entry" "key" "value"))  instance Hashable GetIdentityNotificationAttributes+         where  instance NFData GetIdentityNotificationAttributes+         where  instance ToHeaders GetIdentityNotificationAttributes          where@@ -114,10 +116,11 @@ -- -- /See:/ 'getIdentityNotificationAttributesResponse' smart constructor. data GetIdentityNotificationAttributesResponse = GetIdentityNotificationAttributesResponse'-    { _ginarsResponseStatus         :: !Int-    , _ginarsNotificationAttributes :: !(Map Text IdentityNotificationAttributes)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _ginarsResponseStatus         :: !Int+  , _ginarsNotificationAttributes :: !(Map Text IdentityNotificationAttributes)+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityNotificationAttributesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -129,11 +132,12 @@     :: Int -- ^ 'ginarsResponseStatus'     -> GetIdentityNotificationAttributesResponse getIdentityNotificationAttributesResponse pResponseStatus_ =-    GetIdentityNotificationAttributesResponse'-    { _ginarsResponseStatus = pResponseStatus_-    , _ginarsNotificationAttributes = mempty-    }+  GetIdentityNotificationAttributesResponse'+  { _ginarsResponseStatus = pResponseStatus_+  , _ginarsNotificationAttributes = mempty+  } + -- | -- | The response status code. ginarsResponseStatus :: Lens' GetIdentityNotificationAttributesResponse Int ginarsResponseStatus = lens _ginarsResponseStatus (\ s a -> s{_ginarsResponseStatus = a});@@ -143,4 +147,5 @@ ginarsNotificationAttributes = lens _ginarsNotificationAttributes (\ s a -> s{_ginarsNotificationAttributes = a}) . _Map;  instance NFData-         GetIdentityNotificationAttributesResponse+           GetIdentityNotificationAttributesResponse+         where
gen/Network/AWS/SES/GetIdentityPolicies.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.GetIdentityPolicies--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.GetIdentityPolicies     (@@ -42,12 +42,12 @@     , giprsPolicies     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . --@@ -55,10 +55,11 @@ -- -- /See:/ 'getIdentityPolicies' smart constructor. data GetIdentityPolicies = GetIdentityPolicies'-    { _gipIdentity    :: !Text-    , _gipPolicyNames :: ![Text]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _gipIdentity    :: !Text+  , _gipPolicyNames :: ![Text]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityPolicies' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -70,11 +71,9 @@     :: Text -- ^ 'gipIdentity'     -> GetIdentityPolicies getIdentityPolicies pIdentity_ =-    GetIdentityPolicies'-    { _gipIdentity = pIdentity_-    , _gipPolicyNames = mempty-    }+  GetIdentityPolicies' {_gipIdentity = pIdentity_, _gipPolicyNames = mempty} + -- | 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: @user@example.com@ , @example.com@ , @arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To successfully call this API, you must own the identity. gipIdentity :: Lens' GetIdentityPolicies Text gipIdentity = lens _gipIdentity (\ s a -> s{_gipIdentity = a});@@ -95,9 +94,9 @@                      (x .@? "Policies" .!@ mempty >>=                         parseXMLMap "entry" "key" "value")) -instance Hashable GetIdentityPolicies+instance Hashable GetIdentityPolicies where -instance NFData GetIdentityPolicies+instance NFData GetIdentityPolicies where  instance ToHeaders GetIdentityPolicies where         toHeaders = const mempty@@ -120,10 +119,11 @@ -- -- /See:/ 'getIdentityPoliciesResponse' smart constructor. data GetIdentityPoliciesResponse = GetIdentityPoliciesResponse'-    { _giprsResponseStatus :: !Int-    , _giprsPolicies       :: !(Map Text Text)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _giprsResponseStatus :: !Int+  , _giprsPolicies       :: !(Map Text Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityPoliciesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -135,11 +135,10 @@     :: Int -- ^ 'giprsResponseStatus'     -> GetIdentityPoliciesResponse getIdentityPoliciesResponse pResponseStatus_ =-    GetIdentityPoliciesResponse'-    { _giprsResponseStatus = pResponseStatus_-    , _giprsPolicies = mempty-    }+  GetIdentityPoliciesResponse'+  {_giprsResponseStatus = pResponseStatus_, _giprsPolicies = mempty} + -- | -- | The response status code. giprsResponseStatus :: Lens' GetIdentityPoliciesResponse Int giprsResponseStatus = lens _giprsResponseStatus (\ s a -> s{_giprsResponseStatus = a});@@ -148,4 +147,4 @@ giprsPolicies :: Lens' GetIdentityPoliciesResponse (HashMap Text Text) giprsPolicies = lens _giprsPolicies (\ s a -> s{_giprsPolicies = a}) . _Map; -instance NFData GetIdentityPoliciesResponse+instance NFData GetIdentityPoliciesResponse where
gen/Network/AWS/SES/GetIdentityVerificationAttributes.hs view
@@ -12,17 +12,21 @@  -- | -- Module      : Network.AWS.SES.GetIdentityVerificationAttributes--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- 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.+-- The verification status of an email address is "Pending" until the email address owner clicks the link within the verification email that Amazon SES sent to that address. If the email address owner clicks the link within 24 hours, the verification status of the email address changes to "Success". If the link is not clicked within 24 hours, the verification status changes to "Failed." In that case, if you still want to verify the email address, you must restart the verification process from the beginning. --+-- For domain identities, the domain's verification status is "Pending" as Amazon SES searches for the required TXT record in the DNS settings of the domain. When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, if you still want to verify the domain, you must restart the verification process from the beginning.+--+-- This operation 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     (     -- * Creating a Request@@ -39,12 +43,12 @@     , givarsVerificationAttributes     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> . --@@ -52,9 +56,10 @@ -- -- /See:/ 'getIdentityVerificationAttributes' smart constructor. newtype GetIdentityVerificationAttributes = GetIdentityVerificationAttributes'-    { _givaIdentities :: [Text]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _givaIdentities :: [Text]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityVerificationAttributes' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -63,10 +68,9 @@ getIdentityVerificationAttributes     :: GetIdentityVerificationAttributes getIdentityVerificationAttributes =-    GetIdentityVerificationAttributes'-    { _givaIdentities = mempty-    }+  GetIdentityVerificationAttributes' {_givaIdentities = mempty} + -- | A list of identities. givaIdentities :: Lens' GetIdentityVerificationAttributes [Text] givaIdentities = lens _givaIdentities (\ s a -> s{_givaIdentities = a}) . _Coerce;@@ -86,8 +90,10 @@                         parseXMLMap "entry" "key" "value"))  instance Hashable GetIdentityVerificationAttributes+         where  instance NFData GetIdentityVerificationAttributes+         where  instance ToHeaders GetIdentityVerificationAttributes          where@@ -112,10 +118,11 @@ -- -- /See:/ 'getIdentityVerificationAttributesResponse' smart constructor. data GetIdentityVerificationAttributesResponse = GetIdentityVerificationAttributesResponse'-    { _givarsResponseStatus         :: !Int-    , _givarsVerificationAttributes :: !(Map Text IdentityVerificationAttributes)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _givarsResponseStatus         :: !Int+  , _givarsVerificationAttributes :: !(Map Text IdentityVerificationAttributes)+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetIdentityVerificationAttributesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -127,11 +134,12 @@     :: Int -- ^ 'givarsResponseStatus'     -> GetIdentityVerificationAttributesResponse getIdentityVerificationAttributesResponse pResponseStatus_ =-    GetIdentityVerificationAttributesResponse'-    { _givarsResponseStatus = pResponseStatus_-    , _givarsVerificationAttributes = mempty-    }+  GetIdentityVerificationAttributesResponse'+  { _givarsResponseStatus = pResponseStatus_+  , _givarsVerificationAttributes = mempty+  } + -- | -- | The response status code. givarsResponseStatus :: Lens' GetIdentityVerificationAttributesResponse Int givarsResponseStatus = lens _givarsResponseStatus (\ s a -> s{_givarsResponseStatus = a});@@ -141,4 +149,5 @@ givarsVerificationAttributes = lens _givarsVerificationAttributes (\ s a -> s{_givarsVerificationAttributes = a}) . _Map;  instance NFData-         GetIdentityVerificationAttributesResponse+           GetIdentityVerificationAttributesResponse+         where
gen/Network/AWS/SES/GetSendQuota.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.GetSendQuota--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the user's current sending limits.+-- Provides the sending limits for the Amazon SES account. -- ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.GetSendQuota     (@@ -39,24 +39,26 @@     , gsqrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | /See:/ 'getSendQuota' smart constructor. data GetSendQuota =-    GetSendQuota'-    deriving (Eq,Read,Show,Data,Typeable,Generic)+  GetSendQuota'+  deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSendQuota' with the minimum fields required to make a request. -- getSendQuota     :: GetSendQuota getSendQuota = GetSendQuota' + instance AWSRequest GetSendQuota where         type Rs GetSendQuota = GetSendQuotaResponse         request = postQuery ses@@ -68,9 +70,9 @@                      <*> (x .@? "Max24HourSend")                      <*> (pure (fromEnum s))) -instance Hashable GetSendQuota+instance Hashable GetSendQuota where -instance NFData GetSendQuota+instance NFData GetSendQuota where  instance ToHeaders GetSendQuota where         toHeaders = const mempty@@ -91,12 +93,13 @@ -- -- /See:/ 'getSendQuotaResponse' smart constructor. data GetSendQuotaResponse = GetSendQuotaResponse'-    { _gsqrsMaxSendRate     :: !(Maybe Double)-    , _gsqrsSentLast24Hours :: !(Maybe Double)-    , _gsqrsMax24HourSend   :: !(Maybe Double)-    , _gsqrsResponseStatus  :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _gsqrsMaxSendRate     :: !(Maybe Double)+  , _gsqrsSentLast24Hours :: !(Maybe Double)+  , _gsqrsMax24HourSend   :: !(Maybe Double)+  , _gsqrsResponseStatus  :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSendQuotaResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -112,13 +115,14 @@     :: Int -- ^ 'gsqrsResponseStatus'     -> GetSendQuotaResponse getSendQuotaResponse pResponseStatus_ =-    GetSendQuotaResponse'-    { _gsqrsMaxSendRate = Nothing-    , _gsqrsSentLast24Hours = Nothing-    , _gsqrsMax24HourSend = Nothing-    , _gsqrsResponseStatus = pResponseStatus_-    }+  GetSendQuotaResponse'+  { _gsqrsMaxSendRate = Nothing+  , _gsqrsSentLast24Hours = Nothing+  , _gsqrsMax24HourSend = Nothing+  , _gsqrsResponseStatus = pResponseStatus_+  } + -- | The maximum number of emails that Amazon SES can accept from the user's account per second. gsqrsMaxSendRate :: Lens' GetSendQuotaResponse (Maybe Double) gsqrsMaxSendRate = lens _gsqrsMaxSendRate (\ s a -> s{_gsqrsMaxSendRate = a});@@ -135,4 +139,4 @@ gsqrsResponseStatus :: Lens' GetSendQuotaResponse Int gsqrsResponseStatus = lens _gsqrsResponseStatus (\ s a -> s{_gsqrsResponseStatus = a}); -instance NFData GetSendQuotaResponse+instance NFData GetSendQuotaResponse where
gen/Network/AWS/SES/GetSendStatistics.hs view
@@ -12,18 +12,16 @@  -- | -- Module      : Network.AWS.SES.GetSendStatistics--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.+-- Provides sending statistics for the Amazon SES account. 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 period of time. -- ----- Each data point in the list contains statistics for a 15-minute interval.------ This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.GetSendStatistics     (@@ -39,24 +37,26 @@     , gssrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | /See:/ 'getSendStatistics' smart constructor. data GetSendStatistics =-    GetSendStatistics'-    deriving (Eq,Read,Show,Data,Typeable,Generic)+  GetSendStatistics'+  deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSendStatistics' with the minimum fields required to make a request. -- getSendStatistics     :: GetSendStatistics getSendStatistics = GetSendStatistics' + instance AWSRequest GetSendStatistics where         type Rs GetSendStatistics = GetSendStatisticsResponse         request = postQuery ses@@ -68,9 +68,9 @@                       may (parseXMLList "member"))                      <*> (pure (fromEnum s))) -instance Hashable GetSendStatistics+instance Hashable GetSendStatistics where -instance NFData GetSendStatistics+instance NFData GetSendStatistics where  instance ToHeaders GetSendStatistics where         toHeaders = const mempty@@ -91,10 +91,11 @@ -- -- /See:/ 'getSendStatisticsResponse' smart constructor. data GetSendStatisticsResponse = GetSendStatisticsResponse'-    { _gssrsSendDataPoints :: !(Maybe [SendDataPoint])-    , _gssrsResponseStatus :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _gssrsSendDataPoints :: !(Maybe [SendDataPoint])+  , _gssrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'GetSendStatisticsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -106,11 +107,10 @@     :: Int -- ^ 'gssrsResponseStatus'     -> GetSendStatisticsResponse getSendStatisticsResponse pResponseStatus_ =-    GetSendStatisticsResponse'-    { _gssrsSendDataPoints = Nothing-    , _gssrsResponseStatus = pResponseStatus_-    }+  GetSendStatisticsResponse'+  {_gssrsSendDataPoints = Nothing, _gssrsResponseStatus = pResponseStatus_} + -- | A list of data points, each of which represents 15 minutes of activity. gssrsSendDataPoints :: Lens' GetSendStatisticsResponse [SendDataPoint] gssrsSendDataPoints = lens _gssrsSendDataPoints (\ s a -> s{_gssrsSendDataPoints = a}) . _Default . _Coerce;@@ -119,4 +119,4 @@ gssrsResponseStatus :: Lens' GetSendStatisticsResponse Int gssrsResponseStatus = lens _gssrsResponseStatus (\ s a -> s{_gssrsResponseStatus = a}); -instance NFData GetSendStatisticsResponse+instance NFData GetSendStatisticsResponse where
+ gen/Network/AWS/SES/GetTemplate.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.GetTemplate+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Displays the template object (which includes the Subject line, HTML part and text part) for the template you specify.+--+--+-- You can execute this operation no more than once per second.+--+module Network.AWS.SES.GetTemplate+    (+    -- * Creating a Request+      getTemplate+    , GetTemplate+    -- * Request Lenses+    , gtTemplateName++    -- * Destructuring the Response+    , getTemplateResponse+    , GetTemplateResponse+    -- * Response Lenses+    , gtrsTemplate+    , gtrsResponseStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | /See:/ 'getTemplate' smart constructor.+newtype GetTemplate = GetTemplate'+  { _gtTemplateName :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetTemplate' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gtTemplateName' - The name of the template you want to retrieve.+getTemplate+    :: Text -- ^ 'gtTemplateName'+    -> GetTemplate+getTemplate pTemplateName_ = GetTemplate' {_gtTemplateName = pTemplateName_}+++-- | The name of the template you want to retrieve.+gtTemplateName :: Lens' GetTemplate Text+gtTemplateName = lens _gtTemplateName (\ s a -> s{_gtTemplateName = a});++instance AWSRequest GetTemplate where+        type Rs GetTemplate = GetTemplateResponse+        request = postQuery ses+        response+          = receiveXMLWrapper "GetTemplateResult"+              (\ s h x ->+                 GetTemplateResponse' <$>+                   (x .@? "Template") <*> (pure (fromEnum s)))++instance Hashable GetTemplate where++instance NFData GetTemplate where++instance ToHeaders GetTemplate where+        toHeaders = const mempty++instance ToPath GetTemplate where+        toPath = const "/"++instance ToQuery GetTemplate where+        toQuery GetTemplate'{..}+          = mconcat+              ["Action" =: ("GetTemplate" :: ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "TemplateName" =: _gtTemplateName]++-- | /See:/ 'getTemplateResponse' smart constructor.+data GetTemplateResponse = GetTemplateResponse'+  { _gtrsTemplate       :: !(Maybe Template)+  , _gtrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'GetTemplateResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gtrsTemplate' - Undocumented member.+--+-- * 'gtrsResponseStatus' - -- | The response status code.+getTemplateResponse+    :: Int -- ^ 'gtrsResponseStatus'+    -> GetTemplateResponse+getTemplateResponse pResponseStatus_ =+  GetTemplateResponse'+  {_gtrsTemplate = Nothing, _gtrsResponseStatus = pResponseStatus_}+++-- | Undocumented member.+gtrsTemplate :: Lens' GetTemplateResponse (Maybe Template)+gtrsTemplate = lens _gtrsTemplate (\ s a -> s{_gtrsTemplate = a});++-- | -- | The response status code.+gtrsResponseStatus :: Lens' GetTemplateResponse Int+gtrsResponseStatus = lens _gtrsResponseStatus (\ s a -> s{_gtrsResponseStatus = a});++instance NFData GetTemplateResponse where
gen/Network/AWS/SES/ListConfigurationSets.hs view
@@ -12,18 +12,16 @@  -- | -- Module      : Network.AWS.SES.ListConfigurationSets--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the configuration sets associated with your AWS account.+-- Provides a list of the configuration sets associated with your Amazon SES account. For information about using configuration sets, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Monitoring Your Amazon SES Sending Activity> in the /Amazon SES Developer Guide./ -- ----- Configuration sets enable you to publish email sending events. For information about using configuration sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .------ This action is throttled at one request per second and can return up to 50 configuration sets at a time.+-- You can execute this operation no more than once per second. This operation will return up to 1,000 configuration sets each time it is run. If your Amazon SES account has more than 1,000 configuration sets, this operation will also return a NextToken element. You can then execute the @ListConfigurationSets@ operation again, passing the @NextToken@ parameter and the value of the NextToken element to retrieve additional results. -- module Network.AWS.SES.ListConfigurationSets     (@@ -43,12 +41,12 @@     , lcsrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . --@@ -56,10 +54,11 @@ -- -- /See:/ 'listConfigurationSets' smart constructor. data ListConfigurationSets = ListConfigurationSets'-    { _lcsNextToken :: !(Maybe Text)-    , _lcsMaxItems  :: !(Maybe Int)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _lcsNextToken :: !(Maybe Text)+  , _lcsMaxItems  :: !(Maybe Int)+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListConfigurationSets' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -70,11 +69,9 @@ listConfigurationSets     :: ListConfigurationSets listConfigurationSets =-    ListConfigurationSets'-    { _lcsNextToken = Nothing-    , _lcsMaxItems = Nothing-    }+  ListConfigurationSets' {_lcsNextToken = Nothing, _lcsMaxItems = Nothing} + -- | A token returned from a previous call to @ListConfigurationSets@ to indicate the position of the configuration set in the configuration set list. lcsNextToken :: Lens' ListConfigurationSets (Maybe Text) lcsNextToken = lens _lcsNextToken (\ s a -> s{_lcsNextToken = a});@@ -96,9 +93,9 @@                      <*> (x .@? "NextToken")                      <*> (pure (fromEnum s))) -instance Hashable ListConfigurationSets+instance Hashable ListConfigurationSets where -instance NFData ListConfigurationSets+instance NFData ListConfigurationSets where  instance ToHeaders ListConfigurationSets where         toHeaders = const mempty@@ -120,11 +117,12 @@ -- -- /See:/ 'listConfigurationSetsResponse' smart constructor. data ListConfigurationSetsResponse = ListConfigurationSetsResponse'-    { _lcsrsConfigurationSets :: !(Maybe [ConfigurationSet])-    , _lcsrsNextToken         :: !(Maybe Text)-    , _lcsrsResponseStatus    :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _lcsrsConfigurationSets :: !(Maybe [ConfigurationSet])+  , _lcsrsNextToken         :: !(Maybe Text)+  , _lcsrsResponseStatus    :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListConfigurationSetsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -138,12 +136,13 @@     :: Int -- ^ 'lcsrsResponseStatus'     -> ListConfigurationSetsResponse listConfigurationSetsResponse pResponseStatus_ =-    ListConfigurationSetsResponse'-    { _lcsrsConfigurationSets = Nothing-    , _lcsrsNextToken = Nothing-    , _lcsrsResponseStatus = pResponseStatus_-    }+  ListConfigurationSetsResponse'+  { _lcsrsConfigurationSets = Nothing+  , _lcsrsNextToken = Nothing+  , _lcsrsResponseStatus = pResponseStatus_+  } + -- | A list of configuration sets. lcsrsConfigurationSets :: Lens' ListConfigurationSetsResponse [ConfigurationSet] lcsrsConfigurationSets = lens _lcsrsConfigurationSets (\ s a -> s{_lcsrsConfigurationSets = a}) . _Default . _Coerce;@@ -156,4 +155,4 @@ lcsrsResponseStatus :: Lens' ListConfigurationSetsResponse Int lcsrsResponseStatus = lens _lcsrsResponseStatus (\ s a -> s{_lcsrsResponseStatus = a}); -instance NFData ListConfigurationSetsResponse+instance NFData ListConfigurationSetsResponse where
gen/Network/AWS/SES/ListIdentities.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.ListIdentities--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- 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.+-- You can execute this operation no more than once per second. -- -- -- This operation returns paginated results.@@ -44,13 +44,13 @@     , lirsIdentities     ) where -import           Network.AWS.Lens-import           Network.AWS.Pager-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Pager+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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. --@@ -58,11 +58,12 @@ -- -- /See:/ 'listIdentities' smart constructor. data ListIdentities = ListIdentities'-    { _liIdentityType :: !(Maybe IdentityType)-    , _liNextToken    :: !(Maybe Text)-    , _liMaxItems     :: !(Maybe Int)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _liIdentityType :: !(Maybe IdentityType)+  , _liNextToken    :: !(Maybe Text)+  , _liMaxItems     :: !(Maybe Int)+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListIdentities' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -75,12 +76,10 @@ listIdentities     :: ListIdentities listIdentities =-    ListIdentities'-    { _liIdentityType = Nothing-    , _liNextToken = Nothing-    , _liMaxItems = Nothing-    }+  ListIdentities'+  {_liIdentityType = Nothing, _liNextToken = Nothing, _liMaxItems = Nothing} + -- | The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed. liIdentityType :: Lens' ListIdentities (Maybe IdentityType) liIdentityType = lens _liIdentityType (\ s a -> s{_liIdentityType = a});@@ -111,9 +110,9 @@                      (x .@? "Identities" .!@ mempty >>=                         parseXMLList "member")) -instance Hashable ListIdentities+instance Hashable ListIdentities where -instance NFData ListIdentities+instance NFData ListIdentities where  instance ToHeaders ListIdentities where         toHeaders = const mempty@@ -136,11 +135,12 @@ -- -- /See:/ 'listIdentitiesResponse' smart constructor. data ListIdentitiesResponse = ListIdentitiesResponse'-    { _lirsNextToken      :: !(Maybe Text)-    , _lirsResponseStatus :: !Int-    , _lirsIdentities     :: ![Text]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _lirsNextToken      :: !(Maybe Text)+  , _lirsResponseStatus :: !Int+  , _lirsIdentities     :: ![Text]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListIdentitiesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -154,12 +154,13 @@     :: Int -- ^ 'lirsResponseStatus'     -> ListIdentitiesResponse listIdentitiesResponse pResponseStatus_ =-    ListIdentitiesResponse'-    { _lirsNextToken = Nothing-    , _lirsResponseStatus = pResponseStatus_-    , _lirsIdentities = mempty-    }+  ListIdentitiesResponse'+  { _lirsNextToken = Nothing+  , _lirsResponseStatus = pResponseStatus_+  , _lirsIdentities = mempty+  } + -- | The token used for pagination. lirsNextToken :: Lens' ListIdentitiesResponse (Maybe Text) lirsNextToken = lens _lirsNextToken (\ s a -> s{_lirsNextToken = a});@@ -172,4 +173,4 @@ lirsIdentities :: Lens' ListIdentitiesResponse [Text] lirsIdentities = lens _lirsIdentities (\ s a -> s{_lirsIdentities = a}) . _Coerce; -instance NFData ListIdentitiesResponse+instance NFData ListIdentitiesResponse where
gen/Network/AWS/SES/ListIdentityPolicies.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.ListIdentityPolicies--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.ListIdentityPolicies     (@@ -41,12 +41,12 @@     , liprsPolicyNames     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . --@@ -54,9 +54,10 @@ -- -- /See:/ 'listIdentityPolicies' smart constructor. newtype ListIdentityPolicies = ListIdentityPolicies'-    { _lipIdentity :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _lipIdentity :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListIdentityPolicies' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -66,10 +67,9 @@     :: Text -- ^ 'lipIdentity'     -> ListIdentityPolicies listIdentityPolicies pIdentity_ =-    ListIdentityPolicies'-    { _lipIdentity = pIdentity_-    }+  ListIdentityPolicies' {_lipIdentity = pIdentity_} + -- | 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: @user@example.com@ , @example.com@ , @arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To successfully call this API, you must own the identity. lipIdentity :: Lens' ListIdentityPolicies Text lipIdentity = lens _lipIdentity (\ s a -> s{_lipIdentity = a});@@ -86,9 +86,9 @@                      (x .@? "PolicyNames" .!@ mempty >>=                         parseXMLList "member")) -instance Hashable ListIdentityPolicies+instance Hashable ListIdentityPolicies where -instance NFData ListIdentityPolicies+instance NFData ListIdentityPolicies where  instance ToHeaders ListIdentityPolicies where         toHeaders = const mempty@@ -109,10 +109,11 @@ -- -- /See:/ 'listIdentityPoliciesResponse' smart constructor. data ListIdentityPoliciesResponse = ListIdentityPoliciesResponse'-    { _liprsResponseStatus :: !Int-    , _liprsPolicyNames    :: ![Text]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _liprsResponseStatus :: !Int+  , _liprsPolicyNames    :: ![Text]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListIdentityPoliciesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -124,11 +125,10 @@     :: Int -- ^ 'liprsResponseStatus'     -> ListIdentityPoliciesResponse listIdentityPoliciesResponse pResponseStatus_ =-    ListIdentityPoliciesResponse'-    { _liprsResponseStatus = pResponseStatus_-    , _liprsPolicyNames = mempty-    }+  ListIdentityPoliciesResponse'+  {_liprsResponseStatus = pResponseStatus_, _liprsPolicyNames = mempty} + -- | -- | The response status code. liprsResponseStatus :: Lens' ListIdentityPoliciesResponse Int liprsResponseStatus = lens _liprsResponseStatus (\ s a -> s{_liprsResponseStatus = a});@@ -137,4 +137,4 @@ liprsPolicyNames :: Lens' ListIdentityPoliciesResponse [Text] liprsPolicyNames = lens _liprsPolicyNames (\ s a -> s{_liprsPolicyNames = a}) . _Coerce; -instance NFData ListIdentityPoliciesResponse+instance NFData ListIdentityPoliciesResponse where
gen/Network/AWS/SES/ListReceiptFilters.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.ListReceiptFilters--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing IP address filters, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-ip-filters.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.ListReceiptFilters     (@@ -39,12 +39,12 @@     , lrfrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -52,15 +52,17 @@ -- -- /See:/ 'listReceiptFilters' smart constructor. data ListReceiptFilters =-    ListReceiptFilters'-    deriving (Eq,Read,Show,Data,Typeable,Generic)+  ListReceiptFilters'+  deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListReceiptFilters' with the minimum fields required to make a request. -- listReceiptFilters     :: ListReceiptFilters listReceiptFilters = ListReceiptFilters' + instance AWSRequest ListReceiptFilters where         type Rs ListReceiptFilters =              ListReceiptFiltersResponse@@ -73,9 +75,9 @@                       may (parseXMLList "member"))                      <*> (pure (fromEnum s))) -instance Hashable ListReceiptFilters+instance Hashable ListReceiptFilters where -instance NFData ListReceiptFilters+instance NFData ListReceiptFilters where  instance ToHeaders ListReceiptFilters where         toHeaders = const mempty@@ -96,10 +98,11 @@ -- -- /See:/ 'listReceiptFiltersResponse' smart constructor. data ListReceiptFiltersResponse = ListReceiptFiltersResponse'-    { _lrfrsFilters        :: !(Maybe [ReceiptFilter])-    , _lrfrsResponseStatus :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _lrfrsFilters        :: !(Maybe [ReceiptFilter])+  , _lrfrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListReceiptFiltersResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -111,11 +114,10 @@     :: Int -- ^ 'lrfrsResponseStatus'     -> ListReceiptFiltersResponse listReceiptFiltersResponse pResponseStatus_ =-    ListReceiptFiltersResponse'-    { _lrfrsFilters = Nothing-    , _lrfrsResponseStatus = pResponseStatus_-    }+  ListReceiptFiltersResponse'+  {_lrfrsFilters = Nothing, _lrfrsResponseStatus = pResponseStatus_} + -- | 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] lrfrsFilters = lens _lrfrsFilters (\ s a -> s{_lrfrsFilters = a}) . _Default . _Coerce;@@ -124,4 +126,4 @@ lrfrsResponseStatus :: Lens' ListReceiptFiltersResponse Int lrfrsResponseStatus = lens _lrfrsResponseStatus (\ s a -> s{_lrfrsResponseStatus = a}); -instance NFData ListReceiptFiltersResponse+instance NFData ListReceiptFiltersResponse where
gen/Network/AWS/SES/ListReceiptRuleSets.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.ListReceiptRuleSets--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing receipt rule sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.ListReceiptRuleSets     (@@ -42,12 +42,12 @@     , lrrsrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -55,9 +55,10 @@ -- -- /See:/ 'listReceiptRuleSets' smart constructor. newtype ListReceiptRuleSets = ListReceiptRuleSets'-    { _lrrsNextToken :: Maybe Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _lrrsNextToken :: Maybe Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListReceiptRuleSets' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -65,11 +66,9 @@ -- * 'lrrsNextToken' - A token returned from a previous call to @ListReceiptRuleSets@ to indicate the position in the receipt rule set list. listReceiptRuleSets     :: ListReceiptRuleSets-listReceiptRuleSets =-    ListReceiptRuleSets'-    { _lrrsNextToken = Nothing-    }+listReceiptRuleSets = ListReceiptRuleSets' {_lrrsNextToken = Nothing} + -- | A token returned from a previous call to @ListReceiptRuleSets@ to indicate the position in the receipt rule set list. lrrsNextToken :: Lens' ListReceiptRuleSets (Maybe Text) lrrsNextToken = lens _lrrsNextToken (\ s a -> s{_lrrsNextToken = a});@@ -87,9 +86,9 @@                      <*> (x .@? "NextToken")                      <*> (pure (fromEnum s))) -instance Hashable ListReceiptRuleSets+instance Hashable ListReceiptRuleSets where -instance NFData ListReceiptRuleSets+instance NFData ListReceiptRuleSets where  instance ToHeaders ListReceiptRuleSets where         toHeaders = const mempty@@ -110,11 +109,12 @@ -- -- /See:/ 'listReceiptRuleSetsResponse' smart constructor. data ListReceiptRuleSetsResponse = ListReceiptRuleSetsResponse'-    { _lrrsrsRuleSets       :: !(Maybe [ReceiptRuleSetMetadata])-    , _lrrsrsNextToken      :: !(Maybe Text)-    , _lrrsrsResponseStatus :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _lrrsrsRuleSets       :: !(Maybe [ReceiptRuleSetMetadata])+  , _lrrsrsNextToken      :: !(Maybe Text)+  , _lrrsrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListReceiptRuleSetsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -128,12 +128,13 @@     :: Int -- ^ 'lrrsrsResponseStatus'     -> ListReceiptRuleSetsResponse listReceiptRuleSetsResponse pResponseStatus_ =-    ListReceiptRuleSetsResponse'-    { _lrrsrsRuleSets = Nothing-    , _lrrsrsNextToken = Nothing-    , _lrrsrsResponseStatus = pResponseStatus_-    }+  ListReceiptRuleSetsResponse'+  { _lrrsrsRuleSets = Nothing+  , _lrrsrsNextToken = Nothing+  , _lrrsrsResponseStatus = pResponseStatus_+  } + -- | 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] lrrsrsRuleSets = lens _lrrsrsRuleSets (\ s a -> s{_lrrsrsRuleSets = a}) . _Default . _Coerce;@@ -146,4 +147,4 @@ lrrsrsResponseStatus :: Lens' ListReceiptRuleSetsResponse Int lrrsrsResponseStatus = lens _lrrsrsResponseStatus (\ s a -> s{_lrrsrsResponseStatus = a}); -instance NFData ListReceiptRuleSetsResponse+instance NFData ListReceiptRuleSetsResponse where
+ gen/Network/AWS/SES/ListTemplates.hs view
@@ -0,0 +1,148 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.ListTemplates+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the email templates present in your Amazon SES account.+--+--+-- You can execute this operation no more than once per second.+--+module Network.AWS.SES.ListTemplates+    (+    -- * Creating a Request+      listTemplates+    , ListTemplates+    -- * Request Lenses+    , ltNextToken+    , ltMaxItems++    -- * Destructuring the Response+    , listTemplatesResponse+    , ListTemplatesResponse+    -- * Response Lenses+    , ltrsTemplatesMetadata+    , ltrsNextToken+    , ltrsResponseStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | /See:/ 'listTemplates' smart constructor.+data ListTemplates = ListTemplates'+  { _ltNextToken :: !(Maybe Text)+  , _ltMaxItems  :: !(Maybe Int)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ListTemplates' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ltNextToken' - The token to use for pagination.+--+-- * 'ltMaxItems' - The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will return up to 10 results.+listTemplates+    :: ListTemplates+listTemplates = ListTemplates' {_ltNextToken = Nothing, _ltMaxItems = Nothing}+++-- | The token to use for pagination.+ltNextToken :: Lens' ListTemplates (Maybe Text)+ltNextToken = lens _ltNextToken (\ s a -> s{_ltNextToken = a});++-- | The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will return up to 10 results.+ltMaxItems :: Lens' ListTemplates (Maybe Int)+ltMaxItems = lens _ltMaxItems (\ s a -> s{_ltMaxItems = a});++instance AWSRequest ListTemplates where+        type Rs ListTemplates = ListTemplatesResponse+        request = postQuery ses+        response+          = receiveXMLWrapper "ListTemplatesResult"+              (\ s h x ->+                 ListTemplatesResponse' <$>+                   (x .@? "TemplatesMetadata" .!@ mempty >>=+                      may (parseXMLList "member"))+                     <*> (x .@? "NextToken")+                     <*> (pure (fromEnum s)))++instance Hashable ListTemplates where++instance NFData ListTemplates where++instance ToHeaders ListTemplates where+        toHeaders = const mempty++instance ToPath ListTemplates where+        toPath = const "/"++instance ToQuery ListTemplates where+        toQuery ListTemplates'{..}+          = mconcat+              ["Action" =: ("ListTemplates" :: ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "NextToken" =: _ltNextToken,+               "MaxItems" =: _ltMaxItems]++-- | /See:/ 'listTemplatesResponse' smart constructor.+data ListTemplatesResponse = ListTemplatesResponse'+  { _ltrsTemplatesMetadata :: !(Maybe [TemplateMetadata])+  , _ltrsNextToken         :: !(Maybe Text)+  , _ltrsResponseStatus    :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ListTemplatesResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ltrsTemplatesMetadata' - An array the contains the name of creation time stamp for each template in your Amazon SES account.+--+-- * 'ltrsNextToken' - The token to use for pagination.+--+-- * 'ltrsResponseStatus' - -- | The response status code.+listTemplatesResponse+    :: Int -- ^ 'ltrsResponseStatus'+    -> ListTemplatesResponse+listTemplatesResponse pResponseStatus_ =+  ListTemplatesResponse'+  { _ltrsTemplatesMetadata = Nothing+  , _ltrsNextToken = Nothing+  , _ltrsResponseStatus = pResponseStatus_+  }+++-- | An array the contains the name of creation time stamp for each template in your Amazon SES account.+ltrsTemplatesMetadata :: Lens' ListTemplatesResponse [TemplateMetadata]+ltrsTemplatesMetadata = lens _ltrsTemplatesMetadata (\ s a -> s{_ltrsTemplatesMetadata = a}) . _Default . _Coerce;++-- | The token to use for pagination.+ltrsNextToken :: Lens' ListTemplatesResponse (Maybe Text)+ltrsNextToken = lens _ltrsNextToken (\ s a -> s{_ltrsNextToken = a});++-- | -- | The response status code.+ltrsResponseStatus :: Lens' ListTemplatesResponse Int+ltrsResponseStatus = lens _ltrsResponseStatus (\ s a -> s{_ltrsResponseStatus = a});++instance NFData ListTemplatesResponse where
gen/Network/AWS/SES/ListVerifiedEmailAddresses.hs view
@@ -12,19 +12,15 @@  -- | -- Module      : Network.AWS.SES.ListVerifiedEmailAddresses--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a list containing all of the email addresses that have been verified.+-- Deprecated. Use the @ListIdentities@ operation to list the email addresses and domains associated with your account. -- ----- /Important:/ 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     (     -- * Creating a Request@@ -39,24 +35,26 @@     , lvearsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | /See:/ 'listVerifiedEmailAddresses' smart constructor. data ListVerifiedEmailAddresses =-    ListVerifiedEmailAddresses'-    deriving (Eq,Read,Show,Data,Typeable,Generic)+  ListVerifiedEmailAddresses'+  deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListVerifiedEmailAddresses' with the minimum fields required to make a request. -- listVerifiedEmailAddresses     :: ListVerifiedEmailAddresses listVerifiedEmailAddresses = ListVerifiedEmailAddresses' + instance AWSRequest ListVerifiedEmailAddresses where         type Rs ListVerifiedEmailAddresses =              ListVerifiedEmailAddressesResponse@@ -70,9 +68,9 @@                       may (parseXMLList "member"))                      <*> (pure (fromEnum s))) -instance Hashable ListVerifiedEmailAddresses+instance Hashable ListVerifiedEmailAddresses where -instance NFData ListVerifiedEmailAddresses+instance NFData ListVerifiedEmailAddresses where  instance ToHeaders ListVerifiedEmailAddresses where         toHeaders = const mempty@@ -94,10 +92,11 @@ -- -- /See:/ 'listVerifiedEmailAddressesResponse' smart constructor. data ListVerifiedEmailAddressesResponse = ListVerifiedEmailAddressesResponse'-    { _lvearsVerifiedEmailAddresses :: !(Maybe [Text])-    , _lvearsResponseStatus         :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _lvearsVerifiedEmailAddresses :: !(Maybe [Text])+  , _lvearsResponseStatus         :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListVerifiedEmailAddressesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -109,11 +108,12 @@     :: Int -- ^ 'lvearsResponseStatus'     -> ListVerifiedEmailAddressesResponse listVerifiedEmailAddressesResponse pResponseStatus_ =-    ListVerifiedEmailAddressesResponse'-    { _lvearsVerifiedEmailAddresses = Nothing-    , _lvearsResponseStatus = pResponseStatus_-    }+  ListVerifiedEmailAddressesResponse'+  { _lvearsVerifiedEmailAddresses = Nothing+  , _lvearsResponseStatus = pResponseStatus_+  } + -- | A list of email addresses that have been verified. lvearsVerifiedEmailAddresses :: Lens' ListVerifiedEmailAddressesResponse [Text] lvearsVerifiedEmailAddresses = lens _lvearsVerifiedEmailAddresses (\ s a -> s{_lvearsVerifiedEmailAddresses = a}) . _Default . _Coerce;@@ -123,3 +123,4 @@ lvearsResponseStatus = lens _lvearsResponseStatus (\ s a -> s{_lvearsResponseStatus = a});  instance NFData ListVerifiedEmailAddressesResponse+         where
gen/Network/AWS/SES/PutIdentityPolicy.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.PutIdentityPolicy--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.PutIdentityPolicy     (@@ -42,12 +42,12 @@     , piprsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . --@@ -55,16 +55,17 @@ -- -- /See:/ 'putIdentityPolicy' smart constructor. data PutIdentityPolicy = PutIdentityPolicy'-    { _pipIdentity   :: !Text-    , _pipPolicyName :: !Text-    , _pipPolicy     :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _pipIdentity   :: !Text+  , _pipPolicyName :: !Text+  , _pipPolicy     :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'PutIdentityPolicy' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pipIdentity' - 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: @user@example.com@ , @example.com@ , @arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To successfully call this API, you must own the identity.+-- * 'pipIdentity' - The identity that the policy will apply to. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: @user@example.com@ , @example.com@ , @arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To successfully call this API, you must own the identity. -- -- * 'pipPolicyName' - The name of the policy. The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores. --@@ -75,13 +76,14 @@     -> Text -- ^ 'pipPolicy'     -> PutIdentityPolicy putIdentityPolicy pIdentity_ pPolicyName_ pPolicy_ =-    PutIdentityPolicy'-    { _pipIdentity = pIdentity_-    , _pipPolicyName = pPolicyName_-    , _pipPolicy = pPolicy_-    }+  PutIdentityPolicy'+  { _pipIdentity = pIdentity_+  , _pipPolicyName = pPolicyName_+  , _pipPolicy = pPolicy_+  } --- | 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: @user@example.com@ , @example.com@ , @arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To successfully call this API, you must own the identity.++-- | The identity that the policy will apply to. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: @user@example.com@ , @example.com@ , @arn:aws:ses:us-east-1:123456789012:identity/example.com@ . To successfully call this API, you must own the identity. pipIdentity :: Lens' PutIdentityPolicy Text pipIdentity = lens _pipIdentity (\ s a -> s{_pipIdentity = a}); @@ -101,9 +103,9 @@               (\ s h x ->                  PutIdentityPolicyResponse' <$> (pure (fromEnum s))) -instance Hashable PutIdentityPolicy+instance Hashable PutIdentityPolicy where -instance NFData PutIdentityPolicy+instance NFData PutIdentityPolicy where  instance ToHeaders PutIdentityPolicy where         toHeaders = const mempty@@ -126,9 +128,10 @@ -- -- /See:/ 'putIdentityPolicyResponse' smart constructor. newtype PutIdentityPolicyResponse = PutIdentityPolicyResponse'-    { _piprsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _piprsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'PutIdentityPolicyResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -138,12 +141,11 @@     :: Int -- ^ 'piprsResponseStatus'     -> PutIdentityPolicyResponse putIdentityPolicyResponse pResponseStatus_ =-    PutIdentityPolicyResponse'-    { _piprsResponseStatus = pResponseStatus_-    }+  PutIdentityPolicyResponse' {_piprsResponseStatus = pResponseStatus_} + -- | -- | The response status code. piprsResponseStatus :: Lens' PutIdentityPolicyResponse Int piprsResponseStatus = lens _piprsResponseStatus (\ s a -> s{_piprsResponseStatus = a}); -instance NFData PutIdentityPolicyResponse+instance NFData PutIdentityPolicyResponse where
gen/Network/AWS/SES/ReorderReceiptRuleSet.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.ReorderReceiptRuleSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing receipt rule sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.ReorderReceiptRuleSet     (@@ -41,12 +41,12 @@     , rrrsrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -54,10 +54,11 @@ -- -- /See:/ 'reorderReceiptRuleSet' smart constructor. data ReorderReceiptRuleSet = ReorderReceiptRuleSet'-    { _rrrsRuleSetName :: !Text-    , _rrrsRuleNames   :: ![Text]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _rrrsRuleSetName :: !Text+  , _rrrsRuleNames   :: ![Text]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReorderReceiptRuleSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -69,11 +70,10 @@     :: Text -- ^ 'rrrsRuleSetName'     -> ReorderReceiptRuleSet reorderReceiptRuleSet pRuleSetName_ =-    ReorderReceiptRuleSet'-    { _rrrsRuleSetName = pRuleSetName_-    , _rrrsRuleNames = mempty-    }+  ReorderReceiptRuleSet'+  {_rrrsRuleSetName = pRuleSetName_, _rrrsRuleNames = mempty} + -- | The name of the receipt rule set to reorder. rrrsRuleSetName :: Lens' ReorderReceiptRuleSet Text rrrsRuleSetName = lens _rrrsRuleSetName (\ s a -> s{_rrrsRuleSetName = a});@@ -92,9 +92,9 @@                  ReorderReceiptRuleSetResponse' <$>                    (pure (fromEnum s))) -instance Hashable ReorderReceiptRuleSet+instance Hashable ReorderReceiptRuleSet where -instance NFData ReorderReceiptRuleSet+instance NFData ReorderReceiptRuleSet where  instance ToHeaders ReorderReceiptRuleSet where         toHeaders = const mempty@@ -116,9 +116,10 @@ -- -- /See:/ 'reorderReceiptRuleSetResponse' smart constructor. newtype ReorderReceiptRuleSetResponse = ReorderReceiptRuleSetResponse'-    { _rrrsrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _rrrsrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ReorderReceiptRuleSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -128,12 +129,11 @@     :: Int -- ^ 'rrrsrsResponseStatus'     -> ReorderReceiptRuleSetResponse reorderReceiptRuleSetResponse pResponseStatus_ =-    ReorderReceiptRuleSetResponse'-    { _rrrsrsResponseStatus = pResponseStatus_-    }+  ReorderReceiptRuleSetResponse' {_rrrsrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. rrrsrsResponseStatus :: Lens' ReorderReceiptRuleSetResponse Int rrrsrsResponseStatus = lens _rrrsrsResponseStatus (\ s a -> s{_rrrsrsResponseStatus = a}); -instance NFData ReorderReceiptRuleSetResponse+instance NFData ReorderReceiptRuleSetResponse where
gen/Network/AWS/SES/SendBounce.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.SendBounce--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about receiving email through Amazon SES, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.SendBounce     (@@ -46,12 +46,12 @@     , sbrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to send a bounce message to the sender of an email you received through Amazon SES. --@@ -59,14 +59,15 @@ -- -- /See:/ 'sendBounce' smart constructor. data SendBounce = SendBounce'-    { _sbMessageDsn               :: !(Maybe MessageDsn)-    , _sbExplanation              :: !(Maybe Text)-    , _sbBounceSenderARN          :: !(Maybe Text)-    , _sbOriginalMessageId        :: !Text-    , _sbBounceSender             :: !Text-    , _sbBouncedRecipientInfoList :: ![BouncedRecipientInfo]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sbMessageDsn               :: !(Maybe MessageDsn)+  , _sbExplanation              :: !(Maybe Text)+  , _sbBounceSenderARN          :: !(Maybe Text)+  , _sbOriginalMessageId        :: !Text+  , _sbBounceSender             :: !Text+  , _sbBouncedRecipientInfoList :: ![BouncedRecipientInfo]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SendBounce' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -87,15 +88,16 @@     -> Text -- ^ 'sbBounceSender'     -> SendBounce sendBounce pOriginalMessageId_ pBounceSender_ =-    SendBounce'-    { _sbMessageDsn = Nothing-    , _sbExplanation = Nothing-    , _sbBounceSenderARN = Nothing-    , _sbOriginalMessageId = pOriginalMessageId_-    , _sbBounceSender = pBounceSender_-    , _sbBouncedRecipientInfoList = mempty-    }+  SendBounce'+  { _sbMessageDsn = Nothing+  , _sbExplanation = Nothing+  , _sbBounceSenderARN = Nothing+  , _sbOriginalMessageId = pOriginalMessageId_+  , _sbBounceSender = pBounceSender_+  , _sbBouncedRecipientInfoList = mempty+  } + -- | Message-related DSN fields. If not specified, Amazon SES will choose the values. sbMessageDsn :: Lens' SendBounce (Maybe MessageDsn) sbMessageDsn = lens _sbMessageDsn (\ s a -> s{_sbMessageDsn = a});@@ -129,9 +131,9 @@                  SendBounceResponse' <$>                    (x .@? "MessageId") <*> (pure (fromEnum s))) -instance Hashable SendBounce+instance Hashable SendBounce where -instance NFData SendBounce+instance NFData SendBounce where  instance ToHeaders SendBounce where         toHeaders = const mempty@@ -158,10 +160,11 @@ -- -- /See:/ 'sendBounceResponse' smart constructor. data SendBounceResponse = SendBounceResponse'-    { _sbrsMessageId      :: !(Maybe Text)-    , _sbrsResponseStatus :: !Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sbrsMessageId      :: !(Maybe Text)+  , _sbrsResponseStatus :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SendBounceResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -173,11 +176,10 @@     :: Int -- ^ 'sbrsResponseStatus'     -> SendBounceResponse sendBounceResponse pResponseStatus_ =-    SendBounceResponse'-    { _sbrsMessageId = Nothing-    , _sbrsResponseStatus = pResponseStatus_-    }+  SendBounceResponse'+  {_sbrsMessageId = Nothing, _sbrsResponseStatus = pResponseStatus_} + -- | The message ID of the bounce message. sbrsMessageId :: Lens' SendBounceResponse (Maybe Text) sbrsMessageId = lens _sbrsMessageId (\ s a -> s{_sbrsMessageId = a});@@ -186,4 +188,4 @@ sbrsResponseStatus :: Lens' SendBounceResponse Int sbrsResponseStatus = lens _sbrsResponseStatus (\ s a -> s{_sbrsResponseStatus = a}); -instance NFData SendBounceResponse+instance NFData SendBounceResponse where
+ gen/Network/AWS/SES/SendBulkTemplatedEmail.hs view
@@ -0,0 +1,253 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.SendBulkTemplatedEmail+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Composes an email message to multiple destinations. The message body is created using an email template.+--+--+-- In order to send email using the @SendBulkTemplatedEmail@ operation, your call to the API must meet the following requirements:+--+--     * The call must refer to an existing email template. You can create email templates using the 'CreateTemplate' operation.+--+--     * The message must be sent from a verified email address or domain.+--+--     * If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Verifying Email Addresses and Domains> in the /Amazon SES Developer Guide./+--+--     * The total size of the message, including attachments, must be less than 10 MB.+--+--     * Each @Destination@ parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format /UserName@[SubDomain.]Domain.TopLevelDomain/ ), the entire message will be rejected, even if the message contains other recipients that are valid.+--+--+--+module Network.AWS.SES.SendBulkTemplatedEmail+    (+    -- * Creating a Request+      sendBulkTemplatedEmail+    , SendBulkTemplatedEmail+    -- * Request Lenses+    , sbteReturnPath+    , sbteConfigurationSetName+    , sbteSourceARN+    , sbteDefaultTags+    , sbteReturnPathARN+    , sbteTemplateARN+    , sbteDefaultTemplateData+    , sbteReplyToAddresses+    , sbteSource+    , sbteTemplate+    , sbteDestinations++    -- * Destructuring the Response+    , sendBulkTemplatedEmailResponse+    , SendBulkTemplatedEmailResponse+    -- * Response Lenses+    , sbtersResponseStatus+    , sbtersStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | Represents a request to send a templated email to multiple destinations using Amazon SES. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html Amazon SES Developer Guide> .+--+--+--+-- /See:/ 'sendBulkTemplatedEmail' smart constructor.+data SendBulkTemplatedEmail = SendBulkTemplatedEmail'+  { _sbteReturnPath           :: !(Maybe Text)+  , _sbteConfigurationSetName :: !(Maybe Text)+  , _sbteSourceARN            :: !(Maybe Text)+  , _sbteDefaultTags          :: !(Maybe [MessageTag])+  , _sbteReturnPathARN        :: !(Maybe Text)+  , _sbteTemplateARN          :: !(Maybe Text)+  , _sbteDefaultTemplateData  :: !(Maybe Text)+  , _sbteReplyToAddresses     :: !(Maybe [Text])+  , _sbteSource               :: !Text+  , _sbteTemplate             :: !Text+  , _sbteDestinations         :: ![BulkEmailDestination]+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendBulkTemplatedEmail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sbteReturnPath' - The email address that bounces and complaints will be forwarded to 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 @ReturnPath@ parameter. The @ReturnPath@ 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.+--+-- * 'sbteConfigurationSetName' - The name of the configuration set to use when you send an email using @SendBulkTemplatedEmail@ .+--+-- * 'sbteSourceARN' - 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 @Source@ parameter. For example, if the owner of @example.com@ (which has ARN @arn:aws:ses:us-east-1:123456789012:identity/example.com@ ) attaches a policy to it that authorizes you to send from @user@example.com@ , then you would specify the @SourceArn@ to be @arn:aws:ses:us-east-1:123456789012:identity/example.com@ , and the @Source@ to be @user@example.com@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+--+-- * 'sbteDefaultTags' - A list of tags, in the form of name/value pairs, to apply to an email that you send to a destination using @SendBulkTemplatedEmail@ .+--+-- * 'sbteReturnPathARN' - 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 @ReturnPath@ parameter. For example, if the owner of @example.com@ (which has ARN @arn:aws:ses:us-east-1:123456789012:identity/example.com@ ) attaches a policy to it that authorizes you to use @feedback@example.com@ , then you would specify the @ReturnPathArn@ to be @arn:aws:ses:us-east-1:123456789012:identity/example.com@ , and the @ReturnPath@ to be @feedback@example.com@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+--+-- * 'sbteTemplateARN' - The ARN of the template to use when sending this email.+--+-- * 'sbteDefaultTemplateData' - A list of replacement values to apply to the template when replacement data is not specified in a Destination object. These values act as a default or fallback option when no other data is available. The template data is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.+--+-- * 'sbteReplyToAddresses' - The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.+--+-- * 'sbteSource' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> . 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 @SourceArn@ parameter. For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . 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: @=?charset?encoding?encoded-text?=@ . For more information, see <https://tools.ietf.org/html/rfc2047 RFC 2047> .+--+-- * 'sbteTemplate' - The template to use when sending this email.+--+-- * 'sbteDestinations' - One or more @Destination@ objects. All of the recipients in a @Destination@ will receive the same version of the email. You can specify up to 50 @Destination@ objects within a @Destinations@ array.+sendBulkTemplatedEmail+    :: Text -- ^ 'sbteSource'+    -> Text -- ^ 'sbteTemplate'+    -> SendBulkTemplatedEmail+sendBulkTemplatedEmail pSource_ pTemplate_ =+  SendBulkTemplatedEmail'+  { _sbteReturnPath = Nothing+  , _sbteConfigurationSetName = Nothing+  , _sbteSourceARN = Nothing+  , _sbteDefaultTags = Nothing+  , _sbteReturnPathARN = Nothing+  , _sbteTemplateARN = Nothing+  , _sbteDefaultTemplateData = Nothing+  , _sbteReplyToAddresses = Nothing+  , _sbteSource = pSource_+  , _sbteTemplate = pTemplate_+  , _sbteDestinations = mempty+  }+++-- | The email address that bounces and complaints will be forwarded to 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 @ReturnPath@ parameter. The @ReturnPath@ 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.+sbteReturnPath :: Lens' SendBulkTemplatedEmail (Maybe Text)+sbteReturnPath = lens _sbteReturnPath (\ s a -> s{_sbteReturnPath = a});++-- | The name of the configuration set to use when you send an email using @SendBulkTemplatedEmail@ .+sbteConfigurationSetName :: Lens' SendBulkTemplatedEmail (Maybe Text)+sbteConfigurationSetName = lens _sbteConfigurationSetName (\ s a -> s{_sbteConfigurationSetName = 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 @Source@ parameter. For example, if the owner of @example.com@ (which has ARN @arn:aws:ses:us-east-1:123456789012:identity/example.com@ ) attaches a policy to it that authorizes you to send from @user@example.com@ , then you would specify the @SourceArn@ to be @arn:aws:ses:us-east-1:123456789012:identity/example.com@ , and the @Source@ to be @user@example.com@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+sbteSourceARN :: Lens' SendBulkTemplatedEmail (Maybe Text)+sbteSourceARN = lens _sbteSourceARN (\ s a -> s{_sbteSourceARN = a});++-- | A list of tags, in the form of name/value pairs, to apply to an email that you send to a destination using @SendBulkTemplatedEmail@ .+sbteDefaultTags :: Lens' SendBulkTemplatedEmail [MessageTag]+sbteDefaultTags = lens _sbteDefaultTags (\ s a -> s{_sbteDefaultTags = a}) . _Default . _Coerce;++-- | 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 @ReturnPath@ parameter. For example, if the owner of @example.com@ (which has ARN @arn:aws:ses:us-east-1:123456789012:identity/example.com@ ) attaches a policy to it that authorizes you to use @feedback@example.com@ , then you would specify the @ReturnPathArn@ to be @arn:aws:ses:us-east-1:123456789012:identity/example.com@ , and the @ReturnPath@ to be @feedback@example.com@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+sbteReturnPathARN :: Lens' SendBulkTemplatedEmail (Maybe Text)+sbteReturnPathARN = lens _sbteReturnPathARN (\ s a -> s{_sbteReturnPathARN = a});++-- | The ARN of the template to use when sending this email.+sbteTemplateARN :: Lens' SendBulkTemplatedEmail (Maybe Text)+sbteTemplateARN = lens _sbteTemplateARN (\ s a -> s{_sbteTemplateARN = a});++-- | A list of replacement values to apply to the template when replacement data is not specified in a Destination object. These values act as a default or fallback option when no other data is available. The template data is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.+sbteDefaultTemplateData :: Lens' SendBulkTemplatedEmail (Maybe Text)+sbteDefaultTemplateData = lens _sbteDefaultTemplateData (\ s a -> s{_sbteDefaultTemplateData = 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.+sbteReplyToAddresses :: Lens' SendBulkTemplatedEmail [Text]+sbteReplyToAddresses = lens _sbteReplyToAddresses (\ s a -> s{_sbteReplyToAddresses = a}) . _Default . _Coerce;++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> . 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 @SourceArn@ parameter. For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . 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: @=?charset?encoding?encoded-text?=@ . For more information, see <https://tools.ietf.org/html/rfc2047 RFC 2047> .+sbteSource :: Lens' SendBulkTemplatedEmail Text+sbteSource = lens _sbteSource (\ s a -> s{_sbteSource = a});++-- | The template to use when sending this email.+sbteTemplate :: Lens' SendBulkTemplatedEmail Text+sbteTemplate = lens _sbteTemplate (\ s a -> s{_sbteTemplate = a});++-- | One or more @Destination@ objects. All of the recipients in a @Destination@ will receive the same version of the email. You can specify up to 50 @Destination@ objects within a @Destinations@ array.+sbteDestinations :: Lens' SendBulkTemplatedEmail [BulkEmailDestination]+sbteDestinations = lens _sbteDestinations (\ s a -> s{_sbteDestinations = a}) . _Coerce;++instance AWSRequest SendBulkTemplatedEmail where+        type Rs SendBulkTemplatedEmail =+             SendBulkTemplatedEmailResponse+        request = postQuery ses+        response+          = receiveXMLWrapper "SendBulkTemplatedEmailResult"+              (\ s h x ->+                 SendBulkTemplatedEmailResponse' <$>+                   (pure (fromEnum s)) <*>+                     (x .@? "Status" .!@ mempty >>=+                        parseXMLList "member"))++instance Hashable SendBulkTemplatedEmail where++instance NFData SendBulkTemplatedEmail where++instance ToHeaders SendBulkTemplatedEmail where+        toHeaders = const mempty++instance ToPath SendBulkTemplatedEmail where+        toPath = const "/"++instance ToQuery SendBulkTemplatedEmail where+        toQuery SendBulkTemplatedEmail'{..}+          = mconcat+              ["Action" =:+                 ("SendBulkTemplatedEmail" :: ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "ReturnPath" =: _sbteReturnPath,+               "ConfigurationSetName" =: _sbteConfigurationSetName,+               "SourceArn" =: _sbteSourceARN,+               "DefaultTags" =:+                 toQuery (toQueryList "member" <$> _sbteDefaultTags),+               "ReturnPathArn" =: _sbteReturnPathARN,+               "TemplateArn" =: _sbteTemplateARN,+               "DefaultTemplateData" =: _sbteDefaultTemplateData,+               "ReplyToAddresses" =:+                 toQuery+                   (toQueryList "member" <$> _sbteReplyToAddresses),+               "Source" =: _sbteSource, "Template" =: _sbteTemplate,+               "Destinations" =:+                 toQueryList "member" _sbteDestinations]++-- | /See:/ 'sendBulkTemplatedEmailResponse' smart constructor.+data SendBulkTemplatedEmailResponse = SendBulkTemplatedEmailResponse'+  { _sbtersResponseStatus :: !Int+  , _sbtersStatus         :: ![BulkEmailDestinationStatus]+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendBulkTemplatedEmailResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sbtersResponseStatus' - -- | The response status code.+--+-- * 'sbtersStatus' - The unique message identifier returned from the @SendBulkTemplatedEmail@ action.+sendBulkTemplatedEmailResponse+    :: Int -- ^ 'sbtersResponseStatus'+    -> SendBulkTemplatedEmailResponse+sendBulkTemplatedEmailResponse pResponseStatus_ =+  SendBulkTemplatedEmailResponse'+  {_sbtersResponseStatus = pResponseStatus_, _sbtersStatus = mempty}+++-- | -- | The response status code.+sbtersResponseStatus :: Lens' SendBulkTemplatedEmailResponse Int+sbtersResponseStatus = lens _sbtersResponseStatus (\ s a -> s{_sbtersResponseStatus = a});++-- | The unique message identifier returned from the @SendBulkTemplatedEmail@ action.+sbtersStatus :: Lens' SendBulkTemplatedEmailResponse [BulkEmailDestinationStatus]+sbtersStatus = lens _sbtersStatus (\ s a -> s{_sbtersStatus = a}) . _Coerce;++instance NFData SendBulkTemplatedEmailResponse where
gen/Network/AWS/SES/SendEmail.hs view
@@ -12,27 +12,29 @@  -- | -- Module      : Network.AWS.SES.SendEmail--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Composes an email message based on input data, and then immediately queues the message for sending.+-- Composes an email message and immediately queues it for sending. In order to send email using the @SendEmail@ operation, your message must meet the following requirements: -- ----- There are several important points to know about @SendEmail@ :+--     * The message must be sent from a verified email address or domain. If you attempt to send email using a non-verified address or domain, the operation will result in an "Email address not verified" error. -----     * 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> .+--     * If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Verifying Email Addresses and Domains> in the /Amazon SES Developer Guide./ -----     * The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.+--     * The total size of the message, including attachments, must be smaller than 10 MB. -----     * 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.+--     * The message must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format /UserName@[SubDomain.]Domain.TopLevelDomain/ ), the entire message will be rejected, even if the message contains other recipients that are valid. -----     * 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html Amazon SES Developer Guide> .+--     * The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. 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 the @SendEmail@ operation several times to send the message to each group. -- -- --+-- /Important:/ For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your /sending quota/ ). For more information about sending quotas in Amazon SES, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html Managing Your Amazon SES Sending Limits> in the /Amazon SES Developer Guide./+-- module Network.AWS.SES.SendEmail     (     -- * Creating a Request@@ -57,12 +59,12 @@     , sersMessageId     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to send a single formatted email using Amazon SES. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-formatted.html Amazon SES Developer Guide> . --@@ -70,22 +72,23 @@ -- -- /See:/ 'sendEmail' smart constructor. data SendEmail = SendEmail'-    { _seReturnPath           :: !(Maybe Text)-    , _seConfigurationSetName :: !(Maybe Text)-    , _seSourceARN            :: !(Maybe Text)-    , _seReturnPathARN        :: !(Maybe Text)-    , _seTags                 :: !(Maybe [MessageTag])-    , _seReplyToAddresses     :: !(Maybe [Text])-    , _seSource               :: !Text-    , _seDestination          :: !Destination-    , _seMessage              :: !Message-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _seReturnPath           :: !(Maybe Text)+  , _seConfigurationSetName :: !(Maybe Text)+  , _seSourceARN            :: !(Maybe Text)+  , _seReturnPathARN        :: !(Maybe Text)+  , _seTags                 :: !(Maybe [MessageTag])+  , _seReplyToAddresses     :: !(Maybe [Text])+  , _seSource               :: !Text+  , _seDestination          :: !Destination+  , _seMessage              :: !Message+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SendEmail' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'seReturnPath' - 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 @ReturnPath@ parameter. The @ReturnPath@ 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' - The email address that bounces and complaints will be forwarded to 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 @ReturnPath@ parameter. The @ReturnPath@ 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. -- -- * 'seConfigurationSetName' - The name of the configuration set to use when you send an email using @SendEmail@ . --@@ -97,7 +100,7 @@ -- -- * 'seReplyToAddresses' - The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply. ----- * 'seSource' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> . 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 @SourceArn@ parameter. For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . 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: @=?charset?encoding?encoded-text?=@ . For more information, see <http://tools.ietf.org/html/rfc2047 RFC 2047> .+-- * 'seSource' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> . 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 @SourceArn@ parameter. For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . 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: @=?charset?encoding?encoded-text?=@ . For more information, see <https://tools.ietf.org/html/rfc2047 RFC 2047> . -- -- * 'seDestination' - The destination for this email, composed of To:, CC:, and BCC: fields. --@@ -108,19 +111,20 @@     -> Message -- ^ 'seMessage'     -> SendEmail sendEmail pSource_ pDestination_ pMessage_ =-    SendEmail'-    { _seReturnPath = Nothing-    , _seConfigurationSetName = Nothing-    , _seSourceARN = Nothing-    , _seReturnPathARN = Nothing-    , _seTags = Nothing-    , _seReplyToAddresses = Nothing-    , _seSource = pSource_-    , _seDestination = pDestination_-    , _seMessage = pMessage_-    }+  SendEmail'+  { _seReturnPath = Nothing+  , _seConfigurationSetName = Nothing+  , _seSourceARN = Nothing+  , _seReturnPathARN = Nothing+  , _seTags = Nothing+  , _seReplyToAddresses = Nothing+  , _seSource = pSource_+  , _seDestination = pDestination_+  , _seMessage = pMessage_+  } --- | 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 @ReturnPath@ parameter. The @ReturnPath@ 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.++-- | The email address that bounces and complaints will be forwarded to 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 @ReturnPath@ parameter. The @ReturnPath@ 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) seReturnPath = lens _seReturnPath (\ s a -> s{_seReturnPath = a}); @@ -144,7 +148,7 @@ seReplyToAddresses :: Lens' SendEmail [Text] seReplyToAddresses = lens _seReplyToAddresses (\ s a -> s{_seReplyToAddresses = a}) . _Default . _Coerce; --- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> . 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 @SourceArn@ parameter. For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . 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: @=?charset?encoding?encoded-text?=@ . For more information, see <http://tools.ietf.org/html/rfc2047 RFC 2047> .+-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> . 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 @SourceArn@ parameter. For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . 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: @=?charset?encoding?encoded-text?=@ . For more information, see <https://tools.ietf.org/html/rfc2047 RFC 2047> . seSource :: Lens' SendEmail Text seSource = lens _seSource (\ s a -> s{_seSource = a}); @@ -165,9 +169,9 @@                  SendEmailResponse' <$>                    (pure (fromEnum s)) <*> (x .@ "MessageId")) -instance Hashable SendEmail+instance Hashable SendEmail where -instance NFData SendEmail+instance NFData SendEmail where  instance ToHeaders SendEmail where         toHeaders = const mempty@@ -198,10 +202,11 @@ -- -- /See:/ 'sendEmailResponse' smart constructor. data SendEmailResponse = SendEmailResponse'-    { _sersResponseStatus :: !Int-    , _sersMessageId      :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sersResponseStatus :: !Int+  , _sersMessageId      :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SendEmailResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -214,11 +219,10 @@     -> Text -- ^ 'sersMessageId'     -> SendEmailResponse sendEmailResponse pResponseStatus_ pMessageId_ =-    SendEmailResponse'-    { _sersResponseStatus = pResponseStatus_-    , _sersMessageId = pMessageId_-    }+  SendEmailResponse'+  {_sersResponseStatus = pResponseStatus_, _sersMessageId = pMessageId_} + -- | -- | The response status code. sersResponseStatus :: Lens' SendEmailResponse Int sersResponseStatus = lens _sersResponseStatus (\ s a -> s{_sersResponseStatus = a});@@ -227,4 +231,4 @@ sersMessageId :: Lens' SendEmailResponse Text sersMessageId = lens _sersMessageId (\ s a -> s{_sersMessageId = a}); -instance NFData SendEmailResponse+instance NFData SendEmailResponse where
gen/Network/AWS/SES/SendRawEmail.hs view
@@ -12,31 +12,37 @@  -- | -- Module      : Network.AWS.SES.SendRawEmail--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Sends an email message, with header and content specified by the client. The @SendRawEmail@ 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.+-- Composes an email message and immediately queues it for sending. When calling this operation, you may specify the message headers as well as the content. The @SendRawEmail@ operation is particularly useful for sending multipart MIME emails (such as those that contain both a plain-text and an HTML version). -- ----- There are several important points to know about @SendRawEmail@ :+-- In order to send email using the @SendRawEmail@ operation, your message must meet the following requirements: -----     * 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> .+--     * The message must be sent from a verified email address or domain. If you attempt to send email using a non-verified address or domain, the operation will result in an "Email address not verified" error. -----     * The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.+--     * If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Verifying Email Addresses and Domains> in the /Amazon SES Developer Guide./ -----     * 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.+--     * The total size of the message, including attachments, must be smaller than 10 MB. -----     * 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.+--     * The message must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format /UserName@[SubDomain.]Domain.TopLevelDomain/ ), the entire message will be rejected, even if the message contains other recipients that are valid. -----     * Amazon SES overrides any Message-ID and Date headers you provide.+--     * The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. 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 the @SendRawEmail@ operation several times to send the message to each group. -----     * 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html Amazon SES Developer Guide> . -----     * If you are using sending authorization to send on behalf of another user, @SendRawEmail@ enables you to specify the cross-account identity for the email's "Source," "From," and "Return-Path" parameters in one of two ways: you can pass optional parameters @SourceArn@ , @FromArn@ , and/or @ReturnPathArn@ to the API, or you can include the following X-headers in the header of your raw email: --+-- /Important:/ For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your /sending quota/ ). For more information about sending quotas in Amazon SES, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html Managing Your Amazon SES Sending Limits> in the /Amazon SES Developer Guide./+--+-- Additionally, keep the following considerations in mind when using the @SendRawEmail@ operation:+--+--     * Although you can customize the message headers when using the @SendRawEmail@ operation, Amazon SES will automatically apply its own @Message-ID@ and @Date@ headers; if you passed these headers when creating the message, they will be overwritten by the values that Amazon SES provides.+--+--     * If you are using sending authorization to send on behalf of another user, @SendRawEmail@ enables you to specify the cross-account identity for the email's Source, From, and Return-Path parameters in one of two ways: you can pass optional parameters @SourceArn@ , @FromArn@ , and/or @ReturnPathArn@ to the API, or you can include the following X-headers in the header of your raw email:+-- --     * @X-SES-SOURCE-ARN@ -- --     * @X-SES-FROM-ARN@@@ -45,9 +51,9 @@ -- -- ----- /Important:/ Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email.+-- /Important:/ Do not include these X-headers in the DKIM signature; Amazon SES will remove them before sending the email. ----- For the most common sending authorization use case, we recommend that you specify the @SourceIdentityArn@ and do not specify either the @FromIdentityArn@ or @ReturnPathIdentityArn@ . (The same note applies to the corresponding X-headers.) If you only specify the @SourceIdentityArn@ , Amazon SES will simply set the "From" address and the "Return Path" address to the identity specified in @SourceIdentityArn@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+-- For most common sending authorization scenarios, we recommend that you specify the @SourceIdentityArn@ parameter and not the @FromIdentityArn@ or @ReturnPathIdentityArn@ parameters. If you only specify the @SourceIdentityArn@ parameter, Amazon SES will set the From and Return Path addresses to the identity specified in @SourceIdentityArn@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Using Sending Authorization with Amazon SES> in the /Amazon SES Developer Guide./ -- -- --@@ -74,12 +80,12 @@     , srersMessageId     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to send a single raw email using Amazon SES. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html Amazon SES Developer Guide> . --@@ -87,16 +93,17 @@ -- -- /See:/ 'sendRawEmail' smart constructor. data SendRawEmail = SendRawEmail'-    { _sreConfigurationSetName :: !(Maybe Text)-    , _sreSourceARN            :: !(Maybe Text)-    , _sreDestinations         :: !(Maybe [Text])-    , _sreReturnPathARN        :: !(Maybe Text)-    , _sreSource               :: !(Maybe Text)-    , _sreFromARN              :: !(Maybe Text)-    , _sreTags                 :: !(Maybe [MessageTag])-    , _sreRawMessage           :: !RawMessage-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sreConfigurationSetName :: !(Maybe Text)+  , _sreSourceARN            :: !(Maybe Text)+  , _sreDestinations         :: !(Maybe [Text])+  , _sreReturnPathARN        :: !(Maybe Text)+  , _sreSource               :: !(Maybe Text)+  , _sreFromARN              :: !(Maybe Text)+  , _sreTags                 :: !(Maybe [MessageTag])+  , _sreRawMessage           :: !RawMessage+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SendRawEmail' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -109,28 +116,29 @@ -- -- * 'sreReturnPathARN' - 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 @ReturnPath@ parameter. For example, if the owner of @example.com@ (which has ARN @arn:aws:ses:us-east-1:123456789012:identity/example.com@ ) attaches a policy to it that authorizes you to use @feedback@example.com@ , then you would specify the @ReturnPathArn@ to be @arn:aws:ses:us-east-1:123456789012:identity/example.com@ , and the @ReturnPath@ to be @feedback@example.com@ . Instead of using this parameter, you can use the X-header @X-SES-RETURN-PATH-ARN@ in the raw message of the email. If you use both the @ReturnPathArn@ parameter and the corresponding X-header, Amazon SES uses the value of the @ReturnPathArn@ parameter. ----- * 'sreSource' - The identity's email address. If you do not provide a value for this parameter, you must specify a "From" 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: @=?charset?encoding?encoded-text?=@ . For more information, see <http://tools.ietf.org/html/rfc2047 RFC 2047> .+-- * 'sreSource' - The identity's email address. If you do not provide a value for this parameter, you must specify a "From" 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: @=?charset?encoding?encoded-text?=@ . For more information, see <https://tools.ietf.org/html/rfc2047 RFC 2047> . -- -- * 'sreFromARN' - 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 "From" address in the header of the raw email. Instead of using this parameter, you can use the X-header @X-SES-FROM-ARN@ in the raw message of the email. If you use both the @FromArn@ parameter and the corresponding X-header, Amazon SES uses the value of the @FromArn@ parameter. -- -- * 'sreTags' - A list of tags, in the form of name/value pairs, to apply to an email that you send using @SendRawEmail@ . Tags correspond to characteristics of the email that you define, so that you can publish email sending events. ----- * 'sreRawMessage' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types.html Amazon SES Developer Guide> .     * Must be base64-encoded.+-- * 'sreRawMessage' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types.html Amazon SES Developer Guide> .     * Must be base64-encoded.     * Per <https://tools.ietf.org/html/rfc5321#section-4.5.3.1.6 RFC 5321> , the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters. sendRawEmail     :: RawMessage -- ^ 'sreRawMessage'     -> SendRawEmail sendRawEmail pRawMessage_ =-    SendRawEmail'-    { _sreConfigurationSetName = Nothing-    , _sreSourceARN = Nothing-    , _sreDestinations = Nothing-    , _sreReturnPathARN = Nothing-    , _sreSource = Nothing-    , _sreFromARN = Nothing-    , _sreTags = Nothing-    , _sreRawMessage = pRawMessage_-    }+  SendRawEmail'+  { _sreConfigurationSetName = Nothing+  , _sreSourceARN = Nothing+  , _sreDestinations = Nothing+  , _sreReturnPathARN = Nothing+  , _sreSource = Nothing+  , _sreFromARN = Nothing+  , _sreTags = Nothing+  , _sreRawMessage = pRawMessage_+  } + -- | The name of the configuration set to use when you send an email using @SendRawEmail@ . sreConfigurationSetName :: Lens' SendRawEmail (Maybe Text) sreConfigurationSetName = lens _sreConfigurationSetName (\ s a -> s{_sreConfigurationSetName = a});@@ -147,7 +155,7 @@ sreReturnPathARN :: Lens' SendRawEmail (Maybe Text) sreReturnPathARN = lens _sreReturnPathARN (\ s a -> s{_sreReturnPathARN = a}); --- | The identity's email address. If you do not provide a value for this parameter, you must specify a "From" 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: @=?charset?encoding?encoded-text?=@ . For more information, see <http://tools.ietf.org/html/rfc2047 RFC 2047> .+-- | The identity's email address. If you do not provide a value for this parameter, you must specify a "From" 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: @=?charset?encoding?encoded-text?=@ . For more information, see <https://tools.ietf.org/html/rfc2047 RFC 2047> . sreSource :: Lens' SendRawEmail (Maybe Text) sreSource = lens _sreSource (\ s a -> s{_sreSource = a}); @@ -159,7 +167,7 @@ sreTags :: Lens' SendRawEmail [MessageTag] sreTags = lens _sreTags (\ s a -> s{_sreTags = a}) . _Default . _Coerce; --- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types.html Amazon SES Developer Guide> .     * Must be base64-encoded.+-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types.html Amazon SES Developer Guide> .     * Must be base64-encoded.     * Per <https://tools.ietf.org/html/rfc5321#section-4.5.3.1.6 RFC 5321> , the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters. sreRawMessage :: Lens' SendRawEmail RawMessage sreRawMessage = lens _sreRawMessage (\ s a -> s{_sreRawMessage = a}); @@ -172,9 +180,9 @@                  SendRawEmailResponse' <$>                    (pure (fromEnum s)) <*> (x .@ "MessageId")) -instance Hashable SendRawEmail+instance Hashable SendRawEmail where -instance NFData SendRawEmail+instance NFData SendRawEmail where  instance ToHeaders SendRawEmail where         toHeaders = const mempty@@ -203,10 +211,11 @@ -- -- /See:/ 'sendRawEmailResponse' smart constructor. data SendRawEmailResponse = SendRawEmailResponse'-    { _srersResponseStatus :: !Int-    , _srersMessageId      :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _srersResponseStatus :: !Int+  , _srersMessageId      :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SendRawEmailResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -219,11 +228,10 @@     -> Text -- ^ 'srersMessageId'     -> SendRawEmailResponse sendRawEmailResponse pResponseStatus_ pMessageId_ =-    SendRawEmailResponse'-    { _srersResponseStatus = pResponseStatus_-    , _srersMessageId = pMessageId_-    }+  SendRawEmailResponse'+  {_srersResponseStatus = pResponseStatus_, _srersMessageId = pMessageId_} + -- | -- | The response status code. srersResponseStatus :: Lens' SendRawEmailResponse Int srersResponseStatus = lens _srersResponseStatus (\ s a -> s{_srersResponseStatus = a});@@ -232,4 +240,4 @@ srersMessageId :: Lens' SendRawEmailResponse Text srersMessageId = lens _srersMessageId (\ s a -> s{_srersMessageId = a}); -instance NFData SendRawEmailResponse+instance NFData SendRawEmailResponse where
+ gen/Network/AWS/SES/SendTemplatedEmail.hs view
@@ -0,0 +1,255 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.SendTemplatedEmail+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Composes an email message using an email template and immediately queues it for sending.+--+--+-- In order to send email using the @SendTemplatedEmail@ operation, your call to the API must meet the following requirements:+--+--     * The call must refer to an existing email template. You can create email templates using the 'CreateTemplate' operation.+--+--     * The message must be sent from a verified email address or domain.+--+--     * If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Verifying Email Addresses and Domains> in the /Amazon SES Developer Guide./+--+--     * The total size of the message, including attachments, must be less than 10 MB.+--+--     * Calls to the @SendTemplatedEmail@ operation may only include one @Destination@ parameter. A destination is a set of recipients who will receive the same version of the email. The @Destination@ parameter can include up to 50 recipients, across the To:, CC: and BCC: fields.+--+--     * The @Destination@ parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format /UserName@[SubDomain.]Domain.TopLevelDomain/ ), the entire message will be rejected, even if the message contains other recipients that are valid.+--+--+--+module Network.AWS.SES.SendTemplatedEmail+    (+    -- * Creating a Request+      sendTemplatedEmail+    , SendTemplatedEmail+    -- * Request Lenses+    , steReturnPath+    , steConfigurationSetName+    , steSourceARN+    , steReturnPathARN+    , steTemplateARN+    , steTags+    , steReplyToAddresses+    , steSource+    , steDestination+    , steTemplate+    , steTemplateData++    -- * Destructuring the Response+    , sendTemplatedEmailResponse+    , SendTemplatedEmailResponse+    -- * Response Lenses+    , stersResponseStatus+    , stersMessageId+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | Represents a request to send a templated email using Amazon SES. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html Amazon SES Developer Guide> .+--+--+--+-- /See:/ 'sendTemplatedEmail' smart constructor.+data SendTemplatedEmail = SendTemplatedEmail'+  { _steReturnPath           :: !(Maybe Text)+  , _steConfigurationSetName :: !(Maybe Text)+  , _steSourceARN            :: !(Maybe Text)+  , _steReturnPathARN        :: !(Maybe Text)+  , _steTemplateARN          :: !(Maybe Text)+  , _steTags                 :: !(Maybe [MessageTag])+  , _steReplyToAddresses     :: !(Maybe [Text])+  , _steSource               :: !Text+  , _steDestination          :: !Destination+  , _steTemplate             :: !Text+  , _steTemplateData         :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendTemplatedEmail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'steReturnPath' - The email address that bounces and complaints will be forwarded to 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 @ReturnPath@ parameter. The @ReturnPath@ 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.+--+-- * 'steConfigurationSetName' - The name of the configuration set to use when you send an email using @SendTemplatedEmail@ .+--+-- * 'steSourceARN' - 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 @Source@ parameter. For example, if the owner of @example.com@ (which has ARN @arn:aws:ses:us-east-1:123456789012:identity/example.com@ ) attaches a policy to it that authorizes you to send from @user@example.com@ , then you would specify the @SourceArn@ to be @arn:aws:ses:us-east-1:123456789012:identity/example.com@ , and the @Source@ to be @user@example.com@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+--+-- * 'steReturnPathARN' - 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 @ReturnPath@ parameter. For example, if the owner of @example.com@ (which has ARN @arn:aws:ses:us-east-1:123456789012:identity/example.com@ ) attaches a policy to it that authorizes you to use @feedback@example.com@ , then you would specify the @ReturnPathArn@ to be @arn:aws:ses:us-east-1:123456789012:identity/example.com@ , and the @ReturnPath@ to be @feedback@example.com@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+--+-- * 'steTemplateARN' - The ARN of the template to use when sending this email.+--+-- * 'steTags' - A list of tags, in the form of name/value pairs, to apply to an email that you send using @SendTemplatedEmail@ . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.+--+-- * 'steReplyToAddresses' - The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.+--+-- * 'steSource' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> . 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 @SourceArn@ parameter. For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . 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: @=?charset?encoding?encoded-text?=@ . For more information, see <https://tools.ietf.org/html/rfc2047 RFC 2047> .+--+-- * 'steDestination' - The destination for this email, composed of To:, CC:, and BCC: fields. A Destination can include up to 50 recipients across these three fields.+--+-- * 'steTemplate' - The template to use when sending this email.+--+-- * 'steTemplateData' - A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.+sendTemplatedEmail+    :: Text -- ^ 'steSource'+    -> Destination -- ^ 'steDestination'+    -> Text -- ^ 'steTemplate'+    -> Text -- ^ 'steTemplateData'+    -> SendTemplatedEmail+sendTemplatedEmail pSource_ pDestination_ pTemplate_ pTemplateData_ =+  SendTemplatedEmail'+  { _steReturnPath = Nothing+  , _steConfigurationSetName = Nothing+  , _steSourceARN = Nothing+  , _steReturnPathARN = Nothing+  , _steTemplateARN = Nothing+  , _steTags = Nothing+  , _steReplyToAddresses = Nothing+  , _steSource = pSource_+  , _steDestination = pDestination_+  , _steTemplate = pTemplate_+  , _steTemplateData = pTemplateData_+  }+++-- | The email address that bounces and complaints will be forwarded to 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 @ReturnPath@ parameter. The @ReturnPath@ 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.+steReturnPath :: Lens' SendTemplatedEmail (Maybe Text)+steReturnPath = lens _steReturnPath (\ s a -> s{_steReturnPath = a});++-- | The name of the configuration set to use when you send an email using @SendTemplatedEmail@ .+steConfigurationSetName :: Lens' SendTemplatedEmail (Maybe Text)+steConfigurationSetName = lens _steConfigurationSetName (\ s a -> s{_steConfigurationSetName = 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 @Source@ parameter. For example, if the owner of @example.com@ (which has ARN @arn:aws:ses:us-east-1:123456789012:identity/example.com@ ) attaches a policy to it that authorizes you to send from @user@example.com@ , then you would specify the @SourceArn@ to be @arn:aws:ses:us-east-1:123456789012:identity/example.com@ , and the @Source@ to be @user@example.com@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+steSourceARN :: Lens' SendTemplatedEmail (Maybe Text)+steSourceARN = lens _steSourceARN (\ s a -> s{_steSourceARN = 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 @ReturnPath@ parameter. For example, if the owner of @example.com@ (which has ARN @arn:aws:ses:us-east-1:123456789012:identity/example.com@ ) attaches a policy to it that authorizes you to use @feedback@example.com@ , then you would specify the @ReturnPathArn@ to be @arn:aws:ses:us-east-1:123456789012:identity/example.com@ , and the @ReturnPath@ to be @feedback@example.com@ . For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+steReturnPathARN :: Lens' SendTemplatedEmail (Maybe Text)+steReturnPathARN = lens _steReturnPathARN (\ s a -> s{_steReturnPathARN = a});++-- | The ARN of the template to use when sending this email.+steTemplateARN :: Lens' SendTemplatedEmail (Maybe Text)+steTemplateARN = lens _steTemplateARN (\ s a -> s{_steTemplateARN = a});++-- | A list of tags, in the form of name/value pairs, to apply to an email that you send using @SendTemplatedEmail@ . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.+steTags :: Lens' SendTemplatedEmail [MessageTag]+steTags = lens _steTags (\ s a -> s{_steTags = a}) . _Default . _Coerce;++-- | The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.+steReplyToAddresses :: Lens' SendTemplatedEmail [Text]+steReplyToAddresses = lens _steReplyToAddresses (\ s a -> s{_steReplyToAddresses = a}) . _Default . _Coerce;++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Amazon SES Developer Guide> . 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 @SourceArn@ parameter. For more information about sending authorization, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> . 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: @=?charset?encoding?encoded-text?=@ . For more information, see <https://tools.ietf.org/html/rfc2047 RFC 2047> .+steSource :: Lens' SendTemplatedEmail Text+steSource = lens _steSource (\ s a -> s{_steSource = a});++-- | The destination for this email, composed of To:, CC:, and BCC: fields. A Destination can include up to 50 recipients across these three fields.+steDestination :: Lens' SendTemplatedEmail Destination+steDestination = lens _steDestination (\ s a -> s{_steDestination = a});++-- | The template to use when sending this email.+steTemplate :: Lens' SendTemplatedEmail Text+steTemplate = lens _steTemplate (\ s a -> s{_steTemplate = a});++-- | A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.+steTemplateData :: Lens' SendTemplatedEmail Text+steTemplateData = lens _steTemplateData (\ s a -> s{_steTemplateData = a});++instance AWSRequest SendTemplatedEmail where+        type Rs SendTemplatedEmail =+             SendTemplatedEmailResponse+        request = postQuery ses+        response+          = receiveXMLWrapper "SendTemplatedEmailResult"+              (\ s h x ->+                 SendTemplatedEmailResponse' <$>+                   (pure (fromEnum s)) <*> (x .@ "MessageId"))++instance Hashable SendTemplatedEmail where++instance NFData SendTemplatedEmail where++instance ToHeaders SendTemplatedEmail where+        toHeaders = const mempty++instance ToPath SendTemplatedEmail where+        toPath = const "/"++instance ToQuery SendTemplatedEmail where+        toQuery SendTemplatedEmail'{..}+          = mconcat+              ["Action" =: ("SendTemplatedEmail" :: ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "ReturnPath" =: _steReturnPath,+               "ConfigurationSetName" =: _steConfigurationSetName,+               "SourceArn" =: _steSourceARN,+               "ReturnPathArn" =: _steReturnPathARN,+               "TemplateArn" =: _steTemplateARN,+               "Tags" =:+                 toQuery (toQueryList "member" <$> _steTags),+               "ReplyToAddresses" =:+                 toQuery+                   (toQueryList "member" <$> _steReplyToAddresses),+               "Source" =: _steSource,+               "Destination" =: _steDestination,+               "Template" =: _steTemplate,+               "TemplateData" =: _steTemplateData]++-- | /See:/ 'sendTemplatedEmailResponse' smart constructor.+data SendTemplatedEmailResponse = SendTemplatedEmailResponse'+  { _stersResponseStatus :: !Int+  , _stersMessageId      :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendTemplatedEmailResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'stersResponseStatus' - -- | The response status code.+--+-- * 'stersMessageId' - The unique message identifier returned from the @SendTemplatedEmail@ action.+sendTemplatedEmailResponse+    :: Int -- ^ 'stersResponseStatus'+    -> Text -- ^ 'stersMessageId'+    -> SendTemplatedEmailResponse+sendTemplatedEmailResponse pResponseStatus_ pMessageId_ =+  SendTemplatedEmailResponse'+  {_stersResponseStatus = pResponseStatus_, _stersMessageId = pMessageId_}+++-- | -- | The response status code.+stersResponseStatus :: Lens' SendTemplatedEmailResponse Int+stersResponseStatus = lens _stersResponseStatus (\ s a -> s{_stersResponseStatus = a});++-- | The unique message identifier returned from the @SendTemplatedEmail@ action.+stersMessageId :: Lens' SendTemplatedEmailResponse Text+stersMessageId = lens _stersMessageId (\ s a -> s{_stersMessageId = a});++instance NFData SendTemplatedEmailResponse where
gen/Network/AWS/SES/SetActiveReceiptRuleSet.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.SetActiveReceiptRuleSet--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing receipt rule sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.SetActiveReceiptRuleSet     (@@ -40,12 +40,12 @@     , sarrsrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -53,9 +53,10 @@ -- -- /See:/ 'setActiveReceiptRuleSet' smart constructor. newtype SetActiveReceiptRuleSet = SetActiveReceiptRuleSet'-    { _sarrsRuleSetName :: Maybe Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sarrsRuleSetName :: Maybe Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetActiveReceiptRuleSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -63,11 +64,9 @@ -- * 'sarrsRuleSetName' - The name of the receipt rule set to make active. Setting this value to null disables all email receiving. setActiveReceiptRuleSet     :: SetActiveReceiptRuleSet-setActiveReceiptRuleSet =-    SetActiveReceiptRuleSet'-    { _sarrsRuleSetName = Nothing-    }+setActiveReceiptRuleSet = SetActiveReceiptRuleSet' {_sarrsRuleSetName = Nothing} + -- | The name of the receipt rule set to make active. Setting this value to null disables all email receiving. sarrsRuleSetName :: Lens' SetActiveReceiptRuleSet (Maybe Text) sarrsRuleSetName = lens _sarrsRuleSetName (\ s a -> s{_sarrsRuleSetName = a});@@ -82,9 +81,9 @@                  SetActiveReceiptRuleSetResponse' <$>                    (pure (fromEnum s))) -instance Hashable SetActiveReceiptRuleSet+instance Hashable SetActiveReceiptRuleSet where -instance NFData SetActiveReceiptRuleSet+instance NFData SetActiveReceiptRuleSet where  instance ToHeaders SetActiveReceiptRuleSet where         toHeaders = const mempty@@ -106,9 +105,10 @@ -- -- /See:/ 'setActiveReceiptRuleSetResponse' smart constructor. newtype SetActiveReceiptRuleSetResponse = SetActiveReceiptRuleSetResponse'-    { _sarrsrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sarrsrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetActiveReceiptRuleSetResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -118,12 +118,11 @@     :: Int -- ^ 'sarrsrsResponseStatus'     -> SetActiveReceiptRuleSetResponse setActiveReceiptRuleSetResponse pResponseStatus_ =-    SetActiveReceiptRuleSetResponse'-    { _sarrsrsResponseStatus = pResponseStatus_-    }+  SetActiveReceiptRuleSetResponse' {_sarrsrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. sarrsrsResponseStatus :: Lens' SetActiveReceiptRuleSetResponse Int sarrsrsResponseStatus = lens _sarrsrsResponseStatus (\ s a -> s{_sarrsrsResponseStatus = a}); -instance NFData SetActiveReceiptRuleSetResponse+instance NFData SetActiveReceiptRuleSetResponse where
gen/Network/AWS/SES/SetIdentityDkimEnabled.hs view
@@ -12,24 +12,24 @@  -- | -- Module      : Network.AWS.SES.SetIdentityDkimEnabled--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- Enables or disables Easy DKIM signing of email sent from an identity: -- -----     * If Easy DKIM signing is enabled for a domain name identity (e.g., @example.com@ ), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g., @user@example.com@ ).+--     * If Easy DKIM signing is enabled for a domain name identity (such as @example.com@ ), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (for example, @user@example.com@ ). -- --     * If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address. -- -- ----- For email addresses (e.g., @user@example.com@ ), you can only enable Easy DKIM signing if the corresponding domain (e.g., @example.com@ ) has been set up for Easy DKIM using the AWS Console or the @VerifyDomainDkim@ action.+-- For email addresses (for example, @user@example.com@ ), you can only enable Easy DKIM signing if the corresponding domain (in this case, @example.com@ ) has been set up for Easy DKIM using the AWS Console or the @VerifyDomainDkim@ operation. ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- -- For more information about Easy DKIM signing, go to the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html Amazon SES Developer Guide> . --@@ -49,12 +49,12 @@     , sidersResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html Amazon SES Developer Guide> . --@@ -62,10 +62,11 @@ -- -- /See:/ 'setIdentityDkimEnabled' smart constructor. data SetIdentityDkimEnabled = SetIdentityDkimEnabled'-    { _sideIdentity    :: !Text-    , _sideDkimEnabled :: !Bool-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sideIdentity    :: !Text+  , _sideDkimEnabled :: !Bool+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityDkimEnabled' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -78,11 +79,10 @@     -> Bool -- ^ 'sideDkimEnabled'     -> SetIdentityDkimEnabled setIdentityDkimEnabled pIdentity_ pDkimEnabled_ =-    SetIdentityDkimEnabled'-    { _sideIdentity = pIdentity_-    , _sideDkimEnabled = pDkimEnabled_-    }+  SetIdentityDkimEnabled'+  {_sideIdentity = pIdentity_, _sideDkimEnabled = pDkimEnabled_} + -- | The identity for which DKIM signing should be enabled or disabled. sideIdentity :: Lens' SetIdentityDkimEnabled Text sideIdentity = lens _sideIdentity (\ s a -> s{_sideIdentity = a});@@ -101,9 +101,9 @@                  SetIdentityDkimEnabledResponse' <$>                    (pure (fromEnum s))) -instance Hashable SetIdentityDkimEnabled+instance Hashable SetIdentityDkimEnabled where -instance NFData SetIdentityDkimEnabled+instance NFData SetIdentityDkimEnabled where  instance ToHeaders SetIdentityDkimEnabled where         toHeaders = const mempty@@ -126,9 +126,10 @@ -- -- /See:/ 'setIdentityDkimEnabledResponse' smart constructor. newtype SetIdentityDkimEnabledResponse = SetIdentityDkimEnabledResponse'-    { _sidersResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sidersResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityDkimEnabledResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -138,12 +139,11 @@     :: Int -- ^ 'sidersResponseStatus'     -> SetIdentityDkimEnabledResponse setIdentityDkimEnabledResponse pResponseStatus_ =-    SetIdentityDkimEnabledResponse'-    { _sidersResponseStatus = pResponseStatus_-    }+  SetIdentityDkimEnabledResponse' {_sidersResponseStatus = pResponseStatus_} + -- | -- | The response status code. sidersResponseStatus :: Lens' SetIdentityDkimEnabledResponse Int sidersResponseStatus = lens _sidersResponseStatus (\ s a -> s{_sidersResponseStatus = a}); -instance NFData SetIdentityDkimEnabledResponse+instance NFData SetIdentityDkimEnabledResponse where
gen/Network/AWS/SES/SetIdentityFeedbackForwardingEnabled.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.SetIdentityFeedbackForwardingEnabled--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- 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.+-- You can execute this operation no more than once per second. -- -- For more information about using notifications with Amazon SES, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html Amazon SES Developer Guide> . --@@ -41,12 +41,12 @@     , siffersResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications-via-email.html Amazon SES Developer Guide> . --@@ -54,10 +54,11 @@ -- -- /See:/ 'setIdentityFeedbackForwardingEnabled' smart constructor. data SetIdentityFeedbackForwardingEnabled = SetIdentityFeedbackForwardingEnabled'-    { _siffeIdentity          :: !Text-    , _siffeForwardingEnabled :: !Bool-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _siffeIdentity          :: !Text+  , _siffeForwardingEnabled :: !Bool+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityFeedbackForwardingEnabled' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -70,11 +71,10 @@     -> Bool -- ^ 'siffeForwardingEnabled'     -> SetIdentityFeedbackForwardingEnabled setIdentityFeedbackForwardingEnabled pIdentity_ pForwardingEnabled_ =-    SetIdentityFeedbackForwardingEnabled'-    { _siffeIdentity = pIdentity_-    , _siffeForwardingEnabled = pForwardingEnabled_-    }+  SetIdentityFeedbackForwardingEnabled'+  {_siffeIdentity = pIdentity_, _siffeForwardingEnabled = pForwardingEnabled_} + -- | The identity for which to set bounce and complaint notification forwarding. Examples: @user@example.com@ , @example.com@ . siffeIdentity :: Lens' SetIdentityFeedbackForwardingEnabled Text siffeIdentity = lens _siffeIdentity (\ s a -> s{_siffeIdentity = a});@@ -84,7 +84,8 @@ siffeForwardingEnabled = lens _siffeForwardingEnabled (\ s a -> s{_siffeForwardingEnabled = a});  instance AWSRequest-         SetIdentityFeedbackForwardingEnabled where+           SetIdentityFeedbackForwardingEnabled+         where         type Rs SetIdentityFeedbackForwardingEnabled =              SetIdentityFeedbackForwardingEnabledResponse         request = postQuery ses@@ -96,12 +97,15 @@                    (pure (fromEnum s)))  instance Hashable-         SetIdentityFeedbackForwardingEnabled+           SetIdentityFeedbackForwardingEnabled+         where  instance NFData SetIdentityFeedbackForwardingEnabled+         where  instance ToHeaders-         SetIdentityFeedbackForwardingEnabled where+           SetIdentityFeedbackForwardingEnabled+         where         toHeaders = const mempty  instance ToPath SetIdentityFeedbackForwardingEnabled@@ -125,9 +129,10 @@ -- -- /See:/ 'setIdentityFeedbackForwardingEnabledResponse' smart constructor. newtype SetIdentityFeedbackForwardingEnabledResponse = SetIdentityFeedbackForwardingEnabledResponse'-    { _siffersResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _siffersResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityFeedbackForwardingEnabledResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -137,13 +142,14 @@     :: Int -- ^ 'siffersResponseStatus'     -> SetIdentityFeedbackForwardingEnabledResponse setIdentityFeedbackForwardingEnabledResponse pResponseStatus_ =-    SetIdentityFeedbackForwardingEnabledResponse'-    { _siffersResponseStatus = pResponseStatus_-    }+  SetIdentityFeedbackForwardingEnabledResponse'+  {_siffersResponseStatus = pResponseStatus_} + -- | -- | The response status code. siffersResponseStatus :: Lens' SetIdentityFeedbackForwardingEnabledResponse Int siffersResponseStatus = lens _siffersResponseStatus (\ s a -> s{_siffersResponseStatus = a});  instance NFData-         SetIdentityFeedbackForwardingEnabledResponse+           SetIdentityFeedbackForwardingEnabledResponse+         where
gen/Network/AWS/SES/SetIdentityHeadersInNotificationsEnabled.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- 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.+-- You can execute this operation no more than once per second. -- -- For more information about using notifications with Amazon SES, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html Amazon SES Developer Guide> . --@@ -42,12 +42,12 @@     , sihinersResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications-via-sns.html Amazon SES Developer Guide> . --@@ -55,11 +55,12 @@ -- -- /See:/ 'setIdentityHeadersInNotificationsEnabled' smart constructor. data SetIdentityHeadersInNotificationsEnabled = SetIdentityHeadersInNotificationsEnabled'-    { _sihineIdentity         :: !Text-    , _sihineNotificationType :: !NotificationType-    , _sihineEnabled          :: !Bool-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sihineIdentity         :: !Text+  , _sihineNotificationType :: !NotificationType+  , _sihineEnabled          :: !Bool+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityHeadersInNotificationsEnabled' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -75,12 +76,13 @@     -> Bool -- ^ 'sihineEnabled'     -> SetIdentityHeadersInNotificationsEnabled setIdentityHeadersInNotificationsEnabled pIdentity_ pNotificationType_ pEnabled_ =-    SetIdentityHeadersInNotificationsEnabled'-    { _sihineIdentity = pIdentity_-    , _sihineNotificationType = pNotificationType_-    , _sihineEnabled = pEnabled_-    }+  SetIdentityHeadersInNotificationsEnabled'+  { _sihineIdentity = pIdentity_+  , _sihineNotificationType = pNotificationType_+  , _sihineEnabled = pEnabled_+  } + -- | The identity for which to enable or disable headers in notifications. Examples: @user@example.com@ , @example.com@ . sihineIdentity :: Lens' SetIdentityHeadersInNotificationsEnabled Text sihineIdentity = lens _sihineIdentity (\ s a -> s{_sihineIdentity = a});@@ -94,7 +96,8 @@ sihineEnabled = lens _sihineEnabled (\ s a -> s{_sihineEnabled = a});  instance AWSRequest-         SetIdentityHeadersInNotificationsEnabled where+           SetIdentityHeadersInNotificationsEnabled+         where         type Rs SetIdentityHeadersInNotificationsEnabled =              SetIdentityHeadersInNotificationsEnabledResponse         request = postQuery ses@@ -106,21 +109,26 @@                    (pure (fromEnum s)))  instance Hashable-         SetIdentityHeadersInNotificationsEnabled+           SetIdentityHeadersInNotificationsEnabled+         where  instance NFData-         SetIdentityHeadersInNotificationsEnabled+           SetIdentityHeadersInNotificationsEnabled+         where  instance ToHeaders-         SetIdentityHeadersInNotificationsEnabled where+           SetIdentityHeadersInNotificationsEnabled+         where         toHeaders = const mempty  instance ToPath-         SetIdentityHeadersInNotificationsEnabled where+           SetIdentityHeadersInNotificationsEnabled+         where         toPath = const "/"  instance ToQuery-         SetIdentityHeadersInNotificationsEnabled where+           SetIdentityHeadersInNotificationsEnabled+         where         toQuery SetIdentityHeadersInNotificationsEnabled'{..}           = mconcat               ["Action" =:@@ -137,9 +145,10 @@ -- -- /See:/ 'setIdentityHeadersInNotificationsEnabledResponse' smart constructor. newtype SetIdentityHeadersInNotificationsEnabledResponse = SetIdentityHeadersInNotificationsEnabledResponse'-    { _sihinersResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sihinersResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityHeadersInNotificationsEnabledResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -149,13 +158,14 @@     :: Int -- ^ 'sihinersResponseStatus'     -> SetIdentityHeadersInNotificationsEnabledResponse setIdentityHeadersInNotificationsEnabledResponse pResponseStatus_ =-    SetIdentityHeadersInNotificationsEnabledResponse'-    { _sihinersResponseStatus = pResponseStatus_-    }+  SetIdentityHeadersInNotificationsEnabledResponse'+  {_sihinersResponseStatus = pResponseStatus_} + -- | -- | The response status code. sihinersResponseStatus :: Lens' SetIdentityHeadersInNotificationsEnabledResponse Int sihinersResponseStatus = lens _sihinersResponseStatus (\ s a -> s{_sihinersResponseStatus = a});  instance NFData-         SetIdentityHeadersInNotificationsEnabledResponse+           SetIdentityHeadersInNotificationsEnabledResponse+         where
gen/Network/AWS/SES/SetIdentityMailFromDomain.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.SetIdentityMailFromDomain--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- /Important:/ 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-set.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.SetIdentityMailFromDomain     (@@ -42,12 +42,12 @@     , simfdrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from.html Amazon SES Developer Guide> . --@@ -55,11 +55,12 @@ -- -- /See:/ 'setIdentityMailFromDomain' smart constructor. data SetIdentityMailFromDomain = SetIdentityMailFromDomain'-    { _simfdMailFromDomain      :: !(Maybe Text)-    , _simfdBehaviorOnMXFailure :: !(Maybe BehaviorOnMXFailure)-    , _simfdIdentity            :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _simfdMailFromDomain      :: !(Maybe Text)+  , _simfdBehaviorOnMXFailure :: !(Maybe BehaviorOnMXFailure)+  , _simfdIdentity            :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityMailFromDomain' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -73,12 +74,13 @@     :: Text -- ^ 'simfdIdentity'     -> SetIdentityMailFromDomain setIdentityMailFromDomain pIdentity_ =-    SetIdentityMailFromDomain'-    { _simfdMailFromDomain = Nothing-    , _simfdBehaviorOnMXFailure = Nothing-    , _simfdIdentity = pIdentity_-    }+  SetIdentityMailFromDomain'+  { _simfdMailFromDomain = Nothing+  , _simfdBehaviorOnMXFailure = Nothing+  , _simfdIdentity = pIdentity_+  } + -- | 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 "From" address if the MAIL FROM domain is the destination of email feedback forwarding (for more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from.html Amazon SES Developer Guide> ), and 3) not be used to receive emails. A value of @null@ disables the custom MAIL FROM setting for the identity. simfdMailFromDomain :: Lens' SetIdentityMailFromDomain (Maybe Text) simfdMailFromDomain = lens _simfdMailFromDomain (\ s a -> s{_simfdMailFromDomain = a});@@ -101,9 +103,9 @@                  SetIdentityMailFromDomainResponse' <$>                    (pure (fromEnum s))) -instance Hashable SetIdentityMailFromDomain+instance Hashable SetIdentityMailFromDomain where -instance NFData SetIdentityMailFromDomain+instance NFData SetIdentityMailFromDomain where  instance ToHeaders SetIdentityMailFromDomain where         toHeaders = const mempty@@ -127,9 +129,10 @@ -- -- /See:/ 'setIdentityMailFromDomainResponse' smart constructor. newtype SetIdentityMailFromDomainResponse = SetIdentityMailFromDomainResponse'-    { _simfdrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _simfdrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityMailFromDomainResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -139,12 +142,12 @@     :: Int -- ^ 'simfdrsResponseStatus'     -> SetIdentityMailFromDomainResponse setIdentityMailFromDomainResponse pResponseStatus_ =-    SetIdentityMailFromDomainResponse'-    { _simfdrsResponseStatus = pResponseStatus_-    }+  SetIdentityMailFromDomainResponse' {_simfdrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. simfdrsResponseStatus :: Lens' SetIdentityMailFromDomainResponse Int simfdrsResponseStatus = lens _simfdrsResponseStatus (\ s a -> s{_simfdrsResponseStatus = a});  instance NFData SetIdentityMailFromDomainResponse+         where
gen/Network/AWS/SES/SetIdentityNotificationTopic.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.SetIdentityNotificationTopic--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- 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 @Source@ . -- ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- -- For more information about feedback notification, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html Amazon SES Developer Guide> . --@@ -42,12 +42,12 @@     , sintrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications-via-sns.html Amazon SES Developer Guide> . --@@ -55,11 +55,12 @@ -- -- /See:/ 'setIdentityNotificationTopic' smart constructor. data SetIdentityNotificationTopic = SetIdentityNotificationTopic'-    { _sintSNSTopic         :: !(Maybe Text)-    , _sintIdentity         :: !Text-    , _sintNotificationType :: !NotificationType-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sintSNSTopic         :: !(Maybe Text)+  , _sintIdentity         :: !Text+  , _sintNotificationType :: !NotificationType+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityNotificationTopic' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -74,12 +75,13 @@     -> NotificationType -- ^ 'sintNotificationType'     -> SetIdentityNotificationTopic setIdentityNotificationTopic pIdentity_ pNotificationType_ =-    SetIdentityNotificationTopic'-    { _sintSNSTopic = Nothing-    , _sintIdentity = pIdentity_-    , _sintNotificationType = pNotificationType_-    }+  SetIdentityNotificationTopic'+  { _sintSNSTopic = Nothing+  , _sintIdentity = pIdentity_+  , _sintNotificationType = pNotificationType_+  } + -- | The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, @SnsTopic@ is cleared and publishing is disabled. sintSNSTopic :: Lens' SetIdentityNotificationTopic (Maybe Text) sintSNSTopic = lens _sintSNSTopic (\ s a -> s{_sintSNSTopic = a});@@ -104,9 +106,9 @@                  SetIdentityNotificationTopicResponse' <$>                    (pure (fromEnum s))) -instance Hashable SetIdentityNotificationTopic+instance Hashable SetIdentityNotificationTopic where -instance NFData SetIdentityNotificationTopic+instance NFData SetIdentityNotificationTopic where  instance ToHeaders SetIdentityNotificationTopic where         toHeaders = const mempty@@ -130,9 +132,10 @@ -- -- /See:/ 'setIdentityNotificationTopicResponse' smart constructor. newtype SetIdentityNotificationTopicResponse = SetIdentityNotificationTopicResponse'-    { _sintrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _sintrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetIdentityNotificationTopicResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -142,12 +145,13 @@     :: Int -- ^ 'sintrsResponseStatus'     -> SetIdentityNotificationTopicResponse setIdentityNotificationTopicResponse pResponseStatus_ =-    SetIdentityNotificationTopicResponse'-    { _sintrsResponseStatus = pResponseStatus_-    }+  SetIdentityNotificationTopicResponse'+  {_sintrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. sintrsResponseStatus :: Lens' SetIdentityNotificationTopicResponse Int sintrsResponseStatus = lens _sintrsResponseStatus (\ s a -> s{_sintrsResponseStatus = a});  instance NFData SetIdentityNotificationTopicResponse+         where
gen/Network/AWS/SES/SetReceiptRulePosition.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.SetReceiptRulePosition--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing receipt rules, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.SetReceiptRulePosition     (@@ -42,12 +42,12 @@     , srrprsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -55,11 +55,12 @@ -- -- /See:/ 'setReceiptRulePosition' smart constructor. data SetReceiptRulePosition = SetReceiptRulePosition'-    { _srrpAfter       :: !(Maybe Text)-    , _srrpRuleSetName :: !Text-    , _srrpRuleName    :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _srrpAfter       :: !(Maybe Text)+  , _srrpRuleSetName :: !Text+  , _srrpRuleName    :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetReceiptRulePosition' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -74,12 +75,13 @@     -> Text -- ^ 'srrpRuleName'     -> SetReceiptRulePosition setReceiptRulePosition pRuleSetName_ pRuleName_ =-    SetReceiptRulePosition'-    { _srrpAfter = Nothing-    , _srrpRuleSetName = pRuleSetName_-    , _srrpRuleName = pRuleName_-    }+  SetReceiptRulePosition'+  { _srrpAfter = Nothing+  , _srrpRuleSetName = pRuleSetName_+  , _srrpRuleName = pRuleName_+  } + -- | The name of the receipt rule after which to place the specified receipt rule. srrpAfter :: Lens' SetReceiptRulePosition (Maybe Text) srrpAfter = lens _srrpAfter (\ s a -> s{_srrpAfter = a});@@ -102,9 +104,9 @@                  SetReceiptRulePositionResponse' <$>                    (pure (fromEnum s))) -instance Hashable SetReceiptRulePosition+instance Hashable SetReceiptRulePosition where -instance NFData SetReceiptRulePosition+instance NFData SetReceiptRulePosition where  instance ToHeaders SetReceiptRulePosition where         toHeaders = const mempty@@ -128,9 +130,10 @@ -- -- /See:/ 'setReceiptRulePositionResponse' smart constructor. newtype SetReceiptRulePositionResponse = SetReceiptRulePositionResponse'-    { _srrprsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _srrprsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SetReceiptRulePositionResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -140,12 +143,11 @@     :: Int -- ^ 'srrprsResponseStatus'     -> SetReceiptRulePositionResponse setReceiptRulePositionResponse pResponseStatus_ =-    SetReceiptRulePositionResponse'-    { _srrprsResponseStatus = pResponseStatus_-    }+  SetReceiptRulePositionResponse' {_srrprsResponseStatus = pResponseStatus_} + -- | -- | The response status code. srrprsResponseStatus :: Lens' SetReceiptRulePositionResponse Int srrprsResponseStatus = lens _srrprsResponseStatus (\ s a -> s{_srrprsResponseStatus = a}); -instance NFData SetReceiptRulePositionResponse+instance NFData SetReceiptRulePositionResponse where
+ gen/Network/AWS/SES/TestRenderTemplate.hs view
@@ -0,0 +1,139 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.TestRenderTemplate+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.+--+--+-- You can execute this operation no more than once per second.+--+module Network.AWS.SES.TestRenderTemplate+    (+    -- * Creating a Request+      testRenderTemplate+    , TestRenderTemplate+    -- * Request Lenses+    , trtTemplateName+    , trtTemplateData++    -- * Destructuring the Response+    , testRenderTemplateResponse+    , TestRenderTemplateResponse+    -- * Response Lenses+    , trtrsRenderedTemplate+    , trtrsResponseStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | /See:/ 'testRenderTemplate' smart constructor.+data TestRenderTemplate = TestRenderTemplate'+  { _trtTemplateName :: !Text+  , _trtTemplateData :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'TestRenderTemplate' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'trtTemplateName' - The name of the template that you want to render.+--+-- * 'trtTemplateData' - A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.+testRenderTemplate+    :: Text -- ^ 'trtTemplateName'+    -> Text -- ^ 'trtTemplateData'+    -> TestRenderTemplate+testRenderTemplate pTemplateName_ pTemplateData_ =+  TestRenderTemplate'+  {_trtTemplateName = pTemplateName_, _trtTemplateData = pTemplateData_}+++-- | The name of the template that you want to render.+trtTemplateName :: Lens' TestRenderTemplate Text+trtTemplateName = lens _trtTemplateName (\ s a -> s{_trtTemplateName = a});++-- | A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.+trtTemplateData :: Lens' TestRenderTemplate Text+trtTemplateData = lens _trtTemplateData (\ s a -> s{_trtTemplateData = a});++instance AWSRequest TestRenderTemplate where+        type Rs TestRenderTemplate =+             TestRenderTemplateResponse+        request = postQuery ses+        response+          = receiveXMLWrapper "TestRenderTemplateResult"+              (\ s h x ->+                 TestRenderTemplateResponse' <$>+                   (x .@? "RenderedTemplate") <*> (pure (fromEnum s)))++instance Hashable TestRenderTemplate where++instance NFData TestRenderTemplate where++instance ToHeaders TestRenderTemplate where+        toHeaders = const mempty++instance ToPath TestRenderTemplate where+        toPath = const "/"++instance ToQuery TestRenderTemplate where+        toQuery TestRenderTemplate'{..}+          = mconcat+              ["Action" =: ("TestRenderTemplate" :: ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "TemplateName" =: _trtTemplateName,+               "TemplateData" =: _trtTemplateData]++-- | /See:/ 'testRenderTemplateResponse' smart constructor.+data TestRenderTemplateResponse = TestRenderTemplateResponse'+  { _trtrsRenderedTemplate :: !(Maybe Text)+  , _trtrsResponseStatus   :: !Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'TestRenderTemplateResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'trtrsRenderedTemplate' - The complete MIME message rendered by applying the data in the TemplateData parameter to the template specified in the TemplateName parameter.+--+-- * 'trtrsResponseStatus' - -- | The response status code.+testRenderTemplateResponse+    :: Int -- ^ 'trtrsResponseStatus'+    -> TestRenderTemplateResponse+testRenderTemplateResponse pResponseStatus_ =+  TestRenderTemplateResponse'+  {_trtrsRenderedTemplate = Nothing, _trtrsResponseStatus = pResponseStatus_}+++-- | The complete MIME message rendered by applying the data in the TemplateData parameter to the template specified in the TemplateName parameter.+trtrsRenderedTemplate :: Lens' TestRenderTemplateResponse (Maybe Text)+trtrsRenderedTemplate = lens _trtrsRenderedTemplate (\ s a -> s{_trtrsRenderedTemplate = a});++-- | -- | The response status code.+trtrsResponseStatus :: Lens' TestRenderTemplateResponse Int+trtrsResponseStatus = lens _trtrsResponseStatus (\ s a -> s{_trtrsResponseStatus = a});++instance NFData TestRenderTemplateResponse where
gen/Network/AWS/SES/Types.hs view
@@ -4,9 +4,9 @@  -- | -- Module      : Network.AWS.SES.Types--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -17,19 +17,27 @@      -- * Errors     , _InvalidConfigurationSetException+    , _InvalidSNSDestinationException+    , _TemplateDoesNotExistException     , _CannotDeleteException     , _RuleDoesNotExistException     , _MessageRejected+    , _InvalidRenderingParameterException+    , _MissingRenderingAttributeException     , _RuleSetDoesNotExistException     , _MailFromDomainNotVerifiedException     , _InvalidFirehoseDestinationException     , _ConfigurationSetAlreadyExistsException+    , _InvalidTrackingOptionsException     , _EventDestinationDoesNotExistException     , _InvalidCloudWatchDestinationException     , _InvalidLambdaFunctionException+    , _TrackingOptionsDoesNotExistException+    , _InvalidTemplateException     , _ConfigurationSetDoesNotExistException     , _InvalidPolicyException     , _InvalidS3ConfigurationException+    , _TrackingOptionsAlreadyExistsException     , _InvalidSNSTopicException     , _EventDestinationAlreadyExistsException     , _AlreadyExistsException@@ -41,6 +49,9 @@     -- * BounceType     , BounceType (..) +    -- * BulkEmailStatus+    , BulkEmailStatus (..)+     -- * ConfigurationSetAttribute     , ConfigurationSetAttribute (..) @@ -109,6 +120,20 @@     , briRecipientARN     , briRecipient +    -- * BulkEmailDestination+    , BulkEmailDestination+    , bulkEmailDestination+    , bedReplacementTemplateData+    , bedReplacementTags+    , bedDestination++    -- * BulkEmailDestinationStatus+    , BulkEmailDestinationStatus+    , bulkEmailDestinationStatus+    , bedsStatus+    , bedsError+    , bedsMessageId+     -- * CloudWatchDestination     , CloudWatchDestination     , cloudWatchDestination@@ -145,6 +170,7 @@     , edEnabled     , edKinesisFirehoseDestination     , edCloudWatchDestination+    , edSNSDestination     , edName     , edMatchingEventTypes @@ -286,6 +312,11 @@     , saEncoding     , saTopicARN +    -- * SNSDestination+    , SNSDestination+    , snsDestination+    , sdTopicARN+     -- * SendDataPoint     , SendDataPoint     , sendDataPoint@@ -301,6 +332,25 @@     , sTopicARN     , sScope +    -- * Template+    , Template+    , template+    , tTextPart+    , tSubjectPart+    , tHTMLPart+    , tTemplateName++    -- * TemplateMetadata+    , TemplateMetadata+    , templateMetadata+    , tmName+    , tmCreatedTimestamp++    -- * TrackingOptions+    , TrackingOptions+    , trackingOptions+    , toCustomRedirectDomain+     -- * WorkmailAction     , WorkmailAction     , workmailAction@@ -308,38 +358,40 @@     , waOrganizationARN     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.SES.Types.Product-import           Network.AWS.SES.Types.Sum-import           Network.AWS.Sign.V4+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.SES.Types.Product+import Network.AWS.SES.Types.Sum+import Network.AWS.Sign.V4  -- | API version @2010-12-01@ of the Amazon Simple Email Service SDK configuration. ses :: Service ses =-    Service-    { _svcAbbrev = "SES"-    , _svcSigner = v4-    , _svcPrefix = "email"-    , _svcVersion = "2010-12-01"-    , _svcEndpoint = defaultEndpoint ses-    , _svcTimeout = Just 70-    , _svcCheck = statusSuccess-    , _svcError = parseXMLError "SES"-    , _svcRetry = retry-    }+  Service+  { _svcAbbrev = "SES"+  , _svcSigner = v4+  , _svcPrefix = "email"+  , _svcVersion = "2010-12-01"+  , _svcEndpoint = defaultEndpoint ses+  , _svcTimeout = Just 70+  , _svcCheck = statusSuccess+  , _svcError = parseXMLError "SES"+  , _svcRetry = retry+  }   where     retry =-        Exponential-        { _retryBase = 5.0e-2-        , _retryGrowth = 2-        , _retryAttempts = 5-        , _retryCheck = check-        }+      Exponential+      { _retryBase = 5.0e-2+      , _retryGrowth = 2+      , _retryAttempts = 5+      , _retryCheck = check+      }     check e+      | has (hasCode "ThrottledException" . hasStatus 400) e =+        Just "throttled_exception"       | has (hasStatus 429) e = Just "too_many_requests"       | has (hasCode "ThrottlingException" . hasStatus 400) e =-          Just "throttling_exception"+        Just "throttling_exception"       | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"       | has (hasStatus 504) e = Just "gateway_timeout"       | has (hasStatus 502) e = Just "bad_gateway"@@ -348,127 +400,212 @@       | has (hasStatus 509) e = Just "limit_exceeded"       | otherwise = Nothing + -- | Indicates that the configuration set is invalid. See the error message for details. -- -- _InvalidConfigurationSetException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidConfigurationSetException =-    _ServiceError . hasStatus 400 . hasCode "InvalidConfigurationSet"+  _MatchServiceError ses "InvalidConfigurationSet" . hasStatus 400 ++-- | Indicates that the Amazon Simple Notification Service (Amazon SNS) destination is invalid. See the error message for details.+--+--+_InvalidSNSDestinationException :: AsError a => Getting (First ServiceError) a ServiceError+_InvalidSNSDestinationException =+  _MatchServiceError ses "InvalidSNSDestination" . hasStatus 400+++-- | Indicates that the Template object you specified does not exist in your Amazon SES account.+--+--+_TemplateDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError+_TemplateDoesNotExistException =+  _MatchServiceError ses "TemplateDoesNotExist" . hasStatus 400++ -- | Indicates that the delete operation could not be completed. -- -- _CannotDeleteException :: AsError a => Getting (First ServiceError) a ServiceError-_CannotDeleteException = _ServiceError . hasStatus 400 . hasCode "CannotDelete"+_CannotDeleteException = _MatchServiceError ses "CannotDelete" . hasStatus 400 + -- | Indicates that the provided receipt rule does not exist. -- -- _RuleDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError _RuleDoesNotExistException =-    _ServiceError . hasStatus 400 . hasCode "RuleDoesNotExist"+  _MatchServiceError ses "RuleDoesNotExist" . hasStatus 400 + -- | 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-_MessageRejected = _ServiceError . hasStatus 400 . hasCode "MessageRejected"+_MessageRejected = _MatchServiceError ses "MessageRejected" . hasStatus 400 ++-- | Indicates that one or more of the replacement values you provided is invalid. This error may occur when the TemplateData object contains invalid JSON.+--+--+_InvalidRenderingParameterException :: AsError a => Getting (First ServiceError) a ServiceError+_InvalidRenderingParameterException =+  _MatchServiceError ses "InvalidRenderingParameter" . hasStatus 400+++-- | Indicates that one or more of the replacement values for the specified template was not specified. Ensure that the TemplateData object contains references to all of the replacement tags in the specified template.+--+--+_MissingRenderingAttributeException :: AsError a => Getting (First ServiceError) a ServiceError+_MissingRenderingAttributeException =+  _MatchServiceError ses "MissingRenderingAttribute" . hasStatus 400++ -- | Indicates that the provided receipt rule set does not exist. -- -- _RuleSetDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError _RuleSetDoesNotExistException =-    _ServiceError . hasStatus 400 . hasCode "RuleSetDoesNotExist"+  _MatchServiceError ses "RuleSetDoesNotExist" . hasStatus 400 + -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html Amazon SES Developer Guide> . -- -- _MailFromDomainNotVerifiedException :: AsError a => Getting (First ServiceError) a ServiceError _MailFromDomainNotVerifiedException =-    _ServiceError .-    hasStatus 400 . hasCode "MailFromDomainNotVerifiedException"+  _MatchServiceError ses "MailFromDomainNotVerifiedException" . hasStatus 400 + -- | Indicates that the Amazon Kinesis Firehose destination is invalid. See the error message for details. -- -- _InvalidFirehoseDestinationException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidFirehoseDestinationException =-    _ServiceError . hasStatus 400 . hasCode "InvalidFirehoseDestination"+  _MatchServiceError ses "InvalidFirehoseDestination" . hasStatus 400 + -- | Indicates that the configuration set could not be created because of a naming conflict. -- -- _ConfigurationSetAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError _ConfigurationSetAlreadyExistsException =-    _ServiceError . hasStatus 400 . hasCode "ConfigurationSetAlreadyExists"+  _MatchServiceError ses "ConfigurationSetAlreadyExists" . hasStatus 400 ++-- | Indicates that the custom domain to be used for open and click tracking redirects is invalid. This error appears most often in the following situations:+--+--+--     * When the tracking domain you specified is not verified in Amazon SES.+--+--     * When the tracking domain you specified is not a valid domain or subdomain.+--+--+--+_InvalidTrackingOptionsException :: AsError a => Getting (First ServiceError) a ServiceError+_InvalidTrackingOptionsException =+  _MatchServiceError ses "InvalidTrackingOptions" . hasStatus 400++ -- | Indicates that the event destination does not exist. -- -- _EventDestinationDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError _EventDestinationDoesNotExistException =-    _ServiceError . hasStatus 400 . hasCode "EventDestinationDoesNotExist"+  _MatchServiceError ses "EventDestinationDoesNotExist" . hasStatus 400 + -- | Indicates that the Amazon CloudWatch destination is invalid. See the error message for details. -- -- _InvalidCloudWatchDestinationException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidCloudWatchDestinationException =-    _ServiceError . hasStatus 400 . hasCode "InvalidCloudWatchDestination"+  _MatchServiceError ses "InvalidCloudWatchDestination" . hasStatus 400 + -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> . -- -- _InvalidLambdaFunctionException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidLambdaFunctionException =-    _ServiceError . hasStatus 400 . hasCode "InvalidLambdaFunction"+  _MatchServiceError ses "InvalidLambdaFunction" . hasStatus 400 ++-- | Indicates that the TrackingOptions object you specified does not exist.+--+--+_TrackingOptionsDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError+_TrackingOptionsDoesNotExistException =+  _MatchServiceError ses "TrackingOptionsDoesNotExistException" . hasStatus 400+++-- | Indicates that a template could not be created because it contained invalid JSON.+--+--+_InvalidTemplateException :: AsError a => Getting (First ServiceError) a ServiceError+_InvalidTemplateException =+  _MatchServiceError ses "InvalidTemplate" . hasStatus 400++ -- | Indicates that the configuration set does not exist. -- -- _ConfigurationSetDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError _ConfigurationSetDoesNotExistException =-    _ServiceError . hasStatus 400 . hasCode "ConfigurationSetDoesNotExist"+  _MatchServiceError ses "ConfigurationSetDoesNotExist" . hasStatus 400 + -- | 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-_InvalidPolicyException =-    _ServiceError . hasStatus 400 . hasCode "InvalidPolicy"+_InvalidPolicyException = _MatchServiceError ses "InvalidPolicy" . hasStatus 400 + -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> . -- -- _InvalidS3ConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidS3ConfigurationException =-    _ServiceError . hasStatus 400 . hasCode "InvalidS3Configuration"+  _MatchServiceError ses "InvalidS3Configuration" . hasStatus 400 ++-- | Indicates that the configuration set you specified already contains a TrackingOptions object.+--+--+_TrackingOptionsAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError+_TrackingOptionsAlreadyExistsException =+  _MatchServiceError ses "TrackingOptionsAlreadyExistsException" . hasStatus 400++ -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> . -- -- _InvalidSNSTopicException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidSNSTopicException =-    _ServiceError . hasStatus 400 . hasCode "InvalidSnsTopic"+  _MatchServiceError ses "InvalidSnsTopic" . hasStatus 400 + -- | Indicates that the event destination could not be created because of a naming conflict. -- -- _EventDestinationAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError _EventDestinationAlreadyExistsException =-    _ServiceError . hasStatus 400 . hasCode "EventDestinationAlreadyExists"+  _MatchServiceError ses "EventDestinationAlreadyExists" . hasStatus 400 + -- | Indicates that a resource could not be created because of a naming conflict. -- -- _AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError-_AlreadyExistsException =-    _ServiceError . hasStatus 400 . hasCode "AlreadyExists"+_AlreadyExistsException = _MatchServiceError ses "AlreadyExists" . hasStatus 400 + -- | Indicates that a resource could not be created because of service limits. For a list of Amazon SES limits, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html Amazon SES Developer Guide> . -- -- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_LimitExceededException =-    _ServiceError . hasStatus 400 . hasCode "LimitExceeded"+_LimitExceededException = _MatchServiceError ses "LimitExceeded" . hasStatus 400+
gen/Network/AWS/SES/Types/Product.hs view
@@ -9,1907 +9,2232 @@  -- | -- Module      : Network.AWS.SES.Types.Product--- Copyright   : (c) 2013-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.SES.Types.Product where--import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.SES.Types.Sum---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-add-header.html Amazon SES Developer Guide> .--------- /See:/ 'addHeaderAction' smart constructor.-data AddHeaderAction = AddHeaderAction'-    { _ahaHeaderName  :: !Text-    , _ahaHeaderValue :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'AddHeaderAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ahaHeaderName' - 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.------ * 'ahaHeaderValue' - Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").-addHeaderAction-    :: Text -- ^ 'ahaHeaderName'-    -> Text -- ^ 'ahaHeaderValue'-    -> AddHeaderAction-addHeaderAction pHeaderName_ pHeaderValue_ =-    AddHeaderAction'-    { _ahaHeaderName = pHeaderName_-    , _ahaHeaderValue = pHeaderValue_-    }---- | 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-ahaHeaderName = lens _ahaHeaderName (\ s a -> s{_ahaHeaderName = a});---- | Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").-ahaHeaderValue :: Lens' AddHeaderAction Text-ahaHeaderValue = lens _ahaHeaderValue (\ s a -> s{_ahaHeaderValue = a});--instance FromXML AddHeaderAction where-        parseXML x-          = AddHeaderAction' <$>-              (x .@ "HeaderName") <*> (x .@ "HeaderValue")--instance Hashable AddHeaderAction--instance NFData AddHeaderAction--instance ToQuery AddHeaderAction where-        toQuery AddHeaderAction'{..}-          = mconcat-              ["HeaderName" =: _ahaHeaderName,-               "HeaderValue" =: _ahaHeaderValue]---- | 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.------------ /See:/ 'body' smart constructor.-data Body = Body'-    { _bText :: !(Maybe Content)-    , _bHTML :: !(Maybe Content)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'Body' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bText' - 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).------ * 'bHTML' - 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.-body-    :: Body-body =-    Body'-    { _bText = Nothing-    , _bHTML = Nothing-    }---- | 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)-bText = lens _bText (\ s a -> s{_bText = 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.-bHTML :: Lens' Body (Maybe Content)-bHTML = lens _bHTML (\ s a -> s{_bHTML = a});--instance Hashable Body--instance NFData Body--instance ToQuery Body where-        toQuery Body'{..}-          = mconcat ["Text" =: _bText, "Html" =: _bHTML]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-bounce.html Amazon SES Developer Guide> .--------- /See:/ 'bounceAction' smart constructor.-data BounceAction = BounceAction'-    { _baTopicARN      :: !(Maybe Text)-    , _baStatusCode    :: !(Maybe Text)-    , _baSmtpReplyCode :: !Text-    , _baMessage       :: !Text-    , _baSender        :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'BounceAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'baTopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .------ * 'baStatusCode' - The SMTP enhanced status code, as defined by <https://tools.ietf.org/html/rfc3463 RFC 3463> .------ * 'baSmtpReplyCode' - The SMTP reply code, as defined by <https://tools.ietf.org/html/rfc5321 RFC 5321> .------ * 'baMessage' - Human-readable text to include in the bounce message.------ * 'baSender' - The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.-bounceAction-    :: Text -- ^ 'baSmtpReplyCode'-    -> Text -- ^ 'baMessage'-    -> Text -- ^ 'baSender'-    -> BounceAction-bounceAction pSmtpReplyCode_ pMessage_ pSender_ =-    BounceAction'-    { _baTopicARN = Nothing-    , _baStatusCode = Nothing-    , _baSmtpReplyCode = pSmtpReplyCode_-    , _baMessage = pMessage_-    , _baSender = pSender_-    }---- | 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .-baTopicARN :: Lens' BounceAction (Maybe Text)-baTopicARN = lens _baTopicARN (\ s a -> s{_baTopicARN = a});---- | The SMTP enhanced status code, as defined by <https://tools.ietf.org/html/rfc3463 RFC 3463> .-baStatusCode :: Lens' BounceAction (Maybe Text)-baStatusCode = lens _baStatusCode (\ s a -> s{_baStatusCode = a});---- | The SMTP reply code, as defined by <https://tools.ietf.org/html/rfc5321 RFC 5321> .-baSmtpReplyCode :: Lens' BounceAction Text-baSmtpReplyCode = lens _baSmtpReplyCode (\ s a -> s{_baSmtpReplyCode = a});---- | Human-readable text to include in the bounce message.-baMessage :: Lens' BounceAction Text-baMessage = lens _baMessage (\ s a -> s{_baMessage = a});---- | 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-baSender = lens _baSender (\ s a -> s{_baSender = a});--instance FromXML BounceAction where-        parseXML x-          = BounceAction' <$>-              (x .@? "TopicArn") <*> (x .@? "StatusCode") <*>-                (x .@ "SmtpReplyCode")-                <*> (x .@ "Message")-                <*> (x .@ "Sender")--instance Hashable BounceAction--instance NFData BounceAction--instance ToQuery BounceAction where-        toQuery BounceAction'{..}-          = mconcat-              ["TopicArn" =: _baTopicARN,-               "StatusCode" =: _baStatusCode,-               "SmtpReplyCode" =: _baSmtpReplyCode,-               "Message" =: _baMessage, "Sender" =: _baSender]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html Amazon SES Developer Guide> .--------- /See:/ 'bouncedRecipientInfo' smart constructor.-data BouncedRecipientInfo = BouncedRecipientInfo'-    { _briBounceType         :: !(Maybe BounceType)-    , _briRecipientDsnFields :: !(Maybe RecipientDsnFields)-    , _briRecipientARN       :: !(Maybe Text)-    , _briRecipient          :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'BouncedRecipientInfo' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'briBounceType' - The reason for the bounce. You must provide either this parameter or @RecipientDsnFields@ .------ * 'briRecipientDsnFields' - Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a @BounceType@ . You must provide either this parameter or @BounceType@ .------ * 'briRecipientARN' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .------ * 'briRecipient' - The email address of the recipient of the bounced email.-bouncedRecipientInfo-    :: Text -- ^ 'briRecipient'-    -> BouncedRecipientInfo-bouncedRecipientInfo pRecipient_ =-    BouncedRecipientInfo'-    { _briBounceType = Nothing-    , _briRecipientDsnFields = Nothing-    , _briRecipientARN = Nothing-    , _briRecipient = pRecipient_-    }---- | The reason for the bounce. You must provide either this parameter or @RecipientDsnFields@ .-briBounceType :: Lens' BouncedRecipientInfo (Maybe BounceType)-briBounceType = lens _briBounceType (\ s a -> s{_briBounceType = a});---- | Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a @BounceType@ . You must provide either this parameter or @BounceType@ .-briRecipientDsnFields :: Lens' BouncedRecipientInfo (Maybe RecipientDsnFields)-briRecipientDsnFields = lens _briRecipientDsnFields (\ s a -> s{_briRecipientDsnFields = 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .-briRecipientARN :: Lens' BouncedRecipientInfo (Maybe Text)-briRecipientARN = lens _briRecipientARN (\ s a -> s{_briRecipientARN = a});---- | The email address of the recipient of the bounced email.-briRecipient :: Lens' BouncedRecipientInfo Text-briRecipient = lens _briRecipient (\ s a -> s{_briRecipient = a});--instance Hashable BouncedRecipientInfo--instance NFData BouncedRecipientInfo--instance ToQuery BouncedRecipientInfo where-        toQuery BouncedRecipientInfo'{..}-          = mconcat-              ["BounceType" =: _briBounceType,-               "RecipientDsnFields" =: _briRecipientDsnFields,-               "RecipientArn" =: _briRecipientARN,-               "Recipient" =: _briRecipient]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .--------- /See:/ 'cloudWatchDestination' smart constructor.-newtype CloudWatchDestination = CloudWatchDestination'-    { _cwdDimensionConfigurations :: [CloudWatchDimensionConfiguration]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'CloudWatchDestination' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cwdDimensionConfigurations' - A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.-cloudWatchDestination-    :: CloudWatchDestination-cloudWatchDestination =-    CloudWatchDestination'-    { _cwdDimensionConfigurations = mempty-    }---- | A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.-cwdDimensionConfigurations :: Lens' CloudWatchDestination [CloudWatchDimensionConfiguration]-cwdDimensionConfigurations = lens _cwdDimensionConfigurations (\ s a -> s{_cwdDimensionConfigurations = a}) . _Coerce;--instance FromXML CloudWatchDestination where-        parseXML x-          = CloudWatchDestination' <$>-              (x .@? "DimensionConfigurations" .!@ mempty >>=-                 parseXMLList "member")--instance Hashable CloudWatchDestination--instance NFData CloudWatchDestination--instance ToQuery CloudWatchDestination where-        toQuery CloudWatchDestination'{..}-          = mconcat-              ["DimensionConfigurations" =:-                 toQueryList "member" _cwdDimensionConfigurations]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .--------- /See:/ 'cloudWatchDimensionConfiguration' smart constructor.-data CloudWatchDimensionConfiguration = CloudWatchDimensionConfiguration'-    { _cwdcDimensionName         :: !Text-    , _cwdcDimensionValueSource  :: !DimensionValueSource-    , _cwdcDefaultDimensionValue :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'CloudWatchDimensionConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cwdcDimensionName' - 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.------ * 'cwdcDimensionValueSource' - 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 @X-SES-MESSAGE-TAGS@ header or a parameter to the @SendEmail@ /@SendRawEmail@ API, choose @messageTag@ . If you want Amazon SES to use your own email headers, choose @emailHeader@ .------ * 'cwdcDefaultDimensionValue' - 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.-cloudWatchDimensionConfiguration-    :: Text -- ^ 'cwdcDimensionName'-    -> DimensionValueSource -- ^ 'cwdcDimensionValueSource'-    -> Text -- ^ 'cwdcDefaultDimensionValue'-    -> CloudWatchDimensionConfiguration-cloudWatchDimensionConfiguration pDimensionName_ pDimensionValueSource_ pDefaultDimensionValue_ =-    CloudWatchDimensionConfiguration'-    { _cwdcDimensionName = pDimensionName_-    , _cwdcDimensionValueSource = pDimensionValueSource_-    , _cwdcDefaultDimensionValue = pDefaultDimensionValue_-    }---- | 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-cwdcDimensionName = lens _cwdcDimensionName (\ s a -> s{_cwdcDimensionName = 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 @X-SES-MESSAGE-TAGS@ header or a parameter to the @SendEmail@ /@SendRawEmail@ API, choose @messageTag@ . If you want Amazon SES to use your own email headers, choose @emailHeader@ .-cwdcDimensionValueSource :: Lens' CloudWatchDimensionConfiguration DimensionValueSource-cwdcDimensionValueSource = lens _cwdcDimensionValueSource (\ s a -> s{_cwdcDimensionValueSource = 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.-cwdcDefaultDimensionValue :: Lens' CloudWatchDimensionConfiguration Text-cwdcDefaultDimensionValue = lens _cwdcDefaultDimensionValue (\ s a -> s{_cwdcDefaultDimensionValue = a});--instance FromXML CloudWatchDimensionConfiguration-         where-        parseXML x-          = CloudWatchDimensionConfiguration' <$>-              (x .@ "DimensionName") <*>-                (x .@ "DimensionValueSource")-                <*> (x .@ "DefaultDimensionValue")--instance Hashable CloudWatchDimensionConfiguration--instance NFData CloudWatchDimensionConfiguration--instance ToQuery CloudWatchDimensionConfiguration-         where-        toQuery CloudWatchDimensionConfiguration'{..}-          = mconcat-              ["DimensionName" =: _cwdcDimensionName,-               "DimensionValueSource" =: _cwdcDimensionValueSource,-               "DefaultDimensionValue" =:-                 _cwdcDefaultDimensionValue]---- | The name of the configuration set.--------- Configuration sets enable you to publish email sending events. For information about using configuration sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .--------- /See:/ 'configurationSet' smart constructor.-newtype ConfigurationSet = ConfigurationSet'-    { _csName :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ConfigurationSet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csName' - 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.-configurationSet-    :: Text -- ^ 'csName'-    -> ConfigurationSet-configurationSet pName_ =-    ConfigurationSet'-    { _csName = pName_-    }---- | 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-csName = lens _csName (\ s a -> s{_csName = a});--instance FromXML ConfigurationSet where-        parseXML x = ConfigurationSet' <$> (x .@ "Name")--instance Hashable ConfigurationSet--instance NFData ConfigurationSet--instance ToQuery ConfigurationSet where-        toQuery ConfigurationSet'{..}-          = mconcat ["Name" =: _csName]---- | 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.--------- /See:/ 'content' smart constructor.-data Content = Content'-    { _cCharset :: !(Maybe Text)-    , _cData    :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'Content' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cCharset' - The character set of the content.------ * 'cData' - The textual data of the content.-content-    :: Text -- ^ 'cData'-    -> Content-content pData_ =-    Content'-    { _cCharset = Nothing-    , _cData = pData_-    }---- | The character set of the content.-cCharset :: Lens' Content (Maybe Text)-cCharset = lens _cCharset (\ s a -> s{_cCharset = a});---- | The textual data of the content.-cData :: Lens' Content Text-cData = lens _cData (\ s a -> s{_cData = a});--instance Hashable Content--instance NFData Content--instance ToQuery Content where-        toQuery Content'{..}-          = mconcat ["Charset" =: _cCharset, "Data" =: _cData]---- | 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: @=?charset?encoding?encoded-text?=@ . For more information, see <http://tools.ietf.org/html/rfc2047 RFC 2047> .--------- /See:/ 'destination' smart constructor.-data Destination = Destination'-    { _dBCCAddresses :: !(Maybe [Text])-    , _dCCAddresses  :: !(Maybe [Text])-    , _dToAddresses  :: !(Maybe [Text])-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'Destination' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dBCCAddresses' - The BCC: field(s) of the message.------ * 'dCCAddresses' - The CC: field(s) of the message.------ * 'dToAddresses' - The To: field(s) of the message.-destination-    :: Destination-destination =-    Destination'-    { _dBCCAddresses = Nothing-    , _dCCAddresses = Nothing-    , _dToAddresses = Nothing-    }---- | The BCC: field(s) of the message.-dBCCAddresses :: Lens' Destination [Text]-dBCCAddresses = lens _dBCCAddresses (\ s a -> s{_dBCCAddresses = a}) . _Default . _Coerce;---- | The CC: field(s) of the message.-dCCAddresses :: Lens' Destination [Text]-dCCAddresses = lens _dCCAddresses (\ s a -> s{_dCCAddresses = a}) . _Default . _Coerce;---- | The To: field(s) of the message.-dToAddresses :: Lens' Destination [Text]-dToAddresses = lens _dToAddresses (\ s a -> s{_dToAddresses = a}) . _Default . _Coerce;--instance Hashable Destination--instance NFData Destination--instance ToQuery Destination where-        toQuery Destination'{..}-          = mconcat-              ["BccAddresses" =:-                 toQuery (toQueryList "member" <$> _dBCCAddresses),-               "CcAddresses" =:-                 toQuery (toQueryList "member" <$> _dCCAddresses),-               "ToAddresses" =:-                 toQuery (toQueryList "member" <$> _dToAddresses)]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .--------- /See:/ 'eventDestination' smart constructor.-data EventDestination = EventDestination'-    { _edEnabled                    :: !(Maybe Bool)-    , _edKinesisFirehoseDestination :: !(Maybe KinesisFirehoseDestination)-    , _edCloudWatchDestination      :: !(Maybe CloudWatchDestination)-    , _edName                       :: !Text-    , _edMatchingEventTypes         :: ![EventType]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'EventDestination' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'edEnabled' - Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to @true@ to enable publishing to this destination; set to @false@ to prevent publishing to this destination. The default value is @false@ .------ * 'edKinesisFirehoseDestination' - An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.------ * 'edCloudWatchDestination' - An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.------ * 'edName' - 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.------ * 'edMatchingEventTypes' - The type of email sending events to publish to the event destination.-eventDestination-    :: Text -- ^ 'edName'-    -> EventDestination-eventDestination pName_ =-    EventDestination'-    { _edEnabled = Nothing-    , _edKinesisFirehoseDestination = Nothing-    , _edCloudWatchDestination = Nothing-    , _edName = pName_-    , _edMatchingEventTypes = mempty-    }---- | Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to @true@ to enable publishing to this destination; set to @false@ to prevent publishing to this destination. The default value is @false@ .-edEnabled :: Lens' EventDestination (Maybe Bool)-edEnabled = lens _edEnabled (\ s a -> s{_edEnabled = a});---- | 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)-edKinesisFirehoseDestination = lens _edKinesisFirehoseDestination (\ s a -> s{_edKinesisFirehoseDestination = a});---- | 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)-edCloudWatchDestination = lens _edCloudWatchDestination (\ s a -> s{_edCloudWatchDestination = 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.-edName :: Lens' EventDestination Text-edName = lens _edName (\ s a -> s{_edName = a});---- | The type of email sending events to publish to the event destination.-edMatchingEventTypes :: Lens' EventDestination [EventType]-edMatchingEventTypes = lens _edMatchingEventTypes (\ s a -> s{_edMatchingEventTypes = a}) . _Coerce;--instance FromXML EventDestination where-        parseXML x-          = EventDestination' <$>-              (x .@? "Enabled") <*>-                (x .@? "KinesisFirehoseDestination")-                <*> (x .@? "CloudWatchDestination")-                <*> (x .@ "Name")-                <*>-                (x .@? "MatchingEventTypes" .!@ mempty >>=-                   parseXMLList "member")--instance Hashable EventDestination--instance NFData EventDestination--instance ToQuery EventDestination where-        toQuery EventDestination'{..}-          = mconcat-              ["Enabled" =: _edEnabled,-               "KinesisFirehoseDestination" =:-                 _edKinesisFirehoseDestination,-               "CloudWatchDestination" =: _edCloudWatchDestination,-               "Name" =: _edName,-               "MatchingEventTypes" =:-                 toQueryList "member" _edMatchingEventTypes]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html Amazon SES Developer Guide> .--------- /See:/ 'extensionField' smart constructor.-data ExtensionField = ExtensionField'-    { _efName  :: !Text-    , _efValue :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ExtensionField' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'efName' - 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.------ * 'efValue' - The value of the header to add. Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").-extensionField-    :: Text -- ^ 'efName'-    -> Text -- ^ 'efValue'-    -> ExtensionField-extensionField pName_ pValue_ =-    ExtensionField'-    { _efName = pName_-    , _efValue = pValue_-    }---- | 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-efName = lens _efName (\ s a -> s{_efName = a});---- | 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-efValue = lens _efValue (\ s a -> s{_efValue = a});--instance Hashable ExtensionField--instance NFData ExtensionField--instance ToQuery ExtensionField where-        toQuery ExtensionField'{..}-          = mconcat ["Name" =: _efName, "Value" =: _efValue]---- | Represents the DKIM attributes of a verified email address or a domain.------------ /See:/ 'identityDkimAttributes' smart constructor.-data IdentityDkimAttributes = IdentityDkimAttributes'-    { _idaDkimTokens             :: !(Maybe [Text])-    , _idaDkimEnabled            :: !Bool-    , _idaDkimVerificationStatus :: !VerificationStatus-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'IdentityDkimAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'idaDkimTokens' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html Amazon SES Developer Guide> .------ * 'idaDkimEnabled' - True if DKIM signing is enabled for email sent from the identity; false otherwise. The default value is true.------ * 'idaDkimVerificationStatus' - 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.)-identityDkimAttributes-    :: Bool -- ^ 'idaDkimEnabled'-    -> VerificationStatus -- ^ 'idaDkimVerificationStatus'-    -> IdentityDkimAttributes-identityDkimAttributes pDkimEnabled_ pDkimVerificationStatus_ =-    IdentityDkimAttributes'-    { _idaDkimTokens = Nothing-    , _idaDkimEnabled = pDkimEnabled_-    , _idaDkimVerificationStatus = pDkimVerificationStatus_-    }---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html Amazon SES Developer Guide> .-idaDkimTokens :: Lens' IdentityDkimAttributes [Text]-idaDkimTokens = lens _idaDkimTokens (\ s a -> s{_idaDkimTokens = a}) . _Default . _Coerce;---- | True if DKIM signing is enabled for email sent from the identity; false otherwise. The default value is true.-idaDkimEnabled :: Lens' IdentityDkimAttributes Bool-idaDkimEnabled = lens _idaDkimEnabled (\ s a -> s{_idaDkimEnabled = 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.)-idaDkimVerificationStatus :: Lens' IdentityDkimAttributes VerificationStatus-idaDkimVerificationStatus = lens _idaDkimVerificationStatus (\ s a -> s{_idaDkimVerificationStatus = a});--instance FromXML IdentityDkimAttributes where-        parseXML x-          = IdentityDkimAttributes' <$>-              (x .@? "DkimTokens" .!@ mempty >>=-                 may (parseXMLList "member"))-                <*> (x .@ "DkimEnabled")-                <*> (x .@ "DkimVerificationStatus")--instance Hashable IdentityDkimAttributes--instance NFData IdentityDkimAttributes---- | Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).------------ /See:/ 'identityMailFromDomainAttributes' smart constructor.-data IdentityMailFromDomainAttributes = IdentityMailFromDomainAttributes'-    { _imfdaMailFromDomain       :: !Text-    , _imfdaMailFromDomainStatus :: !CustomMailFromStatus-    , _imfdaBehaviorOnMXFailure  :: !BehaviorOnMXFailure-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'IdentityMailFromDomainAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'imfdaMailFromDomain' - The custom MAIL FROM domain that the identity is configured to use.------ * 'imfdaMailFromDomainStatus' - The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is @Success@ , 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 @BehaviorOnMXFailure@ .------ * 'imfdaBehaviorOnMXFailure' - The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of @UseDefaultValue@ 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 @RejectMessage@ indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a @MailFromDomainNotVerified@ error and does not send the email. The custom MAIL FROM setup states that result in this behavior are @Pending@ , @Failed@ , and @TemporaryFailure@ .-identityMailFromDomainAttributes-    :: Text -- ^ 'imfdaMailFromDomain'-    -> CustomMailFromStatus -- ^ 'imfdaMailFromDomainStatus'-    -> BehaviorOnMXFailure -- ^ 'imfdaBehaviorOnMXFailure'-    -> IdentityMailFromDomainAttributes-identityMailFromDomainAttributes pMailFromDomain_ pMailFromDomainStatus_ pBehaviorOnMXFailure_ =-    IdentityMailFromDomainAttributes'-    { _imfdaMailFromDomain = pMailFromDomain_-    , _imfdaMailFromDomainStatus = pMailFromDomainStatus_-    , _imfdaBehaviorOnMXFailure = pBehaviorOnMXFailure_-    }---- | The custom MAIL FROM domain that the identity is configured to use.-imfdaMailFromDomain :: Lens' IdentityMailFromDomainAttributes Text-imfdaMailFromDomain = lens _imfdaMailFromDomain (\ s a -> s{_imfdaMailFromDomain = 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 @Success@ , 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 @BehaviorOnMXFailure@ .-imfdaMailFromDomainStatus :: Lens' IdentityMailFromDomainAttributes CustomMailFromStatus-imfdaMailFromDomainStatus = lens _imfdaMailFromDomainStatus (\ s a -> s{_imfdaMailFromDomainStatus = a});---- | The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of @UseDefaultValue@ 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 @RejectMessage@ indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a @MailFromDomainNotVerified@ error and does not send the email. The custom MAIL FROM setup states that result in this behavior are @Pending@ , @Failed@ , and @TemporaryFailure@ .-imfdaBehaviorOnMXFailure :: Lens' IdentityMailFromDomainAttributes BehaviorOnMXFailure-imfdaBehaviorOnMXFailure = lens _imfdaBehaviorOnMXFailure (\ s a -> s{_imfdaBehaviorOnMXFailure = a});--instance FromXML IdentityMailFromDomainAttributes-         where-        parseXML x-          = IdentityMailFromDomainAttributes' <$>-              (x .@ "MailFromDomain") <*>-                (x .@ "MailFromDomainStatus")-                <*> (x .@ "BehaviorOnMXFailure")--instance Hashable IdentityMailFromDomainAttributes--instance NFData IdentityMailFromDomainAttributes---- | 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.------------ /See:/ 'identityNotificationAttributes' smart constructor.-data IdentityNotificationAttributes = IdentityNotificationAttributes'-    { _inaHeadersInDeliveryNotificationsEnabled  :: !(Maybe Bool)-    , _inaHeadersInComplaintNotificationsEnabled :: !(Maybe Bool)-    , _inaHeadersInBounceNotificationsEnabled    :: !(Maybe Bool)-    , _inaBounceTopic                            :: !Text-    , _inaComplaintTopic                         :: !Text-    , _inaDeliveryTopic                          :: !Text-    , _inaForwardingEnabled                      :: !Bool-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'IdentityNotificationAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'inaHeadersInDeliveryNotificationsEnabled' - Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Delivery@ . A value of @true@ specifies that Amazon SES will include headers in delivery notifications, and a value of @false@ specifies that Amazon SES will not include headers in delivery notifications.------ * 'inaHeadersInComplaintNotificationsEnabled' - Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Complaint@ . A value of @true@ specifies that Amazon SES will include headers in complaint notifications, and a value of @false@ specifies that Amazon SES will not include headers in complaint notifications.------ * 'inaHeadersInBounceNotificationsEnabled' - Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Bounce@ . A value of @true@ specifies that Amazon SES will include headers in bounce notifications, and a value of @false@ specifies that Amazon SES will not include headers in bounce notifications.------ * 'inaBounceTopic' - The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.------ * 'inaComplaintTopic' - The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.------ * 'inaDeliveryTopic' - The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.------ * 'inaForwardingEnabled' - Describes whether Amazon SES will forward bounce and complaint notifications as email. @true@ indicates that Amazon SES will forward bounce and complaint notifications as email, while @false@ indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.-identityNotificationAttributes-    :: Text -- ^ 'inaBounceTopic'-    -> Text -- ^ 'inaComplaintTopic'-    -> Text -- ^ 'inaDeliveryTopic'-    -> Bool -- ^ 'inaForwardingEnabled'-    -> IdentityNotificationAttributes-identityNotificationAttributes pBounceTopic_ pComplaintTopic_ pDeliveryTopic_ pForwardingEnabled_ =-    IdentityNotificationAttributes'-    { _inaHeadersInDeliveryNotificationsEnabled = Nothing-    , _inaHeadersInComplaintNotificationsEnabled = Nothing-    , _inaHeadersInBounceNotificationsEnabled = Nothing-    , _inaBounceTopic = pBounceTopic_-    , _inaComplaintTopic = pComplaintTopic_-    , _inaDeliveryTopic = pDeliveryTopic_-    , _inaForwardingEnabled = pForwardingEnabled_-    }---- | Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Delivery@ . A value of @true@ specifies that Amazon SES will include headers in delivery notifications, and a value of @false@ specifies that Amazon SES will not include headers in delivery notifications.-inaHeadersInDeliveryNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)-inaHeadersInDeliveryNotificationsEnabled = lens _inaHeadersInDeliveryNotificationsEnabled (\ s a -> s{_inaHeadersInDeliveryNotificationsEnabled = a});---- | Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Complaint@ . A value of @true@ specifies that Amazon SES will include headers in complaint notifications, and a value of @false@ specifies that Amazon SES will not include headers in complaint notifications.-inaHeadersInComplaintNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)-inaHeadersInComplaintNotificationsEnabled = lens _inaHeadersInComplaintNotificationsEnabled (\ s a -> s{_inaHeadersInComplaintNotificationsEnabled = a});---- | Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Bounce@ . A value of @true@ specifies that Amazon SES will include headers in bounce notifications, and a value of @false@ specifies that Amazon SES will not include headers in bounce notifications.-inaHeadersInBounceNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)-inaHeadersInBounceNotificationsEnabled = lens _inaHeadersInBounceNotificationsEnabled (\ s a -> s{_inaHeadersInBounceNotificationsEnabled = a});---- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.-inaBounceTopic :: Lens' IdentityNotificationAttributes Text-inaBounceTopic = lens _inaBounceTopic (\ s a -> s{_inaBounceTopic = a});---- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.-inaComplaintTopic :: Lens' IdentityNotificationAttributes Text-inaComplaintTopic = lens _inaComplaintTopic (\ s a -> s{_inaComplaintTopic = a});---- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.-inaDeliveryTopic :: Lens' IdentityNotificationAttributes Text-inaDeliveryTopic = lens _inaDeliveryTopic (\ s a -> s{_inaDeliveryTopic = a});---- | Describes whether Amazon SES will forward bounce and complaint notifications as email. @true@ indicates that Amazon SES will forward bounce and complaint notifications as email, while @false@ indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.-inaForwardingEnabled :: Lens' IdentityNotificationAttributes Bool-inaForwardingEnabled = lens _inaForwardingEnabled (\ s a -> s{_inaForwardingEnabled = a});--instance FromXML IdentityNotificationAttributes where-        parseXML x-          = IdentityNotificationAttributes' <$>-              (x .@? "HeadersInDeliveryNotificationsEnabled") <*>-                (x .@? "HeadersInComplaintNotificationsEnabled")-                <*> (x .@? "HeadersInBounceNotificationsEnabled")-                <*> (x .@ "BounceTopic")-                <*> (x .@ "ComplaintTopic")-                <*> (x .@ "DeliveryTopic")-                <*> (x .@ "ForwardingEnabled")--instance Hashable IdentityNotificationAttributes--instance NFData IdentityNotificationAttributes---- | Represents the verification attributes of a single identity.------------ /See:/ 'identityVerificationAttributes' smart constructor.-data IdentityVerificationAttributes = IdentityVerificationAttributes'-    { _ivaVerificationToken  :: !(Maybe Text)-    , _ivaVerificationStatus :: !VerificationStatus-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'IdentityVerificationAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ivaVerificationToken' - The verification token for a domain identity. Null for email address identities.------ * 'ivaVerificationStatus' - The verification status of the identity: "Pending", "Success", "Failed", or "TemporaryFailure".-identityVerificationAttributes-    :: VerificationStatus -- ^ 'ivaVerificationStatus'-    -> IdentityVerificationAttributes-identityVerificationAttributes pVerificationStatus_ =-    IdentityVerificationAttributes'-    { _ivaVerificationToken = Nothing-    , _ivaVerificationStatus = pVerificationStatus_-    }---- | The verification token for a domain identity. Null for email address identities.-ivaVerificationToken :: Lens' IdentityVerificationAttributes (Maybe Text)-ivaVerificationToken = lens _ivaVerificationToken (\ s a -> s{_ivaVerificationToken = a});---- | The verification status of the identity: "Pending", "Success", "Failed", or "TemporaryFailure".-ivaVerificationStatus :: Lens' IdentityVerificationAttributes VerificationStatus-ivaVerificationStatus = lens _ivaVerificationStatus (\ s a -> s{_ivaVerificationStatus = a});--instance FromXML IdentityVerificationAttributes where-        parseXML x-          = IdentityVerificationAttributes' <$>-              (x .@? "VerificationToken") <*>-                (x .@ "VerificationStatus")--instance Hashable IdentityVerificationAttributes--instance NFData IdentityVerificationAttributes---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .--------- /See:/ 'kinesisFirehoseDestination' smart constructor.-data KinesisFirehoseDestination = KinesisFirehoseDestination'-    { _kfdIAMRoleARN        :: !Text-    , _kfdDeliveryStreamARN :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'KinesisFirehoseDestination' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'kfdIAMRoleARN' - The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.------ * 'kfdDeliveryStreamARN' - The ARN of the Amazon Kinesis Firehose stream to which to publish email sending events.-kinesisFirehoseDestination-    :: Text -- ^ 'kfdIAMRoleARN'-    -> Text -- ^ 'kfdDeliveryStreamARN'-    -> KinesisFirehoseDestination-kinesisFirehoseDestination pIAMRoleARN_ pDeliveryStreamARN_ =-    KinesisFirehoseDestination'-    { _kfdIAMRoleARN = pIAMRoleARN_-    , _kfdDeliveryStreamARN = pDeliveryStreamARN_-    }---- | The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.-kfdIAMRoleARN :: Lens' KinesisFirehoseDestination Text-kfdIAMRoleARN = lens _kfdIAMRoleARN (\ s a -> s{_kfdIAMRoleARN = a});---- | The ARN of the Amazon Kinesis Firehose stream to which to publish email sending events.-kfdDeliveryStreamARN :: Lens' KinesisFirehoseDestination Text-kfdDeliveryStreamARN = lens _kfdDeliveryStreamARN (\ s a -> s{_kfdDeliveryStreamARN = a});--instance FromXML KinesisFirehoseDestination where-        parseXML x-          = KinesisFirehoseDestination' <$>-              (x .@ "IAMRoleARN") <*> (x .@ "DeliveryStreamARN")--instance Hashable KinesisFirehoseDestination--instance NFData KinesisFirehoseDestination--instance ToQuery KinesisFirehoseDestination where-        toQuery KinesisFirehoseDestination'{..}-          = mconcat-              ["IAMRoleARN" =: _kfdIAMRoleARN,-               "DeliveryStreamARN" =: _kfdDeliveryStreamARN]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> .------ For information about using AWS Lambda actions in receipt rules, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda.html Amazon SES Developer Guide> .--------- /See:/ 'lambdaAction' smart constructor.-data LambdaAction = LambdaAction'-    { _laInvocationType :: !(Maybe InvocationType)-    , _laTopicARN       :: !(Maybe Text)-    , _laFunctionARN    :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'LambdaAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'laInvocationType' - The invocation type of the AWS Lambda function. An invocation type of @RequestResponse@ means that the execution of the function will immediately result in a response, and a value of @Event@ means that the function will be invoked asynchronously. The default value is @Event@ . For information about AWS Lambda invocation types, see the <http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html AWS Lambda Developer Guide> . /Important:/ There is a 30-second timeout on @RequestResponse@ invocations. You should use @Event@ invocation in most cases. Use @RequestResponse@ only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.------ * 'laTopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .------ * 'laFunctionARN' - The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is @arn:aws:lambda:us-west-2:account-id:function:MyFunction@ . For more information about AWS Lambda, see the <http://docs.aws.amazon.com/lambda/latest/dg/welcome.html AWS Lambda Developer Guide> .-lambdaAction-    :: Text -- ^ 'laFunctionARN'-    -> LambdaAction-lambdaAction pFunctionARN_ =-    LambdaAction'-    { _laInvocationType = Nothing-    , _laTopicARN = Nothing-    , _laFunctionARN = pFunctionARN_-    }---- | The invocation type of the AWS Lambda function. An invocation type of @RequestResponse@ means that the execution of the function will immediately result in a response, and a value of @Event@ means that the function will be invoked asynchronously. The default value is @Event@ . For information about AWS Lambda invocation types, see the <http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html AWS Lambda Developer Guide> . /Important:/ There is a 30-second timeout on @RequestResponse@ invocations. You should use @Event@ invocation in most cases. Use @RequestResponse@ 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)-laInvocationType = lens _laInvocationType (\ s a -> s{_laInvocationType = 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .-laTopicARN :: Lens' LambdaAction (Maybe Text)-laTopicARN = lens _laTopicARN (\ s a -> s{_laTopicARN = a});---- | The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is @arn:aws:lambda:us-west-2:account-id:function:MyFunction@ . For more information about AWS Lambda, see the <http://docs.aws.amazon.com/lambda/latest/dg/welcome.html AWS Lambda Developer Guide> .-laFunctionARN :: Lens' LambdaAction Text-laFunctionARN = lens _laFunctionARN (\ s a -> s{_laFunctionARN = a});--instance FromXML LambdaAction where-        parseXML x-          = LambdaAction' <$>-              (x .@? "InvocationType") <*> (x .@? "TopicArn") <*>-                (x .@ "FunctionArn")--instance Hashable LambdaAction--instance NFData LambdaAction--instance ToQuery LambdaAction where-        toQuery LambdaAction'{..}-          = mconcat-              ["InvocationType" =: _laInvocationType,-               "TopicArn" =: _laTopicARN,-               "FunctionArn" =: _laFunctionARN]---- | Represents the message to be sent, composed of a subject and a body.------------ /See:/ 'message' smart constructor.-data Message = Message'-    { _mSubject :: !Content-    , _mBody    :: !Body-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'Message' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mSubject' - The subject of the message: A short summary of the content, which will appear in the recipient's inbox.------ * 'mBody' - The message body.-message-    :: Content -- ^ 'mSubject'-    -> Body -- ^ 'mBody'-    -> Message-message pSubject_ pBody_ =-    Message'-    { _mSubject = pSubject_-    , _mBody = pBody_-    }---- | The subject of the message: A short summary of the content, which will appear in the recipient's inbox.-mSubject :: Lens' Message Content-mSubject = lens _mSubject (\ s a -> s{_mSubject = a});---- | The message body.-mBody :: Lens' Message Body-mBody = lens _mBody (\ s a -> s{_mBody = a});--instance Hashable Message--instance NFData Message--instance ToQuery Message where-        toQuery Message'{..}-          = mconcat ["Subject" =: _mSubject, "Body" =: _mBody]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html Amazon SES Developer Guide> .--------- /See:/ 'messageDsn' smart constructor.-data MessageDsn = MessageDsn'-    { _mdArrivalDate     :: !(Maybe ISO8601)-    , _mdExtensionFields :: !(Maybe [ExtensionField])-    , _mdReportingMta    :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'MessageDsn' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mdArrivalDate' - When the message was received by the reporting mail transfer agent (MTA), in <https://www.ietf.org/rfc/rfc0822.txt RFC 822> date-time format.------ * 'mdExtensionFields' - Additional X-headers to include in the DSN.------ * 'mdReportingMta' - The reporting MTA that attempted to deliver the message, formatted as specified in <https://tools.ietf.org/html/rfc3464 RFC 3464> (@mta-name-type; mta-name@ ). The default value is @dns; inbound-smtp.[region].amazonaws.com@ .-messageDsn-    :: Text -- ^ 'mdReportingMta'-    -> MessageDsn-messageDsn pReportingMta_ =-    MessageDsn'-    { _mdArrivalDate = Nothing-    , _mdExtensionFields = Nothing-    , _mdReportingMta = pReportingMta_-    }---- | When the message was received by the reporting mail transfer agent (MTA), in <https://www.ietf.org/rfc/rfc0822.txt RFC 822> date-time format.-mdArrivalDate :: Lens' MessageDsn (Maybe UTCTime)-mdArrivalDate = lens _mdArrivalDate (\ s a -> s{_mdArrivalDate = a}) . mapping _Time;---- | Additional X-headers to include in the DSN.-mdExtensionFields :: Lens' MessageDsn [ExtensionField]-mdExtensionFields = lens _mdExtensionFields (\ s a -> s{_mdExtensionFields = a}) . _Default . _Coerce;---- | The reporting MTA that attempted to deliver the message, formatted as specified in <https://tools.ietf.org/html/rfc3464 RFC 3464> (@mta-name-type; mta-name@ ). The default value is @dns; inbound-smtp.[region].amazonaws.com@ .-mdReportingMta :: Lens' MessageDsn Text-mdReportingMta = lens _mdReportingMta (\ s a -> s{_mdReportingMta = a});--instance Hashable MessageDsn--instance NFData MessageDsn--instance ToQuery MessageDsn where-        toQuery MessageDsn'{..}-          = mconcat-              ["ArrivalDate" =: _mdArrivalDate,-               "ExtensionFields" =:-                 toQuery-                   (toQueryList "member" <$> _mdExtensionFields),-               "ReportingMta" =: _mdReportingMta]---- | Contains the name and value of a tag that you can provide to @SendEmail@ or @SendRawEmail@ 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .--------- /See:/ 'messageTag' smart constructor.-data MessageTag = MessageTag'-    { _mtName  :: !Text-    , _mtValue :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'MessageTag' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mtName' - 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.------ * 'mtValue' - 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.-messageTag-    :: Text -- ^ 'mtName'-    -> Text -- ^ 'mtValue'-    -> MessageTag-messageTag pName_ pValue_ =-    MessageTag'-    { _mtName = pName_-    , _mtValue = pValue_-    }---- | 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-mtName = lens _mtName (\ s a -> s{_mtName = 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.-mtValue :: Lens' MessageTag Text-mtValue = lens _mtValue (\ s a -> s{_mtValue = a});--instance Hashable MessageTag--instance NFData MessageTag--instance ToQuery MessageTag where-        toQuery MessageTag'{..}-          = mconcat ["Name" =: _mtName, "Value" =: _mtValue]---- | Represents the raw data of the message.------------ /See:/ 'rawMessage' smart constructor.-newtype RawMessage = RawMessage'-    { _rmData :: Base64-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'RawMessage' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rmData' - 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 @SendRawEmail@ with sending authorization, you can include X-headers in the raw message to specify the "Source," "From," and "Return-Path" addresses. For more information, see the documentation for @SendRawEmail@ .  /Important:/ 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html Amazon SES Developer Guide> . -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data.-rawMessage-    :: ByteString -- ^ 'rmData'-    -> RawMessage-rawMessage pData_ =-    RawMessage'-    { _rmData = _Base64 # pData_-    }---- | 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 @SendRawEmail@ with sending authorization, you can include X-headers in the raw message to specify the "Source," "From," and "Return-Path" addresses. For more information, see the documentation for @SendRawEmail@ .  /Important:/ 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html Amazon SES Developer Guide> . -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data.-rmData :: Lens' RawMessage ByteString-rmData = lens _rmData (\ s a -> s{_rmData = a}) . _Base64;--instance Hashable RawMessage--instance NFData RawMessage--instance ToQuery RawMessage where-        toQuery RawMessage'{..} = mconcat ["Data" =: _rmData]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html Amazon SES Developer Guide> .--------- /See:/ 'receiptAction' smart constructor.-data ReceiptAction = ReceiptAction'-    { _raAddHeaderAction :: !(Maybe AddHeaderAction)-    , _raSNSAction       :: !(Maybe SNSAction)-    , _raWorkmailAction  :: !(Maybe WorkmailAction)-    , _raBounceAction    :: !(Maybe BounceAction)-    , _raLambdaAction    :: !(Maybe LambdaAction)-    , _raStopAction      :: !(Maybe StopAction)-    , _raS3Action        :: !(Maybe S3Action)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ReceiptAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'raAddHeaderAction' - Adds a header to the received email.------ * 'raSNSAction' - Publishes the email content within a notification to Amazon SNS.------ * 'raWorkmailAction' - Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.------ * 'raBounceAction' - Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).------ * 'raLambdaAction' - Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.------ * 'raStopAction' - Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.------ * 'raS3Action' - Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.-receiptAction-    :: ReceiptAction-receiptAction =-    ReceiptAction'-    { _raAddHeaderAction = Nothing-    , _raSNSAction = Nothing-    , _raWorkmailAction = Nothing-    , _raBounceAction = Nothing-    , _raLambdaAction = Nothing-    , _raStopAction = Nothing-    , _raS3Action = Nothing-    }---- | Adds a header to the received email.-raAddHeaderAction :: Lens' ReceiptAction (Maybe AddHeaderAction)-raAddHeaderAction = lens _raAddHeaderAction (\ s a -> s{_raAddHeaderAction = a});---- | Publishes the email content within a notification to Amazon SNS.-raSNSAction :: Lens' ReceiptAction (Maybe SNSAction)-raSNSAction = lens _raSNSAction (\ s a -> s{_raSNSAction = a});---- | Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.-raWorkmailAction :: Lens' ReceiptAction (Maybe WorkmailAction)-raWorkmailAction = lens _raWorkmailAction (\ s a -> s{_raWorkmailAction = 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).-raBounceAction :: Lens' ReceiptAction (Maybe BounceAction)-raBounceAction = lens _raBounceAction (\ s a -> s{_raBounceAction = a});---- | Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.-raLambdaAction :: Lens' ReceiptAction (Maybe LambdaAction)-raLambdaAction = lens _raLambdaAction (\ s a -> s{_raLambdaAction = a});---- | Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.-raStopAction :: Lens' ReceiptAction (Maybe StopAction)-raStopAction = lens _raStopAction (\ s a -> s{_raStopAction = a});---- | 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)-raS3Action = lens _raS3Action (\ s a -> s{_raS3Action = a});--instance FromXML ReceiptAction where-        parseXML x-          = ReceiptAction' <$>-              (x .@? "AddHeaderAction") <*> (x .@? "SNSAction") <*>-                (x .@? "WorkmailAction")-                <*> (x .@? "BounceAction")-                <*> (x .@? "LambdaAction")-                <*> (x .@? "StopAction")-                <*> (x .@? "S3Action")--instance Hashable ReceiptAction--instance NFData ReceiptAction--instance ToQuery ReceiptAction where-        toQuery ReceiptAction'{..}-          = mconcat-              ["AddHeaderAction" =: _raAddHeaderAction,-               "SNSAction" =: _raSNSAction,-               "WorkmailAction" =: _raWorkmailAction,-               "BounceAction" =: _raBounceAction,-               "LambdaAction" =: _raLambdaAction,-               "StopAction" =: _raStopAction,-               "S3Action" =: _raS3Action]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html Amazon SES Developer Guide> .--------- /See:/ 'receiptFilter' smart constructor.-data ReceiptFilter = ReceiptFilter'-    { _rfName     :: !Text-    , _rfIPFilter :: !ReceiptIPFilter-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ReceiptFilter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rfName' - 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.------ * 'rfIPFilter' - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.-receiptFilter-    :: Text -- ^ 'rfName'-    -> ReceiptIPFilter -- ^ 'rfIPFilter'-    -> ReceiptFilter-receiptFilter pName_ pIPFilter_ =-    ReceiptFilter'-    { _rfName = pName_-    , _rfIPFilter = pIPFilter_-    }---- | 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-rfName = lens _rfName (\ s a -> s{_rfName = a});---- | 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-rfIPFilter = lens _rfIPFilter (\ s a -> s{_rfIPFilter = a});--instance FromXML ReceiptFilter where-        parseXML x-          = ReceiptFilter' <$>-              (x .@ "Name") <*> (x .@ "IpFilter")--instance Hashable ReceiptFilter--instance NFData ReceiptFilter--instance ToQuery ReceiptFilter where-        toQuery ReceiptFilter'{..}-          = mconcat-              ["Name" =: _rfName, "IpFilter" =: _rfIPFilter]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html Amazon SES Developer Guide> .--------- /See:/ 'receiptIPFilter' smart constructor.-data ReceiptIPFilter = ReceiptIPFilter'-    { _rifPolicy :: !ReceiptFilterPolicy-    , _rifCidr   :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ReceiptIPFilter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rifPolicy' - Indicates whether to block or allow incoming mail from the specified IP addresses.------ * 'rifCidr' - 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/24. For more information about CIDR notation, see <https://tools.ietf.org/html/rfc2317 RFC 2317> .-receiptIPFilter-    :: ReceiptFilterPolicy -- ^ 'rifPolicy'-    -> Text -- ^ 'rifCidr'-    -> ReceiptIPFilter-receiptIPFilter pPolicy_ pCidr_ =-    ReceiptIPFilter'-    { _rifPolicy = pPolicy_-    , _rifCidr = pCidr_-    }---- | Indicates whether to block or allow incoming mail from the specified IP addresses.-rifPolicy :: Lens' ReceiptIPFilter ReceiptFilterPolicy-rifPolicy = lens _rifPolicy (\ s a -> s{_rifPolicy = 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/24. For more information about CIDR notation, see <https://tools.ietf.org/html/rfc2317 RFC 2317> .-rifCidr :: Lens' ReceiptIPFilter Text-rifCidr = lens _rifCidr (\ s a -> s{_rifCidr = a});--instance FromXML ReceiptIPFilter where-        parseXML x-          = ReceiptIPFilter' <$>-              (x .@ "Policy") <*> (x .@ "Cidr")--instance Hashable ReceiptIPFilter--instance NFData ReceiptIPFilter--instance ToQuery ReceiptIPFilter where-        toQuery ReceiptIPFilter'{..}-          = mconcat-              ["Policy" =: _rifPolicy, "Cidr" =: _rifCidr]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html Amazon SES Developer Guide> .--------- /See:/ 'receiptRule' smart constructor.-data ReceiptRule = ReceiptRule'-    { _rrScanEnabled :: !(Maybe Bool)-    , _rrEnabled     :: !(Maybe Bool)-    , _rrActions     :: !(Maybe [ReceiptAction])-    , _rrRecipients  :: !(Maybe [Text])-    , _rrTLSPolicy   :: !(Maybe TLSPolicy)-    , _rrName        :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ReceiptRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rrScanEnabled' - If @true@ , then messages to which this receipt rule applies are scanned for spam and viruses. The default value is @false@ .------ * 'rrEnabled' - If @true@ , the receipt rule is active. The default value is @false@ .------ * 'rrActions' - 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.------ * 'rrRecipients' - 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.------ * 'rrTLSPolicy' - 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 @Require@ , Amazon SES will bounce emails that are not received over TLS. The default is @Optional@ .------ * 'rrName' - 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.-receiptRule-    :: Text -- ^ 'rrName'-    -> ReceiptRule-receiptRule pName_ =-    ReceiptRule'-    { _rrScanEnabled = Nothing-    , _rrEnabled = Nothing-    , _rrActions = Nothing-    , _rrRecipients = Nothing-    , _rrTLSPolicy = Nothing-    , _rrName = pName_-    }---- | If @true@ , then messages to which this receipt rule applies are scanned for spam and viruses. The default value is @false@ .-rrScanEnabled :: Lens' ReceiptRule (Maybe Bool)-rrScanEnabled = lens _rrScanEnabled (\ s a -> s{_rrScanEnabled = a});---- | If @true@ , the receipt rule is active. The default value is @false@ .-rrEnabled :: Lens' ReceiptRule (Maybe Bool)-rrEnabled = lens _rrEnabled (\ s a -> s{_rrEnabled = 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.-rrActions :: Lens' ReceiptRule [ReceiptAction]-rrActions = lens _rrActions (\ s a -> s{_rrActions = a}) . _Default . _Coerce;---- | 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]-rrRecipients = lens _rrRecipients (\ s a -> s{_rrRecipients = a}) . _Default . _Coerce;---- | 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 @Require@ , Amazon SES will bounce emails that are not received over TLS. The default is @Optional@ .-rrTLSPolicy :: Lens' ReceiptRule (Maybe TLSPolicy)-rrTLSPolicy = lens _rrTLSPolicy (\ s a -> s{_rrTLSPolicy = 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.-rrName :: Lens' ReceiptRule Text-rrName = lens _rrName (\ s a -> s{_rrName = a});--instance FromXML ReceiptRule where-        parseXML x-          = ReceiptRule' <$>-              (x .@? "ScanEnabled") <*> (x .@? "Enabled") <*>-                (x .@? "Actions" .!@ mempty >>=-                   may (parseXMLList "member"))-                <*>-                (x .@? "Recipients" .!@ mempty >>=-                   may (parseXMLList "member"))-                <*> (x .@? "TlsPolicy")-                <*> (x .@ "Name")--instance Hashable ReceiptRule--instance NFData ReceiptRule--instance ToQuery ReceiptRule where-        toQuery ReceiptRule'{..}-          = mconcat-              ["ScanEnabled" =: _rrScanEnabled,-               "Enabled" =: _rrEnabled,-               "Actions" =:-                 toQuery (toQueryList "member" <$> _rrActions),-               "Recipients" =:-                 toQuery (toQueryList "member" <$> _rrRecipients),-               "TlsPolicy" =: _rrTLSPolicy, "Name" =: _rrName]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html Amazon SES Developer Guide> .--------- /See:/ 'receiptRuleSetMetadata' smart constructor.-data ReceiptRuleSetMetadata = ReceiptRuleSetMetadata'-    { _rrsmName             :: !(Maybe Text)-    , _rrsmCreatedTimestamp :: !(Maybe ISO8601)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ReceiptRuleSetMetadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rrsmName' - 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.------ * 'rrsmCreatedTimestamp' - The date and time the receipt rule set was created.-receiptRuleSetMetadata-    :: ReceiptRuleSetMetadata-receiptRuleSetMetadata =-    ReceiptRuleSetMetadata'-    { _rrsmName = Nothing-    , _rrsmCreatedTimestamp = Nothing-    }---- | 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)-rrsmName = lens _rrsmName (\ s a -> s{_rrsmName = a});---- | The date and time the receipt rule set was created.-rrsmCreatedTimestamp :: Lens' ReceiptRuleSetMetadata (Maybe UTCTime)-rrsmCreatedTimestamp = lens _rrsmCreatedTimestamp (\ s a -> s{_rrsmCreatedTimestamp = a}) . mapping _Time;--instance FromXML ReceiptRuleSetMetadata where-        parseXML x-          = ReceiptRuleSetMetadata' <$>-              (x .@? "Name") <*> (x .@? "CreatedTimestamp")--instance Hashable ReceiptRuleSetMetadata--instance NFData ReceiptRuleSetMetadata---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html Amazon SES Developer Guide> .--------- /See:/ 'recipientDsnFields' smart constructor.-data RecipientDsnFields = RecipientDsnFields'-    { _rdfDiagnosticCode  :: !(Maybe Text)-    , _rdfRemoteMta       :: !(Maybe Text)-    , _rdfFinalRecipient  :: !(Maybe Text)-    , _rdfExtensionFields :: !(Maybe [ExtensionField])-    , _rdfLastAttemptDate :: !(Maybe ISO8601)-    , _rdfAction          :: !DsnAction-    , _rdfStatus          :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'RecipientDsnFields' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rdfDiagnosticCode' - An extended explanation of what went wrong; this is usually an SMTP response. See <https://tools.ietf.org/html/rfc3463 RFC 3463> for the correct formatting of this parameter.------ * 'rdfRemoteMta' - The MTA to which the remote MTA attempted to deliver the message, formatted as specified in <https://tools.ietf.org/html/rfc3464 RFC 3464> (@mta-name-type; mta-name@ ). This parameter typically applies only to propagating synchronous bounces.------ * 'rdfFinalRecipient' - The email address to which the message was ultimately delivered. This corresponds to the @Final-Recipient@ in the DSN. If not specified, @FinalRecipient@ will be set to the @Recipient@ specified in the @BouncedRecipientInfo@ structure. Either @FinalRecipient@ or the recipient in @BouncedRecipientInfo@ must be a recipient of the original bounced message.------ * 'rdfExtensionFields' - Additional X-headers to include in the DSN.------ * 'rdfLastAttemptDate' - The time the final delivery attempt was made, in <https://www.ietf.org/rfc/rfc0822.txt RFC 822> date-time format.------ * 'rdfAction' - 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 <https://tools.ietf.org/html/rfc3464 RFC 3464> .------ * 'rdfStatus' - The status code that indicates what went wrong. This is required by <https://tools.ietf.org/html/rfc3464 RFC 3464> .-recipientDsnFields-    :: DsnAction -- ^ 'rdfAction'-    -> Text -- ^ 'rdfStatus'-    -> RecipientDsnFields-recipientDsnFields pAction_ pStatus_ =-    RecipientDsnFields'-    { _rdfDiagnosticCode = Nothing-    , _rdfRemoteMta = Nothing-    , _rdfFinalRecipient = Nothing-    , _rdfExtensionFields = Nothing-    , _rdfLastAttemptDate = Nothing-    , _rdfAction = pAction_-    , _rdfStatus = pStatus_-    }---- | An extended explanation of what went wrong; this is usually an SMTP response. See <https://tools.ietf.org/html/rfc3463 RFC 3463> for the correct formatting of this parameter.-rdfDiagnosticCode :: Lens' RecipientDsnFields (Maybe Text)-rdfDiagnosticCode = lens _rdfDiagnosticCode (\ s a -> s{_rdfDiagnosticCode = a});---- | The MTA to which the remote MTA attempted to deliver the message, formatted as specified in <https://tools.ietf.org/html/rfc3464 RFC 3464> (@mta-name-type; mta-name@ ). This parameter typically applies only to propagating synchronous bounces.-rdfRemoteMta :: Lens' RecipientDsnFields (Maybe Text)-rdfRemoteMta = lens _rdfRemoteMta (\ s a -> s{_rdfRemoteMta = a});---- | The email address to which the message was ultimately delivered. This corresponds to the @Final-Recipient@ in the DSN. If not specified, @FinalRecipient@ will be set to the @Recipient@ specified in the @BouncedRecipientInfo@ structure. Either @FinalRecipient@ or the recipient in @BouncedRecipientInfo@ must be a recipient of the original bounced message.-rdfFinalRecipient :: Lens' RecipientDsnFields (Maybe Text)-rdfFinalRecipient = lens _rdfFinalRecipient (\ s a -> s{_rdfFinalRecipient = a});---- | Additional X-headers to include in the DSN.-rdfExtensionFields :: Lens' RecipientDsnFields [ExtensionField]-rdfExtensionFields = lens _rdfExtensionFields (\ s a -> s{_rdfExtensionFields = a}) . _Default . _Coerce;---- | The time the final delivery attempt was made, in <https://www.ietf.org/rfc/rfc0822.txt RFC 822> date-time format.-rdfLastAttemptDate :: Lens' RecipientDsnFields (Maybe UTCTime)-rdfLastAttemptDate = lens _rdfLastAttemptDate (\ s a -> s{_rdfLastAttemptDate = a}) . mapping _Time;---- | 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 <https://tools.ietf.org/html/rfc3464 RFC 3464> .-rdfAction :: Lens' RecipientDsnFields DsnAction-rdfAction = lens _rdfAction (\ s a -> s{_rdfAction = a});---- | The status code that indicates what went wrong. This is required by <https://tools.ietf.org/html/rfc3464 RFC 3464> .-rdfStatus :: Lens' RecipientDsnFields Text-rdfStatus = lens _rdfStatus (\ s a -> s{_rdfStatus = a});--instance Hashable RecipientDsnFields--instance NFData RecipientDsnFields--instance ToQuery RecipientDsnFields where-        toQuery RecipientDsnFields'{..}-          = mconcat-              ["DiagnosticCode" =: _rdfDiagnosticCode,-               "RemoteMta" =: _rdfRemoteMta,-               "FinalRecipient" =: _rdfFinalRecipient,-               "ExtensionFields" =:-                 toQuery-                   (toQueryList "member" <$> _rdfExtensionFields),-               "LastAttemptDate" =: _rdfLastAttemptDate,-               "Action" =: _rdfAction, "Status" =: _rdfStatus]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> .------ For information about specifying Amazon S3 actions in receipt rules, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-s3.html Amazon SES Developer Guide> .--------- /See:/ 's3Action' smart constructor.-data S3Action = S3Action'-    { _s3KMSKeyARN       :: !(Maybe Text)-    , _s3TopicARN        :: !(Maybe Text)-    , _s3ObjectKeyPrefix :: !(Maybe Text)-    , _s3BucketName      :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'S3Action' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 's3KMSKeyARN' - 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 @arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses@ . 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 @arn:aws:kms:us-west-2:123456789012:alias/aws/ses@ . 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> . For more information about key policies, see the <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html AWS KMS Developer Guide> . If you do not specify a master key, Amazon SES will not encrypt your emails. /Important:/ 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 <http://aws.amazon.com/sdk-for-java/ AWS Java SDK> and <http://aws.amazon.com/sdk-for-ruby/ AWS Ruby SDK> only. For more information about client-side encryption using AWS KMS master keys, see the <http://alpha-docs-aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html Amazon S3 Developer Guide> .------ * 's3TopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .------ * 's3ObjectKeyPrefix' - 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.------ * 's3BucketName' - The name of the Amazon S3 bucket to which to save the received email.-s3Action-    :: Text -- ^ 's3BucketName'-    -> S3Action-s3Action pBucketName_ =-    S3Action'-    { _s3KMSKeyARN = Nothing-    , _s3TopicARN = Nothing-    , _s3ObjectKeyPrefix = Nothing-    , _s3BucketName = pBucketName_-    }---- | 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 @arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses@ . 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 @arn:aws:kms:us-west-2:123456789012:alias/aws/ses@ . 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> . For more information about key policies, see the <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html AWS KMS Developer Guide> . If you do not specify a master key, Amazon SES will not encrypt your emails. /Important:/ 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 <http://aws.amazon.com/sdk-for-java/ AWS Java SDK> and <http://aws.amazon.com/sdk-for-ruby/ AWS Ruby SDK> only. For more information about client-side encryption using AWS KMS master keys, see the <http://alpha-docs-aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html Amazon S3 Developer Guide> .-s3KMSKeyARN :: Lens' S3Action (Maybe Text)-s3KMSKeyARN = lens _s3KMSKeyARN (\ s a -> s{_s3KMSKeyARN = 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .-s3TopicARN :: Lens' S3Action (Maybe Text)-s3TopicARN = lens _s3TopicARN (\ s a -> s{_s3TopicARN = 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.-s3ObjectKeyPrefix :: Lens' S3Action (Maybe Text)-s3ObjectKeyPrefix = lens _s3ObjectKeyPrefix (\ s a -> s{_s3ObjectKeyPrefix = a});---- | The name of the Amazon S3 bucket to which to save the received email.-s3BucketName :: Lens' S3Action Text-s3BucketName = lens _s3BucketName (\ s a -> s{_s3BucketName = a});--instance FromXML S3Action where-        parseXML x-          = S3Action' <$>-              (x .@? "KmsKeyArn") <*> (x .@? "TopicArn") <*>-                (x .@? "ObjectKeyPrefix")-                <*> (x .@ "BucketName")--instance Hashable S3Action--instance NFData S3Action--instance ToQuery S3Action where-        toQuery S3Action'{..}-          = mconcat-              ["KmsKeyArn" =: _s3KMSKeyARN,-               "TopicArn" =: _s3TopicARN,-               "ObjectKeyPrefix" =: _s3ObjectKeyPrefix,-               "BucketName" =: _s3BucketName]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> .------ /Important:/ 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-sns.html Amazon SES Developer Guide> .--------- /See:/ 'snsAction' smart constructor.-data SNSAction = SNSAction'-    { _saEncoding :: !(Maybe SNSActionEncoding)-    , _saTopicARN :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SNSAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'saEncoding' - 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.------ * 'saTopicARN' - The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .-snsAction-    :: Text -- ^ 'saTopicARN'-    -> SNSAction-snsAction pTopicARN_ =-    SNSAction'-    { _saEncoding = Nothing-    , _saTopicARN = pTopicARN_-    }---- | 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)-saEncoding = lens _saEncoding (\ s a -> s{_saEncoding = a});---- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .-saTopicARN :: Lens' SNSAction Text-saTopicARN = lens _saTopicARN (\ s a -> s{_saTopicARN = a});--instance FromXML SNSAction where-        parseXML x-          = SNSAction' <$>-              (x .@? "Encoding") <*> (x .@ "TopicArn")--instance Hashable SNSAction--instance NFData SNSAction--instance ToQuery SNSAction where-        toQuery SNSAction'{..}-          = mconcat-              ["Encoding" =: _saEncoding,-               "TopicArn" =: _saTopicARN]---- | Represents sending statistics data. Each @SendDataPoint@ contains statistics for a 15-minute period of sending activity.------------ /See:/ 'sendDataPoint' smart constructor.-data SendDataPoint = SendDataPoint'-    { _sdpRejects          :: !(Maybe Integer)-    , _sdpComplaints       :: !(Maybe Integer)-    , _sdpDeliveryAttempts :: !(Maybe Integer)-    , _sdpBounces          :: !(Maybe Integer)-    , _sdpTimestamp        :: !(Maybe ISO8601)-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'SendDataPoint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sdpRejects' - Number of emails rejected by Amazon SES.------ * 'sdpComplaints' - Number of unwanted emails that were rejected by recipients.------ * 'sdpDeliveryAttempts' - Number of emails that have been sent.------ * 'sdpBounces' - Number of emails that have bounced.------ * 'sdpTimestamp' - Time of the data point.-sendDataPoint-    :: SendDataPoint-sendDataPoint =-    SendDataPoint'-    { _sdpRejects = Nothing-    , _sdpComplaints = Nothing-    , _sdpDeliveryAttempts = Nothing-    , _sdpBounces = Nothing-    , _sdpTimestamp = Nothing-    }---- | Number of emails rejected by Amazon SES.-sdpRejects :: Lens' SendDataPoint (Maybe Integer)-sdpRejects = lens _sdpRejects (\ s a -> s{_sdpRejects = a});---- | Number of unwanted emails that were rejected by recipients.-sdpComplaints :: Lens' SendDataPoint (Maybe Integer)-sdpComplaints = lens _sdpComplaints (\ s a -> s{_sdpComplaints = a});---- | Number of emails that have been sent.-sdpDeliveryAttempts :: Lens' SendDataPoint (Maybe Integer)-sdpDeliveryAttempts = lens _sdpDeliveryAttempts (\ s a -> s{_sdpDeliveryAttempts = a});---- | Number of emails that have bounced.-sdpBounces :: Lens' SendDataPoint (Maybe Integer)-sdpBounces = lens _sdpBounces (\ s a -> s{_sdpBounces = a});---- | Time of the data point.-sdpTimestamp :: Lens' SendDataPoint (Maybe UTCTime)-sdpTimestamp = lens _sdpTimestamp (\ s a -> s{_sdpTimestamp = a}) . mapping _Time;--instance FromXML SendDataPoint where-        parseXML x-          = SendDataPoint' <$>-              (x .@? "Rejects") <*> (x .@? "Complaints") <*>-                (x .@? "DeliveryAttempts")-                <*> (x .@? "Bounces")-                <*> (x .@? "Timestamp")--instance Hashable SendDataPoint--instance NFData SendDataPoint---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-stop.html Amazon SES Developer Guide> .--------- /See:/ 'stopAction' smart constructor.-data StopAction = StopAction'-    { _sTopicARN :: !(Maybe Text)-    , _sScope    :: !StopScope-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'StopAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sTopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .------ * 'sScope' - The scope to which the Stop action applies. That is, what is being stopped.-stopAction-    :: StopScope -- ^ 'sScope'-    -> StopAction-stopAction pScope_ =-    StopAction'-    { _sTopicARN = Nothing-    , _sScope = pScope_-    }---- | 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .-sTopicARN :: Lens' StopAction (Maybe Text)-sTopicARN = lens _sTopicARN (\ s a -> s{_sTopicARN = a});---- | The scope to which the Stop action applies. That is, what is being stopped.-sScope :: Lens' StopAction StopScope-sScope = lens _sScope (\ s a -> s{_sScope = a});--instance FromXML StopAction where-        parseXML x-          = StopAction' <$>-              (x .@? "TopicArn") <*> (x .@ "Scope")--instance Hashable StopAction--instance NFData StopAction--instance ToQuery StopAction where-        toQuery StopAction'{..}-          = mconcat-              ["TopicArn" =: _sTopicARN, "Scope" =: _sScope]---- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-workmail.html Amazon SES Developer Guide> .--------- /See:/ 'workmailAction' smart constructor.-data WorkmailAction = WorkmailAction'-    { _waTopicARN        :: !(Maybe Text)-    , _waOrganizationARN :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'WorkmailAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'waTopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .------ * 'waOrganizationARN' - The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is @arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7@ . For information about Amazon WorkMail organizations, see the <http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html Amazon WorkMail Administrator Guide> .-workmailAction-    :: Text -- ^ 'waOrganizationARN'-    -> WorkmailAction-workmailAction pOrganizationARN_ =-    WorkmailAction'-    { _waTopicARN = Nothing-    , _waOrganizationARN = pOrganizationARN_-    }---- | 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .-waTopicARN :: Lens' WorkmailAction (Maybe Text)-waTopicARN = lens _waTopicARN (\ s a -> s{_waTopicARN = a});---- | The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is @arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7@ . For information about Amazon WorkMail organizations, see the <http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html Amazon WorkMail Administrator Guide> .-waOrganizationARN :: Lens' WorkmailAction Text-waOrganizationARN = lens _waOrganizationARN (\ s a -> s{_waOrganizationARN = a});--instance FromXML WorkmailAction where-        parseXML x-          = WorkmailAction' <$>-              (x .@? "TopicArn") <*> (x .@ "OrganizationArn")--instance Hashable WorkmailAction--instance NFData WorkmailAction+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+module Network.AWS.SES.Types.Product where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.SES.Types.Sum++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-add-header.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'addHeaderAction' smart constructor.+data AddHeaderAction = AddHeaderAction'+  { _ahaHeaderName  :: !Text+  , _ahaHeaderValue :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AddHeaderAction' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ahaHeaderName' - 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.+--+-- * 'ahaHeaderValue' - Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").+addHeaderAction+    :: Text -- ^ 'ahaHeaderName'+    -> Text -- ^ 'ahaHeaderValue'+    -> AddHeaderAction+addHeaderAction pHeaderName_ pHeaderValue_ =+  AddHeaderAction'+  {_ahaHeaderName = pHeaderName_, _ahaHeaderValue = pHeaderValue_}+++-- | 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+ahaHeaderName = lens _ahaHeaderName (\ s a -> s{_ahaHeaderName = a});++-- | Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").+ahaHeaderValue :: Lens' AddHeaderAction Text+ahaHeaderValue = lens _ahaHeaderValue (\ s a -> s{_ahaHeaderValue = a});++instance FromXML AddHeaderAction where+        parseXML x+          = AddHeaderAction' <$>+              (x .@ "HeaderName") <*> (x .@ "HeaderValue")++instance Hashable AddHeaderAction where++instance NFData AddHeaderAction where++instance ToQuery AddHeaderAction where+        toQuery AddHeaderAction'{..}+          = mconcat+              ["HeaderName" =: _ahaHeaderName,+               "HeaderValue" =: _ahaHeaderValue]++-- | 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.+--+--+--+-- /See:/ 'body' smart constructor.+data Body = Body'+  { _bText :: !(Maybe Content)+  , _bHTML :: !(Maybe Content)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'Body' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'bText' - 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).+--+-- * 'bHTML' - 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.+body+    :: Body+body = Body' {_bText = Nothing, _bHTML = Nothing}+++-- | 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)+bText = lens _bText (\ s a -> s{_bText = 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.+bHTML :: Lens' Body (Maybe Content)+bHTML = lens _bHTML (\ s a -> s{_bHTML = a});++instance Hashable Body where++instance NFData Body where++instance ToQuery Body where+        toQuery Body'{..}+          = mconcat ["Text" =: _bText, "Html" =: _bHTML]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-bounce.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'bounceAction' smart constructor.+data BounceAction = BounceAction'+  { _baTopicARN      :: !(Maybe Text)+  , _baStatusCode    :: !(Maybe Text)+  , _baSmtpReplyCode :: !Text+  , _baMessage       :: !Text+  , _baSender        :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'BounceAction' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'baTopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+--+-- * 'baStatusCode' - The SMTP enhanced status code, as defined by <https://tools.ietf.org/html/rfc3463 RFC 3463> .+--+-- * 'baSmtpReplyCode' - The SMTP reply code, as defined by <https://tools.ietf.org/html/rfc5321 RFC 5321> .+--+-- * 'baMessage' - Human-readable text to include in the bounce message.+--+-- * 'baSender' - The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.+bounceAction+    :: Text -- ^ 'baSmtpReplyCode'+    -> Text -- ^ 'baMessage'+    -> Text -- ^ 'baSender'+    -> BounceAction+bounceAction pSmtpReplyCode_ pMessage_ pSender_ =+  BounceAction'+  { _baTopicARN = Nothing+  , _baStatusCode = Nothing+  , _baSmtpReplyCode = pSmtpReplyCode_+  , _baMessage = pMessage_+  , _baSender = pSender_+  }+++-- | 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+baTopicARN :: Lens' BounceAction (Maybe Text)+baTopicARN = lens _baTopicARN (\ s a -> s{_baTopicARN = a});++-- | The SMTP enhanced status code, as defined by <https://tools.ietf.org/html/rfc3463 RFC 3463> .+baStatusCode :: Lens' BounceAction (Maybe Text)+baStatusCode = lens _baStatusCode (\ s a -> s{_baStatusCode = a});++-- | The SMTP reply code, as defined by <https://tools.ietf.org/html/rfc5321 RFC 5321> .+baSmtpReplyCode :: Lens' BounceAction Text+baSmtpReplyCode = lens _baSmtpReplyCode (\ s a -> s{_baSmtpReplyCode = a});++-- | Human-readable text to include in the bounce message.+baMessage :: Lens' BounceAction Text+baMessage = lens _baMessage (\ s a -> s{_baMessage = a});++-- | 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+baSender = lens _baSender (\ s a -> s{_baSender = a});++instance FromXML BounceAction where+        parseXML x+          = BounceAction' <$>+              (x .@? "TopicArn") <*> (x .@? "StatusCode") <*>+                (x .@ "SmtpReplyCode")+                <*> (x .@ "Message")+                <*> (x .@ "Sender")++instance Hashable BounceAction where++instance NFData BounceAction where++instance ToQuery BounceAction where+        toQuery BounceAction'{..}+          = mconcat+              ["TopicArn" =: _baTopicARN,+               "StatusCode" =: _baStatusCode,+               "SmtpReplyCode" =: _baSmtpReplyCode,+               "Message" =: _baMessage, "Sender" =: _baSender]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'bouncedRecipientInfo' smart constructor.+data BouncedRecipientInfo = BouncedRecipientInfo'+  { _briBounceType         :: !(Maybe BounceType)+  , _briRecipientDsnFields :: !(Maybe RecipientDsnFields)+  , _briRecipientARN       :: !(Maybe Text)+  , _briRecipient          :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'BouncedRecipientInfo' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'briBounceType' - The reason for the bounce. You must provide either this parameter or @RecipientDsnFields@ .+--+-- * 'briRecipientDsnFields' - Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a @BounceType@ . You must provide either this parameter or @BounceType@ .+--+-- * 'briRecipientARN' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+--+-- * 'briRecipient' - The email address of the recipient of the bounced email.+bouncedRecipientInfo+    :: Text -- ^ 'briRecipient'+    -> BouncedRecipientInfo+bouncedRecipientInfo pRecipient_ =+  BouncedRecipientInfo'+  { _briBounceType = Nothing+  , _briRecipientDsnFields = Nothing+  , _briRecipientARN = Nothing+  , _briRecipient = pRecipient_+  }+++-- | The reason for the bounce. You must provide either this parameter or @RecipientDsnFields@ .+briBounceType :: Lens' BouncedRecipientInfo (Maybe BounceType)+briBounceType = lens _briBounceType (\ s a -> s{_briBounceType = a});++-- | Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a @BounceType@ . You must provide either this parameter or @BounceType@ .+briRecipientDsnFields :: Lens' BouncedRecipientInfo (Maybe RecipientDsnFields)+briRecipientDsnFields = lens _briRecipientDsnFields (\ s a -> s{_briRecipientDsnFields = 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html Amazon SES Developer Guide> .+briRecipientARN :: Lens' BouncedRecipientInfo (Maybe Text)+briRecipientARN = lens _briRecipientARN (\ s a -> s{_briRecipientARN = a});++-- | The email address of the recipient of the bounced email.+briRecipient :: Lens' BouncedRecipientInfo Text+briRecipient = lens _briRecipient (\ s a -> s{_briRecipient = a});++instance Hashable BouncedRecipientInfo where++instance NFData BouncedRecipientInfo where++instance ToQuery BouncedRecipientInfo where+        toQuery BouncedRecipientInfo'{..}+          = mconcat+              ["BounceType" =: _briBounceType,+               "RecipientDsnFields" =: _briRecipientDsnFields,+               "RecipientArn" =: _briRecipientARN,+               "Recipient" =: _briRecipient]++-- | An array that contains one or more Destinations, as well as the tags and replacement data associated with each of those Destinations.+--+--+--+-- /See:/ 'bulkEmailDestination' smart constructor.+data BulkEmailDestination = BulkEmailDestination'+  { _bedReplacementTemplateData :: !(Maybe Text)+  , _bedReplacementTags         :: !(Maybe [MessageTag])+  , _bedDestination             :: !Destination+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'BulkEmailDestination' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'bedReplacementTemplateData' - A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.+--+-- * 'bedReplacementTags' - A list of tags, in the form of name/value pairs, to apply to an email that you send using @SendBulkTemplatedEmail@ . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.+--+-- * 'bedDestination' - Undocumented member.+bulkEmailDestination+    :: Destination -- ^ 'bedDestination'+    -> BulkEmailDestination+bulkEmailDestination pDestination_ =+  BulkEmailDestination'+  { _bedReplacementTemplateData = Nothing+  , _bedReplacementTags = Nothing+  , _bedDestination = pDestination_+  }+++-- | A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.+bedReplacementTemplateData :: Lens' BulkEmailDestination (Maybe Text)+bedReplacementTemplateData = lens _bedReplacementTemplateData (\ s a -> s{_bedReplacementTemplateData = a});++-- | A list of tags, in the form of name/value pairs, to apply to an email that you send using @SendBulkTemplatedEmail@ . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.+bedReplacementTags :: Lens' BulkEmailDestination [MessageTag]+bedReplacementTags = lens _bedReplacementTags (\ s a -> s{_bedReplacementTags = a}) . _Default . _Coerce;++-- | Undocumented member.+bedDestination :: Lens' BulkEmailDestination Destination+bedDestination = lens _bedDestination (\ s a -> s{_bedDestination = a});++instance Hashable BulkEmailDestination where++instance NFData BulkEmailDestination where++instance ToQuery BulkEmailDestination where+        toQuery BulkEmailDestination'{..}+          = mconcat+              ["ReplacementTemplateData" =:+                 _bedReplacementTemplateData,+               "ReplacementTags" =:+                 toQuery+                   (toQueryList "member" <$> _bedReplacementTags),+               "Destination" =: _bedDestination]++-- | An object that contains the response from the @SendBulkTemplatedEmail@ operation.+--+--+--+-- /See:/ 'bulkEmailDestinationStatus' smart constructor.+data BulkEmailDestinationStatus = BulkEmailDestinationStatus'+  { _bedsStatus    :: !(Maybe BulkEmailStatus)+  , _bedsError     :: !(Maybe Text)+  , _bedsMessageId :: !(Maybe Text)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'BulkEmailDestinationStatus' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'bedsStatus' - The status of a message sent using the @SendBulkTemplatedEmail@ operation. Possible values for this parameter include:     * @Success@ : Amazon SES accepted the message, and will attempt to deliver it to the recipients.     * @MessageRejected@ : The message was rejected because it contained a virus.     * @MailFromDomainNotVerified@ : The sender's email address or domain was not verified.     * @ConfigurationSetDoesNotExist@ : The configuration set you specified does not exist.     * @TemplateDoesNotExist@ : The template you specified does not exist.     * @AccountSuspended@ : Your account has been shut down because of issues related to your email sending practices.     * @AccountThrottled@ : The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.     * @AccountDailyQuotaExceeded@ : You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.     * @InvalidSendingPoolName@ : The configuration set you specified refers to an IP pool that does not exist.     * @InvalidParameterValue@ : One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.     * @TransientFailure@ : Amazon SES was unable to process your request because of a temporary issue.     * @Failed@ : Amazon SES was unable to process your request. See the error message for additional information.+--+-- * 'bedsError' - A description of an error that prevented a message being sent using the @SendBulkTemplatedEmail@ operation.+--+-- * 'bedsMessageId' - The unique message identifier returned from the @SendBulkTemplatedEmail@ operation.+bulkEmailDestinationStatus+    :: BulkEmailDestinationStatus+bulkEmailDestinationStatus =+  BulkEmailDestinationStatus'+  {_bedsStatus = Nothing, _bedsError = Nothing, _bedsMessageId = Nothing}+++-- | The status of a message sent using the @SendBulkTemplatedEmail@ operation. Possible values for this parameter include:     * @Success@ : Amazon SES accepted the message, and will attempt to deliver it to the recipients.     * @MessageRejected@ : The message was rejected because it contained a virus.     * @MailFromDomainNotVerified@ : The sender's email address or domain was not verified.     * @ConfigurationSetDoesNotExist@ : The configuration set you specified does not exist.     * @TemplateDoesNotExist@ : The template you specified does not exist.     * @AccountSuspended@ : Your account has been shut down because of issues related to your email sending practices.     * @AccountThrottled@ : The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.     * @AccountDailyQuotaExceeded@ : You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.     * @InvalidSendingPoolName@ : The configuration set you specified refers to an IP pool that does not exist.     * @InvalidParameterValue@ : One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.     * @TransientFailure@ : Amazon SES was unable to process your request because of a temporary issue.     * @Failed@ : Amazon SES was unable to process your request. See the error message for additional information.+bedsStatus :: Lens' BulkEmailDestinationStatus (Maybe BulkEmailStatus)+bedsStatus = lens _bedsStatus (\ s a -> s{_bedsStatus = a});++-- | A description of an error that prevented a message being sent using the @SendBulkTemplatedEmail@ operation.+bedsError :: Lens' BulkEmailDestinationStatus (Maybe Text)+bedsError = lens _bedsError (\ s a -> s{_bedsError = a});++-- | The unique message identifier returned from the @SendBulkTemplatedEmail@ operation.+bedsMessageId :: Lens' BulkEmailDestinationStatus (Maybe Text)+bedsMessageId = lens _bedsMessageId (\ s a -> s{_bedsMessageId = a});++instance FromXML BulkEmailDestinationStatus where+        parseXML x+          = BulkEmailDestinationStatus' <$>+              (x .@? "Status") <*> (x .@? "Error") <*>+                (x .@? "MessageId")++instance Hashable BulkEmailDestinationStatus where++instance NFData BulkEmailDestinationStatus where++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'cloudWatchDestination' smart constructor.+newtype CloudWatchDestination = CloudWatchDestination'+  { _cwdDimensionConfigurations :: [CloudWatchDimensionConfiguration]+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CloudWatchDestination' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cwdDimensionConfigurations' - A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.+cloudWatchDestination+    :: CloudWatchDestination+cloudWatchDestination =+  CloudWatchDestination' {_cwdDimensionConfigurations = mempty}+++-- | A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.+cwdDimensionConfigurations :: Lens' CloudWatchDestination [CloudWatchDimensionConfiguration]+cwdDimensionConfigurations = lens _cwdDimensionConfigurations (\ s a -> s{_cwdDimensionConfigurations = a}) . _Coerce;++instance FromXML CloudWatchDestination where+        parseXML x+          = CloudWatchDestination' <$>+              (x .@? "DimensionConfigurations" .!@ mempty >>=+                 parseXMLList "member")++instance Hashable CloudWatchDestination where++instance NFData CloudWatchDestination where++instance ToQuery CloudWatchDestination where+        toQuery CloudWatchDestination'{..}+          = mconcat+              ["DimensionConfigurations" =:+                 toQueryList "member" _cwdDimensionConfigurations]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'cloudWatchDimensionConfiguration' smart constructor.+data CloudWatchDimensionConfiguration = CloudWatchDimensionConfiguration'+  { _cwdcDimensionName         :: !Text+  , _cwdcDimensionValueSource  :: !DimensionValueSource+  , _cwdcDefaultDimensionValue :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CloudWatchDimensionConfiguration' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cwdcDimensionName' - 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.+--+-- * 'cwdcDimensionValueSource' - 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 @X-SES-MESSAGE-TAGS@ header or a parameter to the @SendEmail@ /@SendRawEmail@ API, choose @messageTag@ . If you want Amazon SES to use your own email headers, choose @emailHeader@ .+--+-- * 'cwdcDefaultDimensionValue' - 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.+cloudWatchDimensionConfiguration+    :: Text -- ^ 'cwdcDimensionName'+    -> DimensionValueSource -- ^ 'cwdcDimensionValueSource'+    -> Text -- ^ 'cwdcDefaultDimensionValue'+    -> CloudWatchDimensionConfiguration+cloudWatchDimensionConfiguration pDimensionName_ pDimensionValueSource_ pDefaultDimensionValue_ =+  CloudWatchDimensionConfiguration'+  { _cwdcDimensionName = pDimensionName_+  , _cwdcDimensionValueSource = pDimensionValueSource_+  , _cwdcDefaultDimensionValue = pDefaultDimensionValue_+  }+++-- | 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+cwdcDimensionName = lens _cwdcDimensionName (\ s a -> s{_cwdcDimensionName = 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 @X-SES-MESSAGE-TAGS@ header or a parameter to the @SendEmail@ /@SendRawEmail@ API, choose @messageTag@ . If you want Amazon SES to use your own email headers, choose @emailHeader@ .+cwdcDimensionValueSource :: Lens' CloudWatchDimensionConfiguration DimensionValueSource+cwdcDimensionValueSource = lens _cwdcDimensionValueSource (\ s a -> s{_cwdcDimensionValueSource = 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.+cwdcDefaultDimensionValue :: Lens' CloudWatchDimensionConfiguration Text+cwdcDefaultDimensionValue = lens _cwdcDefaultDimensionValue (\ s a -> s{_cwdcDefaultDimensionValue = a});++instance FromXML CloudWatchDimensionConfiguration+         where+        parseXML x+          = CloudWatchDimensionConfiguration' <$>+              (x .@ "DimensionName") <*>+                (x .@ "DimensionValueSource")+                <*> (x .@ "DefaultDimensionValue")++instance Hashable CloudWatchDimensionConfiguration+         where++instance NFData CloudWatchDimensionConfiguration+         where++instance ToQuery CloudWatchDimensionConfiguration+         where+        toQuery CloudWatchDimensionConfiguration'{..}+          = mconcat+              ["DimensionName" =: _cwdcDimensionName,+               "DimensionValueSource" =: _cwdcDimensionValueSource,+               "DefaultDimensionValue" =:+                 _cwdcDefaultDimensionValue]++-- | The name of the configuration set.+--+--+-- Configuration sets let you create groups of rules that you can apply to the emails you send using Amazon SES. For more information about using configuration sets, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-configuration-sets.html Using Amazon SES Configuration Sets> in the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/ Amazon SES Developer Guide> .+--+--+-- /See:/ 'configurationSet' smart constructor.+newtype ConfigurationSet = ConfigurationSet'+  { _csName :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ConfigurationSet' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'csName' - The name of the configuration set. The name must meet the following requirements:     * Contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).     * Contain 64 characters or fewer.+configurationSet+    :: Text -- ^ 'csName'+    -> ConfigurationSet+configurationSet pName_ = ConfigurationSet' {_csName = pName_}+++-- | The name of the configuration set. The name must meet the following requirements:     * Contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).     * Contain 64 characters or fewer.+csName :: Lens' ConfigurationSet Text+csName = lens _csName (\ s a -> s{_csName = a});++instance FromXML ConfigurationSet where+        parseXML x = ConfigurationSet' <$> (x .@ "Name")++instance Hashable ConfigurationSet where++instance NFData ConfigurationSet where++instance ToQuery ConfigurationSet where+        toQuery ConfigurationSet'{..}+          = mconcat ["Name" =: _csName]++-- | 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.+--+--+-- /See:/ 'content' smart constructor.+data Content = Content'+  { _cCharset :: !(Maybe Text)+  , _cData    :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'Content' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cCharset' - The character set of the content.+--+-- * 'cData' - The textual data of the content.+content+    :: Text -- ^ 'cData'+    -> Content+content pData_ = Content' {_cCharset = Nothing, _cData = pData_}+++-- | The character set of the content.+cCharset :: Lens' Content (Maybe Text)+cCharset = lens _cCharset (\ s a -> s{_cCharset = a});++-- | The textual data of the content.+cData :: Lens' Content Text+cData = lens _cData (\ s a -> s{_cData = a});++instance Hashable Content where++instance NFData Content where++instance ToQuery Content where+        toQuery Content'{..}+          = mconcat ["Charset" =: _cCharset, "Data" =: _cData]++-- | 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: @=?charset?encoding?encoded-text?=@ . For more information, see <https://tools.ietf.org/html/rfc2047 RFC 2047> .+--+--+-- /See:/ 'destination' smart constructor.+data Destination = Destination'+  { _dBCCAddresses :: !(Maybe [Text])+  , _dCCAddresses  :: !(Maybe [Text])+  , _dToAddresses  :: !(Maybe [Text])+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'Destination' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dBCCAddresses' - The BCC: field(s) of the message.+--+-- * 'dCCAddresses' - The CC: field(s) of the message.+--+-- * 'dToAddresses' - The To: field(s) of the message.+destination+    :: Destination+destination =+  Destination'+  {_dBCCAddresses = Nothing, _dCCAddresses = Nothing, _dToAddresses = Nothing}+++-- | The BCC: field(s) of the message.+dBCCAddresses :: Lens' Destination [Text]+dBCCAddresses = lens _dBCCAddresses (\ s a -> s{_dBCCAddresses = a}) . _Default . _Coerce;++-- | The CC: field(s) of the message.+dCCAddresses :: Lens' Destination [Text]+dCCAddresses = lens _dCCAddresses (\ s a -> s{_dCCAddresses = a}) . _Default . _Coerce;++-- | The To: field(s) of the message.+dToAddresses :: Lens' Destination [Text]+dToAddresses = lens _dToAddresses (\ s a -> s{_dToAddresses = a}) . _Default . _Coerce;++instance Hashable Destination where++instance NFData Destination where++instance ToQuery Destination where+        toQuery Destination'{..}+          = mconcat+              ["BccAddresses" =:+                 toQuery (toQueryList "member" <$> _dBCCAddresses),+               "CcAddresses" =:+                 toQuery (toQueryList "member" <$> _dCCAddresses),+               "ToAddresses" =:+                 toQuery (toQueryList "member" <$> _dToAddresses)]++-- | Contains information about the event destination that the specified email sending events will be published to.+--+--+-- Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'eventDestination' smart constructor.+data EventDestination = EventDestination'+  { _edEnabled                    :: !(Maybe Bool)+  , _edKinesisFirehoseDestination :: !(Maybe KinesisFirehoseDestination)+  , _edCloudWatchDestination      :: !(Maybe CloudWatchDestination)+  , _edSNSDestination             :: !(Maybe SNSDestination)+  , _edName                       :: !Text+  , _edMatchingEventTypes         :: ![EventType]+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'EventDestination' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'edEnabled' - Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to @true@ to enable publishing to this destination; set to @false@ to prevent publishing to this destination. The default value is @false@ .+--+-- * 'edKinesisFirehoseDestination' - An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.+--+-- * 'edCloudWatchDestination' - An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.+--+-- * 'edSNSDestination' - An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.+--+-- * 'edName' - 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.+--+-- * 'edMatchingEventTypes' - The type of email sending events to publish to the event destination.+eventDestination+    :: Text -- ^ 'edName'+    -> EventDestination+eventDestination pName_ =+  EventDestination'+  { _edEnabled = Nothing+  , _edKinesisFirehoseDestination = Nothing+  , _edCloudWatchDestination = Nothing+  , _edSNSDestination = Nothing+  , _edName = pName_+  , _edMatchingEventTypes = mempty+  }+++-- | Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to @true@ to enable publishing to this destination; set to @false@ to prevent publishing to this destination. The default value is @false@ .+edEnabled :: Lens' EventDestination (Maybe Bool)+edEnabled = lens _edEnabled (\ s a -> s{_edEnabled = a});++-- | 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)+edKinesisFirehoseDestination = lens _edKinesisFirehoseDestination (\ s a -> s{_edKinesisFirehoseDestination = a});++-- | 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)+edCloudWatchDestination = lens _edCloudWatchDestination (\ s a -> s{_edCloudWatchDestination = a});++-- | An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.+edSNSDestination :: Lens' EventDestination (Maybe SNSDestination)+edSNSDestination = lens _edSNSDestination (\ s a -> s{_edSNSDestination = 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.+edName :: Lens' EventDestination Text+edName = lens _edName (\ s a -> s{_edName = a});++-- | The type of email sending events to publish to the event destination.+edMatchingEventTypes :: Lens' EventDestination [EventType]+edMatchingEventTypes = lens _edMatchingEventTypes (\ s a -> s{_edMatchingEventTypes = a}) . _Coerce;++instance FromXML EventDestination where+        parseXML x+          = EventDestination' <$>+              (x .@? "Enabled") <*>+                (x .@? "KinesisFirehoseDestination")+                <*> (x .@? "CloudWatchDestination")+                <*> (x .@? "SNSDestination")+                <*> (x .@ "Name")+                <*>+                (x .@? "MatchingEventTypes" .!@ mempty >>=+                   parseXMLList "member")++instance Hashable EventDestination where++instance NFData EventDestination where++instance ToQuery EventDestination where+        toQuery EventDestination'{..}+          = mconcat+              ["Enabled" =: _edEnabled,+               "KinesisFirehoseDestination" =:+                 _edKinesisFirehoseDestination,+               "CloudWatchDestination" =: _edCloudWatchDestination,+               "SNSDestination" =: _edSNSDestination,+               "Name" =: _edName,+               "MatchingEventTypes" =:+                 toQueryList "member" _edMatchingEventTypes]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'extensionField' smart constructor.+data ExtensionField = ExtensionField'+  { _efName  :: !Text+  , _efValue :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ExtensionField' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'efName' - 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.+--+-- * 'efValue' - The value of the header to add. Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").+extensionField+    :: Text -- ^ 'efName'+    -> Text -- ^ 'efValue'+    -> ExtensionField+extensionField pName_ pValue_ =+  ExtensionField' {_efName = pName_, _efValue = pValue_}+++-- | 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+efName = lens _efName (\ s a -> s{_efName = a});++-- | 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+efValue = lens _efValue (\ s a -> s{_efValue = a});++instance Hashable ExtensionField where++instance NFData ExtensionField where++instance ToQuery ExtensionField where+        toQuery ExtensionField'{..}+          = mconcat ["Name" =: _efName, "Value" =: _efValue]++-- | Represents the DKIM attributes of a verified email address or a domain.+--+--+--+-- /See:/ 'identityDkimAttributes' smart constructor.+data IdentityDkimAttributes = IdentityDkimAttributes'+  { _idaDkimTokens             :: !(Maybe [Text])+  , _idaDkimEnabled            :: !Bool+  , _idaDkimVerificationStatus :: !VerificationStatus+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'IdentityDkimAttributes' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'idaDkimTokens' - 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html Amazon SES Developer Guide> .+--+-- * 'idaDkimEnabled' - True if DKIM signing is enabled for email sent from the identity; false otherwise. The default value is true.+--+-- * 'idaDkimVerificationStatus' - 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.)+identityDkimAttributes+    :: Bool -- ^ 'idaDkimEnabled'+    -> VerificationStatus -- ^ 'idaDkimVerificationStatus'+    -> IdentityDkimAttributes+identityDkimAttributes pDkimEnabled_ pDkimVerificationStatus_ =+  IdentityDkimAttributes'+  { _idaDkimTokens = Nothing+  , _idaDkimEnabled = pDkimEnabled_+  , _idaDkimVerificationStatus = pDkimVerificationStatus_+  }+++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html Amazon SES Developer Guide> .+idaDkimTokens :: Lens' IdentityDkimAttributes [Text]+idaDkimTokens = lens _idaDkimTokens (\ s a -> s{_idaDkimTokens = a}) . _Default . _Coerce;++-- | True if DKIM signing is enabled for email sent from the identity; false otherwise. The default value is true.+idaDkimEnabled :: Lens' IdentityDkimAttributes Bool+idaDkimEnabled = lens _idaDkimEnabled (\ s a -> s{_idaDkimEnabled = 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.)+idaDkimVerificationStatus :: Lens' IdentityDkimAttributes VerificationStatus+idaDkimVerificationStatus = lens _idaDkimVerificationStatus (\ s a -> s{_idaDkimVerificationStatus = a});++instance FromXML IdentityDkimAttributes where+        parseXML x+          = IdentityDkimAttributes' <$>+              (x .@? "DkimTokens" .!@ mempty >>=+                 may (parseXMLList "member"))+                <*> (x .@ "DkimEnabled")+                <*> (x .@ "DkimVerificationStatus")++instance Hashable IdentityDkimAttributes where++instance NFData IdentityDkimAttributes where++-- | Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).+--+--+--+-- /See:/ 'identityMailFromDomainAttributes' smart constructor.+data IdentityMailFromDomainAttributes = IdentityMailFromDomainAttributes'+  { _imfdaMailFromDomain       :: !Text+  , _imfdaMailFromDomainStatus :: !CustomMailFromStatus+  , _imfdaBehaviorOnMXFailure  :: !BehaviorOnMXFailure+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'IdentityMailFromDomainAttributes' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'imfdaMailFromDomain' - The custom MAIL FROM domain that the identity is configured to use.+--+-- * 'imfdaMailFromDomainStatus' - The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is @Success@ , 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 @BehaviorOnMXFailure@ .+--+-- * 'imfdaBehaviorOnMXFailure' - The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of @UseDefaultValue@ 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 @RejectMessage@ indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a @MailFromDomainNotVerified@ error and does not send the email. The custom MAIL FROM setup states that result in this behavior are @Pending@ , @Failed@ , and @TemporaryFailure@ .+identityMailFromDomainAttributes+    :: Text -- ^ 'imfdaMailFromDomain'+    -> CustomMailFromStatus -- ^ 'imfdaMailFromDomainStatus'+    -> BehaviorOnMXFailure -- ^ 'imfdaBehaviorOnMXFailure'+    -> IdentityMailFromDomainAttributes+identityMailFromDomainAttributes pMailFromDomain_ pMailFromDomainStatus_ pBehaviorOnMXFailure_ =+  IdentityMailFromDomainAttributes'+  { _imfdaMailFromDomain = pMailFromDomain_+  , _imfdaMailFromDomainStatus = pMailFromDomainStatus_+  , _imfdaBehaviorOnMXFailure = pBehaviorOnMXFailure_+  }+++-- | The custom MAIL FROM domain that the identity is configured to use.+imfdaMailFromDomain :: Lens' IdentityMailFromDomainAttributes Text+imfdaMailFromDomain = lens _imfdaMailFromDomain (\ s a -> s{_imfdaMailFromDomain = 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 @Success@ , 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 @BehaviorOnMXFailure@ .+imfdaMailFromDomainStatus :: Lens' IdentityMailFromDomainAttributes CustomMailFromStatus+imfdaMailFromDomainStatus = lens _imfdaMailFromDomainStatus (\ s a -> s{_imfdaMailFromDomainStatus = a});++-- | The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of @UseDefaultValue@ 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 @RejectMessage@ indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a @MailFromDomainNotVerified@ error and does not send the email. The custom MAIL FROM setup states that result in this behavior are @Pending@ , @Failed@ , and @TemporaryFailure@ .+imfdaBehaviorOnMXFailure :: Lens' IdentityMailFromDomainAttributes BehaviorOnMXFailure+imfdaBehaviorOnMXFailure = lens _imfdaBehaviorOnMXFailure (\ s a -> s{_imfdaBehaviorOnMXFailure = a});++instance FromXML IdentityMailFromDomainAttributes+         where+        parseXML x+          = IdentityMailFromDomainAttributes' <$>+              (x .@ "MailFromDomain") <*>+                (x .@ "MailFromDomainStatus")+                <*> (x .@ "BehaviorOnMXFailure")++instance Hashable IdentityMailFromDomainAttributes+         where++instance NFData IdentityMailFromDomainAttributes+         where++-- | 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.+--+--+--+-- /See:/ 'identityNotificationAttributes' smart constructor.+data IdentityNotificationAttributes = IdentityNotificationAttributes'+  { _inaHeadersInDeliveryNotificationsEnabled  :: !(Maybe Bool)+  , _inaHeadersInComplaintNotificationsEnabled :: !(Maybe Bool)+  , _inaHeadersInBounceNotificationsEnabled    :: !(Maybe Bool)+  , _inaBounceTopic                            :: !Text+  , _inaComplaintTopic                         :: !Text+  , _inaDeliveryTopic                          :: !Text+  , _inaForwardingEnabled                      :: !Bool+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'IdentityNotificationAttributes' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'inaHeadersInDeliveryNotificationsEnabled' - Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Delivery@ . A value of @true@ specifies that Amazon SES will include headers in delivery notifications, and a value of @false@ specifies that Amazon SES will not include headers in delivery notifications.+--+-- * 'inaHeadersInComplaintNotificationsEnabled' - Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Complaint@ . A value of @true@ specifies that Amazon SES will include headers in complaint notifications, and a value of @false@ specifies that Amazon SES will not include headers in complaint notifications.+--+-- * 'inaHeadersInBounceNotificationsEnabled' - Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Bounce@ . A value of @true@ specifies that Amazon SES will include headers in bounce notifications, and a value of @false@ specifies that Amazon SES will not include headers in bounce notifications.+--+-- * 'inaBounceTopic' - The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.+--+-- * 'inaComplaintTopic' - The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.+--+-- * 'inaDeliveryTopic' - The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.+--+-- * 'inaForwardingEnabled' - Describes whether Amazon SES will forward bounce and complaint notifications as email. @true@ indicates that Amazon SES will forward bounce and complaint notifications as email, while @false@ indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.+identityNotificationAttributes+    :: Text -- ^ 'inaBounceTopic'+    -> Text -- ^ 'inaComplaintTopic'+    -> Text -- ^ 'inaDeliveryTopic'+    -> Bool -- ^ 'inaForwardingEnabled'+    -> IdentityNotificationAttributes+identityNotificationAttributes pBounceTopic_ pComplaintTopic_ pDeliveryTopic_ pForwardingEnabled_ =+  IdentityNotificationAttributes'+  { _inaHeadersInDeliveryNotificationsEnabled = Nothing+  , _inaHeadersInComplaintNotificationsEnabled = Nothing+  , _inaHeadersInBounceNotificationsEnabled = Nothing+  , _inaBounceTopic = pBounceTopic_+  , _inaComplaintTopic = pComplaintTopic_+  , _inaDeliveryTopic = pDeliveryTopic_+  , _inaForwardingEnabled = pForwardingEnabled_+  }+++-- | Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Delivery@ . A value of @true@ specifies that Amazon SES will include headers in delivery notifications, and a value of @false@ specifies that Amazon SES will not include headers in delivery notifications.+inaHeadersInDeliveryNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)+inaHeadersInDeliveryNotificationsEnabled = lens _inaHeadersInDeliveryNotificationsEnabled (\ s a -> s{_inaHeadersInDeliveryNotificationsEnabled = a});++-- | Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Complaint@ . A value of @true@ specifies that Amazon SES will include headers in complaint notifications, and a value of @false@ specifies that Amazon SES will not include headers in complaint notifications.+inaHeadersInComplaintNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)+inaHeadersInComplaintNotificationsEnabled = lens _inaHeadersInComplaintNotificationsEnabled (\ s a -> s{_inaHeadersInComplaintNotificationsEnabled = a});++-- | Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type @Bounce@ . A value of @true@ specifies that Amazon SES will include headers in bounce notifications, and a value of @false@ specifies that Amazon SES will not include headers in bounce notifications.+inaHeadersInBounceNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)+inaHeadersInBounceNotificationsEnabled = lens _inaHeadersInBounceNotificationsEnabled (\ s a -> s{_inaHeadersInBounceNotificationsEnabled = a});++-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.+inaBounceTopic :: Lens' IdentityNotificationAttributes Text+inaBounceTopic = lens _inaBounceTopic (\ s a -> s{_inaBounceTopic = a});++-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.+inaComplaintTopic :: Lens' IdentityNotificationAttributes Text+inaComplaintTopic = lens _inaComplaintTopic (\ s a -> s{_inaComplaintTopic = a});++-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.+inaDeliveryTopic :: Lens' IdentityNotificationAttributes Text+inaDeliveryTopic = lens _inaDeliveryTopic (\ s a -> s{_inaDeliveryTopic = a});++-- | Describes whether Amazon SES will forward bounce and complaint notifications as email. @true@ indicates that Amazon SES will forward bounce and complaint notifications as email, while @false@ indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.+inaForwardingEnabled :: Lens' IdentityNotificationAttributes Bool+inaForwardingEnabled = lens _inaForwardingEnabled (\ s a -> s{_inaForwardingEnabled = a});++instance FromXML IdentityNotificationAttributes where+        parseXML x+          = IdentityNotificationAttributes' <$>+              (x .@? "HeadersInDeliveryNotificationsEnabled") <*>+                (x .@? "HeadersInComplaintNotificationsEnabled")+                <*> (x .@? "HeadersInBounceNotificationsEnabled")+                <*> (x .@ "BounceTopic")+                <*> (x .@ "ComplaintTopic")+                <*> (x .@ "DeliveryTopic")+                <*> (x .@ "ForwardingEnabled")++instance Hashable IdentityNotificationAttributes+         where++instance NFData IdentityNotificationAttributes where++-- | Represents the verification attributes of a single identity.+--+--+--+-- /See:/ 'identityVerificationAttributes' smart constructor.+data IdentityVerificationAttributes = IdentityVerificationAttributes'+  { _ivaVerificationToken  :: !(Maybe Text)+  , _ivaVerificationStatus :: !VerificationStatus+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'IdentityVerificationAttributes' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ivaVerificationToken' - The verification token for a domain identity. Null for email address identities.+--+-- * 'ivaVerificationStatus' - The verification status of the identity: "Pending", "Success", "Failed", or "TemporaryFailure".+identityVerificationAttributes+    :: VerificationStatus -- ^ 'ivaVerificationStatus'+    -> IdentityVerificationAttributes+identityVerificationAttributes pVerificationStatus_ =+  IdentityVerificationAttributes'+  { _ivaVerificationToken = Nothing+  , _ivaVerificationStatus = pVerificationStatus_+  }+++-- | The verification token for a domain identity. Null for email address identities.+ivaVerificationToken :: Lens' IdentityVerificationAttributes (Maybe Text)+ivaVerificationToken = lens _ivaVerificationToken (\ s a -> s{_ivaVerificationToken = a});++-- | The verification status of the identity: "Pending", "Success", "Failed", or "TemporaryFailure".+ivaVerificationStatus :: Lens' IdentityVerificationAttributes VerificationStatus+ivaVerificationStatus = lens _ivaVerificationStatus (\ s a -> s{_ivaVerificationStatus = a});++instance FromXML IdentityVerificationAttributes where+        parseXML x+          = IdentityVerificationAttributes' <$>+              (x .@? "VerificationToken") <*>+                (x .@ "VerificationStatus")++instance Hashable IdentityVerificationAttributes+         where++instance NFData IdentityVerificationAttributes where++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'kinesisFirehoseDestination' smart constructor.+data KinesisFirehoseDestination = KinesisFirehoseDestination'+  { _kfdIAMRoleARN        :: !Text+  , _kfdDeliveryStreamARN :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'KinesisFirehoseDestination' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'kfdIAMRoleARN' - The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.+--+-- * 'kfdDeliveryStreamARN' - The ARN of the Amazon Kinesis Firehose stream that email sending events should be published to.+kinesisFirehoseDestination+    :: Text -- ^ 'kfdIAMRoleARN'+    -> Text -- ^ 'kfdDeliveryStreamARN'+    -> KinesisFirehoseDestination+kinesisFirehoseDestination pIAMRoleARN_ pDeliveryStreamARN_ =+  KinesisFirehoseDestination'+  {_kfdIAMRoleARN = pIAMRoleARN_, _kfdDeliveryStreamARN = pDeliveryStreamARN_}+++-- | The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.+kfdIAMRoleARN :: Lens' KinesisFirehoseDestination Text+kfdIAMRoleARN = lens _kfdIAMRoleARN (\ s a -> s{_kfdIAMRoleARN = a});++-- | The ARN of the Amazon Kinesis Firehose stream that email sending events should be published to.+kfdDeliveryStreamARN :: Lens' KinesisFirehoseDestination Text+kfdDeliveryStreamARN = lens _kfdDeliveryStreamARN (\ s a -> s{_kfdDeliveryStreamARN = a});++instance FromXML KinesisFirehoseDestination where+        parseXML x+          = KinesisFirehoseDestination' <$>+              (x .@ "IAMRoleARN") <*> (x .@ "DeliveryStreamARN")++instance Hashable KinesisFirehoseDestination where++instance NFData KinesisFirehoseDestination where++instance ToQuery KinesisFirehoseDestination where+        toQuery KinesisFirehoseDestination'{..}+          = mconcat+              ["IAMRoleARN" =: _kfdIAMRoleARN,+               "DeliveryStreamARN" =: _kfdDeliveryStreamARN]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> .+--+-- For information about using AWS Lambda actions in receipt rules, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'lambdaAction' smart constructor.+data LambdaAction = LambdaAction'+  { _laInvocationType :: !(Maybe InvocationType)+  , _laTopicARN       :: !(Maybe Text)+  , _laFunctionARN    :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'LambdaAction' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'laInvocationType' - The invocation type of the AWS Lambda function. An invocation type of @RequestResponse@ means that the execution of the function will immediately result in a response, and a value of @Event@ means that the function will be invoked asynchronously. The default value is @Event@ . For information about AWS Lambda invocation types, see the <http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html AWS Lambda Developer Guide> . /Important:/ There is a 30-second timeout on @RequestResponse@ invocations. You should use @Event@ invocation in most cases. Use @RequestResponse@ only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.+--+-- * 'laTopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+--+-- * 'laFunctionARN' - The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is @arn:aws:lambda:us-west-2:account-id:function:MyFunction@ . For more information about AWS Lambda, see the <http://docs.aws.amazon.com/lambda/latest/dg/welcome.html AWS Lambda Developer Guide> .+lambdaAction+    :: Text -- ^ 'laFunctionARN'+    -> LambdaAction+lambdaAction pFunctionARN_ =+  LambdaAction'+  { _laInvocationType = Nothing+  , _laTopicARN = Nothing+  , _laFunctionARN = pFunctionARN_+  }+++-- | The invocation type of the AWS Lambda function. An invocation type of @RequestResponse@ means that the execution of the function will immediately result in a response, and a value of @Event@ means that the function will be invoked asynchronously. The default value is @Event@ . For information about AWS Lambda invocation types, see the <http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html AWS Lambda Developer Guide> . /Important:/ There is a 30-second timeout on @RequestResponse@ invocations. You should use @Event@ invocation in most cases. Use @RequestResponse@ 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)+laInvocationType = lens _laInvocationType (\ s a -> s{_laInvocationType = 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+laTopicARN :: Lens' LambdaAction (Maybe Text)+laTopicARN = lens _laTopicARN (\ s a -> s{_laTopicARN = a});++-- | The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is @arn:aws:lambda:us-west-2:account-id:function:MyFunction@ . For more information about AWS Lambda, see the <http://docs.aws.amazon.com/lambda/latest/dg/welcome.html AWS Lambda Developer Guide> .+laFunctionARN :: Lens' LambdaAction Text+laFunctionARN = lens _laFunctionARN (\ s a -> s{_laFunctionARN = a});++instance FromXML LambdaAction where+        parseXML x+          = LambdaAction' <$>+              (x .@? "InvocationType") <*> (x .@? "TopicArn") <*>+                (x .@ "FunctionArn")++instance Hashable LambdaAction where++instance NFData LambdaAction where++instance ToQuery LambdaAction where+        toQuery LambdaAction'{..}+          = mconcat+              ["InvocationType" =: _laInvocationType,+               "TopicArn" =: _laTopicARN,+               "FunctionArn" =: _laFunctionARN]++-- | Represents the message to be sent, composed of a subject and a body.+--+--+--+-- /See:/ 'message' smart constructor.+data Message = Message'+  { _mSubject :: !Content+  , _mBody    :: !Body+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'Message' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mSubject' - The subject of the message: A short summary of the content, which will appear in the recipient's inbox.+--+-- * 'mBody' - The message body.+message+    :: Content -- ^ 'mSubject'+    -> Body -- ^ 'mBody'+    -> Message+message pSubject_ pBody_ = Message' {_mSubject = pSubject_, _mBody = pBody_}+++-- | The subject of the message: A short summary of the content, which will appear in the recipient's inbox.+mSubject :: Lens' Message Content+mSubject = lens _mSubject (\ s a -> s{_mSubject = a});++-- | The message body.+mBody :: Lens' Message Body+mBody = lens _mBody (\ s a -> s{_mBody = a});++instance Hashable Message where++instance NFData Message where++instance ToQuery Message where+        toQuery Message'{..}+          = mconcat ["Subject" =: _mSubject, "Body" =: _mBody]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'messageDsn' smart constructor.+data MessageDsn = MessageDsn'+  { _mdArrivalDate     :: !(Maybe ISO8601)+  , _mdExtensionFields :: !(Maybe [ExtensionField])+  , _mdReportingMta    :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'MessageDsn' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mdArrivalDate' - When the message was received by the reporting mail transfer agent (MTA), in <https://www.ietf.org/rfc/rfc0822.txt RFC 822> date-time format.+--+-- * 'mdExtensionFields' - Additional X-headers to include in the DSN.+--+-- * 'mdReportingMta' - The reporting MTA that attempted to deliver the message, formatted as specified in <https://tools.ietf.org/html/rfc3464 RFC 3464> (@mta-name-type; mta-name@ ). The default value is @dns; inbound-smtp.[region].amazonaws.com@ .+messageDsn+    :: Text -- ^ 'mdReportingMta'+    -> MessageDsn+messageDsn pReportingMta_ =+  MessageDsn'+  { _mdArrivalDate = Nothing+  , _mdExtensionFields = Nothing+  , _mdReportingMta = pReportingMta_+  }+++-- | When the message was received by the reporting mail transfer agent (MTA), in <https://www.ietf.org/rfc/rfc0822.txt RFC 822> date-time format.+mdArrivalDate :: Lens' MessageDsn (Maybe UTCTime)+mdArrivalDate = lens _mdArrivalDate (\ s a -> s{_mdArrivalDate = a}) . mapping _Time;++-- | Additional X-headers to include in the DSN.+mdExtensionFields :: Lens' MessageDsn [ExtensionField]+mdExtensionFields = lens _mdExtensionFields (\ s a -> s{_mdExtensionFields = a}) . _Default . _Coerce;++-- | The reporting MTA that attempted to deliver the message, formatted as specified in <https://tools.ietf.org/html/rfc3464 RFC 3464> (@mta-name-type; mta-name@ ). The default value is @dns; inbound-smtp.[region].amazonaws.com@ .+mdReportingMta :: Lens' MessageDsn Text+mdReportingMta = lens _mdReportingMta (\ s a -> s{_mdReportingMta = a});++instance Hashable MessageDsn where++instance NFData MessageDsn where++instance ToQuery MessageDsn where+        toQuery MessageDsn'{..}+          = mconcat+              ["ArrivalDate" =: _mdArrivalDate,+               "ExtensionFields" =:+                 toQuery+                   (toQueryList "member" <$> _mdExtensionFields),+               "ReportingMta" =: _mdReportingMta]++-- | Contains the name and value of a tag that you can provide to @SendEmail@ or @SendRawEmail@ 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'messageTag' smart constructor.+data MessageTag = MessageTag'+  { _mtName  :: !Text+  , _mtValue :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'MessageTag' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'mtName' - 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.+--+-- * 'mtValue' - 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.+messageTag+    :: Text -- ^ 'mtName'+    -> Text -- ^ 'mtValue'+    -> MessageTag+messageTag pName_ pValue_ = MessageTag' {_mtName = pName_, _mtValue = pValue_}+++-- | 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+mtName = lens _mtName (\ s a -> s{_mtName = 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.+mtValue :: Lens' MessageTag Text+mtValue = lens _mtValue (\ s a -> s{_mtValue = a});++instance Hashable MessageTag where++instance NFData MessageTag where++instance ToQuery MessageTag where+        toQuery MessageTag'{..}+          = mconcat ["Name" =: _mtName, "Value" =: _mtValue]++-- | Represents the raw data of the message.+--+--+--+-- /See:/ 'rawMessage' smart constructor.+newtype RawMessage = RawMessage'+  { _rmData :: Base64+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'RawMessage' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rmData' - The raw data of the message. This data needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an AWS SDK, the SDK takes care of the base 64-encoding for you. In all cases, the client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, and MIME encoding. The To:, CC:, and BCC: headers in the raw message can contain a group list. If you are using @SendRawEmail@ with sending authorization, you can include X-headers in the raw message to specify the "Source," "From," and "Return-Path" addresses. For more information, see the documentation for @SendRawEmail@ .  /Important:/ 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html Amazon SES Developer Guide> .-- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data.+rawMessage+    :: ByteString -- ^ 'rmData'+    -> RawMessage+rawMessage pData_ = RawMessage' {_rmData = _Base64 # pData_}+++-- | The raw data of the message. This data needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an AWS SDK, the SDK takes care of the base 64-encoding for you. In all cases, the client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, and MIME encoding. The To:, CC:, and BCC: headers in the raw message can contain a group list. If you are using @SendRawEmail@ with sending authorization, you can include X-headers in the raw message to specify the "Source," "From," and "Return-Path" addresses. For more information, see the documentation for @SendRawEmail@ .  /Important:/ 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html Amazon SES Developer Guide> .-- /Note:/ This 'Lens' automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This 'Lens' accepts and returns only raw unencoded data.+rmData :: Lens' RawMessage ByteString+rmData = lens _rmData (\ s a -> s{_rmData = a}) . _Base64;++instance Hashable RawMessage where++instance NFData RawMessage where++instance ToQuery RawMessage where+        toQuery RawMessage'{..} = mconcat ["Data" =: _rmData]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'receiptAction' smart constructor.+data ReceiptAction = ReceiptAction'+  { _raAddHeaderAction :: !(Maybe AddHeaderAction)+  , _raSNSAction       :: !(Maybe SNSAction)+  , _raWorkmailAction  :: !(Maybe WorkmailAction)+  , _raBounceAction    :: !(Maybe BounceAction)+  , _raLambdaAction    :: !(Maybe LambdaAction)+  , _raStopAction      :: !(Maybe StopAction)+  , _raS3Action        :: !(Maybe S3Action)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ReceiptAction' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'raAddHeaderAction' - Adds a header to the received email.+--+-- * 'raSNSAction' - Publishes the email content within a notification to Amazon SNS.+--+-- * 'raWorkmailAction' - Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.+--+-- * 'raBounceAction' - Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).+--+-- * 'raLambdaAction' - Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.+--+-- * 'raStopAction' - Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.+--+-- * 'raS3Action' - Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.+receiptAction+    :: ReceiptAction+receiptAction =+  ReceiptAction'+  { _raAddHeaderAction = Nothing+  , _raSNSAction = Nothing+  , _raWorkmailAction = Nothing+  , _raBounceAction = Nothing+  , _raLambdaAction = Nothing+  , _raStopAction = Nothing+  , _raS3Action = Nothing+  }+++-- | Adds a header to the received email.+raAddHeaderAction :: Lens' ReceiptAction (Maybe AddHeaderAction)+raAddHeaderAction = lens _raAddHeaderAction (\ s a -> s{_raAddHeaderAction = a});++-- | Publishes the email content within a notification to Amazon SNS.+raSNSAction :: Lens' ReceiptAction (Maybe SNSAction)+raSNSAction = lens _raSNSAction (\ s a -> s{_raSNSAction = a});++-- | Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.+raWorkmailAction :: Lens' ReceiptAction (Maybe WorkmailAction)+raWorkmailAction = lens _raWorkmailAction (\ s a -> s{_raWorkmailAction = 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).+raBounceAction :: Lens' ReceiptAction (Maybe BounceAction)+raBounceAction = lens _raBounceAction (\ s a -> s{_raBounceAction = a});++-- | Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.+raLambdaAction :: Lens' ReceiptAction (Maybe LambdaAction)+raLambdaAction = lens _raLambdaAction (\ s a -> s{_raLambdaAction = a});++-- | Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.+raStopAction :: Lens' ReceiptAction (Maybe StopAction)+raStopAction = lens _raStopAction (\ s a -> s{_raStopAction = a});++-- | 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)+raS3Action = lens _raS3Action (\ s a -> s{_raS3Action = a});++instance FromXML ReceiptAction where+        parseXML x+          = ReceiptAction' <$>+              (x .@? "AddHeaderAction") <*> (x .@? "SNSAction") <*>+                (x .@? "WorkmailAction")+                <*> (x .@? "BounceAction")+                <*> (x .@? "LambdaAction")+                <*> (x .@? "StopAction")+                <*> (x .@? "S3Action")++instance Hashable ReceiptAction where++instance NFData ReceiptAction where++instance ToQuery ReceiptAction where+        toQuery ReceiptAction'{..}+          = mconcat+              ["AddHeaderAction" =: _raAddHeaderAction,+               "SNSAction" =: _raSNSAction,+               "WorkmailAction" =: _raWorkmailAction,+               "BounceAction" =: _raBounceAction,+               "LambdaAction" =: _raLambdaAction,+               "StopAction" =: _raStopAction,+               "S3Action" =: _raS3Action]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'receiptFilter' smart constructor.+data ReceiptFilter = ReceiptFilter'+  { _rfName     :: !Text+  , _rfIPFilter :: !ReceiptIPFilter+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ReceiptFilter' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rfName' - 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.+--+-- * 'rfIPFilter' - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.+receiptFilter+    :: Text -- ^ 'rfName'+    -> ReceiptIPFilter -- ^ 'rfIPFilter'+    -> ReceiptFilter+receiptFilter pName_ pIPFilter_ =+  ReceiptFilter' {_rfName = pName_, _rfIPFilter = pIPFilter_}+++-- | 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+rfName = lens _rfName (\ s a -> s{_rfName = a});++-- | 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+rfIPFilter = lens _rfIPFilter (\ s a -> s{_rfIPFilter = a});++instance FromXML ReceiptFilter where+        parseXML x+          = ReceiptFilter' <$>+              (x .@ "Name") <*> (x .@ "IpFilter")++instance Hashable ReceiptFilter where++instance NFData ReceiptFilter where++instance ToQuery ReceiptFilter where+        toQuery ReceiptFilter'{..}+          = mconcat+              ["Name" =: _rfName, "IpFilter" =: _rfIPFilter]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'receiptIPFilter' smart constructor.+data ReceiptIPFilter = ReceiptIPFilter'+  { _rifPolicy :: !ReceiptFilterPolicy+  , _rifCidr   :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ReceiptIPFilter' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rifPolicy' - Indicates whether to block or allow incoming mail from the specified IP addresses.+--+-- * 'rifCidr' - 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/24. For more information about CIDR notation, see <https://tools.ietf.org/html/rfc2317 RFC 2317> .+receiptIPFilter+    :: ReceiptFilterPolicy -- ^ 'rifPolicy'+    -> Text -- ^ 'rifCidr'+    -> ReceiptIPFilter+receiptIPFilter pPolicy_ pCidr_ =+  ReceiptIPFilter' {_rifPolicy = pPolicy_, _rifCidr = pCidr_}+++-- | Indicates whether to block or allow incoming mail from the specified IP addresses.+rifPolicy :: Lens' ReceiptIPFilter ReceiptFilterPolicy+rifPolicy = lens _rifPolicy (\ s a -> s{_rifPolicy = 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/24. For more information about CIDR notation, see <https://tools.ietf.org/html/rfc2317 RFC 2317> .+rifCidr :: Lens' ReceiptIPFilter Text+rifCidr = lens _rifCidr (\ s a -> s{_rifCidr = a});++instance FromXML ReceiptIPFilter where+        parseXML x+          = ReceiptIPFilter' <$>+              (x .@ "Policy") <*> (x .@ "Cidr")++instance Hashable ReceiptIPFilter where++instance NFData ReceiptIPFilter where++instance ToQuery ReceiptIPFilter where+        toQuery ReceiptIPFilter'{..}+          = mconcat+              ["Policy" =: _rifPolicy, "Cidr" =: _rifCidr]++-- | 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 that it applies to. 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'receiptRule' smart constructor.+data ReceiptRule = ReceiptRule'+  { _rrScanEnabled :: !(Maybe Bool)+  , _rrEnabled     :: !(Maybe Bool)+  , _rrActions     :: !(Maybe [ReceiptAction])+  , _rrRecipients  :: !(Maybe [Text])+  , _rrTLSPolicy   :: !(Maybe TLSPolicy)+  , _rrName        :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ReceiptRule' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rrScanEnabled' - If @true@ , then messages that this receipt rule applies to are scanned for spam and viruses. The default value is @false@ .+--+-- * 'rrEnabled' - If @true@ , the receipt rule is active. The default value is @false@ .+--+-- * 'rrActions' - 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.+--+-- * 'rrRecipients' - The recipient domains and email addresses that the receipt rule applies to. If this field is not specified, this rule will match all recipients under all verified domains.+--+-- * 'rrTLSPolicy' - 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 @Require@ , Amazon SES will bounce emails that are not received over TLS. The default is @Optional@ .+--+-- * 'rrName' - 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.+receiptRule+    :: Text -- ^ 'rrName'+    -> ReceiptRule+receiptRule pName_ =+  ReceiptRule'+  { _rrScanEnabled = Nothing+  , _rrEnabled = Nothing+  , _rrActions = Nothing+  , _rrRecipients = Nothing+  , _rrTLSPolicy = Nothing+  , _rrName = pName_+  }+++-- | If @true@ , then messages that this receipt rule applies to are scanned for spam and viruses. The default value is @false@ .+rrScanEnabled :: Lens' ReceiptRule (Maybe Bool)+rrScanEnabled = lens _rrScanEnabled (\ s a -> s{_rrScanEnabled = a});++-- | If @true@ , the receipt rule is active. The default value is @false@ .+rrEnabled :: Lens' ReceiptRule (Maybe Bool)+rrEnabled = lens _rrEnabled (\ s a -> s{_rrEnabled = 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.+rrActions :: Lens' ReceiptRule [ReceiptAction]+rrActions = lens _rrActions (\ s a -> s{_rrActions = a}) . _Default . _Coerce;++-- | The recipient domains and email addresses that the receipt rule applies to. If this field is not specified, this rule will match all recipients under all verified domains.+rrRecipients :: Lens' ReceiptRule [Text]+rrRecipients = lens _rrRecipients (\ s a -> s{_rrRecipients = a}) . _Default . _Coerce;++-- | 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 @Require@ , Amazon SES will bounce emails that are not received over TLS. The default is @Optional@ .+rrTLSPolicy :: Lens' ReceiptRule (Maybe TLSPolicy)+rrTLSPolicy = lens _rrTLSPolicy (\ s a -> s{_rrTLSPolicy = 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.+rrName :: Lens' ReceiptRule Text+rrName = lens _rrName (\ s a -> s{_rrName = a});++instance FromXML ReceiptRule where+        parseXML x+          = ReceiptRule' <$>+              (x .@? "ScanEnabled") <*> (x .@? "Enabled") <*>+                (x .@? "Actions" .!@ mempty >>=+                   may (parseXMLList "member"))+                <*>+                (x .@? "Recipients" .!@ mempty >>=+                   may (parseXMLList "member"))+                <*> (x .@? "TlsPolicy")+                <*> (x .@ "Name")++instance Hashable ReceiptRule where++instance NFData ReceiptRule where++instance ToQuery ReceiptRule where+        toQuery ReceiptRule'{..}+          = mconcat+              ["ScanEnabled" =: _rrScanEnabled,+               "Enabled" =: _rrEnabled,+               "Actions" =:+                 toQuery (toQueryList "member" <$> _rrActions),+               "Recipients" =:+                 toQuery (toQueryList "member" <$> _rrRecipients),+               "TlsPolicy" =: _rrTLSPolicy, "Name" =: _rrName]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'receiptRuleSetMetadata' smart constructor.+data ReceiptRuleSetMetadata = ReceiptRuleSetMetadata'+  { _rrsmName             :: !(Maybe Text)+  , _rrsmCreatedTimestamp :: !(Maybe ISO8601)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ReceiptRuleSetMetadata' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rrsmName' - 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.+--+-- * 'rrsmCreatedTimestamp' - The date and time the receipt rule set was created.+receiptRuleSetMetadata+    :: ReceiptRuleSetMetadata+receiptRuleSetMetadata =+  ReceiptRuleSetMetadata' {_rrsmName = Nothing, _rrsmCreatedTimestamp = Nothing}+++-- | 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)+rrsmName = lens _rrsmName (\ s a -> s{_rrsmName = a});++-- | The date and time the receipt rule set was created.+rrsmCreatedTimestamp :: Lens' ReceiptRuleSetMetadata (Maybe UTCTime)+rrsmCreatedTimestamp = lens _rrsmCreatedTimestamp (\ s a -> s{_rrsmCreatedTimestamp = a}) . mapping _Time;++instance FromXML ReceiptRuleSetMetadata where+        parseXML x+          = ReceiptRuleSetMetadata' <$>+              (x .@? "Name") <*> (x .@? "CreatedTimestamp")++instance Hashable ReceiptRuleSetMetadata where++instance NFData ReceiptRuleSetMetadata where++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'recipientDsnFields' smart constructor.+data RecipientDsnFields = RecipientDsnFields'+  { _rdfDiagnosticCode  :: !(Maybe Text)+  , _rdfRemoteMta       :: !(Maybe Text)+  , _rdfFinalRecipient  :: !(Maybe Text)+  , _rdfExtensionFields :: !(Maybe [ExtensionField])+  , _rdfLastAttemptDate :: !(Maybe ISO8601)+  , _rdfAction          :: !DsnAction+  , _rdfStatus          :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'RecipientDsnFields' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rdfDiagnosticCode' - An extended explanation of what went wrong; this is usually an SMTP response. See <https://tools.ietf.org/html/rfc3463 RFC 3463> for the correct formatting of this parameter.+--+-- * 'rdfRemoteMta' - The MTA to which the remote MTA attempted to deliver the message, formatted as specified in <https://tools.ietf.org/html/rfc3464 RFC 3464> (@mta-name-type; mta-name@ ). This parameter typically applies only to propagating synchronous bounces.+--+-- * 'rdfFinalRecipient' - The email address that the message was ultimately delivered to. This corresponds to the @Final-Recipient@ in the DSN. If not specified, @FinalRecipient@ will be set to the @Recipient@ specified in the @BouncedRecipientInfo@ structure. Either @FinalRecipient@ or the recipient in @BouncedRecipientInfo@ must be a recipient of the original bounced message.+--+-- * 'rdfExtensionFields' - Additional X-headers to include in the DSN.+--+-- * 'rdfLastAttemptDate' - The time the final delivery attempt was made, in <https://www.ietf.org/rfc/rfc0822.txt RFC 822> date-time format.+--+-- * 'rdfAction' - 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 <https://tools.ietf.org/html/rfc3464 RFC 3464> .+--+-- * 'rdfStatus' - The status code that indicates what went wrong. This is required by <https://tools.ietf.org/html/rfc3464 RFC 3464> .+recipientDsnFields+    :: DsnAction -- ^ 'rdfAction'+    -> Text -- ^ 'rdfStatus'+    -> RecipientDsnFields+recipientDsnFields pAction_ pStatus_ =+  RecipientDsnFields'+  { _rdfDiagnosticCode = Nothing+  , _rdfRemoteMta = Nothing+  , _rdfFinalRecipient = Nothing+  , _rdfExtensionFields = Nothing+  , _rdfLastAttemptDate = Nothing+  , _rdfAction = pAction_+  , _rdfStatus = pStatus_+  }+++-- | An extended explanation of what went wrong; this is usually an SMTP response. See <https://tools.ietf.org/html/rfc3463 RFC 3463> for the correct formatting of this parameter.+rdfDiagnosticCode :: Lens' RecipientDsnFields (Maybe Text)+rdfDiagnosticCode = lens _rdfDiagnosticCode (\ s a -> s{_rdfDiagnosticCode = a});++-- | The MTA to which the remote MTA attempted to deliver the message, formatted as specified in <https://tools.ietf.org/html/rfc3464 RFC 3464> (@mta-name-type; mta-name@ ). This parameter typically applies only to propagating synchronous bounces.+rdfRemoteMta :: Lens' RecipientDsnFields (Maybe Text)+rdfRemoteMta = lens _rdfRemoteMta (\ s a -> s{_rdfRemoteMta = a});++-- | The email address that the message was ultimately delivered to. This corresponds to the @Final-Recipient@ in the DSN. If not specified, @FinalRecipient@ will be set to the @Recipient@ specified in the @BouncedRecipientInfo@ structure. Either @FinalRecipient@ or the recipient in @BouncedRecipientInfo@ must be a recipient of the original bounced message.+rdfFinalRecipient :: Lens' RecipientDsnFields (Maybe Text)+rdfFinalRecipient = lens _rdfFinalRecipient (\ s a -> s{_rdfFinalRecipient = a});++-- | Additional X-headers to include in the DSN.+rdfExtensionFields :: Lens' RecipientDsnFields [ExtensionField]+rdfExtensionFields = lens _rdfExtensionFields (\ s a -> s{_rdfExtensionFields = a}) . _Default . _Coerce;++-- | The time the final delivery attempt was made, in <https://www.ietf.org/rfc/rfc0822.txt RFC 822> date-time format.+rdfLastAttemptDate :: Lens' RecipientDsnFields (Maybe UTCTime)+rdfLastAttemptDate = lens _rdfLastAttemptDate (\ s a -> s{_rdfLastAttemptDate = a}) . mapping _Time;++-- | 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 <https://tools.ietf.org/html/rfc3464 RFC 3464> .+rdfAction :: Lens' RecipientDsnFields DsnAction+rdfAction = lens _rdfAction (\ s a -> s{_rdfAction = a});++-- | The status code that indicates what went wrong. This is required by <https://tools.ietf.org/html/rfc3464 RFC 3464> .+rdfStatus :: Lens' RecipientDsnFields Text+rdfStatus = lens _rdfStatus (\ s a -> s{_rdfStatus = a});++instance Hashable RecipientDsnFields where++instance NFData RecipientDsnFields where++instance ToQuery RecipientDsnFields where+        toQuery RecipientDsnFields'{..}+          = mconcat+              ["DiagnosticCode" =: _rdfDiagnosticCode,+               "RemoteMta" =: _rdfRemoteMta,+               "FinalRecipient" =: _rdfFinalRecipient,+               "ExtensionFields" =:+                 toQuery+                   (toQueryList "member" <$> _rdfExtensionFields),+               "LastAttemptDate" =: _rdfLastAttemptDate,+               "Action" =: _rdfAction, "Status" =: _rdfStatus]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> .+--+-- For information about specifying Amazon S3 actions in receipt rules, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-s3.html Amazon SES Developer Guide> .+--+--+-- /See:/ 's3Action' smart constructor.+data S3Action = S3Action'+  { _s3KMSKeyARN       :: !(Maybe Text)+  , _s3TopicARN        :: !(Maybe Text)+  , _s3ObjectKeyPrefix :: !(Maybe Text)+  , _s3BucketName      :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'S3Action' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 's3KMSKeyARN' - 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 @arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses@ . 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 @arn:aws:kms:us-west-2:123456789012:alias/aws/ses@ . 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> . For more information about key policies, see the <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html AWS KMS Developer Guide> . If you do not specify a master key, Amazon SES will not encrypt your emails. /Important:/ 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 <http://aws.amazon.com/sdk-for-java/ AWS Java SDK> and <http://aws.amazon.com/sdk-for-ruby/ AWS Ruby SDK> only. For more information about client-side encryption using AWS KMS master keys, see the <AmazonS3/latest/dev/UsingClientSideEncryption.html Amazon S3 Developer Guide> .+--+-- * 's3TopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+--+-- * 's3ObjectKeyPrefix' - 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.+--+-- * 's3BucketName' - The name of the Amazon S3 bucket that incoming email will be saved to.+s3Action+    :: Text -- ^ 's3BucketName'+    -> S3Action+s3Action pBucketName_ =+  S3Action'+  { _s3KMSKeyARN = Nothing+  , _s3TopicARN = Nothing+  , _s3ObjectKeyPrefix = Nothing+  , _s3BucketName = pBucketName_+  }+++-- | 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 @arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses@ . 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 @arn:aws:kms:us-west-2:123456789012:alias/aws/ses@ . 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> . For more information about key policies, see the <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html AWS KMS Developer Guide> . If you do not specify a master key, Amazon SES will not encrypt your emails. /Important:/ 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 <http://aws.amazon.com/sdk-for-java/ AWS Java SDK> and <http://aws.amazon.com/sdk-for-ruby/ AWS Ruby SDK> only. For more information about client-side encryption using AWS KMS master keys, see the <AmazonS3/latest/dev/UsingClientSideEncryption.html Amazon S3 Developer Guide> .+s3KMSKeyARN :: Lens' S3Action (Maybe Text)+s3KMSKeyARN = lens _s3KMSKeyARN (\ s a -> s{_s3KMSKeyARN = 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+s3TopicARN :: Lens' S3Action (Maybe Text)+s3TopicARN = lens _s3TopicARN (\ s a -> s{_s3TopicARN = 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.+s3ObjectKeyPrefix :: Lens' S3Action (Maybe Text)+s3ObjectKeyPrefix = lens _s3ObjectKeyPrefix (\ s a -> s{_s3ObjectKeyPrefix = a});++-- | The name of the Amazon S3 bucket that incoming email will be saved to.+s3BucketName :: Lens' S3Action Text+s3BucketName = lens _s3BucketName (\ s a -> s{_s3BucketName = a});++instance FromXML S3Action where+        parseXML x+          = S3Action' <$>+              (x .@? "KmsKeyArn") <*> (x .@? "TopicArn") <*>+                (x .@? "ObjectKeyPrefix")+                <*> (x .@ "BucketName")++instance Hashable S3Action where++instance NFData S3Action where++instance ToQuery S3Action where+        toQuery S3Action'{..}+          = mconcat+              ["KmsKeyArn" =: _s3KMSKeyARN,+               "TopicArn" =: _s3TopicARN,+               "ObjectKeyPrefix" =: _s3ObjectKeyPrefix,+               "BucketName" =: _s3BucketName]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html Amazon SES Developer Guide> .+--+-- /Important:/ 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-sns.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'snsAction' smart constructor.+data SNSAction = SNSAction'+  { _saEncoding :: !(Maybe SNSActionEncoding)+  , _saTopicARN :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SNSAction' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'saEncoding' - 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.+--+-- * 'saTopicARN' - The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+snsAction+    :: Text -- ^ 'saTopicARN'+    -> SNSAction+snsAction pTopicARN_ =+  SNSAction' {_saEncoding = Nothing, _saTopicARN = pTopicARN_}+++-- | 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)+saEncoding = lens _saEncoding (\ s a -> s{_saEncoding = a});++-- | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+saTopicARN :: Lens' SNSAction Text+saTopicARN = lens _saTopicARN (\ s a -> s{_saTopicARN = a});++instance FromXML SNSAction where+        parseXML x+          = SNSAction' <$>+              (x .@? "Encoding") <*> (x .@ "TopicArn")++instance Hashable SNSAction where++instance NFData SNSAction where++instance ToQuery SNSAction where+        toQuery SNSAction'{..}+          = mconcat+              ["Encoding" =: _saEncoding,+               "TopicArn" =: _saTopicARN]++-- | Contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.+--+--+-- Event destinations, such as Amazon SNS, are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'snsDestination' smart constructor.+newtype SNSDestination = SNSDestination'+  { _sdTopicARN :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SNSDestination' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sdTopicARN' - The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon SNS topic ARN is @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+snsDestination+    :: Text -- ^ 'sdTopicARN'+    -> SNSDestination+snsDestination pTopicARN_ = SNSDestination' {_sdTopicARN = pTopicARN_}+++-- | The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon SNS topic ARN is @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+sdTopicARN :: Lens' SNSDestination Text+sdTopicARN = lens _sdTopicARN (\ s a -> s{_sdTopicARN = a});++instance FromXML SNSDestination where+        parseXML x = SNSDestination' <$> (x .@ "TopicARN")++instance Hashable SNSDestination where++instance NFData SNSDestination where++instance ToQuery SNSDestination where+        toQuery SNSDestination'{..}+          = mconcat ["TopicARN" =: _sdTopicARN]++-- | Represents sending statistics data. Each @SendDataPoint@ contains statistics for a 15-minute period of sending activity.+--+--+--+-- /See:/ 'sendDataPoint' smart constructor.+data SendDataPoint = SendDataPoint'+  { _sdpRejects          :: !(Maybe Integer)+  , _sdpComplaints       :: !(Maybe Integer)+  , _sdpDeliveryAttempts :: !(Maybe Integer)+  , _sdpBounces          :: !(Maybe Integer)+  , _sdpTimestamp        :: !(Maybe ISO8601)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'SendDataPoint' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sdpRejects' - Number of emails rejected by Amazon SES.+--+-- * 'sdpComplaints' - Number of unwanted emails that were rejected by recipients.+--+-- * 'sdpDeliveryAttempts' - Number of emails that have been sent.+--+-- * 'sdpBounces' - Number of emails that have bounced.+--+-- * 'sdpTimestamp' - Time of the data point.+sendDataPoint+    :: SendDataPoint+sendDataPoint =+  SendDataPoint'+  { _sdpRejects = Nothing+  , _sdpComplaints = Nothing+  , _sdpDeliveryAttempts = Nothing+  , _sdpBounces = Nothing+  , _sdpTimestamp = Nothing+  }+++-- | Number of emails rejected by Amazon SES.+sdpRejects :: Lens' SendDataPoint (Maybe Integer)+sdpRejects = lens _sdpRejects (\ s a -> s{_sdpRejects = a});++-- | Number of unwanted emails that were rejected by recipients.+sdpComplaints :: Lens' SendDataPoint (Maybe Integer)+sdpComplaints = lens _sdpComplaints (\ s a -> s{_sdpComplaints = a});++-- | Number of emails that have been sent.+sdpDeliveryAttempts :: Lens' SendDataPoint (Maybe Integer)+sdpDeliveryAttempts = lens _sdpDeliveryAttempts (\ s a -> s{_sdpDeliveryAttempts = a});++-- | Number of emails that have bounced.+sdpBounces :: Lens' SendDataPoint (Maybe Integer)+sdpBounces = lens _sdpBounces (\ s a -> s{_sdpBounces = a});++-- | Time of the data point.+sdpTimestamp :: Lens' SendDataPoint (Maybe UTCTime)+sdpTimestamp = lens _sdpTimestamp (\ s a -> s{_sdpTimestamp = a}) . mapping _Time;++instance FromXML SendDataPoint where+        parseXML x+          = SendDataPoint' <$>+              (x .@? "Rejects") <*> (x .@? "Complaints") <*>+                (x .@? "DeliveryAttempts")+                <*> (x .@? "Bounces")+                <*> (x .@? "Timestamp")++instance Hashable SendDataPoint where++instance NFData SendDataPoint where++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-stop.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'stopAction' smart constructor.+data StopAction = StopAction'+  { _sTopicARN :: !(Maybe Text)+  , _sScope    :: !StopScope+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'StopAction' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'sTopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+--+-- * 'sScope' - The name of the RuleSet that is being stopped.+stopAction+    :: StopScope -- ^ 'sScope'+    -> StopAction+stopAction pScope_ = StopAction' {_sTopicARN = Nothing, _sScope = pScope_}+++-- | 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+sTopicARN :: Lens' StopAction (Maybe Text)+sTopicARN = lens _sTopicARN (\ s a -> s{_sTopicARN = a});++-- | The name of the RuleSet that is being stopped.+sScope :: Lens' StopAction StopScope+sScope = lens _sScope (\ s a -> s{_sScope = a});++instance FromXML StopAction where+        parseXML x+          = StopAction' <$>+              (x .@? "TopicArn") <*> (x .@ "Scope")++instance Hashable StopAction where++instance NFData StopAction where++instance ToQuery StopAction where+        toQuery StopAction'{..}+          = mconcat+              ["TopicArn" =: _sTopicARN, "Scope" =: _sScope]++-- | The content of the email, composed of a subject line, an HTML part, and a text-only part.+--+--+--+-- /See:/ 'template' smart constructor.+data Template = Template'+  { _tTextPart     :: !(Maybe Text)+  , _tSubjectPart  :: !(Maybe Text)+  , _tHTMLPart     :: !(Maybe Text)+  , _tTemplateName :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'Template' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'tTextPart' - The email body that will be visible to recipients whose email clients do not display HTML.+--+-- * 'tSubjectPart' - The subject line of the email.+--+-- * 'tHTMLPart' - The HTML body of the email.+--+-- * 'tTemplateName' - The name of the template. You will refer to this name when you send email using the @SendTemplatedEmail@ or @SendBulkTemplatedEmail@ operations.+template+    :: Text -- ^ 'tTemplateName'+    -> Template+template pTemplateName_ =+  Template'+  { _tTextPart = Nothing+  , _tSubjectPart = Nothing+  , _tHTMLPart = Nothing+  , _tTemplateName = pTemplateName_+  }+++-- | The email body that will be visible to recipients whose email clients do not display HTML.+tTextPart :: Lens' Template (Maybe Text)+tTextPart = lens _tTextPart (\ s a -> s{_tTextPart = a});++-- | The subject line of the email.+tSubjectPart :: Lens' Template (Maybe Text)+tSubjectPart = lens _tSubjectPart (\ s a -> s{_tSubjectPart = a});++-- | The HTML body of the email.+tHTMLPart :: Lens' Template (Maybe Text)+tHTMLPart = lens _tHTMLPart (\ s a -> s{_tHTMLPart = a});++-- | The name of the template. You will refer to this name when you send email using the @SendTemplatedEmail@ or @SendBulkTemplatedEmail@ operations.+tTemplateName :: Lens' Template Text+tTemplateName = lens _tTemplateName (\ s a -> s{_tTemplateName = a});++instance FromXML Template where+        parseXML x+          = Template' <$>+              (x .@? "TextPart") <*> (x .@? "SubjectPart") <*>+                (x .@? "HtmlPart")+                <*> (x .@ "TemplateName")++instance Hashable Template where++instance NFData Template where++instance ToQuery Template where+        toQuery Template'{..}+          = mconcat+              ["TextPart" =: _tTextPart,+               "SubjectPart" =: _tSubjectPart,+               "HtmlPart" =: _tHTMLPart,+               "TemplateName" =: _tTemplateName]++-- | Information about an email template.+--+--+--+-- /See:/ 'templateMetadata' smart constructor.+data TemplateMetadata = TemplateMetadata'+  { _tmName             :: !(Maybe Text)+  , _tmCreatedTimestamp :: !(Maybe ISO8601)+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'TemplateMetadata' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'tmName' - The name of the template.+--+-- * 'tmCreatedTimestamp' - The time and date the template was created.+templateMetadata+    :: TemplateMetadata+templateMetadata =+  TemplateMetadata' {_tmName = Nothing, _tmCreatedTimestamp = Nothing}+++-- | The name of the template.+tmName :: Lens' TemplateMetadata (Maybe Text)+tmName = lens _tmName (\ s a -> s{_tmName = a});++-- | The time and date the template was created.+tmCreatedTimestamp :: Lens' TemplateMetadata (Maybe UTCTime)+tmCreatedTimestamp = lens _tmCreatedTimestamp (\ s a -> s{_tmCreatedTimestamp = a}) . mapping _Time;++instance FromXML TemplateMetadata where+        parseXML x+          = TemplateMetadata' <$>+              (x .@? "Name") <*> (x .@? "CreatedTimestamp")++instance Hashable TemplateMetadata where++instance NFData TemplateMetadata where++-- | A domain that is used to redirect email recipients to an Amazon SES-operated domain. This domain captures open and click events generated by Amazon SES emails.+--+--+-- For more information, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html Configuring Custom Domains to Handle Open and Click Tracking> in the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'trackingOptions' smart constructor.+newtype TrackingOptions = TrackingOptions'+  { _toCustomRedirectDomain :: Maybe Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'TrackingOptions' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'toCustomRedirectDomain' - The custom subdomain that will be used to redirect email recipients to the Amazon SES event tracking domain.+trackingOptions+    :: TrackingOptions+trackingOptions = TrackingOptions' {_toCustomRedirectDomain = Nothing}+++-- | The custom subdomain that will be used to redirect email recipients to the Amazon SES event tracking domain.+toCustomRedirectDomain :: Lens' TrackingOptions (Maybe Text)+toCustomRedirectDomain = lens _toCustomRedirectDomain (\ s a -> s{_toCustomRedirectDomain = a});++instance FromXML TrackingOptions where+        parseXML x+          = TrackingOptions' <$> (x .@? "CustomRedirectDomain")++instance Hashable TrackingOptions where++instance NFData TrackingOptions where++instance ToQuery TrackingOptions where+        toQuery TrackingOptions'{..}+          = mconcat+              ["CustomRedirectDomain" =: _toCustomRedirectDomain]++-- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-workmail.html Amazon SES Developer Guide> .+--+--+-- /See:/ 'workmailAction' smart constructor.+data WorkmailAction = WorkmailAction'+  { _waTopicARN        :: !(Maybe Text)+  , _waOrganizationARN :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'WorkmailAction' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'waTopicARN' - 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+--+-- * 'waOrganizationARN' - The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is @arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7@ . For information about Amazon WorkMail organizations, see the <http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html Amazon WorkMail Administrator Guide> .+workmailAction+    :: Text -- ^ 'waOrganizationARN'+    -> WorkmailAction+workmailAction pOrganizationARN_ =+  WorkmailAction'+  {_waTopicARN = Nothing, _waOrganizationARN = pOrganizationARN_}+++-- | 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 @arn:aws:sns:us-west-2:123456789012:MyTopic@ . For more information about Amazon SNS topics, see the <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html Amazon SNS Developer Guide> .+waTopicARN :: Lens' WorkmailAction (Maybe Text)+waTopicARN = lens _waTopicARN (\ s a -> s{_waTopicARN = a});++-- | The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is @arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7@ . For information about Amazon WorkMail organizations, see the <http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html Amazon WorkMail Administrator Guide> .+waOrganizationARN :: Lens' WorkmailAction Text+waOrganizationARN = lens _waOrganizationARN (\ s a -> s{_waOrganizationARN = a});++instance FromXML WorkmailAction where+        parseXML x+          = WorkmailAction' <$>+              (x .@? "TopicArn") <*> (x .@ "OrganizationArn")++instance Hashable WorkmailAction where++instance NFData WorkmailAction where  instance ToQuery WorkmailAction where         toQuery WorkmailAction'{..}
gen/Network/AWS/SES/Types/Sum.hs view
@@ -9,21 +9,22 @@  -- | -- Module      : Network.AWS.SES.Types.Sum--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- module Network.AWS.SES.Types.Sum where -import           Network.AWS.Prelude+import Network.AWS.Prelude  data BehaviorOnMXFailure-    = RejectMessage-    | UseDefaultValue-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = RejectMessage+  | UseDefaultValue+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText BehaviorOnMXFailure where     parser = takeLowerText >>= \case         "rejectmessage" -> pure RejectMessage@@ -46,33 +47,34 @@     parseXML = parseXMLText "BehaviorOnMXFailure"  data BounceType-    = BTContentRejected-    | BTDoesNotExist-    | BTExceededQuota-    | BTMessageTooLarge-    | BTTemporaryFailure-    | BTUndefined-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = ContentRejected+  | DoesNotExist+  | ExceededQuota+  | MessageTooLarge+  | TemporaryFailure+  | Undefined+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText BounceType where     parser = takeLowerText >>= \case-        "contentrejected" -> pure BTContentRejected-        "doesnotexist" -> pure BTDoesNotExist-        "exceededquota" -> pure BTExceededQuota-        "messagetoolarge" -> pure BTMessageTooLarge-        "temporaryfailure" -> pure BTTemporaryFailure-        "undefined" -> pure BTUndefined+        "contentrejected" -> pure ContentRejected+        "doesnotexist" -> pure DoesNotExist+        "exceededquota" -> pure ExceededQuota+        "messagetoolarge" -> pure MessageTooLarge+        "temporaryfailure" -> pure TemporaryFailure+        "undefined" -> pure Undefined         e -> fromTextError $ "Failure parsing BounceType from value: '" <> e            <> "'. Accepted values: contentrejected, doesnotexist, exceededquota, messagetoolarge, temporaryfailure, undefined"  instance ToText BounceType where     toText = \case-        BTContentRejected -> "ContentRejected"-        BTDoesNotExist -> "DoesNotExist"-        BTExceededQuota -> "ExceededQuota"-        BTMessageTooLarge -> "MessageTooLarge"-        BTTemporaryFailure -> "TemporaryFailure"-        BTUndefined -> "Undefined"+        ContentRejected -> "ContentRejected"+        DoesNotExist -> "DoesNotExist"+        ExceededQuota -> "ExceededQuota"+        MessageTooLarge -> "MessageTooLarge"+        TemporaryFailure -> "TemporaryFailure"+        Undefined -> "Undefined"  instance Hashable     BounceType instance NFData       BounceType@@ -80,19 +82,80 @@ instance ToQuery      BounceType instance ToHeader     BounceType -data ConfigurationSetAttribute =-    EventDestinations-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+data BulkEmailStatus+  = AccountDailyQuotaExceeded+  | AccountSuspended+  | AccountThrottled+  | ConfigurationSetDoesNotExist+  | Failed+  | InvalidParameterValue+  | InvalidSendingPoolName+  | MailFromDomainNotVerified+  | MessageRejected+  | Success+  | TemplateDoesNotExist+  | TransientFailure+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) ++instance FromText BulkEmailStatus where+    parser = takeLowerText >>= \case+        "accountdailyquotaexceeded" -> pure AccountDailyQuotaExceeded+        "accountsuspended" -> pure AccountSuspended+        "accountthrottled" -> pure AccountThrottled+        "configurationsetdoesnotexist" -> pure ConfigurationSetDoesNotExist+        "failed" -> pure Failed+        "invalidparametervalue" -> pure InvalidParameterValue+        "invalidsendingpoolname" -> pure InvalidSendingPoolName+        "mailfromdomainnotverified" -> pure MailFromDomainNotVerified+        "messagerejected" -> pure MessageRejected+        "success" -> pure Success+        "templatedoesnotexist" -> pure TemplateDoesNotExist+        "transientfailure" -> pure TransientFailure+        e -> fromTextError $ "Failure parsing BulkEmailStatus from value: '" <> e+           <> "'. Accepted values: accountdailyquotaexceeded, accountsuspended, accountthrottled, configurationsetdoesnotexist, failed, invalidparametervalue, invalidsendingpoolname, mailfromdomainnotverified, messagerejected, success, templatedoesnotexist, transientfailure"++instance ToText BulkEmailStatus where+    toText = \case+        AccountDailyQuotaExceeded -> "AccountDailyQuotaExceeded"+        AccountSuspended -> "AccountSuspended"+        AccountThrottled -> "AccountThrottled"+        ConfigurationSetDoesNotExist -> "ConfigurationSetDoesNotExist"+        Failed -> "Failed"+        InvalidParameterValue -> "InvalidParameterValue"+        InvalidSendingPoolName -> "InvalidSendingPoolName"+        MailFromDomainNotVerified -> "MailFromDomainNotVerified"+        MessageRejected -> "MessageRejected"+        Success -> "Success"+        TemplateDoesNotExist -> "TemplateDoesNotExist"+        TransientFailure -> "TransientFailure"++instance Hashable     BulkEmailStatus+instance NFData       BulkEmailStatus+instance ToByteString BulkEmailStatus+instance ToQuery      BulkEmailStatus+instance ToHeader     BulkEmailStatus++instance FromXML BulkEmailStatus where+    parseXML = parseXMLText "BulkEmailStatus"++data ConfigurationSetAttribute+  = EventDestinations+  | TrackingOptions+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)++ instance FromText ConfigurationSetAttribute where     parser = takeLowerText >>= \case         "eventdestinations" -> pure EventDestinations+        "trackingoptions" -> pure TrackingOptions         e -> fromTextError $ "Failure parsing ConfigurationSetAttribute from value: '" <> e-           <> "'. Accepted values: eventdestinations"+           <> "'. Accepted values: eventdestinations, trackingoptions"  instance ToText ConfigurationSetAttribute where     toText = \case         EventDestinations -> "eventDestinations"+        TrackingOptions -> "trackingOptions"  instance Hashable     ConfigurationSetAttribute instance NFData       ConfigurationSetAttribute@@ -101,12 +164,13 @@ instance ToHeader     ConfigurationSetAttribute  data CustomMailFromStatus-    = CMFSFailed-    | CMFSPending-    | CMFSSuccess-    | CMFSTemporaryFailure-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = CMFSFailed+  | CMFSPending+  | CMFSSuccess+  | CMFSTemporaryFailure+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText CustomMailFromStatus where     parser = takeLowerText >>= \case         "failed" -> pure CMFSFailed@@ -133,20 +197,24 @@     parseXML = parseXMLText "CustomMailFromStatus"  data DimensionValueSource-    = EmailHeader-    | MessageTag-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = EmailHeader+  | LinkTag+  | MessageTag+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText DimensionValueSource where     parser = takeLowerText >>= \case         "emailheader" -> pure EmailHeader+        "linktag" -> pure LinkTag         "messagetag" -> pure MessageTag         e -> fromTextError $ "Failure parsing DimensionValueSource from value: '" <> e-           <> "'. Accepted values: emailheader, messagetag"+           <> "'. Accepted values: emailheader, linktag, messagetag"  instance ToText DimensionValueSource where     toText = \case         EmailHeader -> "emailHeader"+        LinkTag -> "linkTag"         MessageTag -> "messageTag"  instance Hashable     DimensionValueSource@@ -159,13 +227,14 @@     parseXML = parseXMLText "DimensionValueSource"  data DsnAction-    = DADelayed-    | DADelivered-    | DAExpanded-    | DAFailed-    | DARelayed-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = DADelayed+  | DADelivered+  | DAExpanded+  | DAFailed+  | DARelayed+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText DsnAction where     parser = takeLowerText >>= \case         "delayed" -> pure DADelayed@@ -191,29 +260,39 @@ instance ToHeader     DsnAction  data EventType-    = ETBounce-    | ETComplaint-    | ETDelivery-    | ETReject-    | ETSend-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = ETBounce+  | ETClick+  | ETComplaint+  | ETDelivery+  | ETOpen+  | ETReject+  | ETRenderingFailure+  | ETSend+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText EventType where     parser = takeLowerText >>= \case         "bounce" -> pure ETBounce+        "click" -> pure ETClick         "complaint" -> pure ETComplaint         "delivery" -> pure ETDelivery+        "open" -> pure ETOpen         "reject" -> pure ETReject+        "renderingfailure" -> pure ETRenderingFailure         "send" -> pure ETSend         e -> fromTextError $ "Failure parsing EventType from value: '" <> e-           <> "'. Accepted values: bounce, complaint, delivery, reject, send"+           <> "'. Accepted values: bounce, click, complaint, delivery, open, reject, renderingfailure, send"  instance ToText EventType where     toText = \case         ETBounce -> "bounce"+        ETClick -> "click"         ETComplaint -> "complaint"         ETDelivery -> "delivery"+        ETOpen -> "open"         ETReject -> "reject"+        ETRenderingFailure -> "renderingFailure"         ETSend -> "send"  instance Hashable     EventType@@ -226,10 +305,11 @@     parseXML = parseXMLText "EventType"  data IdentityType-    = Domain-    | EmailAddress-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = Domain+  | EmailAddress+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText IdentityType where     parser = takeLowerText >>= \case         "domain" -> pure Domain@@ -249,10 +329,11 @@ instance ToHeader     IdentityType  data InvocationType-    = Event-    | RequestResponse-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = Event+  | RequestResponse+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText InvocationType where     parser = takeLowerText >>= \case         "event" -> pure Event@@ -275,11 +356,12 @@     parseXML = parseXMLText "InvocationType"  data NotificationType-    = Bounce-    | Complaint-    | Delivery-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = Bounce+  | Complaint+  | Delivery+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText NotificationType where     parser = takeLowerText >>= \case         "bounce" -> pure Bounce@@ -301,10 +383,11 @@ instance ToHeader     NotificationType  data ReceiptFilterPolicy-    = Allow-    | Block-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = Allow+  | Block+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText ReceiptFilterPolicy where     parser = takeLowerText >>= \case         "allow" -> pure Allow@@ -327,10 +410,11 @@     parseXML = parseXMLText "ReceiptFilterPolicy"  data SNSActionEncoding-    = BASE64-    | Utf8-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = BASE64+  | Utf8+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText SNSActionEncoding where     parser = takeLowerText >>= \case         "base64" -> pure BASE64@@ -353,9 +437,10 @@     parseXML = parseXMLText "SNSActionEncoding"  data StopScope =-    RuleSet-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  RuleSet+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText StopScope where     parser = takeLowerText >>= \case         "ruleset" -> pure RuleSet@@ -376,10 +461,11 @@     parseXML = parseXMLText "StopScope"  data TLSPolicy-    = Optional-    | Require-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = Optional+  | Require+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText TLSPolicy where     parser = takeLowerText >>= \case         "optional" -> pure Optional@@ -402,30 +488,31 @@     parseXML = parseXMLText "TLSPolicy"  data VerificationStatus-    = Failed-    | NotStarted-    | Pending-    | Success-    | TemporaryFailure-    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+  = VSFailed+  | VSNotStarted+  | VSPending+  | VSSuccess+  | VSTemporaryFailure+  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText VerificationStatus where     parser = takeLowerText >>= \case-        "failed" -> pure Failed-        "notstarted" -> pure NotStarted-        "pending" -> pure Pending-        "success" -> pure Success-        "temporaryfailure" -> pure TemporaryFailure+        "failed" -> pure VSFailed+        "notstarted" -> pure VSNotStarted+        "pending" -> pure VSPending+        "success" -> pure VSSuccess+        "temporaryfailure" -> pure VSTemporaryFailure         e -> fromTextError $ "Failure parsing VerificationStatus from value: '" <> e            <> "'. Accepted values: failed, notstarted, pending, success, temporaryfailure"  instance ToText VerificationStatus where     toText = \case-        Failed -> "Failed"-        NotStarted -> "NotStarted"-        Pending -> "Pending"-        Success -> "Success"-        TemporaryFailure -> "TemporaryFailure"+        VSFailed -> "Failed"+        VSNotStarted -> "NotStarted"+        VSPending -> "Pending"+        VSSuccess -> "Success"+        VSTemporaryFailure -> "TemporaryFailure"  instance Hashable     VerificationStatus instance NFData       VerificationStatus
gen/Network/AWS/SES/UpdateConfigurationSetEventDestination.hs view
@@ -12,18 +12,16 @@  -- | -- Module      : Network.AWS.SES.UpdateConfigurationSetEventDestination--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the event destination of a configuration set.+-- 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, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Monitoring Your Amazon SES Sending Activity> in the /Amazon SES Developer Guide./ -- ----- 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> .------ This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.UpdateConfigurationSetEventDestination     (@@ -41,12 +39,12 @@     , ucsedrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html Amazon SES Developer Guide> . --@@ -54,15 +52,16 @@ -- -- /See:/ 'updateConfigurationSetEventDestination' smart constructor. data UpdateConfigurationSetEventDestination = UpdateConfigurationSetEventDestination'-    { _ucsedConfigurationSetName :: !Text-    , _ucsedEventDestination     :: !EventDestination-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _ucsedConfigurationSetName :: !Text+  , _ucsedEventDestination     :: !EventDestination+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateConfigurationSetEventDestination' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ucsedConfigurationSetName' - The name of the configuration set that you want to update.+-- * 'ucsedConfigurationSetName' - The name of the configuration set that contains the event destination that you want to update. -- -- * 'ucsedEventDestination' - The event destination object that you want to apply to the specified configuration set. updateConfigurationSetEventDestination@@ -70,12 +69,13 @@     -> EventDestination -- ^ 'ucsedEventDestination'     -> UpdateConfigurationSetEventDestination updateConfigurationSetEventDestination pConfigurationSetName_ pEventDestination_ =-    UpdateConfigurationSetEventDestination'-    { _ucsedConfigurationSetName = pConfigurationSetName_-    , _ucsedEventDestination = pEventDestination_-    }+  UpdateConfigurationSetEventDestination'+  { _ucsedConfigurationSetName = pConfigurationSetName_+  , _ucsedEventDestination = pEventDestination_+  } --- | The name of the configuration set that you want to update.++-- | The name of the configuration set that contains the event destination that you want to update. ucsedConfigurationSetName :: Lens' UpdateConfigurationSetEventDestination Text ucsedConfigurationSetName = lens _ucsedConfigurationSetName (\ s a -> s{_ucsedConfigurationSetName = a}); @@ -84,7 +84,8 @@ ucsedEventDestination = lens _ucsedEventDestination (\ s a -> s{_ucsedEventDestination = a});  instance AWSRequest-         UpdateConfigurationSetEventDestination where+           UpdateConfigurationSetEventDestination+         where         type Rs UpdateConfigurationSetEventDestination =              UpdateConfigurationSetEventDestinationResponse         request = postQuery ses@@ -96,21 +97,26 @@                    (pure (fromEnum s)))  instance Hashable-         UpdateConfigurationSetEventDestination+           UpdateConfigurationSetEventDestination+         where  instance NFData-         UpdateConfigurationSetEventDestination+           UpdateConfigurationSetEventDestination+         where  instance ToHeaders-         UpdateConfigurationSetEventDestination where+           UpdateConfigurationSetEventDestination+         where         toHeaders = const mempty  instance ToPath-         UpdateConfigurationSetEventDestination where+           UpdateConfigurationSetEventDestination+         where         toPath = const "/"  instance ToQuery-         UpdateConfigurationSetEventDestination where+           UpdateConfigurationSetEventDestination+         where         toQuery UpdateConfigurationSetEventDestination'{..}           = mconcat               ["Action" =:@@ -126,9 +132,10 @@ -- -- /See:/ 'updateConfigurationSetEventDestinationResponse' smart constructor. newtype UpdateConfigurationSetEventDestinationResponse = UpdateConfigurationSetEventDestinationResponse'-    { _ucsedrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _ucsedrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateConfigurationSetEventDestinationResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -138,13 +145,14 @@     :: Int -- ^ 'ucsedrsResponseStatus'     -> UpdateConfigurationSetEventDestinationResponse updateConfigurationSetEventDestinationResponse pResponseStatus_ =-    UpdateConfigurationSetEventDestinationResponse'-    { _ucsedrsResponseStatus = pResponseStatus_-    }+  UpdateConfigurationSetEventDestinationResponse'+  {_ucsedrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. ucsedrsResponseStatus :: Lens' UpdateConfigurationSetEventDestinationResponse Int ucsedrsResponseStatus = lens _ucsedrsResponseStatus (\ s a -> s{_ucsedrsResponseStatus = a});  instance NFData-         UpdateConfigurationSetEventDestinationResponse+           UpdateConfigurationSetEventDestinationResponse+         where
+ gen/Network/AWS/SES/UpdateConfigurationSetTrackingOptions.hs view
@@ -0,0 +1,156 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.UpdateConfigurationSetTrackingOptions+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies an association between a configuration set and a custom domain for open and click event tracking.+--+--+-- By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using configuration sets, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html Configuring Custom Domains to Handle Open and Click Tracking> in the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html Amazon SES Developer Guide> .+--+module Network.AWS.SES.UpdateConfigurationSetTrackingOptions+    (+    -- * Creating a Request+      updateConfigurationSetTrackingOptions+    , UpdateConfigurationSetTrackingOptions+    -- * Request Lenses+    , ucstoConfigurationSetName+    , ucstoTrackingOptions++    -- * Destructuring the Response+    , updateConfigurationSetTrackingOptionsResponse+    , UpdateConfigurationSetTrackingOptionsResponse+    -- * Response Lenses+    , ucstorsResponseStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | Represents a request to update the tracking options for a configuration set.+--+--+--+-- /See:/ 'updateConfigurationSetTrackingOptions' smart constructor.+data UpdateConfigurationSetTrackingOptions = UpdateConfigurationSetTrackingOptions'+  { _ucstoConfigurationSetName :: !Text+  , _ucstoTrackingOptions      :: !TrackingOptions+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateConfigurationSetTrackingOptions' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ucstoConfigurationSetName' - The name of the configuration set for which you want to update the custom tracking domain.+--+-- * 'ucstoTrackingOptions' - Undocumented member.+updateConfigurationSetTrackingOptions+    :: Text -- ^ 'ucstoConfigurationSetName'+    -> TrackingOptions -- ^ 'ucstoTrackingOptions'+    -> UpdateConfigurationSetTrackingOptions+updateConfigurationSetTrackingOptions pConfigurationSetName_ pTrackingOptions_ =+  UpdateConfigurationSetTrackingOptions'+  { _ucstoConfigurationSetName = pConfigurationSetName_+  , _ucstoTrackingOptions = pTrackingOptions_+  }+++-- | The name of the configuration set for which you want to update the custom tracking domain.+ucstoConfigurationSetName :: Lens' UpdateConfigurationSetTrackingOptions Text+ucstoConfigurationSetName = lens _ucstoConfigurationSetName (\ s a -> s{_ucstoConfigurationSetName = a});++-- | Undocumented member.+ucstoTrackingOptions :: Lens' UpdateConfigurationSetTrackingOptions TrackingOptions+ucstoTrackingOptions = lens _ucstoTrackingOptions (\ s a -> s{_ucstoTrackingOptions = a});++instance AWSRequest+           UpdateConfigurationSetTrackingOptions+         where+        type Rs UpdateConfigurationSetTrackingOptions =+             UpdateConfigurationSetTrackingOptionsResponse+        request = postQuery ses+        response+          = receiveXMLWrapper+              "UpdateConfigurationSetTrackingOptionsResult"+              (\ s h x ->+                 UpdateConfigurationSetTrackingOptionsResponse' <$>+                   (pure (fromEnum s)))++instance Hashable+           UpdateConfigurationSetTrackingOptions+         where++instance NFData UpdateConfigurationSetTrackingOptions+         where++instance ToHeaders+           UpdateConfigurationSetTrackingOptions+         where+        toHeaders = const mempty++instance ToPath UpdateConfigurationSetTrackingOptions+         where+        toPath = const "/"++instance ToQuery+           UpdateConfigurationSetTrackingOptions+         where+        toQuery UpdateConfigurationSetTrackingOptions'{..}+          = mconcat+              ["Action" =:+                 ("UpdateConfigurationSetTrackingOptions" ::+                    ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "ConfigurationSetName" =: _ucstoConfigurationSetName,+               "TrackingOptions" =: _ucstoTrackingOptions]++-- | An empty element returned on a successful request.+--+--+--+-- /See:/ 'updateConfigurationSetTrackingOptionsResponse' smart constructor.+newtype UpdateConfigurationSetTrackingOptionsResponse = UpdateConfigurationSetTrackingOptionsResponse'+  { _ucstorsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateConfigurationSetTrackingOptionsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ucstorsResponseStatus' - -- | The response status code.+updateConfigurationSetTrackingOptionsResponse+    :: Int -- ^ 'ucstorsResponseStatus'+    -> UpdateConfigurationSetTrackingOptionsResponse+updateConfigurationSetTrackingOptionsResponse pResponseStatus_ =+  UpdateConfigurationSetTrackingOptionsResponse'+  {_ucstorsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+ucstorsResponseStatus :: Lens' UpdateConfigurationSetTrackingOptionsResponse Int+ucstorsResponseStatus = lens _ucstorsResponseStatus (\ s a -> s{_ucstorsResponseStatus = a});++instance NFData+           UpdateConfigurationSetTrackingOptionsResponse+         where
gen/Network/AWS/SES/UpdateReceiptRule.hs view
@@ -12,9 +12,9 @@  -- | -- Module      : Network.AWS.SES.UpdateReceiptRule--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --@@ -23,7 +23,7 @@ -- -- For information about managing receipt rules, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html Amazon SES Developer Guide> . ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.UpdateReceiptRule     (@@ -41,12 +41,12 @@     , urrrsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to update a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html Amazon SES Developer Guide> . --@@ -54,15 +54,16 @@ -- -- /See:/ 'updateReceiptRule' smart constructor. data UpdateReceiptRule = UpdateReceiptRule'-    { _urrRuleSetName :: !Text-    , _urrRule        :: !ReceiptRule-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _urrRuleSetName :: !Text+  , _urrRule        :: !ReceiptRule+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateReceiptRule' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'urrRuleSetName' - The name of the receipt rule set to which the receipt rule belongs.+-- * 'urrRuleSetName' - The name of the receipt rule set that the receipt rule belongs to. -- -- * 'urrRule' - A data structure that contains the updated receipt rule information. updateReceiptRule@@ -70,12 +71,10 @@     -> ReceiptRule -- ^ 'urrRule'     -> UpdateReceiptRule updateReceiptRule pRuleSetName_ pRule_ =-    UpdateReceiptRule'-    { _urrRuleSetName = pRuleSetName_-    , _urrRule = pRule_-    }+  UpdateReceiptRule' {_urrRuleSetName = pRuleSetName_, _urrRule = pRule_} --- | The name of the receipt rule set to which the receipt rule belongs.++-- | The name of the receipt rule set that the receipt rule belongs to. urrRuleSetName :: Lens' UpdateReceiptRule Text urrRuleSetName = lens _urrRuleSetName (\ s a -> s{_urrRuleSetName = a}); @@ -91,9 +90,9 @@               (\ s h x ->                  UpdateReceiptRuleResponse' <$> (pure (fromEnum s))) -instance Hashable UpdateReceiptRule+instance Hashable UpdateReceiptRule where -instance NFData UpdateReceiptRule+instance NFData UpdateReceiptRule where  instance ToHeaders UpdateReceiptRule where         toHeaders = const mempty@@ -114,9 +113,10 @@ -- -- /See:/ 'updateReceiptRuleResponse' smart constructor. newtype UpdateReceiptRuleResponse = UpdateReceiptRuleResponse'-    { _urrrsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _urrrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateReceiptRuleResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -126,12 +126,11 @@     :: Int -- ^ 'urrrsResponseStatus'     -> UpdateReceiptRuleResponse updateReceiptRuleResponse pResponseStatus_ =-    UpdateReceiptRuleResponse'-    { _urrrsResponseStatus = pResponseStatus_-    }+  UpdateReceiptRuleResponse' {_urrrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. urrrsResponseStatus :: Lens' UpdateReceiptRuleResponse Int urrrsResponseStatus = lens _urrrsResponseStatus (\ s a -> s{_urrrsResponseStatus = a}); -instance NFData UpdateReceiptRuleResponse+instance NFData UpdateReceiptRuleResponse where
+ gen/Network/AWS/SES/UpdateTemplate.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.SES.UpdateTemplate+-- Copyright   : (c) 2013-2017 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html Amazon SES Developer Guide> .+--+--+-- You can execute this operation no more than once per second.+--+module Network.AWS.SES.UpdateTemplate+    (+    -- * Creating a Request+      updateTemplate+    , UpdateTemplate+    -- * Request Lenses+    , utTemplate++    -- * Destructuring the Response+    , updateTemplateResponse+    , UpdateTemplateResponse+    -- * Response Lenses+    , utrsResponseStatus+    ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product++-- | /See:/ 'updateTemplate' smart constructor.+newtype UpdateTemplate = UpdateTemplate'+  { _utTemplate :: Template+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateTemplate' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'utTemplate' - Undocumented member.+updateTemplate+    :: Template -- ^ 'utTemplate'+    -> UpdateTemplate+updateTemplate pTemplate_ = UpdateTemplate' {_utTemplate = pTemplate_}+++-- | Undocumented member.+utTemplate :: Lens' UpdateTemplate Template+utTemplate = lens _utTemplate (\ s a -> s{_utTemplate = a});++instance AWSRequest UpdateTemplate where+        type Rs UpdateTemplate = UpdateTemplateResponse+        request = postQuery ses+        response+          = receiveXMLWrapper "UpdateTemplateResult"+              (\ s h x ->+                 UpdateTemplateResponse' <$> (pure (fromEnum s)))++instance Hashable UpdateTemplate where++instance NFData UpdateTemplate where++instance ToHeaders UpdateTemplate where+        toHeaders = const mempty++instance ToPath UpdateTemplate where+        toPath = const "/"++instance ToQuery UpdateTemplate where+        toQuery UpdateTemplate'{..}+          = mconcat+              ["Action" =: ("UpdateTemplate" :: ByteString),+               "Version" =: ("2010-12-01" :: ByteString),+               "Template" =: _utTemplate]++-- | /See:/ 'updateTemplateResponse' smart constructor.+newtype UpdateTemplateResponse = UpdateTemplateResponse'+  { _utrsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateTemplateResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'utrsResponseStatus' - -- | The response status code.+updateTemplateResponse+    :: Int -- ^ 'utrsResponseStatus'+    -> UpdateTemplateResponse+updateTemplateResponse pResponseStatus_ =+  UpdateTemplateResponse' {_utrsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+utrsResponseStatus :: Lens' UpdateTemplateResponse Int+utrsResponseStatus = lens _utrsResponseStatus (\ s a -> s{_utrsResponseStatus = a});++instance NFData UpdateTemplateResponse where
gen/Network/AWS/SES/VerifyDomainDkim.hs view
@@ -12,18 +12,18 @@  -- | -- Module      : Network.AWS.SES.VerifyDomainDkim--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- -- Returns a set of DKIM tokens for a domain. DKIM /tokens/ 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.+-- You can execute this operation no more than once per second. ----- To enable or disable Easy DKIM signing for a domain, use the @SetIdentityDkimEnabled@ action.+-- To enable or disable Easy DKIM signing for a domain, use the @SetIdentityDkimEnabled@ operation. -- -- For more information about creating DNS records using DKIM tokens, go to the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html Amazon SES Developer Guide> . --@@ -43,12 +43,12 @@     , vddrsDkimTokens     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html Amazon SES Developer Guide> . --@@ -56,9 +56,10 @@ -- -- /See:/ 'verifyDomainDkim' smart constructor. newtype VerifyDomainDkim = VerifyDomainDkim'-    { _vddDomain :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _vddDomain :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'VerifyDomainDkim' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -67,11 +68,9 @@ verifyDomainDkim     :: Text -- ^ 'vddDomain'     -> VerifyDomainDkim-verifyDomainDkim pDomain_ =-    VerifyDomainDkim'-    { _vddDomain = pDomain_-    }+verifyDomainDkim pDomain_ = VerifyDomainDkim' {_vddDomain = pDomain_} + -- | The name of the domain to be verified for Easy DKIM signing. vddDomain :: Lens' VerifyDomainDkim Text vddDomain = lens _vddDomain (\ s a -> s{_vddDomain = a});@@ -87,9 +86,9 @@                      (x .@? "DkimTokens" .!@ mempty >>=                         parseXMLList "member")) -instance Hashable VerifyDomainDkim+instance Hashable VerifyDomainDkim where -instance NFData VerifyDomainDkim+instance NFData VerifyDomainDkim where  instance ToHeaders VerifyDomainDkim where         toHeaders = const mempty@@ -110,10 +109,11 @@ -- -- /See:/ 'verifyDomainDkimResponse' smart constructor. data VerifyDomainDkimResponse = VerifyDomainDkimResponse'-    { _vddrsResponseStatus :: !Int-    , _vddrsDkimTokens     :: ![Text]-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _vddrsResponseStatus :: !Int+  , _vddrsDkimTokens     :: ![Text]+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'VerifyDomainDkimResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -125,11 +125,10 @@     :: Int -- ^ 'vddrsResponseStatus'     -> VerifyDomainDkimResponse verifyDomainDkimResponse pResponseStatus_ =-    VerifyDomainDkimResponse'-    { _vddrsResponseStatus = pResponseStatus_-    , _vddrsDkimTokens = mempty-    }+  VerifyDomainDkimResponse'+  {_vddrsResponseStatus = pResponseStatus_, _vddrsDkimTokens = mempty} + -- | -- | The response status code. vddrsResponseStatus :: Lens' VerifyDomainDkimResponse Int vddrsResponseStatus = lens _vddrsResponseStatus (\ s a -> s{_vddrsResponseStatus = a});@@ -138,4 +137,4 @@ vddrsDkimTokens :: Lens' VerifyDomainDkimResponse [Text] vddrsDkimTokens = lens _vddrsDkimTokens (\ s a -> s{_vddrsDkimTokens = a}) . _Coerce; -instance NFData VerifyDomainDkimResponse+instance NFData VerifyDomainDkimResponse where
gen/Network/AWS/SES/VerifyDomainIdentity.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.VerifyDomainIdentity--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Verifies a domain.+-- Adds a domain to the list of identities for your Amazon SES account and attempts to verify it. For more information about verifying domains, see <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html Verifying Email Addresses and Domains> in the /Amazon SES Developer Guide./ -- ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.VerifyDomainIdentity     (@@ -39,12 +39,12 @@     , vdirsVerificationToken     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | 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 <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domains.html Amazon SES Developer Guide> . --@@ -52,9 +52,10 @@ -- -- /See:/ 'verifyDomainIdentity' smart constructor. newtype VerifyDomainIdentity = VerifyDomainIdentity'-    { _vdiDomain :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _vdiDomain :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'VerifyDomainIdentity' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -63,11 +64,9 @@ verifyDomainIdentity     :: Text -- ^ 'vdiDomain'     -> VerifyDomainIdentity-verifyDomainIdentity pDomain_ =-    VerifyDomainIdentity'-    { _vdiDomain = pDomain_-    }+verifyDomainIdentity pDomain_ = VerifyDomainIdentity' {_vdiDomain = pDomain_} + -- | The domain to be verified. vdiDomain :: Lens' VerifyDomainIdentity Text vdiDomain = lens _vdiDomain (\ s a -> s{_vdiDomain = a});@@ -82,9 +81,9 @@                  VerifyDomainIdentityResponse' <$>                    (pure (fromEnum s)) <*> (x .@ "VerificationToken")) -instance Hashable VerifyDomainIdentity+instance Hashable VerifyDomainIdentity where -instance NFData VerifyDomainIdentity+instance NFData VerifyDomainIdentity where  instance ToHeaders VerifyDomainIdentity where         toHeaders = const mempty@@ -105,33 +104,35 @@ -- -- /See:/ 'verifyDomainIdentityResponse' smart constructor. data VerifyDomainIdentityResponse = VerifyDomainIdentityResponse'-    { _vdirsResponseStatus    :: !Int-    , _vdirsVerificationToken :: !Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _vdirsResponseStatus    :: !Int+  , _vdirsVerificationToken :: !Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'VerifyDomainIdentityResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'vdirsResponseStatus' - -- | The response status code. ----- * 'vdirsVerificationToken' - A TXT record that must be placed in the DNS settings for the domain, in order to complete domain verification.+-- * 'vdirsVerificationToken' - A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES. As Amazon SES searches for the TXT record, the domain's verification status is "Pending". When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, if you still want to verify the domain, you must restart the verification process from the beginning. verifyDomainIdentityResponse     :: Int -- ^ 'vdirsResponseStatus'     -> Text -- ^ 'vdirsVerificationToken'     -> VerifyDomainIdentityResponse verifyDomainIdentityResponse pResponseStatus_ pVerificationToken_ =-    VerifyDomainIdentityResponse'-    { _vdirsResponseStatus = pResponseStatus_-    , _vdirsVerificationToken = pVerificationToken_-    }+  VerifyDomainIdentityResponse'+  { _vdirsResponseStatus = pResponseStatus_+  , _vdirsVerificationToken = pVerificationToken_+  } + -- | -- | The response status code. vdirsResponseStatus :: Lens' VerifyDomainIdentityResponse Int vdirsResponseStatus = lens _vdirsResponseStatus (\ s a -> s{_vdirsResponseStatus = a}); --- | A TXT record that must be placed in the DNS settings for the domain, in order to complete domain verification.+-- | A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES. As Amazon SES searches for the TXT record, the domain's verification status is "Pending". When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, if you still want to verify the domain, you must restart the verification process from the beginning. vdirsVerificationToken :: Lens' VerifyDomainIdentityResponse Text vdirsVerificationToken = lens _vdirsVerificationToken (\ s a -> s{_vdirsVerificationToken = a}); -instance NFData VerifyDomainIdentityResponse+instance NFData VerifyDomainIdentityResponse where
gen/Network/AWS/SES/VerifyEmailAddress.hs view
@@ -12,19 +12,15 @@  -- | -- Module      : Network.AWS.SES.VerifyEmailAddress--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Verifies an email address. This action causes a confirmation email message to be sent to the specified address.+-- Deprecated. Use the @VerifyEmailIdentity@ operation to verify a new email address. -- ----- /Important:/ 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     (     -- * Creating a Request@@ -38,12 +34,12 @@     , VerifyEmailAddressResponse     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to begin email address verification with Amazon SES. For information about email address verification, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html Amazon SES Developer Guide> . --@@ -51,9 +47,10 @@ -- -- /See:/ 'verifyEmailAddress' smart constructor. newtype VerifyEmailAddress = VerifyEmailAddress'-    { _veaEmailAddress :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _veaEmailAddress :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'VerifyEmailAddress' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -63,10 +60,9 @@     :: Text -- ^ 'veaEmailAddress'     -> VerifyEmailAddress verifyEmailAddress pEmailAddress_ =-    VerifyEmailAddress'-    { _veaEmailAddress = pEmailAddress_-    }+  VerifyEmailAddress' {_veaEmailAddress = pEmailAddress_} + -- | The email address to be verified. veaEmailAddress :: Lens' VerifyEmailAddress Text veaEmailAddress = lens _veaEmailAddress (\ s a -> s{_veaEmailAddress = a});@@ -77,9 +73,9 @@         request = postQuery ses         response = receiveNull VerifyEmailAddressResponse' -instance Hashable VerifyEmailAddress+instance Hashable VerifyEmailAddress where -instance NFData VerifyEmailAddress+instance NFData VerifyEmailAddress where  instance ToHeaders VerifyEmailAddress where         toHeaders = const mempty@@ -96,13 +92,15 @@  -- | /See:/ 'verifyEmailAddressResponse' smart constructor. data VerifyEmailAddressResponse =-    VerifyEmailAddressResponse'-    deriving (Eq,Read,Show,Data,Typeable,Generic)+  VerifyEmailAddressResponse'+  deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'VerifyEmailAddressResponse' with the minimum fields required to make a request. -- verifyEmailAddressResponse     :: VerifyEmailAddressResponse verifyEmailAddressResponse = VerifyEmailAddressResponse' -instance NFData VerifyEmailAddressResponse++instance NFData VerifyEmailAddressResponse where
gen/Network/AWS/SES/VerifyEmailIdentity.hs view
@@ -12,16 +12,16 @@  -- | -- Module      : Network.AWS.SES.VerifyEmailIdentity--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Verifies an email address. This action causes a confirmation email message to be sent to the specified address.+-- Adds an email address to the list of identities for your Amazon SES account and attempts to verify it. This operation causes a confirmation email message to be sent to the specified address. -- ----- This action is throttled at one request per second.+-- You can execute this operation no more than once per second. -- module Network.AWS.SES.VerifyEmailIdentity     (@@ -38,12 +38,12 @@     , veirsResponseStatus     ) where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.Request-import           Network.AWS.Response-import           Network.AWS.SES.Types-import           Network.AWS.SES.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.SES.Types+import Network.AWS.SES.Types.Product  -- | Represents a request to begin email address verification with Amazon SES. For information about email address verification, see the <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html Amazon SES Developer Guide> . --@@ -51,9 +51,10 @@ -- -- /See:/ 'verifyEmailIdentity' smart constructor. newtype VerifyEmailIdentity = VerifyEmailIdentity'-    { _veiEmailAddress :: Text-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _veiEmailAddress :: Text+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'VerifyEmailIdentity' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -63,10 +64,9 @@     :: Text -- ^ 'veiEmailAddress'     -> VerifyEmailIdentity verifyEmailIdentity pEmailAddress_ =-    VerifyEmailIdentity'-    { _veiEmailAddress = pEmailAddress_-    }+  VerifyEmailIdentity' {_veiEmailAddress = pEmailAddress_} + -- | The email address to be verified. veiEmailAddress :: Lens' VerifyEmailIdentity Text veiEmailAddress = lens _veiEmailAddress (\ s a -> s{_veiEmailAddress = a});@@ -80,9 +80,9 @@               (\ s h x ->                  VerifyEmailIdentityResponse' <$> (pure (fromEnum s))) -instance Hashable VerifyEmailIdentity+instance Hashable VerifyEmailIdentity where -instance NFData VerifyEmailIdentity+instance NFData VerifyEmailIdentity where  instance ToHeaders VerifyEmailIdentity where         toHeaders = const mempty@@ -103,9 +103,10 @@ -- -- /See:/ 'verifyEmailIdentityResponse' smart constructor. newtype VerifyEmailIdentityResponse = VerifyEmailIdentityResponse'-    { _veirsResponseStatus :: Int-    } deriving (Eq,Read,Show,Data,Typeable,Generic)+  { _veirsResponseStatus :: Int+  } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'VerifyEmailIdentityResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -115,12 +116,11 @@     :: Int -- ^ 'veirsResponseStatus'     -> VerifyEmailIdentityResponse verifyEmailIdentityResponse pResponseStatus_ =-    VerifyEmailIdentityResponse'-    { _veirsResponseStatus = pResponseStatus_-    }+  VerifyEmailIdentityResponse' {_veirsResponseStatus = pResponseStatus_} + -- | -- | The response status code. veirsResponseStatus :: Lens' VerifyEmailIdentityResponse Int veirsResponseStatus = lens _veirsResponseStatus (\ s a -> s{_veirsResponseStatus = a}); -instance NFData VerifyEmailIdentityResponse+instance NFData VerifyEmailIdentityResponse where
gen/Network/AWS/SES/Waiters.hs view
@@ -7,15 +7,15 @@  -- | -- Module      : Network.AWS.SES.Waiters--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- module Network.AWS.SES.Waiters where -import           Network.AWS.Lens-import           Network.AWS.Prelude-import           Network.AWS.SES.Types-import           Network.AWS.Waiter+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.SES.Types+import Network.AWS.Waiter
test/Main.hs view
@@ -2,9 +2,9 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) --
test/Test/AWS/Gen/SES.hs view
@@ -5,20 +5,20 @@  -- | -- Module      : Test.AWS.Gen.SES--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2017 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) -- module Test.AWS.Gen.SES where  import Data.Proxy+import Network.AWS.SES import Test.AWS.Fixture import Test.AWS.Prelude-import Test.Tasty-import Network.AWS.SES import Test.AWS.SES.Internal+import Test.Tasty  -- Auto-generated: the actual test selection needs to be manually placed into -- the top-level so that real test data can be incrementally added.@@ -28,7 +28,16 @@ -- fixtures :: TestTree -- fixtures = --     [ testGroup "request"---         [ requestCreateReceiptRuleSet $+--         [ requestCreateTemplate $+--             createTemplate+--+--         , requestDeleteConfigurationSetTrackingOptions $+--             deleteConfigurationSetTrackingOptions+--+--         , requestUpdateConfigurationSetTrackingOptions $+--             updateConfigurationSetTrackingOptions+--+--         , requestCreateReceiptRuleSet $ --             createReceiptRuleSet -- --         , requestSetIdentityHeadersInNotificationsEnabled $@@ -91,9 +100,18 @@ --         , requestGetIdentityPolicies $ --             getIdentityPolicies --+--         , requestListTemplates $+--             listTemplates+-- --         , requestVerifyDomainIdentity $ --             verifyDomainIdentity --+--         , requestUpdateTemplate $+--             updateTemplate+--+--         , requestDeleteTemplate $+--             deleteTemplate+-- --         , requestReorderReceiptRuleSet $ --             reorderReceiptRuleSet --@@ -112,9 +130,18 @@ --         , requestGetIdentityDkimAttributes $ --             getIdentityDkimAttributes --+--         , requestSendTemplatedEmail $+--             sendTemplatedEmail+-- --         , requestVerifyDomainDkim $ --             verifyDomainDkim --+--         , requestTestRenderTemplate $+--             testRenderTemplate+--+--         , requestSendBulkTemplatedEmail $+--             sendBulkTemplatedEmail+-- --         , requestSendRawEmail $ --             sendRawEmail --@@ -166,19 +193,34 @@ --         , requestCreateReceiptRule $ --             createReceiptRule --+--         , requestGetTemplate $+--             getTemplate+-- --         , requestSetActiveReceiptRuleSet $ --             setActiveReceiptRuleSet -- --         , requestCreateConfigurationSet $ --             createConfigurationSet --+--         , requestCreateConfigurationSetTrackingOptions $+--             createConfigurationSetTrackingOptions+-- --         , requestDescribeActiveReceiptRuleSet $ --             describeActiveReceiptRuleSet -- --           ]  --     , testGroup "response"---         [ responseCreateReceiptRuleSet $+--         [ responseCreateTemplate $+--             createTemplateResponse+--+--         , responseDeleteConfigurationSetTrackingOptions $+--             deleteConfigurationSetTrackingOptionsResponse+--+--         , responseUpdateConfigurationSetTrackingOptions $+--             updateConfigurationSetTrackingOptionsResponse+--+--         , responseCreateReceiptRuleSet $ --             createReceiptRuleSetResponse -- --         , responseSetIdentityHeadersInNotificationsEnabled $@@ -241,9 +283,18 @@ --         , responseGetIdentityPolicies $ --             getIdentityPoliciesResponse --+--         , responseListTemplates $+--             listTemplatesResponse+-- --         , responseVerifyDomainIdentity $ --             verifyDomainIdentityResponse --+--         , responseUpdateTemplate $+--             updateTemplateResponse+--+--         , responseDeleteTemplate $+--             deleteTemplateResponse+-- --         , responseReorderReceiptRuleSet $ --             reorderReceiptRuleSetResponse --@@ -262,9 +313,18 @@ --         , responseGetIdentityDkimAttributes $ --             getIdentityDkimAttributesResponse --+--         , responseSendTemplatedEmail $+--             sendTemplatedEmailResponse+-- --         , responseVerifyDomainDkim $ --             verifyDomainDkimResponse --+--         , responseTestRenderTemplate $+--             testRenderTemplateResponse+--+--         , responseSendBulkTemplatedEmail $+--             sendBulkTemplatedEmailResponse+-- --         , responseSendRawEmail $ --             sendRawEmailResponse --@@ -316,12 +376,18 @@ --         , responseCreateReceiptRule $ --             createReceiptRuleResponse --+--         , responseGetTemplate $+--             getTemplateResponse+-- --         , responseSetActiveReceiptRuleSet $ --             setActiveReceiptRuleSetResponse -- --         , responseCreateConfigurationSet $ --             createConfigurationSetResponse --+--         , responseCreateConfigurationSetTrackingOptions $+--             createConfigurationSetTrackingOptionsResponse+-- --         , responseDescribeActiveReceiptRuleSet $ --             describeActiveReceiptRuleSetResponse --@@ -330,6 +396,21 @@  -- Requests +requestCreateTemplate :: CreateTemplate -> TestTree+requestCreateTemplate = req+    "CreateTemplate"+    "fixture/CreateTemplate.yaml"++requestDeleteConfigurationSetTrackingOptions :: DeleteConfigurationSetTrackingOptions -> TestTree+requestDeleteConfigurationSetTrackingOptions = req+    "DeleteConfigurationSetTrackingOptions"+    "fixture/DeleteConfigurationSetTrackingOptions.yaml"++requestUpdateConfigurationSetTrackingOptions :: UpdateConfigurationSetTrackingOptions -> TestTree+requestUpdateConfigurationSetTrackingOptions = req+    "UpdateConfigurationSetTrackingOptions"+    "fixture/UpdateConfigurationSetTrackingOptions.yaml"+ requestCreateReceiptRuleSet :: CreateReceiptRuleSet -> TestTree requestCreateReceiptRuleSet = req     "CreateReceiptRuleSet"@@ -435,11 +516,26 @@     "GetIdentityPolicies"     "fixture/GetIdentityPolicies.yaml" +requestListTemplates :: ListTemplates -> TestTree+requestListTemplates = req+    "ListTemplates"+    "fixture/ListTemplates.yaml"+ requestVerifyDomainIdentity :: VerifyDomainIdentity -> TestTree requestVerifyDomainIdentity = req     "VerifyDomainIdentity"     "fixture/VerifyDomainIdentity.yaml" +requestUpdateTemplate :: UpdateTemplate -> TestTree+requestUpdateTemplate = req+    "UpdateTemplate"+    "fixture/UpdateTemplate.yaml"++requestDeleteTemplate :: DeleteTemplate -> TestTree+requestDeleteTemplate = req+    "DeleteTemplate"+    "fixture/DeleteTemplate.yaml"+ requestReorderReceiptRuleSet :: ReorderReceiptRuleSet -> TestTree requestReorderReceiptRuleSet = req     "ReorderReceiptRuleSet"@@ -470,11 +566,26 @@     "GetIdentityDkimAttributes"     "fixture/GetIdentityDkimAttributes.yaml" +requestSendTemplatedEmail :: SendTemplatedEmail -> TestTree+requestSendTemplatedEmail = req+    "SendTemplatedEmail"+    "fixture/SendTemplatedEmail.yaml"+ requestVerifyDomainDkim :: VerifyDomainDkim -> TestTree requestVerifyDomainDkim = req     "VerifyDomainDkim"     "fixture/VerifyDomainDkim.yaml" +requestTestRenderTemplate :: TestRenderTemplate -> TestTree+requestTestRenderTemplate = req+    "TestRenderTemplate"+    "fixture/TestRenderTemplate.yaml"++requestSendBulkTemplatedEmail :: SendBulkTemplatedEmail -> TestTree+requestSendBulkTemplatedEmail = req+    "SendBulkTemplatedEmail"+    "fixture/SendBulkTemplatedEmail.yaml"+ requestSendRawEmail :: SendRawEmail -> TestTree requestSendRawEmail = req     "SendRawEmail"@@ -560,6 +671,11 @@     "CreateReceiptRule"     "fixture/CreateReceiptRule.yaml" +requestGetTemplate :: GetTemplate -> TestTree+requestGetTemplate = req+    "GetTemplate"+    "fixture/GetTemplate.yaml"+ requestSetActiveReceiptRuleSet :: SetActiveReceiptRuleSet -> TestTree requestSetActiveReceiptRuleSet = req     "SetActiveReceiptRuleSet"@@ -570,6 +686,11 @@     "CreateConfigurationSet"     "fixture/CreateConfigurationSet.yaml" +requestCreateConfigurationSetTrackingOptions :: CreateConfigurationSetTrackingOptions -> TestTree+requestCreateConfigurationSetTrackingOptions = req+    "CreateConfigurationSetTrackingOptions"+    "fixture/CreateConfigurationSetTrackingOptions.yaml"+ requestDescribeActiveReceiptRuleSet :: DescribeActiveReceiptRuleSet -> TestTree requestDescribeActiveReceiptRuleSet = req     "DescribeActiveReceiptRuleSet"@@ -577,6 +698,27 @@  -- Responses +responseCreateTemplate :: CreateTemplateResponse -> TestTree+responseCreateTemplate = res+    "CreateTemplateResponse"+    "fixture/CreateTemplateResponse.proto"+    ses+    (Proxy :: Proxy CreateTemplate)++responseDeleteConfigurationSetTrackingOptions :: DeleteConfigurationSetTrackingOptionsResponse -> TestTree+responseDeleteConfigurationSetTrackingOptions = res+    "DeleteConfigurationSetTrackingOptionsResponse"+    "fixture/DeleteConfigurationSetTrackingOptionsResponse.proto"+    ses+    (Proxy :: Proxy DeleteConfigurationSetTrackingOptions)++responseUpdateConfigurationSetTrackingOptions :: UpdateConfigurationSetTrackingOptionsResponse -> TestTree+responseUpdateConfigurationSetTrackingOptions = res+    "UpdateConfigurationSetTrackingOptionsResponse"+    "fixture/UpdateConfigurationSetTrackingOptionsResponse.proto"+    ses+    (Proxy :: Proxy UpdateConfigurationSetTrackingOptions)+ responseCreateReceiptRuleSet :: CreateReceiptRuleSetResponse -> TestTree responseCreateReceiptRuleSet = res     "CreateReceiptRuleSetResponse"@@ -724,6 +866,13 @@     ses     (Proxy :: Proxy GetIdentityPolicies) +responseListTemplates :: ListTemplatesResponse -> TestTree+responseListTemplates = res+    "ListTemplatesResponse"+    "fixture/ListTemplatesResponse.proto"+    ses+    (Proxy :: Proxy ListTemplates)+ responseVerifyDomainIdentity :: VerifyDomainIdentityResponse -> TestTree responseVerifyDomainIdentity = res     "VerifyDomainIdentityResponse"@@ -731,6 +880,20 @@     ses     (Proxy :: Proxy VerifyDomainIdentity) +responseUpdateTemplate :: UpdateTemplateResponse -> TestTree+responseUpdateTemplate = res+    "UpdateTemplateResponse"+    "fixture/UpdateTemplateResponse.proto"+    ses+    (Proxy :: Proxy UpdateTemplate)++responseDeleteTemplate :: DeleteTemplateResponse -> TestTree+responseDeleteTemplate = res+    "DeleteTemplateResponse"+    "fixture/DeleteTemplateResponse.proto"+    ses+    (Proxy :: Proxy DeleteTemplate)+ responseReorderReceiptRuleSet :: ReorderReceiptRuleSetResponse -> TestTree responseReorderReceiptRuleSet = res     "ReorderReceiptRuleSetResponse"@@ -773,6 +936,13 @@     ses     (Proxy :: Proxy GetIdentityDkimAttributes) +responseSendTemplatedEmail :: SendTemplatedEmailResponse -> TestTree+responseSendTemplatedEmail = res+    "SendTemplatedEmailResponse"+    "fixture/SendTemplatedEmailResponse.proto"+    ses+    (Proxy :: Proxy SendTemplatedEmail)+ responseVerifyDomainDkim :: VerifyDomainDkimResponse -> TestTree responseVerifyDomainDkim = res     "VerifyDomainDkimResponse"@@ -780,6 +950,20 @@     ses     (Proxy :: Proxy VerifyDomainDkim) +responseTestRenderTemplate :: TestRenderTemplateResponse -> TestTree+responseTestRenderTemplate = res+    "TestRenderTemplateResponse"+    "fixture/TestRenderTemplateResponse.proto"+    ses+    (Proxy :: Proxy TestRenderTemplate)++responseSendBulkTemplatedEmail :: SendBulkTemplatedEmailResponse -> TestTree+responseSendBulkTemplatedEmail = res+    "SendBulkTemplatedEmailResponse"+    "fixture/SendBulkTemplatedEmailResponse.proto"+    ses+    (Proxy :: Proxy SendBulkTemplatedEmail)+ responseSendRawEmail :: SendRawEmailResponse -> TestTree responseSendRawEmail = res     "SendRawEmailResponse"@@ -899,6 +1083,13 @@     ses     (Proxy :: Proxy CreateReceiptRule) +responseGetTemplate :: GetTemplateResponse -> TestTree+responseGetTemplate = res+    "GetTemplateResponse"+    "fixture/GetTemplateResponse.proto"+    ses+    (Proxy :: Proxy GetTemplate)+ responseSetActiveReceiptRuleSet :: SetActiveReceiptRuleSetResponse -> TestTree responseSetActiveReceiptRuleSet = res     "SetActiveReceiptRuleSetResponse"@@ -912,6 +1103,13 @@     "fixture/CreateConfigurationSetResponse.proto"     ses     (Proxy :: Proxy CreateConfigurationSet)++responseCreateConfigurationSetTrackingOptions :: CreateConfigurationSetTrackingOptionsResponse -> TestTree+responseCreateConfigurationSetTrackingOptions = res+    "CreateConfigurationSetTrackingOptionsResponse"+    "fixture/CreateConfigurationSetTrackingOptionsResponse.proto"+    ses+    (Proxy :: Proxy CreateConfigurationSetTrackingOptions)  responseDescribeActiveReceiptRuleSet :: DescribeActiveReceiptRuleSetResponse -> TestTree responseDescribeActiveReceiptRuleSet = res