Class: Aws::Kendra::Errors::ResourceAlreadyExistException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Kendra::Errors::ResourceAlreadyExistException
- Defined in:
- lib/aws-sdk-kendra/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceAlreadyExistException
constructor
A new instance of ResourceAlreadyExistException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceAlreadyExistException
Returns a new instance of ResourceAlreadyExistException.
134 135 136 |
# File 'lib/aws-sdk-kendra/errors.rb', line 134 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
139 140 141 |
# File 'lib/aws-sdk-kendra/errors.rb', line 139 def @message || @data[:message] end |