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

Description

 
Synopsis

Documentation

data CapacitySize Source #

Specifies the endpoint capacity to activate for production.

See: newCapacitySize smart constructor.

Constructors

CapacitySize' 

Fields

  • type' :: CapacitySizeType

    Specifies the endpoint capacity type.

    • INSTANCE_COUNT: The endpoint activates based on the number of instances.
    • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.
  • value :: Natural

    Defines the capacity size, either as a number of instances or a capacity percentage.

Instances

Instances details
FromJSON CapacitySize Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CapacitySize

ToJSON CapacitySize Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CapacitySize

Generic CapacitySize Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CapacitySize

Associated Types

type Rep CapacitySize :: Type -> Type #

Read CapacitySize Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CapacitySize

Show CapacitySize Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CapacitySize

NFData CapacitySize Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CapacitySize

Methods

rnf :: CapacitySize -> () #

Eq CapacitySize Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CapacitySize

Hashable CapacitySize Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CapacitySize

type Rep CapacitySize Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CapacitySize

type Rep CapacitySize = D1 ('MetaData "CapacitySize" "Amazonka.SageMaker.Types.CapacitySize" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CapacitySize'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CapacitySizeType) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newCapacitySize Source #

Create a value of CapacitySize 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:type':CapacitySize', capacitySize_type - Specifies the endpoint capacity type.

  • INSTANCE_COUNT: The endpoint activates based on the number of instances.
  • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

$sel:value:CapacitySize', capacitySize_value - Defines the capacity size, either as a number of instances or a capacity percentage.

capacitySize_type :: Lens' CapacitySize CapacitySizeType Source #

Specifies the endpoint capacity type.

  • INSTANCE_COUNT: The endpoint activates based on the number of instances.
  • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

capacitySize_value :: Lens' CapacitySize Natural Source #

Defines the capacity size, either as a number of instances or a capacity percentage.