aws-sdk-cloudfront 1.32.0 → 1.36.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,6 +26,20 @@ module Aws::CloudFront
26
26
  CacheBehavior = Shapes::StructureShape.new(name: 'CacheBehavior')
27
27
  CacheBehaviorList = Shapes::ListShape.new(name: 'CacheBehaviorList')
28
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')
29
43
  CachedMethods = Shapes::StructureShape.new(name: 'CachedMethods')
30
44
  CannotChangeImmutablePublicKeyFields = Shapes::StructureShape.new(name: 'CannotChangeImmutablePublicKeyFields')
31
45
  CertificateSource = Shapes::StringShape.new(name: 'CertificateSource')
@@ -44,6 +58,8 @@ module Aws::CloudFront
44
58
  CookieNameList = Shapes::ListShape.new(name: 'CookieNameList')
45
59
  CookieNames = Shapes::StructureShape.new(name: 'CookieNames')
46
60
  CookiePreference = Shapes::StructureShape.new(name: 'CookiePreference')
61
+ CreateCachePolicyRequest = Shapes::StructureShape.new(name: 'CreateCachePolicyRequest')
62
+ CreateCachePolicyResult = Shapes::StructureShape.new(name: 'CreateCachePolicyResult')
47
63
  CreateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityRequest')
48
64
  CreateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityResult')
49
65
  CreateDistributionRequest = Shapes::StructureShape.new(name: 'CreateDistributionRequest')
@@ -56,6 +72,8 @@ module Aws::CloudFront
56
72
  CreateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'CreateFieldLevelEncryptionProfileResult')
57
73
  CreateInvalidationRequest = Shapes::StructureShape.new(name: 'CreateInvalidationRequest')
58
74
  CreateInvalidationResult = Shapes::StructureShape.new(name: 'CreateInvalidationResult')
75
+ CreateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyRequest')
76
+ CreateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyResult')
59
77
  CreatePublicKeyRequest = Shapes::StructureShape.new(name: 'CreatePublicKeyRequest')
60
78
  CreatePublicKeyResult = Shapes::StructureShape.new(name: 'CreatePublicKeyResult')
61
79
  CreateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionRequest')
@@ -68,16 +86,20 @@ module Aws::CloudFront
68
86
  CustomHeaders = Shapes::StructureShape.new(name: 'CustomHeaders')
69
87
  CustomOriginConfig = Shapes::StructureShape.new(name: 'CustomOriginConfig')
70
88
  DefaultCacheBehavior = Shapes::StructureShape.new(name: 'DefaultCacheBehavior')
89
+ DeleteCachePolicyRequest = Shapes::StructureShape.new(name: 'DeleteCachePolicyRequest')
71
90
  DeleteCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'DeleteCloudFrontOriginAccessIdentityRequest')
72
91
  DeleteDistributionRequest = Shapes::StructureShape.new(name: 'DeleteDistributionRequest')
73
92
  DeleteFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionConfigRequest')
74
93
  DeleteFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionProfileRequest')
94
+ DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
75
95
  DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
76
96
  DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
77
97
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
78
98
  DistributionAlreadyExists = Shapes::StructureShape.new(name: 'DistributionAlreadyExists')
79
99
  DistributionConfig = Shapes::StructureShape.new(name: 'DistributionConfig')
80
100
  DistributionConfigWithTags = Shapes::StructureShape.new(name: 'DistributionConfigWithTags')
101
+ DistributionIdList = Shapes::StructureShape.new(name: 'DistributionIdList')
102
+ DistributionIdListSummary = Shapes::ListShape.new(name: 'DistributionIdListSummary')
81
103
  DistributionList = Shapes::StructureShape.new(name: 'DistributionList')
82
104
  DistributionNotDisabled = Shapes::StructureShape.new(name: 'DistributionNotDisabled')
83
105
  DistributionSummary = Shapes::StructureShape.new(name: 'DistributionSummary')
@@ -107,6 +129,10 @@ module Aws::CloudFront
107
129
  ForwardedValues = Shapes::StructureShape.new(name: 'ForwardedValues')
108
130
  GeoRestriction = Shapes::StructureShape.new(name: 'GeoRestriction')
109
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')
110
136
  GetCloudFrontOriginAccessIdentityConfigRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigRequest')
111
137
  GetCloudFrontOriginAccessIdentityConfigResult = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigResult')
112
138
  GetCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityRequest')
@@ -125,6 +151,10 @@ module Aws::CloudFront
125
151
  GetFieldLevelEncryptionResult = Shapes::StructureShape.new(name: 'GetFieldLevelEncryptionResult')
126
152
  GetInvalidationRequest = Shapes::StructureShape.new(name: 'GetInvalidationRequest')
127
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')
128
158
  GetPublicKeyConfigRequest = Shapes::StructureShape.new(name: 'GetPublicKeyConfigRequest')
129
159
  GetPublicKeyConfigResult = Shapes::StructureShape.new(name: 'GetPublicKeyConfigResult')
130
160
  GetPublicKeyRequest = Shapes::StructureShape.new(name: 'GetPublicKeyRequest')
@@ -137,6 +167,7 @@ module Aws::CloudFront
137
167
  Headers = Shapes::StructureShape.new(name: 'Headers')
138
168
  HttpVersion = Shapes::StringShape.new(name: 'HttpVersion')
139
169
  ICPRecordalStatus = Shapes::StringShape.new(name: 'ICPRecordalStatus')
170
+ IllegalDelete = Shapes::StructureShape.new(name: 'IllegalDelete')
140
171
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior = Shapes::StructureShape.new(name: 'IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior')
141
172
  IllegalUpdate = Shapes::StructureShape.new(name: 'IllegalUpdate')
142
173
  InconsistentQuantities = Shapes::StructureShape.new(name: 'InconsistentQuantities')
@@ -175,8 +206,14 @@ module Aws::CloudFront
175
206
  LambdaFunctionAssociation = Shapes::StructureShape.new(name: 'LambdaFunctionAssociation')
176
207
  LambdaFunctionAssociationList = Shapes::ListShape.new(name: 'LambdaFunctionAssociationList')
177
208
  LambdaFunctionAssociations = Shapes::StructureShape.new(name: 'LambdaFunctionAssociations')
209
+ ListCachePoliciesRequest = Shapes::StructureShape.new(name: 'ListCachePoliciesRequest')
210
+ ListCachePoliciesResult = Shapes::StructureShape.new(name: 'ListCachePoliciesResult')
178
211
  ListCloudFrontOriginAccessIdentitiesRequest = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesRequest')
179
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')
180
217
  ListDistributionsByWebACLIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdRequest')
181
218
  ListDistributionsByWebACLIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdResult')
182
219
  ListDistributionsRequest = Shapes::StructureShape.new(name: 'ListDistributionsRequest')
@@ -187,6 +224,8 @@ module Aws::CloudFront
187
224
  ListFieldLevelEncryptionProfilesResult = Shapes::StructureShape.new(name: 'ListFieldLevelEncryptionProfilesResult')
188
225
  ListInvalidationsRequest = Shapes::StructureShape.new(name: 'ListInvalidationsRequest')
189
226
  ListInvalidationsResult = Shapes::StructureShape.new(name: 'ListInvalidationsResult')
227
+ ListOriginRequestPoliciesRequest = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesRequest')
228
+ ListOriginRequestPoliciesResult = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesResult')
190
229
  ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
191
230
  ListPublicKeysResult = Shapes::StructureShape.new(name: 'ListPublicKeysResult')
192
231
  ListStreamingDistributionsRequest = Shapes::StructureShape.new(name: 'ListStreamingDistributionsRequest')
@@ -199,12 +238,14 @@ module Aws::CloudFront
199
238
  MethodsList = Shapes::ListShape.new(name: 'MethodsList')
200
239
  MinimumProtocolVersion = Shapes::StringShape.new(name: 'MinimumProtocolVersion')
201
240
  MissingBody = Shapes::StructureShape.new(name: 'MissingBody')
241
+ NoSuchCachePolicy = Shapes::StructureShape.new(name: 'NoSuchCachePolicy')
202
242
  NoSuchCloudFrontOriginAccessIdentity = Shapes::StructureShape.new(name: 'NoSuchCloudFrontOriginAccessIdentity')
