Class: Aws::CloudFront::Errors::InvalidHeadersForS3Origin
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::InvalidHeadersForS3Origin
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidHeadersForS3Origin
constructor
A new instance of InvalidHeadersForS3Origin.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidHeadersForS3Origin
Returns a new instance of InvalidHeadersForS3Origin.
354 355 356 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 354 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
359 360 361 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 359 def @message || @data[:message] end |