Class: Aws::CloudFront::Errors::InvalidRequiredProtocol
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::InvalidRequiredProtocol
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequiredProtocol
constructor
A new instance of InvalidRequiredProtocol.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequiredProtocol
Returns a new instance of InvalidRequiredProtocol.
957 958 959 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 957 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
962 963 964 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 962 def @message || @data[:message] end |