Class: Aws::FSx::Errors::ResourceNotFound

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFound

Returns a new instance of ResourceNotFound.

Parameters:



515
516
517
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 515

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


525
526
527
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 525

def message
  @message || @data[:message]
end

#resource_arnString

Returns:

  • (String)


520
521
522
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 520

def resource_arn
  @data[:resource_arn]
end