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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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:



1008
1009
1010
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/errors.rb', line 1008

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

Instance Method Details

#messageString

Returns:

  • (String)


1013
1014
1015
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/errors.rb', line 1013

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