Class: Aws::CloudFront::Errors::OriginRequestPolicyAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::OriginRequestPolicyAlreadyExists
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OriginRequestPolicyAlreadyExists
constructor
A new instance of OriginRequestPolicyAlreadyExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OriginRequestPolicyAlreadyExists
Returns a new instance of OriginRequestPolicyAlreadyExists.
1281 1282 1283 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1281 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1286 1287 1288 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1286 def @message || @data[:message] end |