aws-sdk-cloudfront 1.30.1 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,20 @@ module Aws::CloudFront
24
26
  CacheBehavior = Shapes::StructureShape.new(name: 'CacheBehavior')
25
27
  CacheBehaviorList = Shapes::ListShape.new(name: 'CacheBehaviorList')
26
28
  CacheBehaviors = Shapes::StructureShape.new(name: 'CacheBehaviors')
29
+ CachePolicy = Shapes::StructureShape.new(name: 'CachePolicy')
30
+ CachePolicyAlreadyExists = Shapes::StructureShape.new(name: 'CachePolicyAlreadyExists')
31
+ CachePolicyConfig = Shapes::StructureShape.new(name: 'CachePolicyConfig')
32
+ CachePolicyCookieBehavior = Shapes::StringShape.new(name: 'CachePolicyCookieBehavior')
33
+ CachePolicyCookiesConfig = Shapes::StructureShape.new(name: 'CachePolicyCookiesConfig')
34
+ CachePolicyHeaderBehavior = Shapes::StringShape.new(name: 'CachePolicyHeaderBehavior')
35
+ CachePolicyHeadersConfig = Shapes::StructureShape.new(name: 'CachePolicyHeadersConfig')
36
+ CachePolicyInUse = Shapes::StructureShape.new(name: 'CachePolicyInUse')
37
+ CachePolicyList = Shapes::StructureShape.new(name: 'CachePolicyList')
38
+ CachePolicyQueryStringBehavior = Shapes::StringShape.new(name: 'CachePolicyQueryStringBehavior')
39
+ CachePolicyQueryStringsConfig = Shapes::StructureShape.new(name: 'CachePolicyQueryStringsConfig')
40
+ CachePolicySummary = Shapes::StructureShape.new(name: 'CachePolicySummary')
41
+ CachePolicySummaryList = Shapes::ListShape.new(name: 'CachePolicySummaryList')
42
+ CachePolicyType = Shapes::StringShape.new(name: 'CachePolicyType')
27
43
  CachedMethods = Shapes::StructureShape.new(name: 'CachedMethods')
28
44
  CannotChangeImmutablePublicKeyFields = Shapes::StructureShape.new(name: 'CannotChangeImmutablePublicKeyFields')
29
45
  CertificateSource = Shapes::StringShape.new(name: 'CertificateSource')
@@ -42,6 +58,8 @@ module Aws::CloudFront
42
58
  CookieNameList = Shapes::ListShape.new(name: 'CookieNameList')
43
59
  CookieNames = Shapes::StructureShape.new(name: 'CookieNames')
44
60
  CookiePreference = Shapes::StructureShape.new(name: 'CookiePreference')
61
+ CreateCachePolicyRequest = Shapes::StructureShape.new(name: 'CreateCachePolicyRequest')
62
+ CreateCachePolicyResult = Shapes::StructureShape.new(name: 'CreateCachePolicyResult')
45
63
  CreateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityRequest')
46
64
  CreateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityResult')
47
65
  CreateDistributionRequest = Shapes::StructureShape.new(name: 'CreateDistributionRequest')
@@ -54,6 +72,8 @@ module Aws::CloudFront
54
72
  CreateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'CreateFieldLevelEncryptionProfileResult')
55
73
  CreateInvalidationRequest = Shapes::StructureShape.new(name: 'CreateInvalidationRequest')
56
74
  CreateInvalidationResult = Shapes::StructureShape.new(name: 'CreateInvalidationResult')
75
+ CreateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyRequest')
76
+ CreateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyResult')
57
77
  CreatePublicKeyRequest = Shapes::StructureShape.new(name: 'CreatePublicKeyRequest')
58
78
  CreatePublicKeyResult = Shapes::StructureShape.new(name: 'CreatePublicKeyResult')
59
79
  CreateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionRequest')
@@ -66,16 +86,20 @@ module Aws::CloudFront
66
86
  CustomHeaders = Shapes::StructureShape.new(name: 'CustomHeaders')
67
87
  CustomOriginConfig = Shapes::StructureShape.new(name: 'CustomOriginConfig')
68
88
  DefaultCacheBehavior = Shapes::StructureShape.new(name: 'DefaultCacheBehavior')
89
+ DeleteCachePolicyRequest = Shapes::StructureShape.new(name: 'DeleteCachePolicyRequest')
69
90
  DeleteCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'DeleteCloudFrontOriginAccessIdentityRequest')
70
91
  DeleteDistributionRequest = Shapes::StructureShape.new(name: 'DeleteDistributionRequest')
71
92
  DeleteFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionConfigRequest')
72
93
  DeleteFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionProfileRequest')
94
+ DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
73
95
  DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
74
96
  DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
75
97
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
76
98
  DistributionAlreadyExists = Shapes::StructureShape.new(name: 'DistributionAlreadyExists')
77
99
  DistributionConfig = Shapes::StructureShape.new(name: 'DistributionConfig')
78
100
  DistributionConfigWithTags = Shapes::StructureShape.new(name: 'DistributionConfigWithTags')
101
+ DistributionIdList = Shapes::StructureShape.new(name: 'DistributionIdList')
102
+ DistributionIdListSummary = Shapes::ListShape.new(name: 'DistributionIdListSummary')
79
103
  DistributionList = Shapes::StructureShape.new(name: 'DistributionList')
80
104
  DistributionNotDisabled = Shapes::StructureShape.new(name: 'DistributionNotDisabled')
81
105
  DistributionSummary = Shapes::StructureShape.new(name: 'DistributionSummary')
@@ -105,6 +129,10 @@ module Aws::CloudFront
105
129
  ForwardedValues = Shapes::StructureShape.new(name: 'ForwardedValues')
106
130
  GeoRestriction = Shapes::StructureShape.new(name: 'GeoRestriction')
107
131
  GeoRestrictionType = Shapes::StringShape.new(name: 'GeoRestrictionType')
132
+ GetCachePolicyConfigRequest = Shapes::StructureShape.new(name: 'GetCachePolicyConfigRequest')
133
+ GetCachePolicyConfigResult = Shapes::StructureShape.new(name: 'GetCachePolicyConfigResult')
134
+ GetCachePolicyRequest = Shapes::StructureShape.new(name: 'GetCachePolicyRequest')
135
+ GetCachePolicyResult = Shapes::StructureShape.new(name: 'GetCachePolicyResult')
108
136
  GetCloudFrontOriginAccessIdentityConfigRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigRequest')
109
137
  GetCloudFrontOriginAccessIdentityConfigResult = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigResult')
110
138
  GetCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityRequest')
@@ -123,6 +151,10 @@ module Aws::CloudFront
123
151
  GetFieldLevelEncryptionResult = Shapes::StructureShape.new(name: 'GetFieldLevelEncryptionResult')
124
152
  GetInvalidationRequest = Shapes::StructureShape.new(name: 'GetInvalidationRequest')
125
153
  GetInvalidationResult = Shapes::StructureShape.new(name: 'GetInvalidationResult')
154
+ GetOriginRequestPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigRequest')
155
+ GetOriginRequestPolicyConfigResult = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigResult')
156
+ GetOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyRequest')
157
+ GetOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyResult')
126
158
  GetPublicKeyConfigRequest = Shapes::StructureShape.new(name: 'GetPublicKeyConfigRequest')
127
159
  GetPublicKeyConfigResult = Shapes::StructureShape.new(name: 'GetPublicKeyConfigResult')
128
160
  GetPublicKeyRequest = Shapes::StructureShape.new(name: 'GetPublicKeyRequest')
@@ -135,6 +167,7 @@ module Aws::CloudFront
135
167
  Headers = Shapes::StructureShape.new(name: 'Headers')
136
168
  HttpVersion = Shapes::StringShape.new(name: 'HttpVersion')
137
169
  ICPRecordalStatus = Shapes::StringShape.new(name: 'ICPRecordalStatus')
170
+ IllegalDelete = Shapes::StructureShape.new(name: 'IllegalDelete')
138
171
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior = Shapes::StructureShape.new(name: 'IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior')
139
172
  IllegalUpdate = Shapes::StructureShape.new(name: 'IllegalUpdate')
140
173
  InconsistentQuantities = Shapes::StructureShape.new(name: 'InconsistentQuantities')
@@ -173,8 +206,14 @@ module Aws::CloudFront
173
206
  LambdaFunctionAssociation = Shapes::StructureShape.new(name: 'LambdaFunctionAssociation')
174
207
  LambdaFunctionAssociationList = Shapes::ListShape.new(name: 'LambdaFunctionAssociationList')
175
208
  LambdaFunctionAssociations = Shapes::StructureShape.new(name: 'LambdaFunctionAssociations')
209
+ ListCachePoliciesRequest = Shapes::StructureShape.new(name: 'ListCachePoliciesRequest')
210
+ ListCachePoliciesResult = Shapes::StructureShape.new(name: 'ListCachePoliciesResult')
176
211
  ListCloudFrontOriginAccessIdentitiesRequest = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesRequest')
177
212
  ListCloudFrontOriginAccessIdentitiesResult = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesResult')
213
+ ListDistributionsByCachePolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdRequest')
214
+ ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
215
+ ListDistributionsByOriginRequestPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdRequest')
216
+ ListDistributionsByOriginRequestPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdResult')
178
217
  ListDistributionsByWebACLIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdRequest')
179
218
  ListDistributionsByWebACLIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdResult')
180
219
  ListDistributionsRequest = Shapes::StructureShape.new(name: 'ListDistributionsRequest')
@@ -185,6 +224,8 @@ module Aws::CloudFront
185
224
  ListFieldLevelEncryptionProfilesResult = Shapes::StructureShape.new(name: 'ListFieldLevelEncryptionProfilesResult')
186
225
  ListInvalidationsRequest = Shapes::StructureShape.new(name: 'ListInvalidationsRequest')
187
226
  ListInvalidationsResult = Shapes::StructureShape.new(name: 'ListInvalidationsResult')
227
+ ListOriginRequestPoliciesRequest = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesRequest')
228
+ ListOriginRequestPoliciesResult = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesResult')
188
229
  ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
189
230
  ListPublicKeysResult = Shapes::StructureShape.new(name: 'ListPublicKeysResult')
190
231
  ListStreamingDistributionsRequest = Shapes::StructureShape.new(name: 'ListStreamingDistributionsRequest')
@@ -197,12 +238,14 @@ module Aws::CloudFront
197
238
  MethodsList = Shapes::ListShape.new(name: 'MethodsList')
198
239
  MinimumProtocolVersion = Shapes::StringShape.new(name: 'MinimumProtocolVersion')
199
240
  MissingBody = Shapes::StructureShape.new(name: 'MissingBody')
241
+ NoSuchCachePolicy = Shapes::StructureShape.new(name: 'NoSuchCachePolicy')
200
242
  NoSuchCloudFrontOriginAccessIdentity = Shapes::StructureShape.new(name: 'NoSuchCloudFrontOriginAccessIdentity')
201
243
  NoSuchDistribution = Shapes::StructureShape.new(name: 'NoSuchDistribution')
202
244
  NoSuchFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionConfig')
203
245
  NoSuchFieldLevelEncryptionProfile = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionProfile')
204
246
  NoSuchInvalidation = Shapes::StructureShape.new(name: 'NoSuchInvalidation')
205
247
  NoSuchOrigin = Shapes::StructureShape.new(name: 'NoSuchOrigin')
248
+ NoSuchOriginRequestPolicy = Shapes::StructureShape.new(name: 'NoSuchOriginRequestPolicy')
206
249
  NoSuchPublicKey = Shapes::StructureShape.new(name: 'NoSuchPublicKey')
207
250
  NoSuchResource = Shapes::StructureShape.new(name: 'NoSuchResource')
208
251
  NoSuchStreamingDistribution = Shapes::StructureShape.new(name: 'NoSuchStreamingDistribution')
@@ -218,8 +261,23 @@ module Aws::CloudFront
218
261
  OriginGroups = Shapes::StructureShape.new(name: 'OriginGroups')
219
262
  OriginList = Shapes::ListShape.new(name: 'OriginList')
220
263
  OriginProtocolPolicy = Shapes::StringShape.new(name: 'OriginProtocolPolicy')
