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:



1671
1672
1673
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1671

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

Instance Method Details

#messageString

Returns:

  • (String)


1676
1677
1678
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1676

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