module Stratosphere.SageMaker.EndpointConfig (
module Exports, EndpointConfig(..), mkEndpointConfig
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SageMaker.EndpointConfig.AsyncInferenceConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.SageMaker.EndpointConfig.DataCaptureConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.SageMaker.EndpointConfig.ExplainerConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.SageMaker.EndpointConfig.ProductionVariantProperty as Exports
import {-# SOURCE #-} Stratosphere.SageMaker.EndpointConfig.VpcConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data EndpointConfig
=
EndpointConfig {EndpointConfig -> ()
haddock_workaround_ :: (),
EndpointConfig -> Maybe AsyncInferenceConfigProperty
asyncInferenceConfig :: (Prelude.Maybe AsyncInferenceConfigProperty),
EndpointConfig -> Maybe DataCaptureConfigProperty
dataCaptureConfig :: (Prelude.Maybe DataCaptureConfigProperty),
EndpointConfig -> Maybe (Value Bool)
enableNetworkIsolation :: (Prelude.Maybe (Value Prelude.Bool)),
EndpointConfig -> Maybe (Value Text)
endpointConfigName :: (Prelude.Maybe (Value Prelude.Text)),
EndpointConfig -> Maybe (Value Text)
executionRoleArn :: (Prelude.Maybe (Value Prelude.Text)),
EndpointConfig -> Maybe ExplainerConfigProperty
explainerConfig :: (Prelude.Maybe ExplainerConfigProperty),
EndpointConfig -> Maybe (Value Text)
kmsKeyId :: (Prelude.Maybe (Value Prelude.Text)),
EndpointConfig -> [ProductionVariantProperty]
productionVariants :: [ProductionVariantProperty],
EndpointConfig -> Maybe [ProductionVariantProperty]
shadowProductionVariants :: (Prelude.Maybe [ProductionVariantProperty]),
EndpointConfig -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
EndpointConfig -> Maybe VpcConfigProperty
vpcConfig :: (Prelude.Maybe VpcConfigProperty)}
deriving stock (EndpointConfig -> EndpointConfig -> Bool
(EndpointConfig -> EndpointConfig -> Bool)
-> (EndpointConfig -> EndpointConfig -> Bool) -> Eq EndpointConfig
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EndpointConfig -> EndpointConfig -> Bool
== :: EndpointConfig -> EndpointConfig -> Bool
$c/= :: EndpointConfig -> EndpointConfig -> Bool
/= :: EndpointConfig -> EndpointConfig -> Bool
Prelude.Eq, Int -> EndpointConfig -> ShowS
[EndpointConfig] -> ShowS
EndpointConfig -> String
(Int -> EndpointConfig -> ShowS)
-> (EndpointConfig -> String)
-> ([EndpointConfig] -> ShowS)
-> Show EndpointConfig
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EndpointConfig -> ShowS
showsPrec :: Int -> EndpointConfig -> ShowS
$cshow :: EndpointConfig -> String
show :: EndpointConfig -> String
$cshowList :: [EndpointConfig] -> ShowS
showList :: [EndpointConfig] -> ShowS
Prelude.Show)
mkEndpointConfig :: [ProductionVariantProperty] -> EndpointConfig
mkEndpointConfig :: [ProductionVariantProperty] -> EndpointConfig
mkEndpointConfig [ProductionVariantProperty]
productionVariants
= EndpointConfig
{haddock_workaround_ :: ()
haddock_workaround_ = (), productionVariants :: [ProductionVariantProperty]
productionVariants = [ProductionVariantProperty]
productionVariants,
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
asyncInferenceConfig = Maybe AsyncInferenceConfigProperty
forall a. Maybe a
Prelude.Nothing,
dataCaptureConfig :: Maybe DataCaptureConfigProperty
dataCaptureConfig = Maybe DataCaptureConfigProperty
forall a. Maybe a
Prelude.Nothing,
enableNetworkIsolation :: Maybe (Value Bool)
enableNetworkIsolation = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
endpointConfigName :: Maybe (Value Text)
endpointConfigName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
executionRoleArn :: Maybe (Value Text)
executionRoleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
explainerConfig :: Maybe ExplainerConfigProperty
explainerConfig = Maybe ExplainerConfigProperty
forall a. Maybe a
Prelude.Nothing, kmsKeyId :: Maybe (Value Text)
kmsKeyId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
shadowProductionVariants :: Maybe [ProductionVariantProperty]
shadowProductionVariants = Maybe [ProductionVariantProperty]
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
vpcConfig :: Maybe VpcConfigProperty
vpcConfig = Maybe VpcConfigProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties EndpointConfig where
toResourceProperties :: EndpointConfig -> ResourceProperties
toResourceProperties EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::SageMaker::EndpointConfig",
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
"ProductionVariants" Key -> [ProductionVariantProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [ProductionVariantProperty]
productionVariants]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AsyncInferenceConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AsyncInferenceConfig" (AsyncInferenceConfigProperty -> (Key, Value))
-> Maybe AsyncInferenceConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AsyncInferenceConfigProperty
asyncInferenceConfig,
Key -> DataCaptureConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataCaptureConfig" (DataCaptureConfigProperty -> (Key, Value))
-> Maybe DataCaptureConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataCaptureConfigProperty
dataCaptureConfig,
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
"EnableNetworkIsolation"
(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)
enableNetworkIsolation,
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
"EndpointConfigName" (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)
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..=) Key
"ExecutionRoleArn" (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)
executionRoleArn,
Key -> ExplainerConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExplainerConfig" (ExplainerConfigProperty -> (Key, Value))
-> Maybe ExplainerConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ExplainerConfigProperty
explainerConfig,
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
"KmsKeyId" (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)
kmsKeyId,
Key -> [ProductionVariantProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ShadowProductionVariants"
([ProductionVariantProperty] -> (Key, Value))
-> Maybe [ProductionVariantProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ProductionVariantProperty]
shadowProductionVariants,
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 -> VpcConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcConfig" (VpcConfigProperty -> (Key, Value))
-> Maybe VpcConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VpcConfigProperty
vpcConfig]))}
instance JSON.ToJSON EndpointConfig where
toJSON :: EndpointConfig -> Value
toJSON EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= [(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
"ProductionVariants" Key -> [ProductionVariantProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [ProductionVariantProperty]
productionVariants]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AsyncInferenceConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AsyncInferenceConfig" (AsyncInferenceConfigProperty -> (Key, Value))
-> Maybe AsyncInferenceConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AsyncInferenceConfigProperty
asyncInferenceConfig,
Key -> DataCaptureConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataCaptureConfig" (DataCaptureConfigProperty -> (Key, Value))
-> Maybe DataCaptureConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataCaptureConfigProperty
dataCaptureConfig,
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
"EnableNetworkIsolation"
(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)
enableNetworkIsolation,
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
"EndpointConfigName" (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)
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..=) Key
"ExecutionRoleArn" (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)
executionRoleArn,
Key -> ExplainerConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExplainerConfig" (ExplainerConfigProperty -> (Key, Value))
-> Maybe ExplainerConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ExplainerConfigProperty
explainerConfig,
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
"KmsKeyId" (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)
kmsKeyId,
Key -> [ProductionVariantProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ShadowProductionVariants"
([ProductionVariantProperty] -> (Key, Value))
-> Maybe [ProductionVariantProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ProductionVariantProperty]
shadowProductionVariants,
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 -> VpcConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VpcConfig" (VpcConfigProperty -> (Key, Value))
-> Maybe VpcConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VpcConfigProperty
vpcConfig])))
instance Property "AsyncInferenceConfig" EndpointConfig where
type PropertyType "AsyncInferenceConfig" EndpointConfig = AsyncInferenceConfigProperty
set :: PropertyType "AsyncInferenceConfig" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "AsyncInferenceConfig" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig {asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
asyncInferenceConfig = AsyncInferenceConfigProperty -> Maybe AsyncInferenceConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AsyncInferenceConfig" EndpointConfig
AsyncInferenceConfigProperty
newValue, [ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "DataCaptureConfig" EndpointConfig where
type PropertyType "DataCaptureConfig" EndpointConfig = DataCaptureConfigProperty
set :: PropertyType "DataCaptureConfig" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "DataCaptureConfig" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig {dataCaptureConfig :: Maybe DataCaptureConfigProperty
dataCaptureConfig = DataCaptureConfigProperty -> Maybe DataCaptureConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataCaptureConfig" EndpointConfig
DataCaptureConfigProperty
newValue, [ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "EnableNetworkIsolation" EndpointConfig where
type PropertyType "EnableNetworkIsolation" EndpointConfig = Value Prelude.Bool
set :: PropertyType "EnableNetworkIsolation" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "EnableNetworkIsolation" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig
{enableNetworkIsolation :: Maybe (Value Bool)
enableNetworkIsolation = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EnableNetworkIsolation" EndpointConfig
Value Bool
newValue, [ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "EndpointConfigName" EndpointConfig where
type PropertyType "EndpointConfigName" EndpointConfig = Value Prelude.Text
set :: PropertyType "EndpointConfigName" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "EndpointConfigName" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig {endpointConfigName :: Maybe (Value Text)
endpointConfigName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EndpointConfigName" EndpointConfig
Value Text
newValue, [ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "ExecutionRoleArn" EndpointConfig where
type PropertyType "ExecutionRoleArn" EndpointConfig = Value Prelude.Text
set :: PropertyType "ExecutionRoleArn" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "ExecutionRoleArn" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig {executionRoleArn :: Maybe (Value Text)
executionRoleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExecutionRoleArn" EndpointConfig
Value Text
newValue, [ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "ExplainerConfig" EndpointConfig where
type PropertyType "ExplainerConfig" EndpointConfig = ExplainerConfigProperty
set :: PropertyType "ExplainerConfig" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "ExplainerConfig" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig {explainerConfig :: Maybe ExplainerConfigProperty
explainerConfig = ExplainerConfigProperty -> Maybe ExplainerConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExplainerConfig" EndpointConfig
ExplainerConfigProperty
newValue, [ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "KmsKeyId" EndpointConfig where
type PropertyType "KmsKeyId" EndpointConfig = Value Prelude.Text
set :: PropertyType "KmsKeyId" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "KmsKeyId" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig {kmsKeyId :: Maybe (Value Text)
kmsKeyId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsKeyId" EndpointConfig
Value Text
newValue, [ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "ProductionVariants" EndpointConfig where
type PropertyType "ProductionVariants" EndpointConfig = [ProductionVariantProperty]
set :: PropertyType "ProductionVariants" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "ProductionVariants" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig {productionVariants :: [ProductionVariantProperty]
productionVariants = [ProductionVariantProperty]
PropertyType "ProductionVariants" EndpointConfig
newValue, Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "ShadowProductionVariants" EndpointConfig where
type PropertyType "ShadowProductionVariants" EndpointConfig = [ProductionVariantProperty]
set :: PropertyType "ShadowProductionVariants" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "ShadowProductionVariants" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig
{shadowProductionVariants :: Maybe [ProductionVariantProperty]
shadowProductionVariants = [ProductionVariantProperty] -> Maybe [ProductionVariantProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ProductionVariantProperty]
PropertyType "ShadowProductionVariants" EndpointConfig
newValue, [ProductionVariantProperty]
Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "Tags" EndpointConfig where
type PropertyType "Tags" EndpointConfig = [Tag]
set :: PropertyType "Tags" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "Tags" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig {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" EndpointConfig
newValue, [ProductionVariantProperty]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
vpcConfig :: Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
vpcConfig :: Maybe VpcConfigProperty
..}
instance Property "VpcConfig" EndpointConfig where
type PropertyType "VpcConfig" EndpointConfig = VpcConfigProperty
set :: PropertyType "VpcConfig" EndpointConfig
-> EndpointConfig -> EndpointConfig
set PropertyType "VpcConfig" EndpointConfig
newValue EndpointConfig {[ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
Maybe VpcConfigProperty
()
haddock_workaround_ :: EndpointConfig -> ()
asyncInferenceConfig :: EndpointConfig -> Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: EndpointConfig -> Maybe DataCaptureConfigProperty
enableNetworkIsolation :: EndpointConfig -> Maybe (Value Bool)
endpointConfigName :: EndpointConfig -> Maybe (Value Text)
executionRoleArn :: EndpointConfig -> Maybe (Value Text)
explainerConfig :: EndpointConfig -> Maybe ExplainerConfigProperty
kmsKeyId :: EndpointConfig -> Maybe (Value Text)
productionVariants :: EndpointConfig -> [ProductionVariantProperty]
shadowProductionVariants :: EndpointConfig -> Maybe [ProductionVariantProperty]
tags :: EndpointConfig -> Maybe [Tag]
vpcConfig :: EndpointConfig -> Maybe VpcConfigProperty
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
vpcConfig :: Maybe VpcConfigProperty
..}
= EndpointConfig {vpcConfig :: Maybe VpcConfigProperty
vpcConfig = VpcConfigProperty -> Maybe VpcConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VpcConfig" EndpointConfig
VpcConfigProperty
newValue, [ProductionVariantProperty]
Maybe [Tag]
Maybe [ProductionVariantProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe AsyncInferenceConfigProperty
Maybe DataCaptureConfigProperty
Maybe ExplainerConfigProperty
()
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
asyncInferenceConfig :: Maybe AsyncInferenceConfigProperty
dataCaptureConfig :: Maybe DataCaptureConfigProperty
enableNetworkIsolation :: Maybe (Value Bool)
endpointConfigName :: Maybe (Value Text)
executionRoleArn :: Maybe (Value Text)
explainerConfig :: Maybe ExplainerConfigProperty
kmsKeyId :: Maybe (Value Text)
productionVariants :: [ProductionVariantProperty]
shadowProductionVariants :: Maybe [ProductionVariantProperty]
tags :: Maybe [Tag]
..}