Class: Aws::CloudFront::Errors::OriginAccessControlAlreadyExists

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

Returns a new instance of OriginAccessControlAlreadyExists.

Parameters:



1347
1348
1349
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1347

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

Instance Method Details

#messageString

Returns:

  • (String)


1352
1353
1354
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1352

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