Class: Aws::CloudFront::Errors::TooManyDistributions

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

Returns a new instance of TooManyDistributions.

Parameters:



1686
1687
1688
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1686

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

Instance Method Details

#messageString

Returns:

  • (String)


1691
1692
1693
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1691

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