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:


1535
1536
1537
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1535

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

Instance Method Details

#messageString

Returns:

  • (String)

1540
1541
1542
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1540

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