Class: Aws::SSM::Errors::InvalidKeyId

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidKeyId.

Parameters:



1020
1021
1022
# File 'lib/aws-sdk-ssm/errors.rb', line 1020

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

Instance Method Details

#messageString

Returns:

  • (String)


1025
1026
1027
# File 'lib/aws-sdk-ssm/errors.rb', line 1025

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