aws-sdk-cloudfront 1.105.0 → 1.107.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,7 @@ module Aws::CloudFront
34
34
  # * {CachePolicyInUse}
35
35
  # * {CannotChangeImmutablePublicKeyFields}
36
36
  # * {CannotDeleteEntityWhileInUse}
37
+ # * {CannotUpdateEntityWhileInUse}
37
38
  # * {CloudFrontOriginAccessIdentityAlreadyExists}
38
39
  # * {CloudFrontOriginAccessIdentityInUse}
39
40
  # * {ContinuousDeploymentPolicyAlreadyExists}
@@ -288,6 +289,21 @@ module Aws::CloudFront
288
289
  end
289
290
  end
290
291
 
292
+ class CannotUpdateEntityWhileInUse < ServiceError
293
+
294
+ # @param [Seahorse::Client::RequestContext] context
295
+ # @param [String] message
296
+ # @param [Aws::CloudFront::Types::CannotUpdateEntityWhileInUse] data
297
+ def initialize(context, message, data = Aws::EmptyStructure.new)
298
+ super(context, message, data)
299
+ end
300
+
301
+ # @return [String]
302
+ def message
303
+ @message || @data[:message]
304
+ end
305
+ end
306
+
291
307
  class CloudFrontOriginAccessIdentityAlreadyExists < ServiceError
292
308
 
293
309
  # @param [Seahorse::Client::RequestContext] context