lib/aws-sdk-cloudfront/errors.rb in aws-sdk-cloudfront-1.72.0 vs lib/aws-sdk-cloudfront/errors.rb in aws-sdk-cloudfront-1.73.0

- old
+ new

@@ -161,10 +161,11 @@ # * {TooManyPublicKeysInKeyGroup} # * {TooManyQueryStringParameters} # * {TooManyQueryStringsInCachePolicy} # * {TooManyQueryStringsInOriginRequestPolicy} # * {TooManyRealtimeLogConfigs} + # * {TooManyRemoveHeadersInResponseHeadersPolicy} # * {TooManyResponseHeadersPolicies} # * {TooManyStreamingDistributionCNAMEs} # * {TooManyStreamingDistributions} # * {TooManyTrustedSigners} # * {TrustedKeyGroupDoesNotExist} @@ -2205,9 +2206,24 @@ class TooManyRealtimeLogConfigs < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::TooManyRealtimeLogConfigs] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class TooManyRemoveHeadersInResponseHeadersPolicy < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::TooManyRemoveHeadersInResponseHeadersPolicy] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]