203
243
  NoSuchDistribution = Shapes::StructureShape.new(name: 'NoSuchDistribution')
204
244
  NoSuchFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionConfig')
205
245
  NoSuchFieldLevelEncryptionProfile = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionProfile')
206
246
  NoSuchInvalidation = Shapes::StructureShape.new(name: 'NoSuchInvalidation')
207
247
  NoSuchOrigin = Shapes::StructureShape.new(name: 'NoSuchOrigin')
248
+ NoSuchOriginRequestPolicy = Shapes::StructureShape.new(name: 'NoSuchOriginRequestPolicy')
208
249
  NoSuchPublicKey = Shapes::StructureShape.new(name: 'NoSuchPublicKey')
209
250
  NoSuchResource = Shapes::StructureShape.new(name: 'NoSuchResource')
210
251
  NoSuchStreamingDistribution = Shapes::StructureShape.new(name: 'NoSuchStreamingDistribution')
@@ -220,8 +261,23 @@ module Aws::CloudFront
220
261
  OriginGroups = Shapes::StructureShape.new(name: 'OriginGroups')
221
262
  OriginList = Shapes::ListShape.new(name: 'OriginList')
222
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')
223
278
  OriginSslProtocols = Shapes::StructureShape.new(name: 'OriginSslProtocols')
224
279
  Origins = Shapes::StructureShape.new(name: 'Origins')
280
+ ParametersInCacheKeyAndForwardedToOrigin = Shapes::StructureShape.new(name: 'ParametersInCacheKeyAndForwardedToOrigin')
225
281
  PathList = Shapes::ListShape.new(name: 'PathList')
226
282
  Paths = Shapes::StructureShape.new(name: 'Paths')
227
283
  PreconditionFailed = Shapes::StructureShape.new(name: 'PreconditionFailed')
@@ -240,6 +296,8 @@ module Aws::CloudFront
240
296
  QueryArgProfiles = Shapes::StructureShape.new(name: 'QueryArgProfiles')
241
297
  QueryStringCacheKeys = Shapes::StructureShape.new(name: 'QueryStringCacheKeys')
242
298
  QueryStringCacheKeysList = Shapes::ListShape.new(name: 'QueryStringCacheKeysList')
299
+ QueryStringNames = Shapes::StructureShape.new(name: 'QueryStringNames')
300
+ QueryStringNamesList = Shapes::ListShape.new(name: 'QueryStringNamesList')
243
301
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
244
302
  Restrictions = Shapes::StructureShape.new(name: 'Restrictions')
245
303
  S3Origin = Shapes::StructureShape.new(name: 'S3Origin')
@@ -269,33 +327,46 @@ module Aws::CloudFront
269
327
  TagValue = Shapes::StringShape.new(name: 'TagValue')
270
328
  Tags = Shapes::StructureShape.new(name: 'Tags')
271
329
  TooManyCacheBehaviors = Shapes::StructureShape.new(name: 'TooManyCacheBehaviors')
330
+ TooManyCachePolicies = Shapes::StructureShape.new(name: 'TooManyCachePolicies')
272
331
  TooManyCertificates = Shapes::StructureShape.new(name: 'TooManyCertificates')
273
332
  TooManyCloudFrontOriginAccessIdentities = Shapes::StructureShape.new(name: 'TooManyCloudFrontOriginAccessIdentities')
274
333
  TooManyCookieNamesInWhiteList = Shapes::StructureShape.new(name: 'TooManyCookieNamesInWhiteList')
334
+ TooManyCookiesInCachePolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInCachePolicy')
335
+ TooManyCookiesInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInOriginRequestPolicy')
275
336
  TooManyDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyDistributionCNAMEs')
276
337
  TooManyDistributions = Shapes::StructureShape.new(name: 'TooManyDistributions')
338
+ TooManyDistributionsAssociatedToCachePolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToCachePolicy')
277
339
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
340
+ TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
278
341
  TooManyDistributionsWithLambdaAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithLambdaAssociations')
342
+ TooManyDistributionsWithSingleFunctionARN = Shapes::StructureShape.new(name: 'TooManyDistributionsWithSingleFunctionARN')
279
343
  TooManyFieldLevelEncryptionConfigs = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionConfigs')
280
344
  TooManyFieldLevelEncryptionContentTypeProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionContentTypeProfiles')
281
345
  TooManyFieldLevelEncryptionEncryptionEntities = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionEncryptionEntities')
282
346
  TooManyFieldLevelEncryptionFieldPatterns = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionFieldPatterns')
283
347
  TooManyFieldLevelEncryptionProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionProfiles')
284
348
  TooManyFieldLevelEncryptionQueryArgProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionQueryArgProfiles')
349
+ TooManyHeadersInCachePolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInCachePolicy')
285
350
  TooManyHeadersInForwardedValues = Shapes::StructureShape.new(name: 'TooManyHeadersInForwardedValues')
351
+ TooManyHeadersInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInOriginRequestPolicy')
286
352
  TooManyInvalidationsInProgress = Shapes::StructureShape.new(name: 'TooManyInvalidationsInProgress')
287
353
  TooManyLambdaFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyLambdaFunctionAssociations')
288
354
  TooManyOriginCustomHeaders = Shapes::StructureShape.new(name: 'TooManyOriginCustomHeaders')
289
355
  TooManyOriginGroupsPerDistribution = Shapes::StructureShape.new(name: 'TooManyOriginGroupsPerDistribution')
356
+ TooManyOriginRequestPolicies = Shapes::StructureShape.new(name: 'TooManyOriginRequestPolicies')
290
357
  TooManyOrigins = Shapes::StructureShape.new(name: 'TooManyOrigins')
291
358
  TooManyPublicKeys = Shapes::StructureShape.new(name: 'TooManyPublicKeys')
292
359
  TooManyQueryStringParameters = Shapes::StructureShape.new(name: 'TooManyQueryStringParameters')
360
+ TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
361
+ TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
293
362
  TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
294
363
  TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
295
364
  TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
296
365
  TrustedSignerDoesNotExist = Shapes::StructureShape.new(name: 'TrustedSignerDoesNotExist')
297
366
  TrustedSigners = Shapes::StructureShape.new(name: 'TrustedSigners')
298
367
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
368
+ UpdateCachePolicyRequest = Shapes::StructureShape.new(name: 'UpdateCachePolicyRequest')
369
+ UpdateCachePolicyResult = Shapes::StructureShape.new(name: 'UpdateCachePolicyResult')
299
370
  UpdateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityRequest')
300
371
  UpdateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityResult')
301
372
  UpdateDistributionRequest = Shapes::StructureShape.new(name: 'UpdateDistributionRequest')
@@ -304,6 +375,8 @@ module Aws::CloudFront
304
375
  UpdateFieldLevelEncryptionConfigResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigResult')
305
376
  UpdateFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileRequest')
306
377
  UpdateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileResult')
378
+ UpdateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyRequest')
379
+ UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
307
380
  UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
308
381
  UpdatePublicKeyResult = Shapes::StructureShape.new(name: 'UpdatePublicKeyResult')
309
382
  UpdateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionRequest')
@@ -351,17 +424,19 @@ module Aws::CloudFront
351
424
 
352
425
  CacheBehavior.add_member(:path_pattern, Shapes::ShapeRef.new(shape: string, required: true, location_name: "PathPattern"))
353
426
  CacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
354
- CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, required: true, location_name: "ForwardedValues"))
355
427
  CacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
356
428
  CacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
357
- CacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, required: true, location_name: "MinTTL"))
358
429
  CacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
359
430
  CacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
360
- CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
361
- CacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
362
431
  CacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
363
432
  CacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
364
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"))
365
440
  CacheBehavior.struct_class = Types::CacheBehavior
366
441
 
367
442
  CacheBehaviorList.member = Shapes::ShapeRef.new(shape: CacheBehavior, location_name: "CacheBehavior")
@@ -370,6 +445,49 @@ module Aws::CloudFront
370
445
  CacheBehaviors.add_member(:items, Shapes::ShapeRef.new(shape: CacheBehaviorList, location_name: "Items"))
371
446
  CacheBehaviors.struct_class = Types::CacheBehaviors
372
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
+
373
491
  CachedMethods.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
