Class: Aws::SageMaker::Types::UpdateEndpointInput

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 UpdateEndpointInput data as a hash:

{
  endpoint_name: "EndpointName", # required
  endpoint_config_name: "EndpointConfigName", # required
  retain_all_variant_properties: false,
  exclude_retained_variant_properties: [
    {
      variant_property_type: "DesiredInstanceCount", # required, accepts DesiredInstanceCount, DesiredWeight, DataCaptureConfig
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint_config_nameString

The name of the new endpoint configuration.

Returns:

  • (String)


20268
20269
20270
20271
20272
20273
20274
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 20268

class UpdateEndpointInput < Struct.new(
  :endpoint_name,
  :endpoint_config_name,
  :retain_all_variant_properties,
  :exclude_retained_variant_properties)
  include Aws::Structure
end

#endpoint_nameString

The name of the endpoint whose configuration you want to update.

Returns:

  • (String)


20268
20269
20270
20271
20272
20273
20274
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 20268

class UpdateEndpointInput < Struct.new(
  :endpoint_name,
  :endpoint_config_name,
  :retain_all_variant_properties,
  :exclude_retained_variant_properties)
  include Aws::Structure
end

#exclude_retained_variant_propertiesArray<Types::VariantProperty>

When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose value is set to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't specify a value for ExcludeAllVariantProperties, no variant properties are overridden.

Returns:



20268
20269
20270
20271
20272
20273
20274
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 20268

class UpdateEndpointInput < Struct.new(
  :endpoint_name,
  :endpoint_config_name,
  :retain_all_variant_properties,
  :exclude_retained_variant_properties)
  include Aws::Structure
end

#retain_all_variant_propertiesBoolean

When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set RetainAllVariantProperties to true. To use the variant properties specified in a new EndpointConfig call when updating an endpoint, set RetainAllVariantProperties to false.

Returns:

  • (Boolean)


20268
20269
20270
20271
20272
20273
20274
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 20268

class UpdateEndpointInput < Struct.new(
  :endpoint_name,
  :endpoint_config_name,
  :retain_all_variant_properties,
  :exclude_retained_variant_properties)
  include Aws::Structure
end