Class: Aws::FSx::Errors::NotServiceResourceError
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::FSx::Errors::NotServiceResourceError
- Defined in:
- lib/aws-sdk-fsx/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotServiceResourceError
constructor
A new instance of NotServiceResourceError.
- #message ⇒ String
- #resource_arn ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotServiceResourceError
Returns a new instance of NotServiceResourceError.
507 508 509 |
# File 'lib/aws-sdk-fsx/errors.rb', line 507 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
517 518 519 |
# File 'lib/aws-sdk-fsx/errors.rb', line 517 def @message || @data[:message] end |
#resource_arn ⇒ String
512 513 514 |
# File 'lib/aws-sdk-fsx/errors.rb', line 512 def resource_arn @data[:resource_arn] end |