374
492
  CachedMethods.add_member(:items, Shapes::ShapeRef.new(shape: MethodsList, required: true, location_name: "Items"))
375
493
  CachedMethods.struct_class = Types::CachedMethods
@@ -432,7 +550,19 @@ module Aws::CloudFront
432
550
  CookiePreference.add_member(:whitelisted_names, Shapes::ShapeRef.new(shape: CookieNames, location_name: "WhitelistedNames"))
433
551
  CookiePreference.struct_class = Types::CookiePreference
434
552
 
435
- 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/"}}))
436
566
  CreateCloudFrontOriginAccessIdentityRequest.struct_class = Types::CreateCloudFrontOriginAccessIdentityRequest
437
567
  CreateCloudFrontOriginAccessIdentityRequest[:payload] = :cloud_front_origin_access_identity_config
438
568
  CreateCloudFrontOriginAccessIdentityRequest[:payload_member] = CreateCloudFrontOriginAccessIdentityRequest.member(:cloud_front_origin_access_identity_config)
@@ -444,7 +574,7 @@ module Aws::CloudFront
444
574
  CreateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
445
575
  CreateCloudFrontOriginAccessIdentityResult[:payload_member] = CreateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
446
576
 
447
- 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/"}}))
448
578
  CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
449
579
  CreateDistributionRequest[:payload] = :distribution_config
450
580
  CreateDistributionRequest[:payload_member] = CreateDistributionRequest.member(:distribution_config)
@@ -456,7 +586,7 @@ module Aws::CloudFront
456
586
  CreateDistributionResult[:payload] = :distribution
457
587
  CreateDistributionResult[:payload_member] = CreateDistributionResult.member(:distribution)
458
588
 
459
- 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/"}}))
460
590
  CreateDistributionWithTagsRequest.struct_class = Types::CreateDistributionWithTagsRequest
461
591
  CreateDistributionWithTagsRequest[:payload] = :distribution_config_with_tags
462
592
  CreateDistributionWithTagsRequest[:payload_member] = CreateDistributionWithTagsRequest.member(:distribution_config_with_tags)
@@ -468,7 +598,7 @@ module Aws::CloudFront
468
598
  CreateDistributionWithTagsResult[:payload] = :distribution
469
599
  CreateDistributionWithTagsResult[:payload_member] = CreateDistributionWithTagsResult.member(:distribution)
470
600
 
471
- 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/"}}))
472
602
  CreateFieldLevelEncryptionConfigRequest.struct_class = Types::CreateFieldLevelEncryptionConfigRequest
473
603
  CreateFieldLevelEncryptionConfigRequest[:payload] = :field_level_encryption_config
474
604
  CreateFieldLevelEncryptionConfigRequest[:payload_member] = CreateFieldLevelEncryptionConfigRequest.member(:field_level_encryption_config)
@@ -480,7 +610,7 @@ module Aws::CloudFront
480
610
  CreateFieldLevelEncryptionConfigResult[:payload] = :field_level_encryption
481
611
  CreateFieldLevelEncryptionConfigResult[:payload_member] = CreateFieldLevelEncryptionConfigResult.member(:field_level_encryption)
482
612
 
483
- 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/"}}))
484
614
  CreateFieldLevelEncryptionProfileRequest.struct_class = Types::CreateFieldLevelEncryptionProfileRequest
485
615
  CreateFieldLevelEncryptionProfileRequest[:payload] = :field_level_encryption_profile_config
486
616
  CreateFieldLevelEncryptionProfileRequest[:payload_member] = CreateFieldLevelEncryptionProfileRequest.member(:field_level_encryption_profile_config)
@@ -493,7 +623,7 @@ module Aws::CloudFront
493
623
  CreateFieldLevelEncryptionProfileResult[:payload_member] = CreateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
494
624
 
495
625
  CreateInvalidationRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
496
- 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/"}}))
497
627
  CreateInvalidationRequest.struct_class = Types::CreateInvalidationRequest
498
628
  CreateInvalidationRequest[:payload] = :invalidation_batch
499
629
  CreateInvalidationRequest[:payload_member] = CreateInvalidationRequest.member(:invalidation_batch)
@@ -504,7 +634,19 @@ module Aws::CloudFront
504
634
  CreateInvalidationResult[:payload] = :invalidation
505
635
  CreateInvalidationResult[:payload_member] = CreateInvalidationResult.member(:invalidation)
506
636
 
507
- 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/"}}))
508
650
  CreatePublicKeyRequest.struct_class = Types::CreatePublicKeyRequest
509
651
  CreatePublicKeyRequest[:payload] = :public_key_config
510
652
  CreatePublicKeyRequest[:payload_member] = CreatePublicKeyRequest.member(:public_key_config)
@@ -516,7 +658,7 @@ module Aws::CloudFront
516
658
  CreatePublicKeyResult[:payload] = :public_key
517
659
  CreatePublicKeyResult[:payload_member] = CreatePublicKeyResult.member(:public_key)
518
660
 
519
- 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/"}}))
520
662
  CreateStreamingDistributionRequest.struct_class = Types::CreateStreamingDistributionRequest
521
663
  CreateStreamingDistributionRequest[:payload] = :streaming_distribution_config
522
664
  CreateStreamingDistributionRequest[:payload_member] = CreateStreamingDistributionRequest.member(:streaming_distribution_config)
@@ -528,7 +670,7 @@ module Aws::CloudFront
528
670
  CreateStreamingDistributionResult[:payload] = :streaming_distribution
529
671
  CreateStreamingDistributionResult[:payload_member] = CreateStreamingDistributionResult.member(:streaming_distribution)
530
672
 
531
- 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/"}}))
532
674
  CreateStreamingDistributionWithTagsRequest.struct_class = Types::CreateStreamingDistributionWithTagsRequest
533
675
  CreateStreamingDistributionWithTagsRequest[:payload] = :streaming_distribution_config_with_tags
534
676
  CreateStreamingDistributionWithTagsRequest[:payload_member] = CreateStreamingDistributionWithTagsRequest.member(:streaming_distribution_config_with_tags)
@@ -565,19 +707,25 @@ module Aws::CloudFront
565
707
  CustomOriginConfig.struct_class = Types::CustomOriginConfig
566
708
 
567
709
  DefaultCacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
568
- DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, required: true, location_name: "ForwardedValues"))
569
710
  DefaultCacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
570
711
  DefaultCacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
571
- DefaultCacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, required: true, location_name: "MinTTL"))
572
712
  DefaultCacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
573
713
  DefaultCacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
574
- DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
575
- DefaultCacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
576
714
  DefaultCacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
577
715
  DefaultCacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
578
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"))
579
723
  DefaultCacheBehavior.struct_class = Types::DefaultCacheBehavior
580
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
+
581
729
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
582
730
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
583
731
  DeleteCloudFrontOriginAccessIdentityRequest.struct_class = Types::DeleteCloudFrontOriginAccessIdentityRequest
@@ -594,6 +742,10 @@ module Aws::CloudFront
594
742
  DeleteFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
595
743
  DeleteFieldLevelEncryptionProfileRequest.struct_class = Types::DeleteFieldLevelEncryptionProfileRequest
596
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
+
597
749
  DeletePublicKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
598
750
  DeletePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
599
751
  DeletePublicKeyRequest.struct_class = Types::DeletePublicKeyRequest
@@ -639,6 +791,16 @@ module Aws::CloudFront
639
791
  DistributionConfigWithTags.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
640
792
  DistributionConfigWithTags.struct_class = Types::DistributionConfigWithTags
641
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
+
642
804
  DistributionList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
643
805
  DistributionList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
644
806
  DistributionList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
@@ -769,6 +931,24 @@ module Aws::CloudFront
769
931
  GeoRestriction.add_member(:items, Shapes::ShapeRef.new(shape: LocationList, location_name: "Items"))
770
932
  GeoRestriction.struct_class = Types::GeoRestriction
771
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
+
772
952
  GetCloudFrontOriginAccessIdentityConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
773
953
  GetCloudFrontOriginAccessIdentityConfigRequest.struct_class = Types::GetCloudFrontOriginAccessIdentityConfigRequest
774
954
 
@@ -850,6 +1030,24 @@ module Aws::CloudFront
850
1030
  GetInvalidationResult[:payload] = :invalidation
