Class: Aws::SageMaker::Types::DesiredWeightAndCapacity

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

Overview

Specifies weight and capacity values for a production variant.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#desired_instance_countInteger

The variant’s capacity.

Returns:

  • (Integer)


17339
17340
17341
17342
17343
17344
17345
17346
# File 'lib/aws-sdk-sagemaker/types.rb', line 17339

class DesiredWeightAndCapacity < Struct.new(
  :variant_name,
  :desired_weight,
  :desired_instance_count,
  :serverless_update_config)
  SENSITIVE = []
  include Aws::Structure
end

#desired_weightFloat

The variant’s weight.

Returns:

  • (Float)


17339
17340
17341
17342
17343
17344
17345
17346
# File 'lib/aws-sdk-sagemaker/types.rb', line 17339

class DesiredWeightAndCapacity < Struct.new(
  :variant_name,
  :desired_weight,
  :desired_instance_count,
  :serverless_update_config)
  SENSITIVE = []
  include Aws::Structure
end

#serverless_update_configTypes::ProductionVariantServerlessUpdateConfig

Specifies the serverless update concurrency configuration for an endpoint variant.



17339
17340
17341
17342
17343
17344
17345
17346
# File 'lib/aws-sdk-sagemaker/types.rb', line 17339

class DesiredWeightAndCapacity < Struct.new(
  :variant_name,
  :desired_weight,
  :desired_instance_count,
  :serverless_update_config)
  SENSITIVE = []
  include Aws::Structure
end

#variant_nameString

The name of the variant to update.

Returns:

  • (String)


17339
17340
17341
17342
17343
17344
17345
17346
# File 'lib/aws-sdk-sagemaker/types.rb', line 17339

class DesiredWeightAndCapacity < Struct.new(
  :variant_name,
  :desired_weight,
  :desired_instance_count,
  :serverless_update_config)
  SENSITIVE = []
  include Aws::Structure
end