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:



1022
1023
1024
# File 'lib/aws-sdk-ssm/errors.rb', line 1022

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

Instance Method Details

#messageString

Returns:

  • (String)


1027
1028
1029
# File 'lib/aws-sdk-ssm/errors.rb', line 1027

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