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

Description

 
Synopsis

Documentation

data VariantProperty Source #

Specifies a production variant property type for an Endpoint.

If you are updating an endpoint with the UpdateEndpointInput$RetainAllVariantProperties option set to true, the VariantProperty objects listed in UpdateEndpointInput$ExcludeRetainedVariantProperties override the existing variant properties of the endpoint.

See: newVariantProperty smart constructor.

Constructors

VariantProperty' 

Fields

  • variantPropertyType :: VariantPropertyType

    The type of variant property. The supported values are:

    • DesiredInstanceCount: Overrides the existing variant instance counts using the ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
    • DesiredWeight: Overrides the existing variant weights using the ProductionVariant$InitialVariantWeight values in the CreateEndpointConfigInput$ProductionVariants.
    • DataCaptureConfig: (Not currently supported.)

Instances

Instances details
Eq VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

Read VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

Show VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

Generic VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

Associated Types

type Rep VariantProperty :: Type -> Type #

NFData VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

Methods

rnf :: VariantProperty -> () #

Hashable VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

ToJSON VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

type Rep VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

type Rep VariantProperty = D1 ('MetaData "VariantProperty" "Amazonka.SageMaker.Types.VariantProperty" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "VariantProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "variantPropertyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VariantPropertyType)))

newVariantProperty Source #

Create a value of VariantProperty 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:variantPropertyType:VariantProperty', variantProperty_variantPropertyType - The type of variant property. The supported values are:

  • DesiredInstanceCount: Overrides the existing variant instance counts using the ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
  • DesiredWeight: Overrides the existing variant weights using the ProductionVariant$InitialVariantWeight values in the CreateEndpointConfigInput$ProductionVariants.
  • DataCaptureConfig: (Not currently supported.)

variantProperty_variantPropertyType :: Lens' VariantProperty VariantPropertyType Source #

The type of variant property. The supported values are:

  • DesiredInstanceCount: Overrides the existing variant instance counts using the ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
  • DesiredWeight: Overrides the existing variant weights using the ProductionVariant$InitialVariantWeight values in the CreateEndpointConfigInput$ProductionVariants.
  • DataCaptureConfig: (Not currently supported.)