Class: Aws::SageMakerGatewayRuntime::Types::AccessDeniedException

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

Overview

The caller is not authorized to invoke this gateway. Invoking requires the sagemaker:InvokeGlobalInferenceGateway permission, or sagemaker:InvokeGlobalInferenceGatewayWithResponseStream for the streaming operation, on the gateway ARN. A message starting inference gateway means the inference gateway serving the model refused the request with a 401 or 403, for example for its customer identity token. Its status code is in the message (the response status is 403), and 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)


30
31
32
33
34
# File 'gems/aws-sdk-sagemakergatewayruntime/lib/aws-sdk-sagemakergatewayruntime/types.rb', line 30

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