Class: Aws::RedshiftDataAPIService::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::RedshiftDataAPIService::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-redshiftdataapiservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
constructor
A new instance of ResourceNotFoundException.
- #message ⇒ String
- #resource_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
Returns a new instance of ResourceNotFoundException.
166 167 168 |
# File 'lib/aws-sdk-redshiftdataapiservice/errors.rb', line 166 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
171 172 173 |
# File 'lib/aws-sdk-redshiftdataapiservice/errors.rb', line 171 def @message || @data[:message] end |
#resource_id ⇒ String
176 177 178 |
# File 'lib/aws-sdk-redshiftdataapiservice/errors.rb', line 176 def resource_id @data[:resource_id] end |