aws-sdk-cloudfront 1.103.0 → 1.104.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3164,6 +3164,7 @@ module Aws::CloudFront
3164
3164
  "serviceFullName" => "Amazon CloudFront",
3165
3165
  "serviceId" => "CloudFront",
3166
3166
  "signatureVersion" => "v4",
3167
+ "signingName" => "cloudfront",
3167
3168
  "uid" => "cloudfront-2020-05-31",
3168
3169
  }
3169
3170
 
@@ -3173,11 +3174,11 @@ module Aws::CloudFront
3173
3174
  o.http_request_uri = "/2020-05-31/distribution/{TargetDistributionId}/associate-alias"
3174
3175
  o.input = Shapes::ShapeRef.new(shape: AssociateAliasRequest)
3175
3176
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3176
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3177
3177
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3178
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3179
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3178
3180
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
3179
3181
  o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
3180
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3181
3182
  end)
3182
3183
 
3183
3184
  api.add_operation(:copy_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -3191,70 +3192,70 @@ module Aws::CloudFront
3191
3192
  }
3192
3193
  )
3193
3194
  o.output = Shapes::ShapeRef.new(shape: CopyDistributionResult)
3194
- o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3195
- o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
3196
- o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3197
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3198
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3199
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3200
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3201
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3202
3195
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3203
- o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3204
- o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3205
- o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
3206
- o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
3207
- o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3208
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
3209
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributions)
3196
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
3210
3197
  o.errors << Shapes::ShapeRef.new(shape: InvalidDefaultRootObject)
3211
- o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
3198
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
3199
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3200
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
3201
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
3212
3202
  o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
3213
- o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
3214
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3203
+ o.errors << Shapes::ShapeRef.new(shape: InvalidProtocolSettings)
3204
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
3205
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
3206
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3207
+ o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
3208
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
3209
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3210
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
3211
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
3215
3212
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequiredProtocol)
3216
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
3217
- o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
3213
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
3218
3214
  o.errors << Shapes::ShapeRef.new(shape: TooManyOriginGroupsPerDistribution)
3219
- o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
3220
- o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
3221
- o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
3222
- o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
3223
- o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3224
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3225
- o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
3226
- o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
3227
- o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
3228
- o.errors << Shapes::ShapeRef.new(shape: InvalidProtocolSettings)
3215
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributions)
3229
3216
  o.errors << Shapes::ShapeRef.new(shape: InvalidTTLOrder)
3217
+ o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
3218
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
3219
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3220
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3221
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3222
+ o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3223
+ o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3230
3224
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
3231
- o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
3232
- o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
3233
- o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
3234
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
3235
3225
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
3226
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
3236
3227
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
3237
- o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
3238
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
3239
- o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
3240
- o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
3241
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3242
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
3243
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
3244
- o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
3245
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
3246
- o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3247
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
3248
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
3249
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3250
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
3228
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3251
3229
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
3230
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
3231
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3232
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
3233
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3234
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
3235
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3252
3236
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
3253
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
3254
- o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
3237
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
3238
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
3239
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3240
+ o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3241
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
3242
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
3243
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3244
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
3255
3245
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
3246
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
3247
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3256
3248
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3257
- o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
3249
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
3250
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
3251
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
3252
+ o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
3253
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
3254
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
3255
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
3256
+ o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
3257
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
3258
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
3258
3259
  end)
3259
3260
 
3260
3261
  api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -3264,12 +3265,12 @@ module Aws::CloudFront
3264
3265
  o.input = Shapes::ShapeRef.new(shape: CreateCachePolicyRequest)
3265
3266
  o.output = Shapes::ShapeRef.new(shape: CreateCachePolicyResult)
3266
3267
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3267
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3268
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3269
- o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
3270
- o.errors << Shapes::ShapeRef.new(shape: TooManyCachePolicies)
3271
3268
  o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInCachePolicy)
3269
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
3272
3270
  o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInCachePolicy)
3271
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3272
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCachePolicies)
3273
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3273
3274
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInCachePolicy)
3274
3275
  end)
3275
3276
 
@@ -3279,11 +3280,11 @@ module Aws::CloudFront
3279
3280
  o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront"
3280
3281
  o.input = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityRequest)
3281
3282
  o.output = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityResult)
3282
- o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityAlreadyExists)
3283
3283
  o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3284
3284
  o.errors << Shapes::ShapeRef.new(shape: TooManyCloudFrontOriginAccessIdentities)
3285
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3286
3285
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3286
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3287
+ o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityAlreadyExists)
3287
3288
  end)
3288
3289
 
3289
3290
  api.add_operation(:create_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -3293,11 +3294,11 @@ module Aws::CloudFront
3293
3294
  o.input = Shapes::ShapeRef.new(shape: CreateContinuousDeploymentPolicyRequest)
3294
3295
  o.output = Shapes::ShapeRef.new(shape: CreateContinuousDeploymentPolicyResult)
3295
3296
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3296
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3297
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3298
- o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyAlreadyExists)
3299
3297
  o.errors << Shapes::ShapeRef.new(shape: TooManyContinuousDeploymentPolicies)
3300
3298
  o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
3299
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3300
+ o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyAlreadyExists)
3301
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3301
3302
  end)
3302
3303
 
3303
3304
  api.add_operation(:create_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -3306,71 +3307,71 @@ module Aws::CloudFront
3306
3307
  o.http_request_uri = "/2020-05-31/distribution"
3307
3308
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionRequest)
3308
3309
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionResult)
3309
- o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3310
- o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
3311
- o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3312
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3313
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3314
- o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
3315
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
3316
3310
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3317
- o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3318
- o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3319
- o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
3320
- o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
3321
- o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3322
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
3323
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributions)
3311
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
3324
3312
  o.errors << Shapes::ShapeRef.new(shape: InvalidDefaultRootObject)
3325
- o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
3313
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
3314
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
3315
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3316
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
3317
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
3326
3318
  o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
3327
- o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
3328
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3319
+ o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
3320
+ o.errors << Shapes::ShapeRef.new(shape: InvalidProtocolSettings)
3321
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
3322
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
3323
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3324
+ o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
3325
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
3326
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3327
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
3328
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
3329
3329
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequiredProtocol)
3330
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
3331
- o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
3330
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
3332
3331
  o.errors << Shapes::ShapeRef.new(shape: TooManyOriginGroupsPerDistribution)
3333
- o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
3334
- o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
3335
- o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
3336
- o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
3337
- o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3338
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3339
- o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
3340
- o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
3341
- o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
3342
- o.errors << Shapes::ShapeRef.new(shape: InvalidProtocolSettings)
3332
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributions)
3343
3333
  o.errors << Shapes::ShapeRef.new(shape: InvalidTTLOrder)
3334
+ o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
3335
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
3336
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3337
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3338
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3339
+ o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3340
+ o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3344
3341
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
3345
- o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
3346
- o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
3347
- o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
3348
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
3349
3342
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
3343
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
3350
3344
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
3351
- o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
3352
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
3353
- o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
3354
- o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
3355
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3356
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
3357
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
3358
- o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
3359
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
3360
- o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3361
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
3362
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3363
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
3364
3345
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
3346
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
3347
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3348
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
3349
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3350
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
3351
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
3365
3352
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
3366
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
3367
- o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
3368
- o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
3369
- o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3353
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
3370
3354
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
3371
3355
  o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyInUse)
3372
- o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
3373
- o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
3356
+ o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3357
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
3358
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
3359
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3360
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
3361
+ o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
3362
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
3363
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3364
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3365
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
3366
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
3367
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
3368
+ o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
3369
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
3370
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
3371
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
3372
+ o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
3373
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
3374
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
3374
3375
  end)
3375
3376
 
3376
3377
  api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -3379,72 +3380,72 @@ module Aws::CloudFront
3379
3380
  o.http_request_uri = "/2020-05-31/distribution?WithTags"
3380
3381
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsRequest)
3381
3382
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsResult)
3382
- o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3383
- o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
3384
- o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3385
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3386
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3387
- o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
3388
3383
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3389
- o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3390
- o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3391
- o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
3392
- o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
3393
- o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3394
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
3395
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributions)
3384
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
3396
3385
  o.errors << Shapes::ShapeRef.new(shape: InvalidDefaultRootObject)
