module Stratosphere.Route53Resolver.ResolverEndpoint (
module Exports, ResolverEndpoint(..), mkResolverEndpoint
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Route53Resolver.ResolverEndpoint.IpAddressRequestProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data ResolverEndpoint
=
ResolverEndpoint {ResolverEndpoint -> ()
haddock_workaround_ :: (),
ResolverEndpoint -> Value Text
direction :: (Value Prelude.Text),
ResolverEndpoint -> [IpAddressRequestProperty]
ipAddresses :: [IpAddressRequestProperty],
ResolverEndpoint -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
ResolverEndpoint -> Maybe (Value Text)
outpostArn :: (Prelude.Maybe (Value Prelude.Text)),
ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: (Prelude.Maybe (Value Prelude.Text)),
ResolverEndpoint -> Maybe (ValueList Text)
protocols :: (Prelude.Maybe (ValueList Prelude.Text)),
ResolverEndpoint -> Maybe (Value Text)
resolverEndpointType :: (Prelude.Maybe (Value Prelude.Text)),
ResolverEndpoint -> ValueList Text
securityGroupIds :: (ValueList Prelude.Text),
ResolverEndpoint -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (ResolverEndpoint -> ResolverEndpoint -> Bool
(ResolverEndpoint -> ResolverEndpoint -> Bool)
-> (ResolverEndpoint -> ResolverEndpoint -> Bool)
-> Eq ResolverEndpoint
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ResolverEndpoint -> ResolverEndpoint -> Bool
== :: ResolverEndpoint -> ResolverEndpoint -> Bool
$c/= :: ResolverEndpoint -> ResolverEndpoint -> Bool
/= :: ResolverEndpoint -> ResolverEndpoint -> Bool
Prelude.Eq, Int -> ResolverEndpoint -> ShowS
[ResolverEndpoint] -> ShowS
ResolverEndpoint -> String
(Int -> ResolverEndpoint -> ShowS)
-> (ResolverEndpoint -> String)
-> ([ResolverEndpoint] -> ShowS)
-> Show ResolverEndpoint
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ResolverEndpoint -> ShowS
showsPrec :: Int -> ResolverEndpoint -> ShowS
$cshow :: ResolverEndpoint -> String
show :: ResolverEndpoint -> String
$cshowList :: [ResolverEndpoint] -> ShowS
showList :: [ResolverEndpoint] -> ShowS
Prelude.Show)
mkResolverEndpoint ::
Value Prelude.Text
-> [IpAddressRequestProperty]
-> ValueList Prelude.Text -> ResolverEndpoint
mkResolverEndpoint :: Value Text
-> [IpAddressRequestProperty] -> ValueList Text -> ResolverEndpoint
mkResolverEndpoint Value Text
direction [IpAddressRequestProperty]
ipAddresses ValueList Text
securityGroupIds
= ResolverEndpoint
{haddock_workaround_ :: ()
haddock_workaround_ = (), direction :: Value Text
direction = Value Text
direction,
ipAddresses :: [IpAddressRequestProperty]
ipAddresses = [IpAddressRequestProperty]
ipAddresses, securityGroupIds :: ValueList Text
securityGroupIds = ValueList Text
securityGroupIds,
name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, outpostArn :: Maybe (Value Text)
outpostArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
preferredInstanceType :: Maybe (Value Text)
preferredInstanceType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
protocols :: Maybe (ValueList Text)
protocols = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
resolverEndpointType :: Maybe (Value Text)
resolverEndpointType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ResolverEndpoint where
toResourceProperties :: ResolverEndpoint -> ResourceProperties
toResourceProperties ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Route53Resolver::ResolverEndpoint",
supportsTags :: Bool
supportsTags = Bool
Prelude.True,
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
"Direction" 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
direction, Key
"IpAddresses" Key -> [IpAddressRequestProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [IpAddressRequestProperty]
ipAddresses,
Key
"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..= ValueList Text
securityGroupIds]
([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
"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
"OutpostArn" (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)
outpostArn,
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
"PreferredInstanceType"
(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)
preferredInstanceType,
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
"Protocols" (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)
protocols,
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
"ResolverEndpointType" (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)
resolverEndpointType,
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]))}
instance JSON.ToJSON ResolverEndpoint where
toJSON :: ResolverEndpoint -> Value
toJSON ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= [(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
"Direction" 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
direction, Key
"IpAddresses" Key -> [IpAddressRequestProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [IpAddressRequestProperty]
ipAddresses,
Key
"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..= ValueList Text
securityGroupIds]
([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
"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
"OutpostArn" (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)
outpostArn,
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
"PreferredInstanceType"
(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)
preferredInstanceType,
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
"Protocols" (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)
protocols,
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
"ResolverEndpointType" (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)
resolverEndpointType,
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])))
instance Property "Direction" ResolverEndpoint where
type PropertyType "Direction" ResolverEndpoint = Value Prelude.Text
set :: PropertyType "Direction" ResolverEndpoint
-> ResolverEndpoint -> ResolverEndpoint
set PropertyType "Direction" ResolverEndpoint
newValue ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResolverEndpoint {direction :: Value Text
direction = PropertyType "Direction" ResolverEndpoint
Value Text
newValue, [IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
haddock_workaround_ :: ()
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
instance Property "IpAddresses" ResolverEndpoint where
type PropertyType "IpAddresses" ResolverEndpoint = [IpAddressRequestProperty]
set :: PropertyType "IpAddresses" ResolverEndpoint
-> ResolverEndpoint -> ResolverEndpoint
set PropertyType "IpAddresses" ResolverEndpoint
newValue ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResolverEndpoint {ipAddresses :: [IpAddressRequestProperty]
ipAddresses = [IpAddressRequestProperty]
PropertyType "IpAddresses" ResolverEndpoint
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
direction :: Value Text
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
instance Property "Name" ResolverEndpoint where
type PropertyType "Name" ResolverEndpoint = Value Prelude.Text
set :: PropertyType "Name" ResolverEndpoint
-> ResolverEndpoint -> ResolverEndpoint
set PropertyType "Name" ResolverEndpoint
newValue ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResolverEndpoint {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" ResolverEndpoint
Value Text
newValue, [IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
instance Property "OutpostArn" ResolverEndpoint where
type PropertyType "OutpostArn" ResolverEndpoint = Value Prelude.Text
set :: PropertyType "OutpostArn" ResolverEndpoint
-> ResolverEndpoint -> ResolverEndpoint
set PropertyType "OutpostArn" ResolverEndpoint
newValue ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResolverEndpoint {outpostArn :: Maybe (Value Text)
outpostArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OutpostArn" ResolverEndpoint
Value Text
newValue, [IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
instance Property "PreferredInstanceType" ResolverEndpoint where
type PropertyType "PreferredInstanceType" ResolverEndpoint = Value Prelude.Text
set :: PropertyType "PreferredInstanceType" ResolverEndpoint
-> ResolverEndpoint -> ResolverEndpoint
set PropertyType "PreferredInstanceType" ResolverEndpoint
newValue ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResolverEndpoint
{preferredInstanceType :: Maybe (Value Text)
preferredInstanceType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PreferredInstanceType" ResolverEndpoint
Value Text
newValue, [IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
instance Property "Protocols" ResolverEndpoint where
type PropertyType "Protocols" ResolverEndpoint = ValueList Prelude.Text
set :: PropertyType "Protocols" ResolverEndpoint
-> ResolverEndpoint -> ResolverEndpoint
set PropertyType "Protocols" ResolverEndpoint
newValue ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResolverEndpoint {protocols :: Maybe (ValueList Text)
protocols = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Protocols" ResolverEndpoint
ValueList Text
newValue, [IpAddressRequestProperty]
Maybe [Tag]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
instance Property "ResolverEndpointType" ResolverEndpoint where
type PropertyType "ResolverEndpointType" ResolverEndpoint = Value Prelude.Text
set :: PropertyType "ResolverEndpointType" ResolverEndpoint
-> ResolverEndpoint -> ResolverEndpoint
set PropertyType "ResolverEndpointType" ResolverEndpoint
newValue ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResolverEndpoint
{resolverEndpointType :: Maybe (Value Text)
resolverEndpointType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ResolverEndpointType" ResolverEndpoint
Value Text
newValue, [IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
instance Property "SecurityGroupIds" ResolverEndpoint where
type PropertyType "SecurityGroupIds" ResolverEndpoint = ValueList Prelude.Text
set :: PropertyType "SecurityGroupIds" ResolverEndpoint
-> ResolverEndpoint -> ResolverEndpoint
set PropertyType "SecurityGroupIds" ResolverEndpoint
newValue ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResolverEndpoint {securityGroupIds :: ValueList Text
securityGroupIds = PropertyType "SecurityGroupIds" ResolverEndpoint
ValueList Text
newValue, [IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" ResolverEndpoint where
type PropertyType "Tags" ResolverEndpoint = [Tag]
set :: PropertyType "Tags" ResolverEndpoint
-> ResolverEndpoint -> ResolverEndpoint
set PropertyType "Tags" ResolverEndpoint
newValue ResolverEndpoint {[IpAddressRequestProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ResolverEndpoint -> ()
direction :: ResolverEndpoint -> Value Text
ipAddresses :: ResolverEndpoint -> [IpAddressRequestProperty]
name :: ResolverEndpoint -> Maybe (Value Text)
outpostArn :: ResolverEndpoint -> Maybe (Value Text)
preferredInstanceType :: ResolverEndpoint -> Maybe (Value Text)
protocols :: ResolverEndpoint -> Maybe (ValueList Text)
resolverEndpointType :: ResolverEndpoint -> Maybe (Value Text)
securityGroupIds :: ResolverEndpoint -> ValueList Text
tags :: ResolverEndpoint -> Maybe [Tag]
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
tags :: Maybe [Tag]
..}
= ResolverEndpoint {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" ResolverEndpoint
newValue, [IpAddressRequestProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
haddock_workaround_ :: ()
direction :: Value Text
ipAddresses :: [IpAddressRequestProperty]
name :: Maybe (Value Text)
outpostArn :: Maybe (Value Text)
preferredInstanceType :: Maybe (Value Text)
protocols :: Maybe (ValueList Text)
resolverEndpointType :: Maybe (Value Text)
securityGroupIds :: ValueList Text
..}