Class: Aws::SageMaker::Types::ModelDeployConfig

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

{
  auto_generate_endpoint_name: false,
  endpoint_name: "EndpointName",
}

Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_generate_endpoint_nameBoolean

Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.

If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.

Returns:

  • (Boolean)


24921
24922
24923
24924
24925
24926
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 24921

class ModelDeployConfig < Struct.new(
  :auto_generate_endpoint_name,
  :endpoint_name)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_nameString

Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.

Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.

Returns:

  • (String)


24921
24922
24923
24924
24925
24926
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 24921

class ModelDeployConfig < Struct.new(
  :auto_generate_endpoint_name,
  :endpoint_name)
  SENSITIVE = []
  include Aws::Structure
end