Class: Aws::SageMakerGatewayRuntime::Types::ResourceNotFoundException

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

Overview

No gateway with this ID exists in this account and Region, or no target of the gateway serves the model named in the request body. A model that is served but has no available target right now returns ServiceUnavailableException instead. A message starting inference gateway means the inference gateway serving the model returned a 404; up to 256 bytes of its error message are quoted.

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)


368
369
370
371
372
373
374
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 368

class ResourceNotFoundException < Struct.new(
  :message,
  :resource_id,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_id ⇒ String

The ID of the resource that was not found: the gateway ID, or the model name.

Returns:

  • (String)


368
369
370
371
372
373
374
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 368

class ResourceNotFoundException < Struct.new(
  :message,
  :resource_id,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_type ⇒ String

The kind of resource that was not found: the gateway, or the model.

Returns:

  • (String)


368
369
370
371
372
373
374
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 368

class ResourceNotFoundException < Struct.new(
  :message,
  :resource_id,
  :resource_type)
  SENSITIVE = []
  include Aws::Structure
end