3397
- o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
3386
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
3387
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
3388
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3389
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
3390
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
3398
3391
  o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
3399
- o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
3400
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3392
+ o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
3393
+ o.errors << Shapes::ShapeRef.new(shape: InvalidProtocolSettings)
3394
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
3395
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
3396
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3397
+ o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
3398
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
3399
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3400
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
3401
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
3401
3402
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequiredProtocol)
3402
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
3403
- o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
3403
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
3404
3404
  o.errors << Shapes::ShapeRef.new(shape: TooManyOriginGroupsPerDistribution)
3405
- o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
3406
- o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
3407
- o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
3408
- o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
3409
- o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3410
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3411
- o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
3412
- o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
3413
- o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
3414
- o.errors << Shapes::ShapeRef.new(shape: InvalidProtocolSettings)
3405
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributions)
3415
3406
  o.errors << Shapes::ShapeRef.new(shape: InvalidTTLOrder)
3407
+ o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
3408
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
3409
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3410
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3411
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3412
+ o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
3413
+ o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3416
3414
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
3417
- o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
3418
- o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
3419
- o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
3420
- o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
3421
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
3422
3415
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
3416
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
3423
3417
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
3424
- o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
3425
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
3426
- o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
3427
- o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
3428
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
3429
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
3430
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
3431
- o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
3432
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
3433
- o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3434
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
3435
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
3436
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3437
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
3438
3418
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
3419
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
3420
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3421
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
3422
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3423
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
3424
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
3425
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
3439
3426
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
3440
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
3441
- o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
3442
- o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
3443
- o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3427
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
3444
3428
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
3445
3429
  o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyInUse)
3446
- o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
3447
- o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
3430
+ o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3431
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
3432
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
3433
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3434
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
3435
+ o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
3436
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
3437
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3438
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3439
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
3440
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
3441
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
3442
+ o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
3443
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
3444
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
3445
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
3446
+ o.errors << Shapes::ShapeRef.new(shape: DistributionAlreadyExists)
3447
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
3448
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
3448
3449
  end)
3449
3450
 
3450
3451
  api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3453,14 +3454,14 @@ module Aws::CloudFront
3453
3454
  o.http_request_uri = "/2020-05-31/field-level-encryption"
3454
3455
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigRequest)
3455
3456
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigResult)
3456
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3457
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3458
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionProfile)
3459
- o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfigAlreadyExists)
3460
- o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionConfigs)
3457
+ o.errors << Shapes::ShapeRef.new(shape: QueryArgProfileEmpty)
3461
3458
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionQueryArgProfiles)
3462
3459
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionContentTypeProfiles)
3463
- o.errors << Shapes::ShapeRef.new(shape: QueryArgProfileEmpty)
3460
+ o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfigAlreadyExists)
3461
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3462
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionConfigs)
3463
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionProfile)
3464
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3464
3465
  end)
3465
3466
 
3466
3467
  api.add_operation(:create_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
@@ -3469,14 +3470,14 @@ module Aws::CloudFront
3469
3470
  o.http_request_uri = "/2020-05-31/field-level-encryption-profile"
3470
3471
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileRequest)
3471
3472
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileResult)
3472
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3473
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3474
- o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
3473
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
3475
3474
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileAlreadyExists)
3475
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
3476
3476
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileSizeExceeded)
3477
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3477
3478
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionProfiles)
3478
3479
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionEncryptionEntities)
3479
- o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
3480
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3480
3481
  end)
3481
3482
 
3482
3483
  api.add_operation(:create_function, Seahorse::Model::Operation.new.tap do |o|
@@ -3490,11 +3491,11 @@ module Aws::CloudFront
3490
3491
  }
3491
3492
  )
3492
3493
  o.output = Shapes::ShapeRef.new(shape: CreateFunctionResult)
3493
- o.errors << Shapes::ShapeRef.new(shape: TooManyFunctions)
3494
3494
  o.errors << Shapes::ShapeRef.new(shape: FunctionAlreadyExists)
3495
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3495
3496
  o.errors << Shapes::ShapeRef.new(shape: FunctionSizeLimitExceeded)
3496
3497
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3497
- o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3498
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctions)
3498
3499
  end)
3499
3500
 
3500
3501
  api.add_operation(:create_invalidation, Seahorse::Model::Operation.new.tap do |o|
@@ -3503,13 +3504,13 @@ module Aws::CloudFront
3503
3504
  o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
3504
3505
  o.input = Shapes::ShapeRef.new(shape: CreateInvalidationRequest)
3505
3506
  o.output = Shapes::ShapeRef.new(shape: CreateInvalidationResult)
3507
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3506
3508
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3509
+ o.errors << Shapes::ShapeRef.new(shape: TooManyInvalidationsInProgress)
3507
3510
  o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3511
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3508
3512
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3509
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3510
3513
  o.errors << Shapes::ShapeRef.new(shape: BatchTooLarge)
3511
- o.errors << Shapes::ShapeRef.new(shape: TooManyInvalidationsInProgress)
3512
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3513
3514
  end)
3514
3515
 
3515
3516
  api.add_operation(:create_key_group, Seahorse::Model::Operation.new.tap do |o|
@@ -3518,16 +3519,16 @@ module Aws::CloudFront
3518
3519
  o.http_request_uri = "/2020-05-31/key-group"
3519
3520
  o.input = Shapes::ShapeRef.new(shape: CreateKeyGroupRequest)
3520
3521
  o.output = Shapes::ShapeRef.new(shape: CreateKeyGroupResult)
3522
+ o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeysInKeyGroup)
3523
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroups)
3521
3524
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3522
3525
  o.errors << Shapes::ShapeRef.new(shape: KeyGroupAlreadyExists)
3523
- o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroups)
3524
- o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeysInKeyGroup)
3525
3526
  end)
3526
3527
 
3527
3528
  api.add_operation(:create_key_value_store, Seahorse::Model::Operation.new.tap do |o|
3528
3529
  o.name = "CreateKeyValueStore2020_05_31"
3529
3530
  o.http_method = "POST"
3530
- o.http_request_uri = "/2020-05-31/key-value-store/"
3531
+ o.http_request_uri = "/2020-05-31/key-value-store"
3531
3532
  o.input = Shapes::ShapeRef.new(shape: CreateKeyValueStoreRequest,
3532
3533
  location_name: "CreateKeyValueStoreRequest",
3533
3534
  metadata: {
@@ -3536,21 +3537,21 @@ module Aws::CloudFront
3536
3537
  )
3537
3538
  o.output = Shapes::ShapeRef.new(shape: CreateKeyValueStoreResult)
3538
3539
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3539
- o.errors << Shapes::ShapeRef.new(shape: EntityLimitExceeded)
3540
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3540
3541
  o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExists)
3541
- o.errors << Shapes::ShapeRef.new(shape: EntitySizeLimitExceeded)
3542
3542
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3543
- o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3543
+ o.errors << Shapes::ShapeRef.new(shape: EntityLimitExceeded)
3544
+ o.errors << Shapes::ShapeRef.new(shape: EntitySizeLimitExceeded)
3544
3545
  end)
3545
3546
 
3546
3547
  api.add_operation(:create_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
3547
3548
  o.name = "CreateMonitoringSubscription2020_05_31"
3548
3549
  o.http_method = "POST"
3549
- o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
3550
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
3550
3551
  o.input = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionRequest)
3551
3552
  o.output = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionResult)
3552
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3553
3553
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3554
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3554
3555
  o.errors << Shapes::ShapeRef.new(shape: MonitoringSubscriptionAlreadyExists)
3555
3556
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3556
3557
  end)
@@ -3573,13 +3574,13 @@ module Aws::CloudFront
3573
3574
  o.input = Shapes::ShapeRef.new(shape: CreateOriginRequestPolicyRequest)
3574
3575
  o.output = Shapes::ShapeRef.new(shape: CreateOriginRequestPolicyResult)
