Class: Aws::CloudFront::Errors::TooLongCSPInResponseHeadersPolicy
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::TooLongCSPInResponseHeadersPolicy
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooLongCSPInResponseHeadersPolicy
constructor
A new instance of TooLongCSPInResponseHeadersPolicy.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooLongCSPInResponseHeadersPolicy
Returns a new instance of TooLongCSPInResponseHeadersPolicy.
1601 1602 1603 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1601 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1606 1607 1608 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1606 def @message || @data[:message] end |