851
1031
  GetInvalidationResult[:payload_member] = GetInvalidationResult.member(:invalidation)
852
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
+
853
1051
  GetPublicKeyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
854
1052
  GetPublicKeyConfigRequest.struct_class = Types::GetPublicKeyConfigRequest
855
1053
 
@@ -892,6 +1090,9 @@ module Aws::CloudFront
892
1090
  Headers.add_member(:items, Shapes::ShapeRef.new(shape: HeaderList, location_name: "Items"))
893
1091
  Headers.struct_class = Types::Headers
894
1092
 
1093
+ IllegalDelete.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1094
+ IllegalDelete.struct_class = Types::IllegalDelete
1095
+
895
1096
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
896
1097
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.struct_class = Types::IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
897
1098
 
@@ -1012,6 +1213,16 @@ module Aws::CloudFront
1012
1213
  LambdaFunctionAssociations.add_member(:items, Shapes::ShapeRef.new(shape: LambdaFunctionAssociationList, location_name: "Items"))
1013
1214
  LambdaFunctionAssociations.struct_class = Types::LambdaFunctionAssociations
1014
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
+
1015
1226
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1016
1227
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1017
1228
  ListCloudFrontOriginAccessIdentitiesRequest.struct_class = Types::ListCloudFrontOriginAccessIdentitiesRequest
@@ -1021,6 +1232,26 @@ module Aws::CloudFront
1021
1232
  ListCloudFrontOriginAccessIdentitiesResult[:payload] = :cloud_front_origin_access_identity_list
1022
1233
  ListCloudFrontOriginAccessIdentitiesResult[:payload_member] = ListCloudFrontOriginAccessIdentitiesResult.member(:cloud_front_origin_access_identity_list)
1023
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
+
1024
1255
  ListDistributionsByWebACLIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1025
1256
  ListDistributionsByWebACLIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1026
1257
  ListDistributionsByWebACLIdRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "WebACLId"))
@@ -1068,6 +1299,16 @@ module Aws::CloudFront
1068
1299
  ListInvalidationsResult[:payload] = :invalidation_list
1069
1300
  ListInvalidationsResult[:payload_member] = ListInvalidationsResult.member(:invalidation_list)
1070
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
+
1071
1312
  ListPublicKeysRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1072
1313
  ListPublicKeysRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1073
1314
  ListPublicKeysRequest.struct_class = Types::ListPublicKeysRequest
@@ -1107,6 +1348,9 @@ module Aws::CloudFront
1107
1348
  MissingBody.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1108
1349
  MissingBody.struct_class = Types::MissingBody
1109
1350
 
1351
+ NoSuchCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1352
+ NoSuchCachePolicy.struct_class = Types::NoSuchCachePolicy
1353
+
1110
1354
  NoSuchCloudFrontOriginAccessIdentity.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1111
1355
  NoSuchCloudFrontOriginAccessIdentity.struct_class = Types::NoSuchCloudFrontOriginAccessIdentity
1112
1356
 
@@ -1125,6 +1369,9 @@ module Aws::CloudFront
1125
1369
  NoSuchOrigin.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1126
1370
  NoSuchOrigin.struct_class = Types::NoSuchOrigin
1127
1371
 
1372
+ NoSuchOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1373
+ NoSuchOriginRequestPolicy.struct_class = Types::NoSuchOriginRequestPolicy
1374
+
1128
1375
  NoSuchPublicKey.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1129
1376
  NoSuchPublicKey.struct_class = Types::NoSuchPublicKey
1130
1377
 
@@ -1175,6 +1422,48 @@ module Aws::CloudFront
1175
1422
 
1176
1423
  OriginList.member = Shapes::ShapeRef.new(shape: Origin, location_name: "Origin")
1177
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
+
1178
1467
  OriginSslProtocols.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1179
1468
  OriginSslProtocols.add_member(:items, Shapes::ShapeRef.new(shape: SslProtocolsList, required: true, location_name: "Items"))
1180
1469
  OriginSslProtocols.struct_class = Types::OriginSslProtocols
@@ -1183,6 +1472,12 @@ module Aws::CloudFront
1183
1472
  Origins.add_member(:items, Shapes::ShapeRef.new(shape: OriginList, required: true, location_name: "Items"))
1184
1473
  Origins.struct_class = Types::Origins
1185
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
+
1186
1481
  PathList.member = Shapes::ShapeRef.new(shape: string, location_name: "Path")
1187
1482
 
1188
1483
  Paths.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -1247,6 +1542,12 @@ module Aws::CloudFront
1247
1542
 
1248
1543
  QueryStringCacheKeysList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1249
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
+
1250
1551
  Restrictions.add_member(:geo_restriction, Shapes::ShapeRef.new(shape: GeoRestriction, required: true, location_name: "GeoRestriction"))
1251
1552
  Restrictions.struct_class = Types::Restrictions
1252
1553
 
@@ -1340,7 +1641,7 @@ module Aws::CloudFront
1340
1641
  TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
1341
1642
 
1342
1643
  TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "Resource"))
1343
- 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/"}}))
1344
1645
  TagResourceRequest.struct_class = Types::TagResourceRequest
1345
1646
  TagResourceRequest[:payload] = :tags
1346
1647
  TagResourceRequest[:payload_member] = TagResourceRequest.member(:tags)
@@ -1351,6 +1652,9 @@ module Aws::CloudFront
1351
1652
  TooManyCacheBehaviors.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1352
1653
  TooManyCacheBehaviors.struct_class = Types::TooManyCacheBehaviors
1353
1654
 
1655
+ TooManyCachePolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1656
+ TooManyCachePolicies.struct_class = Types::TooManyCachePolicies
1657
+
1354
1658
  TooManyCertificates.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1355
1659
  TooManyCertificates.struct_class = Types::TooManyCertificates
1356
1660
 
@@ -1360,18 +1664,33 @@ module Aws::CloudFront
1360
1664
  TooManyCookieNamesInWhiteList.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1361
1665
  TooManyCookieNamesInWhiteList.struct_class = Types::TooManyCookieNamesInWhiteList
1362
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
+
1363
1673
  TooManyDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1364
1674
  TooManyDistributionCNAMEs.struct_class = Types::TooManyDistributionCNAMEs
1365
1675
 
1366
1676
  TooManyDistributions.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1367
1677
  TooManyDistributions.struct_class = Types::TooManyDistributions
1368
1678
 
1679
+ TooManyDistributionsAssociatedToCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1680
+ TooManyDistributionsAssociatedToCachePolicy.struct_class = Types::TooManyDistributionsAssociatedToCachePolicy
1681
+
1369
1682
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1370
1683
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.struct_class = Types::TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
1371
1684
 
1685
+ TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1686
+ TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
1687
+
1372
1688
  TooManyDistributionsWithLambdaAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1373
1689
  TooManyDistributionsWithLambdaAssociations.struct_class = Types::TooManyDistributionsWithLambdaAssociations
1374
1690
 
1691
+ TooManyDistributionsWithSingleFunctionARN.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1692
+ TooManyDistributionsWithSingleFunctionARN.struct_class = Types::TooManyDistributionsWithSingleFunctionARN
1693
+
1375
1694
  TooManyFieldLevelEncryptionConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1376
1695
  TooManyFieldLevelEncryptionConfigs.struct_class = Types::TooManyFieldLevelEncryptionConfigs
1377
1696
 
@@ -1390,9 +1709,15 @@ module Aws::CloudFront
1390
1709
  TooManyFieldLevelEncryptionQueryArgProfiles.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1391
1710
  TooManyFieldLevelEncryptionQueryArgProfiles.struct_class = Types::TooManyFieldLevelEncryptionQueryArgProfiles
1392
1711
 
1712
+ TooManyHeadersInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1713
+ TooManyHeadersInCachePolicy.struct_class = Types::TooManyHeadersInCachePolicy
1714
+
1393
1715
  TooManyHeadersInForwardedValues.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1394
1716
  TooManyHeadersInForwardedValues.struct_class = Types::TooManyHeadersInForwardedValues
1395
1717
 
1718
+ TooManyHeadersInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1719
+ TooManyHeadersInOriginRequestPolicy.struct_class = Types::TooManyHeadersInOriginRequestPolicy
1720
+
1396
1721
  TooManyInvalidationsInProgress.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1397
