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:



1453
1454
1455
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1453

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

Instance Method Details

#messageString

Returns:

  • (String)


1458
1459
1460
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1458

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