3575
3576
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3576
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3577
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3578
- o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
3579
- o.errors << Shapes::ShapeRef.new(shape: TooManyOriginRequestPolicies)
3580
3577
  o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInOriginRequestPolicy)
3581
3578
  o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInOriginRequestPolicy)
3579
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3580
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
3582
3581
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInOriginRequestPolicy)
3582
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3583
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginRequestPolicies)
3583
3584
  end)
3584
3585
 
3585
3586
  api.add_operation(:create_public_key, Seahorse::Model::Operation.new.tap do |o|
@@ -3588,9 +3589,9 @@ module Aws::CloudFront
3588
3589
  o.http_request_uri = "/2020-05-31/public-key"
3589
3590
  o.input = Shapes::ShapeRef.new(shape: CreatePublicKeyRequest)
3590
3591
  o.output = Shapes::ShapeRef.new(shape: CreatePublicKeyResult)
3592
+ o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeys)
3591
3593
  o.errors << Shapes::ShapeRef.new(shape: PublicKeyAlreadyExists)
3592
3594
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3593
- o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeys)
3594
3595
  end)
3595
3596
 
3596
3597
  api.add_operation(:create_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3604,10 +3605,10 @@ module Aws::CloudFront
3604
3605
  }
3605
3606
  )
3606
3607
  o.output = Shapes::ShapeRef.new(shape: CreateRealtimeLogConfigResult)
3608
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3607
3609
  o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigAlreadyExists)
3608
3610
  o.errors << Shapes::ShapeRef.new(shape: TooManyRealtimeLogConfigs)
3609
3611
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3610
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3611
3612
  end)
3612
3613
 
3613
3614
  api.add_operation(:create_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -3617,13 +3618,13 @@ module Aws::CloudFront
3617
3618
  o.input = Shapes::ShapeRef.new(shape: CreateResponseHeadersPolicyRequest)
3618
3619
  o.output = Shapes::ShapeRef.new(shape: CreateResponseHeadersPolicyResult)
3619
3620
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3620
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3621
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3622
- o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
3623
- o.errors << Shapes::ShapeRef.new(shape: TooManyResponseHeadersPolicies)
3624
3621
  o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
3622
+ o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
3623
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3625
3624
  o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy)
3625
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3626
3626
  o.errors << Shapes::ShapeRef.new(shape: TooManyRemoveHeadersInResponseHeadersPolicy)
3627
+ o.errors << Shapes::ShapeRef.new(shape: TooManyResponseHeadersPolicies)
3627
3628
  end)
3628
3629
 
3629
3630
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -3632,19 +3633,19 @@ module Aws::CloudFront
3632
3633
  o.http_request_uri = "/2020-05-31/streaming-distribution"
3633
3634
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionRequest)
3634
3635
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionResult)
3635
- o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3636
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3636
3637
  o.errors << Shapes::ShapeRef.new(shape: StreamingDistributionAlreadyExists)
3637
- o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3638
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3638
3639
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3639
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3640
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3640
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3641
3641
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3642
- o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3642
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3643
+ o.errors << Shapes::ShapeRef.new(shape: TooManyStreamingDistributions)
3643
3644
  o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3644
3645
  o.errors << Shapes::ShapeRef.new(shape: TooManyStreamingDistributionCNAMEs)
3645
- o.errors << Shapes::ShapeRef.new(shape: TooManyStreamingDistributions)
3646
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3647
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3646
+ o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3647
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3648
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3648
3649
  end)
3649
3650
 
3650
3651
  api.add_operation(:create_streaming_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -3653,20 +3654,20 @@ module Aws::CloudFront
3653
3654
  o.http_request_uri = "/2020-05-31/streaming-distribution?WithTags"
3654
3655
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsRequest)
3655
3656
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsResult)
3656
- o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3657
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3657
3658
  o.errors << Shapes::ShapeRef.new(shape: StreamingDistributionAlreadyExists)
3658
- o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3659
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3659
3660
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
3660
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3661
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3661
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
3662
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3662
3663
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
3663
- o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3664
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
3665
+ o.errors << Shapes::ShapeRef.new(shape: TooManyStreamingDistributions)
3664
3666
  o.errors << Shapes::ShapeRef.new(shape: MissingBody)
3665
3667
  o.errors << Shapes::ShapeRef.new(shape: TooManyStreamingDistributionCNAMEs)
3666
- o.errors << Shapes::ShapeRef.new(shape: TooManyStreamingDistributions)
3667
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3668
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3669
- o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
3668
+ o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
3669
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
3670
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOrigin)
3670
3671
  end)
3671
3672
 
3672
3673
  api.add_operation(:delete_cache_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -3675,12 +3676,12 @@ module Aws::CloudFront
3675
3676
  o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
3676
3677
  o.input = Shapes::ShapeRef.new(shape: DeleteCachePolicyRequest)
3677
3678
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3678
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3679
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3680
3679
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3681
3680
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3681
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3682
3682
  o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
3683
3683
  o.errors << Shapes::ShapeRef.new(shape: CachePolicyInUse)
3684
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3684
3685
  end)
3685
3686
 
3686
3687
  api.add_operation(:delete_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
@@ -3689,10 +3690,10 @@ module Aws::CloudFront
3689
3690
  o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}"
3690
3691
  o.input = Shapes::ShapeRef.new(shape: DeleteCloudFrontOriginAccessIdentityRequest)
3691
3692
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3693
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3692
3694
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3693
3695
  o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3694
3696
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
3695
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3696
3697
  o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityInUse)
3697
3698
  end)
3698
3699
 
@@ -3702,12 +3703,12 @@ module Aws::CloudFront
3702
3703
  o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}"
3703
3704
  o.input = Shapes::ShapeRef.new(shape: DeleteContinuousDeploymentPolicyRequest)
3704
3705
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3705
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3706
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3707
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3708
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3709
3706
  o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyInUse)
3707
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3708
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3709
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3710
3710
  o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
3711
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3711
3712
  end)
3712
3713
 
3713
3714
  api.add_operation(:delete_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -3716,11 +3717,11 @@ module Aws::CloudFront
3716
3717
  o.http_request_uri = "/2020-05-31/distribution/{Id}"
3717
3718
  o.input = Shapes::ShapeRef.new(shape: DeleteDistributionRequest)
3718
3719
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3720
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3721
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3719
3722
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3720
3723
  o.errors << Shapes::ShapeRef.new(shape: DistributionNotDisabled)
3721
3724
  o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3722
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3723
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3724
3725
  end)
3725
3726
 
3726
3727
  api.add_operation(:delete_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3729,11 +3730,11 @@ module Aws::CloudFront
3729
3730
  o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}"
3730
3731
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionConfigRequest)
3731
3732
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3732
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3733
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3734
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
3735
3733
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3734
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3736
3735
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfigInUse)
3736
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
3737
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3737
3738
  end)
3738
3739
 
3739
3740
  api.add_operation(:delete_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
@@ -3742,11 +3743,11 @@ module Aws::CloudFront
3742
3743
  o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}"
3743
3744
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionProfileRequest)
3744
3745
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3746
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3745
3747
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3746
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3747
3748
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionProfile)
3748
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3749
3749
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
3750
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3750
3751
  end)
3751
3752
 
3752
3753
  api.add_operation(:delete_function, Seahorse::Model::Operation.new.tap do |o|
@@ -3755,11 +3756,11 @@ module Aws::CloudFront
3755
3756
  o.http_request_uri = "/2020-05-31/function/{Name}"
3756
3757
  o.input = Shapes::ShapeRef.new(shape: DeleteFunctionRequest)
3757
3758
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3758
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3759
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
3760
- o.errors << Shapes::ShapeRef.new(shape: FunctionInUse)
3761
3759
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3762
3760
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3761
+ o.errors << Shapes::ShapeRef.new(shape: FunctionInUse)
3762
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
3763
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3763
3764
  end)
3764
3765
 
