Class: Aws::CloudFront::Errors::TooManyDistributionsAssociatedToOriginAccessControl

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

Returns a new instance of TooManyDistributionsAssociatedToOriginAccessControl.

Parameters:



1746
1747
1748
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1746

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

Instance Method Details

#messageString

Returns:

  • (String)


1751
1752
1753
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1751

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