Class: Aws::CloudFront::Errors::InvalidDomainNameForOriginAccessControl
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::InvalidDomainNameForOriginAccessControl
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidDomainNameForOriginAccessControl
constructor
A new instance of InvalidDomainNameForOriginAccessControl.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidDomainNameForOriginAccessControl
Returns a new instance of InvalidDomainNameForOriginAccessControl.
687 688 689 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 687 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
692 693 694 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 692 def @message || @data[:message] end |