3765
3766
  api.add_operation(:delete_key_group, Seahorse::Model::Operation.new.tap do |o|
@@ -3768,10 +3769,10 @@ module Aws::CloudFront
3768
3769
  o.http_request_uri = "/2020-05-31/key-group/{Id}"
3769
3770
  o.input = Shapes::ShapeRef.new(shape: DeleteKeyGroupRequest)
3770
3771
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3771
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3772
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
3773
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3774
3772
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
3773
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3774
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
3775
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3775
3776
  end)
3776
3777
 
3777
3778
  api.add_operation(:delete_key_value_store, Seahorse::Model::Operation.new.tap do |o|
@@ -3780,24 +3781,24 @@ module Aws::CloudFront
3780
3781
  o.http_request_uri = "/2020-05-31/key-value-store/{Name}"
3781
3782
  o.input = Shapes::ShapeRef.new(shape: DeleteKeyValueStoreRequest)
3782
3783
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3783
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3784
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3785
- o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
3786
3784
  o.errors << Shapes::ShapeRef.new(shape: CannotDeleteEntityWhileInUse)
3787
3785
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3786
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
3787
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3788
3788
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3789
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3789
3790
  end)
3790
3791
 
3791
3792
  api.add_operation(:delete_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
3792
3793
  o.name = "DeleteMonitoringSubscription2020_05_31"
3793
3794
  o.http_method = "DELETE"
3794
- o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
3795
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
3795
3796
  o.input = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionRequest)
3796
3797
  o.output = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionResult)
3797
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3798
3798
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
3799
- o.errors << Shapes::ShapeRef.new(shape: NoSuchMonitoringSubscription)
3799
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3800
3800
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3801
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchMonitoringSubscription)
3801
3802
  end)
3802
3803
 
3803
3804
  api.add_operation(:delete_origin_access_control, Seahorse::Model::Operation.new.tap do |o|
@@ -3806,11 +3807,11 @@ module Aws::CloudFront
3806
3807
  o.http_request_uri = "/2020-05-31/origin-access-control/{Id}"
3807
3808
  o.input = Shapes::ShapeRef.new(shape: DeleteOriginAccessControlRequest)
3808
3809
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3809
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3810
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3811
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
3812
3810
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3811
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3813
3812
  o.errors << Shapes::ShapeRef.new(shape: OriginAccessControlInUse)
3813
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
3814
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3814
3815
  end)
3815
3816
 
3816
3817
  api.add_operation(:delete_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -3819,11 +3820,11 @@ module Aws::CloudFront
3819
3820
  o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
3820
3821
  o.input = Shapes::ShapeRef.new(shape: DeleteOriginRequestPolicyRequest)
3821
3822
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3822
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3823
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3824
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
3825
3823
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3824
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3826
3825
  o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
3826
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
3827
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3827
3828
  o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyInUse)
3828
3829
  end)
3829
3830
 
@@ -3833,17 +3834,17 @@ module Aws::CloudFront
3833
3834
  o.http_request_uri = "/2020-05-31/public-key/{Id}"
3834
3835
  o.input = Shapes::ShapeRef.new(shape: DeletePublicKeyRequest)
3835
3836
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3837
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3836
3838
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3839
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
3837
3840
  o.errors << Shapes::ShapeRef.new(shape: PublicKeyInUse)
3838
3841
  o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3839
- o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
3840
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3841
3842
  end)
3842
3843
 
3843
3844
  api.add_operation(:delete_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
3844
3845
  o.name = "DeleteRealtimeLogConfig2020_05_31"
3845
3846
  o.http_method = "POST"
3846
- o.http_request_uri = "/2020-05-31/delete-realtime-log-config/"
3847
+ o.http_request_uri = "/2020-05-31/delete-realtime-log-config"
3847
3848
  o.input = Shapes::ShapeRef.new(shape: DeleteRealtimeLogConfigRequest,
3848
3849
  location_name: "DeleteRealtimeLogConfigRequest",
3849
3850
  metadata: {
@@ -3851,10 +3852,10 @@ module Aws::CloudFront
3851
3852
  }
3852
3853
  )
3853
3854
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3854
- o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3855
- o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigInUse)
3856
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3857
3855
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3856
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3857
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigInUse)
3858
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3858
3859
  end)
3859
3860
 
3860
3861
  api.add_operation(:delete_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -3863,12 +3864,12 @@ module Aws::CloudFront
3863
3864
  o.http_request_uri = "/2020-05-31/response-headers-policy/{Id}"
3864
3865
  o.input = Shapes::ShapeRef.new(shape: DeleteResponseHeadersPolicyRequest)
3865
3866
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3866
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3867
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3868
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3867
+ o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyInUse)
3869
3868
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3869
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3870
3870
  o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
3871
- o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyInUse)
3871
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
3872
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3872
3873
  end)
3873
3874
 
3874
3875
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -3877,11 +3878,11 @@ module Aws::CloudFront
3877
3878
  o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
3878
3879
  o.input = Shapes::ShapeRef.new(shape: DeleteStreamingDistributionRequest)
3879
3880
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3881
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3880
3882
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3881
3883
  o.errors << Shapes::ShapeRef.new(shape: StreamingDistributionNotDisabled)
3882
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3883
3884
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
3884
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3885
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3885
3886
  end)
3886
3887
 
3887
3888
  api.add_operation(:describe_function, Seahorse::Model::Operation.new.tap do |o|
@@ -3890,8 +3891,8 @@ module Aws::CloudFront
3890
3891
  o.http_request_uri = "/2020-05-31/function/{Name}/describe"
3891
3892
  o.input = Shapes::ShapeRef.new(shape: DescribeFunctionRequest)
3892
3893
  o.output = Shapes::ShapeRef.new(shape: DescribeFunctionResult)
3893
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
3894
3894
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3895
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
3895
3896
  end)
3896
3897
 
3897
3898
  api.add_operation(:describe_key_value_store, Seahorse::Model::Operation.new.tap do |o|
@@ -3900,10 +3901,10 @@ module Aws::CloudFront
3900
3901
  o.http_request_uri = "/2020-05-31/key-value-store/{Name}"
3901
3902
  o.input = Shapes::ShapeRef.new(shape: DescribeKeyValueStoreRequest)
3902
3903
  o.output = Shapes::ShapeRef.new(shape: DescribeKeyValueStoreResult)
3903
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3904
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3905
3904
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
3905
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3906
3906
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
3907
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3907
3908
  end)
3908
3909
 
3909
3910
  api.add_operation(:get_cache_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -3912,8 +3913,8 @@ module Aws::CloudFront
3912
3913
  o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
3913
3914
  o.input = Shapes::ShapeRef.new(shape: GetCachePolicyRequest)
3914
3915
  o.output = Shapes::ShapeRef.new(shape: GetCachePolicyResult)
3915
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3916
3916
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3917
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3917
3918
  end)
3918
3919
 
3919
3920
  api.add_operation(:get_cache_policy_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3922,8 +3923,8 @@ module Aws::CloudFront
3922
3923
  o.http_request_uri = "/2020-05-31/cache-policy/{Id}/config"
3923
3924
  o.input = Shapes::ShapeRef.new(shape: GetCachePolicyConfigRequest)
3924
3925
  o.output = Shapes::ShapeRef.new(shape: GetCachePolicyConfigResult)
3925
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3926
3926
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
3927
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3927
3928
  end)
3928
3929
 
3929
3930
  api.add_operation(:get_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
@@ -3932,8 +3933,8 @@ module Aws::CloudFront
3932
3933
  o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}"
3933
3934
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityRequest)
3934
3935
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityResult)
3935
- o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
3936
3936
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3937
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
3937
3938
  end)
3938
3939
 
3939
3940
  api.add_operation(:get_cloud_front_origin_access_identity_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3942,8 +3943,8 @@ module Aws::CloudFront
3942
3943
  o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config"
3943
3944
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigRequest)
3944
3945
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigResult)
3945
- o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
3946
3946
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3947
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
3947
3948
  end)
3948
3949
 
3949
3950
  api.add_operation(:get_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -4032,8 +4033,8 @@ module Aws::CloudFront
4032
4033
  o.http_request_uri = "/2020-05-31/function/{Name}"
4033
4034
  o.input = Shapes::ShapeRef.new(shape: GetFunctionRequest)
4034
4035
  o.output = Shapes::ShapeRef.new(shape: GetFunctionResult)
4035
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
4036
4036
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4037
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
4037
4038
  end)
