Class: Aws::SageMaker::Types::DesiredWeightAndCapacity
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::DesiredWeightAndCapacity
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
Note:
When making an API call, you may pass DesiredWeightAndCapacity data as a hash:
{
variant_name: "VariantName", # required
desired_weight: 1.0,
desired_instance_count: 1,
}
Specifies weight and capacity values for a production variant.
Instance Attribute Summary collapse
-
#desired_instance_count ⇒ Integer
The variant’s capacity.
-
#desired_weight ⇒ Float
The variant’s weight.
-
#variant_name ⇒ String
The name of the variant to update.
Instance Attribute Details
#desired_instance_count ⇒ Integer
The variant’s capacity.
8660 8661 8662 8663 8664 8665 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8660 class DesiredWeightAndCapacity < Struct.new( :variant_name, :desired_weight, :desired_instance_count) include Aws::Structure end |
#desired_weight ⇒ Float
The variant’s weight.
8660 8661 8662 8663 8664 8665 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8660 class DesiredWeightAndCapacity < Struct.new( :variant_name, :desired_weight, :desired_instance_count) include Aws::Structure end |
#variant_name ⇒ String
The name of the variant to update.
8660 8661 8662 8663 8664 8665 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8660 class DesiredWeightAndCapacity < Struct.new( :variant_name, :desired_weight, :desired_instance_count) include Aws::Structure end |