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:



853
854
855
# File 'lib/aws-sdk-cloudfront/errors.rb', line 853

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

Instance Method Details

#messageString

Returns:

  • (String)


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

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