Class: Aws::CloudFront::Errors::TooManyDistributionsAssociatedToCachePolicy
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::TooManyDistributionsAssociatedToCachePolicy
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyDistributionsAssociatedToCachePolicy
constructor
A new instance of TooManyDistributionsAssociatedToCachePolicy.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyDistributionsAssociatedToCachePolicy
Returns a new instance of TooManyDistributionsAssociatedToCachePolicy.
1797 1798 1799 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1797 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1802 1803 1804 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1802 def @message || @data[:message] end |