Class: Aws::CloudFront::Errors::ResponseHeadersPolicyAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::ResponseHeadersPolicyAlreadyExists
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResponseHeadersPolicyAlreadyExists
constructor
A new instance of ResponseHeadersPolicyAlreadyExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResponseHeadersPolicyAlreadyExists
Returns a new instance of ResponseHeadersPolicyAlreadyExists.
1431 1432 1433 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1431 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1436 1437 1438 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1436 def @message || @data[:message] end |