lib/aws-sdk-cloudfront/errors.rb in aws-sdk-cloudfront-1.38.0 vs lib/aws-sdk-cloudfront/errors.rb in aws-sdk-cloudfront-1.39.0

- old
+ new

@@ -77,18 +77,21 @@ # * {NoSuchFieldLevelEncryptionProfile} # * {NoSuchInvalidation} # * {NoSuchOrigin} # * {NoSuchOriginRequestPolicy} # * {NoSuchPublicKey} + # * {NoSuchRealtimeLogConfig} # * {NoSuchResource} # * {NoSuchStreamingDistribution} # * {OriginRequestPolicyAlreadyExists} # * {OriginRequestPolicyInUse} # * {PreconditionFailed} # * {PublicKeyAlreadyExists} # * {PublicKeyInUse} # * {QueryArgProfileEmpty} + # * {RealtimeLogConfigAlreadyExists} + # * {RealtimeLogConfigInUse} # * {StreamingDistributionAlreadyExists} # * {StreamingDistributionNotDisabled} # * {TooManyCacheBehaviors} # * {TooManyCachePolicies} # * {TooManyCertificates} @@ -120,10 +123,11 @@ # * {TooManyOrigins} # * {TooManyPublicKeys} # * {TooManyQueryStringParameters} # * {TooManyQueryStringsInCachePolicy} # * {TooManyQueryStringsInOriginRequestPolicy} + # * {TooManyRealtimeLogConfigs} # * {TooManyStreamingDistributionCNAMEs} # * {TooManyStreamingDistributions} # * {TooManyTrustedSigners} # * {TrustedSignerDoesNotExist} # @@ -911,10 +915,25 @@ def message @message || @data[:message] end end + class NoSuchRealtimeLogConfig < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::NoSuchRealtimeLogConfig] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class NoSuchResource < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::NoSuchResource] data @@ -1031,10 +1050,40 @@ def message @message || @data[:message] end end + class RealtimeLogConfigAlreadyExists < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::RealtimeLogConfigAlreadyExists] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class RealtimeLogConfigInUse < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::RealtimeLogConfigInUse] 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 @@ -1546,9 +1595,24 @@ class TooManyQueryStringsInOriginRequestPolicy < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::TooManyQueryStringsInOriginRequestPolicy] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + 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]