1722
  TooManyInvalidationsInProgress.struct_class = Types::TooManyInvalidationsInProgress
1398
1723
 
@@ -1405,6 +1730,9 @@ module Aws::CloudFront
1405
1730
  TooManyOriginGroupsPerDistribution.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1406
1731
  TooManyOriginGroupsPerDistribution.struct_class = Types::TooManyOriginGroupsPerDistribution
1407
1732
 
1733
+ TooManyOriginRequestPolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1734
+ TooManyOriginRequestPolicies.struct_class = Types::TooManyOriginRequestPolicies
1735
+
1408
1736
  TooManyOrigins.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1409
1737
  TooManyOrigins.struct_class = Types::TooManyOrigins
1410
1738
 
@@ -1414,6 +1742,12 @@ module Aws::CloudFront
1414
1742
  TooManyQueryStringParameters.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1415
1743
  TooManyQueryStringParameters.struct_class = Types::TooManyQueryStringParameters
1416
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
+
1417
1751
  TooManyStreamingDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1418
1752
  TooManyStreamingDistributionCNAMEs.struct_class = Types::TooManyStreamingDistributionCNAMEs
1419
1753
 
@@ -1432,12 +1766,25 @@ module Aws::CloudFront
1432
1766
  TrustedSigners.struct_class = Types::TrustedSigners
1433
1767
 
1434
1768
  UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "Resource"))
1435
- 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/"}}))
1436
1770
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
1437
1771
  UntagResourceRequest[:payload] = :tag_keys
1438
1772
  UntagResourceRequest[:payload_member] = UntagResourceRequest.member(:tag_keys)
1439
1773
 
1440
- 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/"}}))
1441
1788
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1442
1789
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1443
1790
  UpdateCloudFrontOriginAccessIdentityRequest.struct_class = Types::UpdateCloudFrontOriginAccessIdentityRequest
@@ -1450,7 +1797,7 @@ module Aws::CloudFront
1450
1797
  UpdateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
1451
1798
  UpdateCloudFrontOriginAccessIdentityResult[:payload_member] = UpdateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
1452
1799
 
1453
- 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/"}}))
1454
1801
  UpdateDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1455
1802
  UpdateDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1456
1803
  UpdateDistributionRequest.struct_class = Types::UpdateDistributionRequest
@@ -1463,7 +1810,7 @@ module Aws::CloudFront
1463
1810
  UpdateDistributionResult[:payload] = :distribution
1464
1811
  UpdateDistributionResult[:payload_member] = UpdateDistributionResult.member(:distribution)
1465
1812
 
1466
- 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/"}}))
1467
1814
  UpdateFieldLevelEncryptionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1468
1815
  UpdateFieldLevelEncryptionConfigRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1469
1816
  UpdateFieldLevelEncryptionConfigRequest.struct_class = Types::UpdateFieldLevelEncryptionConfigRequest
@@ -1476,7 +1823,7 @@ module Aws::CloudFront
1476
1823
  UpdateFieldLevelEncryptionConfigResult[:payload] = :field_level_encryption
1477
1824
  UpdateFieldLevelEncryptionConfigResult[:payload_member] = UpdateFieldLevelEncryptionConfigResult.member(:field_level_encryption)
1478
1825
 
1479
- 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/"}}))
1480
1827
  UpdateFieldLevelEncryptionProfileRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1481
1828
  UpdateFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1482
1829
  UpdateFieldLevelEncryptionProfileRequest.struct_class = Types::UpdateFieldLevelEncryptionProfileRequest
@@ -1489,7 +1836,20 @@ module Aws::CloudFront
1489
1836
  UpdateFieldLevelEncryptionProfileResult[:payload] = :field_level_encryption_profile
1490
1837
  UpdateFieldLevelEncryptionProfileResult[:payload_member] = UpdateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
1491
1838
 
1492
- 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/"}}))
1493
1853
  UpdatePublicKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1494
1854
  UpdatePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1495
1855
  UpdatePublicKeyRequest.struct_class = Types::UpdatePublicKeyRequest
@@ -1502,7 +1862,7 @@ module Aws::CloudFront
1502
1862
  UpdatePublicKeyResult[:payload] = :public_key
1503
1863
  UpdatePublicKeyResult[:payload_member] = UpdatePublicKeyResult.member(:public_key)
1504
1864
 
1505
- 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/"}}))
1506
1866
  UpdateStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1507
1867
  UpdateStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1508
1868
  UpdateStreamingDistributionRequest.struct_class = Types::UpdateStreamingDistributionRequest
@@ -1528,10 +1888,10 @@ module Aws::CloudFront
1528
1888
  # @api private
1529
1889
  API = Seahorse::Model::Api.new.tap do |api|
1530
1890
 
1531
- api.version = "2019-03-26"
1891
+ api.version = "2020-05-31"
1532
1892
 
1533
1893
  api.metadata = {
1534
- "apiVersion" => "2019-03-26",
1894
+ "apiVersion" => "2020-05-31",
1535
1895
  "endpointPrefix" => "cloudfront",
1536
1896
  "globalEndpoint" => "cloudfront.amazonaws.com",
1537
1897
  "protocol" => "rest-xml",
@@ -1539,13 +1899,29 @@ module Aws::CloudFront
1539
1899
  "serviceFullName" => "Amazon CloudFront",
1540
1900
  "serviceId" => "CloudFront",
1541
1901
  "signatureVersion" => "v4",
1542
- "uid" => "cloudfront-2019-03-26",
1902
+ "uid" => "cloudfront-2020-05-31",
1543
1903
  }
1544
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
+
1545
1921
  api.add_operation(:create_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1546
- o.name = "CreateCloudFrontOriginAccessIdentity2019_03_26"
1922
+ o.name = "CreateCloudFrontOriginAccessIdentity2020_05_31"
1547
1923
  o.http_method = "POST"
1548
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront"
1924
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront"
1549
1925
  o.input = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityRequest)
1550
1926
  o.output = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityResult)
1551
1927
  o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityAlreadyExists)
@@ -1556,9 +1932,9 @@ module Aws::CloudFront
1556
1932
  end)
1557
1933
 
1558
1934
  api.add_operation(:create_distribution, Seahorse::Model::Operation.new.tap do |o|
1559
- o.name = "CreateDistribution2019_03_26"
1935
+ o.name = "CreateDistribution2020_05_31"
1560
1936
  o.http_method = "POST"
1561
- o.http_request_uri = "/2019-03-26/distribution"
1937
+ o.http_request_uri = "/2020-05-31/distribution"
1562
1938
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionRequest)
1563
1939
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionResult)
1564
1940
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1598,6 +1974,7 @@ module Aws::CloudFront
1598
1974
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
1599
1975
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
1600
1976
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
1977
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
1601
1978
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
1602
1979
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
1603
1980
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -1605,12 +1982,16 @@ module Aws::CloudFront
1605
1982
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
1606
1983
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
1607
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)
1608
1989
  end)
1609
1990
 
1610
1991
  api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
1611
- o.name = "CreateDistributionWithTags2019_03_26"
1992
+ o.name = "CreateDistributionWithTags2020_05_31"
1612
1993
  o.http_method = "POST"
1613
- o.http_request_uri = "/2019-03-26/distribution?WithTags"
1994
+ o.http_request_uri = "/2020-05-31/distribution?WithTags"
1614
1995
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsRequest)
1615
1996
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsResult)
1616
1997
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1651,6 +2032,7 @@ module Aws::CloudFront
1651
2032
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
1652
2033
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
1653
2034
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2035
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
1654
2036
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
1655
2037
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
1656
2038
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -1658,12 +2040,16 @@ module Aws::CloudFront
1658
2040
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
1659
2041
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
1660
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)
1661
2047
  end)
1662
2048
 
1663
2049
  api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1664
- o.name = "CreateFieldLevelEncryptionConfig2019_03_26"
2050
+ o.name = "CreateFieldLevelEncryptionConfig2020_05_31"
1665
2051
  o.http_method = "POST"
1666
- o.http_request_uri = "/2019-03-26/field-level-encryption"
2052
+ o.http_request_uri = "/2020-05-31/field-level-encryption"
1667
2053
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigRequest)
1668
2054
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigResult)
1669
2055
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
@@ -1677,9 +2063,9 @@ module Aws::CloudFront
1677
2063
  end)
