Class: Aws::CloudFront::Errors::DistributionAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::DistributionAlreadyExists
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DistributionAlreadyExists
constructor
A new instance of DistributionAlreadyExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DistributionAlreadyExists
Returns a new instance of DistributionAlreadyExists.
372 373 374 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 372 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
377 378 379 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 377 def @message || @data[:message] end |