{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Pinpoint.Types.EmailTemplateResponse where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.Pinpoint.Types.TemplateType
import qualified Amazonka.Prelude as Prelude
data EmailTemplateResponse = EmailTemplateResponse'
{
EmailTemplateResponse -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
EmailTemplateResponse -> Maybe Text
defaultSubstitutions :: Prelude.Maybe Prelude.Text,
EmailTemplateResponse -> Maybe Text
htmlPart :: Prelude.Maybe Prelude.Text,
EmailTemplateResponse -> Maybe Text
recommenderId :: Prelude.Maybe Prelude.Text,
EmailTemplateResponse -> Maybe Text
subject :: Prelude.Maybe Prelude.Text,
EmailTemplateResponse -> Maybe Text
templateDescription :: Prelude.Maybe Prelude.Text,
EmailTemplateResponse -> Maybe Text
textPart :: Prelude.Maybe Prelude.Text,
EmailTemplateResponse -> Maybe Text
version :: Prelude.Maybe Prelude.Text,
EmailTemplateResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
EmailTemplateResponse -> Text
lastModifiedDate :: Prelude.Text,
EmailTemplateResponse -> Text
creationDate :: Prelude.Text,
EmailTemplateResponse -> Text
templateName :: Prelude.Text,
EmailTemplateResponse -> TemplateType
templateType :: TemplateType
}
deriving (EmailTemplateResponse -> EmailTemplateResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EmailTemplateResponse -> EmailTemplateResponse -> Bool
$c/= :: EmailTemplateResponse -> EmailTemplateResponse -> Bool
== :: EmailTemplateResponse -> EmailTemplateResponse -> Bool
$c== :: EmailTemplateResponse -> EmailTemplateResponse -> Bool
Prelude.Eq, ReadPrec [EmailTemplateResponse]
ReadPrec EmailTemplateResponse
Int -> ReadS EmailTemplateResponse
ReadS [EmailTemplateResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [EmailTemplateResponse]
$creadListPrec :: ReadPrec [EmailTemplateResponse]
readPrec :: ReadPrec EmailTemplateResponse
$creadPrec :: ReadPrec EmailTemplateResponse
readList :: ReadS [EmailTemplateResponse]
$creadList :: ReadS [EmailTemplateResponse]
readsPrec :: Int -> ReadS EmailTemplateResponse
$creadsPrec :: Int -> ReadS EmailTemplateResponse
Prelude.Read, Int -> EmailTemplateResponse -> ShowS
[EmailTemplateResponse] -> ShowS
EmailTemplateResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EmailTemplateResponse] -> ShowS
$cshowList :: [EmailTemplateResponse] -> ShowS
show :: EmailTemplateResponse -> String
$cshow :: EmailTemplateResponse -> String
showsPrec :: Int -> EmailTemplateResponse -> ShowS
$cshowsPrec :: Int -> EmailTemplateResponse -> ShowS
Prelude.Show, forall x. Rep EmailTemplateResponse x -> EmailTemplateResponse
forall x. EmailTemplateResponse -> Rep EmailTemplateResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep EmailTemplateResponse x -> EmailTemplateResponse
$cfrom :: forall x. EmailTemplateResponse -> Rep EmailTemplateResponse x
Prelude.Generic)
newEmailTemplateResponse ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
TemplateType ->
EmailTemplateResponse
newEmailTemplateResponse :: Text -> Text -> Text -> TemplateType -> EmailTemplateResponse
newEmailTemplateResponse
Text
pLastModifiedDate_
Text
pCreationDate_
Text
pTemplateName_
TemplateType
pTemplateType_ =
EmailTemplateResponse'
{ $sel:arn:EmailTemplateResponse' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
$sel:defaultSubstitutions:EmailTemplateResponse' :: Maybe Text
defaultSubstitutions = forall a. Maybe a
Prelude.Nothing,
$sel:htmlPart:EmailTemplateResponse' :: Maybe Text
htmlPart = forall a. Maybe a
Prelude.Nothing,
$sel:recommenderId:EmailTemplateResponse' :: Maybe Text
recommenderId = forall a. Maybe a
Prelude.Nothing,
$sel:subject:EmailTemplateResponse' :: Maybe Text
subject = forall a. Maybe a
Prelude.Nothing,
$sel:templateDescription:EmailTemplateResponse' :: Maybe Text
templateDescription = forall a. Maybe a
Prelude.Nothing,
$sel:textPart:EmailTemplateResponse' :: Maybe Text
textPart = forall a. Maybe a
Prelude.Nothing,
$sel:version:EmailTemplateResponse' :: Maybe Text
version = forall a. Maybe a
Prelude.Nothing,
$sel:tags:EmailTemplateResponse' :: Maybe (HashMap Text Text)
tags = forall a. Maybe a
Prelude.Nothing,
$sel:lastModifiedDate:EmailTemplateResponse' :: Text
lastModifiedDate = Text
pLastModifiedDate_,
$sel:creationDate:EmailTemplateResponse' :: Text
creationDate = Text
pCreationDate_,
$sel:templateName:EmailTemplateResponse' :: Text
templateName = Text
pTemplateName_,
$sel:templateType:EmailTemplateResponse' :: TemplateType
templateType = TemplateType
pTemplateType_
}
emailTemplateResponse_arn :: Lens.Lens' EmailTemplateResponse (Prelude.Maybe Prelude.Text)
emailTemplateResponse_arn :: Lens' EmailTemplateResponse (Maybe Text)
emailTemplateResponse_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Maybe Text
arn :: Maybe Text
$sel:arn:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
arn} -> Maybe Text
arn) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Maybe Text
a -> EmailTemplateResponse
s {$sel:arn:EmailTemplateResponse' :: Maybe Text
arn = Maybe Text
a} :: EmailTemplateResponse)
emailTemplateResponse_defaultSubstitutions :: Lens.Lens' EmailTemplateResponse (Prelude.Maybe Prelude.Text)
emailTemplateResponse_defaultSubstitutions :: Lens' EmailTemplateResponse (Maybe Text)
emailTemplateResponse_defaultSubstitutions = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Maybe Text
defaultSubstitutions :: Maybe Text
$sel:defaultSubstitutions:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
defaultSubstitutions} -> Maybe Text
defaultSubstitutions) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Maybe Text
a -> EmailTemplateResponse
s {$sel:defaultSubstitutions:EmailTemplateResponse' :: Maybe Text
defaultSubstitutions = Maybe Text
a} :: EmailTemplateResponse)
emailTemplateResponse_htmlPart :: Lens.Lens' EmailTemplateResponse (Prelude.Maybe Prelude.Text)
emailTemplateResponse_htmlPart :: Lens' EmailTemplateResponse (Maybe Text)
emailTemplateResponse_htmlPart = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Maybe Text
htmlPart :: Maybe Text
$sel:htmlPart:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
htmlPart} -> Maybe Text
htmlPart) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Maybe Text
a -> EmailTemplateResponse
s {$sel:htmlPart:EmailTemplateResponse' :: Maybe Text
htmlPart = Maybe Text
a} :: EmailTemplateResponse)
emailTemplateResponse_recommenderId :: Lens.Lens' EmailTemplateResponse (Prelude.Maybe Prelude.Text)
emailTemplateResponse_recommenderId :: Lens' EmailTemplateResponse (Maybe Text)
emailTemplateResponse_recommenderId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Maybe Text
recommenderId :: Maybe Text
$sel:recommenderId:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
recommenderId} -> Maybe Text
recommenderId) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Maybe Text
a -> EmailTemplateResponse
s {$sel:recommenderId:EmailTemplateResponse' :: Maybe Text
recommenderId = Maybe Text
a} :: EmailTemplateResponse)
emailTemplateResponse_subject :: Lens.Lens' EmailTemplateResponse (Prelude.Maybe Prelude.Text)
emailTemplateResponse_subject :: Lens' EmailTemplateResponse (Maybe Text)
emailTemplateResponse_subject = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Maybe Text
subject :: Maybe Text
$sel:subject:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
subject} -> Maybe Text
subject) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Maybe Text
a -> EmailTemplateResponse
s {$sel:subject:EmailTemplateResponse' :: Maybe Text
subject = Maybe Text
a} :: EmailTemplateResponse)
emailTemplateResponse_templateDescription :: Lens.Lens' EmailTemplateResponse (Prelude.Maybe Prelude.Text)
emailTemplateResponse_templateDescription :: Lens' EmailTemplateResponse (Maybe Text)
emailTemplateResponse_templateDescription = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Maybe Text
templateDescription :: Maybe Text
$sel:templateDescription:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
templateDescription} -> Maybe Text
templateDescription) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Maybe Text
a -> EmailTemplateResponse
s {$sel:templateDescription:EmailTemplateResponse' :: Maybe Text
templateDescription = Maybe Text
a} :: EmailTemplateResponse)
emailTemplateResponse_textPart :: Lens.Lens' EmailTemplateResponse (Prelude.Maybe Prelude.Text)
emailTemplateResponse_textPart :: Lens' EmailTemplateResponse (Maybe Text)
emailTemplateResponse_textPart = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Maybe Text
textPart :: Maybe Text
$sel:textPart:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
textPart} -> Maybe Text
textPart) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Maybe Text
a -> EmailTemplateResponse
s {$sel:textPart:EmailTemplateResponse' :: Maybe Text
textPart = Maybe Text
a} :: EmailTemplateResponse)
emailTemplateResponse_version :: Lens.Lens' EmailTemplateResponse (Prelude.Maybe Prelude.Text)
emailTemplateResponse_version :: Lens' EmailTemplateResponse (Maybe Text)
emailTemplateResponse_version = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Maybe Text
version :: Maybe Text
$sel:version:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
version} -> Maybe Text
version) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Maybe Text
a -> EmailTemplateResponse
s {$sel:version:EmailTemplateResponse' :: Maybe Text
version = Maybe Text
a} :: EmailTemplateResponse)
emailTemplateResponse_tags :: Lens.Lens' EmailTemplateResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
emailTemplateResponse_tags :: Lens' EmailTemplateResponse (Maybe (HashMap Text Text))
emailTemplateResponse_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Maybe (HashMap Text Text)
a -> EmailTemplateResponse
s {$sel:tags:EmailTemplateResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: EmailTemplateResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
emailTemplateResponse_lastModifiedDate :: Lens.Lens' EmailTemplateResponse Prelude.Text
emailTemplateResponse_lastModifiedDate :: Lens' EmailTemplateResponse Text
emailTemplateResponse_lastModifiedDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Text
lastModifiedDate :: Text
$sel:lastModifiedDate:EmailTemplateResponse' :: EmailTemplateResponse -> Text
lastModifiedDate} -> Text
lastModifiedDate) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Text
a -> EmailTemplateResponse
s {$sel:lastModifiedDate:EmailTemplateResponse' :: Text
lastModifiedDate = Text
a} :: EmailTemplateResponse)
emailTemplateResponse_creationDate :: Lens.Lens' EmailTemplateResponse Prelude.Text
emailTemplateResponse_creationDate :: Lens' EmailTemplateResponse Text
emailTemplateResponse_creationDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Text
creationDate :: Text
$sel:creationDate:EmailTemplateResponse' :: EmailTemplateResponse -> Text
creationDate} -> Text
creationDate) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Text
a -> EmailTemplateResponse
s {$sel:creationDate:EmailTemplateResponse' :: Text
creationDate = Text
a} :: EmailTemplateResponse)
emailTemplateResponse_templateName :: Lens.Lens' EmailTemplateResponse Prelude.Text
emailTemplateResponse_templateName :: Lens' EmailTemplateResponse Text
emailTemplateResponse_templateName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {Text
templateName :: Text
$sel:templateName:EmailTemplateResponse' :: EmailTemplateResponse -> Text
templateName} -> Text
templateName) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} Text
a -> EmailTemplateResponse
s {$sel:templateName:EmailTemplateResponse' :: Text
templateName = Text
a} :: EmailTemplateResponse)
emailTemplateResponse_templateType :: Lens.Lens' EmailTemplateResponse TemplateType
emailTemplateResponse_templateType :: Lens' EmailTemplateResponse TemplateType
emailTemplateResponse_templateType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EmailTemplateResponse' {TemplateType
templateType :: TemplateType
$sel:templateType:EmailTemplateResponse' :: EmailTemplateResponse -> TemplateType
templateType} -> TemplateType
templateType) (\s :: EmailTemplateResponse
s@EmailTemplateResponse' {} TemplateType
a -> EmailTemplateResponse
s {$sel:templateType:EmailTemplateResponse' :: TemplateType
templateType = TemplateType
a} :: EmailTemplateResponse)
instance Data.FromJSON EmailTemplateResponse where
parseJSON :: Value -> Parser EmailTemplateResponse
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"EmailTemplateResponse"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Text
-> Text
-> Text
-> TemplateType
-> EmailTemplateResponse
EmailTemplateResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Arn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"DefaultSubstitutions")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"HtmlPart")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"RecommenderId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Subject")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"TemplateDescription")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"TextPart")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Version")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"tags" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"LastModifiedDate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"CreationDate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"TemplateName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"TemplateType")
)
instance Prelude.Hashable EmailTemplateResponse where
hashWithSalt :: Int -> EmailTemplateResponse -> Int
hashWithSalt Int
_salt EmailTemplateResponse' {Maybe Text
Maybe (HashMap Text Text)
Text
TemplateType
templateType :: TemplateType
templateName :: Text
creationDate :: Text
lastModifiedDate :: Text
tags :: Maybe (HashMap Text Text)
version :: Maybe Text
textPart :: Maybe Text
templateDescription :: Maybe Text
subject :: Maybe Text
recommenderId :: Maybe Text
htmlPart :: Maybe Text
defaultSubstitutions :: Maybe Text
arn :: Maybe Text
$sel:templateType:EmailTemplateResponse' :: EmailTemplateResponse -> TemplateType
$sel:templateName:EmailTemplateResponse' :: EmailTemplateResponse -> Text
$sel:creationDate:EmailTemplateResponse' :: EmailTemplateResponse -> Text
$sel:lastModifiedDate:EmailTemplateResponse' :: EmailTemplateResponse -> Text
$sel:tags:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe (HashMap Text Text)
$sel:version:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:textPart:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:templateDescription:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:subject:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:recommenderId:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:htmlPart:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:defaultSubstitutions:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:arn:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
arn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
defaultSubstitutions
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
htmlPart
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
recommenderId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
subject
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
templateDescription
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
textPart
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
version
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (HashMap Text Text)
tags
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
lastModifiedDate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
creationDate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
templateName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` TemplateType
templateType
instance Prelude.NFData EmailTemplateResponse where
rnf :: EmailTemplateResponse -> ()
rnf EmailTemplateResponse' {Maybe Text
Maybe (HashMap Text Text)
Text
TemplateType
templateType :: TemplateType
templateName :: Text
creationDate :: Text
lastModifiedDate :: Text
tags :: Maybe (HashMap Text Text)
version :: Maybe Text
textPart :: Maybe Text
templateDescription :: Maybe Text
subject :: Maybe Text
recommenderId :: Maybe Text
htmlPart :: Maybe Text
defaultSubstitutions :: Maybe Text
arn :: Maybe Text
$sel:templateType:EmailTemplateResponse' :: EmailTemplateResponse -> TemplateType
$sel:templateName:EmailTemplateResponse' :: EmailTemplateResponse -> Text
$sel:creationDate:EmailTemplateResponse' :: EmailTemplateResponse -> Text
$sel:lastModifiedDate:EmailTemplateResponse' :: EmailTemplateResponse -> Text
$sel:tags:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe (HashMap Text Text)
$sel:version:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:textPart:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:templateDescription:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:subject:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:recommenderId:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:htmlPart:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:defaultSubstitutions:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
$sel:arn:EmailTemplateResponse' :: EmailTemplateResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
arn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
defaultSubstitutions
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
htmlPart
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
recommenderId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
subject
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
templateDescription
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
textPart
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
version
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (HashMap Text Text)
tags
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
lastModifiedDate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
creationDate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
templateName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf TemplateType
templateType