lib/aws-sdk-cloudfront/errors.rb in aws-sdk-cloudfront-1.57.0 vs lib/aws-sdk-cloudfront/errors.rb in aws-sdk-cloudfront-1.58.0

- old
+ new

@@ -85,10 +85,11 @@ # * {NoSuchOrigin} # * {NoSuchOriginRequestPolicy} # * {NoSuchPublicKey} # * {NoSuchRealtimeLogConfig} # * {NoSuchResource} + # * {NoSuchResponseHeadersPolicy} # * {NoSuchStreamingDistribution} # * {OriginRequestPolicyAlreadyExists} # * {OriginRequestPolicyInUse} # * {PreconditionFailed} # * {PublicKeyAlreadyExists} @@ -96,26 +97,30 @@ # * {QueryArgProfileEmpty} # * {RealtimeLogConfigAlreadyExists} # * {RealtimeLogConfigInUse} # * {RealtimeLogConfigOwnerMismatch} # * {ResourceInUse} + # * {ResponseHeadersPolicyAlreadyExists} + # * {ResponseHeadersPolicyInUse} # * {StreamingDistributionAlreadyExists} # * {StreamingDistributionNotDisabled} # * {TestFunctionFailed} # * {TooManyCacheBehaviors} # * {TooManyCachePolicies} # * {TooManyCertificates} # * {TooManyCloudFrontOriginAccessIdentities} # * {TooManyCookieNamesInWhiteList} # * {TooManyCookiesInCachePolicy} # * {TooManyCookiesInOriginRequestPolicy} + # * {TooManyCustomHeadersInResponseHeadersPolicy} # * {TooManyDistributionCNAMEs} # * {TooManyDistributions} # * {TooManyDistributionsAssociatedToCachePolicy} # * {TooManyDistributionsAssociatedToFieldLevelEncryptionConfig} # * {TooManyDistributionsAssociatedToKeyGroup} # * {TooManyDistributionsAssociatedToOriginRequestPolicy} + # * {TooManyDistributionsAssociatedToResponseHeadersPolicy} # * {TooManyDistributionsWithFunctionAssociations} # * {TooManyDistributionsWithLambdaAssociations} # * {TooManyDistributionsWithSingleFunctionARN} # * {TooManyFieldLevelEncryptionConfigs} # * {TooManyFieldLevelEncryptionContentTypeProfiles} @@ -140,10 +145,11 @@ # * {TooManyPublicKeysInKeyGroup} # * {TooManyQueryStringParameters} # * {TooManyQueryStringsInCachePolicy} # * {TooManyQueryStringsInOriginRequestPolicy} # * {TooManyRealtimeLogConfigs} + # * {TooManyResponseHeadersPolicies} # * {TooManyStreamingDistributionCNAMEs} # * {TooManyStreamingDistributions} # * {TooManyTrustedSigners} # * {TrustedKeyGroupDoesNotExist} # * {TrustedSignerDoesNotExist} @@ -1053,10 +1059,25 @@ def message @message || @data[:message] end end + class NoSuchResponseHeadersPolicy < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::NoSuchResponseHeadersPolicy] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class NoSuchStreamingDistribution < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::NoSuchStreamingDistribution] data @@ -1218,10 +1239,40 @@ def message @message || @data[:message] end end + class ResponseHeadersPolicyAlreadyExists < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::ResponseHeadersPolicyAlreadyExists] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class ResponseHeadersPolicyInUse < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::ResponseHeadersPolicyInUse] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class StreamingDistributionAlreadyExists < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::StreamingDistributionAlreadyExists] data @@ -1368,10 +1419,25 @@ def message @message || @data[:message] end end + class TooManyCustomHeadersInResponseHeadersPolicy < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::TooManyCustomHeadersInResponseHeadersPolicy] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class TooManyDistributionCNAMEs < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::TooManyDistributionCNAMEs] data @@ -1458,10 +1524,25 @@ def message @message || @data[:message] end end + class TooManyDistributionsAssociatedToResponseHeadersPolicy < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::TooManyDistributionsAssociatedToResponseHeadersPolicy] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class TooManyDistributionsWithFunctionAssociations < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::TooManyDistributionsWithFunctionAssociations] data @@ -1868,9 +1949,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 TooManyResponseHeadersPolicies < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::TooManyResponseHeadersPolicies] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]