1678
2064
 
1679
2065
  api.add_operation(:create_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1680
- o.name = "CreateFieldLevelEncryptionProfile2019_03_26"
2066
+ o.name = "CreateFieldLevelEncryptionProfile2020_05_31"
1681
2067
  o.http_method = "POST"
1682
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile"
2068
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile"
1683
2069
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileRequest)
1684
2070
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileResult)
1685
2071
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
@@ -1693,9 +2079,9 @@ module Aws::CloudFront
1693
2079
  end)
1694
2080
 
1695
2081
  api.add_operation(:create_invalidation, Seahorse::Model::Operation.new.tap do |o|
1696
- o.name = "CreateInvalidation2019_03_26"
2082
+ o.name = "CreateInvalidation2020_05_31"
1697
2083
  o.http_method = "POST"
1698
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation"
2084
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
1699
2085
  o.input = Shapes::ShapeRef.new(shape: CreateInvalidationRequest)
1700
2086
  o.output = Shapes::ShapeRef.new(shape: CreateInvalidationResult)
1701
2087
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1707,10 +2093,26 @@ module Aws::CloudFront
1707
2093
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
1708
2094
  end)
1709
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
+
1710
2112
  api.add_operation(:create_public_key, Seahorse::Model::Operation.new.tap do |o|
1711
- o.name = "CreatePublicKey2019_03_26"
2113
+ o.name = "CreatePublicKey2020_05_31"
1712
2114
  o.http_method = "POST"
1713
- o.http_request_uri = "/2019-03-26/public-key"
2115
+ o.http_request_uri = "/2020-05-31/public-key"
1714
2116
  o.input = Shapes::ShapeRef.new(shape: CreatePublicKeyRequest)
1715
2117
  o.output = Shapes::ShapeRef.new(shape: CreatePublicKeyResult)
1716
2118
  o.errors << Shapes::ShapeRef.new(shape: PublicKeyAlreadyExists)
@@ -1719,9 +2121,9 @@ module Aws::CloudFront
1719
2121
  end)
1720
2122
 
1721
2123
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1722
- o.name = "CreateStreamingDistribution2019_03_26"
2124
+ o.name = "CreateStreamingDistribution2020_05_31"
1723
2125
  o.http_method = "POST"
1724
- o.http_request_uri = "/2019-03-26/streaming-distribution"
2126
+ o.http_request_uri = "/2020-05-31/streaming-distribution"
1725
2127
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionRequest)
1726
2128
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionResult)
1727
2129
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1739,9 +2141,9 @@ module Aws::CloudFront
1739
2141
  end)
1740
2142
 
1741
2143
  api.add_operation(:create_streaming_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
1742
- o.name = "CreateStreamingDistributionWithTags2019_03_26"
2144
+ o.name = "CreateStreamingDistributionWithTags2020_05_31"
1743
2145
  o.http_method = "POST"
1744
- o.http_request_uri = "/2019-03-26/streaming-distribution?WithTags"
2146
+ o.http_request_uri = "/2020-05-31/streaming-distribution?WithTags"
1745
2147
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsRequest)
1746
2148
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsResult)
1747
2149
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1759,10 +2161,24 @@ module Aws::CloudFront
1759
2161
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
1760
2162
  end)
1761
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
+
1762
2178
  api.add_operation(:delete_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1763
- o.name = "DeleteCloudFrontOriginAccessIdentity2019_03_26"
2179
+ o.name = "DeleteCloudFrontOriginAccessIdentity2020_05_31"
1764
2180
  o.http_method = "DELETE"
1765
- 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}"
1766
2182
  o.input = Shapes::ShapeRef.new(shape: DeleteCloudFrontOriginAccessIdentityRequest)
1767
2183
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1768
2184
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1773,9 +2189,9 @@ module Aws::CloudFront
1773
2189
  end)
1774
2190
 
1775
2191
  api.add_operation(:delete_distribution, Seahorse::Model::Operation.new.tap do |o|
1776
- o.name = "DeleteDistribution2019_03_26"
2192
+ o.name = "DeleteDistribution2020_05_31"
1777
2193
  o.http_method = "DELETE"
1778
- o.http_request_uri = "/2019-03-26/distribution/{Id}"
2194
+ o.http_request_uri = "/2020-05-31/distribution/{Id}"
1779
2195
  o.input = Shapes::ShapeRef.new(shape: DeleteDistributionRequest)
1780
2196
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1781
2197
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1786,9 +2202,9 @@ module Aws::CloudFront
1786
2202
  end)
1787
2203
 
1788
2204
  api.add_operation(:delete_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1789
- o.name = "DeleteFieldLevelEncryptionConfig2019_03_26"
2205
+ o.name = "DeleteFieldLevelEncryptionConfig2020_05_31"
1790
2206
  o.http_method = "DELETE"
1791
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}"
2207
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}"
1792
2208
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionConfigRequest)
1793
2209
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1794
2210
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1799,9 +2215,9 @@ module Aws::CloudFront
1799
2215
  end)
1800
2216
 
1801
2217
  api.add_operation(:delete_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1802
- o.name = "DeleteFieldLevelEncryptionProfile2019_03_26"
2218
+ o.name = "DeleteFieldLevelEncryptionProfile2020_05_31"
1803
2219
  o.http_method = "DELETE"
1804
- 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}"
1805
2221
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionProfileRequest)
1806
2222
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1807
2223
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1811,10 +2227,24 @@ module Aws::CloudFront
1811
2227
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
1812
2228
  end)
1813
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
+
1814
2244
  api.add_operation(:delete_public_key, Seahorse::Model::Operation.new.tap do |o|
1815
- o.name = "DeletePublicKey2019_03_26"
2245
+ o.name = "DeletePublicKey2020_05_31"
1816
2246
  o.http_method = "DELETE"
1817
- o.http_request_uri = "/2019-03-26/public-key/{Id}"
2247
+ o.http_request_uri = "/2020-05-31/public-key/{Id}"
1818
2248
  o.input = Shapes::ShapeRef.new(shape: DeletePublicKeyRequest)
1819
2249
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1820
2250
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1825,9 +2255,9 @@ module Aws::CloudFront
1825
2255
  end)
1826
2256
 
1827
2257
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1828
- o.name = "DeleteStreamingDistribution2019_03_26"
2258
+ o.name = "DeleteStreamingDistribution2020_05_31"
1829
2259
  o.http_method = "DELETE"
1830
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}"
2260
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
1831
2261
  o.input = Shapes::ShapeRef.new(shape: DeleteStreamingDistributionRequest)
1832
2262
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1833
2263
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1837,10 +2267,30 @@ module Aws::CloudFront
1837
2267
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
1838
2268
  end)
1839
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
+
1840
2290
  api.add_operation(:get_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1841
- o.name = "GetCloudFrontOriginAccessIdentity2019_03_26"
2291
+ o.name = "GetCloudFrontOriginAccessIdentity2020_05_31"
1842
2292
  o.http_method = "GET"
1843
- 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}"
1844
2294
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityRequest)
1845
2295
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityResult)
1846
2296
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1848,9 +2298,9 @@ module Aws::CloudFront
1848
2298
  end)
1849
2299
 
1850
2300
  api.add_operation(:get_cloud_front_origin_access_identity_config, Seahorse::Model::Operation.new.tap do |o|
1851
- o.name = "GetCloudFrontOriginAccessIdentityConfig2019_03_26"
2301
+ o.name = "GetCloudFrontOriginAccessIdentityConfig2020_05_31"
1852
2302
  o.http_method = "GET"
1853
- 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"
1854
2304
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigRequest)
1855
2305
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigResult)
1856
2306
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1858,9 +2308,9 @@ module Aws::CloudFront
1858
2308
  end)
1859
2309
 
1860
2310
  api.add_operation(:get_distribution, Seahorse::Model::Operation.new.tap do |o|
1861
- o.name = "GetDistribution2019_03_26"
2311
+ o.name = "GetDistribution2020_05_31"
1862
2312
  o.http_method = "GET"
1863
- o.http_request_uri = "/2019-03-26/distribution/{Id}"
2313
+ o.http_request_uri = "/2020-05-31/distribution/{Id}"
1864
2314
  o.input = Shapes::ShapeRef.new(shape: GetDistributionRequest)
1865
2315
  o.output = Shapes::ShapeRef.new(shape: GetDistributionResult)
1866
2316
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1868,9 +2318,9 @@ module Aws::CloudFront
1868
2318
  end)
