Class: Aws::CloudFront::Errors::CloudFrontOriginAccessIdentityAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::CloudFrontOriginAccessIdentityAlreadyExists
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CloudFrontOriginAccessIdentityAlreadyExists
constructor
A new instance of CloudFrontOriginAccessIdentityAlreadyExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CloudFrontOriginAccessIdentityAlreadyExists
Returns a new instance of CloudFrontOriginAccessIdentityAlreadyExists.
276 277 278 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 276 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
281 282 283 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 281 def @message || @data[:message] end |