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:



612
613
614
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 612

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

Instance Method Details

#messageString

Returns:

  • (String)


622
623
624
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 622

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

#resource_arnString

Returns:

  • (String)


617
618
619
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 617

def resource_arn
  @data[:resource_arn]
end