module Stratosphere.SageMaker.InferenceComponent (
module Exports, InferenceComponent(..), mkInferenceComponent
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SageMaker.InferenceComponent.InferenceComponentDeploymentConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.SageMaker.InferenceComponent.InferenceComponentRuntimeConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.SageMaker.InferenceComponent.InferenceComponentSpecificationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data InferenceComponent
=
InferenceComponent {InferenceComponent -> ()
haddock_workaround_ :: (),
InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
deploymentConfig :: (Prelude.Maybe InferenceComponentDeploymentConfigProperty),
InferenceComponent -> Maybe (Value Text)
endpointArn :: (Prelude.Maybe (Value Prelude.Text)),
InferenceComponent -> Value Text
endpointName :: (Value Prelude.Text),
InferenceComponent -> Maybe (Value Text)
inferenceComponentName :: (Prelude.Maybe (Value Prelude.Text)),
InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
runtimeConfig :: (Prelude.Maybe InferenceComponentRuntimeConfigProperty),
InferenceComponent -> InferenceComponentSpecificationProperty
specification :: InferenceComponentSpecificationProperty,
InferenceComponent -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
InferenceComponent -> Maybe (Value Text)
variantName :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (InferenceComponent -> InferenceComponent -> Bool
(InferenceComponent -> InferenceComponent -> Bool)
-> (InferenceComponent -> InferenceComponent -> Bool)
-> Eq InferenceComponent
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InferenceComponent -> InferenceComponent -> Bool
== :: InferenceComponent -> InferenceComponent -> Bool
$c/= :: InferenceComponent -> InferenceComponent -> Bool
/= :: InferenceComponent -> InferenceComponent -> Bool
Prelude.Eq, Int -> InferenceComponent -> ShowS
[InferenceComponent] -> ShowS
InferenceComponent -> String
(Int -> InferenceComponent -> ShowS)
-> (InferenceComponent -> String)
-> ([InferenceComponent] -> ShowS)
-> Show InferenceComponent
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InferenceComponent -> ShowS
showsPrec :: Int -> InferenceComponent -> ShowS
$cshow :: InferenceComponent -> String
show :: InferenceComponent -> String
$cshowList :: [InferenceComponent] -> ShowS
showList :: [InferenceComponent] -> ShowS
Prelude.Show)
mkInferenceComponent ::
Value Prelude.Text
-> InferenceComponentSpecificationProperty -> InferenceComponent
mkInferenceComponent :: Value Text
-> InferenceComponentSpecificationProperty -> InferenceComponent
mkInferenceComponent Value Text
endpointName InferenceComponentSpecificationProperty
specification
= InferenceComponent
{haddock_workaround_ :: ()
haddock_workaround_ = (), endpointName :: Value Text
endpointName = Value Text
endpointName,
specification :: InferenceComponentSpecificationProperty
specification = InferenceComponentSpecificationProperty
specification, deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
deploymentConfig = Maybe InferenceComponentDeploymentConfigProperty
forall a. Maybe a
Prelude.Nothing,
endpointArn :: Maybe (Value Text)
endpointArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
inferenceComponentName :: Maybe (Value Text)
inferenceComponentName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
runtimeConfig = Maybe InferenceComponentRuntimeConfigProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
variantName :: Maybe (Value Text)
variantName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties InferenceComponent where
toResourceProperties :: InferenceComponent -> ResourceProperties
toResourceProperties InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::SageMaker::InferenceComponent",
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
"EndpointName" 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
endpointName,
Key
"Specification" Key -> InferenceComponentSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= InferenceComponentSpecificationProperty
specification]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> InferenceComponentDeploymentConfigProperty -> (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" (InferenceComponentDeploymentConfigProperty -> (Key, Value))
-> Maybe InferenceComponentDeploymentConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InferenceComponentDeploymentConfigProperty
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
"EndpointArn" (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)
endpointArn,
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
"InferenceComponentName"
(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)
inferenceComponentName,
Key -> InferenceComponentRuntimeConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuntimeConfig" (InferenceComponentRuntimeConfigProperty -> (Key, Value))
-> Maybe InferenceComponentRuntimeConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InferenceComponentRuntimeConfigProperty
runtimeConfig,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VariantName" (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)
variantName]))}
instance JSON.ToJSON InferenceComponent where
toJSON :: InferenceComponent -> Value
toJSON InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= [(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
"EndpointName" 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
endpointName,
Key
"Specification" Key -> InferenceComponentSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= InferenceComponentSpecificationProperty
specification]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> InferenceComponentDeploymentConfigProperty -> (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" (InferenceComponentDeploymentConfigProperty -> (Key, Value))
-> Maybe InferenceComponentDeploymentConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InferenceComponentDeploymentConfigProperty
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
"EndpointArn" (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)
endpointArn,
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
"InferenceComponentName"
(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)
inferenceComponentName,
Key -> InferenceComponentRuntimeConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuntimeConfig" (InferenceComponentRuntimeConfigProperty -> (Key, Value))
-> Maybe InferenceComponentRuntimeConfigProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InferenceComponentRuntimeConfigProperty
runtimeConfig,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VariantName" (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)
variantName])))
instance Property "DeploymentConfig" InferenceComponent where
type PropertyType "DeploymentConfig" InferenceComponent = InferenceComponentDeploymentConfigProperty
set :: PropertyType "DeploymentConfig" InferenceComponent
-> InferenceComponent -> InferenceComponent
set PropertyType "DeploymentConfig" InferenceComponent
newValue InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= InferenceComponent {deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
deploymentConfig = InferenceComponentDeploymentConfigProperty
-> Maybe InferenceComponentDeploymentConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeploymentConfig" InferenceComponent
InferenceComponentDeploymentConfigProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: ()
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
haddock_workaround_ :: ()
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
instance Property "EndpointArn" InferenceComponent where
type PropertyType "EndpointArn" InferenceComponent = Value Prelude.Text
set :: PropertyType "EndpointArn" InferenceComponent
-> InferenceComponent -> InferenceComponent
set PropertyType "EndpointArn" InferenceComponent
newValue InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= InferenceComponent {endpointArn :: Maybe (Value Text)
endpointArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EndpointArn" InferenceComponent
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
instance Property "EndpointName" InferenceComponent where
type PropertyType "EndpointName" InferenceComponent = Value Prelude.Text
set :: PropertyType "EndpointName" InferenceComponent
-> InferenceComponent -> InferenceComponent
set PropertyType "EndpointName" InferenceComponent
newValue InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= InferenceComponent {endpointName :: Value Text
endpointName = PropertyType "EndpointName" InferenceComponent
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
InferenceComponentSpecificationProperty
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
instance Property "InferenceComponentName" InferenceComponent where
type PropertyType "InferenceComponentName" InferenceComponent = Value Prelude.Text
set :: PropertyType "InferenceComponentName" InferenceComponent
-> InferenceComponent -> InferenceComponent
set PropertyType "InferenceComponentName" InferenceComponent
newValue InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= InferenceComponent
{inferenceComponentName :: Maybe (Value Text)
inferenceComponentName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InferenceComponentName" InferenceComponent
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
instance Property "RuntimeConfig" InferenceComponent where
type PropertyType "RuntimeConfig" InferenceComponent = InferenceComponentRuntimeConfigProperty
set :: PropertyType "RuntimeConfig" InferenceComponent
-> InferenceComponent -> InferenceComponent
set PropertyType "RuntimeConfig" InferenceComponent
newValue InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= InferenceComponent {runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
runtimeConfig = InferenceComponentRuntimeConfigProperty
-> Maybe InferenceComponentRuntimeConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RuntimeConfig" InferenceComponent
InferenceComponentRuntimeConfigProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
instance Property "Specification" InferenceComponent where
type PropertyType "Specification" InferenceComponent = InferenceComponentSpecificationProperty
set :: PropertyType "Specification" InferenceComponent
-> InferenceComponent -> InferenceComponent
set PropertyType "Specification" InferenceComponent
newValue InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= InferenceComponent {specification :: InferenceComponentSpecificationProperty
specification = PropertyType "Specification" InferenceComponent
InferenceComponentSpecificationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
instance Property "Tags" InferenceComponent where
type PropertyType "Tags" InferenceComponent = [Tag]
set :: PropertyType "Tags" InferenceComponent
-> InferenceComponent -> InferenceComponent
set PropertyType "Tags" InferenceComponent
newValue InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= InferenceComponent {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" InferenceComponent
newValue, Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
variantName :: Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
variantName :: Maybe (Value Text)
..}
instance Property "VariantName" InferenceComponent where
type PropertyType "VariantName" InferenceComponent = Value Prelude.Text
set :: PropertyType "VariantName" InferenceComponent
-> InferenceComponent -> InferenceComponent
set PropertyType "VariantName" InferenceComponent
newValue InferenceComponent {Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: InferenceComponent -> ()
deploymentConfig :: InferenceComponent
-> Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: InferenceComponent -> Maybe (Value Text)
endpointName :: InferenceComponent -> Value Text
inferenceComponentName :: InferenceComponent -> Maybe (Value Text)
runtimeConfig :: InferenceComponent -> Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponent -> InferenceComponentSpecificationProperty
tags :: InferenceComponent -> Maybe [Tag]
variantName :: InferenceComponent -> Maybe (Value Text)
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
variantName :: Maybe (Value Text)
..}
= InferenceComponent {variantName :: Maybe (Value Text)
variantName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VariantName" InferenceComponent
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InferenceComponentDeploymentConfigProperty
Maybe InferenceComponentRuntimeConfigProperty
()
Value Text
InferenceComponentSpecificationProperty
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deploymentConfig :: Maybe InferenceComponentDeploymentConfigProperty
endpointArn :: Maybe (Value Text)
endpointName :: Value Text
inferenceComponentName :: Maybe (Value Text)
runtimeConfig :: Maybe InferenceComponentRuntimeConfigProperty
specification :: InferenceComponentSpecificationProperty
tags :: Maybe [Tag]
..}