Class: Aws::SageMakerInferenceRouterRuntime::Types::InvokeInferenceRouterAsyncInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMakerInferenceRouterRuntime::Types::InvokeInferenceRouterAsyncInput
- Defined in:
- gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:custom_attributes]
Instance Attribute Summary collapse
-
#accept ⇒ String
The MIME type that you want for the inference response.
-
#content_type ⇒ String
The MIME type of the input data in Amazon S3.
-
#custom_attributes ⇒ String
Provides additional information about the inference request.
-
#filename ⇒ String
The file name of the inference response stored in Amazon S3.
-
#inference_id ⇒ String
An identifier for the inference request.
-
#inference_router_name ⇒ String
The name of the inference router to invoke.
-
#input_location ⇒ String
The Amazon S3 URI of the object that contains the input data for the inference.
-
#invocation_timeout_seconds ⇒ Integer
The maximum time, in seconds, that a destination can spend processing the request before the request is marked as expired.
-
#request_ttl_seconds ⇒ Integer
The time to live of the request, in seconds, measured from when the router accepts it.
-
#routing_target_name ⇒ String
The name of the routing target in the inference router.
-
#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.
Instance Attribute Details
#accept ⇒ String
The MIME type that you want for the inference response. The router passes it to the destination.
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.
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.
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.
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.
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.
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.
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).
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).
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.
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.
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 |