You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SageMaker::Types::ProductionVariantSummary

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Describes weight and capacities for a production variant associated with an endpoint. If you sent a request to the UpdateWeightAndCapacities API and the endpoint status is Updating, you get different desired and current values.

Instance Attribute Summary collapse

Instance Attribute Details

#current_instance_countInteger

The number of instances associated with the variant.

Returns:

  • (Integer)


2089
2090
2091
2092
2093
2094
2095
2096
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2089

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count)
  include Aws::Structure
end

#current_weightFloat

The weight associated with the variant.

Returns:

  • (Float)


2089
2090
2091
2092
2093
2094
2095
2096
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2089

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count)
  include Aws::Structure
end

#desired_instance_countInteger

The number of instances requested in the UpdateWeightAndCapacities request.

Returns:

  • (Integer)


2089
2090
2091
2092
2093
2094
2095
2096
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2089

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count)
  include Aws::Structure
end

#desired_weightFloat

The requested weight, as specified in the UpdateWeightAndCapacities request.

Returns:

  • (Float)


2089
2090
2091
2092
2093
2094
2095
2096
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2089

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count)
  include Aws::Structure
end

#variant_nameString

The name of the variant.

Returns:

  • (String)


2089
2090
2091
2092
2093
2094
2095
2096
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2089

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count)
  include Aws::Structure
end