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.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
ToJSON 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 #

Read VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

Show VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

NFData VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

Methods

rnf :: VariantProperty -> () #

Eq VariantProperty Source # 
Instance details

Defined in Amazonka.SageMaker.Types.VariantProperty

Hashable 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" '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.)