Class: Aws::SageMaker::Types::UpdateEndpointWeightsAndCapacitiesInput

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

Overview

Note:

When making an API call, you may pass UpdateEndpointWeightsAndCapacitiesInput data as a hash:

{
  endpoint_name: "EndpointName", # required
  desired_weights_and_capacities: [ # required
    {
      variant_name: "VariantName", # required
      desired_weight: 1.0,
      desired_instance_count: 1,
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#desired_weights_and_capacitiesArray<Types::DesiredWeightAndCapacity>

An object that provides new capacity and weight values for a variant.



11305
11306
11307
11308
11309
# File 'lib/aws-sdk-sagemaker/types.rb', line 11305

class UpdateEndpointWeightsAndCapacitiesInput < Struct.new(
  :endpoint_name,
  :desired_weights_and_capacities)
  include Aws::Structure
end

#endpoint_nameString

The name of an existing Amazon SageMaker endpoint.

Returns:

  • (String)


11305
11306
11307
11308
11309
# File 'lib/aws-sdk-sagemaker/types.rb', line 11305

class UpdateEndpointWeightsAndCapacitiesInput < Struct.new(
  :endpoint_name,
  :desired_weights_and_capacities)
  include Aws::Structure
end