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 UpdateEndpointWeightsAndCapacities API and the endpoint status is Updating, you get different desired and current values.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#current_instance_countInteger

The number of instances associated with the variant.

Returns:

  • (Integer)


34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34134

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :deployed_images,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count,
  :variant_status,
  :current_serverless_config,
  :desired_serverless_config)
  SENSITIVE = []
  include Aws::Structure
end

#current_serverless_configTypes::ProductionVariantServerlessConfig

The serverless configuration for the endpoint.



34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34134

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :deployed_images,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count,
  :variant_status,
  :current_serverless_config,
  :desired_serverless_config)
  SENSITIVE = []
  include Aws::Structure
end

#current_weightFloat

The weight associated with the variant.

Returns:

  • (Float)


34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34134

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :deployed_images,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count,
  :variant_status,
  :current_serverless_config,
  :desired_serverless_config)
  SENSITIVE = []
  include Aws::Structure
end

#deployed_imagesArray<Types::DeployedImage>

An array of DeployedImage objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this ProductionVariant.

Returns:



34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34134

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :deployed_images,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count,
  :variant_status,
  :current_serverless_config,
  :desired_serverless_config)
  SENSITIVE = []
  include Aws::Structure
end

#desired_instance_countInteger

The number of instances requested in the UpdateEndpointWeightsAndCapacities request.

Returns:

  • (Integer)


34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34134

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :deployed_images,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count,
  :variant_status,
  :current_serverless_config,
  :desired_serverless_config)
  SENSITIVE = []
  include Aws::Structure
end

#desired_serverless_configTypes::ProductionVariantServerlessConfig

The serverless configuration requested for the endpoint update.



34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34134

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :deployed_images,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count,
  :variant_status,
  :current_serverless_config,
  :desired_serverless_config)
  SENSITIVE = []
  include Aws::Structure
end

#desired_weightFloat

The requested weight, as specified in the UpdateEndpointWeightsAndCapacities request.

Returns:

  • (Float)


34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34134

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :deployed_images,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count,
  :variant_status,
  :current_serverless_config,
  :desired_serverless_config)
  SENSITIVE = []
  include Aws::Structure
end

#variant_nameString

The name of the variant.

Returns:

  • (String)


34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34134

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :deployed_images,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count,
  :variant_status,
  :current_serverless_config,
  :desired_serverless_config)
  SENSITIVE = []
  include Aws::Structure
end

#variant_statusArray<Types::ProductionVariantStatus>

The endpoint variant status which describes the current deployment stage status or operational status.

Returns:



34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34134

class ProductionVariantSummary < Struct.new(
  :variant_name,
  :deployed_images,
  :current_weight,
  :desired_weight,
  :current_instance_count,
  :desired_instance_count,
  :variant_status,
  :current_serverless_config,
  :desired_serverless_config)
  SENSITIVE = []
  include Aws::Structure
end