Class: Aws::IAM::Errors::InvalidPublicKeyException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidPublicKeyException.

Parameters:



249
250
251
# File 'lib/aws-sdk-iam/errors.rb', line 249

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

Instance Method Details

#messageString

Returns:

  • (String)


254
255
256
# File 'lib/aws-sdk-iam/errors.rb', line 254

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