Class: Aws::KMS::Errors::InvalidArnException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidArnException.

Parameters:



375
376
377
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 375

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

Instance Method Details

#messageString

Returns:

  • (String)


380
381
382
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 380

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