{-# 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.Proton.Types.EnvironmentTemplate where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.Proton.Types.Provisioning
data EnvironmentTemplate = EnvironmentTemplate'
{
EnvironmentTemplate -> Maybe Provisioning
provisioning :: Prelude.Maybe Provisioning,
EnvironmentTemplate -> Maybe Text
recommendedVersion :: Prelude.Maybe Prelude.Text,
EnvironmentTemplate -> Maybe (Sensitive Text)
displayName :: Prelude.Maybe (Core.Sensitive Prelude.Text),
EnvironmentTemplate -> Maybe Text
encryptionKey :: Prelude.Maybe Prelude.Text,
EnvironmentTemplate -> Maybe (Sensitive Text)
description :: Prelude.Maybe (Core.Sensitive Prelude.Text),
EnvironmentTemplate -> Text
arn :: Prelude.Text,
EnvironmentTemplate -> POSIX
createdAt :: Core.POSIX,
EnvironmentTemplate -> POSIX
lastModifiedAt :: Core.POSIX,
EnvironmentTemplate -> Text
name :: Prelude.Text
}
deriving (EnvironmentTemplate -> EnvironmentTemplate -> Bool
(EnvironmentTemplate -> EnvironmentTemplate -> Bool)
-> (EnvironmentTemplate -> EnvironmentTemplate -> Bool)
-> Eq EnvironmentTemplate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EnvironmentTemplate -> EnvironmentTemplate -> Bool
$c/= :: EnvironmentTemplate -> EnvironmentTemplate -> Bool
== :: EnvironmentTemplate -> EnvironmentTemplate -> Bool
$c== :: EnvironmentTemplate -> EnvironmentTemplate -> Bool
Prelude.Eq, Int -> EnvironmentTemplate -> ShowS
[EnvironmentTemplate] -> ShowS
EnvironmentTemplate -> String
(Int -> EnvironmentTemplate -> ShowS)
-> (EnvironmentTemplate -> String)
-> ([EnvironmentTemplate] -> ShowS)
-> Show EnvironmentTemplate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EnvironmentTemplate] -> ShowS
$cshowList :: [EnvironmentTemplate] -> ShowS
show :: EnvironmentTemplate -> String
$cshow :: EnvironmentTemplate -> String
showsPrec :: Int -> EnvironmentTemplate -> ShowS
$cshowsPrec :: Int -> EnvironmentTemplate -> ShowS
Prelude.Show, (forall x. EnvironmentTemplate -> Rep EnvironmentTemplate x)
-> (forall x. Rep EnvironmentTemplate x -> EnvironmentTemplate)
-> Generic EnvironmentTemplate
forall x. Rep EnvironmentTemplate x -> EnvironmentTemplate
forall x. EnvironmentTemplate -> Rep EnvironmentTemplate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep EnvironmentTemplate x -> EnvironmentTemplate
$cfrom :: forall x. EnvironmentTemplate -> Rep EnvironmentTemplate x
Prelude.Generic)
newEnvironmentTemplate ::
Prelude.Text ->
Prelude.UTCTime ->
Prelude.UTCTime ->
Prelude.Text ->
EnvironmentTemplate
newEnvironmentTemplate :: Text -> UTCTime -> UTCTime -> Text -> EnvironmentTemplate
newEnvironmentTemplate
Text
pArn_
UTCTime
pCreatedAt_
UTCTime
pLastModifiedAt_
Text
pName_ =
EnvironmentTemplate' :: Maybe Provisioning
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> EnvironmentTemplate
EnvironmentTemplate'
{ $sel:provisioning:EnvironmentTemplate' :: Maybe Provisioning
provisioning =
Maybe Provisioning
forall a. Maybe a
Prelude.Nothing,
$sel:recommendedVersion:EnvironmentTemplate' :: Maybe Text
recommendedVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:displayName:EnvironmentTemplate' :: Maybe (Sensitive Text)
displayName = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:encryptionKey:EnvironmentTemplate' :: Maybe Text
encryptionKey = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:description:EnvironmentTemplate' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:arn:EnvironmentTemplate' :: Text
arn = Text
pArn_,
$sel:createdAt:EnvironmentTemplate' :: POSIX
createdAt = Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
-> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pCreatedAt_,
$sel:lastModifiedAt:EnvironmentTemplate' :: POSIX
lastModifiedAt = Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
-> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pLastModifiedAt_,
$sel:name:EnvironmentTemplate' :: Text
name = Text
pName_
}
environmentTemplate_provisioning :: Lens.Lens' EnvironmentTemplate (Prelude.Maybe Provisioning)
environmentTemplate_provisioning :: (Maybe Provisioning -> f (Maybe Provisioning))
-> EnvironmentTemplate -> f EnvironmentTemplate
environmentTemplate_provisioning = (EnvironmentTemplate -> Maybe Provisioning)
-> (EnvironmentTemplate
-> Maybe Provisioning -> EnvironmentTemplate)
-> Lens
EnvironmentTemplate
EnvironmentTemplate
(Maybe Provisioning)
(Maybe Provisioning)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EnvironmentTemplate' {Maybe Provisioning
provisioning :: Maybe Provisioning
$sel:provisioning:EnvironmentTemplate' :: EnvironmentTemplate -> Maybe Provisioning
provisioning} -> Maybe Provisioning
provisioning) (\s :: EnvironmentTemplate
s@EnvironmentTemplate' {} Maybe Provisioning
a -> EnvironmentTemplate
s {$sel:provisioning:EnvironmentTemplate' :: Maybe Provisioning
provisioning = Maybe Provisioning
a} :: EnvironmentTemplate)
environmentTemplate_recommendedVersion :: Lens.Lens' EnvironmentTemplate (Prelude.Maybe Prelude.Text)
environmentTemplate_recommendedVersion :: (Maybe Text -> f (Maybe Text))
-> EnvironmentTemplate -> f EnvironmentTemplate
environmentTemplate_recommendedVersion = (EnvironmentTemplate -> Maybe Text)
-> (EnvironmentTemplate -> Maybe Text -> EnvironmentTemplate)
-> Lens
EnvironmentTemplate EnvironmentTemplate (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EnvironmentTemplate' {Maybe Text
recommendedVersion :: Maybe Text
$sel:recommendedVersion:EnvironmentTemplate' :: EnvironmentTemplate -> Maybe Text
recommendedVersion} -> Maybe Text
recommendedVersion) (\s :: EnvironmentTemplate
s@EnvironmentTemplate' {} Maybe Text
a -> EnvironmentTemplate
s {$sel:recommendedVersion:EnvironmentTemplate' :: Maybe Text
recommendedVersion = Maybe Text
a} :: EnvironmentTemplate)
environmentTemplate_displayName :: Lens.Lens' EnvironmentTemplate (Prelude.Maybe Prelude.Text)
environmentTemplate_displayName :: (Maybe Text -> f (Maybe Text))
-> EnvironmentTemplate -> f EnvironmentTemplate
environmentTemplate_displayName = (EnvironmentTemplate -> Maybe (Sensitive Text))
-> (EnvironmentTemplate
-> Maybe (Sensitive Text) -> EnvironmentTemplate)
-> Lens
EnvironmentTemplate
EnvironmentTemplate
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EnvironmentTemplate' {Maybe (Sensitive Text)
displayName :: Maybe (Sensitive Text)
$sel:displayName:EnvironmentTemplate' :: EnvironmentTemplate -> Maybe (Sensitive Text)
displayName} -> Maybe (Sensitive Text)
displayName) (\s :: EnvironmentTemplate
s@EnvironmentTemplate' {} Maybe (Sensitive Text)
a -> EnvironmentTemplate
s {$sel:displayName:EnvironmentTemplate' :: Maybe (Sensitive Text)
displayName = Maybe (Sensitive Text)
a} :: EnvironmentTemplate) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> EnvironmentTemplate -> f EnvironmentTemplate)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> EnvironmentTemplate
-> f EnvironmentTemplate
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
(Maybe Text)
(Maybe Text)
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 AnIso (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
environmentTemplate_encryptionKey :: Lens.Lens' EnvironmentTemplate (Prelude.Maybe Prelude.Text)
environmentTemplate_encryptionKey :: (Maybe Text -> f (Maybe Text))
-> EnvironmentTemplate -> f EnvironmentTemplate
environmentTemplate_encryptionKey = (EnvironmentTemplate -> Maybe Text)
-> (EnvironmentTemplate -> Maybe Text -> EnvironmentTemplate)
-> Lens
EnvironmentTemplate EnvironmentTemplate (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EnvironmentTemplate' {Maybe Text
encryptionKey :: Maybe Text
$sel:encryptionKey:EnvironmentTemplate' :: EnvironmentTemplate -> Maybe Text
encryptionKey} -> Maybe Text
encryptionKey) (\s :: EnvironmentTemplate
s@EnvironmentTemplate' {} Maybe Text
a -> EnvironmentTemplate
s {$sel:encryptionKey:EnvironmentTemplate' :: Maybe Text
encryptionKey = Maybe Text
a} :: EnvironmentTemplate)
environmentTemplate_description :: Lens.Lens' EnvironmentTemplate (Prelude.Maybe Prelude.Text)
environmentTemplate_description :: (Maybe Text -> f (Maybe Text))
-> EnvironmentTemplate -> f EnvironmentTemplate
environmentTemplate_description = (EnvironmentTemplate -> Maybe (Sensitive Text))
-> (EnvironmentTemplate
-> Maybe (Sensitive Text) -> EnvironmentTemplate)
-> Lens
EnvironmentTemplate
EnvironmentTemplate
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EnvironmentTemplate' {Maybe (Sensitive Text)
description :: Maybe (Sensitive Text)
$sel:description:EnvironmentTemplate' :: EnvironmentTemplate -> Maybe (Sensitive Text)
description} -> Maybe (Sensitive Text)
description) (\s :: EnvironmentTemplate
s@EnvironmentTemplate' {} Maybe (Sensitive Text)
a -> EnvironmentTemplate
s {$sel:description:EnvironmentTemplate' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
a} :: EnvironmentTemplate) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> EnvironmentTemplate -> f EnvironmentTemplate)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> EnvironmentTemplate
-> f EnvironmentTemplate
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
(Maybe Text)
(Maybe Text)
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 AnIso (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
environmentTemplate_arn :: Lens.Lens' EnvironmentTemplate Prelude.Text
environmentTemplate_arn :: (Text -> f Text) -> EnvironmentTemplate -> f EnvironmentTemplate
environmentTemplate_arn = (EnvironmentTemplate -> Text)
-> (EnvironmentTemplate -> Text -> EnvironmentTemplate)
-> Lens EnvironmentTemplate EnvironmentTemplate Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EnvironmentTemplate' {Text
arn :: Text
$sel:arn:EnvironmentTemplate' :: EnvironmentTemplate -> Text
arn} -> Text
arn) (\s :: EnvironmentTemplate
s@EnvironmentTemplate' {} Text
a -> EnvironmentTemplate
s {$sel:arn:EnvironmentTemplate' :: Text
arn = Text
a} :: EnvironmentTemplate)
environmentTemplate_createdAt :: Lens.Lens' EnvironmentTemplate Prelude.UTCTime
environmentTemplate_createdAt :: (UTCTime -> f UTCTime)
-> EnvironmentTemplate -> f EnvironmentTemplate
environmentTemplate_createdAt = (EnvironmentTemplate -> POSIX)
-> (EnvironmentTemplate -> POSIX -> EnvironmentTemplate)
-> Lens EnvironmentTemplate EnvironmentTemplate POSIX POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EnvironmentTemplate' {POSIX
createdAt :: POSIX
$sel:createdAt:EnvironmentTemplate' :: EnvironmentTemplate -> POSIX
createdAt} -> POSIX
createdAt) (\s :: EnvironmentTemplate
s@EnvironmentTemplate' {} POSIX
a -> EnvironmentTemplate
s {$sel:createdAt:EnvironmentTemplate' :: POSIX
createdAt = POSIX
a} :: EnvironmentTemplate) ((POSIX -> f POSIX)
-> EnvironmentTemplate -> f EnvironmentTemplate)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> EnvironmentTemplate
-> f EnvironmentTemplate
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
environmentTemplate_lastModifiedAt :: Lens.Lens' EnvironmentTemplate Prelude.UTCTime
environmentTemplate_lastModifiedAt :: (UTCTime -> f UTCTime)
-> EnvironmentTemplate -> f EnvironmentTemplate
environmentTemplate_lastModifiedAt = (EnvironmentTemplate -> POSIX)
-> (EnvironmentTemplate -> POSIX -> EnvironmentTemplate)
-> Lens EnvironmentTemplate EnvironmentTemplate POSIX POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EnvironmentTemplate' {POSIX
lastModifiedAt :: POSIX
$sel:lastModifiedAt:EnvironmentTemplate' :: EnvironmentTemplate -> POSIX
lastModifiedAt} -> POSIX
lastModifiedAt) (\s :: EnvironmentTemplate
s@EnvironmentTemplate' {} POSIX
a -> EnvironmentTemplate
s {$sel:lastModifiedAt:EnvironmentTemplate' :: POSIX
lastModifiedAt = POSIX
a} :: EnvironmentTemplate) ((POSIX -> f POSIX)
-> EnvironmentTemplate -> f EnvironmentTemplate)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> EnvironmentTemplate
-> f EnvironmentTemplate
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
environmentTemplate_name :: Lens.Lens' EnvironmentTemplate Prelude.Text
environmentTemplate_name :: (Text -> f Text) -> EnvironmentTemplate -> f EnvironmentTemplate
environmentTemplate_name = (EnvironmentTemplate -> Text)
-> (EnvironmentTemplate -> Text -> EnvironmentTemplate)
-> Lens EnvironmentTemplate EnvironmentTemplate Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EnvironmentTemplate' {Text
name :: Text
$sel:name:EnvironmentTemplate' :: EnvironmentTemplate -> Text
name} -> Text
name) (\s :: EnvironmentTemplate
s@EnvironmentTemplate' {} Text
a -> EnvironmentTemplate
s {$sel:name:EnvironmentTemplate' :: Text
name = Text
a} :: EnvironmentTemplate)
instance Core.FromJSON EnvironmentTemplate where
parseJSON :: Value -> Parser EnvironmentTemplate
parseJSON =
String
-> (Object -> Parser EnvironmentTemplate)
-> Value
-> Parser EnvironmentTemplate
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"EnvironmentTemplate"
( \Object
x ->
Maybe Provisioning
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> EnvironmentTemplate
EnvironmentTemplate'
(Maybe Provisioning
-> Maybe Text
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> EnvironmentTemplate)
-> Parser (Maybe Provisioning)
-> Parser
(Maybe Text
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> EnvironmentTemplate)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Provisioning)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"provisioning")
Parser
(Maybe Text
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> EnvironmentTemplate)
-> Parser (Maybe Text)
-> Parser
(Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> EnvironmentTemplate)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"recommendedVersion")
Parser
(Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> EnvironmentTemplate)
-> Parser (Maybe (Sensitive Text))
-> Parser
(Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> EnvironmentTemplate)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"displayName")
Parser
(Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> EnvironmentTemplate)
-> Parser (Maybe Text)
-> Parser
(Maybe (Sensitive Text)
-> Text -> POSIX -> POSIX -> Text -> EnvironmentTemplate)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"encryptionKey")
Parser
(Maybe (Sensitive Text)
-> Text -> POSIX -> POSIX -> Text -> EnvironmentTemplate)
-> Parser (Maybe (Sensitive Text))
-> Parser (Text -> POSIX -> POSIX -> Text -> EnvironmentTemplate)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"description")
Parser (Text -> POSIX -> POSIX -> Text -> EnvironmentTemplate)
-> Parser Text
-> Parser (POSIX -> POSIX -> Text -> EnvironmentTemplate)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"arn")
Parser (POSIX -> POSIX -> Text -> EnvironmentTemplate)
-> Parser POSIX -> Parser (POSIX -> Text -> EnvironmentTemplate)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser POSIX
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"createdAt")
Parser (POSIX -> Text -> EnvironmentTemplate)
-> Parser POSIX -> Parser (Text -> EnvironmentTemplate)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser POSIX
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"lastModifiedAt")
Parser (Text -> EnvironmentTemplate)
-> Parser Text -> Parser EnvironmentTemplate
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"name")
)
instance Prelude.Hashable EnvironmentTemplate
instance Prelude.NFData EnvironmentTemplate