module Stratosphere.QuickSight.VPCConnection (
        VPCConnection(..), mkVPCConnection
    ) 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 VPCConnection
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html>
    VPCConnection {VPCConnection -> ()
haddock_workaround_ :: (),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html#cfn-quicksight-vpcconnection-availabilitystatus>
                   VPCConnection -> Maybe (Value Text)
availabilityStatus :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html#cfn-quicksight-vpcconnection-awsaccountid>
                   VPCConnection -> Maybe (Value Text)
awsAccountId :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html#cfn-quicksight-vpcconnection-dnsresolvers>
                   VPCConnection -> Maybe (ValueList Text)
dnsResolvers :: (Prelude.Maybe (ValueList Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html#cfn-quicksight-vpcconnection-name>
                   VPCConnection -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html#cfn-quicksight-vpcconnection-rolearn>
                   VPCConnection -> Maybe (Value Text)
roleArn :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html#cfn-quicksight-vpcconnection-securitygroupids>
                   VPCConnection -> Maybe (ValueList Text)
securityGroupIds :: (Prelude.Maybe (ValueList Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html#cfn-quicksight-vpcconnection-subnetids>
                   VPCConnection -> Maybe (ValueList Text)
subnetIds :: (Prelude.Maybe (ValueList Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html#cfn-quicksight-vpcconnection-tags>
                   VPCConnection -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-vpcconnection.html#cfn-quicksight-vpcconnection-vpcconnectionid>
                   VPCConnection -> Maybe (Value Text)
vPCConnectionId :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (VPCConnection -> VPCConnection -> Bool
(VPCConnection -> VPCConnection -> Bool)
-> (VPCConnection -> VPCConnection -> Bool) -> Eq VPCConnection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: VPCConnection -> VPCConnection -> Bool
== :: VPCConnection -> VPCConnection -> Bool
$c/= :: VPCConnection -> VPCConnection -> Bool
/= :: VPCConnection -> VPCConnection -> Bool
Prelude.Eq, Int -> VPCConnection -> ShowS
[VPCConnection] -> ShowS
VPCConnection -> String
(Int -> VPCConnection -> ShowS)
-> (VPCConnection -> String)
-> ([VPCConnection] -> ShowS)
-> Show VPCConnection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> VPCConnection -> ShowS
showsPrec :: Int -> VPCConnection -> ShowS
$cshow :: VPCConnection -> String
show :: VPCConnection -> String
$cshowList :: [VPCConnection] -> ShowS
showList :: [VPCConnection] -> ShowS
Prelude.Show)
mkVPCConnection :: VPCConnection
mkVPCConnection :: VPCConnection
mkVPCConnection
  = VPCConnection
      {haddock_workaround_ :: ()
haddock_workaround_ = (), availabilityStatus :: Maybe (Value Text)
availabilityStatus = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       awsAccountId :: Maybe (Value Text)
awsAccountId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, dnsResolvers :: Maybe (ValueList Text)
dnsResolvers = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, roleArn :: Maybe (Value Text)
roleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       securityGroupIds :: Maybe (ValueList Text)
securityGroupIds = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, subnetIds :: Maybe (ValueList Text)
subnetIds = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, vPCConnectionId :: Maybe (Value Text)
vPCConnectionId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties VPCConnection where
  toResourceProperties :: VPCConnection -> ResourceProperties
toResourceProperties VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::VPCConnection",
         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
"AvailabilityStatus" (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)
availabilityStatus,
                            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
"AwsAccountId" (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)
awsAccountId,
                            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
"DnsResolvers" (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)
dnsResolvers,
                            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
"Name" (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)
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..=) Key
"RoleArn" (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)
roleArn,
                            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
"SecurityGroupIds" (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)
securityGroupIds,
                            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
"SubnetIds" (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)
subnetIds,
                            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
"VPCConnectionId" (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)
vPCConnectionId])}
instance JSON.ToJSON VPCConnection where
  toJSON :: VPCConnection -> Value
toJSON VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: 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
"AvailabilityStatus" (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)
availabilityStatus,
               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
"AwsAccountId" (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)
awsAccountId,
               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
"DnsResolvers" (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)
dnsResolvers,
               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
"Name" (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)
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..=) Key
"RoleArn" (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)
roleArn,
               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
"SecurityGroupIds" (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)
securityGroupIds,
               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
"SubnetIds" (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)
subnetIds,
               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
"VPCConnectionId" (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)
vPCConnectionId]))
instance Property "AvailabilityStatus" VPCConnection where
  type PropertyType "AvailabilityStatus" VPCConnection = Value Prelude.Text
  set :: PropertyType "AvailabilityStatus" VPCConnection
