{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.SES.GetCustomVerificationEmailTemplate
(
GetCustomVerificationEmailTemplate (..),
newGetCustomVerificationEmailTemplate,
getCustomVerificationEmailTemplate_templateName,
GetCustomVerificationEmailTemplateResponse (..),
newGetCustomVerificationEmailTemplateResponse,
getCustomVerificationEmailTemplateResponse_fromEmailAddress,
getCustomVerificationEmailTemplateResponse_templateName,
getCustomVerificationEmailTemplateResponse_failureRedirectionURL,
getCustomVerificationEmailTemplateResponse_templateSubject,
getCustomVerificationEmailTemplateResponse_successRedirectionURL,
getCustomVerificationEmailTemplateResponse_templateContent,
getCustomVerificationEmailTemplateResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.SES.Types
data GetCustomVerificationEmailTemplate = GetCustomVerificationEmailTemplate'
{
GetCustomVerificationEmailTemplate -> Text
templateName :: Prelude.Text
}
deriving (GetCustomVerificationEmailTemplate
-> GetCustomVerificationEmailTemplate -> Bool
(GetCustomVerificationEmailTemplate
-> GetCustomVerificationEmailTemplate -> Bool)
-> (GetCustomVerificationEmailTemplate
-> GetCustomVerificationEmailTemplate -> Bool)
-> Eq GetCustomVerificationEmailTemplate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetCustomVerificationEmailTemplate
-> GetCustomVerificationEmailTemplate -> Bool
$c/= :: GetCustomVerificationEmailTemplate
-> GetCustomVerificationEmailTemplate -> Bool
== :: GetCustomVerificationEmailTemplate
-> GetCustomVerificationEmailTemplate -> Bool
$c== :: GetCustomVerificationEmailTemplate
-> GetCustomVerificationEmailTemplate -> Bool
Prelude.Eq, ReadPrec [GetCustomVerificationEmailTemplate]
ReadPrec GetCustomVerificationEmailTemplate
Int -> ReadS GetCustomVerificationEmailTemplate
ReadS [GetCustomVerificationEmailTemplate]
(Int -> ReadS GetCustomVerificationEmailTemplate)
-> ReadS [GetCustomVerificationEmailTemplate]
-> ReadPrec GetCustomVerificationEmailTemplate
-> ReadPrec [GetCustomVerificationEmailTemplate]
-> Read GetCustomVerificationEmailTemplate
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetCustomVerificationEmailTemplate]
$creadListPrec :: ReadPrec [GetCustomVerificationEmailTemplate]
readPrec :: ReadPrec GetCustomVerificationEmailTemplate
$creadPrec :: ReadPrec GetCustomVerificationEmailTemplate
readList :: ReadS [GetCustomVerificationEmailTemplate]
$creadList :: ReadS [GetCustomVerificationEmailTemplate]
readsPrec :: Int -> ReadS GetCustomVerificationEmailTemplate
$creadsPrec :: Int -> ReadS GetCustomVerificationEmailTemplate
Prelude.Read, Int -> GetCustomVerificationEmailTemplate -> ShowS
[GetCustomVerificationEmailTemplate] -> ShowS
GetCustomVerificationEmailTemplate -> String
(Int -> GetCustomVerificationEmailTemplate -> ShowS)
-> (GetCustomVerificationEmailTemplate -> String)
-> ([GetCustomVerificationEmailTemplate] -> ShowS)
-> Show GetCustomVerificationEmailTemplate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetCustomVerificationEmailTemplate] -> ShowS
$cshowList :: [GetCustomVerificationEmailTemplate] -> ShowS
show :: GetCustomVerificationEmailTemplate -> String
$cshow :: GetCustomVerificationEmailTemplate -> String
showsPrec :: Int -> GetCustomVerificationEmailTemplate -> ShowS
$cshowsPrec :: Int -> GetCustomVerificationEmailTemplate -> ShowS
Prelude.Show, (forall x.
GetCustomVerificationEmailTemplate
-> Rep GetCustomVerificationEmailTemplate x)
-> (forall x.
Rep GetCustomVerificationEmailTemplate x
-> GetCustomVerificationEmailTemplate)
-> Generic GetCustomVerificationEmailTemplate
forall x.
Rep GetCustomVerificationEmailTemplate x
-> GetCustomVerificationEmailTemplate
forall x.
GetCustomVerificationEmailTemplate
-> Rep GetCustomVerificationEmailTemplate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetCustomVerificationEmailTemplate x
-> GetCustomVerificationEmailTemplate
$cfrom :: forall x.
GetCustomVerificationEmailTemplate
-> Rep GetCustomVerificationEmailTemplate x
Prelude.Generic)
newGetCustomVerificationEmailTemplate ::
Prelude.Text ->
GetCustomVerificationEmailTemplate
newGetCustomVerificationEmailTemplate :: Text -> GetCustomVerificationEmailTemplate
newGetCustomVerificationEmailTemplate Text
pTemplateName_ =
GetCustomVerificationEmailTemplate' :: Text -> GetCustomVerificationEmailTemplate
GetCustomVerificationEmailTemplate'
{ $sel:templateName:GetCustomVerificationEmailTemplate' :: Text
templateName =
Text
pTemplateName_
}
getCustomVerificationEmailTemplate_templateName :: Lens.Lens' GetCustomVerificationEmailTemplate Prelude.Text
getCustomVerificationEmailTemplate_templateName :: (Text -> f Text)
-> GetCustomVerificationEmailTemplate
-> f GetCustomVerificationEmailTemplate
getCustomVerificationEmailTemplate_templateName = (GetCustomVerificationEmailTemplate -> Text)
-> (GetCustomVerificationEmailTemplate
-> Text -> GetCustomVerificationEmailTemplate)
-> Lens
GetCustomVerificationEmailTemplate
GetCustomVerificationEmailTemplate
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCustomVerificationEmailTemplate' {Text
templateName :: Text
$sel:templateName:GetCustomVerificationEmailTemplate' :: GetCustomVerificationEmailTemplate -> Text
templateName} -> Text
templateName) (\s :: GetCustomVerificationEmailTemplate
s@GetCustomVerificationEmailTemplate' {} Text
a -> GetCustomVerificationEmailTemplate
s {$sel:templateName:GetCustomVerificationEmailTemplate' :: Text
templateName = Text
a} :: GetCustomVerificationEmailTemplate)
instance
Core.AWSRequest
GetCustomVerificationEmailTemplate
where
type
AWSResponse GetCustomVerificationEmailTemplate =
GetCustomVerificationEmailTemplateResponse
request :: GetCustomVerificationEmailTemplate
-> Request GetCustomVerificationEmailTemplate
request = Service
-> GetCustomVerificationEmailTemplate
-> Request GetCustomVerificationEmailTemplate
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy GetCustomVerificationEmailTemplate
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse GetCustomVerificationEmailTemplate)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse GetCustomVerificationEmailTemplate))
-> Logger
-> Service
-> Proxy GetCustomVerificationEmailTemplate
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse GetCustomVerificationEmailTemplate)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"GetCustomVerificationEmailTemplateResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> GetCustomVerificationEmailTemplateResponse
GetCustomVerificationEmailTemplateResponse'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> GetCustomVerificationEmailTemplateResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> GetCustomVerificationEmailTemplateResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"FromEmailAddress")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> GetCustomVerificationEmailTemplateResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> GetCustomVerificationEmailTemplateResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"TemplateName")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> GetCustomVerificationEmailTemplateResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> GetCustomVerificationEmailTemplateResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"FailureRedirectionURL")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> GetCustomVerificationEmailTemplateResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text -> Int -> GetCustomVerificationEmailTemplateResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"TemplateSubject")
Either
String
(Maybe Text
-> Maybe Text -> Int -> GetCustomVerificationEmailTemplateResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text -> Int -> GetCustomVerificationEmailTemplateResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SuccessRedirectionURL")
Either
String
(Maybe Text -> Int -> GetCustomVerificationEmailTemplateResponse)
-> Either String (Maybe Text)
-> Either
String (Int -> GetCustomVerificationEmailTemplateResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"TemplateContent")
Either String (Int -> GetCustomVerificationEmailTemplateResponse)
-> Either String Int
-> Either String GetCustomVerificationEmailTemplateResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance
Prelude.Hashable
GetCustomVerificationEmailTemplate
instance
Prelude.NFData
GetCustomVerificationEmailTemplate
instance
Core.ToHeaders
GetCustomVerificationEmailTemplate
where
toHeaders :: GetCustomVerificationEmailTemplate -> ResponseHeaders
toHeaders = ResponseHeaders
-> GetCustomVerificationEmailTemplate -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance
Core.ToPath
GetCustomVerificationEmailTemplate
where
toPath :: GetCustomVerificationEmailTemplate -> ByteString
toPath = ByteString -> GetCustomVerificationEmailTemplate -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
GetCustomVerificationEmailTemplate
where
toQuery :: GetCustomVerificationEmailTemplate -> QueryString
toQuery GetCustomVerificationEmailTemplate' {Text
templateName :: Text
$sel:templateName:GetCustomVerificationEmailTemplate' :: GetCustomVerificationEmailTemplate -> Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ( ByteString
"GetCustomVerificationEmailTemplate" ::
Prelude.ByteString
),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2010-12-01" :: Prelude.ByteString),
ByteString
"TemplateName" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
templateName
]
data GetCustomVerificationEmailTemplateResponse = GetCustomVerificationEmailTemplateResponse'
{
GetCustomVerificationEmailTemplateResponse -> Maybe Text
fromEmailAddress :: Prelude.Maybe Prelude.Text,
GetCustomVerificationEmailTemplateResponse -> Maybe Text
templateName :: Prelude.Maybe Prelude.Text,
GetCustomVerificationEmailTemplateResponse -> Maybe Text
failureRedirectionURL :: Prelude.Maybe Prelude.Text,
GetCustomVerificationEmailTemplateResponse -> Maybe Text
templateSubject :: Prelude.Maybe Prelude.Text,
GetCustomVerificationEmailTemplateResponse -> Maybe Text
successRedirectionURL :: Prelude.Maybe Prelude.Text,
GetCustomVerificationEmailTemplateResponse -> Maybe Text
templateContent :: Prelude.Maybe Prelude.Text,
GetCustomVerificationEmailTemplateResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetCustomVerificationEmailTemplateResponse
-> GetCustomVerificationEmailTemplateResponse -> Bool
(GetCustomVerificationEmailTemplateResponse
-> GetCustomVerificationEmailTemplateResponse -> Bool)
-> (GetCustomVerificationEmailTemplateResponse
-> GetCustomVerificationEmailTemplateResponse -> Bool)
-> Eq GetCustomVerificationEmailTemplateResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetCustomVerificationEmailTemplateResponse
-> GetCustomVerificationEmailTemplateResponse -> Bool
$c/= :: GetCustomVerificationEmailTemplateResponse
-> GetCustomVerificationEmailTemplateResponse -> Bool
== :: GetCustomVerificationEmailTemplateResponse
-> GetCustomVerificationEmailTemplateResponse -> Bool
$c== :: GetCustomVerificationEmailTemplateResponse
-> GetCustomVerificationEmailTemplateResponse -> Bool
Prelude.Eq, ReadPrec [GetCustomVerificationEmailTemplateResponse]
ReadPrec GetCustomVerificationEmailTemplateResponse
Int -> ReadS GetCustomVerificationEmailTemplateResponse
ReadS [GetCustomVerificationEmailTemplateResponse]
(Int -> ReadS GetCustomVerificationEmailTemplateResponse)
-> ReadS [GetCustomVerificationEmailTemplateResponse]
-> ReadPrec GetCustomVerificationEmailTemplateResponse
-> ReadPrec [GetCustomVerificationEmailTemplateResponse]
-> Read GetCustomVerificationEmailTemplateResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetCustomVerificationEmailTemplateResponse]
$creadListPrec :: ReadPrec [GetCustomVerificationEmailTemplateResponse]
readPrec :: ReadPrec GetCustomVerificationEmailTemplateResponse
$creadPrec :: ReadPrec GetCustomVerificationEmailTemplateResponse
readList :: ReadS [GetCustomVerificationEmailTemplateResponse]
$creadList :: ReadS [GetCustomVerificationEmailTemplateResponse]
readsPrec :: Int -> ReadS GetCustomVerificationEmailTemplateResponse
$creadsPrec :: Int -> ReadS GetCustomVerificationEmailTemplateResponse
Prelude.Read, Int -> GetCustomVerificationEmailTemplateResponse -> ShowS
[GetCustomVerificationEmailTemplateResponse] -> ShowS
GetCustomVerificationEmailTemplateResponse -> String
(Int -> GetCustomVerificationEmailTemplateResponse -> ShowS)
-> (GetCustomVerificationEmailTemplateResponse -> String)
-> ([GetCustomVerificationEmailTemplateResponse] -> ShowS)
-> Show GetCustomVerificationEmailTemplateResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetCustomVerificationEmailTemplateResponse] -> ShowS
$cshowList :: [GetCustomVerificationEmailTemplateResponse] -> ShowS
show :: GetCustomVerificationEmailTemplateResponse -> String
$cshow :: GetCustomVerificationEmailTemplateResponse -> String
showsPrec :: Int -> GetCustomVerificationEmailTemplateResponse -> ShowS
$cshowsPrec :: Int -> GetCustomVerificationEmailTemplateResponse -> ShowS
Prelude.Show, (forall x.
GetCustomVerificationEmailTemplateResponse
-> Rep GetCustomVerificationEmailTemplateResponse x)
-> (forall x.
Rep GetCustomVerificationEmailTemplateResponse x
-> GetCustomVerificationEmailTemplateResponse)
-> Generic GetCustomVerificationEmailTemplateResponse
forall x.
Rep GetCustomVerificationEmailTemplateResponse x
-> GetCustomVerificationEmailTemplateResponse
forall x.
GetCustomVerificationEmailTemplateResponse
-> Rep GetCustomVerificationEmailTemplateResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetCustomVerificationEmailTemplateResponse x
-> GetCustomVerificationEmailTemplateResponse
$cfrom :: forall x.
GetCustomVerificationEmailTemplateResponse
-> Rep GetCustomVerificationEmailTemplateResponse x
Prelude.Generic)
newGetCustomVerificationEmailTemplateResponse ::
Prelude.Int ->
GetCustomVerificationEmailTemplateResponse
newGetCustomVerificationEmailTemplateResponse :: Int -> GetCustomVerificationEmailTemplateResponse
newGetCustomVerificationEmailTemplateResponse
Int
pHttpStatus_ =
GetCustomVerificationEmailTemplateResponse' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> GetCustomVerificationEmailTemplateResponse
GetCustomVerificationEmailTemplateResponse'
{ $sel:fromEmailAddress:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
fromEmailAddress =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:templateName:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
templateName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:failureRedirectionURL:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
failureRedirectionURL =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:templateSubject:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
templateSubject =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:successRedirectionURL:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
successRedirectionURL =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:templateContent:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
templateContent =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetCustomVerificationEmailTemplateResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getCustomVerificationEmailTemplateResponse_fromEmailAddress :: Lens.Lens' GetCustomVerificationEmailTemplateResponse (Prelude.Maybe Prelude.Text)
getCustomVerificationEmailTemplateResponse_fromEmailAddress :: (Maybe Text -> f (Maybe Text))
-> GetCustomVerificationEmailTemplateResponse
-> f GetCustomVerificationEmailTemplateResponse
getCustomVerificationEmailTemplateResponse_fromEmailAddress = (GetCustomVerificationEmailTemplateResponse -> Maybe Text)
-> (GetCustomVerificationEmailTemplateResponse
-> Maybe Text -> GetCustomVerificationEmailTemplateResponse)
-> Lens
GetCustomVerificationEmailTemplateResponse
GetCustomVerificationEmailTemplateResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCustomVerificationEmailTemplateResponse' {Maybe Text
fromEmailAddress :: Maybe Text
$sel:fromEmailAddress:GetCustomVerificationEmailTemplateResponse' :: GetCustomVerificationEmailTemplateResponse -> Maybe Text
fromEmailAddress} -> Maybe Text
fromEmailAddress) (\s :: GetCustomVerificationEmailTemplateResponse
s@GetCustomVerificationEmailTemplateResponse' {} Maybe Text
a -> GetCustomVerificationEmailTemplateResponse
s {$sel:fromEmailAddress:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
fromEmailAddress = Maybe Text
a} :: GetCustomVerificationEmailTemplateResponse)
getCustomVerificationEmailTemplateResponse_templateName :: Lens.Lens' GetCustomVerificationEmailTemplateResponse (Prelude.Maybe Prelude.Text)
getCustomVerificationEmailTemplateResponse_templateName :: (Maybe Text -> f (Maybe Text))
-> GetCustomVerificationEmailTemplateResponse
-> f GetCustomVerificationEmailTemplateResponse
getCustomVerificationEmailTemplateResponse_templateName = (GetCustomVerificationEmailTemplateResponse -> Maybe Text)
-> (GetCustomVerificationEmailTemplateResponse
-> Maybe Text -> GetCustomVerificationEmailTemplateResponse)
-> Lens
GetCustomVerificationEmailTemplateResponse
GetCustomVerificationEmailTemplateResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCustomVerificationEmailTemplateResponse' {Maybe Text
templateName :: Maybe Text
$sel:templateName:GetCustomVerificationEmailTemplateResponse' :: GetCustomVerificationEmailTemplateResponse -> Maybe Text
templateName} -> Maybe Text
templateName) (\s :: GetCustomVerificationEmailTemplateResponse
s@GetCustomVerificationEmailTemplateResponse' {} Maybe Text
a -> GetCustomVerificationEmailTemplateResponse
s {$sel:templateName:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
templateName = Maybe Text
a} :: GetCustomVerificationEmailTemplateResponse)
getCustomVerificationEmailTemplateResponse_failureRedirectionURL :: Lens.Lens' GetCustomVerificationEmailTemplateResponse (Prelude.Maybe Prelude.Text)
getCustomVerificationEmailTemplateResponse_failureRedirectionURL :: (Maybe Text -> f (Maybe Text))
-> GetCustomVerificationEmailTemplateResponse
-> f GetCustomVerificationEmailTemplateResponse
getCustomVerificationEmailTemplateResponse_failureRedirectionURL = (GetCustomVerificationEmailTemplateResponse -> Maybe Text)
-> (GetCustomVerificationEmailTemplateResponse
-> Maybe Text -> GetCustomVerificationEmailTemplateResponse)
-> Lens
GetCustomVerificationEmailTemplateResponse
GetCustomVerificationEmailTemplateResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCustomVerificationEmailTemplateResponse' {Maybe Text
failureRedirectionURL :: Maybe Text
$sel:failureRedirectionURL:GetCustomVerificationEmailTemplateResponse' :: GetCustomVerificationEmailTemplateResponse -> Maybe Text
failureRedirectionURL} -> Maybe Text
failureRedirectionURL) (\s :: GetCustomVerificationEmailTemplateResponse
s@GetCustomVerificationEmailTemplateResponse' {} Maybe Text
a -> GetCustomVerificationEmailTemplateResponse
s {$sel:failureRedirectionURL:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
failureRedirectionURL = Maybe Text
a} :: GetCustomVerificationEmailTemplateResponse)
getCustomVerificationEmailTemplateResponse_templateSubject :: Lens.Lens' GetCustomVerificationEmailTemplateResponse (Prelude.Maybe Prelude.Text)
getCustomVerificationEmailTemplateResponse_templateSubject :: (Maybe Text -> f (Maybe Text))
-> GetCustomVerificationEmailTemplateResponse
-> f GetCustomVerificationEmailTemplateResponse
getCustomVerificationEmailTemplateResponse_templateSubject = (GetCustomVerificationEmailTemplateResponse -> Maybe Text)
-> (GetCustomVerificationEmailTemplateResponse
-> Maybe Text -> GetCustomVerificationEmailTemplateResponse)
-> Lens
GetCustomVerificationEmailTemplateResponse
GetCustomVerificationEmailTemplateResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCustomVerificationEmailTemplateResponse' {Maybe Text
templateSubject :: Maybe Text
$sel:templateSubject:GetCustomVerificationEmailTemplateResponse' :: GetCustomVerificationEmailTemplateResponse -> Maybe Text
templateSubject} -> Maybe Text
templateSubject) (\s :: GetCustomVerificationEmailTemplateResponse
s@GetCustomVerificationEmailTemplateResponse' {} Maybe Text
a -> GetCustomVerificationEmailTemplateResponse
s {$sel:templateSubject:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
templateSubject = Maybe Text
a} :: GetCustomVerificationEmailTemplateResponse)
getCustomVerificationEmailTemplateResponse_successRedirectionURL :: Lens.Lens' GetCustomVerificationEmailTemplateResponse (Prelude.Maybe Prelude.Text)
getCustomVerificationEmailTemplateResponse_successRedirectionURL :: (Maybe Text -> f (Maybe Text))
-> GetCustomVerificationEmailTemplateResponse
-> f GetCustomVerificationEmailTemplateResponse
getCustomVerificationEmailTemplateResponse_successRedirectionURL = (GetCustomVerificationEmailTemplateResponse -> Maybe Text)
-> (GetCustomVerificationEmailTemplateResponse
-> Maybe Text -> GetCustomVerificationEmailTemplateResponse)
-> Lens
GetCustomVerificationEmailTemplateResponse
GetCustomVerificationEmailTemplateResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCustomVerificationEmailTemplateResponse' {Maybe Text
successRedirectionURL :: Maybe Text
$sel:successRedirectionURL:GetCustomVerificationEmailTemplateResponse' :: GetCustomVerificationEmailTemplateResponse -> Maybe Text
successRedirectionURL} -> Maybe Text
successRedirectionURL) (\s :: GetCustomVerificationEmailTemplateResponse
s@GetCustomVerificationEmailTemplateResponse' {} Maybe Text
a -> GetCustomVerificationEmailTemplateResponse
s {$sel:successRedirectionURL:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
successRedirectionURL = Maybe Text
a} :: GetCustomVerificationEmailTemplateResponse)
getCustomVerificationEmailTemplateResponse_templateContent :: Lens.Lens' GetCustomVerificationEmailTemplateResponse (Prelude.Maybe Prelude.Text)
getCustomVerificationEmailTemplateResponse_templateContent :: (Maybe Text -> f (Maybe Text))
-> GetCustomVerificationEmailTemplateResponse
-> f GetCustomVerificationEmailTemplateResponse
getCustomVerificationEmailTemplateResponse_templateContent = (GetCustomVerificationEmailTemplateResponse -> Maybe Text)
-> (GetCustomVerificationEmailTemplateResponse
-> Maybe Text -> GetCustomVerificationEmailTemplateResponse)
-> Lens
GetCustomVerificationEmailTemplateResponse
GetCustomVerificationEmailTemplateResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCustomVerificationEmailTemplateResponse' {Maybe Text
templateContent :: Maybe Text
$sel:templateContent:GetCustomVerificationEmailTemplateResponse' :: GetCustomVerificationEmailTemplateResponse -> Maybe Text
templateContent} -> Maybe Text
templateContent) (\s :: GetCustomVerificationEmailTemplateResponse
s@GetCustomVerificationEmailTemplateResponse' {} Maybe Text
a -> GetCustomVerificationEmailTemplateResponse
s {$sel:templateContent:GetCustomVerificationEmailTemplateResponse' :: Maybe Text
templateContent = Maybe Text
a} :: GetCustomVerificationEmailTemplateResponse)
getCustomVerificationEmailTemplateResponse_httpStatus :: Lens.Lens' GetCustomVerificationEmailTemplateResponse Prelude.Int
getCustomVerificationEmailTemplateResponse_httpStatus :: (Int -> f Int)
-> GetCustomVerificationEmailTemplateResponse
-> f GetCustomVerificationEmailTemplateResponse
getCustomVerificationEmailTemplateResponse_httpStatus = (GetCustomVerificationEmailTemplateResponse -> Int)
-> (GetCustomVerificationEmailTemplateResponse
-> Int -> GetCustomVerificationEmailTemplateResponse)
-> Lens
GetCustomVerificationEmailTemplateResponse
GetCustomVerificationEmailTemplateResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetCustomVerificationEmailTemplateResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetCustomVerificationEmailTemplateResponse' :: GetCustomVerificationEmailTemplateResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetCustomVerificationEmailTemplateResponse
s@GetCustomVerificationEmailTemplateResponse' {} Int
a -> GetCustomVerificationEmailTemplateResponse
s {$sel:httpStatus:GetCustomVerificationEmailTemplateResponse' :: Int
httpStatus = Int
a} :: GetCustomVerificationEmailTemplateResponse)
instance
Prelude.NFData
GetCustomVerificationEmailTemplateResponse