4038
4039
 
4039
4040
  api.add_operation(:get_invalidation, Seahorse::Model::Operation.new.tap do |o|
@@ -4042,9 +4043,9 @@ module Aws::CloudFront
4042
4043
  o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation/{Id}"
4043
4044
  o.input = Shapes::ShapeRef.new(shape: GetInvalidationRequest)
4044
4045
  o.output = Shapes::ShapeRef.new(shape: GetInvalidationResult)
4045
- o.errors << Shapes::ShapeRef.new(shape: NoSuchInvalidation)
4046
4046
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
4047
4047
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4048
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchInvalidation)
4048
4049
  end)
4049
4050
 
4050
4051
  api.add_operation(:get_key_group, Seahorse::Model::Operation.new.tap do |o|
@@ -4068,13 +4069,13 @@ module Aws::CloudFront
4068
4069
  api.add_operation(:get_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
4069
4070
  o.name = "GetMonitoringSubscription2020_05_31"
4070
4071
  o.http_method = "GET"
4071
- o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
4072
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
4072
4073
  o.input = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionRequest)
4073
4074
  o.output = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionResult)
4074
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4075
4075
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
4076
- o.errors << Shapes::ShapeRef.new(shape: NoSuchMonitoringSubscription)
4076
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4077
4077
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4078
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchMonitoringSubscription)
4078
4079
  end)
4079
4080
 
4080
4081
  api.add_operation(:get_origin_access_control, Seahorse::Model::Operation.new.tap do |o|
@@ -4083,8 +4084,8 @@ module Aws::CloudFront
4083
4084
  o.http_request_uri = "/2020-05-31/origin-access-control/{Id}"
4084
4085
  o.input = Shapes::ShapeRef.new(shape: GetOriginAccessControlRequest)
4085
4086
  o.output = Shapes::ShapeRef.new(shape: GetOriginAccessControlResult)
4086
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
4087
4087
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4088
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
4088
4089
  end)
4089
4090
 
4090
4091
  api.add_operation(:get_origin_access_control_config, Seahorse::Model::Operation.new.tap do |o|
@@ -4093,8 +4094,8 @@ module Aws::CloudFront
4093
4094
  o.http_request_uri = "/2020-05-31/origin-access-control/{Id}/config"
4094
4095
  o.input = Shapes::ShapeRef.new(shape: GetOriginAccessControlConfigRequest)
4095
4096
  o.output = Shapes::ShapeRef.new(shape: GetOriginAccessControlConfigResult)
4096
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
4097
4097
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4098
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
4098
4099
  end)
4099
4100
 
4100
4101
  api.add_operation(:get_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -4140,7 +4141,7 @@ module Aws::CloudFront
4140
4141
  api.add_operation(:get_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
4141
4142
  o.name = "GetRealtimeLogConfig2020_05_31"
4142
4143
  o.http_method = "POST"
4143
- o.http_request_uri = "/2020-05-31/get-realtime-log-config/"
4144
+ o.http_request_uri = "/2020-05-31/get-realtime-log-config"
4144
4145
  o.input = Shapes::ShapeRef.new(shape: GetRealtimeLogConfigRequest,
4145
4146
  location_name: "GetRealtimeLogConfigRequest",
4146
4147
  metadata: {
@@ -4148,9 +4149,9 @@ module Aws::CloudFront
4148
4149
  }
4149
4150
  )
4150
4151
  o.output = Shapes::ShapeRef.new(shape: GetRealtimeLogConfigResult)
4151
- o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4152
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4153
4152
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4153
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4154
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4154
4155
  end)
4155
4156
 
4156
4157
  api.add_operation(:get_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -4179,8 +4180,8 @@ module Aws::CloudFront
4179
4180
  o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
4180
4181
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionRequest)
4181
4182
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionResult)
4182
- o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4183
4183
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4184
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4184
4185
  end)
4185
4186
 
4186
4187
  api.add_operation(:get_streaming_distribution_config, Seahorse::Model::Operation.new.tap do |o|
@@ -4189,8 +4190,8 @@ module Aws::CloudFront
4189
4190
  o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}/config"
4190
4191
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigRequest)
4191
4192
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigResult)
4192
- o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4193
4193
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4194
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4194
4195
  end)
4195
4196
 
4196
4197
  api.add_operation(:list_cache_policies, Seahorse::Model::Operation.new.tap do |o|
@@ -4199,8 +4200,8 @@ module Aws::CloudFront
4199
4200
  o.http_request_uri = "/2020-05-31/cache-policy"
4200
4201
  o.input = Shapes::ShapeRef.new(shape: ListCachePoliciesRequest)
4201
4202
  o.output = Shapes::ShapeRef.new(shape: ListCachePoliciesResult)
4202
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4203
4203
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
4204
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4204
4205
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4205
4206
  end)
4206
4207
 
@@ -4212,7 +4213,6 @@ module Aws::CloudFront
4212
4213
  o.output = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesResult)
4213
4214
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4214
4215
  o[:pager] = Aws::Pager.new(
4215
- more_results: "cloud_front_origin_access_identity_list.is_truncated",
4216
4216
  limit_key: "max_items",
4217
4217
  tokens: {
4218
4218
  "cloud_front_origin_access_identity_list.next_marker" => "marker"
@@ -4226,8 +4226,8 @@ module Aws::CloudFront
4226
4226
  o.http_request_uri = "/2020-05-31/conflicting-alias"
4227
4227
  o.input = Shapes::ShapeRef.new(shape: ListConflictingAliasesRequest)
4228
4228
  o.output = Shapes::ShapeRef.new(shape: ListConflictingAliasesResult)
4229
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4230
4229
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
4230
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4231
4231
  end)
4232
4232
 
4233
4233
  api.add_operation(:list_continuous_deployment_policies, Seahorse::Model::Operation.new.tap do |o|
@@ -4236,8 +4236,8 @@ module Aws::CloudFront
4236
4236
  o.http_request_uri = "/2020-05-31/continuous-deployment-policy"
4237
4237
  o.input = Shapes::ShapeRef.new(shape: ListContinuousDeploymentPoliciesRequest)
4238
4238
  o.output = Shapes::ShapeRef.new(shape: ListContinuousDeploymentPoliciesResult)
4239
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4240
4239
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4240
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4241
4241
  o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
4242
4242
  end)
4243
4243
 
@@ -4249,7 +4249,6 @@ module Aws::CloudFront
4249
4249
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsResult)
4250
4250
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4251
4251
  o[:pager] = Aws::Pager.new(
4252
- more_results: "distribution_list.is_truncated",
4253
4252
  limit_key: "max_items",
4254
4253
  tokens: {
4255
4254
  "distribution_list.next_marker" => "marker"
@@ -4264,8 +4263,8 @@ module Aws::CloudFront
4264
4263
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByCachePolicyIdRequest)
4265
4264
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByCachePolicyIdResult)
4266
4265
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
4267
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4268
4266
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4267
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4269
4268
  end)
4270
4269
 
4271
4270
  api.add_operation(:list_distributions_by_key_group, Seahorse::Model::Operation.new.tap do |o|
@@ -4274,8 +4273,8 @@ module Aws::CloudFront
4274
4273
  o.http_request_uri = "/2020-05-31/distributionsByKeyGroupId/{KeyGroupId}"
4275
4274
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByKeyGroupRequest)
4276
4275
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByKeyGroupResult)
4277
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
4278
4276
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4277
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
4279
4278
  end)
4280
4279
 
4281
4280
  api.add_operation(:list_distributions_by_origin_request_policy_id, Seahorse::Model::Operation.new.tap do |o|
@@ -4284,15 +4283,15 @@ module Aws::CloudFront
4284
4283
  o.http_request_uri = "/2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}"
4285
4284
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByOriginRequestPolicyIdRequest)
4286
4285
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByOriginRequestPolicyIdResult)
4286
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4287
4287
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
4288
4288
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4289
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4290
4289
  end)
