Class: Aws::SageMakerGatewayRuntime::Types::GatewayTimeoutException

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

Overview

504 -- The inference gateway did not respond in time. The Message prefix says whose time limit expired:

  • Global Inference Gateway: timed out waiting for the inference gateway -- the gateway's limit on the wait for the first part of the response.
  • inference gateway: <status> <message> -- the inference gateway serving the model returned a 504, or a 408 because it timed out waiting for the request to arrive. Its status code is in the message (the response status is 504), and up to 256 bytes of its error message are quoted.

The inference gateway names a component in the prefix when it reports one: inference gateway (<component>):, where the component is config (the inference gateway's configuration and proxy layer), scheduler (its request scheduler), model selector (its model selector) or model server (the model server).

Not modeled as retryable: a timeout does not prove the inference did not run, and the gateway may already have tried another inference gateway. Standard SDK retry modes may still retry a 5xx status, which could run (and bill) the inference again; set max attempts to 1 if a repeated inference is unacceptable.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#message ⇒ String

A description of the error. It starts with a prefix such as Global Inference Gateway: or inference gateway: that says where the error came from.

Returns:

  • (String)


117
118
119
120
121
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 117

class GatewayTimeoutException < Struct.new(
  :message)
  SENSITIVE = []
  include Aws::Structure
end