264
+ OriginRequestPolicy = Shapes::StructureShape.new(name: 'OriginRequestPolicy')
265
+ OriginRequestPolicyAlreadyExists = Shapes::StructureShape.new(name: 'OriginRequestPolicyAlreadyExists')
266
+ OriginRequestPolicyConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyConfig')
267
+ OriginRequestPolicyCookieBehavior = Shapes::StringShape.new(name: 'OriginRequestPolicyCookieBehavior')
268
+ OriginRequestPolicyCookiesConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyCookiesConfig')
269
+ OriginRequestPolicyHeaderBehavior = Shapes::StringShape.new(name: 'OriginRequestPolicyHeaderBehavior')
270
+ OriginRequestPolicyHeadersConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyHeadersConfig')
271
+ OriginRequestPolicyInUse = Shapes::StructureShape.new(name: 'OriginRequestPolicyInUse')
272
+ OriginRequestPolicyList = Shapes::StructureShape.new(name: 'OriginRequestPolicyList')
273
+ OriginRequestPolicyQueryStringBehavior = Shapes::StringShape.new(name: 'OriginRequestPolicyQueryStringBehavior')
274
+ OriginRequestPolicyQueryStringsConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyQueryStringsConfig')
275
+ OriginRequestPolicySummary = Shapes::StructureShape.new(name: 'OriginRequestPolicySummary')
276
+ OriginRequestPolicySummaryList = Shapes::ListShape.new(name: 'OriginRequestPolicySummaryList')
277
+ OriginRequestPolicyType = Shapes::StringShape.new(name: 'OriginRequestPolicyType')
221
278
  OriginSslProtocols = Shapes::StructureShape.new(name: 'OriginSslProtocols')
222
279
  Origins = Shapes::StructureShape.new(name: 'Origins')
280
+ ParametersInCacheKeyAndForwardedToOrigin = Shapes::StructureShape.new(name: 'ParametersInCacheKeyAndForwardedToOrigin')
223
281
  PathList = Shapes::ListShape.new(name: 'PathList')
224
282
  Paths = Shapes::StructureShape.new(name: 'Paths')
225
283
  PreconditionFailed = Shapes::StructureShape.new(name: 'PreconditionFailed')
@@ -238,6 +296,8 @@ module Aws::CloudFront
238
296
  QueryArgProfiles = Shapes::StructureShape.new(name: 'QueryArgProfiles')
239
297
  QueryStringCacheKeys = Shapes::StructureShape.new(name: 'QueryStringCacheKeys')
240
298
  QueryStringCacheKeysList = Shapes::ListShape.new(name: 'QueryStringCacheKeysList')
299
+ QueryStringNames = Shapes::StructureShape.new(name: 'QueryStringNames')
300
+ QueryStringNamesList = Shapes::ListShape.new(name: 'QueryStringNamesList')
241
301
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
242
302
  Restrictions = Shapes::StructureShape.new(name: 'Restrictions')
243
303
  S3Origin = Shapes::StructureShape.new(name: 'S3Origin')
@@ -267,33 +327,46 @@ module Aws::CloudFront
267
327
  TagValue = Shapes::StringShape.new(name: 'TagValue')
268
328
  Tags = Shapes::StructureShape.new(name: 'Tags')
269
329
  TooManyCacheBehaviors = Shapes::StructureShape.new(name: 'TooManyCacheBehaviors')
330
+ TooManyCachePolicies = Shapes::StructureShape.new(name: 'TooManyCachePolicies')
270
331
  TooManyCertificates = Shapes::StructureShape.new(name: 'TooManyCertificates')
271
332
  TooManyCloudFrontOriginAccessIdentities = Shapes::StructureShape.new(name: 'TooManyCloudFrontOriginAccessIdentities')
272
333
  TooManyCookieNamesInWhiteList = Shapes::StructureShape.new(name: 'TooManyCookieNamesInWhiteList')
334
+ TooManyCookiesInCachePolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInCachePolicy')
335
+ TooManyCookiesInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInOriginRequestPolicy')
273
336
  TooManyDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyDistributionCNAMEs')
274
337
  TooManyDistributions = Shapes::StructureShape.new(name: 'TooManyDistributions')
338
+ TooManyDistributionsAssociatedToCachePolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToCachePolicy')
275
339
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
340
+ TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
276
341
  TooManyDistributionsWithLambdaAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithLambdaAssociations')
342
+ TooManyDistributionsWithSingleFunctionARN = Shapes::StructureShape.new(name: 'TooManyDistributionsWithSingleFunctionARN')
277
343
  TooManyFieldLevelEncryptionConfigs = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionConfigs')
278
344
  TooManyFieldLevelEncryptionContentTypeProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionContentTypeProfiles')
279
345
  TooManyFieldLevelEncryptionEncryptionEntities = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionEncryptionEntities')
280
346
  TooManyFieldLevelEncryptionFieldPatterns = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionFieldPatterns')
281
347
  TooManyFieldLevelEncryptionProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionProfiles')
282
348
  TooManyFieldLevelEncryptionQueryArgProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionQueryArgProfiles')
349
+ TooManyHeadersInCachePolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInCachePolicy')
283
350
  TooManyHeadersInForwardedValues = Shapes::StructureShape.new(name: 'TooManyHeadersInForwardedValues')
351
+ TooManyHeadersInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInOriginRequestPolicy')
284
352
  TooManyInvalidationsInProgress = Shapes::StructureShape.new(name: 'TooManyInvalidationsInProgress')
285
353
  TooManyLambdaFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyLambdaFunctionAssociations')
286
354
  TooManyOriginCustomHeaders = Shapes::StructureShape.new(name: 'TooManyOriginCustomHeaders')
287
355
  TooManyOriginGroupsPerDistribution = Shapes::StructureShape.new(name: 'TooManyOriginGroupsPerDistribution')
356
+ TooManyOriginRequestPolicies = Shapes::StructureShape.new(name: 'TooManyOriginRequestPolicies')
288
357
  TooManyOrigins = Shapes::StructureShape.new(name: 'TooManyOrigins')
289
358
  TooManyPublicKeys = Shapes::StructureShape.new(name: 'TooManyPublicKeys')
290
359
  TooManyQueryStringParameters = Shapes::StructureShape.new(name: 'TooManyQueryStringParameters')
360
+ TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
361
+ TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
291
362
  TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
292
363
  TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
293
364
  TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
294
365
  TrustedSignerDoesNotExist = Shapes::StructureShape.new(name: 'TrustedSignerDoesNotExist')
295
366
  TrustedSigners = Shapes::StructureShape.new(name: 'TrustedSigners')
296
367
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
368
+ UpdateCachePolicyRequest = Shapes::StructureShape.new(name: 'UpdateCachePolicyRequest')
369
+ UpdateCachePolicyResult = Shapes::StructureShape.new(name: 'UpdateCachePolicyResult')
297
370
  UpdateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityRequest')
298
371
  UpdateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityResult')
299
372
  UpdateDistributionRequest = Shapes::StructureShape.new(name: 'UpdateDistributionRequest')
@@ -302,6 +375,8 @@ module Aws::CloudFront
302
375
  UpdateFieldLevelEncryptionConfigResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigResult')
303
376
  UpdateFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileRequest')
304
377
  UpdateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileResult')
378
+ UpdateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyRequest')
379
+ UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
305
380
  UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
306
381
  UpdatePublicKeyResult = Shapes::StructureShape.new(name: 'UpdatePublicKeyResult')
307
382
  UpdateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionRequest')
@@ -349,17 +424,19 @@ module Aws::CloudFront
349
424
 
350
425
  CacheBehavior.add_member(:path_pattern, Shapes::ShapeRef.new(shape: string, required: true, location_name: "PathPattern"))
351
426
  CacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
352
- CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, required: true, location_name: "ForwardedValues"))
353
427
  CacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
354
428
  CacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
355
- CacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, required: true, location_name: "MinTTL"))
356
429
  CacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
357
430
  CacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
358
- CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
359
- CacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
360
431
  CacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
361
432
  CacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
362
433
  CacheBehavior.add_member(:field_level_encryption_id, Shapes::ShapeRef.new(shape: string, location_name: "FieldLevelEncryptionId"))
434
+ CacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
435
+ CacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
436
+ CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
437
+ CacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
438
+ CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
439
+ CacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MaxTTL"))
363
440
  CacheBehavior.struct_class = Types::CacheBehavior
364
441
 
365
442
  CacheBehaviorList.member = Shapes::ShapeRef.new(shape: CacheBehavior, location_name: "CacheBehavior")
@@ -368,6 +445,49 @@ module Aws::CloudFront
368
445
  CacheBehaviors.add_member(:items, Shapes::ShapeRef.new(shape: CacheBehaviorList, location_name: "Items"))
369
446
  CacheBehaviors.struct_class = Types::CacheBehaviors
370
447
 
448
+ CachePolicy.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
449
+ CachePolicy.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
450
+ CachePolicy.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, required: true, location_name: "CachePolicyConfig"))
451
+ CachePolicy.struct_class = Types::CachePolicy
452
+
453
+ CachePolicyAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
454
+ CachePolicyAlreadyExists.struct_class = Types::CachePolicyAlreadyExists
455
+
456
+ CachePolicyConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
457
+ CachePolicyConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
458
+ CachePolicyConfig.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
459
+ CachePolicyConfig.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
460
+ CachePolicyConfig.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, required: true, location_name: "MinTTL"))
461
+ CachePolicyConfig.add_member(:parameters_in_cache_key_and_forwarded_to_origin, Shapes::ShapeRef.new(shape: ParametersInCacheKeyAndForwardedToOrigin, location_name: "ParametersInCacheKeyAndForwardedToOrigin"))
462
+ CachePolicyConfig.struct_class = Types::CachePolicyConfig
463
+
464
+ CachePolicyCookiesConfig.add_member(:cookie_behavior, Shapes::ShapeRef.new(shape: CachePolicyCookieBehavior, required: true, location_name: "CookieBehavior"))
465
+ CachePolicyCookiesConfig.add_member(:cookies, Shapes::ShapeRef.new(shape: CookieNames, location_name: "Cookies"))
466
+ CachePolicyCookiesConfig.struct_class = Types::CachePolicyCookiesConfig
467
+
468
+ CachePolicyHeadersConfig.add_member(:header_behavior, Shapes::ShapeRef.new(shape: CachePolicyHeaderBehavior, required: true, location_name: "HeaderBehavior"))
469
+ CachePolicyHeadersConfig.add_member(:headers, Shapes::ShapeRef.new(shape: Headers, location_name: "Headers"))
470
+ CachePolicyHeadersConfig.struct_class = Types::CachePolicyHeadersConfig
471
+
472
+ CachePolicyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
473
+ CachePolicyInUse.struct_class = Types::CachePolicyInUse
474
+
475
+ CachePolicyList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
476
+ CachePolicyList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
477
+ CachePolicyList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
478
+ CachePolicyList.add_member(:items, Shapes::ShapeRef.new(shape: CachePolicySummaryList, location_name: "Items"))
479
+ CachePolicyList.struct_class = Types::CachePolicyList
480
+
481
+ CachePolicyQueryStringsConfig.add_member(:query_string_behavior, Shapes::ShapeRef.new(shape: CachePolicyQueryStringBehavior, required: true, location_name: "QueryStringBehavior"))
482
+ CachePolicyQueryStringsConfig.add_member(:query_strings, Shapes::ShapeRef.new(shape: QueryStringNames, location_name: "QueryStrings"))
483
+ CachePolicyQueryStringsConfig.struct_class = Types::CachePolicyQueryStringsConfig
484
+
485
+ CachePolicySummary.add_member(:type, Shapes::ShapeRef.new(shape: CachePolicyType, required: true, location_name: "Type"))
486
+ CachePolicySummary.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, required: true, location_name: "CachePolicy"))
487
+ CachePolicySummary.struct_class = Types::CachePolicySummary
488
+
489
+ CachePolicySummaryList.member = Shapes::ShapeRef.new(shape: CachePolicySummary, location_name: "CachePolicySummary")
490
+
371
491
  CachedMethods.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
372
492
  CachedMethods.add_member(:items, Shapes::ShapeRef.new(shape: MethodsList, required: true, location_name: "Items"))
373
493
  CachedMethods.struct_class = Types::CachedMethods
@@ -430,7 +550,19 @@ module Aws::CloudFront
430
550
  CookiePreference.add_member(:whitelisted_names, Shapes::ShapeRef.new(shape: CookieNames, location_name: "WhitelistedNames"))
431
551
  CookiePreference.struct_class = Types::CookiePreference
432
552
 
