Class: Aws::CloudFront::Errors::TooManyDistributionsAssociatedToOriginRequestPolicy

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

Returns a new instance of TooManyDistributionsAssociatedToOriginRequestPolicy.

Parameters:



1841
1842
1843
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1841

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

Instance Method Details

#messageString

Returns:

  • (String)


1846
1847
1848
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1846

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