module Stratosphere.EC2.NatGateway (
NatGateway(..), mkNatGateway
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data NatGateway
=
NatGateway {NatGateway -> ()
haddock_workaround_ :: (),
NatGateway -> Maybe (Value Text)
allocationId :: (Prelude.Maybe (Value Prelude.Text)),
NatGateway -> Maybe (Value Text)
connectivityType :: (Prelude.Maybe (Value Prelude.Text)),
NatGateway -> Maybe (Value Integer)
maxDrainDurationSeconds :: (Prelude.Maybe (Value Prelude.Integer)),
NatGateway -> Maybe (Value Text)
privateIpAddress :: (Prelude.Maybe (Value Prelude.Text)),
NatGateway -> Maybe (ValueList Text)
secondaryAllocationIds :: (Prelude.Maybe (ValueList Prelude.Text)),
NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddressCount :: (Prelude.Maybe (Value Prelude.Integer)),
NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddresses :: (Prelude.Maybe (ValueList Prelude.Text)),
NatGateway -> Maybe (Value Text)
subnetId :: (Prelude.Maybe (Value Prelude.Text)),
NatGateway -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
NatGateway -> Maybe (Value Text)
vpcId :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (NatGateway -> NatGateway -> Bool
(NatGateway -> NatGateway -> Bool)
-> (NatGateway -> NatGateway -> Bool) -> Eq NatGateway
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: NatGateway -> NatGateway -> Bool
== :: NatGateway -> NatGateway -> Bool
$c/= :: NatGateway -> NatGateway -> Bool
/= :: NatGateway -> NatGateway -> Bool
Prelude.Eq, Int -> NatGateway -> ShowS
[NatGateway] -> ShowS
NatGateway -> String
(Int -> NatGateway -> ShowS)
-> (NatGateway -> String)
-> ([NatGateway] -> ShowS)
-> Show NatGateway
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> NatGateway -> ShowS
showsPrec :: Int -> NatGateway -> ShowS
$cshow :: NatGateway -> String
show :: NatGateway -> String
$cshowList :: [NatGateway] -> ShowS
showList :: [NatGateway] -> ShowS
Prelude.Show)
mkNatGateway :: NatGateway
mkNatGateway :: NatGateway
mkNatGateway
= NatGateway
{haddock_workaround_ :: ()
haddock_workaround_ = (), allocationId :: Maybe (Value Text)
allocationId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
connectivityType :: Maybe (Value Text)
connectivityType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
maxDrainDurationSeconds :: Maybe (Value Integer)
maxDrainDurationSeconds = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
privateIpAddress :: Maybe (Value Text)
privateIpAddress = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryAllocationIds = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddressCount = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
secondaryPrivateIpAddresses = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
subnetId :: Maybe (Value Text)
subnetId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
vpcId :: Maybe (Value Text)
vpcId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties NatGateway where
toResourceProperties :: NatGateway -> ResourceProperties
toResourceProperties NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::EC2::NatGateway", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"AllocationId" (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)
allocationId,
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
"ConnectivityType" (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)
connectivityType,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaxDrainDurationSeconds"
(Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxDrainDurationSeconds,
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
"PrivateIpAddress" (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)
privateIpAddress,
Key -> ValueList 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
"SecondaryAllocationIds"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
secondaryAllocationIds,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SecondaryPrivateIpAddressCount"
(Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
secondaryPrivateIpAddressCount,
Key -> ValueList 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
"SecondaryPrivateIpAddresses"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
secondaryPrivateIpAddresses,
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
"SubnetId" (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)
subnetId,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
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
"VpcId" (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)
vpcId])}
instance JSON.ToJSON NatGateway where
toJSON :: NatGateway -> Value
toJSON NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"AllocationId" (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)
allocationId,
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
"ConnectivityType" (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)
connectivityType,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaxDrainDurationSeconds"
(Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxDrainDurationSeconds,
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
"PrivateIpAddress" (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)
privateIpAddress,
Key -> ValueList 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
"SecondaryAllocationIds"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
secondaryAllocationIds,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SecondaryPrivateIpAddressCount"
(Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
secondaryPrivateIpAddressCount,
Key -> ValueList 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
"SecondaryPrivateIpAddresses"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
secondaryPrivateIpAddresses,
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
"SubnetId" (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)
subnetId,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
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
"VpcId" (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)
vpcId]))
instance Property "AllocationId" NatGateway where
type PropertyType "AllocationId" NatGateway = Value Prelude.Text
set :: PropertyType "AllocationId" NatGateway -> NatGateway -> NatGateway
set PropertyType "AllocationId" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway {allocationId :: Maybe (Value Text)
allocationId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AllocationId" NatGateway
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "ConnectivityType" NatGateway where
type PropertyType "ConnectivityType" NatGateway = Value Prelude.Text
set :: PropertyType "ConnectivityType" NatGateway
-> NatGateway -> NatGateway
set PropertyType "ConnectivityType" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway {connectivityType :: Maybe (Value Text)
connectivityType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConnectivityType" NatGateway
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "MaxDrainDurationSeconds" NatGateway where
type PropertyType "MaxDrainDurationSeconds" NatGateway = Value Prelude.Integer
set :: PropertyType "MaxDrainDurationSeconds" NatGateway
-> NatGateway -> NatGateway
set PropertyType "MaxDrainDurationSeconds" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway {maxDrainDurationSeconds :: Maybe (Value Integer)
maxDrainDurationSeconds = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MaxDrainDurationSeconds" NatGateway
Value Integer
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "PrivateIpAddress" NatGateway where
type PropertyType "PrivateIpAddress" NatGateway = Value Prelude.Text
set :: PropertyType "PrivateIpAddress" NatGateway
-> NatGateway -> NatGateway
set PropertyType "PrivateIpAddress" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway {privateIpAddress :: Maybe (Value Text)
privateIpAddress = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PrivateIpAddress" NatGateway
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "SecondaryAllocationIds" NatGateway where
type PropertyType "SecondaryAllocationIds" NatGateway = ValueList Prelude.Text
set :: PropertyType "SecondaryAllocationIds" NatGateway
-> NatGateway -> NatGateway
set PropertyType "SecondaryAllocationIds" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway {secondaryAllocationIds :: Maybe (ValueList Text)
secondaryAllocationIds = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SecondaryAllocationIds" NatGateway
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "SecondaryPrivateIpAddressCount" NatGateway where
type PropertyType "SecondaryPrivateIpAddressCount" NatGateway = Value Prelude.Integer
set :: PropertyType "SecondaryPrivateIpAddressCount" NatGateway
-> NatGateway -> NatGateway
set PropertyType "SecondaryPrivateIpAddressCount" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway
{secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddressCount = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SecondaryPrivateIpAddressCount" NatGateway
Value Integer
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "SecondaryPrivateIpAddresses" NatGateway where
type PropertyType "SecondaryPrivateIpAddresses" NatGateway = ValueList Prelude.Text
set :: PropertyType "SecondaryPrivateIpAddresses" NatGateway
-> NatGateway -> NatGateway
set PropertyType "SecondaryPrivateIpAddresses" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway
{secondaryPrivateIpAddresses :: Maybe (ValueList Text)
secondaryPrivateIpAddresses = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SecondaryPrivateIpAddresses" NatGateway
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "SubnetId" NatGateway where
type PropertyType "SubnetId" NatGateway = Value Prelude.Text
set :: PropertyType "SubnetId" NatGateway -> NatGateway -> NatGateway
set PropertyType "SubnetId" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway {subnetId :: Maybe (Value Text)
subnetId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SubnetId" NatGateway
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
instance Property "Tags" NatGateway where
type PropertyType "Tags" NatGateway = [Tag]
set :: PropertyType "Tags" NatGateway -> NatGateway -> NatGateway
set PropertyType "Tags" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" NatGateway
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
vpcId :: Maybe (Value Text)
..}
instance Property "VpcId" NatGateway where
type PropertyType "VpcId" NatGateway = Value Prelude.Text
set :: PropertyType "VpcId" NatGateway -> NatGateway -> NatGateway
set PropertyType "VpcId" NatGateway
newValue NatGateway {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: NatGateway -> ()
allocationId :: NatGateway -> Maybe (Value Text)
connectivityType :: NatGateway -> Maybe (Value Text)
maxDrainDurationSeconds :: NatGateway -> Maybe (Value Integer)
privateIpAddress :: NatGateway -> Maybe (Value Text)
secondaryAllocationIds :: NatGateway -> Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: NatGateway -> Maybe (Value Integer)
secondaryPrivateIpAddresses :: NatGateway -> Maybe (ValueList Text)
subnetId :: NatGateway -> Maybe (Value Text)
tags :: NatGateway -> Maybe [Tag]
vpcId :: NatGateway -> Maybe (Value Text)
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
vpcId :: Maybe (Value Text)
..}
= NatGateway {vpcId :: Maybe (Value Text)
vpcId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VpcId" NatGateway
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allocationId :: Maybe (Value Text)
connectivityType :: Maybe (Value Text)
maxDrainDurationSeconds :: Maybe (Value Integer)
privateIpAddress :: Maybe (Value Text)
secondaryAllocationIds :: Maybe (ValueList Text)
secondaryPrivateIpAddressCount :: Maybe (Value Integer)
secondaryPrivateIpAddresses :: Maybe (ValueList Text)
subnetId :: Maybe (Value Text)
tags :: Maybe [Tag]
..}