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.
1617 1618 1619 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1617 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1622 1623 1624 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1622 def @message || @data[:message] end |