AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::SageMakerRuntime::Errors::ModelError

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ModelError

Returns a new instance of ModelError.

Parameters:



61
62
63
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/errors.rb', line 61

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#log_stream_arnString

Returns:

  • (String)


81
82
83
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/errors.rb', line 81

def log_stream_arn
  @data[:log_stream_arn]
end

#messageString

Returns:

  • (String)


66
67
68
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/errors.rb', line 66

def message
  @message || @data[:message]
end

#original_messageString

Returns:

  • (String)


76
77
78
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/errors.rb', line 76

def original_message
  @data[:original_message]
end

#original_status_codeString

Returns:

  • (String)


71
72
73
# File 'gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/errors.rb', line 71

def original_status_code
  @data[:original_status_code]
end