Class: Aws::CloudFront::Errors::KeyGroupAlreadyExists

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KeyGroupAlreadyExists.

Parameters:


859
860
861
# File 'lib/aws-sdk-cloudfront/errors.rb', line 859

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

Instance Method Details

#messageString

Returns:

  • (String)

864
865
866
# File 'lib/aws-sdk-cloudfront/errors.rb', line 864

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