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

Class: Aws::SageMakerRuntime::Types::InvokeEndpointInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb

Overview

Note:

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

{
  endpoint_name: "EndpointName", # required
  body: "data", # required
  content_type: "Header",
  accept: "Header",
}

Instance Attribute Summary collapse

Instance Attribute Details

#acceptString

The desired MIME type of the inference in the response.

Returns:

  • (String)


46
47
48
49
50
51
52
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 46

class InvokeEndpointInput < Struct.new(
  :endpoint_name,
  :body,
  :content_type,
  :accept)
  include Aws::Structure
end

#bodyString

Provides input data, in the format specified in the ContentType request header. Amazon SageMaker passes all of the data in the body to the model.

Returns:

  • (String)


46
47
48
49
50
51
52
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 46

class InvokeEndpointInput < Struct.new(
  :endpoint_name,
  :body,
  :content_type,
  :accept)
  include Aws::Structure
end

#content_typeString

The MIME type of the input data in the request body.

Returns:

  • (String)


46
47
48
49
50
51
52
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 46

class InvokeEndpointInput < Struct.new(
  :endpoint_name,
  :body,
  :content_type,
  :accept)
  include Aws::Structure
end

#endpoint_nameString

The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.

Returns:

  • (String)


46
47
48
49
50
51
52
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/types.rb', line 46

class InvokeEndpointInput < Struct.new(
  :endpoint_name,
  :body,
  :content_type,
  :accept)
  include Aws::Structure
end