4291
4290
 
4292
4291
  api.add_operation(:list_distributions_by_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
4293
4292
  o.name = "ListDistributionsByRealtimeLogConfig2020_05_31"
4294
4293
  o.http_method = "POST"
4295
- o.http_request_uri = "/2020-05-31/distributionsByRealtimeLogConfig/"
4294
+ o.http_request_uri = "/2020-05-31/distributionsByRealtimeLogConfig"
4296
4295
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByRealtimeLogConfigRequest,
4297
4296
  location_name: "ListDistributionsByRealtimeLogConfigRequest",
4298
4297
  metadata: {
@@ -4309,9 +4308,9 @@ module Aws::CloudFront
4309
4308
  o.http_request_uri = "/2020-05-31/distributionsByResponseHeadersPolicyId/{ResponseHeadersPolicyId}"
4310
4309
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByResponseHeadersPolicyIdRequest)
4311
4310
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByResponseHeadersPolicyIdResult)
4311
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4312
4312
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
4313
4313
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4314
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4315
4314
  end)
4316
4315
 
4317
4316
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
@@ -4320,8 +4319,8 @@ module Aws::CloudFront
4320
4319
  o.http_request_uri = "/2020-05-31/distributionsByWebACLId/{WebACLId}"
4321
4320
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdRequest)
4322
4321
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdResult)
4323
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4324
4322
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
4323
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4325
4324
  end)
4326
4325
 
4327
4326
  api.add_operation(:list_field_level_encryption_configs, Seahorse::Model::Operation.new.tap do |o|
@@ -4348,8 +4347,8 @@ module Aws::CloudFront
4348
4347
  o.http_request_uri = "/2020-05-31/function"
4349
4348
  o.input = Shapes::ShapeRef.new(shape: ListFunctionsRequest)
4350
4349
  o.output = Shapes::ShapeRef.new(shape: ListFunctionsResult)
4351
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4352
4350
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4351
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4353
4352
  end)
4354
4353
 
4355
4354
  api.add_operation(:list_invalidations, Seahorse::Model::Operation.new.tap do |o|
@@ -4358,11 +4357,10 @@ module Aws::CloudFront
4358
4357
  o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
4359
4358
  o.input = Shapes::ShapeRef.new(shape: ListInvalidationsRequest)
4360
4359
  o.output = Shapes::ShapeRef.new(shape: ListInvalidationsResult)
4361
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4362
4360
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
4363
4361
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4362
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4364
4363
  o[:pager] = Aws::Pager.new(
4365
- more_results: "invalidation_list.is_truncated",
4366
4364
  limit_key: "max_items",
4367
4365
  tokens: {
4368
4366
  "invalidation_list.next_marker" => "marker"
@@ -4386,8 +4384,8 @@ module Aws::CloudFront
4386
4384
  o.input = Shapes::ShapeRef.new(shape: ListKeyValueStoresRequest)
4387
4385
  o.output = Shapes::ShapeRef.new(shape: ListKeyValueStoresResult)
4388
4386
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4389
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4390
4387
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4388
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4391
4389
  o[:pager] = Aws::Pager.new(
4392
4390
  limit_key: "max_items",
4393
4391
  tokens: {
@@ -4423,6 +4421,12 @@ module Aws::CloudFront
4423
4421
  o.input = Shapes::ShapeRef.new(shape: ListPublicKeysRequest)
4424
4422
  o.output = Shapes::ShapeRef.new(shape: ListPublicKeysResult)
4425
4423
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4424
+ o[:pager] = Aws::Pager.new(
4425
+ limit_key: "max_items",
4426
+ tokens: {
4427
+ "public_key_list.next_marker" => "marker"
4428
+ }
4429
+ )
4426
4430
  end)
4427
4431
 
4428
4432
  api.add_operation(:list_realtime_log_configs, Seahorse::Model::Operation.new.tap do |o|
@@ -4431,8 +4435,8 @@ module Aws::CloudFront
4431
4435
  o.http_request_uri = "/2020-05-31/realtime-log-config"
4432
4436
  o.input = Shapes::ShapeRef.new(shape: ListRealtimeLogConfigsRequest)
4433
4437
  o.output = Shapes::ShapeRef.new(shape: ListRealtimeLogConfigsResult)
4434
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4435
4438
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4439
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4436
4440
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4437
4441
  end)
4438
4442
 
@@ -4455,7 +4459,6 @@ module Aws::CloudFront
4455
4459
  o.output = Shapes::ShapeRef.new(shape: ListStreamingDistributionsResult)
4456
4460
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4457
4461
  o[:pager] = Aws::Pager.new(
4458
- more_results: "streaming_distribution_list.is_truncated",
4459
4462
  limit_key: "max_items",
4460
4463
  tokens: {
4461
4464
  "streaming_distribution_list.next_marker" => "marker"
@@ -4470,8 +4473,8 @@ module Aws::CloudFront
4470
4473
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
4471
4474
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
4472
4475
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4473
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4474
4476
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
4477
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4475
4478
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
4476
4479
  end)
4477
4480
 
@@ -4481,11 +4484,11 @@ module Aws::CloudFront
4481
4484
  o.http_request_uri = "/2020-05-31/function/{Name}/publish"
4482
4485
  o.input = Shapes::ShapeRef.new(shape: PublishFunctionRequest)
4483
4486
  o.output = Shapes::ShapeRef.new(shape: PublishFunctionResult)
4484
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4485
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4486
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
4487
4487
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4488
4488
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4489
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4490
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
4491
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4489
4492
  end)
4490
4493
 
4491
4494
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -4495,8 +4498,8 @@ module Aws::CloudFront
4495
4498
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
4496
4499
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
4497
4500
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4498
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4499
4501
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
4502
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4500
4503
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
4501
4504
  end)
4502
4505
 
@@ -4511,11 +4514,11 @@ module Aws::CloudFront
4511
4514
  }
4512
4515
  )
4513
4516
  o.output = Shapes::ShapeRef.new(shape: TestFunctionResult)
4514
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4515
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4516
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
4517
4517
  o.errors << Shapes::ShapeRef.new(shape: TestFunctionFailed)
4518
4518
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4519
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4520
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
4521
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4519
4522
  end)
4520
4523
 
4521
4524
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -4525,8 +4528,8 @@ module Aws::CloudFront
4525
4528
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
4526
4529
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
4527
4530
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4528
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4529
4531
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
4532
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4530
4533
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
4531
4534
  end)
4532
4535
 
@@ -4536,17 +4539,17 @@ module Aws::CloudFront
4536
4539
  o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
4537
4540
  o.input = Shapes::ShapeRef.new(shape: UpdateCachePolicyRequest)
4538
4541
  o.output = Shapes::ShapeRef.new(shape: UpdateCachePolicyResult)
4539
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4540
- o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4541
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4542
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4543
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4544
4542
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
4545
4543
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4546
- o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
4544
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4547
4545
  o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInCachePolicy)
4546
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
4548
4547
  o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInCachePolicy)
4548
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4549
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4550
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4549
4551
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInCachePolicy)
4552
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4550
4553
  end)
4551
4554
 
4552
4555
  api.add_operation(:update_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
@@ -4555,14 +4558,14 @@ module Aws::CloudFront
4555
4558
  o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config"
4556
4559
  o.input = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityRequest)
4557
4560
  o.output = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityResult)
4561
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4558
4562
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4563
+ o.errors << Shapes::ShapeRef.new(shape: MissingBody)
4564
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4565
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4559
4566
  o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4560
4567
  o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4561
- o.errors << Shapes::ShapeRef.new(shape: MissingBody)
4562
4568
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
4563
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4564
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4565
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4566
4569
  end)
4567
4570
 
4568
4571
  api.add_operation(:update_continuous_deployment_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -4571,13 +4574,13 @@ module Aws::CloudFront
4571
4574
  o.http_request_uri = "/2020-05-31/continuous-deployment-policy/{Id}"
4572
4575
  o.input = Shapes::ShapeRef.new(shape: UpdateContinuousDeploymentPolicyRequest)
4573
4576
  o.output = Shapes::ShapeRef.new(shape: UpdateContinuousDeploymentPolicyResult)
4574
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4575
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4576
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4577
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4578
4577
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4578
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4579
4579
  o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
4580
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4581
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4580
4582
  o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
4583
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4581
4584
  end)