433
- CreateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
553
+ CreateCachePolicyRequest.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, required: true, location_name: "CachePolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
554
+ CreateCachePolicyRequest.struct_class = Types::CreateCachePolicyRequest
555
+ CreateCachePolicyRequest[:payload] = :cache_policy_config
556
+ CreateCachePolicyRequest[:payload_member] = CreateCachePolicyRequest.member(:cache_policy_config)
557
+
558
+ CreateCachePolicyResult.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, location_name: "CachePolicy"))
559
+ CreateCachePolicyResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
560
+ CreateCachePolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
561
+ CreateCachePolicyResult.struct_class = Types::CreateCachePolicyResult
562
+ CreateCachePolicyResult[:payload] = :cache_policy
563
+ CreateCachePolicyResult[:payload_member] = CreateCachePolicyResult.member(:cache_policy)
564
+
565
+ CreateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
434
566
  CreateCloudFrontOriginAccessIdentityRequest.struct_class = Types::CreateCloudFrontOriginAccessIdentityRequest
435
567
  CreateCloudFrontOriginAccessIdentityRequest[:payload] = :cloud_front_origin_access_identity_config
436
568
  CreateCloudFrontOriginAccessIdentityRequest[:payload_member] = CreateCloudFrontOriginAccessIdentityRequest.member(:cloud_front_origin_access_identity_config)
@@ -442,7 +574,7 @@ module Aws::CloudFront
442
574
  CreateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
443
575
  CreateCloudFrontOriginAccessIdentityResult[:payload_member] = CreateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
444
576
 
445
- CreateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
577
+ CreateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
446
578
  CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
447
579
  CreateDistributionRequest[:payload] = :distribution_config
448
580
  CreateDistributionRequest[:payload_member] = CreateDistributionRequest.member(:distribution_config)
@@ -454,7 +586,7 @@ module Aws::CloudFront
454
586
  CreateDistributionResult[:payload] = :distribution
455
587
  CreateDistributionResult[:payload_member] = CreateDistributionResult.member(:distribution)
456
588
 
457
- CreateDistributionWithTagsRequest.add_member(:distribution_config_with_tags, Shapes::ShapeRef.new(shape: DistributionConfigWithTags, required: true, location_name: "DistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
589
+ CreateDistributionWithTagsRequest.add_member(:distribution_config_with_tags, Shapes::ShapeRef.new(shape: DistributionConfigWithTags, required: true, location_name: "DistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
458
590
  CreateDistributionWithTagsRequest.struct_class = Types::CreateDistributionWithTagsRequest
459
591
  CreateDistributionWithTagsRequest[:payload] = :distribution_config_with_tags
460
592
  CreateDistributionWithTagsRequest[:payload_member] = CreateDistributionWithTagsRequest.member(:distribution_config_with_tags)
@@ -466,7 +598,7 @@ module Aws::CloudFront
466
598
  CreateDistributionWithTagsResult[:payload] = :distribution
467
599
  CreateDistributionWithTagsResult[:payload_member] = CreateDistributionWithTagsResult.member(:distribution)
468
600
 
469
- CreateFieldLevelEncryptionConfigRequest.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
601
+ CreateFieldLevelEncryptionConfigRequest.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
470
602
  CreateFieldLevelEncryptionConfigRequest.struct_class = Types::CreateFieldLevelEncryptionConfigRequest
471
603
  CreateFieldLevelEncryptionConfigRequest[:payload] = :field_level_encryption_config
472
604
  CreateFieldLevelEncryptionConfigRequest[:payload_member] = CreateFieldLevelEncryptionConfigRequest.member(:field_level_encryption_config)
@@ -478,7 +610,7 @@ module Aws::CloudFront
478
610
  CreateFieldLevelEncryptionConfigResult[:payload] = :field_level_encryption
479
611
  CreateFieldLevelEncryptionConfigResult[:payload_member] = CreateFieldLevelEncryptionConfigResult.member(:field_level_encryption)
480
612
 
481
- CreateFieldLevelEncryptionProfileRequest.add_member(:field_level_encryption_profile_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileConfig, required: true, location_name: "FieldLevelEncryptionProfileConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
613
+ CreateFieldLevelEncryptionProfileRequest.add_member(:field_level_encryption_profile_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileConfig, required: true, location_name: "FieldLevelEncryptionProfileConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
482
614
  CreateFieldLevelEncryptionProfileRequest.struct_class = Types::CreateFieldLevelEncryptionProfileRequest
483
615
  CreateFieldLevelEncryptionProfileRequest[:payload] = :field_level_encryption_profile_config
484
616
  CreateFieldLevelEncryptionProfileRequest[:payload_member] = CreateFieldLevelEncryptionProfileRequest.member(:field_level_encryption_profile_config)
@@ -491,7 +623,7 @@ module Aws::CloudFront
491
623
  CreateFieldLevelEncryptionProfileResult[:payload_member] = CreateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
492
624
 
493
625
  CreateInvalidationRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
494
- CreateInvalidationRequest.add_member(:invalidation_batch, Shapes::ShapeRef.new(shape: InvalidationBatch, required: true, location_name: "InvalidationBatch", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
626
+ CreateInvalidationRequest.add_member(:invalidation_batch, Shapes::ShapeRef.new(shape: InvalidationBatch, required: true, location_name: "InvalidationBatch", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
495
627
  CreateInvalidationRequest.struct_class = Types::CreateInvalidationRequest
496
628
  CreateInvalidationRequest[:payload] = :invalidation_batch
497
629
  CreateInvalidationRequest[:payload_member] = CreateInvalidationRequest.member(:invalidation_batch)
@@ -502,7 +634,19 @@ module Aws::CloudFront
502
634
  CreateInvalidationResult[:payload] = :invalidation
503
635
  CreateInvalidationResult[:payload_member] = CreateInvalidationResult.member(:invalidation)
504
636
 
505
- CreatePublicKeyRequest.add_member(:public_key_config, Shapes::ShapeRef.new(shape: PublicKeyConfig, required: true, location_name: "PublicKeyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
637
+ CreateOriginRequestPolicyRequest.add_member(:origin_request_policy_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyConfig, required: true, location_name: "OriginRequestPolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
638
+ CreateOriginRequestPolicyRequest.struct_class = Types::CreateOriginRequestPolicyRequest
639
+ CreateOriginRequestPolicyRequest[:payload] = :origin_request_policy_config
640
+ CreateOriginRequestPolicyRequest[:payload_member] = CreateOriginRequestPolicyRequest.member(:origin_request_policy_config)
641
+
642
+ CreateOriginRequestPolicyResult.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, location_name: "OriginRequestPolicy"))
643
+ CreateOriginRequestPolicyResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
644
+ CreateOriginRequestPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
645
+ CreateOriginRequestPolicyResult.struct_class = Types::CreateOriginRequestPolicyResult
646
+ CreateOriginRequestPolicyResult[:payload] = :origin_request_policy
647
+ CreateOriginRequestPolicyResult[:payload_member] = CreateOriginRequestPolicyResult.member(:origin_request_policy)
648
+
649
+ CreatePublicKeyRequest.add_member(:public_key_config, Shapes::ShapeRef.new(shape: PublicKeyConfig, required: true, location_name: "PublicKeyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
506
650
  CreatePublicKeyRequest.struct_class = Types::CreatePublicKeyRequest
507
651
  CreatePublicKeyRequest[:payload] = :public_key_config
508
652
  CreatePublicKeyRequest[:payload_member] = CreatePublicKeyRequest.member(:public_key_config)
@@ -514,7 +658,7 @@ module Aws::CloudFront
514
658
  CreatePublicKeyResult[:payload] = :public_key
515
659
  CreatePublicKeyResult[:payload_member] = CreatePublicKeyResult.member(:public_key)
516
660
 
517
- CreateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
661
+ CreateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
518
662
  CreateStreamingDistributionRequest.struct_class = Types::CreateStreamingDistributionRequest
519
663
  CreateStreamingDistributionRequest[:payload] = :streaming_distribution_config
520
664
  CreateStreamingDistributionRequest[:payload_member] = CreateStreamingDistributionRequest.member(:streaming_distribution_config)
@@ -526,7 +670,7 @@ module Aws::CloudFront
526
670
  CreateStreamingDistributionResult[:payload] = :streaming_distribution
527
671
  CreateStreamingDistributionResult[:payload_member] = CreateStreamingDistributionResult.member(:streaming_distribution)
528
672
 
529
- CreateStreamingDistributionWithTagsRequest.add_member(:streaming_distribution_config_with_tags, Shapes::ShapeRef.new(shape: StreamingDistributionConfigWithTags, required: true, location_name: "StreamingDistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
673
+ CreateStreamingDistributionWithTagsRequest.add_member(:streaming_distribution_config_with_tags, Shapes::ShapeRef.new(shape: StreamingDistributionConfigWithTags, required: true, location_name: "StreamingDistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
530
674
  CreateStreamingDistributionWithTagsRequest.struct_class = Types::CreateStreamingDistributionWithTagsRequest
531
675
  CreateStreamingDistributionWithTagsRequest[:payload] = :streaming_distribution_config_with_tags
532
676
  CreateStreamingDistributionWithTagsRequest[:payload_member] = CreateStreamingDistributionWithTagsRequest.member(:streaming_distribution_config_with_tags)
@@ -563,19 +707,25 @@ module Aws::CloudFront
563
707
  CustomOriginConfig.struct_class = Types::CustomOriginConfig
564
708
 
565
709
  DefaultCacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
566
- DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, required: true, location_name: "ForwardedValues"))
567
710
  DefaultCacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
568
711
  DefaultCacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
569
- DefaultCacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, required: true, location_name: "MinTTL"))
570
712
  DefaultCacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
571
713
  DefaultCacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
572
- DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
573
- DefaultCacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
574
714
  DefaultCacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
575
715
  DefaultCacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
576
716
  DefaultCacheBehavior.add_member(:field_level_encryption_id, Shapes::ShapeRef.new(shape: string, location_name: "FieldLevelEncryptionId"))
717
+ DefaultCacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
718
+ DefaultCacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
719
+ DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
720
+ DefaultCacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
721
+ DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
722
+ DefaultCacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MaxTTL"))
577
723
  DefaultCacheBehavior.struct_class = Types::DefaultCacheBehavior
578
724
 
725
+ DeleteCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
726
+ DeleteCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
727
+ DeleteCachePolicyRequest.struct_class = Types::DeleteCachePolicyRequest
728
+
579
729
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
580
730
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
581
731
  DeleteCloudFrontOriginAccessIdentityRequest.struct_class = Types::DeleteCloudFrontOriginAccessIdentityRequest
@@ -592,6 +742,10 @@ module Aws::CloudFront
592
742
  DeleteFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
593
743
  DeleteFieldLevelEncryptionProfileRequest.struct_class = Types::DeleteFieldLevelEncryptionProfileRequest
594
744
 
745
+ DeleteOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
746
+ DeleteOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
747
+ DeleteOriginRequestPolicyRequest.struct_class = Types::DeleteOriginRequestPolicyRequest
748
+
595
749
  DeletePublicKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
596
750
  DeletePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
597
751
  DeletePublicKeyRequest.struct_class = Types::DeletePublicKeyRequest
@@ -637,6 +791,16 @@ module Aws::CloudFront
637
791
  DistributionConfigWithTags.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
638
792
  DistributionConfigWithTags.struct_class = Types::DistributionConfigWithTags
639
793
 
794
+ DistributionIdList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
795
+ DistributionIdList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
796
+ DistributionIdList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
797
+ DistributionIdList.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
798
+ DistributionIdList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
799
+ DistributionIdList.add_member(:items, Shapes::ShapeRef.new(shape: DistributionIdListSummary, location_name: "Items"))
800
+ DistributionIdList.struct_class = Types::DistributionIdList
801
+
802
+ DistributionIdListSummary.member = Shapes::ShapeRef.new(shape: string, location_name: "DistributionId")
803
+
640
804
  DistributionList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
641
805
  DistributionList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
642
806
  DistributionList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
@@ -767,6 +931,24 @@ module Aws::CloudFront
767
931
  GeoRestriction.add_member(:items, Shapes::ShapeRef.new(shape: LocationList, location_name: "Items"))
768
932
  GeoRestriction.struct_class = Types::GeoRestriction
769
933
 
934
+ GetCachePolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
935
+ GetCachePolicyConfigRequest.struct_class = Types::GetCachePolicyConfigRequest
936
+
937
+ GetCachePolicyConfigResult.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, location_name: "CachePolicyConfig"))
938
+ GetCachePolicyConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
939
+ GetCachePolicyConfigResult.struct_class = Types::GetCachePolicyConfigResult
940
+ GetCachePolicyConfigResult[:payload] = :cache_policy_config
941
+ GetCachePolicyConfigResult[:payload_member] = GetCachePolicyConfigResult.member(:cache_policy_config)
942
+
943
+ GetCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
944
+ GetCachePolicyRequest.struct_class = Types::GetCachePolicyRequest
945
+
946
+ GetCachePolicyResult.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, location_name: "CachePolicy"))
947
+ GetCachePolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
948
+ GetCachePolicyResult.struct_class = Types::GetCachePolicyResult
949
+ GetCachePolicyResult[:payload] = :cache_policy
950
+ GetCachePolicyResult[:payload_member] = GetCachePolicyResult.member(:cache_policy)
951
+
770
952
  GetCloudFrontOriginAccessIdentityConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
771
953
  GetCloudFrontOriginAccessIdentityConfigRequest.struct_class = Types::GetCloudFrontOriginAccessIdentityConfigRequest
772
954
 
@@ -848,6 +1030,24 @@ module Aws::CloudFront
848
1030
  GetInvalidationResult[:payload] = :invalidation
849
1031
  GetInvalidationResult[:payload_member] = GetInvalidationResult.member(:invalidation)
850
1032
 
1033
+ GetOriginRequestPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1034
+ GetOriginRequestPolicyConfigRequest.struct_class = Types::GetOriginRequestPolicyConfigRequest
1035
+
1036
+ GetOriginRequestPolicyConfigResult.add_member(:origin_request_policy_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyConfig, location_name: "OriginRequestPolicyConfig"))
1037
+ GetOriginRequestPolicyConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1038
+ GetOriginRequestPolicyConfigResult.struct_class = Types::GetOriginRequestPolicyConfigResult
1039
+ GetOriginRequestPolicyConfigResult[:payload] = :origin_request_policy_config
1040
+ GetOriginRequestPolicyConfigResult[:payload_member] = GetOriginRequestPolicyConfigResult.member(:origin_request_policy_config)
1041
+
1042
+ GetOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1043
+ GetOriginRequestPolicyRequest.struct_class = Types::GetOriginRequestPolicyRequest
1044
+
1045
+ GetOriginRequestPolicyResult.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, location_name: "OriginRequestPolicy"))
1046
+ GetOriginRequestPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1047
+ GetOriginRequestPolicyResult.struct_class = Types::GetOriginRequestPolicyResult
1048
+ GetOriginRequestPolicyResult[:payload] = :origin_request_policy
1049
+ GetOriginRequestPolicyResult[:payload_member] = GetOriginRequestPolicyResult.member(:origin_request_policy)
1050
+
851
1051
  GetPublicKeyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
852
1052
  GetPublicKeyConfigRequest.struct_class = Types::GetPublicKeyConfigRequest
853
1053
 
@@ -890,6 +1090,9 @@ module Aws::CloudFront
890
1090
  Headers.add_member(:items, Shapes::ShapeRef.new(shape: HeaderList, location_name: "Items"))
891
1091
  Headers.struct_class = Types::Headers
892
1092
 
1093
+ IllegalDelete.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1094
+ IllegalDelete.struct_class = Types::IllegalDelete
1095
+
893
1096
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
894
1097
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.struct_class = Types::IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
895
1098
 
@@ -1010,6 +1213,16 @@ module Aws::CloudFront
1010
1213
  LambdaFunctionAssociations.add_member(:items, Shapes::ShapeRef.new(shape: LambdaFunctionAssociationList, location_name: "Items"))
1011
1214
  LambdaFunctionAssociations.struct_class = Types::LambdaFunctionAssociations
1012
1215
 
1216
+ ListCachePoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: CachePolicyType, location: "querystring", location_name: "Type"))
1217
+ ListCachePoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1218
+ ListCachePoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1219
+ ListCachePoliciesRequest.struct_class = Types::ListCachePoliciesRequest
1220
+
1221
+ ListCachePoliciesResult.add_member(:cache_policy_list, Shapes::ShapeRef.new(shape: CachePolicyList, location_name: "CachePolicyList"))
1222
+ ListCachePoliciesResult.struct_class = Types::ListCachePoliciesResult
1223
+ ListCachePoliciesResult[:payload] = :cache_policy_list
1224
+ ListCachePoliciesResult[:payload_member] = ListCachePoliciesResult.member(:cache_policy_list)
1225
+
1013
1226
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1014
1227
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1015
1228
  ListCloudFrontOriginAccessIdentitiesRequest.struct_class = Types::ListCloudFrontOriginAccessIdentitiesRequest
@@ -1019,6 +1232,26 @@ module Aws::CloudFront
1019
1232
  ListCloudFrontOriginAccessIdentitiesResult[:payload] = :cloud_front_origin_access_identity_list
1020
1233
  ListCloudFrontOriginAccessIdentitiesResult[:payload_member] = ListCloudFrontOriginAccessIdentitiesResult.member(:cloud_front_origin_access_identity_list)
1021
1234
 
1235
+ ListDistributionsByCachePolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1236
+ ListDistributionsByCachePolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1237
+ ListDistributionsByCachePolicyIdRequest.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "CachePolicyId"))
1238
+ ListDistributionsByCachePolicyIdRequest.struct_class = Types::ListDistributionsByCachePolicyIdRequest
1239
+
1240
+ ListDistributionsByCachePolicyIdResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
1241
+ ListDistributionsByCachePolicyIdResult.struct_class = Types::ListDistributionsByCachePolicyIdResult
1242
+ ListDistributionsByCachePolicyIdResult[:payload] = :distribution_id_list
1243
+ ListDistributionsByCachePolicyIdResult[:payload_member] = ListDistributionsByCachePolicyIdResult.member(:distribution_id_list)
1244
+
1245
+ ListDistributionsByOriginRequestPolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1246
+ ListDistributionsByOriginRequestPolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1247
+ ListDistributionsByOriginRequestPolicyIdRequest.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "OriginRequestPolicyId"))
1248
+ ListDistributionsByOriginRequestPolicyIdRequest.struct_class = Types::ListDistributionsByOriginRequestPolicyIdRequest
1249
+
1250
+ ListDistributionsByOriginRequestPolicyIdResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
1251
+ ListDistributionsByOriginRequestPolicyIdResult.struct_class = Types::ListDistributionsByOriginRequestPolicyIdResult
1252
+ ListDistributionsByOriginRequestPolicyIdResult[:payload] = :distribution_id_list
1253
+ ListDistributionsByOriginRequestPolicyIdResult[:payload_member] = ListDistributionsByOriginRequestPolicyIdResult.member(:distribution_id_list)
1254
+
1022
1255
  ListDistributionsByWebACLIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1023