1869
2319
 
1870
2320
  api.add_operation(:get_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1871
- o.name = "GetDistributionConfig2019_03_26"
2321
+ o.name = "GetDistributionConfig2020_05_31"
1872
2322
  o.http_method = "GET"
1873
- o.http_request_uri = "/2019-03-26/distribution/{Id}/config"
2323
+ o.http_request_uri = "/2020-05-31/distribution/{Id}/config"
1874
2324
  o.input = Shapes::ShapeRef.new(shape: GetDistributionConfigRequest)
1875
2325
  o.output = Shapes::ShapeRef.new(shape: GetDistributionConfigResult)
1876
2326
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1878,9 +2328,9 @@ module Aws::CloudFront
1878
2328
  end)
1879
2329
 
1880
2330
  api.add_operation(:get_field_level_encryption, Seahorse::Model::Operation.new.tap do |o|
1881
- o.name = "GetFieldLevelEncryption2019_03_26"
2331
+ o.name = "GetFieldLevelEncryption2020_05_31"
1882
2332
  o.http_method = "GET"
1883
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}"
2333
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}"
1884
2334
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionRequest)
1885
2335
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionResult)
1886
2336
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1888,9 +2338,9 @@ module Aws::CloudFront
1888
2338
  end)
1889
2339
 
1890
2340
  api.add_operation(:get_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1891
- o.name = "GetFieldLevelEncryptionConfig2019_03_26"
2341
+ o.name = "GetFieldLevelEncryptionConfig2020_05_31"
1892
2342
  o.http_method = "GET"
1893
- 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"
1894
2344
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionConfigRequest)
1895
2345
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionConfigResult)
1896
2346
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1898,9 +2348,9 @@ module Aws::CloudFront
1898
2348
  end)
1899
2349
 
1900
2350
  api.add_operation(:get_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1901
- o.name = "GetFieldLevelEncryptionProfile2019_03_26"
2351
+ o.name = "GetFieldLevelEncryptionProfile2020_05_31"
1902
2352
  o.http_method = "GET"
1903
- 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}"
1904
2354
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileRequest)
1905
2355
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileResult)
1906
2356
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1908,9 +2358,9 @@ module Aws::CloudFront
1908
2358
  end)
1909
2359
 
1910
2360
  api.add_operation(:get_field_level_encryption_profile_config, Seahorse::Model::Operation.new.tap do |o|
1911
- o.name = "GetFieldLevelEncryptionProfileConfig2019_03_26"
2361
+ o.name = "GetFieldLevelEncryptionProfileConfig2020_05_31"
1912
2362
  o.http_method = "GET"
1913
- 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"
1914
2364
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileConfigRequest)
1915
2365
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileConfigResult)
1916
2366
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1918,9 +2368,9 @@ module Aws::CloudFront
1918
2368
  end)
1919
2369
 
1920
2370
  api.add_operation(:get_invalidation, Seahorse::Model::Operation.new.tap do |o|
1921
- o.name = "GetInvalidation2019_03_26"
2371
+ o.name = "GetInvalidation2020_05_31"
1922
2372
  o.http_method = "GET"
1923
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation/{Id}"
2373
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation/{Id}"
1924
2374
  o.input = Shapes::ShapeRef.new(shape: GetInvalidationRequest)
1925
2375
  o.output = Shapes::ShapeRef.new(shape: GetInvalidationResult)
1926
2376
  o.errors << Shapes::ShapeRef.new(shape: NoSuchInvalidation)
@@ -1928,10 +2378,30 @@ module Aws::CloudFront
1928
2378
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1929
2379
  end)
1930
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
+
1931
2401
  api.add_operation(:get_public_key, Seahorse::Model::Operation.new.tap do |o|
1932
- o.name = "GetPublicKey2019_03_26"
2402
+ o.name = "GetPublicKey2020_05_31"
1933
2403
  o.http_method = "GET"
1934
- o.http_request_uri = "/2019-03-26/public-key/{Id}"
2404
+ o.http_request_uri = "/2020-05-31/public-key/{Id}"
1935
2405
  o.input = Shapes::ShapeRef.new(shape: GetPublicKeyRequest)
1936
2406
  o.output = Shapes::ShapeRef.new(shape: GetPublicKeyResult)
1937
2407
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1939,9 +2409,9 @@ module Aws::CloudFront
1939
2409
  end)
1940
2410
 
1941
2411
  api.add_operation(:get_public_key_config, Seahorse::Model::Operation.new.tap do |o|
1942
- o.name = "GetPublicKeyConfig2019_03_26"
2412
+ o.name = "GetPublicKeyConfig2020_05_31"
1943
2413
  o.http_method = "GET"
1944
- o.http_request_uri = "/2019-03-26/public-key/{Id}/config"
2414
+ o.http_request_uri = "/2020-05-31/public-key/{Id}/config"
1945
2415
  o.input = Shapes::ShapeRef.new(shape: GetPublicKeyConfigRequest)
1946
2416
  o.output = Shapes::ShapeRef.new(shape: GetPublicKeyConfigResult)
1947
2417
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1949,9 +2419,9 @@ module Aws::CloudFront
1949
2419
  end)
1950
2420
 
1951
2421
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1952
- o.name = "GetStreamingDistribution2019_03_26"
2422
+ o.name = "GetStreamingDistribution2020_05_31"
1953
2423
  o.http_method = "GET"
1954
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}"
2424
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
1955
2425
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionRequest)
1956
2426
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionResult)
1957
2427
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
@@ -1959,19 +2429,30 @@ module Aws::CloudFront
1959
2429
  end)
1960
2430
 
1961
2431
  api.add_operation(:get_streaming_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1962
- o.name = "GetStreamingDistributionConfig2019_03_26"
2432
+ o.name = "GetStreamingDistributionConfig2020_05_31"
1963
2433
  o.http_method = "GET"
1964
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}/config"
2434
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}/config"
1965
2435
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigRequest)
1966
2436
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigResult)
1967
2437
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
1968
2438
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1969
2439
  end)
1970
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
+
1971
2452
  api.add_operation(:list_cloud_front_origin_access_identities, Seahorse::Model::Operation.new.tap do |o|
1972
- o.name = "ListCloudFrontOriginAccessIdentities2019_03_26"
2453
+ o.name = "ListCloudFrontOriginAccessIdentities2020_05_31"
1973
2454
  o.http_method = "GET"
1974
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront"
2455
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront"
1975
2456
  o.input = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesRequest)
1976
2457
  o.output = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesResult)
1977
2458
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1985,9 +2466,9 @@ module Aws::CloudFront
1985
2466
  end)
1986
2467
 
1987
2468
  api.add_operation(:list_distributions, Seahorse::Model::Operation.new.tap do |o|
1988
- o.name = "ListDistributions2019_03_26"
2469
+ o.name = "ListDistributions2020_05_31"
1989
2470
  o.http_method = "GET"
1990
- o.http_request_uri = "/2019-03-26/distribution"
2471
+ o.http_request_uri = "/2020-05-31/distribution"
1991
2472
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsRequest)
1992
2473
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsResult)
1993
2474
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2000,10 +2481,32 @@ module Aws::CloudFront
2000
2481
  )
2001
2482
  end)
2002
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
+
2003
2506
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
2004
- o.name = "ListDistributionsByWebACLId2019_03_26"
2507
+ o.name = "ListDistributionsByWebACLId2020_05_31"
2005
2508
  o.http_method = "GET"
2006
- o.http_request_uri = "/2019-03-26/distributionsByWebACLId/{WebACLId}"
2509
+ o.http_request_uri = "/2020-05-31/distributionsByWebACLId/{WebACLId}"
2007
2510
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdRequest)
2008
2511
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdResult)
2009
2512
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2011,27 +2514,27 @@ module Aws::CloudFront
2011
2514
  end)
2012
2515
 
