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.
1296 1297 1298 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1296 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1301 1302 1303 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1301 def @message || @data[:message] end |