amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.Types.ProductionVariantSummary

Description

 
Synopsis

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

Instances details
FromJSON ProductionVariantSummary Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariantSummary

Generic ProductionVariantSummary Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariantSummary

Associated Types

type Rep ProductionVariantSummary :: Type -> Type #

Read ProductionVariantSummary Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariantSummary

Show ProductionVariantSummary Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariantSummary

NFData ProductionVariantSummary Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariantSummary

Eq ProductionVariantSummary Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariantSummary

Hashable ProductionVariantSummary Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariantSummary

type Rep ProductionVariantSummary Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ProductionVariantSummary

type Rep ProductionVariantSummary = D1 ('MetaData "ProductionVariantSummary" "Amazonka.SageMaker.Types.ProductionVariantSummary" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ProductionVariantSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "currentInstanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "currentServerlessConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProductionVariantServerlessConfig))) :*: (S1 ('MetaSel ('Just "currentWeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "deployedImages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeployedImage])))) :*: ((S1 ('MetaSel ('Just "desiredInstanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "desiredServerlessConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProductionVariantServerlessConfig))) :*: (S1 ('MetaSel ('Just "desiredWeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "variantStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProductionVariantStatus])) :*: S1 ('MetaSel ('Just "variantName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

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_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_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.