2013
2516
  api.add_operation(:list_field_level_encryption_configs, Seahorse::Model::Operation.new.tap do |o|
2014
- o.name = "ListFieldLevelEncryptionConfigs2019_03_26"
2517
+ o.name = "ListFieldLevelEncryptionConfigs2020_05_31"
2015
2518
  o.http_method = "GET"
2016
- o.http_request_uri = "/2019-03-26/field-level-encryption"
2519
+ o.http_request_uri = "/2020-05-31/field-level-encryption"
2017
2520
  o.input = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionConfigsRequest)
2018
2521
  o.output = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionConfigsResult)
2019
2522
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2020
2523
  end)
2021
2524
 
2022
2525
  api.add_operation(:list_field_level_encryption_profiles, Seahorse::Model::Operation.new.tap do |o|
2023
- o.name = "ListFieldLevelEncryptionProfiles2019_03_26"
2526
+ o.name = "ListFieldLevelEncryptionProfiles2020_05_31"
2024
2527
  o.http_method = "GET"
2025
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile"
2528
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile"
2026
2529
  o.input = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionProfilesRequest)
2027
2530
  o.output = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionProfilesResult)
2028
2531
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2029
2532
  end)
2030
2533
 
2031
2534
  api.add_operation(:list_invalidations, Seahorse::Model::Operation.new.tap do |o|
2032
- o.name = "ListInvalidations2019_03_26"
2535
+ o.name = "ListInvalidations2020_05_31"
2033
2536
  o.http_method = "GET"
2034
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation"
2537
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
2035
2538
  o.input = Shapes::ShapeRef.new(shape: ListInvalidationsRequest)
2036
2539
  o.output = Shapes::ShapeRef.new(shape: ListInvalidationsResult)
2037
2540
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2046,19 +2549,30 @@ module Aws::CloudFront
2046
2549
  )
2047
2550
  end)
2048
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
+
2049
2563
  api.add_operation(:list_public_keys, Seahorse::Model::Operation.new.tap do |o|
2050
- o.name = "ListPublicKeys2019_03_26"
2564
+ o.name = "ListPublicKeys2020_05_31"
2051
2565
  o.http_method = "GET"
2052
- o.http_request_uri = "/2019-03-26/public-key"
2566
+ o.http_request_uri = "/2020-05-31/public-key"
2053
2567
  o.input = Shapes::ShapeRef.new(shape: ListPublicKeysRequest)
2054
2568
  o.output = Shapes::ShapeRef.new(shape: ListPublicKeysResult)
2055
2569
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2056
2570
  end)
2057
2571
 
2058
2572
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
2059
- o.name = "ListStreamingDistributions2019_03_26"
2573
+ o.name = "ListStreamingDistributions2020_05_31"
2060
2574
  o.http_method = "GET"
2061
- o.http_request_uri = "/2019-03-26/streaming-distribution"
2575
+ o.http_request_uri = "/2020-05-31/streaming-distribution"
2062
2576
  o.input = Shapes::ShapeRef.new(shape: ListStreamingDistributionsRequest)
2063
2577
  o.output = Shapes::ShapeRef.new(shape: ListStreamingDistributionsResult)
2064
2578
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2072,9 +2586,9 @@ module Aws::CloudFront
2072
2586
  end)
2073
2587
 
2074
2588
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2075
- o.name = "ListTagsForResource2019_03_26"
2589
+ o.name = "ListTagsForResource2020_05_31"
2076
2590
  o.http_method = "GET"
2077
- o.http_request_uri = "/2019-03-26/tagging"
2591
+ o.http_request_uri = "/2020-05-31/tagging"
2078
2592
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
2079
2593
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
2080
2594
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2084,9 +2598,9 @@ module Aws::CloudFront
2084
2598
  end)
2085
2599
 
2086
2600
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2087
- o.name = "TagResource2019_03_26"
2601
+ o.name = "TagResource2020_05_31"
2088
2602
  o.http_method = "POST"
2089
- o.http_request_uri = "/2019-03-26/tagging?Operation=Tag"
2603
+ o.http_request_uri = "/2020-05-31/tagging?Operation=Tag"
2090
2604
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2091
2605
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2092
2606
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2096,9 +2610,9 @@ module Aws::CloudFront
2096
2610
  end)
2097
2611
 
2098
2612
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
2099
- o.name = "UntagResource2019_03_26"
2613
+ o.name = "UntagResource2020_05_31"
2100
2614
  o.http_method = "POST"
2101
- o.http_request_uri = "/2019-03-26/tagging?Operation=Untag"
2615
+ o.http_request_uri = "/2020-05-31/tagging?Operation=Untag"
2102
2616
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2103
2617
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2104
2618
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2107,10 +2621,29 @@ module Aws::CloudFront
2107
2621
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
2108
2622
  end)
2109
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
+
2110
2643
  api.add_operation(:update_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
2111
- o.name = "UpdateCloudFrontOriginAccessIdentity2019_03_26"
2644
+ o.name = "UpdateCloudFrontOriginAccessIdentity2020_05_31"
2112
2645
  o.http_method = "PUT"
2113
- 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"
2114
2647
  o.input = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityRequest)
2115
2648
  o.output = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityResult)
2116
2649
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2124,9 +2657,9 @@ module Aws::CloudFront
2124
2657
  end)
2125
2658
 
2126
2659
  api.add_operation(:update_distribution, Seahorse::Model::Operation.new.tap do |o|
2127
- o.name = "UpdateDistribution2019_03_26"
2660
+ o.name = "UpdateDistribution2020_05_31"
2128
2661
  o.http_method = "PUT"
2129
- o.http_request_uri = "/2019-03-26/distribution/{Id}/config"
2662
+ o.http_request_uri = "/2020-05-31/distribution/{Id}/config"
2130
2663
  o.input = Shapes::ShapeRef.new(shape: UpdateDistributionRequest)
2131
2664
  o.output = Shapes::ShapeRef.new(shape: UpdateDistributionResult)
2132
2665
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2166,6 +2699,7 @@ module Aws::CloudFront
2166
2699
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
2167
2700
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
2168
2701
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2702
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
2169
2703
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
2170
2704
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
2171
2705
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -2173,12 +2707,16 @@ module Aws::CloudFront
2173
2707
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
2174
2708
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
2175
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)
2176
2714
  end)
2177
2715
 
2178
2716
  api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
2179
- o.name = "UpdateFieldLevelEncryptionConfig2019_03_26"
2717
+ o.name = "UpdateFieldLevelEncryptionConfig2020_05_31"
2180
2718
  o.http_method = "PUT"
2181
- 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"
2182
2720
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigRequest)
2183
2721
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigResult)
2184
2722
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2195,9 +2733,9 @@ module Aws::CloudFront
2195
2733
  end)
2196
2734
 
2197
2735
  api.add_operation(:update_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
2198
- o.name = "UpdateFieldLevelEncryptionProfile2019_03_26"
2736
+ o.name = "UpdateFieldLevelEncryptionProfile2020_05_31"
2199
2737
  o.http_method = "PUT"
2200
- 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"
2201
2739
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileRequest)
2202
2740
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileResult)
2203
2741
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2214,10 +2752,29 @@ module Aws::CloudFront
2214
2752
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
2215
2753
  end)
2216
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
+
2217
2774
  api.add_operation(:update_public_key, Seahorse::Model::Operation.new.tap do |o|
2218
- o.name = "UpdatePublicKey2019_03_26"
2775
+ o.name = "UpdatePublicKey2020_05_31"
2219
2776
  o.http_method = "PUT"
2220
- o.http_request_uri = "/2019-03-26/public-key/{Id}/config"
2777
+ o.http_request_uri = "/2020-05-31/public-key/{Id}/config"
2221
2778
  o.input = Shapes::ShapeRef.new(shape: UpdatePublicKeyRequest)
2222
2779
  o.output = Shapes::ShapeRef.new(shape: UpdatePublicKeyResult)
2223
2780
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2230,9 +2787,9 @@ module Aws::CloudFront
2230
2787
  end)
2231
2788
 
2232
2789
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2233
- o.name = "UpdateStreamingDistribution2019_03_26"
2790
+ o.name = "UpdateStreamingDistribution2020_05_31"
2234
2791
  o.http_method = "PUT"
2235
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}/config"
2792
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}/config"
2236
2793
  o.input = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionRequest)
2237
2794
  o.output = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionResult)
2238
2795
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)