{-# 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.FinSpace.Types.Environment where
import qualified Amazonka.Core as Core
import Amazonka.FinSpace.Types.EnvironmentStatus
import Amazonka.FinSpace.Types.FederationMode
import Amazonka.FinSpace.Types.FederationParameters
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data Environment = Environment'
{
Environment -> Maybe EnvironmentStatus
status :: Prelude.Maybe EnvironmentStatus,
Environment -> Maybe FederationParameters
federationParameters :: Prelude.Maybe FederationParameters,
Environment -> Maybe Text
dedicatedServiceAccountId :: Prelude.Maybe Prelude.Text,
Environment -> Maybe Text
environmentUrl :: Prelude.Maybe Prelude.Text,
Environment -> Maybe FederationMode
federationMode :: Prelude.Maybe FederationMode,
Environment -> Maybe Text
awsAccountId :: Prelude.Maybe Prelude.Text,
Environment -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
Environment -> Maybe Text
kmsKeyId :: Prelude.Maybe Prelude.Text,
Environment -> Maybe Text
environmentId :: Prelude.Maybe Prelude.Text,
Environment -> Maybe Text
environmentArn :: Prelude.Maybe Prelude.Text,
Environment -> Maybe Text
sageMakerStudioDomainUrl :: Prelude.Maybe Prelude.Text,
Environment -> Maybe Text
description :: Prelude.Maybe Prelude.Text
}
deriving (Environment -> Environment -> Bool
(Environment -> Environment -> Bool)
-> (Environment -> Environment -> Bool) -> Eq Environment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Environment -> Environment -> Bool
$c/= :: Environment -> Environment -> Bool
== :: Environment -> Environment -> Bool
$c== :: Environment -> Environment -> Bool
Prelude.Eq, ReadPrec [Environment]
ReadPrec Environment
Int -> ReadS Environment
ReadS [Environment]
(Int -> ReadS Environment)
-> ReadS [Environment]
-> ReadPrec Environment
-> ReadPrec [Environment]
-> Read Environment
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Environment]
$creadListPrec :: ReadPrec [Environment]
readPrec :: ReadPrec Environment
$creadPrec :: ReadPrec Environment
readList :: ReadS [Environment]
$creadList :: ReadS [Environment]
readsPrec :: Int -> ReadS Environment
$creadsPrec :: Int -> ReadS Environment
Prelude.Read, Int -> Environment -> ShowS
[Environment] -> ShowS
Environment -> String
(Int -> Environment -> ShowS)
-> (Environment -> String)
-> ([Environment] -> ShowS)
-> Show Environment
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Environment] -> ShowS
$cshowList :: [Environment] -> ShowS
show :: Environment -> String
$cshow :: Environment -> String
showsPrec :: Int -> Environment -> ShowS
$cshowsPrec :: Int -> Environment -> ShowS
Prelude.Show, (forall x. Environment -> Rep Environment x)
-> (forall x. Rep Environment x -> Environment)
-> Generic Environment
forall x. Rep Environment x -> Environment
forall x. Environment -> Rep Environment x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Environment x -> Environment
$cfrom :: forall x. Environment -> Rep Environment x
Prelude.Generic)
newEnvironment ::
Environment
newEnvironment :: Environment
newEnvironment =
Environment' :: Maybe EnvironmentStatus
-> Maybe FederationParameters
-> Maybe Text
-> Maybe Text
-> Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment
Environment'
{ $sel:status:Environment' :: Maybe EnvironmentStatus
status = Maybe EnvironmentStatus
forall a. Maybe a
Prelude.Nothing,
$sel:federationParameters:Environment' :: Maybe FederationParameters
federationParameters = Maybe FederationParameters
forall a. Maybe a
Prelude.Nothing,
$sel:dedicatedServiceAccountId:Environment' :: Maybe Text
dedicatedServiceAccountId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:environmentUrl:Environment' :: Maybe Text
environmentUrl = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:federationMode:Environment' :: Maybe FederationMode
federationMode = Maybe FederationMode
forall a. Maybe a
Prelude.Nothing,
$sel:awsAccountId:Environment' :: Maybe Text
awsAccountId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:Environment' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:kmsKeyId:Environment' :: Maybe Text
kmsKeyId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:environmentId:Environment' :: Maybe Text
environmentId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:environmentArn:Environment' :: Maybe Text
environmentArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:sageMakerStudioDomainUrl:Environment' :: Maybe Text
sageMakerStudioDomainUrl = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:description:Environment' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
environment_status :: Lens.Lens' Environment (Prelude.Maybe EnvironmentStatus)
environment_status :: (Maybe EnvironmentStatus -> f (Maybe EnvironmentStatus))
-> Environment -> f Environment
environment_status = (Environment -> Maybe EnvironmentStatus)
-> (Environment -> Maybe EnvironmentStatus -> Environment)
-> Lens
Environment
Environment
(Maybe EnvironmentStatus)
(Maybe EnvironmentStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe EnvironmentStatus
status :: Maybe EnvironmentStatus
$sel:status:Environment' :: Environment -> Maybe EnvironmentStatus
status} -> Maybe EnvironmentStatus
status) (\s :: Environment
s@Environment' {} Maybe EnvironmentStatus
a -> Environment
s {$sel:status:Environment' :: Maybe EnvironmentStatus
status = Maybe EnvironmentStatus
a} :: Environment)
environment_federationParameters :: Lens.Lens' Environment (Prelude.Maybe FederationParameters)
environment_federationParameters :: (Maybe FederationParameters -> f (Maybe FederationParameters))
-> Environment -> f Environment
environment_federationParameters = (Environment -> Maybe FederationParameters)
-> (Environment -> Maybe FederationParameters -> Environment)
-> Lens
Environment
Environment
(Maybe FederationParameters)
(Maybe FederationParameters)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe FederationParameters
federationParameters :: Maybe FederationParameters
$sel:federationParameters:Environment' :: Environment -> Maybe FederationParameters
federationParameters} -> Maybe FederationParameters
federationParameters) (\s :: Environment
s@Environment' {} Maybe FederationParameters
a -> Environment
s {$sel:federationParameters:Environment' :: Maybe FederationParameters
federationParameters = Maybe FederationParameters
a} :: Environment)
environment_dedicatedServiceAccountId :: Lens.Lens' Environment (Prelude.Maybe Prelude.Text)
environment_dedicatedServiceAccountId :: (Maybe Text -> f (Maybe Text)) -> Environment -> f Environment
environment_dedicatedServiceAccountId = (Environment -> Maybe Text)
-> (Environment -> Maybe Text -> Environment)
-> Lens Environment Environment (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe Text
dedicatedServiceAccountId :: Maybe Text
$sel:dedicatedServiceAccountId:Environment' :: Environment -> Maybe Text
dedicatedServiceAccountId} -> Maybe Text
dedicatedServiceAccountId) (\s :: Environment
s@Environment' {} Maybe Text
a -> Environment
s {$sel:dedicatedServiceAccountId:Environment' :: Maybe Text
dedicatedServiceAccountId = Maybe Text
a} :: Environment)
environment_environmentUrl :: Lens.Lens' Environment (Prelude.Maybe Prelude.Text)
environment_environmentUrl :: (Maybe Text -> f (Maybe Text)) -> Environment -> f Environment
environment_environmentUrl = (Environment -> Maybe Text)
-> (Environment -> Maybe Text -> Environment)
-> Lens Environment Environment (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe Text
environmentUrl :: Maybe Text
$sel:environmentUrl:Environment' :: Environment -> Maybe Text
environmentUrl} -> Maybe Text
environmentUrl) (\s :: Environment
s@Environment' {} Maybe Text
a -> Environment
s {$sel:environmentUrl:Environment' :: Maybe Text
environmentUrl = Maybe Text
a} :: Environment)
environment_federationMode :: Lens.Lens' Environment (Prelude.Maybe FederationMode)
environment_federationMode :: (Maybe FederationMode -> f (Maybe FederationMode))
-> Environment -> f Environment
environment_federationMode = (Environment -> Maybe FederationMode)
-> (Environment -> Maybe FederationMode -> Environment)
-> Lens
Environment
Environment
(Maybe FederationMode)
(Maybe FederationMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe FederationMode
federationMode :: Maybe FederationMode
$sel:federationMode:Environment' :: Environment -> Maybe FederationMode
federationMode} -> Maybe FederationMode
federationMode) (\s :: Environment
s@Environment' {} Maybe FederationMode
a -> Environment
s {$sel:federationMode:Environment' :: Maybe FederationMode
federationMode = Maybe FederationMode
a} :: Environment)
environment_awsAccountId :: Lens.Lens' Environment (Prelude.Maybe Prelude.Text)
environment_awsAccountId :: (Maybe Text -> f (Maybe Text)) -> Environment -> f Environment
environment_awsAccountId = (Environment -> Maybe Text)
-> (Environment -> Maybe Text -> Environment)
-> Lens Environment Environment (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe Text
awsAccountId :: Maybe Text
$sel:awsAccountId:Environment' :: Environment -> Maybe Text
awsAccountId} -> Maybe Text
awsAccountId) (\s :: Environment
s@Environment' {} Maybe Text
a -> Environment
s {$sel:awsAccountId:Environment' :: Maybe Text
awsAccountId = Maybe Text
a} :: Environment)
environment_name :: Lens.Lens' Environment (Prelude.Maybe Prelude.Text)
environment_name :: (Maybe Text -> f (Maybe Text)) -> Environment -> f Environment
environment_name = (Environment -> Maybe Text)
-> (Environment -> Maybe Text -> Environment)
-> Lens Environment Environment (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe Text
name :: Maybe Text
$sel:name:Environment' :: Environment -> Maybe Text
name} -> Maybe Text
name) (\s :: Environment
s@Environment' {} Maybe Text
a -> Environment
s {$sel:name:Environment' :: Maybe Text
name = Maybe Text
a} :: Environment)
environment_kmsKeyId :: Lens.Lens' Environment (Prelude.Maybe Prelude.Text)
environment_kmsKeyId :: (Maybe Text -> f (Maybe Text)) -> Environment -> f Environment
environment_kmsKeyId = (Environment -> Maybe Text)
-> (Environment -> Maybe Text -> Environment)
-> Lens Environment Environment (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe Text
kmsKeyId :: Maybe Text
$sel:kmsKeyId:Environment' :: Environment -> Maybe Text
kmsKeyId} -> Maybe Text
kmsKeyId) (\s :: Environment
s@Environment' {} Maybe Text
a -> Environment
s {$sel:kmsKeyId:Environment' :: Maybe Text
kmsKeyId = Maybe Text
a} :: Environment)
environment_environmentId :: Lens.Lens' Environment (Prelude.Maybe Prelude.Text)
environment_environmentId :: (Maybe Text -> f (Maybe Text)) -> Environment -> f Environment
environment_environmentId = (Environment -> Maybe Text)
-> (Environment -> Maybe Text -> Environment)
-> Lens Environment Environment (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe Text
environmentId :: Maybe Text
$sel:environmentId:Environment' :: Environment -> Maybe Text
environmentId} -> Maybe Text
environmentId) (\s :: Environment
s@Environment' {} Maybe Text
a -> Environment
s {$sel:environmentId:Environment' :: Maybe Text
environmentId = Maybe Text
a} :: Environment)
environment_environmentArn :: Lens.Lens' Environment (Prelude.Maybe Prelude.Text)
environment_environmentArn :: (Maybe Text -> f (Maybe Text)) -> Environment -> f Environment
environment_environmentArn = (Environment -> Maybe Text)
-> (Environment -> Maybe Text -> Environment)
-> Lens Environment Environment (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe Text
environmentArn :: Maybe Text
$sel:environmentArn:Environment' :: Environment -> Maybe Text
environmentArn} -> Maybe Text
environmentArn) (\s :: Environment
s@Environment' {} Maybe Text
a -> Environment
s {$sel:environmentArn:Environment' :: Maybe Text
environmentArn = Maybe Text
a} :: Environment)
environment_sageMakerStudioDomainUrl :: Lens.Lens' Environment (Prelude.Maybe Prelude.Text)
environment_sageMakerStudioDomainUrl :: (Maybe Text -> f (Maybe Text)) -> Environment -> f Environment
environment_sageMakerStudioDomainUrl = (Environment -> Maybe Text)
-> (Environment -> Maybe Text -> Environment)
-> Lens Environment Environment (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe Text
sageMakerStudioDomainUrl :: Maybe Text
$sel:sageMakerStudioDomainUrl:Environment' :: Environment -> Maybe Text
sageMakerStudioDomainUrl} -> Maybe Text
sageMakerStudioDomainUrl) (\s :: Environment
s@Environment' {} Maybe Text
a -> Environment
s {$sel:sageMakerStudioDomainUrl:Environment' :: Maybe Text
sageMakerStudioDomainUrl = Maybe Text
a} :: Environment)
environment_description :: Lens.Lens' Environment (Prelude.Maybe Prelude.Text)
environment_description :: (Maybe Text -> f (Maybe Text)) -> Environment -> f Environment
environment_description = (Environment -> Maybe Text)
-> (Environment -> Maybe Text -> Environment)
-> Lens Environment Environment (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Environment' {Maybe Text
description :: Maybe Text
$sel:description:Environment' :: Environment -> Maybe Text
description} -> Maybe Text
description) (\s :: Environment
s@Environment' {} Maybe Text
a -> Environment
s {$sel:description:Environment' :: Maybe Text
description = Maybe Text
a} :: Environment)
instance Core.FromJSON Environment where
parseJSON :: Value -> Parser Environment
parseJSON =
String
-> (Object -> Parser Environment) -> Value -> Parser Environment
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"Environment"
( \Object
x ->
Maybe EnvironmentStatus
-> Maybe FederationParameters
-> Maybe Text
-> Maybe Text
-> Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment
Environment'
(Maybe EnvironmentStatus
-> Maybe FederationParameters
-> Maybe Text
-> Maybe Text
-> Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
-> Parser (Maybe EnvironmentStatus)
-> Parser
(Maybe FederationParameters
-> Maybe Text
-> Maybe Text
-> Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe EnvironmentStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"status")
Parser
(Maybe FederationParameters
-> Maybe Text
-> Maybe Text
-> Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
-> Parser (Maybe FederationParameters)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe FederationParameters)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"federationParameters")
Parser
(Maybe Text
-> Maybe Text
-> Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
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
"dedicatedServiceAccountId")
Parser
(Maybe Text
-> Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
-> Parser (Maybe Text)
-> Parser
(Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
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
"environmentUrl")
Parser
(Maybe FederationMode
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
-> Parser (Maybe FederationMode)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe FederationMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"federationMode")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
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
"awsAccountId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
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
"name")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Environment)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text -> Maybe Text -> Maybe Text -> Environment)
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
"kmsKeyId")
Parser
(Maybe Text
-> Maybe Text -> Maybe Text -> Maybe Text -> Environment)
-> Parser (Maybe Text)
-> Parser (Maybe Text -> Maybe Text -> Maybe Text -> Environment)
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
"environmentId")
Parser (Maybe Text -> Maybe Text -> Maybe Text -> Environment)
-> Parser (Maybe Text)
-> Parser (Maybe Text -> Maybe Text -> Environment)
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
"environmentArn")
Parser (Maybe Text -> Maybe Text -> Environment)
-> Parser (Maybe Text) -> Parser (Maybe Text -> Environment)
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
"sageMakerStudioDomainUrl")
Parser (Maybe Text -> Environment)
-> Parser (Maybe Text) -> Parser Environment
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
"description")
)
instance Prelude.Hashable Environment
instance Prelude.NFData Environment