1256
  ListDistributionsByWebACLIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1024
1257
  ListDistributionsByWebACLIdRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "WebACLId"))
@@ -1066,6 +1299,16 @@ module Aws::CloudFront
1066
1299
  ListInvalidationsResult[:payload] = :invalidation_list
1067
1300
  ListInvalidationsResult[:payload_member] = ListInvalidationsResult.member(:invalidation_list)
1068
1301
 
1302
+ ListOriginRequestPoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, location: "querystring", location_name: "Type"))
1303
+ ListOriginRequestPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1304
+ ListOriginRequestPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1305
+ ListOriginRequestPoliciesRequest.struct_class = Types::ListOriginRequestPoliciesRequest
1306
+
1307
+ ListOriginRequestPoliciesResult.add_member(:origin_request_policy_list, Shapes::ShapeRef.new(shape: OriginRequestPolicyList, location_name: "OriginRequestPolicyList"))
1308
+ ListOriginRequestPoliciesResult.struct_class = Types::ListOriginRequestPoliciesResult
1309
+ ListOriginRequestPoliciesResult[:payload] = :origin_request_policy_list
1310
+ ListOriginRequestPoliciesResult[:payload_member] = ListOriginRequestPoliciesResult.member(:origin_request_policy_list)
1311
+
1069
1312
  ListPublicKeysRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1070
1313
  ListPublicKeysRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1071
1314
  ListPublicKeysRequest.struct_class = Types::ListPublicKeysRequest
@@ -1105,6 +1348,9 @@ module Aws::CloudFront
1105
1348
  MissingBody.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1106
1349
  MissingBody.struct_class = Types::MissingBody
1107
1350
 
1351
+ NoSuchCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1352
+ NoSuchCachePolicy.struct_class = Types::NoSuchCachePolicy
1353
+
1108
1354
  NoSuchCloudFrontOriginAccessIdentity.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1109
1355
  NoSuchCloudFrontOriginAccessIdentity.struct_class = Types::NoSuchCloudFrontOriginAccessIdentity
1110
1356
 
@@ -1123,6 +1369,9 @@ module Aws::CloudFront
1123
1369
  NoSuchOrigin.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1124
1370
  NoSuchOrigin.struct_class = Types::NoSuchOrigin
1125
1371
 
1372
+ NoSuchOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1373
+ NoSuchOriginRequestPolicy.struct_class = Types::NoSuchOriginRequestPolicy
1374
+
1126
1375
  NoSuchPublicKey.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1127
1376
  NoSuchPublicKey.struct_class = Types::NoSuchPublicKey
1128
1377
 
@@ -1173,6 +1422,48 @@ module Aws::CloudFront
1173
1422
 
1174
1423
  OriginList.member = Shapes::ShapeRef.new(shape: Origin, location_name: "Origin")
1175
1424
 
1425
+ OriginRequestPolicy.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
1426
+ OriginRequestPolicy.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
1427
+ OriginRequestPolicy.add_member(:origin_request_policy_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyConfig, required: true, location_name: "OriginRequestPolicyConfig"))
1428
+ OriginRequestPolicy.struct_class = Types::OriginRequestPolicy
1429
+
1430
+ OriginRequestPolicyAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1431
+ OriginRequestPolicyAlreadyExists.struct_class = Types::OriginRequestPolicyAlreadyExists
1432
+
1433
+ OriginRequestPolicyConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
1434
+ OriginRequestPolicyConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
1435
+ OriginRequestPolicyConfig.add_member(:headers_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1436
+ OriginRequestPolicyConfig.add_member(:cookies_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1437
+ OriginRequestPolicyConfig.add_member(:query_strings_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyQueryStringsConfig, required: true, location_name: "QueryStringsConfig"))
1438
+ OriginRequestPolicyConfig.struct_class = Types::OriginRequestPolicyConfig
1439
+
1440
+ OriginRequestPolicyCookiesConfig.add_member(:cookie_behavior, Shapes::ShapeRef.new(shape: OriginRequestPolicyCookieBehavior, required: true, location_name: "CookieBehavior"))
1441
+ OriginRequestPolicyCookiesConfig.add_member(:cookies, Shapes::ShapeRef.new(shape: CookieNames, location_name: "Cookies"))
1442
+ OriginRequestPolicyCookiesConfig.struct_class = Types::OriginRequestPolicyCookiesConfig
1443
+
1444
+ OriginRequestPolicyHeadersConfig.add_member(:header_behavior, Shapes::ShapeRef.new(shape: OriginRequestPolicyHeaderBehavior, required: true, location_name: "HeaderBehavior"))
1445
+ OriginRequestPolicyHeadersConfig.add_member(:headers, Shapes::ShapeRef.new(shape: Headers, location_name: "Headers"))
1446
+ OriginRequestPolicyHeadersConfig.struct_class = Types::OriginRequestPolicyHeadersConfig
1447
+
1448
+ OriginRequestPolicyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1449
+ OriginRequestPolicyInUse.struct_class = Types::OriginRequestPolicyInUse
1450
+
1451
+ OriginRequestPolicyList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
1452
+ OriginRequestPolicyList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
1453
+ OriginRequestPolicyList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1454
+ OriginRequestPolicyList.add_member(:items, Shapes::ShapeRef.new(shape: OriginRequestPolicySummaryList, location_name: "Items"))
1455
+ OriginRequestPolicyList.struct_class = Types::OriginRequestPolicyList
1456
+
1457
+ OriginRequestPolicyQueryStringsConfig.add_member(:query_string_behavior, Shapes::ShapeRef.new(shape: OriginRequestPolicyQueryStringBehavior, required: true, location_name: "QueryStringBehavior"))
1458
+ OriginRequestPolicyQueryStringsConfig.add_member(:query_strings, Shapes::ShapeRef.new(shape: QueryStringNames, location_name: "QueryStrings"))
1459
+ OriginRequestPolicyQueryStringsConfig.struct_class = Types::OriginRequestPolicyQueryStringsConfig
1460
+
1461
+ OriginRequestPolicySummary.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, required: true, location_name: "Type"))
1462
+ OriginRequestPolicySummary.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, required: true, location_name: "OriginRequestPolicy"))
1463
+ OriginRequestPolicySummary.struct_class = Types::OriginRequestPolicySummary
1464
+
1465
+ OriginRequestPolicySummaryList.member = Shapes::ShapeRef.new(shape: OriginRequestPolicySummary, location_name: "OriginRequestPolicySummary")
1466
+
1176
1467
  OriginSslProtocols.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1177
