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.
612 613 614 |
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 612 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
622 623 624 |
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 622 def @message || @data[:message] end |
#resource_arn ⇒ String
617 618 619 |
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 617 def resource_arn @data[:resource_arn] end |