Class: Aws::FSx::Errors::ResourceNotFound
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::FSx::Errors::ResourceNotFound
- Defined in:
- gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFound
constructor
A new instance of ResourceNotFound.
-
#message ⇒ String
-
#resource_arn ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFound
Returns a new instance of ResourceNotFound.
632 633 634 |
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 632 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
642 643 644 |
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 642 def @message || @data[:message] end |
#resource_arn ⇒ String
637 638 639 |
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 637 def resource_arn @data[:resource_arn] end |