| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
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 
  | |
Instances
Arguments
| :: CapacitySizeType | |
| -> Natural | |
| -> CapacitySize | 
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.