module Stratosphere.DataZone.Connection (
module Exports, Connection(..), mkConnection
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DataZone.Connection.AwsLocationProperty as Exports
import {-# SOURCE #-} Stratosphere.DataZone.Connection.ConnectionPropertiesInputProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Connection
=
Connection {Connection -> ()
haddock_workaround_ :: (),
Connection -> Maybe AwsLocationProperty
awsLocation :: (Prelude.Maybe AwsLocationProperty),
Connection -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
Connection -> Value Text
domainIdentifier :: (Value Prelude.Text),
Connection -> Maybe (Value Bool)
enableTrustedIdentityPropagation :: (Prelude.Maybe (Value Prelude.Bool)),
Connection -> Maybe (Value Text)
environmentIdentifier :: (Prelude.Maybe (Value Prelude.Text)),
Connection -> Value Text
name :: (Value Prelude.Text),
Connection -> Maybe (Value Text)
projectIdentifier :: (Prelude.Maybe (Value Prelude.Text)),
Connection -> Maybe ConnectionPropertiesInputProperty
props :: (Prelude.Maybe ConnectionPropertiesInputProperty)}
deriving stock (Connection -> Connection -> Bool
(Connection -> Connection -> Bool)
-> (Connection -> Connection -> Bool) -> Eq Connection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Connection -> Connection -> Bool
== :: Connection -> Connection -> Bool
$c/= :: Connection -> Connection -> Bool
/= :: Connection -> Connection -> Bool
Prelude.Eq, Int -> Connection -> ShowS
[Connection] -> ShowS
Connection -> String
(Int -> Connection -> ShowS)
-> (Connection -> String)
-> ([Connection] -> ShowS)
-> Show Connection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Connection -> ShowS
showsPrec :: Int -> Connection -> ShowS
$cshow :: Connection -> String
show :: Connection -> String
$cshowList :: [Connection] -> ShowS
showList :: [Connection] -> ShowS
Prelude.Show)
mkConnection ::
Value Prelude.Text -> Value Prelude.Text -> Connection
mkConnection :: Value Text -> Value Text -> Connection
mkConnection Value Text
domainIdentifier Value Text
name
= Connection
{haddock_workaround_ :: ()
haddock_workaround_ = (), domainIdentifier :: Value Text
domainIdentifier = Value Text
domainIdentifier,
name :: Value Text
name = Value Text
name, awsLocation :: Maybe AwsLocationProperty
awsLocation = Maybe AwsLocationProperty
forall a. Maybe a
Prelude.Nothing,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
enableTrustedIdentityPropagation :: Maybe (Value Bool)
enableTrustedIdentityPropagation = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
environmentIdentifier :: Maybe (Value Text)
environmentIdentifier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
projectIdentifier :: Maybe (Value Text)
projectIdentifier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, props :: Maybe ConnectionPropertiesInputProperty
props = Maybe ConnectionPropertiesInputProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Connection where
toResourceProperties :: Connection -> ResourceProperties
toResourceProperties Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::DataZone::Connection",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"DomainIdentifier" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
domainIdentifier, Key
"Name" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
name]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AwsLocationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AwsLocation" (AwsLocationProperty -> (Key, Value))
-> Maybe AwsLocationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsLocationProperty
awsLocation,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableTrustedIdentityPropagation"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableTrustedIdentityPropagation,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnvironmentIdentifier"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
environmentIdentifier,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProjectIdentifier" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
projectIdentifier,
Key -> ConnectionPropertiesInputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Props" (ConnectionPropertiesInputProperty -> (Key, Value))
-> Maybe ConnectionPropertiesInputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ConnectionPropertiesInputProperty
props]))}
instance JSON.ToJSON Connection where
toJSON :: Connection -> Value
toJSON Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"DomainIdentifier" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
domainIdentifier, Key
"Name" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
name]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AwsLocationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AwsLocation" (AwsLocationProperty -> (Key, Value))
-> Maybe AwsLocationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsLocationProperty
awsLocation,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnableTrustedIdentityPropagation"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enableTrustedIdentityPropagation,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EnvironmentIdentifier"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
environmentIdentifier,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProjectIdentifier" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
projectIdentifier,
Key -> ConnectionPropertiesInputProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Props" (ConnectionPropertiesInputProperty -> (Key, Value))
-> Maybe ConnectionPropertiesInputProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ConnectionPropertiesInputProperty
props])))
instance Property "AwsLocation" Connection where
type PropertyType "AwsLocation" Connection = AwsLocationProperty
set :: PropertyType "AwsLocation" Connection -> Connection -> Connection
set PropertyType "AwsLocation" Connection
newValue Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
= Connection {awsLocation :: Maybe AwsLocationProperty
awsLocation = AwsLocationProperty -> Maybe AwsLocationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AwsLocation" Connection
AwsLocationProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
instance Property "Description" Connection where
type PropertyType "Description" Connection = Value Prelude.Text
set :: PropertyType "Description" Connection -> Connection -> Connection
set PropertyType "Description" Connection
newValue Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
= Connection {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" Connection
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
instance Property "DomainIdentifier" Connection where
type PropertyType "DomainIdentifier" Connection = Value Prelude.Text
set :: PropertyType "DomainIdentifier" Connection
-> Connection -> Connection
set PropertyType "DomainIdentifier" Connection
newValue Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
= Connection {domainIdentifier :: Value Text
domainIdentifier = PropertyType "DomainIdentifier" Connection
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
instance Property "EnableTrustedIdentityPropagation" Connection where
type PropertyType "EnableTrustedIdentityPropagation" Connection = Value Prelude.Bool
set :: PropertyType "EnableTrustedIdentityPropagation" Connection
-> Connection -> Connection
set PropertyType "EnableTrustedIdentityPropagation" Connection
newValue Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
= Connection
{enableTrustedIdentityPropagation :: Maybe (Value Bool)
enableTrustedIdentityPropagation = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableTrustedIdentityPropagation" Connection
Value Bool
newValue, Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
instance Property "EnvironmentIdentifier" Connection where
type PropertyType "EnvironmentIdentifier" Connection = Value Prelude.Text
set :: PropertyType "EnvironmentIdentifier" Connection
-> Connection -> Connection
set PropertyType "EnvironmentIdentifier" Connection
newValue Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
= Connection {environmentIdentifier :: Maybe (Value Text)
environmentIdentifier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnvironmentIdentifier" Connection
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
instance Property "Name" Connection where
type PropertyType "Name" Connection = Value Prelude.Text
set :: PropertyType "Name" Connection -> Connection -> Connection
set PropertyType "Name" Connection
newValue Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..} = Connection {name :: Value Text
name = PropertyType "Name" Connection
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
instance Property "ProjectIdentifier" Connection where
type PropertyType "ProjectIdentifier" Connection = Value Prelude.Text
set :: PropertyType "ProjectIdentifier" Connection
-> Connection -> Connection
set PropertyType "ProjectIdentifier" Connection
newValue Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
= Connection {projectIdentifier :: Maybe (Value Text)
projectIdentifier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ProjectIdentifier" Connection
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
props :: Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
props :: Maybe ConnectionPropertiesInputProperty
..}
instance Property "Props" Connection where
type PropertyType "Props" Connection = ConnectionPropertiesInputProperty
set :: PropertyType "Props" Connection -> Connection -> Connection
set PropertyType "Props" Connection
newValue Connection {Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
Maybe ConnectionPropertiesInputProperty
()
Value Text
haddock_workaround_ :: Connection -> ()
awsLocation :: Connection -> Maybe AwsLocationProperty
description :: Connection -> Maybe (Value Text)
domainIdentifier :: Connection -> Value Text
enableTrustedIdentityPropagation :: Connection -> Maybe (Value Bool)
environmentIdentifier :: Connection -> Maybe (Value Text)
name :: Connection -> Value Text
projectIdentifier :: Connection -> Maybe (Value Text)
props :: Connection -> Maybe ConnectionPropertiesInputProperty
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
props :: Maybe ConnectionPropertiesInputProperty
..}
= Connection {props :: Maybe ConnectionPropertiesInputProperty
props = ConnectionPropertiesInputProperty
-> Maybe ConnectionPropertiesInputProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Props" Connection
ConnectionPropertiesInputProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe AwsLocationProperty
()
Value Text
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
haddock_workaround_ :: ()
awsLocation :: Maybe AwsLocationProperty
description :: Maybe (Value Text)
domainIdentifier :: Value Text
enableTrustedIdentityPropagation :: Maybe (Value Bool)
environmentIdentifier :: Maybe (Value Text)
name :: Value Text
projectIdentifier :: Maybe (Value Text)
..}