| 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.DesiredWeightAndCapacity
Description
Synopsis
- data DesiredWeightAndCapacity = DesiredWeightAndCapacity' {}
- newDesiredWeightAndCapacity :: Text -> DesiredWeightAndCapacity
- desiredWeightAndCapacity_desiredInstanceCount :: Lens' DesiredWeightAndCapacity (Maybe Natural)
- desiredWeightAndCapacity_desiredWeight :: Lens' DesiredWeightAndCapacity (Maybe Double)
- desiredWeightAndCapacity_variantName :: Lens' DesiredWeightAndCapacity Text
Documentation
data DesiredWeightAndCapacity Source #
Specifies weight and capacity values for a production variant.
See: newDesiredWeightAndCapacity smart constructor.
Constructors
| DesiredWeightAndCapacity' | |
Fields
| |
Instances
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.
desiredWeightAndCapacity_desiredInstanceCount :: Lens' DesiredWeightAndCapacity (Maybe Natural) Source #
The variant's capacity.
desiredWeightAndCapacity_desiredWeight :: Lens' DesiredWeightAndCapacity (Maybe Double) Source #
The variant's weight.
desiredWeightAndCapacity_variantName :: Lens' DesiredWeightAndCapacity Text Source #
The name of the variant to update.