-> VPCConnection -> VPCConnection
set PropertyType "AvailabilityStatus" VPCConnection
newValue VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = VPCConnection {availabilityStatus :: Maybe (Value Text)
availabilityStatus = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AvailabilityStatus" VPCConnection
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
instance Property "AwsAccountId" VPCConnection where
  type PropertyType "AwsAccountId" VPCConnection = Value Prelude.Text
  set :: PropertyType "AwsAccountId" VPCConnection
-> VPCConnection -> VPCConnection
set PropertyType "AwsAccountId" VPCConnection
newValue VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = VPCConnection {awsAccountId :: Maybe (Value Text)
awsAccountId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AwsAccountId" VPCConnection
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
instance Property "DnsResolvers" VPCConnection where
  type PropertyType "DnsResolvers" VPCConnection = ValueList Prelude.Text
  set :: PropertyType "DnsResolvers" VPCConnection
-> VPCConnection -> VPCConnection
set PropertyType "DnsResolvers" VPCConnection
newValue VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = VPCConnection {dnsResolvers :: Maybe (ValueList Text)
dnsResolvers = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DnsResolvers" VPCConnection
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
instance Property "Name" VPCConnection where
  type PropertyType "Name" VPCConnection = Value Prelude.Text
  set :: PropertyType "Name" VPCConnection -> VPCConnection -> VPCConnection
set PropertyType "Name" VPCConnection
newValue VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = VPCConnection {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" VPCConnection
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
instance Property "RoleArn" VPCConnection where
  type PropertyType "RoleArn" VPCConnection = Value Prelude.Text
  set :: PropertyType "RoleArn" VPCConnection
-> VPCConnection -> VPCConnection
set PropertyType "RoleArn" VPCConnection
newValue VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = VPCConnection {roleArn :: Maybe (Value Text)
roleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RoleArn" VPCConnection
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
instance Property "SecurityGroupIds" VPCConnection where
  type PropertyType "SecurityGroupIds" VPCConnection = ValueList Prelude.Text
  set :: PropertyType "SecurityGroupIds" VPCConnection
-> VPCConnection -> VPCConnection
set PropertyType "SecurityGroupIds" VPCConnection
newValue VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = VPCConnection {securityGroupIds :: Maybe (ValueList Text)
securityGroupIds = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SecurityGroupIds" VPCConnection
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
instance Property "SubnetIds" VPCConnection where
  type PropertyType "SubnetIds" VPCConnection = ValueList Prelude.Text
  set :: PropertyType "SubnetIds" VPCConnection
-> VPCConnection -> VPCConnection
set PropertyType "SubnetIds" VPCConnection
newValue VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = VPCConnection {subnetIds :: Maybe (ValueList Text)
subnetIds = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SubnetIds" VPCConnection
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
instance Property "Tags" VPCConnection where
  type PropertyType "Tags" VPCConnection = [Tag]
  set :: PropertyType "Tags" VPCConnection -> VPCConnection -> VPCConnection
set PropertyType "Tags" VPCConnection
newValue VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = VPCConnection {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" VPCConnection
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
vPCConnectionId :: Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
vPCConnectionId :: Maybe (Value Text)
..}
instance Property "VPCConnectionId" VPCConnection where
  type PropertyType "VPCConnectionId" VPCConnection = Value Prelude.Text
  set :: PropertyType "VPCConnectionId" VPCConnection
-> VPCConnection -> VPCConnection
set PropertyType "VPCConnectionId" VPCConnection
newValue VPCConnection {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: VPCConnection -> ()
availabilityStatus :: VPCConnection -> Maybe (Value Text)
awsAccountId :: VPCConnection -> Maybe (Value Text)
dnsResolvers :: VPCConnection -> Maybe (ValueList Text)
name :: VPCConnection -> Maybe (Value Text)
roleArn :: VPCConnection -> Maybe (Value Text)
securityGroupIds :: VPCConnection -> Maybe (ValueList Text)
subnetIds :: VPCConnection -> Maybe (ValueList Text)
tags :: VPCConnection -> Maybe [Tag]
vPCConnectionId :: VPCConnection -> Maybe (Value Text)
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
vPCConnectionId :: Maybe (Value Text)
..}
    = VPCConnection {vPCConnectionId :: Maybe (Value Text)
vPCConnectionId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VPCConnectionId" VPCConnection
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
availabilityStatus :: Maybe (Value Text)
awsAccountId :: Maybe (Value Text)
dnsResolvers :: Maybe (ValueList Text)
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
securityGroupIds :: Maybe (ValueList Text)
subnetIds :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}