Class: Aws::KendraRanking::Errors::ResourceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::KendraRanking::Errors::ResourceUnavailableException
- Defined in:
- lib/aws-sdk-kendraranking/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceUnavailableException
constructor
A new instance of ResourceUnavailableException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceUnavailableException
Returns a new instance of ResourceUnavailableException.
110 111 112 |
# File 'lib/aws-sdk-kendraranking/errors.rb', line 110 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
115 116 117 |
# File 'lib/aws-sdk-kendraranking/errors.rb', line 115 def @message || @data[:message] end |