libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.ProductionVariant

Description

 
Synopsis

Documentation

data ProductionVariant Source #

Identifies a model that you want to host and the resources chosen to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.

See: newProductionVariant smart constructor.

Constructors

ProductionVariant' 

Fields

Instances

Instances details
Eq ProductionVariant Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariant

Read ProductionVariant Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariant

Show ProductionVariant Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariant

Generic ProductionVariant Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariant

Associated Types

type Rep ProductionVariant :: Type -> Type #

NFData ProductionVariant Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariant

Methods

rnf :: ProductionVariant -> () #

Hashable ProductionVariant Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariant

ToJSON ProductionVariant Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariant

FromJSON ProductionVariant Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariant

type Rep ProductionVariant Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariant

newProductionVariant Source #

Create a value of ProductionVariant with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:acceleratorType:ProductionVariant', productionVariant_acceleratorType - The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

$sel:coreDumpConfig:ProductionVariant', productionVariant_coreDumpConfig - Specifies configuration for a core dump from the model container when the process crashes.

$sel:initialVariantWeight:ProductionVariant', productionVariant_initialVariantWeight - Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

$sel:variantName:ProductionVariant', productionVariant_variantName - The name of the production variant.

$sel:modelName:ProductionVariant', productionVariant_modelName - The name of the model that you want to host. This is the name that you specified when creating the model.

$sel:initialInstanceCount:ProductionVariant', productionVariant_initialInstanceCount - Number of instances to launch initially.

$sel:instanceType:ProductionVariant', productionVariant_instanceType - The ML compute instance type.

productionVariant_acceleratorType :: Lens' ProductionVariant (Maybe ProductionVariantAcceleratorType) Source #

The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

productionVariant_coreDumpConfig :: Lens' ProductionVariant (Maybe ProductionVariantCoreDumpConfig) Source #

Specifies configuration for a core dump from the model container when the process crashes.

productionVariant_initialVariantWeight :: Lens' ProductionVariant (Maybe Double) Source #

Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

productionVariant_variantName :: Lens' ProductionVariant Text Source #

The name of the production variant.

productionVariant_modelName :: Lens' ProductionVariant Text Source #

The name of the model that you want to host. This is the name that you specified when creating the model.