1468
  OriginSslProtocols.add_member(:items, Shapes::ShapeRef.new(shape: SslProtocolsList, required: true, location_name: "Items"))
1178
1469
  OriginSslProtocols.struct_class = Types::OriginSslProtocols
@@ -1181,6 +1472,12 @@ module Aws::CloudFront
1181
1472
  Origins.add_member(:items, Shapes::ShapeRef.new(shape: OriginList, required: true, location_name: "Items"))
1182
1473
  Origins.struct_class = Types::Origins
1183
1474
 
1475
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:enable_accept_encoding_gzip, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "EnableAcceptEncodingGzip"))
1476
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:headers_config, Shapes::ShapeRef.new(shape: CachePolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1477
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:cookies_config, Shapes::ShapeRef.new(shape: CachePolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1478
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:query_strings_config, Shapes::ShapeRef.new(shape: CachePolicyQueryStringsConfig, required: true, location_name: "QueryStringsConfig"))
1479
+ ParametersInCacheKeyAndForwardedToOrigin.struct_class = Types::ParametersInCacheKeyAndForwardedToOrigin
1480
+
1184
1481
  PathList.member = Shapes::ShapeRef.new(shape: string, location_name: "Path")
1185
1482
 
1186
1483
  Paths.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -1245,6 +1542,12 @@ module Aws::CloudFront
1245
1542
 
1246
1543
  QueryStringCacheKeysList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1247
1544
 
1545
+ QueryStringNames.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1546
+ QueryStringNames.add_member(:items, Shapes::ShapeRef.new(shape: QueryStringNamesList, location_name: "Items"))
1547
+ QueryStringNames.struct_class = Types::QueryStringNames
1548
+
1549
+ QueryStringNamesList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1550
+
1248
1551
  Restrictions.add_member(:geo_restriction, Shapes::ShapeRef.new(shape: GeoRestriction, required: true, location_name: "GeoRestriction"))
1249
1552
  Restrictions.struct_class = Types::Restrictions
1250
1553
 
@@ -1338,7 +1641,7 @@ module Aws::CloudFront
1338
1641
  TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
1339
1642
 
1340
1643
  TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "Resource"))
1341
- TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
1644
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1342
1645
  TagResourceRequest.struct_class = Types::TagResourceRequest
1343
1646
  TagResourceRequest[:payload] = :tags
1344
1647
  TagResourceRequest[:payload_member] = TagResourceRequest.member(:tags)
@@ -1349,6 +1652,9 @@ module Aws::CloudFront
1349
1652
  TooManyCacheBehaviors.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1350
1653
  TooManyCacheBehaviors.struct_class = Types::TooManyCacheBehaviors
1351
1654
 
1655
+ TooManyCachePolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1656
+ TooManyCachePolicies.struct_class = Types::TooManyCachePolicies
1657
+
1352
1658
  TooManyCertificates.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1353
1659
  TooManyCertificates.struct_class = Types::TooManyCertificates
1354
1660
 
@@ -1358,18 +1664,33 @@ module Aws::CloudFront
1358
1664
  TooManyCookieNamesInWhiteList.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1359
1665
  TooManyCookieNamesInWhiteList.struct_class = Types::TooManyCookieNamesInWhiteList
1360
1666
 
1667
+ TooManyCookiesInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1668
+ TooManyCookiesInCachePolicy.struct_class = Types::TooManyCookiesInCachePolicy
1669
+
1670
+ TooManyCookiesInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1671
+ TooManyCookiesInOriginRequestPolicy.struct_class = Types::TooManyCookiesInOriginRequestPolicy
1672
+
1361
1673
  TooManyDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1362
1674
  TooManyDistributionCNAMEs.struct_class = Types::TooManyDistributionCNAMEs
1363
1675
 
1364
1676
  TooManyDistributions.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1365
1677
  TooManyDistributions.struct_class = Types::TooManyDistributions
1366
1678
 
1679
+ TooManyDistributionsAssociatedToCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1680
+ TooManyDistributionsAssociatedToCachePolicy.struct_class = Types::TooManyDistributionsAssociatedToCachePolicy
1681
+
1367
1682
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1368
1683
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.struct_class = Types::TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
1369
1684
 
1685
+ TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1686
+ TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
1687
+
1370
1688
  TooManyDistributionsWithLambdaAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1371
1689
  TooManyDistributionsWithLambdaAssociations.struct_class = Types::TooManyDistributionsWithLambdaAssociations
1372
1690
 
1691
+ TooManyDistributionsWithSingleFunctionARN.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1692
+ TooManyDistributionsWithSingleFunctionARN.struct_class = Types::TooManyDistributionsWithSingleFunctionARN
1693
+
1373
1694
  TooManyFieldLevelEncryptionConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1374
1695
  TooManyFieldLevelEncryptionConfigs.struct_class = Types::TooManyFieldLevelEncryptionConfigs
1375
1696
 
@@ -1388,9 +1709,15 @@ module Aws::CloudFront
1388
1709
  TooManyFieldLevelEncryptionQueryArgProfiles.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1389
1710
  TooManyFieldLevelEncryptionQueryArgProfiles.struct_class = Types::TooManyFieldLevelEncryptionQueryArgProfiles
1390
1711
 
1712
+ TooManyHeadersInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1713
+ TooManyHeadersInCachePolicy.struct_class = Types::TooManyHeadersInCachePolicy
1714
+
1391
1715
  TooManyHeadersInForwardedValues.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1392
1716
  TooManyHeadersInForwardedValues.struct_class = Types::TooManyHeadersInForwardedValues
1393
1717
 
1718
+ TooManyHeadersInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1719
+ TooManyHeadersInOriginRequestPolicy.struct_class = Types::TooManyHeadersInOriginRequestPolicy
1720
+
1394
1721
  TooManyInvalidationsInProgress.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1395
1722
  TooManyInvalidationsInProgress.struct_class = Types::TooManyInvalidationsInProgress
1396
1723
 
@@ -1403,6 +1730,9 @@ module Aws::CloudFront
1403
1730
  TooManyOriginGroupsPerDistribution.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1404
1731
  TooManyOriginGroupsPerDistribution.struct_class = Types::TooManyOriginGroupsPerDistribution
1405
1732
 
1733
+ TooManyOriginRequestPolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1734
+ TooManyOriginRequestPolicies.struct_class = Types::TooManyOriginRequestPolicies
1735
+
1406
1736
  TooManyOrigins.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1407
1737
  TooManyOrigins.struct_class = Types::TooManyOrigins
1408
1738
 
@@ -1412,6 +1742,12 @@ module Aws::CloudFront
1412
1742
  TooManyQueryStringParameters.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1413
1743
  TooManyQueryStringParameters.struct_class = Types::TooManyQueryStringParameters
1414
1744
 
1745
+ TooManyQueryStringsInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1746
+ TooManyQueryStringsInCachePolicy.struct_class = Types::TooManyQueryStringsInCachePolicy
1747
+
1748
+ TooManyQueryStringsInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1749
+ TooManyQueryStringsInOriginRequestPolicy.struct_class = Types::TooManyQueryStringsInOriginRequestPolicy
1750
+
1415
1751
  TooManyStreamingDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1416
1752
  TooManyStreamingDistributionCNAMEs.struct_class = Types::TooManyStreamingDistributionCNAMEs
1417
1753
 
@@ -1430,12 +1766,25 @@ module Aws::CloudFront
1430
1766
  TrustedSigners.struct_class = Types::TrustedSigners
1431
1767
 
1432
1768
  UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "Resource"))
1433
- UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
1769
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1434
1770
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
1435
1771
  UntagResourceRequest[:payload] = :tag_keys
1436
1772
  UntagResourceRequest[:payload_member] = UntagResourceRequest.member(:tag_keys)
1437
1773
 
1438
- UpdateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
1774
+ UpdateCachePolicyRequest.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, required: true, location_name: "CachePolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1775
+ UpdateCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1776
+ UpdateCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1777
+ UpdateCachePolicyRequest.struct_class = Types::UpdateCachePolicyRequest
1778
+ UpdateCachePolicyRequest[:payload] = :cache_policy_config
1779
+ UpdateCachePolicyRequest[:payload_member] = UpdateCachePolicyRequest.member(:cache_policy_config)
1780
+
1781
+ UpdateCachePolicyResult.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, location_name: "CachePolicy"))
1782
+ UpdateCachePolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1783
+ UpdateCachePolicyResult.struct_class = Types::UpdateCachePolicyResult
1784
+ UpdateCachePolicyResult[:payload] = :cache_policy
1785
+ UpdateCachePolicyResult[:payload_member] = UpdateCachePolicyResult.member(:cache_policy)
1786
+
1787
+ UpdateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1439
1788
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1440
1789
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1441
1790
  UpdateCloudFrontOriginAccessIdentityRequest.struct_class = Types::UpdateCloudFrontOriginAccessIdentityRequest
@@ -1448,7 +1797,7 @@ module Aws::CloudFront
1448
1797
  UpdateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
1449
1798
  UpdateCloudFrontOriginAccessIdentityResult[:payload_member] = UpdateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
1450
1799
 
1451
- UpdateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
1800
+ UpdateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1452
1801
  UpdateDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1453
1802
  UpdateDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1454
1803
  UpdateDistributionRequest.struct_class = Types::UpdateDistributionRequest
@@ -1461,7 +1810,7 @@ module Aws::CloudFront
1461
1810
  UpdateDistributionResult[:payload] = :distribution
1462
1811
  UpdateDistributionResult[:payload_member] = UpdateDistributionResult.member(:distribution)
1463
1812
 
1464
- UpdateFieldLevelEncryptionConfigRequest.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
1813
+ UpdateFieldLevelEncryptionConfigRequest.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1465
1814
  UpdateFieldLevelEncryptionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1466
1815
  UpdateFieldLevelEncryptionConfigRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1467
1816
  UpdateFieldLevelEncryptionConfigRequest.struct_class = Types::UpdateFieldLevelEncryptionConfigRequest
@@ -1474,7 +1823,7 @@ module Aws::CloudFront
1474
1823
  UpdateFieldLevelEncryptionConfigResult[:payload] = :field_level_encryption
1475
1824
  UpdateFieldLevelEncryptionConfigResult[:payload_member] = UpdateFieldLevelEncryptionConfigResult.member(:field_level_encryption)
1476
1825
 
