Class: Aws::SageMakerGatewayRuntime::Types::InvokeGlobalInferenceGatewayWithResponseStreamInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMakerGatewayRuntime::Types::InvokeGlobalInferenceGatewayWithResponseStreamInput
- Defined in:
- gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb
Overview
The request for InvokeGlobalInferenceGatewayWithResponseStream. It has the same members as the InvokeGlobalInferenceGateway request.
Constant Summary collapse
- SENSITIVE =
[:customer_identity_token, :body]
Instance Attribute Summary collapse
-
#accept ⇒ String
The MIME type you want for the response.
-
#body ⇒ String
The inference request body, as for InvokeGlobalInferenceGateway, except that the request is always sent with
"stream": true: this operation returns an event stream, so a"stream": falsein the body (or nostreamkey) is overridden. -
#content_type ⇒ String
The MIME type of the request body, as for InvokeGlobalInferenceGateway.
-
#customer_identity_token ⇒ String
The customer identity token (a JWT), as for InvokeGlobalInferenceGateway.
-
#gateway_id ⇒ String
The ID of the Global Inference Gateway to invoke, as for InvokeGlobalInferenceGateway.
Instance Attribute Details
#accept ⇒ String
The MIME type you want for the response. It is passed to the model server.
263 264 265 266 267 268 269 270 271 |
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 263 class InvokeGlobalInferenceGatewayWithResponseStreamInput < Struct.new( :gateway_id, :accept, :content_type, :customer_identity_token, :body) SENSITIVE = [:customer_identity_token, :body] include Aws::Structure end |
#body ⇒ String
The inference request body, as for InvokeGlobalInferenceGateway,
except that the request is always sent with "stream": true: this
operation returns an event stream, so a "stream": false in the
body (or no stream key) is overridden. A body larger than 10 MiB
is rejected with PayloadTooLargeException (413).
263 264 265 266 267 268 269 270 271 |
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 263 class InvokeGlobalInferenceGatewayWithResponseStreamInput < Struct.new( :gateway_id, :accept, :content_type, :customer_identity_token, :body) SENSITIVE = [:customer_identity_token, :body] include Aws::Structure end |
#content_type ⇒ String
The MIME type of the request body, as for
InvokeGlobalInferenceGateway. Pass application/json.
263 264 265 266 267 268 269 270 271 |
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 263 class InvokeGlobalInferenceGatewayWithResponseStreamInput < Struct.new( :gateway_id, :accept, :content_type, :customer_identity_token, :body) SENSITIVE = [:customer_identity_token, :body] include Aws::Structure end |
#customer_identity_token ⇒ String
The customer identity token (a JWT), as for InvokeGlobalInferenceGateway. It is passed unchanged to the inference gateway, which validates it.
263 264 265 266 267 268 269 270 271 |
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 263 class InvokeGlobalInferenceGatewayWithResponseStreamInput < Struct.new( :gateway_id, :accept, :content_type, :customer_identity_token, :body) SENSITIVE = [:customer_identity_token, :body] include Aws::Structure end |
#gateway_id ⇒ String
The ID of the Global Inference Gateway to invoke, as for InvokeGlobalInferenceGateway.
263 264 265 266 267 268 269 270 271 |
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 263 class InvokeGlobalInferenceGatewayWithResponseStreamInput < Struct.new( :gateway_id, :accept, :content_type, :customer_identity_token, :body) SENSITIVE = [:customer_identity_token, :body] include Aws::Structure end |