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:


1444
1445
1446
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1444

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

Instance Method Details

#messageString

Returns:

  • (String)

1449
1450
1451
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1449

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