1477
- UpdateFieldLevelEncryptionProfileRequest.add_member(:field_level_encryption_profile_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileConfig, required: true, location_name: "FieldLevelEncryptionProfileConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
1826
+ UpdateFieldLevelEncryptionProfileRequest.add_member(:field_level_encryption_profile_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileConfig, required: true, location_name: "FieldLevelEncryptionProfileConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1478
1827
  UpdateFieldLevelEncryptionProfileRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1479
1828
  UpdateFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1480
1829
  UpdateFieldLevelEncryptionProfileRequest.struct_class = Types::UpdateFieldLevelEncryptionProfileRequest
@@ -1487,7 +1836,20 @@ module Aws::CloudFront
1487
1836
  UpdateFieldLevelEncryptionProfileResult[:payload] = :field_level_encryption_profile
1488
1837
  UpdateFieldLevelEncryptionProfileResult[:payload_member] = UpdateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
1489
1838
 
1490
- UpdatePublicKeyRequest.add_member(:public_key_config, Shapes::ShapeRef.new(shape: PublicKeyConfig, required: true, location_name: "PublicKeyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
1839
+ UpdateOriginRequestPolicyRequest.add_member(:origin_request_policy_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyConfig, required: true, location_name: "OriginRequestPolicyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1840
+ UpdateOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1841
+ UpdateOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1842
+ UpdateOriginRequestPolicyRequest.struct_class = Types::UpdateOriginRequestPolicyRequest
1843
+ UpdateOriginRequestPolicyRequest[:payload] = :origin_request_policy_config
1844
+ UpdateOriginRequestPolicyRequest[:payload_member] = UpdateOriginRequestPolicyRequest.member(:origin_request_policy_config)
1845
+
1846
+ UpdateOriginRequestPolicyResult.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, location_name: "OriginRequestPolicy"))
1847
+ UpdateOriginRequestPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1848
+ UpdateOriginRequestPolicyResult.struct_class = Types::UpdateOriginRequestPolicyResult
1849
+ UpdateOriginRequestPolicyResult[:payload] = :origin_request_policy
1850
+ UpdateOriginRequestPolicyResult[:payload_member] = UpdateOriginRequestPolicyResult.member(:origin_request_policy)
1851
+
1852
+ UpdatePublicKeyRequest.add_member(:public_key_config, Shapes::ShapeRef.new(shape: PublicKeyConfig, required: true, location_name: "PublicKeyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1491
1853
  UpdatePublicKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1492
1854
  UpdatePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1493
1855
  UpdatePublicKeyRequest.struct_class = Types::UpdatePublicKeyRequest
@@ -1500,7 +1862,7 @@ module Aws::CloudFront
1500
1862
  UpdatePublicKeyResult[:payload] = :public_key
1501
1863
  UpdatePublicKeyResult[:payload_member] = UpdatePublicKeyResult.member(:public_key)
1502
1864
 
1503
- UpdateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
1865
+ UpdateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
1504
1866
  UpdateStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1505
1867
  UpdateStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1506
1868
  UpdateStreamingDistributionRequest.struct_class = Types::UpdateStreamingDistributionRequest
@@ -1526,10 +1888,10 @@ module Aws::CloudFront
1526
1888
  # @api private
1527
1889
  API = Seahorse::Model::Api.new.tap do |api|
1528
1890
 
1529
- api.version = "2019-03-26"
1891
+ api.version = "2020-05-31"
1530
1892
 
1531
1893
  api.metadata = {
1532
- "apiVersion" => "2019-03-26",
1894
+ "apiVersion" => "2020-05-31",
1533
1895
  "endpointPrefix" => "cloudfront",
1534
1896
  "globalEndpoint" => "cloudfront.amazonaws.com",
1535
1897
  "protocol" => "rest-xml",
@@ -1537,13 +1899,29 @@ module Aws::CloudFront
1537
1899
  "serviceFullName" => "Amazon CloudFront",
1538
1900
  "serviceId" => "CloudFront",
1539
1901
  "signatureVersion" => "v4",
1540
- "uid" => "cloudfront-2019-03-26",
1902
+ "uid" => "cloudfront-2020-05-31",
1541
1903
  }
1542
1904
 
1905
+ api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
1906
+ o.name = "CreateCachePolicy2020_05_31"
1907
+ o.http_method = "POST"
1908
+ o.http_request_uri = "/2020-05-31/cache-policy"
1909
+ o.input = Shapes::ShapeRef.new(shape: CreateCachePolicyRequest)
1910
+ o.output = Shapes::ShapeRef.new(shape: CreateCachePolicyResult)
1911
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1912
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
1913
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
1914
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
1915
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCachePolicies)
1916
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInCachePolicy)
1917
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInCachePolicy)
1918
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInCachePolicy)
1919
+ end)
1920
+
1543
1921
  api.add_operation(:create_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1544
- o.name = "CreateCloudFrontOriginAccessIdentity2019_03_26"
1922
+ o.name = "CreateCloudFrontOriginAccessIdentity2020_05_31"
1545
1923
  o.http_method = "POST"
1546
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront"
1924
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront"
1547
1925
  o.input = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityRequest)
1548
1926
  o.output = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityResult)
1549
1927
  o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityAlreadyExists)
@@ -1554,9 +1932,9 @@ module Aws::CloudFront
1554
1932
  end)
1555
1933
 
1556
1934
  api.add_operation(:create_distribution, Seahorse::Model::Operation.new.tap do |o|
1557
- o.name = "CreateDistribution2019_03_26"
1935
+ o.name = "CreateDistribution2020_05_31"
1558
1936
  o.http_method = "POST"
1559
- o.http_request_uri = "/2019-03-26/distribution"
1937
+ o.http_request_uri = "/2020-05-31/distribution"
1560
1938
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionRequest)
1561
1939
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionResult)
1562
1940
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1596,6 +1974,7 @@ module Aws::CloudFront
1596
1974
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
1597
1975
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
1598
1976
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
1977
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
1599
1978
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
1600
1979
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
1601
1980
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -1603,12 +1982,16 @@ module Aws::CloudFront
1603
1982
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
1604
1983
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
1605
1984
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
1985
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
1986
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
1987
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
1988
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
1606
1989
  end)
1607
1990
 
1608
1991
  api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
1609
- o.name = "CreateDistributionWithTags2019_03_26"
1992
+ o.name = "CreateDistributionWithTags2020_05_31"
1610
1993
  o.http_method = "POST"
1611
- o.http_request_uri = "/2019-03-26/distribution?WithTags"
1994
+ o.http_request_uri = "/2020-05-31/distribution?WithTags"
1612
1995
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsRequest)
1613
1996
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsResult)
1614
1997
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1649,6 +2032,7 @@ module Aws::CloudFront
1649
2032
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
1650
2033
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
1651
2034
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2035
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
1652
2036
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
1653
2037
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
1654
2038
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -1656,12 +2040,16 @@ module Aws::CloudFront
1656
2040
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
1657
2041
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
1658
2042
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2043
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2044
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2045
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2046
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
1659
2047
  end)
1660
2048
 
1661
2049
  api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1662
- o.name = "CreateFieldLevelEncryptionConfig2019_03_26"
2050
+ o.name = "CreateFieldLevelEncryptionConfig2020_05_31"
1663
2051
  o.http_method = "POST"
1664
- o.http_request_uri = "/2019-03-26/field-level-encryption"
2052
+ o.http_request_uri = "/2020-05-31/field-level-encryption"
1665
2053
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigRequest)
1666
2054
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigResult)
1667
2055
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
@@ -1675,9 +2063,9 @@ module Aws::CloudFront
1675
2063
  end)
1676
2064
 
1677
2065
  api.add_operation(:create_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1678
- o.name = "CreateFieldLevelEncryptionProfile2019_03_26"
2066
+ o.name = "CreateFieldLevelEncryptionProfile2020_05_31"
1679
2067
  o.http_method = "POST"
1680
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile"
2068
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile"
1681
2069
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileRequest)
1682
2070
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileResult)
1683
2071
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
@@ -1691,9 +2079,9 @@ module Aws::CloudFront
1691
2079
  end)
1692
2080
 
1693
2081
  api.add_operation(:create_invalidation, Seahorse::Model::Operation.new.tap do |o|
1694
- o.name = "CreateInvalidation2019_03_26"
2082
+ o.name = "CreateInvalidation2020_05_31"
1695
2083
  o.http_method = "POST"
1696
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation"
2084
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
1697
2085
  o.input = Shapes::ShapeRef.new(shape: CreateInvalidationRequest)
1698
2086
  o.output = Shapes::ShapeRef.new(shape: CreateInvalidationResult)
1699
2087
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1705,10 +2093,26 @@ module Aws::CloudFront
1705
2093
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
1706
2094
  end)
1707
2095
 
2096
+ api.add_operation(:create_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2097
+ o.name = "CreateOriginRequestPolicy2020_05_31"
2098
+ o.http_method = "POST"
2099
+ o.http_request_uri = "/2020-05-31/origin-request-policy"
2100
+ o.input = Shapes::ShapeRef.new(shape: CreateOriginRequestPolicyRequest)
2101
+ o.output = Shapes::ShapeRef.new(shape: CreateOriginRequestPolicyResult)
2102
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2103
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2104
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2105
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
2106
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginRequestPolicies)
2107
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInOriginRequestPolicy)
2108
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInOriginRequestPolicy)
2109
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInOriginRequestPolicy)
2110
+ end)
2111
+
1708
2112
  api.add_operation(:create_public_key, Seahorse::Model::Operation.new.tap do |o|
1709
- o.name = "CreatePublicKey2019_03_26"
2113
+ o.name = "CreatePublicKey2020_05_31"
1710
2114
  o.http_method = "POST"
1711
- o.http_request_uri = "/2019-03-26/public-key"
2115
+ o.http_request_uri = "/2020-05-31/public-key"
1712
2116
  o.input = Shapes::ShapeRef.new(shape: CreatePublicKeyRequest)
1713
2117
  o.output = Shapes::ShapeRef.new(shape: CreatePublicKeyResult)
1714
2118
  o.errors << Shapes::ShapeRef.new(shape: PublicKeyAlreadyExists)
@@ -1717,9 +2121,9 @@ module Aws::CloudFront
1717
2121
  end)
1718
2122
 
1719
2123
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1720
- o.name = "CreateStreamingDistribution2019_03_26"
2124
+ o.name = "CreateStreamingDistribution2020_05_31"
1721
2125
  o.http_method = "POST"
1722
- o.http_request_uri = "/2019-03-26/streaming-distribution"
2126
+ o.http_request_uri = "/2020-05-31/streaming-distribution"
1723
2127
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionRequest)
1724
2128
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionResult)
1725
2129
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1737,9 +2141,9 @@ module Aws::CloudFront
1737
2141
  end)
1738
2142
 
1739
2143
  api.add_operation(:create_streaming_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
1740
- o.name = "CreateStreamingDistributionWithTags2019_03_26"
2144
+ o.name = "CreateStreamingDistributionWithTags2020_05_31"
1741
2145
  o.http_method = "POST"
1742
- o.http_request_uri = "/2019-03-26/streaming-distribution?WithTags"
2146
+ o.http_request_uri = "/2020-05-31/streaming-distribution?WithTags"
1743
2147
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsRequest)
1744
2148
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsResult)
1745
2149
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1757,10 +2161,24 @@ module Aws::CloudFront
1757
2161
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
1758
2162
  end)
1759
2163
 
2164
+ api.add_operation(:delete_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2165
+ o.name = "DeleteCachePolicy2020_05_31"
2166
+ o.http_method = "DELETE"
2167
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
2168
+ o.input = Shapes::ShapeRef.new(shape: DeleteCachePolicyRequest)
2169
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2170
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2171
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2172
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2173
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2174
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
2175
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyInUse)
2176
+ end)
2177
+
1760
2178
  api.add_operation(:delete_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1761
- o.name = "DeleteCloudFrontOriginAccessIdentity2019_03_26"
2179
+ o.name = "DeleteCloudFrontOriginAccessIdentity2020_05_31"
1762
2180
  o.http_method = "DELETE"
1763
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}"
2181
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}"
1764
2182
  o.input = Shapes::ShapeRef.new(shape: DeleteCloudFrontOriginAccessIdentityRequest)
1765
2183
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1766
2184
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1771,9 +2189,9 @@ module Aws::CloudFront
1771
2189
  end)
1772
2190
 
1773
2191
  api.add_operation(:delete_distribution, Seahorse::Model::Operation.new.tap do |o|
1774
- o.name = "DeleteDistribution2019_03_26"
2192
+ o.name = "DeleteDistribution2020_05_31"
1775
2193
  o.http_method = "DELETE"
1776
- o.http_request_uri = "/2019-03-26/distribution/{Id}"
2194
+ o.http_request_uri = "/2020-05-31/distribution/{Id}"
1777
2195
  o.input = Shapes::ShapeRef.new(shape: DeleteDistributionRequest)
1778
2196
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1779
2197
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1784,9 +2202,9 @@ module Aws::CloudFront
1784
2202
  end)
1785
2203
 
1786
2204
  api.add_operation(:delete_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1787
- o.name = "DeleteFieldLevelEncryptionConfig2019_03_26"
2205
+ o.name = "DeleteFieldLevelEncryptionConfig2020_05_31"
1788
2206
  o.http_method = "DELETE"
1789
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}"
2207
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}"
1790
2208
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionConfigRequest)
1791
2209
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1792
2210
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1797,9 +2215,9 @@ module Aws::CloudFront
1797
2215
  end)
1798
2216
 
