Class: Aws::CloudFront::Errors::TooManyCloudFrontOriginAccessIdentities

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

Returns a new instance of TooManyCloudFrontOriginAccessIdentities.

Parameters:



930
931
932
# File 'lib/aws-sdk-cloudfront/errors.rb', line 930

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

Instance Method Details

#messageString

Returns:

  • (String)


935
936
937
# File 'lib/aws-sdk-cloudfront/errors.rb', line 935

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