Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ProductionVariantSummary = ProductionVariantSummary' {
- currentInstanceCount :: Maybe Natural
- currentServerlessConfig :: Maybe ProductionVariantServerlessConfig
- currentWeight :: Maybe Double
- deployedImages :: Maybe [DeployedImage]
- desiredInstanceCount :: Maybe Natural
- desiredServerlessConfig :: Maybe ProductionVariantServerlessConfig
- desiredWeight :: Maybe Double
- variantStatus :: Maybe [ProductionVariantStatus]
- variantName :: Text
- newProductionVariantSummary :: Text -> ProductionVariantSummary
- productionVariantSummary_currentInstanceCount :: Lens' ProductionVariantSummary (Maybe Natural)
- productionVariantSummary_currentServerlessConfig :: Lens' ProductionVariantSummary (Maybe ProductionVariantServerlessConfig)
- productionVariantSummary_currentWeight :: Lens' ProductionVariantSummary (Maybe Double)
- productionVariantSummary_deployedImages :: Lens' ProductionVariantSummary (Maybe [DeployedImage])
- productionVariantSummary_desiredInstanceCount :: Lens' ProductionVariantSummary (Maybe Natural)
- productionVariantSummary_desiredServerlessConfig :: Lens' ProductionVariantSummary (Maybe ProductionVariantServerlessConfig)
- productionVariantSummary_desiredWeight :: Lens' ProductionVariantSummary (Maybe Double)
- productionVariantSummary_variantStatus :: Lens' ProductionVariantSummary (Maybe [ProductionVariantStatus])
- 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.
ProductionVariantSummary' | |
|
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:currentInstanceCount:ProductionVariantSummary'
, productionVariantSummary_currentInstanceCount
- The number of instances associated with the variant.
$sel:currentServerlessConfig:ProductionVariantSummary'
, productionVariantSummary_currentServerlessConfig
- The serverless configuration for the endpoint.
$sel:currentWeight:ProductionVariantSummary'
, productionVariantSummary_currentWeight
- The weight 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:desiredInstanceCount:ProductionVariantSummary'
, productionVariantSummary_desiredInstanceCount
- The number of instances requested in the
UpdateEndpointWeightsAndCapacities
request.
$sel:desiredServerlessConfig:ProductionVariantSummary'
, productionVariantSummary_desiredServerlessConfig
- The serverless configuration requested for the endpoint update.
$sel:desiredWeight:ProductionVariantSummary'
, productionVariantSummary_desiredWeight
- The requested weight, as specified in the
UpdateEndpointWeightsAndCapacities
request.
$sel:variantStatus:ProductionVariantSummary'
, productionVariantSummary_variantStatus
- The endpoint variant status which describes the current deployment stage
status or operational status.
$sel:variantName:ProductionVariantSummary'
, productionVariantSummary_variantName
- The name of the variant.
productionVariantSummary_currentInstanceCount :: Lens' ProductionVariantSummary (Maybe Natural) Source #
The number of instances associated with the variant.
productionVariantSummary_currentServerlessConfig :: Lens' ProductionVariantSummary (Maybe ProductionVariantServerlessConfig) Source #
The serverless configuration for the endpoint.
productionVariantSummary_currentWeight :: Lens' ProductionVariantSummary (Maybe Double) Source #
The weight 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_desiredInstanceCount :: Lens' ProductionVariantSummary (Maybe Natural) Source #
The number of instances requested in the
UpdateEndpointWeightsAndCapacities
request.
productionVariantSummary_desiredServerlessConfig :: Lens' ProductionVariantSummary (Maybe ProductionVariantServerlessConfig) Source #
The serverless configuration requested for the endpoint update.
productionVariantSummary_desiredWeight :: Lens' ProductionVariantSummary (Maybe Double) Source #
The requested weight, as specified in the
UpdateEndpointWeightsAndCapacities
request.
productionVariantSummary_variantStatus :: Lens' ProductionVariantSummary (Maybe [ProductionVariantStatus]) Source #
The endpoint variant status which describes the current deployment stage status or operational status.
productionVariantSummary_variantName :: Lens' ProductionVariantSummary Text Source #
The name of the variant.