1799
2217
  api.add_operation(:delete_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1800
- o.name = "DeleteFieldLevelEncryptionProfile2019_03_26"
2218
+ o.name = "DeleteFieldLevelEncryptionProfile2020_05_31"
1801
2219
  o.http_method = "DELETE"
1802
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}"
2220
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}"
1803
2221
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionProfileRequest)
1804
2222
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1805
2223
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1809,10 +2227,24 @@ module Aws::CloudFront
1809
2227
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
1810
2228
  end)
1811
2229
 
2230
+ api.add_operation(:delete_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2231
+ o.name = "DeleteOriginRequestPolicy2020_05_31"
2232
+ o.http_method = "DELETE"
2233
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
2234
+ o.input = Shapes::ShapeRef.new(shape: DeleteOriginRequestPolicyRequest)
2235
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2236
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2237
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2238
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2239
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2240
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
2241
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyInUse)
2242
+ end)
2243
+
1812
2244
  api.add_operation(:delete_public_key, Seahorse::Model::Operation.new.tap do |o|
1813
- o.name = "DeletePublicKey2019_03_26"
2245
+ o.name = "DeletePublicKey2020_05_31"
1814
2246
  o.http_method = "DELETE"
1815
- o.http_request_uri = "/2019-03-26/public-key/{Id}"
2247
+ o.http_request_uri = "/2020-05-31/public-key/{Id}"
1816
2248
  o.input = Shapes::ShapeRef.new(shape: DeletePublicKeyRequest)
1817
2249
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1818
2250
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1823,9 +2255,9 @@ module Aws::CloudFront
1823
2255
  end)
1824
2256
 
1825
2257
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1826
- o.name = "DeleteStreamingDistribution2019_03_26"
2258
+ o.name = "DeleteStreamingDistribution2020_05_31"
1827
2259
  o.http_method = "DELETE"
1828
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}"
2260
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
1829
2261
  o.input = Shapes::ShapeRef.new(shape: DeleteStreamingDistributionRequest)
1830
2262
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1831
2263
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1835,10 +2267,30 @@ module Aws::CloudFront
1835
2267
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
1836
2268
  end)
1837
2269
 
2270
+ api.add_operation(:get_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2271
+ o.name = "GetCachePolicy2020_05_31"
2272
+ o.http_method = "GET"
2273
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
2274
+ o.input = Shapes::ShapeRef.new(shape: GetCachePolicyRequest)
2275
+ o.output = Shapes::ShapeRef.new(shape: GetCachePolicyResult)
2276
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2277
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2278
+ end)
2279
+
2280
+ api.add_operation(:get_cache_policy_config, Seahorse::Model::Operation.new.tap do |o|
2281
+ o.name = "GetCachePolicyConfig2020_05_31"
2282
+ o.http_method = "GET"
2283
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}/config"
2284
+ o.input = Shapes::ShapeRef.new(shape: GetCachePolicyConfigRequest)
2285
+ o.output = Shapes::ShapeRef.new(shape: GetCachePolicyConfigResult)
2286
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2287
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2288
+ end)
2289
+
1838
2290
  api.add_operation(:get_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1839
- o.name = "GetCloudFrontOriginAccessIdentity2019_03_26"
2291
+ o.name = "GetCloudFrontOriginAccessIdentity2020_05_31"
1840
2292
  o.http_method = "GET"
1841
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}"
2293
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}"
1842
2294
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityRequest)
1843
2295
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityResult)
1844
2296
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1846,9 +2298,9 @@ module Aws::CloudFront
1846
2298
  end)
1847
2299
 
1848
2300
  api.add_operation(:get_cloud_front_origin_access_identity_config, Seahorse::Model::Operation.new.tap do |o|
1849
- o.name = "GetCloudFrontOriginAccessIdentityConfig2019_03_26"
2301
+ o.name = "GetCloudFrontOriginAccessIdentityConfig2020_05_31"
1850
2302
  o.http_method = "GET"
1851
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}/config"
2303
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config"
1852
2304
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigRequest)
1853
2305
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigResult)
1854
2306
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1856,9 +2308,9 @@ module Aws::CloudFront
1856
2308
  end)
1857
2309
 
1858
2310
  api.add_operation(:get_distribution, Seahorse::Model::Operation.new.tap do |o|
1859
- o.name = "GetDistribution2019_03_26"
2311
+ o.name = "GetDistribution2020_05_31"
1860
2312
  o.http_method = "GET"
1861
- o.http_request_uri = "/2019-03-26/distribution/{Id}"
2313
+ o.http_request_uri = "/2020-05-31/distribution/{Id}"
1862
2314
  o.input = Shapes::ShapeRef.new(shape: GetDistributionRequest)
1863
2315
  o.output = Shapes::ShapeRef.new(shape: GetDistributionResult)
1864
2316
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1866,9 +2318,9 @@ module Aws::CloudFront
1866
2318
  end)
1867
2319
 
1868
2320
  api.add_operation(:get_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1869
- o.name = "GetDistributionConfig2019_03_26"
2321
+ o.name = "GetDistributionConfig2020_05_31"
1870
2322
  o.http_method = "GET"
1871
- o.http_request_uri = "/2019-03-26/distribution/{Id}/config"
2323
+ o.http_request_uri = "/2020-05-31/distribution/{Id}/config"
1872
2324
  o.input = Shapes::ShapeRef.new(shape: GetDistributionConfigRequest)
1873
2325
  o.output = Shapes::ShapeRef.new(shape: GetDistributionConfigResult)
1874
2326
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1876,9 +2328,9 @@ module Aws::CloudFront
1876
2328
  end)
1877
2329
 
1878
2330
  api.add_operation(:get_field_level_encryption, Seahorse::Model::Operation.new.tap do |o|
1879
- o.name = "GetFieldLevelEncryption2019_03_26"
2331
+ o.name = "GetFieldLevelEncryption2020_05_31"
1880
2332
  o.http_method = "GET"
1881
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}"
2333
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}"
1882
2334
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionRequest)
1883
2335
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionResult)
1884
2336
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1886,9 +2338,9 @@ module Aws::CloudFront
1886
2338
  end)
1887
2339
 
1888
2340
  api.add_operation(:get_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1889
- o.name = "GetFieldLevelEncryptionConfig2019_03_26"
2341
+ o.name = "GetFieldLevelEncryptionConfig2020_05_31"
1890
2342
  o.http_method = "GET"
1891
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}/config"
2343
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}/config"
1892
2344
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionConfigRequest)
1893
2345
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionConfigResult)
1894
2346
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1896,9 +2348,9 @@ module Aws::CloudFront
1896
2348
  end)
1897
2349
 
1898
2350
  api.add_operation(:get_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1899
- o.name = "GetFieldLevelEncryptionProfile2019_03_26"
2351
+ o.name = "GetFieldLevelEncryptionProfile2020_05_31"
1900
2352
  o.http_method = "GET"
1901
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}"
2353
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}"
1902
2354
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileRequest)
1903
2355
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileResult)
1904
2356
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1906,9 +2358,9 @@ module Aws::CloudFront
1906
2358
  end)
1907
2359
 
1908
2360
  api.add_operation(:get_field_level_encryption_profile_config, Seahorse::Model::Operation.new.tap do |o|
1909
- o.name = "GetFieldLevelEncryptionProfileConfig2019_03_26"
2361
+ o.name = "GetFieldLevelEncryptionProfileConfig2020_05_31"
1910
2362
  o.http_method = "GET"
1911
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}/config"
2363
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}/config"
1912
2364
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileConfigRequest)
1913
2365
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileConfigResult)
1914
2366
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1916,9 +2368,9 @@ module Aws::CloudFront
1916
2368
  end)
1917
2369
 
1918
2370
  api.add_operation(:get_invalidation, Seahorse::Model::Operation.new.tap do |o|
1919
- o.name = "GetInvalidation2019_03_26"
2371
+ o.name = "GetInvalidation2020_05_31"
1920
2372
  o.http_method = "GET"
1921
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation/{Id}"
2373
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation/{Id}"
1922
2374
  o.input = Shapes::ShapeRef.new(shape: GetInvalidationRequest)
1923
2375
  o.output = Shapes::ShapeRef.new(shape: GetInvalidationResult)
1924
2376
  o.errors << Shapes::ShapeRef.new(shape: NoSuchInvalidation)
@@ -1926,10 +2378,30 @@ module Aws::CloudFront
1926
2378
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1927
2379
  end)
1928
2380
 
2381
+ api.add_operation(:get_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2382
+ o.name = "GetOriginRequestPolicy2020_05_31"
2383
+ o.http_method = "GET"
2384
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
2385
+ o.input = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyRequest)
2386
+ o.output = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyResult)
2387
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2388
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2389
+ end)
2390
+
2391
+ api.add_operation(:get_origin_request_policy_config, Seahorse::Model::Operation.new.tap do |o|
2392
+ o.name = "GetOriginRequestPolicyConfig2020_05_31"
2393
+ o.http_method = "GET"
2394
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}/config"
2395
+ o.input = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyConfigRequest)
2396
+ o.output = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyConfigResult)
2397
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2398
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2399
+ end)
2400
+
1929
2401
  api.add_operation(:get_public_key, Seahorse::Model::Operation.new.tap do |o|
1930
- o.name = "GetPublicKey2019_03_26"
2402
+ o.name = "GetPublicKey2020_05_31"
1931
2403
  o.http_method = "GET"
1932
- o.http_request_uri = "/2019-03-26/public-key/{Id}"
2404
+ o.http_request_uri = "/2020-05-31/public-key/{Id}"
1933
2405
  o.input = Shapes::ShapeRef.new(shape: GetPublicKeyRequest)
1934
2406
  o.output = Shapes::ShapeRef.new(shape: GetPublicKeyResult)
1935
2407
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1937,9 +2409,9 @@ module Aws::CloudFront
1937
2409
  end)
1938
2410
 
1939
2411
  api.add_operation(:get_public_key_config, Seahorse::Model::Operation.new.tap do |o|
1940
- o.name = "GetPublicKeyConfig2019_03_26"
2412
+ o.name = "GetPublicKeyConfig2020_05_31"
1941
2413
  o.http_method = "GET"
1942
- o.http_request_uri = "/2019-03-26/public-key/{Id}/config"
2414
+ o.http_request_uri = "/2020-05-31/public-key/{Id}/config"
1943
2415
  o.input = Shapes::ShapeRef.new(shape: GetPublicKeyConfigRequest)
1944
2416
  o.output = Shapes::ShapeRef.new(shape: GetPublicKeyConfigResult)
1945
2417
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1947,9 +2419,9 @@ module Aws::CloudFront
1947
2419
  end)
1948
2420
 
1949
2421
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1950
- o.name = "GetStreamingDistribution2019_03_26"
2422
+ o.name = "GetStreamingDistribution2020_05_31"
1951
2423
  o.http_method = "GET"
1952
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}"
2424
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
1953
2425
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionRequest)
1954
2426
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionResult)
1955
2427
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
@@ -1957,19 +2429,30 @@ module Aws::CloudFront
1957
2429
  end)
1958
2430
 
1959
2431
  api.add_operation(:get_streaming_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1960
- o.name = "GetStreamingDistributionConfig2019_03_26"
2432
+ o.name = "GetStreamingDistributionConfig2020_05_31"
1961
2433
  o.http_method = "GET"
1962
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}/config"
2434
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}/config"
1963
2435
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigRequest)
1964
2436
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigResult)
1965
2437
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
1966
2438
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1967
2439
  end)
1968
2440
 
2441
+ api.add_operation(:list_cache_policies, Seahorse::Model::Operation.new.tap do |o|
2442
+ o.name = "ListCachePolicies2020_05_31"
2443
+ o.http_method = "GET"
2444
+ o.http_request_uri = "/2020-05-31/cache-policy"
2445
+ o.input = Shapes::ShapeRef.new(shape: ListCachePoliciesRequest)
2446
+ o.output = Shapes::ShapeRef.new(shape: ListCachePoliciesResult)
2447
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2448
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2449
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2450
+ end)
2451
+
1969
2452
  api.add_operation(:list_cloud_front_origin_access_identities, Seahorse::Model::Operation.new.tap do |o|
1970
- o.name = "ListCloudFrontOriginAccessIdentities2019_03_26"
2453
+ o.name = "ListCloudFrontOriginAccessIdentities2020_05_31"
1971
2454
  o.http_method = "GET"
1972
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront"
2455
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront"
1973
2456
  o.input = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesRequest)
1974
2457
  o.output = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesResult)
1975
2458
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1983,9 +2466,9 @@ module Aws::CloudFront
1983
2466
  end)
