Class: Aws::CloudFront::Errors::TooManyOriginAccessControls

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

Returns a new instance of TooManyOriginAccessControls.

Parameters:



2157
2158
2159
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2157

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

Instance Method Details

#messageString

Returns:

  • (String)


2162
2163
2164
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2162

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