module Stratosphere.SageMaker.Endpoint (
module Exports, Endpoint(..), mkEndpoint
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SageMaker.Endpoint.DeploymentConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.SageMaker.Endpoint.VariantPropertyProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Endpoint
=
Endpoint {Endpoint -> ()
haddock_workaround_ :: (),
Endpoint -> Maybe DeploymentConfigProperty
deploymentConfig :: (Prelude.Maybe DeploymentConfigProperty),
Endpoint -> Value Text
endpointConfigName :: (Value Prelude.Text),
Endpoint -> Maybe (Value Text)
endpointName :: (Prelude.Maybe (Value Prelude.Text)),
Endpoint -> Maybe [VariantPropertyProperty]
excludeRetainedVariantProperties :: (Prelude.Maybe [VariantPropertyProperty]),
Endpoint -> Maybe (Value Bool)
retainAllVariantProperties :: (Prelude.Maybe (Value Prelude.Bool)),
Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: (Prelude.Maybe (Value Prelude.Bool)),
Endpoint -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (Endpoint -> Endpoint -> Bool
(Endpoint -> Endpoint -> Bool)
-> (Endpoint -> Endpoint -> Bool) -> Eq Endpoint
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Endpoint -> Endpoint -> Bool
== :: Endpoint -> Endpoint -> Bool
$c/= :: Endpoint -> Endpoint -> Bool
/= :: Endpoint -> Endpoint -> Bool
Prelude.Eq, Int -> Endpoint -> ShowS
[Endpoint] -> ShowS
Endpoint -> String
(Int -> Endpoint -> ShowS)
-> (Endpoint -> String) -> ([Endpoint] -> ShowS) -> Show Endpoint
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Endpoint -> ShowS
showsPrec :: Int -> Endpoint -> ShowS
$cshow :: Endpoint -> String
show :: Endpoint -> String
$cshowList :: [Endpoint] -> ShowS
showList :: [Endpoint] -> ShowS
Prelude.Show)
mkEndpoint :: Value Prelude.Text -> Endpoint
mkEndpoint :: Value Text -> Endpoint
mkEndpoint Value Text
endpointConfigName
= Endpoint
{haddock_workaround_ :: ()
haddock_workaround_ = (), endpointConfigName :: Value Text
endpointConfigName = Value Text
endpointConfigName,
deploymentConfig :: Maybe DeploymentConfigProperty
deploymentConfig = Maybe DeploymentConfigProperty
forall a. Maybe a
Prelude.Nothing, endpointName :: Maybe (Value Text)
endpointName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
excludeRetainedVariantProperties = Maybe [VariantPropertyProperty]
forall a. Maybe a
Prelude.Nothing,
retainAllVariantProperties :: Maybe (Value Bool)
retainAllVariantProperties = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
retainDeploymentConfig :: Maybe (Value Bool)
retainDeploymentConfig = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Endpoint where
toResourceProperties :: Endpoint -> ResourceProperties
toResourceProperties Endpoint {Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: Endpoint -> ()
deploymentConfig :: Endpoint -> Maybe DeploymentConfigProperty
endpointConfigName :: Endpoint -> Value Text
endpointName :: Endpoint -> Maybe (Value Text)
excludeRetainedVariantProperties :: Endpoint -> Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: Endpoint -> Maybe (Value Bool)
tags :: Endpoint -> Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::SageMaker::Endpoint", 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
"EndpointConfigName" 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
endpointConfigName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> DeploymentConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeploymentConfig" (DeploymentConfigProperty -> (Key, Value))
-> Maybe DeploymentConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DeploymentConfigProperty
deploymentConfig,
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
"EndpointName" (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)
endpointName,
Key -> [VariantPropertyProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExcludeRetainedVariantProperties"
([VariantPropertyProperty] -> (Key, Value))
-> Maybe [VariantPropertyProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [VariantPropertyProperty]
excludeRetainedVariantProperties,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RetainAllVariantProperties"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
retainAllVariantProperties,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RetainDeploymentConfig"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
retainDeploymentConfig,
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 Endpoint where
toJSON :: Endpoint -> Value
toJSON Endpoint {Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: Endpoint -> ()
deploymentConfig :: Endpoint -> Maybe DeploymentConfigProperty
endpointConfigName :: Endpoint -> Value Text
endpointName :: Endpoint -> Maybe (Value Text)
excludeRetainedVariantProperties :: Endpoint -> Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: Endpoint -> Maybe (Value Bool)
tags :: Endpoint -> Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
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
"EndpointConfigName" 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
endpointConfigName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> DeploymentConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeploymentConfig" (DeploymentConfigProperty -> (Key, Value))
-> Maybe DeploymentConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DeploymentConfigProperty
deploymentConfig,
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
"EndpointName" (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)
endpointName,
Key -> [VariantPropertyProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExcludeRetainedVariantProperties"
([VariantPropertyProperty] -> (Key, Value))
-> Maybe [VariantPropertyProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [VariantPropertyProperty]
excludeRetainedVariantProperties,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RetainAllVariantProperties"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
retainAllVariantProperties,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RetainDeploymentConfig"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
retainDeploymentConfig,
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 "DeploymentConfig" Endpoint where
type PropertyType "DeploymentConfig" Endpoint = DeploymentConfigProperty
set :: PropertyType "DeploymentConfig" Endpoint -> Endpoint -> Endpoint
set PropertyType "DeploymentConfig" Endpoint
newValue Endpoint {Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: Endpoint -> ()
deploymentConfig :: Endpoint -> Maybe DeploymentConfigProperty
endpointConfigName :: Endpoint -> Value Text
endpointName :: Endpoint -> Maybe (Value Text)
excludeRetainedVariantProperties :: Endpoint -> Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: Endpoint -> Maybe (Value Bool)
tags :: Endpoint -> Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= Endpoint {deploymentConfig :: Maybe DeploymentConfigProperty
deploymentConfig = DeploymentConfigProperty -> Maybe DeploymentConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeploymentConfig" Endpoint
DeploymentConfigProperty
newValue, Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "EndpointConfigName" Endpoint where
type PropertyType "EndpointConfigName" Endpoint = Value Prelude.Text
set :: PropertyType "EndpointConfigName" Endpoint -> Endpoint -> Endpoint
set PropertyType "EndpointConfigName" Endpoint
newValue Endpoint {Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: Endpoint -> ()
deploymentConfig :: Endpoint -> Maybe DeploymentConfigProperty
endpointConfigName :: Endpoint -> Value Text
endpointName :: Endpoint -> Maybe (Value Text)
excludeRetainedVariantProperties :: Endpoint -> Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: Endpoint -> Maybe (Value Bool)
tags :: Endpoint -> Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= Endpoint {endpointConfigName :: Value Text
endpointConfigName = PropertyType "EndpointConfigName" Endpoint
Value Text
newValue, Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "EndpointName" Endpoint where
type PropertyType "EndpointName" Endpoint = Value Prelude.Text
set :: PropertyType "EndpointName" Endpoint -> Endpoint -> Endpoint
set PropertyType "EndpointName" Endpoint
newValue Endpoint {Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: Endpoint -> ()
deploymentConfig :: Endpoint -> Maybe DeploymentConfigProperty
endpointConfigName :: Endpoint -> Value Text
endpointName :: Endpoint -> Maybe (Value Text)
excludeRetainedVariantProperties :: Endpoint -> Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: Endpoint -> Maybe (Value Bool)
tags :: Endpoint -> Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= Endpoint {endpointName :: Maybe (Value Text)
endpointName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EndpointName" Endpoint
Value Text
newValue, Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "ExcludeRetainedVariantProperties" Endpoint where
type PropertyType "ExcludeRetainedVariantProperties" Endpoint = [VariantPropertyProperty]
set :: PropertyType "ExcludeRetainedVariantProperties" Endpoint
-> Endpoint -> Endpoint
set PropertyType "ExcludeRetainedVariantProperties" Endpoint
newValue Endpoint {Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: Endpoint -> ()
deploymentConfig :: Endpoint -> Maybe DeploymentConfigProperty
endpointConfigName :: Endpoint -> Value Text
endpointName :: Endpoint -> Maybe (Value Text)
excludeRetainedVariantProperties :: Endpoint -> Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: Endpoint -> Maybe (Value Bool)
tags :: Endpoint -> Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= Endpoint
{excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
excludeRetainedVariantProperties = [VariantPropertyProperty] -> Maybe [VariantPropertyProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [VariantPropertyProperty]
PropertyType "ExcludeRetainedVariantProperties" Endpoint
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "RetainAllVariantProperties" Endpoint where
type PropertyType "RetainAllVariantProperties" Endpoint = Value Prelude.Bool
set :: PropertyType "RetainAllVariantProperties" Endpoint
-> Endpoint -> Endpoint
set PropertyType "RetainAllVariantProperties" Endpoint
newValue Endpoint {Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: Endpoint -> ()
deploymentConfig :: Endpoint -> Maybe DeploymentConfigProperty
endpointConfigName :: Endpoint -> Value Text
endpointName :: Endpoint -> Maybe (Value Text)
excludeRetainedVariantProperties :: Endpoint -> Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: Endpoint -> Maybe (Value Bool)
tags :: Endpoint -> Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= Endpoint {retainAllVariantProperties :: Maybe (Value Bool)
retainAllVariantProperties = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RetainAllVariantProperties" Endpoint
Value Bool
newValue, Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "RetainDeploymentConfig" Endpoint where
type PropertyType "RetainDeploymentConfig" Endpoint = Value Prelude.Bool
set :: PropertyType "RetainDeploymentConfig" Endpoint
-> Endpoint -> Endpoint
set PropertyType "RetainDeploymentConfig" Endpoint
newValue Endpoint {Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: Endpoint -> ()
deploymentConfig :: Endpoint -> Maybe DeploymentConfigProperty
endpointConfigName :: Endpoint -> Value Text
endpointName :: Endpoint -> Maybe (Value Text)
excludeRetainedVariantProperties :: Endpoint -> Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: Endpoint -> Maybe (Value Bool)
tags :: Endpoint -> Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= Endpoint {retainDeploymentConfig :: Maybe (Value Bool)
retainDeploymentConfig = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RetainDeploymentConfig" Endpoint
Value Bool
newValue, Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "Tags" Endpoint where
type PropertyType "Tags" Endpoint = [Tag]
set :: PropertyType "Tags" Endpoint -> Endpoint -> Endpoint
set PropertyType "Tags" Endpoint
newValue Endpoint {Maybe [Tag]
Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: Endpoint -> ()
deploymentConfig :: Endpoint -> Maybe DeploymentConfigProperty
endpointConfigName :: Endpoint -> Value Text
endpointName :: Endpoint -> Maybe (Value Text)
excludeRetainedVariantProperties :: Endpoint -> Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Endpoint -> Maybe (Value Bool)
retainDeploymentConfig :: Endpoint -> Maybe (Value Bool)
tags :: Endpoint -> Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= Endpoint {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" Endpoint
newValue, Maybe [VariantPropertyProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DeploymentConfigProperty
()
Value Text
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
haddock_workaround_ :: ()
deploymentConfig :: Maybe DeploymentConfigProperty
endpointConfigName :: Value Text
endpointName :: Maybe (Value Text)
excludeRetainedVariantProperties :: Maybe [VariantPropertyProperty]
retainAllVariantProperties :: Maybe (Value Bool)
retainDeploymentConfig :: Maybe (Value Bool)
..}