Class: Aws::CloudFront::Errors::TooManyDistributionCNAMEs

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

Returns a new instance of TooManyDistributionCNAMEs.

Parameters:



1767
1768
1769
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1767

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

Instance Method Details

#messageString

Returns:

  • (String)


1772
1773
1774
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1772

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