| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SageMaker.Types.ProductionVariantSummary
Description
Synopsis
- data ProductionVariantSummary = ProductionVariantSummary' {}
- newProductionVariantSummary :: Text -> ProductionVariantSummary
- productionVariantSummary_desiredInstanceCount :: Lens' ProductionVariantSummary (Maybe Natural)
- productionVariantSummary_desiredWeight :: Lens' ProductionVariantSummary (Maybe Double)
- productionVariantSummary_currentWeight :: Lens' ProductionVariantSummary (Maybe Double)
- productionVariantSummary_currentInstanceCount :: Lens' ProductionVariantSummary (Maybe Natural)
- productionVariantSummary_deployedImages :: Lens' ProductionVariantSummary (Maybe [DeployedImage])
- productionVariantSummary_variantName :: Lens' ProductionVariantSummary Text
Documentation
data ProductionVariantSummary Source #
Describes weight and capacities for a production variant associated with
an endpoint. If you sent a request to the
UpdateEndpointWeightsAndCapacities API and the endpoint status is
Updating, you get different desired and current values.
See: newProductionVariantSummary smart constructor.
Constructors
| ProductionVariantSummary' | |
Fields
| |
Instances
newProductionVariantSummary Source #
Create a value of ProductionVariantSummary 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:desiredInstanceCount:ProductionVariantSummary', productionVariantSummary_desiredInstanceCount - The number of instances requested in the
UpdateEndpointWeightsAndCapacities request.
$sel:desiredWeight:ProductionVariantSummary', productionVariantSummary_desiredWeight - The requested weight, as specified in the
UpdateEndpointWeightsAndCapacities request.
$sel:currentWeight:ProductionVariantSummary', productionVariantSummary_currentWeight - The weight associated with the variant.
$sel:currentInstanceCount:ProductionVariantSummary', productionVariantSummary_currentInstanceCount - The number of instances associated with the variant.
$sel:deployedImages:ProductionVariantSummary', productionVariantSummary_deployedImages - An array of DeployedImage objects that specify the Amazon EC2
Container Registry paths of the inference images deployed on instances
of this ProductionVariant.
$sel:variantName:ProductionVariantSummary', productionVariantSummary_variantName - The name of the variant.
productionVariantSummary_desiredInstanceCount :: Lens' ProductionVariantSummary (Maybe Natural) Source #
The number of instances requested in the
UpdateEndpointWeightsAndCapacities request.
productionVariantSummary_desiredWeight :: Lens' ProductionVariantSummary (Maybe Double) Source #
The requested weight, as specified in the
UpdateEndpointWeightsAndCapacities request.
productionVariantSummary_currentWeight :: Lens' ProductionVariantSummary (Maybe Double) Source #
The weight associated with the variant.
productionVariantSummary_currentInstanceCount :: Lens' ProductionVariantSummary (Maybe Natural) Source #
The number of instances associated with the variant.
productionVariantSummary_deployedImages :: Lens' ProductionVariantSummary (Maybe [DeployedImage]) Source #
An array of DeployedImage objects that specify the Amazon EC2
Container Registry paths of the inference images deployed on instances
of this ProductionVariant.
productionVariantSummary_variantName :: Lens' ProductionVariantSummary Text Source #
The name of the variant.