Class: Aws::CloudFront::Errors::TooManyPublicKeysInKeyGroup

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) ⇒ TooManyPublicKeysInKeyGroup

Returns a new instance of TooManyPublicKeysInKeyGroup.

Parameters:


1910
1911
1912
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1910

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

Instance Method Details

#messageString

Returns:

  • (String)

1915
1916
1917
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1915

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