Class: Aws::CloudFront::Errors::OriginRequestPolicyInUse
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::OriginRequestPolicyInUse
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OriginRequestPolicyInUse
constructor
A new instance of OriginRequestPolicyInUse.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OriginRequestPolicyInUse
Returns a new instance of OriginRequestPolicyInUse.
1392 1393 1394 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1392 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1397 1398 1399 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1397 def @message || @data[:message] end |