1984
2467
 
1985
2468
  api.add_operation(:list_distributions, Seahorse::Model::Operation.new.tap do |o|
1986
- o.name = "ListDistributions2019_03_26"
2469
+ o.name = "ListDistributions2020_05_31"
1987
2470
  o.http_method = "GET"
1988
- o.http_request_uri = "/2019-03-26/distribution"
2471
+ o.http_request_uri = "/2020-05-31/distribution"
1989
2472
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsRequest)
1990
2473
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsResult)
1991
2474
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1998,10 +2481,32 @@ module Aws::CloudFront
1998
2481
  )
1999
2482
  end)
2000
2483
 
2484
+ api.add_operation(:list_distributions_by_cache_policy_id, Seahorse::Model::Operation.new.tap do |o|
2485
+ o.name = "ListDistributionsByCachePolicyId2020_05_31"
2486
+ o.http_method = "GET"
2487
+ o.http_request_uri = "/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}"
2488
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByCachePolicyIdRequest)
2489
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByCachePolicyIdResult)
2490
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2491
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2492
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2493
+ end)
2494
+
2495
+ api.add_operation(:list_distributions_by_origin_request_policy_id, Seahorse::Model::Operation.new.tap do |o|
2496
+ o.name = "ListDistributionsByOriginRequestPolicyId2020_05_31"
2497
+ o.http_method = "GET"
2498
+ o.http_request_uri = "/2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}"
2499
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByOriginRequestPolicyIdRequest)
2500
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByOriginRequestPolicyIdResult)
2501
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2502
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2503
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2504
+ end)
2505
+
2001
2506
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
2002
- o.name = "ListDistributionsByWebACLId2019_03_26"
2507
+ o.name = "ListDistributionsByWebACLId2020_05_31"
2003
2508
  o.http_method = "GET"
2004
- o.http_request_uri = "/2019-03-26/distributionsByWebACLId/{WebACLId}"
2509
+ o.http_request_uri = "/2020-05-31/distributionsByWebACLId/{WebACLId}"
2005
2510
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdRequest)
2006
2511
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdResult)
2007
2512
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2009,27 +2514,27 @@ module Aws::CloudFront
2009
2514
  end)
2010
2515
 
2011
2516
  api.add_operation(:list_field_level_encryption_configs, Seahorse::Model::Operation.new.tap do |o|
2012
- o.name = "ListFieldLevelEncryptionConfigs2019_03_26"
2517
+ o.name = "ListFieldLevelEncryptionConfigs2020_05_31"
2013
2518
  o.http_method = "GET"
2014
- o.http_request_uri = "/2019-03-26/field-level-encryption"
2519
+ o.http_request_uri = "/2020-05-31/field-level-encryption"
2015
2520
  o.input = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionConfigsRequest)
2016
2521
  o.output = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionConfigsResult)
2017
2522
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2018
2523
  end)
2019
2524
 
2020
2525
  api.add_operation(:list_field_level_encryption_profiles, Seahorse::Model::Operation.new.tap do |o|
2021
- o.name = "ListFieldLevelEncryptionProfiles2019_03_26"
2526
+ o.name = "ListFieldLevelEncryptionProfiles2020_05_31"
2022
2527
  o.http_method = "GET"
2023
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile"
2528
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile"
2024
2529
  o.input = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionProfilesRequest)
2025
2530
  o.output = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionProfilesResult)
2026
2531
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2027
2532
  end)
2028
2533
 
2029
2534
  api.add_operation(:list_invalidations, Seahorse::Model::Operation.new.tap do |o|
2030
- o.name = "ListInvalidations2019_03_26"
2535
+ o.name = "ListInvalidations2020_05_31"
2031
2536
  o.http_method = "GET"
2032
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation"
2537
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
2033
2538
  o.input = Shapes::ShapeRef.new(shape: ListInvalidationsRequest)
2034
2539
  o.output = Shapes::ShapeRef.new(shape: ListInvalidationsResult)
2035
2540
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2044,19 +2549,30 @@ module Aws::CloudFront
2044
2549
  )
2045
2550
  end)
2046
2551
 
2552
+ api.add_operation(:list_origin_request_policies, Seahorse::Model::Operation.new.tap do |o|
2553
+ o.name = "ListOriginRequestPolicies2020_05_31"
2554
+ o.http_method = "GET"
2555
+ o.http_request_uri = "/2020-05-31/origin-request-policy"
2556
+ o.input = Shapes::ShapeRef.new(shape: ListOriginRequestPoliciesRequest)
2557
+ o.output = Shapes::ShapeRef.new(shape: ListOriginRequestPoliciesResult)
2558
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2559
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2560
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2561
+ end)
2562
+
2047
2563
  api.add_operation(:list_public_keys, Seahorse::Model::Operation.new.tap do |o|
2048
- o.name = "ListPublicKeys2019_03_26"
2564
+ o.name = "ListPublicKeys2020_05_31"
2049
2565
  o.http_method = "GET"
2050
- o.http_request_uri = "/2019-03-26/public-key"
2566
+ o.http_request_uri = "/2020-05-31/public-key"
2051
2567
  o.input = Shapes::ShapeRef.new(shape: ListPublicKeysRequest)
2052
2568
  o.output = Shapes::ShapeRef.new(shape: ListPublicKeysResult)
2053
2569
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2054
2570
  end)
2055
2571
 
2056
2572
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
2057
- o.name = "ListStreamingDistributions2019_03_26"
2573
+ o.name = "ListStreamingDistributions2020_05_31"
2058
2574
  o.http_method = "GET"
2059
- o.http_request_uri = "/2019-03-26/streaming-distribution"
2575
+ o.http_request_uri = "/2020-05-31/streaming-distribution"
2060
2576
  o.input = Shapes::ShapeRef.new(shape: ListStreamingDistributionsRequest)
2061
2577
  o.output = Shapes::ShapeRef.new(shape: ListStreamingDistributionsResult)
2062
2578
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2070,9 +2586,9 @@ module Aws::CloudFront
2070
2586
  end)
2071
2587
 
2072
2588
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2073
- o.name = "ListTagsForResource2019_03_26"
2589
+ o.name = "ListTagsForResource2020_05_31"
2074
2590
  o.http_method = "GET"
2075
- o.http_request_uri = "/2019-03-26/tagging"
2591
+ o.http_request_uri = "/2020-05-31/tagging"
2076
2592
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
2077
2593
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
2078
2594
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2082,9 +2598,9 @@ module Aws::CloudFront
2082
2598
  end)
2083
2599
 
2084
2600
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2085
- o.name = "TagResource2019_03_26"
2601
+ o.name = "TagResource2020_05_31"
2086
2602
  o.http_method = "POST"
2087
- o.http_request_uri = "/2019-03-26/tagging?Operation=Tag"
2603
+ o.http_request_uri = "/2020-05-31/tagging?Operation=Tag"
2088
2604
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2089
2605
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2090
2606
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2094,9 +2610,9 @@ module Aws::CloudFront
2094
2610
  end)
2095
2611
 
2096
2612
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
2097
- o.name = "UntagResource2019_03_26"
2613
+ o.name = "UntagResource2020_05_31"
2098
2614
  o.http_method = "POST"
2099
- o.http_request_uri = "/2019-03-26/tagging?Operation=Untag"
2615
+ o.http_request_uri = "/2020-05-31/tagging?Operation=Untag"
2100
2616
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2101
2617
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2102
2618
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2105,10 +2621,29 @@ module Aws::CloudFront
2105
2621
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
2106
2622
  end)
2107
2623
 
2624
+ api.add_operation(:update_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2625
+ o.name = "UpdateCachePolicy2020_05_31"
2626
+ o.http_method = "PUT"
2627
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
2628
+ o.input = Shapes::ShapeRef.new(shape: UpdateCachePolicyRequest)
2629
+ o.output = Shapes::ShapeRef.new(shape: UpdateCachePolicyResult)
2630
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2631
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
2632
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2633
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2634
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2635
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2636
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2637
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
2638
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInCachePolicy)
2639
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInCachePolicy)
2640
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInCachePolicy)
2641
+ end)
2642
+
2108
2643
  api.add_operation(:update_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
2109
- o.name = "UpdateCloudFrontOriginAccessIdentity2019_03_26"
2644
+ o.name = "UpdateCloudFrontOriginAccessIdentity2020_05_31"
2110
2645
  o.http_method = "PUT"
2111
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}/config"
2646
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config"
2112
2647
  o.input = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityRequest)
2113
2648
  o.output = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityResult)
2114
2649
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2122,9 +2657,9 @@ module Aws::CloudFront
2122
2657
  end)
2123
2658
 
2124
2659
  api.add_operation(:update_distribution, Seahorse::Model::Operation.new.tap do |o|
2125
- o.name = "UpdateDistribution2019_03_26"
2660
+ o.name = "UpdateDistribution2020_05_31"
2126
2661
  o.http_method = "PUT"
2127
- o.http_request_uri = "/2019-03-26/distribution/{Id}/config"
2662
+ o.http_request_uri = "/2020-05-31/distribution/{Id}/config"
2128
2663
  o.input = Shapes::ShapeRef.new(shape: UpdateDistributionRequest)
2129
2664
  o.output = Shapes::ShapeRef.new(shape: UpdateDistributionResult)
2130
2665
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2164,6 +2699,7 @@ module Aws::CloudFront
2164
2699
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
2165
2700
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
2166
2701
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2702
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
2167
2703
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
2168
2704
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
2169
2705
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -2171,12 +2707,16 @@ module Aws::CloudFront
2171
2707
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
2172
2708
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
2173
2709
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2710
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2711
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2712
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2713
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
2174
2714
  end)
2175
2715
 
2176
2716
  api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
2177
- o.name = "UpdateFieldLevelEncryptionConfig2019_03_26"
2717
+ o.name = "UpdateFieldLevelEncryptionConfig2020_05_31"
2178
2718
  o.http_method = "PUT"
2179
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}/config"
2719
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}/config"
2180
2720
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigRequest)
2181
2721
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigResult)
2182
2722
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2193,9 +2733,9 @@ module Aws::CloudFront
2193
2733
  end)
2194
2734
 
2195
2735
  api.add_operation(:update_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
2196
- o.name = "UpdateFieldLevelEncryptionProfile2019_03_26"
2736
+ o.name = "UpdateFieldLevelEncryptionProfile2020_05_31"
2197
2737
  o.http_method = "PUT"
2198
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}/config"
2738
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}/config"
2199
2739
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileRequest)
2200
2740
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileResult)
2201
2741
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2212,10 +2752,29 @@ module Aws::CloudFront
2212
2752
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
2213
2753
  end)
2214
2754
 
2755
+ api.add_operation(:update_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2756
+ o.name = "UpdateOriginRequestPolicy2020_05_31"
2757
+ o.http_method = "PUT"
2758
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
2759
+ o.input = Shapes::ShapeRef.new(shape: UpdateOriginRequestPolicyRequest)
2760
+ o.output = Shapes::ShapeRef.new(shape: UpdateOriginRequestPolicyResult)
2761
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2762
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
2763
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2764
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2765
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2766
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2767
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2768
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
2769
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInOriginRequestPolicy)
2770
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInOriginRequestPolicy)
2771
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInOriginRequestPolicy)
2772
+ end)
2773
+
2215
2774
  api.add_operation(:update_public_key, Seahorse::Model::Operation.new.tap do |o|
2216
- o.name = "UpdatePublicKey2019_03_26"
2775
+ o.name = "UpdatePublicKey2020_05_31"
2217
2776
  o.http_method = "PUT"
2218
- o.http_request_uri = "/2019-03-26/public-key/{Id}/config"
2777
+ o.http_request_uri = "/2020-05-31/public-key/{Id}/config"
2219
2778
  o.input = Shapes::ShapeRef.new(shape: UpdatePublicKeyRequest)
2220
2779
  o.output = Shapes::ShapeRef.new(shape: UpdatePublicKeyResult)
2221
2780
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2228,9 +2787,9 @@ module Aws::CloudFront
2228
2787
  end)
2229
2788
 
2230
2789
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2231
- o.name = "UpdateStreamingDistribution2019_03_26"
2790
+ o.name = "UpdateStreamingDistribution2020_05_31"
2232
2791
  o.http_method = "PUT"
2233
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}/config"
2792
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}/config"
2234
2793
  o.input = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionRequest)
2235
2794
  o.output = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionResult)
2236
2795
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)