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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/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.



2463
2464
2465
2466
2467
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2463

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)


2463
2464
2465
2466
2467
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2463

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