lib/aws-sdk-cloudfront/errors.rb in aws-sdk-cloudfront-1.70.0 vs lib/aws-sdk-cloudfront/errors.rb in aws-sdk-cloudfront-1.71.0

- old
+ new

@@ -33,10 +33,12 @@ # * {CachePolicyAlreadyExists} # * {CachePolicyInUse} # * {CannotChangeImmutablePublicKeyFields} # * {CloudFrontOriginAccessIdentityAlreadyExists} # * {CloudFrontOriginAccessIdentityInUse} + # * {ContinuousDeploymentPolicyAlreadyExists} + # * {ContinuousDeploymentPolicyInUse} # * {DistributionAlreadyExists} # * {DistributionNotDisabled} # * {FieldLevelEncryptionConfigAlreadyExists} # * {FieldLevelEncryptionConfigInUse} # * {FieldLevelEncryptionProfileAlreadyExists} @@ -79,10 +81,11 @@ # * {KeyGroupAlreadyExists} # * {MissingBody} # * {MonitoringSubscriptionAlreadyExists} # * {NoSuchCachePolicy} # * {NoSuchCloudFrontOriginAccessIdentity} + # * {NoSuchContinuousDeploymentPolicy} # * {NoSuchDistribution} # * {NoSuchFieldLevelEncryptionConfig} # * {NoSuchFieldLevelEncryptionProfile} # * {NoSuchFunctionExists} # * {NoSuchInvalidation} @@ -116,10 +119,11 @@ # * {TooLongCSPInResponseHeadersPolicy} # * {TooManyCacheBehaviors} # * {TooManyCachePolicies} # * {TooManyCertificates} # * {TooManyCloudFrontOriginAccessIdentities} + # * {TooManyContinuousDeploymentPolicies} # * {TooManyCookieNamesInWhiteList} # * {TooManyCookiesInCachePolicy} # * {TooManyCookiesInOriginRequestPolicy} # * {TooManyCustomHeadersInResponseHeadersPolicy} # * {TooManyDistributionCNAMEs} @@ -291,10 +295,40 @@ def message @message || @data[:message] end end + class ContinuousDeploymentPolicyAlreadyExists < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::ContinuousDeploymentPolicyAlreadyExists] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class ContinuousDeploymentPolicyInUse < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::ContinuousDeploymentPolicyInUse] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class DistributionAlreadyExists < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::DistributionAlreadyExists] data @@ -981,10 +1015,25 @@ def message @message || @data[:message] end end + class NoSuchContinuousDeploymentPolicy < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::NoSuchContinuousDeploymentPolicy] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class NoSuchDistribution < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::NoSuchDistribution] data @@ -1526,9 +1575,24 @@ class TooManyCloudFrontOriginAccessIdentities < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFront::Types::TooManyCloudFrontOriginAccessIdentities] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class TooManyContinuousDeploymentPolicies < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::TooManyContinuousDeploymentPolicies] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]