Class: Aws::SageMakerInferenceRouterRuntime::Types::InvokeInferenceRouterAsyncInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:custom_attributes]

Instance Attribute Summary collapse

Instance Attribute Details

#accept ⇒ String

The MIME type that you want for the inference response. The router passes it to the destination.

Returns:

  • (String)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#content_type ⇒ String

The MIME type of the input data in Amazon S3. The router passes it to the destination.

Returns:

  • (String)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#custom_attributes ⇒ String

Provides additional information about the inference request. The value is an opaque string that the router passes, unchanged, to the model container of the destination that serves the request. The value can contain up to 1,024 visible US-ASCII characters.

Returns:

  • (String)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#filename ⇒ String

The file name of the inference response stored in Amazon S3. If you don't provide one, SageMaker AI generates one.

Returns:

  • (String)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#inference_id ⇒ String

An identifier for the inference request. If you don't provide one, SageMaker AI generates one and returns it in the response.

Returns:

  • (String)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#inference_router_name ⇒ String

The name of the inference router to invoke.

Returns:

  • (String)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#input_location ⇒ String

The Amazon S3 URI of the object that contains the input data for the inference. The bucket must be in the inference router's Amazon Web Services Region and owned by the router's account. The destination endpoint's execution role reads the object, and the destination's asynchronous inference limits apply to it.

Returns:

  • (String)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#invocation_timeout_seconds ⇒ Integer

The maximum time, in seconds, that a destination can spend processing the request before the request is marked as expired. The default is 900 seconds (15 minutes).

Returns:

  • (Integer)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#request_ttl_seconds ⇒ Integer

The time to live of the request, in seconds, measured from when the router accepts it. If no destination starts the request in this time, the request fails. The default is 21,600 seconds (6 hours).

Returns:

  • (Integer)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#routing_target_name ⇒ String

The name of the routing target in the inference router. The routing target must be configured for asynchronous inference.

Returns:

  • (String)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end

#s3_output_path_extension ⇒ String

The path extension that is appended to the routing target's Amazon S3 output path where the inference response is stored.

Returns:

  • (String)


123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb', line 123

class InvokeInferenceRouterAsyncInput < Struct.new(
  :inference_router_name,
  :routing_target_name,
  :content_type,
  :accept,
  :custom_attributes,
  :inference_id,
  :input_location,
  :s3_output_path_extension,
  :filename,
  :request_ttl_seconds,
  :invocation_timeout_seconds)
  SENSITIVE = [:custom_attributes]
  include Aws::Structure
end