4582
4585
 
4583
4586
  api.add_operation(:update_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -4587,71 +4590,71 @@ module Aws::CloudFront
4587
4590
  o.input = Shapes::ShapeRef.new(shape: UpdateDistributionRequest)
4588
4591
  o.output = Shapes::ShapeRef.new(shape: UpdateDistributionResult)
4589
4592
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4590
- o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
4591
- o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4592
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4593
- o.errors << Shapes::ShapeRef.new(shape: MissingBody)
4594
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
4595
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4596
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
4593
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
4597
4594
  o.errors << Shapes::ShapeRef.new(shape: InvalidDefaultRootObject)
4598
- o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
4599
- o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
4600
- o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
4601
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4602
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
4603
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4595
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
4596
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
4604
4597
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
4605
- o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
4606
- o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
4598
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
4599
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
4600
+ o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
4601
+ o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
4602
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
4603
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
4604
+ o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
4607
4605
  o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
4606
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
4607
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
4608
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
4608
4609
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequiredProtocol)
4609
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
4610
- o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
4610
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
4611
4611
  o.errors << Shapes::ShapeRef.new(shape: TooManyOriginGroupsPerDistribution)
4612
- o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
4613
- o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
4614
- o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
4612
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTTLOrder)
4613
+ o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
4614
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
4615
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4616
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
4617
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4618
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4619
+ o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
4620
+ o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
4621
+ o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
4622
+ o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
4623
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
4624
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
4625
+ o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
4626
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
4627
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
4628
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
4629
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4630
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
4631
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
4632
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
4633
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
4634
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4635
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
4636
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
4637
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
4638
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4639
+ o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyInUse)
4640
+ o.errors << Shapes::ShapeRef.new(shape: MissingBody)
4615
4641
  o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
4616
- o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
4617
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4642
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
4643
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
4618
4644
  o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
4619
- o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
4645
+ o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
4646
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
4647
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
4648
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4649
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
4620
4650
  o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
4621
- o.errors << Shapes::ShapeRef.new(shape: InvalidTTLOrder)
4622
- o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
4623
- o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
4624
- o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
4625
- o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
4626
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
4627
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
4628
- o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
4629
- o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
4630
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
4631
- o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
4651
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
4652
+ o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
4632
4653
  o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
4633
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
4634
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
4635
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
4636
- o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
4637
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
4638
- o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
4639
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
4640
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
4641
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
4642
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
4643
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
4644
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
4654
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
4645
4655
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
4646
- o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
4647
- o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
4648
- o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4649
- o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
4650
- o.errors << Shapes::ShapeRef.new(shape: ContinuousDeploymentPolicyInUse)
4651
- o.errors << Shapes::ShapeRef.new(shape: NoSuchContinuousDeploymentPolicy)
4652
- o.errors << Shapes::ShapeRef.new(shape: StagingDistributionInUse)
4653
- o.errors << Shapes::ShapeRef.new(shape: IllegalOriginAccessConfiguration)
4654
- o.errors << Shapes::ShapeRef.new(shape: InvalidDomainNameForOriginAccessControl)
4656
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
4657
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
4655
4658
  end)
4656
4659
 
4657
4660
  api.add_operation(:update_distribution_with_staging_config, Seahorse::Model::Operation.new.tap do |o|
@@ -4661,66 +4664,66 @@ module Aws::CloudFront
4661
4664
  o.input = Shapes::ShapeRef.new(shape: UpdateDistributionWithStagingConfigRequest)
4662
4665
  o.output = Shapes::ShapeRef.new(shape: UpdateDistributionWithStagingConfigResult)
4663
4666
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4664
- o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
4665
- o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4666
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4667
- o.errors << Shapes::ShapeRef.new(shape: MissingBody)
4668
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
4669
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4670
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
4667
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
4671
4668
  o.errors << Shapes::ShapeRef.new(shape: InvalidDefaultRootObject)
4672
- o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
4673
- o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
4674
- o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
4675
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4676
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
4677
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4669
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
4678
4670
  o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
4679
- o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
4680
- o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
4671
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
4672
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
4673
+ o.errors << Shapes::ShapeRef.new(shape: InvalidErrorCode)
4674
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
4675
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
4676
+ o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
4681
4677
  o.errors << Shapes::ShapeRef.new(shape: InvalidMinimumProtocolVersion)
4678
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
4679
+ o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
4680
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
4682
4681
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequiredProtocol)
4683
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
4684
- o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
4682
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
4685
4683
  o.errors << Shapes::ShapeRef.new(shape: TooManyOriginGroupsPerDistribution)
4686
- o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
4687
- o.errors << Shapes::ShapeRef.new(shape: TooManyCookieNamesInWhiteList)
4688
- o.errors << Shapes::ShapeRef.new(shape: InvalidForwardCookies)
4689
- o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
4690
- o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
4691
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4692
- o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
4693
- o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
4694
- o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
4695
4684
  o.errors << Shapes::ShapeRef.new(shape: InvalidTTLOrder)
4685
+ o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
4686
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
4687
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4688
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
4689
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4690
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4691
+ o.errors << Shapes::ShapeRef.new(shape: InvalidHeadersForS3Origin)
4692
+ o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
4696
4693
  o.errors << Shapes::ShapeRef.new(shape: InvalidWebACLId)
4697
- o.errors << Shapes::ShapeRef.new(shape: TooManyOriginCustomHeaders)
4698
- o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
4699
- o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
4700
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
4701
4694
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
4695
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRelativePath)
4702
4696
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
4703
- o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
4704
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithFunctionAssociations)
4705
- o.errors << Shapes::ShapeRef.new(shape: TooManyFunctionAssociations)
4706
- o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
4707
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
4708
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginKeepaliveTimeout)
4709
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
4710
- o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
4711
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
4712
- o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
4713
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
4714
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginAccessControl)
4715
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
4716
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
4697
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
4717
4698
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
4699
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
4700
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4701
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLocationCode)
4702
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
4703
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
4704
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4718
4705
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
4719
- o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
4720
- o.errors << Shapes::ShapeRef.new(shape: TooManyKeyGroupsAssociatedToDistribution)
4706
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
4707
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
4708
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4709
+ o.errors << Shapes::ShapeRef.new(shape: MissingBody)
4710
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInForwardedValues)
4711
+ o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
4712
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
4713
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCertificates)
4721
4714
  o.errors << Shapes::ShapeRef.new(shape: TrustedKeyGroupDoesNotExist)
4715
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToResponseHeadersPolicy)
4716
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
4722
4717
  o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4723
- o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigOwnerMismatch)
4718
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResponseCode)
4719
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGeoRestrictionParameter)
4720
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOrigins)
4721
+ o.errors << Shapes::ShapeRef.new(shape: InvalidViewerCertificate)
4722
+ o.errors << Shapes::ShapeRef.new(shape: InvalidFunctionAssociation)
4723
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
4724
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToKeyGroup)
4725
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOrigin)
4726
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCacheBehaviors)
4724
4727
  end)
4725
4728
 
4726
4729
  api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
@@ -4729,17 +4732,17 @@ module Aws::CloudFront
4729
4732
  o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}/config"
4730
4733
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigRequest)
4731
4734
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigResult)
4735
+ o.errors << Shapes::ShapeRef.new(shape: QueryArgProfileEmpty)
4736
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4732
4737
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4733
- o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4738
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionQueryArgProfiles)
4739
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
4740
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionContentTypeProfiles)
4734
4741
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4742
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionProfile)
4735
4743
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4744
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4736
4745
  o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4737
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionProfile)
4738
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
4739
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4740
- o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionQueryArgProfiles)
4741
- o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionContentTypeProfiles)
4742
- o.errors << Shapes::ShapeRef.new(shape: QueryArgProfileEmpty)
4743
4746
  end)
