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:



1751
1752
1753
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1751

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

Instance Method Details

#messageString

Returns:

  • (String)


1756
1757
1758
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1756

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