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:



2061
2062
2063
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2061

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

Instance Method Details

#messageString

Returns:

  • (String)


2066
2067
2068
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2066

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