4744
4747
 
4745
4748
  api.add_operation(:update_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
@@ -4748,18 +4751,18 @@ module Aws::CloudFront
4748
4751
  o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}/config"
4749
4752
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileRequest)
4750
4753
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileResult)
4754
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4755
+ o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
4751
4756
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4752
4757
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileAlreadyExists)
4753
- o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4754
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4755
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4756
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4757
4758
  o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
4758
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionProfile)
4759
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4760
4759
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileSizeExceeded)
4760
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4761
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionProfile)
4761
4762
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionEncryptionEntities)
4762
- o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
4763
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4764
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4765
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4763
4766
  end)
4764
4767
 
4765
4768
  api.add_operation(:update_function, Seahorse::Model::Operation.new.tap do |o|
@@ -4773,12 +4776,12 @@ module Aws::CloudFront
4773
4776
  }
4774
4777
  )
4775
4778
  o.output = Shapes::ShapeRef.new(shape: UpdateFunctionResult)
4776
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4777
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4778
- o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
4779
4779
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4780
- o.errors << Shapes::ShapeRef.new(shape: FunctionSizeLimitExceeded)
4781
4780
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4781
+ o.errors << Shapes::ShapeRef.new(shape: FunctionSizeLimitExceeded)
4782
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4783
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
4784
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4782
4785
  end)
4783
4786
 
4784
4787
  api.add_operation(:update_key_group, Seahorse::Model::Operation.new.tap do |o|
@@ -4787,12 +4790,12 @@ module Aws::CloudFront
4787
4790
  o.http_request_uri = "/2020-05-31/key-group/{Id}"
4788
4791
  o.input = Shapes::ShapeRef.new(shape: UpdateKeyGroupRequest)
4789
4792
  o.output = Shapes::ShapeRef.new(shape: UpdateKeyGroupResult)
4790
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4791
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
4792
4793
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4793
- o.errors << Shapes::ShapeRef.new(shape: KeyGroupAlreadyExists)
4794
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4795
4794
  o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeysInKeyGroup)
4795
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4796
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
4797
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4798
+ o.errors << Shapes::ShapeRef.new(shape: KeyGroupAlreadyExists)
4796
4799
  end)
4797
4800
 
4798
4801
  api.add_operation(:update_key_value_store, Seahorse::Model::Operation.new.tap do |o|
@@ -4806,12 +4809,12 @@ module Aws::CloudFront
4806
4809
  }
4807
4810
  )
4808
4811
  o.output = Shapes::ShapeRef.new(shape: UpdateKeyValueStoreResult)
4812
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4813
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4809
4814
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4815
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4810
4816
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4811
- o.errors << Shapes::ShapeRef.new(shape: EntityNotFound)
4812
4817
  o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4813
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4814
- o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
4815
4818
  end)
4816
4819
 
4817
4820
  api.add_operation(:update_origin_access_control, Seahorse::Model::Operation.new.tap do |o|
@@ -4820,13 +4823,13 @@ module Aws::CloudFront
4820
4823
  o.http_request_uri = "/2020-05-31/origin-access-control/{Id}/config"
4821
4824
  o.input = Shapes::ShapeRef.new(shape: UpdateOriginAccessControlRequest)
4822
4825
  o.output = Shapes::ShapeRef.new(shape: UpdateOriginAccessControlResult)
4823
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4824
- o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4825
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4826
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4826
4827
  o.errors << Shapes::ShapeRef.new(shape: OriginAccessControlAlreadyExists)
4828
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4827
4829
  o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginAccessControl)
4828
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4829
4830
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4831
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4832
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4830
4833
  end)
4831
4834
 
4832
4835
  api.add_operation(:update_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -4835,17 +4838,17 @@ module Aws::CloudFront
4835
4838
  o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
4836
4839
  o.input = Shapes::ShapeRef.new(shape: UpdateOriginRequestPolicyRequest)
4837
4840
  o.output = Shapes::ShapeRef.new(shape: UpdateOriginRequestPolicyResult)
4838
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4839
- o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4840
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4841
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4842
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4843
- o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
4844
4841
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4845
- o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
4842
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4846
4843
  o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInOriginRequestPolicy)
4844
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
4847
4845
  o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInOriginRequestPolicy)
4846
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4847
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
4848
4848
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInOriginRequestPolicy)
4849
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4850
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4851
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4849
4852
  end)
4850
4853
 
4851
4854
  api.add_operation(:update_public_key, Seahorse::Model::Operation.new.tap do |o|
@@ -4854,19 +4857,19 @@ module Aws::CloudFront
4854
4857
  o.http_request_uri = "/2020-05-31/public-key/{Id}/config"
4855
4858
  o.input = Shapes::ShapeRef.new(shape: UpdatePublicKeyRequest)
4856
4859
  o.output = Shapes::ShapeRef.new(shape: UpdatePublicKeyResult)
4860
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4857
4861
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4862
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
4858
4863
  o.errors << Shapes::ShapeRef.new(shape: CannotChangeImmutablePublicKeyFields)
4859
4864
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4860
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4861
4865
  o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4862
- o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
4863
- o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4866
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4864
4867
  end)
4865
4868
 
4866
4869
  api.add_operation(:update_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
4867
4870
  o.name = "UpdateRealtimeLogConfig2020_05_31"
4868
4871
  o.http_method = "PUT"
4869
- o.http_request_uri = "/2020-05-31/realtime-log-config/"
4872
+ o.http_request_uri = "/2020-05-31/realtime-log-config"
4870
4873
  o.input = Shapes::ShapeRef.new(shape: UpdateRealtimeLogConfigRequest,
4871
4874
  location_name: "UpdateRealtimeLogConfigRequest",
4872
4875
  metadata: {
@@ -4874,9 +4877,9 @@ module Aws::CloudFront
4874
4877
  }
4875
4878
  )
4876
4879
  o.output = Shapes::ShapeRef.new(shape: UpdateRealtimeLogConfigResult)
4877
- o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4878
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4879
4880
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4881
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4882
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
4880
4883
  end)
4881
4884
 
4882
4885
  api.add_operation(:update_response_headers_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -4885,17 +4888,17 @@ module Aws::CloudFront
4885
4888
  o.http_request_uri = "/2020-05-31/response-headers-policy/{Id}"
4886
4889
  o.input = Shapes::ShapeRef.new(shape: UpdateResponseHeadersPolicyRequest)
4887
4890
  o.output = Shapes::ShapeRef.new(shape: UpdateResponseHeadersPolicyResult)
4888
- o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4889
- o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4890
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4891
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4892
- o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4893
- o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
4894
4891
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4895
- o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
4892
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4896
4893
  o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy)
4894
+ o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists)
4895
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4897
4896
  o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy)
4897
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchResponseHeadersPolicy)
4898
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4898
4899
  o.errors << Shapes::ShapeRef.new(shape: TooManyRemoveHeadersInResponseHeadersPolicy)
4900
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4901
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4899
4902
  end)
4900
4903
 
4901
4904
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
@@ -4905,19 +4908,19 @@ module Aws::CloudFront
4905
4908
  o.input = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionRequest)
4906
4909
  o.output = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionResult)
4907
4910
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
4908
- o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
4911
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4912
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
4913
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4909
4914
  o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
4915
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
4916
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4910
4917
  o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
4911
- o.errors << Shapes::ShapeRef.new(shape: MissingBody)
4912
- o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4913
4918
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
4919
+ o.errors << Shapes::ShapeRef.new(shape: MissingBody)
4914
4920
  o.errors << Shapes::ShapeRef.new(shape: TooManyStreamingDistributionCNAMEs)
4915
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
4916
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessIdentity)
4917
- o.errors << Shapes::ShapeRef.new(shape: InvalidOriginAccessControl)
4918
- o.errors << Shapes::ShapeRef.new(shape: TooManyTrustedSigners)
4919
4921
  o.errors << Shapes::ShapeRef.new(shape: TrustedSignerDoesNotExist)
4920
- o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
4922
+ o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
4923
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
4921
4924
  end)
4922
4925
  end
4923
4926