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

Description

 
Synopsis

Documentation

data DesiredWeightAndCapacity Source #

Specifies weight and capacity values for a production variant.

See: newDesiredWeightAndCapacity smart constructor.

Constructors

DesiredWeightAndCapacity' 

Fields

Instances

Instances details
Eq DesiredWeightAndCapacity Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DesiredWeightAndCapacity

Read DesiredWeightAndCapacity Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DesiredWeightAndCapacity

Show DesiredWeightAndCapacity Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DesiredWeightAndCapacity

Generic DesiredWeightAndCapacity Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DesiredWeightAndCapacity

Associated Types

type Rep DesiredWeightAndCapacity :: Type -> Type #

NFData DesiredWeightAndCapacity Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DesiredWeightAndCapacity

Hashable DesiredWeightAndCapacity Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DesiredWeightAndCapacity

ToJSON DesiredWeightAndCapacity Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DesiredWeightAndCapacity

type Rep DesiredWeightAndCapacity Source # 
Instance details

Defined in Amazonka.SageMaker.Types.DesiredWeightAndCapacity

type Rep DesiredWeightAndCapacity = D1 ('MetaData "DesiredWeightAndCapacity" "Amazonka.SageMaker.Types.DesiredWeightAndCapacity" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "DesiredWeightAndCapacity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "desiredInstanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "desiredWeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "variantName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDesiredWeightAndCapacity Source #

Create a value of DesiredWeightAndCapacity 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:DesiredWeightAndCapacity', desiredWeightAndCapacity_desiredInstanceCount - The variant's capacity.

$sel:desiredWeight:DesiredWeightAndCapacity', desiredWeightAndCapacity_desiredWeight - The variant's weight.

$sel:variantName:DesiredWeightAndCapacity', desiredWeightAndCapacity_variantName - The name of the variant to update.