aws-sdk-cloudfront 1.34.0 → 1.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,10 @@ 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
+ CreateMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateMonitoringSubscriptionRequest')
76
+ CreateMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'CreateMonitoringSubscriptionResult')
77
+ CreateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyRequest')
78
+ CreateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyResult')
59
79
  CreatePublicKeyRequest = Shapes::StructureShape.new(name: 'CreatePublicKeyRequest')
60
80
  CreatePublicKeyResult = Shapes::StructureShape.new(name: 'CreatePublicKeyResult')
61
81
  CreateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionRequest')
@@ -68,16 +88,22 @@ module Aws::CloudFront
68
88
  CustomHeaders = Shapes::StructureShape.new(name: 'CustomHeaders')
69
89
  CustomOriginConfig = Shapes::StructureShape.new(name: 'CustomOriginConfig')
70
90
  DefaultCacheBehavior = Shapes::StructureShape.new(name: 'DefaultCacheBehavior')
91
+ DeleteCachePolicyRequest = Shapes::StructureShape.new(name: 'DeleteCachePolicyRequest')
71
92
  DeleteCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'DeleteCloudFrontOriginAccessIdentityRequest')
72
93
  DeleteDistributionRequest = Shapes::StructureShape.new(name: 'DeleteDistributionRequest')
73
94
  DeleteFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionConfigRequest')
74
95
  DeleteFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionProfileRequest')
96
+ DeleteMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionRequest')
97
+ DeleteMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionResult')
98
+ DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
75
99
  DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
76
100
  DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
77
101
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
78
102
  DistributionAlreadyExists = Shapes::StructureShape.new(name: 'DistributionAlreadyExists')
79
103
  DistributionConfig = Shapes::StructureShape.new(name: 'DistributionConfig')
80
104
  DistributionConfigWithTags = Shapes::StructureShape.new(name: 'DistributionConfigWithTags')
105
+ DistributionIdList = Shapes::StructureShape.new(name: 'DistributionIdList')
106
+ DistributionIdListSummary = Shapes::ListShape.new(name: 'DistributionIdListSummary')
81
107
  DistributionList = Shapes::StructureShape.new(name: 'DistributionList')
82
108
  DistributionNotDisabled = Shapes::StructureShape.new(name: 'DistributionNotDisabled')
83
109
  DistributionSummary = Shapes::StructureShape.new(name: 'DistributionSummary')
@@ -107,6 +133,10 @@ module Aws::CloudFront
107
133
  ForwardedValues = Shapes::StructureShape.new(name: 'ForwardedValues')
108
134
  GeoRestriction = Shapes::StructureShape.new(name: 'GeoRestriction')
109
135
  GeoRestrictionType = Shapes::StringShape.new(name: 'GeoRestrictionType')
136
+ GetCachePolicyConfigRequest = Shapes::StructureShape.new(name: 'GetCachePolicyConfigRequest')
137
+ GetCachePolicyConfigResult = Shapes::StructureShape.new(name: 'GetCachePolicyConfigResult')
138
+ GetCachePolicyRequest = Shapes::StructureShape.new(name: 'GetCachePolicyRequest')
139
+ GetCachePolicyResult = Shapes::StructureShape.new(name: 'GetCachePolicyResult')
110
140
  GetCloudFrontOriginAccessIdentityConfigRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigRequest')
111
141
  GetCloudFrontOriginAccessIdentityConfigResult = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigResult')
112
142
  GetCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityRequest')
@@ -125,6 +155,12 @@ module Aws::CloudFront
125
155
  GetFieldLevelEncryptionResult = Shapes::StructureShape.new(name: 'GetFieldLevelEncryptionResult')
126
156
  GetInvalidationRequest = Shapes::StructureShape.new(name: 'GetInvalidationRequest')
127
157
  GetInvalidationResult = Shapes::StructureShape.new(name: 'GetInvalidationResult')
158
+ GetMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionRequest')
159
+ GetMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionResult')
160
+ GetOriginRequestPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigRequest')
161
+ GetOriginRequestPolicyConfigResult = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigResult')
162
+ GetOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyRequest')
163
+ GetOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyResult')
128
164
  GetPublicKeyConfigRequest = Shapes::StructureShape.new(name: 'GetPublicKeyConfigRequest')
129
165
  GetPublicKeyConfigResult = Shapes::StructureShape.new(name: 'GetPublicKeyConfigResult')
130
166
  GetPublicKeyRequest = Shapes::StructureShape.new(name: 'GetPublicKeyRequest')
@@ -137,6 +173,7 @@ module Aws::CloudFront
137
173
  Headers = Shapes::StructureShape.new(name: 'Headers')
138
174
  HttpVersion = Shapes::StringShape.new(name: 'HttpVersion')
139
175
  ICPRecordalStatus = Shapes::StringShape.new(name: 'ICPRecordalStatus')
176
+ IllegalDelete = Shapes::StructureShape.new(name: 'IllegalDelete')
140
177
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior = Shapes::StructureShape.new(name: 'IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior')
141
178
  IllegalUpdate = Shapes::StructureShape.new(name: 'IllegalUpdate')
142
179
  InconsistentQuantities = Shapes::StructureShape.new(name: 'InconsistentQuantities')
@@ -175,8 +212,14 @@ module Aws::CloudFront
175
212
  LambdaFunctionAssociation = Shapes::StructureShape.new(name: 'LambdaFunctionAssociation')
176
213
  LambdaFunctionAssociationList = Shapes::ListShape.new(name: 'LambdaFunctionAssociationList')
177
214
  LambdaFunctionAssociations = Shapes::StructureShape.new(name: 'LambdaFunctionAssociations')
215
+ ListCachePoliciesRequest = Shapes::StructureShape.new(name: 'ListCachePoliciesRequest')
216
+ ListCachePoliciesResult = Shapes::StructureShape.new(name: 'ListCachePoliciesResult')
178
217
  ListCloudFrontOriginAccessIdentitiesRequest = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesRequest')
179
218
  ListCloudFrontOriginAccessIdentitiesResult = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesResult')
219
+ ListDistributionsByCachePolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdRequest')
220
+ ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
221
+ ListDistributionsByOriginRequestPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdRequest')
222
+ ListDistributionsByOriginRequestPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdResult')
180
223
  ListDistributionsByWebACLIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdRequest')
181
224
  ListDistributionsByWebACLIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdResult')
182
225
  ListDistributionsRequest = Shapes::StructureShape.new(name: 'ListDistributionsRequest')
@@ -187,6 +230,8 @@ module Aws::CloudFront
187
230
  ListFieldLevelEncryptionProfilesResult = Shapes::StructureShape.new(name: 'ListFieldLevelEncryptionProfilesResult')
188
231
  ListInvalidationsRequest = Shapes::StructureShape.new(name: 'ListInvalidationsRequest')
189
232
  ListInvalidationsResult = Shapes::StructureShape.new(name: 'ListInvalidationsResult')
233
+ ListOriginRequestPoliciesRequest = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesRequest')
234
+ ListOriginRequestPoliciesResult = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesResult')
190
235
  ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
191
236
  ListPublicKeysResult = Shapes::StructureShape.new(name: 'ListPublicKeysResult')
192
237
  ListStreamingDistributionsRequest = Shapes::StructureShape.new(name: 'ListStreamingDistributionsRequest')
@@ -199,12 +244,15 @@ module Aws::CloudFront
199
244
  MethodsList = Shapes::ListShape.new(name: 'MethodsList')
200
245
  MinimumProtocolVersion = Shapes::StringShape.new(name: 'MinimumProtocolVersion')
201
246
  MissingBody = Shapes::StructureShape.new(name: 'MissingBody')
247
+ MonitoringSubscription = Shapes::StructureShape.new(name: 'MonitoringSubscription')
248
+ NoSuchCachePolicy = Shapes::StructureShape.new(name: 'NoSuchCachePolicy')
202
249
  NoSuchCloudFrontOriginAccessIdentity = Shapes::StructureShape.new(name: 'NoSuchCloudFrontOriginAccessIdentity')
203
250
  NoSuchDistribution = Shapes::StructureShape.new(name: 'NoSuchDistribution')
204
251
  NoSuchFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionConfig')
205
252
  NoSuchFieldLevelEncryptionProfile = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionProfile')
206
253
  NoSuchInvalidation = Shapes::StructureShape.new(name: 'NoSuchInvalidation')
207
254
  NoSuchOrigin = Shapes::StructureShape.new(name: 'NoSuchOrigin')
255
+ NoSuchOriginRequestPolicy = Shapes::StructureShape.new(name: 'NoSuchOriginRequestPolicy')
208
256
  NoSuchPublicKey = Shapes::StructureShape.new(name: 'NoSuchPublicKey')
209
257
  NoSuchResource = Shapes::StructureShape.new(name: 'NoSuchResource')
210
258
  NoSuchStreamingDistribution = Shapes::StructureShape.new(name: 'NoSuchStreamingDistribution')
@@ -220,8 +268,23 @@ module Aws::CloudFront
220
268
  OriginGroups = Shapes::StructureShape.new(name: 'OriginGroups')
221
269
  OriginList = Shapes::ListShape.new(name: 'OriginList')
222
270
  OriginProtocolPolicy = Shapes::StringShape.new(name: 'OriginProtocolPolicy')
271
+ OriginRequestPolicy = Shapes::StructureShape.new(name: 'OriginRequestPolicy')
272
+ OriginRequestPolicyAlreadyExists = Shapes::StructureShape.new(name: 'OriginRequestPolicyAlreadyExists')
273
+ OriginRequestPolicyConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyConfig')
274
+ OriginRequestPolicyCookieBehavior = Shapes::StringShape.new(name: 'OriginRequestPolicyCookieBehavior')
275
+ OriginRequestPolicyCookiesConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyCookiesConfig')
276
+ OriginRequestPolicyHeaderBehavior = Shapes::StringShape.new(name: 'OriginRequestPolicyHeaderBehavior')
277
+ OriginRequestPolicyHeadersConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyHeadersConfig')
278
+ OriginRequestPolicyInUse = Shapes::StructureShape.new(name: 'OriginRequestPolicyInUse')
279
+ OriginRequestPolicyList = Shapes::StructureShape.new(name: 'OriginRequestPolicyList')
280
+ OriginRequestPolicyQueryStringBehavior = Shapes::StringShape.new(name: 'OriginRequestPolicyQueryStringBehavior')
281
+ OriginRequestPolicyQueryStringsConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyQueryStringsConfig')
282
+ OriginRequestPolicySummary = Shapes::StructureShape.new(name: 'OriginRequestPolicySummary')
283
+ OriginRequestPolicySummaryList = Shapes::ListShape.new(name: 'OriginRequestPolicySummaryList')
284
+ OriginRequestPolicyType = Shapes::StringShape.new(name: 'OriginRequestPolicyType')
223
285
  OriginSslProtocols = Shapes::StructureShape.new(name: 'OriginSslProtocols')
224
286
  Origins = Shapes::StructureShape.new(name: 'Origins')
287
+ ParametersInCacheKeyAndForwardedToOrigin = Shapes::StructureShape.new(name: 'ParametersInCacheKeyAndForwardedToOrigin')
225
288
  PathList = Shapes::ListShape.new(name: 'PathList')
226
289
  Paths = Shapes::StructureShape.new(name: 'Paths')
227
290
  PreconditionFailed = Shapes::StructureShape.new(name: 'PreconditionFailed')
@@ -240,6 +303,10 @@ module Aws::CloudFront
240
303
  QueryArgProfiles = Shapes::StructureShape.new(name: 'QueryArgProfiles')
241
304
  QueryStringCacheKeys = Shapes::StructureShape.new(name: 'QueryStringCacheKeys')
242
305
  QueryStringCacheKeysList = Shapes::ListShape.new(name: 'QueryStringCacheKeysList')
306
+ QueryStringNames = Shapes::StructureShape.new(name: 'QueryStringNames')
307
+ QueryStringNamesList = Shapes::ListShape.new(name: 'QueryStringNamesList')
308
+ RealtimeMetricsSubscriptionConfig = Shapes::StructureShape.new(name: 'RealtimeMetricsSubscriptionConfig')
309
+ RealtimeMetricsSubscriptionStatus = Shapes::StringShape.new(name: 'RealtimeMetricsSubscriptionStatus')
243
310
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
244
311
  Restrictions = Shapes::StructureShape.new(name: 'Restrictions')
245
312
  S3Origin = Shapes::StructureShape.new(name: 'S3Origin')
@@ -269,33 +336,46 @@ module Aws::CloudFront
269
336
  TagValue = Shapes::StringShape.new(name: 'TagValue')
270
337
  Tags = Shapes::StructureShape.new(name: 'Tags')
271
338
  TooManyCacheBehaviors = Shapes::StructureShape.new(name: 'TooManyCacheBehaviors')
339
+ TooManyCachePolicies = Shapes::StructureShape.new(name: 'TooManyCachePolicies')
272
340
  TooManyCertificates = Shapes::StructureShape.new(name: 'TooManyCertificates')
273
341
  TooManyCloudFrontOriginAccessIdentities = Shapes::StructureShape.new(name: 'TooManyCloudFrontOriginAccessIdentities')
274
342
  TooManyCookieNamesInWhiteList = Shapes::StructureShape.new(name: 'TooManyCookieNamesInWhiteList')
343
+ TooManyCookiesInCachePolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInCachePolicy')
344
+ TooManyCookiesInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInOriginRequestPolicy')
275
345
  TooManyDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyDistributionCNAMEs')
276
346
  TooManyDistributions = Shapes::StructureShape.new(name: 'TooManyDistributions')
347
+ TooManyDistributionsAssociatedToCachePolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToCachePolicy')
277
348
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
349
+ TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
278
350
  TooManyDistributionsWithLambdaAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithLambdaAssociations')
351
+ TooManyDistributionsWithSingleFunctionARN = Shapes::StructureShape.new(name: 'TooManyDistributionsWithSingleFunctionARN')
279
352
  TooManyFieldLevelEncryptionConfigs = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionConfigs')
280
353
  TooManyFieldLevelEncryptionContentTypeProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionContentTypeProfiles')
281
354
  TooManyFieldLevelEncryptionEncryptionEntities = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionEncryptionEntities')
282
355
  TooManyFieldLevelEncryptionFieldPatterns = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionFieldPatterns')
283
356
  TooManyFieldLevelEncryptionProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionProfiles')
284
357
  TooManyFieldLevelEncryptionQueryArgProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionQueryArgProfiles')
358
+ TooManyHeadersInCachePolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInCachePolicy')
285
359
  TooManyHeadersInForwardedValues = Shapes::StructureShape.new(name: 'TooManyHeadersInForwardedValues')
360
+ TooManyHeadersInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInOriginRequestPolicy')
286
361
  TooManyInvalidationsInProgress = Shapes::StructureShape.new(name: 'TooManyInvalidationsInProgress')
287
362
  TooManyLambdaFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyLambdaFunctionAssociations')
288
363
  TooManyOriginCustomHeaders = Shapes::StructureShape.new(name: 'TooManyOriginCustomHeaders')
289
364
  TooManyOriginGroupsPerDistribution = Shapes::StructureShape.new(name: 'TooManyOriginGroupsPerDistribution')
365
+ TooManyOriginRequestPolicies = Shapes::StructureShape.new(name: 'TooManyOriginRequestPolicies')
290
366
  TooManyOrigins = Shapes::StructureShape.new(name: 'TooManyOrigins')
291
367
  TooManyPublicKeys = Shapes::StructureShape.new(name: 'TooManyPublicKeys')
292
368
  TooManyQueryStringParameters = Shapes::StructureShape.new(name: 'TooManyQueryStringParameters')
369
+ TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
370
+ TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
293
371
  TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
294
372
  TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
295
373
  TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
296
374
  TrustedSignerDoesNotExist = Shapes::StructureShape.new(name: 'TrustedSignerDoesNotExist')
297
375
  TrustedSigners = Shapes::StructureShape.new(name: 'TrustedSigners')
298
376
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
377
+ UpdateCachePolicyRequest = Shapes::StructureShape.new(name: 'UpdateCachePolicyRequest')
378
+ UpdateCachePolicyResult = Shapes::StructureShape.new(name: 'UpdateCachePolicyResult')
299
379
  UpdateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityRequest')
300
380
  UpdateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityResult')
301
381
  UpdateDistributionRequest = Shapes::StructureShape.new(name: 'UpdateDistributionRequest')
@@ -304,6 +384,8 @@ module Aws::CloudFront
304
384
  UpdateFieldLevelEncryptionConfigResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigResult')
305
385
  UpdateFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileRequest')
306
386
  UpdateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileResult')
387
+ UpdateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyRequest')
388
+ UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
307
389
  UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
308
390
  UpdatePublicKeyResult = Shapes::StructureShape.new(name: 'UpdatePublicKeyResult')
309
391
  UpdateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionRequest')
@@ -351,17 +433,19 @@ module Aws::CloudFront
351
433
 
352
434
  CacheBehavior.add_member(:path_pattern, Shapes::ShapeRef.new(shape: string, required: true, location_name: "PathPattern"))
353
435
  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
436
  CacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
356
437
  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
438
  CacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
359
439
  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
440
  CacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
363
441
  CacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
364
442
  CacheBehavior.add_member(:field_level_encryption_id, Shapes::ShapeRef.new(shape: string, location_name: "FieldLevelEncryptionId"))
443
+ CacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
444
+ CacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
445
+ CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
446
+ CacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
447
+ CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
448
+ CacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MaxTTL"))
365
449
  CacheBehavior.struct_class = Types::CacheBehavior
366
450
 
367
451
  CacheBehaviorList.member = Shapes::ShapeRef.new(shape: CacheBehavior, location_name: "CacheBehavior")
@@ -370,6 +454,49 @@ module Aws::CloudFront
370
454
  CacheBehaviors.add_member(:items, Shapes::ShapeRef.new(shape: CacheBehaviorList, location_name: "Items"))
371
455
  CacheBehaviors.struct_class = Types::CacheBehaviors
372
456
 
457
+ CachePolicy.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
458
+ CachePolicy.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
459
+ CachePolicy.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, required: true, location_name: "CachePolicyConfig"))
460
+ CachePolicy.struct_class = Types::CachePolicy
461
+
462
+ CachePolicyAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
463
+ CachePolicyAlreadyExists.struct_class = Types::CachePolicyAlreadyExists
464
+
465
+ CachePolicyConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
466
+ CachePolicyConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
467
+ CachePolicyConfig.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
468
+ CachePolicyConfig.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
469
+ CachePolicyConfig.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, required: true, location_name: "MinTTL"))
470
+ CachePolicyConfig.add_member(:parameters_in_cache_key_and_forwarded_to_origin, Shapes::ShapeRef.new(shape: ParametersInCacheKeyAndForwardedToOrigin, location_name: "ParametersInCacheKeyAndForwardedToOrigin"))
471
+ CachePolicyConfig.struct_class = Types::CachePolicyConfig
472
+
473
+ CachePolicyCookiesConfig.add_member(:cookie_behavior, Shapes::ShapeRef.new(shape: CachePolicyCookieBehavior, required: true, location_name: "CookieBehavior"))
474
+ CachePolicyCookiesConfig.add_member(:cookies, Shapes::ShapeRef.new(shape: CookieNames, location_name: "Cookies"))
475
+ CachePolicyCookiesConfig.struct_class = Types::CachePolicyCookiesConfig
476
+
477
+ CachePolicyHeadersConfig.add_member(:header_behavior, Shapes::ShapeRef.new(shape: CachePolicyHeaderBehavior, required: true, location_name: "HeaderBehavior"))
478
+ CachePolicyHeadersConfig.add_member(:headers, Shapes::ShapeRef.new(shape: Headers, location_name: "Headers"))
479
+ CachePolicyHeadersConfig.struct_class = Types::CachePolicyHeadersConfig
480
+
481
+ CachePolicyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
482
+ CachePolicyInUse.struct_class = Types::CachePolicyInUse
483
+
484
+ CachePolicyList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
485
+ CachePolicyList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
486
+ CachePolicyList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
487
+ CachePolicyList.add_member(:items, Shapes::ShapeRef.new(shape: CachePolicySummaryList, location_name: "Items"))
488
+ CachePolicyList.struct_class = Types::CachePolicyList
489
+
490
+ CachePolicyQueryStringsConfig.add_member(:query_string_behavior, Shapes::ShapeRef.new(shape: CachePolicyQueryStringBehavior, required: true, location_name: "QueryStringBehavior"))
491
+ CachePolicyQueryStringsConfig.add_member(:query_strings, Shapes::ShapeRef.new(shape: QueryStringNames, location_name: "QueryStrings"))
492
+ CachePolicyQueryStringsConfig.struct_class = Types::CachePolicyQueryStringsConfig
493
+
494
+ CachePolicySummary.add_member(:type, Shapes::ShapeRef.new(shape: CachePolicyType, required: true, location_name: "Type"))
495
+ CachePolicySummary.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, required: true, location_name: "CachePolicy"))
496
+ CachePolicySummary.struct_class = Types::CachePolicySummary
497
+
498
+ CachePolicySummaryList.member = Shapes::ShapeRef.new(shape: CachePolicySummary, location_name: "CachePolicySummary")
499
+
373
500
  CachedMethods.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
374
501
  CachedMethods.add_member(:items, Shapes::ShapeRef.new(shape: MethodsList, required: true, location_name: "Items"))
375
502
  CachedMethods.struct_class = Types::CachedMethods
@@ -432,7 +559,19 @@ module Aws::CloudFront
432
559
  CookiePreference.add_member(:whitelisted_names, Shapes::ShapeRef.new(shape: CookieNames, location_name: "WhitelistedNames"))
433
560
  CookiePreference.struct_class = Types::CookiePreference
434
561
 
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/"}}))
562
+ 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/"}}))
563
+ CreateCachePolicyRequest.struct_class = Types::CreateCachePolicyRequest
564
+ CreateCachePolicyRequest[:payload] = :cache_policy_config
565
+ CreateCachePolicyRequest[:payload_member] = CreateCachePolicyRequest.member(:cache_policy_config)
566
+
567
+ CreateCachePolicyResult.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, location_name: "CachePolicy"))
568
+ CreateCachePolicyResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
569
+ CreateCachePolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
570
+ CreateCachePolicyResult.struct_class = Types::CreateCachePolicyResult
571
+ CreateCachePolicyResult[:payload] = :cache_policy
572
+ CreateCachePolicyResult[:payload_member] = CreateCachePolicyResult.member(:cache_policy)
573
+
574
+ 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
575
  CreateCloudFrontOriginAccessIdentityRequest.struct_class = Types::CreateCloudFrontOriginAccessIdentityRequest
437
576
  CreateCloudFrontOriginAccessIdentityRequest[:payload] = :cloud_front_origin_access_identity_config
438
577
  CreateCloudFrontOriginAccessIdentityRequest[:payload_member] = CreateCloudFrontOriginAccessIdentityRequest.member(:cloud_front_origin_access_identity_config)
@@ -444,7 +583,7 @@ module Aws::CloudFront
444
583
  CreateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
445
584
  CreateCloudFrontOriginAccessIdentityResult[:payload_member] = CreateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
446
585
 
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/"}}))
586
+ 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
587
  CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
449
588
  CreateDistributionRequest[:payload] = :distribution_config
450
589
  CreateDistributionRequest[:payload_member] = CreateDistributionRequest.member(:distribution_config)
@@ -456,7 +595,7 @@ module Aws::CloudFront
456
595
  CreateDistributionResult[:payload] = :distribution
457
596
  CreateDistributionResult[:payload_member] = CreateDistributionResult.member(:distribution)
458
597
 
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/"}}))
598
+ 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
599
  CreateDistributionWithTagsRequest.struct_class = Types::CreateDistributionWithTagsRequest
461
600
  CreateDistributionWithTagsRequest[:payload] = :distribution_config_with_tags
462
601
  CreateDistributionWithTagsRequest[:payload_member] = CreateDistributionWithTagsRequest.member(:distribution_config_with_tags)
@@ -468,7 +607,7 @@ module Aws::CloudFront
468
607
  CreateDistributionWithTagsResult[:payload] = :distribution
469
608
  CreateDistributionWithTagsResult[:payload_member] = CreateDistributionWithTagsResult.member(:distribution)
470
609
 
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/"}}))
610
+ 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
611
  CreateFieldLevelEncryptionConfigRequest.struct_class = Types::CreateFieldLevelEncryptionConfigRequest
473
612
  CreateFieldLevelEncryptionConfigRequest[:payload] = :field_level_encryption_config
474
613
  CreateFieldLevelEncryptionConfigRequest[:payload_member] = CreateFieldLevelEncryptionConfigRequest.member(:field_level_encryption_config)
@@ -480,7 +619,7 @@ module Aws::CloudFront
480
619
  CreateFieldLevelEncryptionConfigResult[:payload] = :field_level_encryption
481
620
  CreateFieldLevelEncryptionConfigResult[:payload_member] = CreateFieldLevelEncryptionConfigResult.member(:field_level_encryption)
482
621
 
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/"}}))
622
+ 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
623
  CreateFieldLevelEncryptionProfileRequest.struct_class = Types::CreateFieldLevelEncryptionProfileRequest
485
624
  CreateFieldLevelEncryptionProfileRequest[:payload] = :field_level_encryption_profile_config
486
625
  CreateFieldLevelEncryptionProfileRequest[:payload_member] = CreateFieldLevelEncryptionProfileRequest.member(:field_level_encryption_profile_config)
@@ -493,7 +632,7 @@ module Aws::CloudFront
493
632
  CreateFieldLevelEncryptionProfileResult[:payload_member] = CreateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
494
633
 
495
634
  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/"}}))
635
+ 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
636
  CreateInvalidationRequest.struct_class = Types::CreateInvalidationRequest
498
637
  CreateInvalidationRequest[:payload] = :invalidation_batch
499
638
  CreateInvalidationRequest[:payload_member] = CreateInvalidationRequest.member(:invalidation_batch)
@@ -504,7 +643,30 @@ module Aws::CloudFront
504
643
  CreateInvalidationResult[:payload] = :invalidation
505
644
  CreateInvalidationResult[:payload_member] = CreateInvalidationResult.member(:invalidation)
506
645
 
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/"}}))
646
+ CreateMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
647
+ CreateMonitoringSubscriptionRequest.add_member(:monitoring_subscription, Shapes::ShapeRef.new(shape: MonitoringSubscription, required: true, location_name: "MonitoringSubscription", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
648
+ CreateMonitoringSubscriptionRequest.struct_class = Types::CreateMonitoringSubscriptionRequest
649
+ CreateMonitoringSubscriptionRequest[:payload] = :monitoring_subscription
650
+ CreateMonitoringSubscriptionRequest[:payload_member] = CreateMonitoringSubscriptionRequest.member(:monitoring_subscription)
651
+
652
+ CreateMonitoringSubscriptionResult.add_member(:monitoring_subscription, Shapes::ShapeRef.new(shape: MonitoringSubscription, location_name: "MonitoringSubscription"))
653
+ CreateMonitoringSubscriptionResult.struct_class = Types::CreateMonitoringSubscriptionResult
654
+ CreateMonitoringSubscriptionResult[:payload] = :monitoring_subscription
655
+ CreateMonitoringSubscriptionResult[:payload_member] = CreateMonitoringSubscriptionResult.member(:monitoring_subscription)
656
+
657
+ 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/"}}))
658
+ CreateOriginRequestPolicyRequest.struct_class = Types::CreateOriginRequestPolicyRequest
659
+ CreateOriginRequestPolicyRequest[:payload] = :origin_request_policy_config
660
+ CreateOriginRequestPolicyRequest[:payload_member] = CreateOriginRequestPolicyRequest.member(:origin_request_policy_config)
661
+
662
+ CreateOriginRequestPolicyResult.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, location_name: "OriginRequestPolicy"))
663
+ CreateOriginRequestPolicyResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
664
+ CreateOriginRequestPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
665
+ CreateOriginRequestPolicyResult.struct_class = Types::CreateOriginRequestPolicyResult
666
+ CreateOriginRequestPolicyResult[:payload] = :origin_request_policy
667
+ CreateOriginRequestPolicyResult[:payload_member] = CreateOriginRequestPolicyResult.member(:origin_request_policy)
668
+
669
+ 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
670
  CreatePublicKeyRequest.struct_class = Types::CreatePublicKeyRequest
509
671
  CreatePublicKeyRequest[:payload] = :public_key_config
510
672
  CreatePublicKeyRequest[:payload_member] = CreatePublicKeyRequest.member(:public_key_config)
@@ -516,7 +678,7 @@ module Aws::CloudFront
516
678
  CreatePublicKeyResult[:payload] = :public_key
517
679
  CreatePublicKeyResult[:payload_member] = CreatePublicKeyResult.member(:public_key)
518
680
 
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/"}}))
681
+ 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
682
  CreateStreamingDistributionRequest.struct_class = Types::CreateStreamingDistributionRequest
521
683
  CreateStreamingDistributionRequest[:payload] = :streaming_distribution_config
522
684
  CreateStreamingDistributionRequest[:payload_member] = CreateStreamingDistributionRequest.member(:streaming_distribution_config)
@@ -528,7 +690,7 @@ module Aws::CloudFront
528
690
  CreateStreamingDistributionResult[:payload] = :streaming_distribution
529
691
  CreateStreamingDistributionResult[:payload_member] = CreateStreamingDistributionResult.member(:streaming_distribution)
530
692
 
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/"}}))
693
+ 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
694
  CreateStreamingDistributionWithTagsRequest.struct_class = Types::CreateStreamingDistributionWithTagsRequest
533
695
  CreateStreamingDistributionWithTagsRequest[:payload] = :streaming_distribution_config_with_tags
534
696
  CreateStreamingDistributionWithTagsRequest[:payload_member] = CreateStreamingDistributionWithTagsRequest.member(:streaming_distribution_config_with_tags)
@@ -565,19 +727,25 @@ module Aws::CloudFront
565
727
  CustomOriginConfig.struct_class = Types::CustomOriginConfig
566
728
 
567
729
  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
730
  DefaultCacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
570
731
  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
732
  DefaultCacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
573
733
  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
734
  DefaultCacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
577
735
  DefaultCacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
578
736
  DefaultCacheBehavior.add_member(:field_level_encryption_id, Shapes::ShapeRef.new(shape: string, location_name: "FieldLevelEncryptionId"))
737
+ DefaultCacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
738
+ DefaultCacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
739
+ DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
740
+ DefaultCacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
741
+ DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
742
+ DefaultCacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MaxTTL"))
579
743
  DefaultCacheBehavior.struct_class = Types::DefaultCacheBehavior
580
744
 
745
+ DeleteCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
746
+ DeleteCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
747
+ DeleteCachePolicyRequest.struct_class = Types::DeleteCachePolicyRequest
748
+
581
749
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
582
750
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
583
751
  DeleteCloudFrontOriginAccessIdentityRequest.struct_class = Types::DeleteCloudFrontOriginAccessIdentityRequest
@@ -594,6 +762,15 @@ module Aws::CloudFront
594
762
  DeleteFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
595
763
  DeleteFieldLevelEncryptionProfileRequest.struct_class = Types::DeleteFieldLevelEncryptionProfileRequest
596
764
 
765
+ DeleteMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
766
+ DeleteMonitoringSubscriptionRequest.struct_class = Types::DeleteMonitoringSubscriptionRequest
767
+
768
+ DeleteMonitoringSubscriptionResult.struct_class = Types::DeleteMonitoringSubscriptionResult
769
+
770
+ DeleteOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
771
+ DeleteOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
772
+ DeleteOriginRequestPolicyRequest.struct_class = Types::DeleteOriginRequestPolicyRequest
773
+
597
774
  DeletePublicKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
598
775
  DeletePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
599
776
  DeletePublicKeyRequest.struct_class = Types::DeletePublicKeyRequest
@@ -639,6 +816,16 @@ module Aws::CloudFront
639
816
  DistributionConfigWithTags.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
640
817
  DistributionConfigWithTags.struct_class = Types::DistributionConfigWithTags
641
818
 
819
+ DistributionIdList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
820
+ DistributionIdList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
821
+ DistributionIdList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
822
+ DistributionIdList.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
823
+ DistributionIdList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
824
+ DistributionIdList.add_member(:items, Shapes::ShapeRef.new(shape: DistributionIdListSummary, location_name: "Items"))
825
+ DistributionIdList.struct_class = Types::DistributionIdList
826
+
827
+ DistributionIdListSummary.member = Shapes::ShapeRef.new(shape: string, location_name: "DistributionId")
828
+
642
829
  DistributionList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
643
830
  DistributionList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
644
831
  DistributionList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
@@ -769,6 +956,24 @@ module Aws::CloudFront
769
956
  GeoRestriction.add_member(:items, Shapes::ShapeRef.new(shape: LocationList, location_name: "Items"))
770
957
  GeoRestriction.struct_class = Types::GeoRestriction
771
958
 
959
+ GetCachePolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
960
+ GetCachePolicyConfigRequest.struct_class = Types::GetCachePolicyConfigRequest
961
+
962
+ GetCachePolicyConfigResult.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, location_name: "CachePolicyConfig"))
963
+ GetCachePolicyConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
964
+ GetCachePolicyConfigResult.struct_class = Types::GetCachePolicyConfigResult
965
+ GetCachePolicyConfigResult[:payload] = :cache_policy_config
966
+ GetCachePolicyConfigResult[:payload_member] = GetCachePolicyConfigResult.member(:cache_policy_config)
967
+
968
+ GetCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
969
+ GetCachePolicyRequest.struct_class = Types::GetCachePolicyRequest
970
+
971
+ GetCachePolicyResult.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, location_name: "CachePolicy"))
972
+ GetCachePolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
973
+ GetCachePolicyResult.struct_class = Types::GetCachePolicyResult
974
+ GetCachePolicyResult[:payload] = :cache_policy
975
+ GetCachePolicyResult[:payload_member] = GetCachePolicyResult.member(:cache_policy)
976
+
772
977
  GetCloudFrontOriginAccessIdentityConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
773
978
  GetCloudFrontOriginAccessIdentityConfigRequest.struct_class = Types::GetCloudFrontOriginAccessIdentityConfigRequest
774
979
 
@@ -850,6 +1055,32 @@ module Aws::CloudFront
850
1055
  GetInvalidationResult[:payload] = :invalidation
851
1056
  GetInvalidationResult[:payload_member] = GetInvalidationResult.member(:invalidation)
852
1057
 
1058
+ GetMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
1059
+ GetMonitoringSubscriptionRequest.struct_class = Types::GetMonitoringSubscriptionRequest
1060
+
1061
+ GetMonitoringSubscriptionResult.add_member(:monitoring_subscription, Shapes::ShapeRef.new(shape: MonitoringSubscription, location_name: "MonitoringSubscription"))
1062
+ GetMonitoringSubscriptionResult.struct_class = Types::GetMonitoringSubscriptionResult
1063
+ GetMonitoringSubscriptionResult[:payload] = :monitoring_subscription
1064
+ GetMonitoringSubscriptionResult[:payload_member] = GetMonitoringSubscriptionResult.member(:monitoring_subscription)
1065
+
1066
+ GetOriginRequestPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1067
+ GetOriginRequestPolicyConfigRequest.struct_class = Types::GetOriginRequestPolicyConfigRequest
1068
+
1069
+ GetOriginRequestPolicyConfigResult.add_member(:origin_request_policy_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyConfig, location_name: "OriginRequestPolicyConfig"))
1070
+ GetOriginRequestPolicyConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1071
+ GetOriginRequestPolicyConfigResult.struct_class = Types::GetOriginRequestPolicyConfigResult
1072
+ GetOriginRequestPolicyConfigResult[:payload] = :origin_request_policy_config
1073
+ GetOriginRequestPolicyConfigResult[:payload_member] = GetOriginRequestPolicyConfigResult.member(:origin_request_policy_config)
1074
+
1075
+ GetOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1076
+ GetOriginRequestPolicyRequest.struct_class = Types::GetOriginRequestPolicyRequest
1077
+
1078
+ GetOriginRequestPolicyResult.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, location_name: "OriginRequestPolicy"))
1079
+ GetOriginRequestPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1080
+ GetOriginRequestPolicyResult.struct_class = Types::GetOriginRequestPolicyResult
1081
+ GetOriginRequestPolicyResult[:payload] = :origin_request_policy
1082
+ GetOriginRequestPolicyResult[:payload_member] = GetOriginRequestPolicyResult.member(:origin_request_policy)
1083
+
853
1084
  GetPublicKeyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
854
1085
  GetPublicKeyConfigRequest.struct_class = Types::GetPublicKeyConfigRequest
855
1086
 
@@ -892,6 +1123,9 @@ module Aws::CloudFront
892
1123
  Headers.add_member(:items, Shapes::ShapeRef.new(shape: HeaderList, location_name: "Items"))
893
1124
  Headers.struct_class = Types::Headers
894
1125
 
1126
+ IllegalDelete.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1127
+ IllegalDelete.struct_class = Types::IllegalDelete
1128
+
895
1129
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
896
1130
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.struct_class = Types::IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
897
1131
 
@@ -1012,6 +1246,16 @@ module Aws::CloudFront
1012
1246
  LambdaFunctionAssociations.add_member(:items, Shapes::ShapeRef.new(shape: LambdaFunctionAssociationList, location_name: "Items"))
1013
1247
  LambdaFunctionAssociations.struct_class = Types::LambdaFunctionAssociations
1014
1248
 
1249
+ ListCachePoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: CachePolicyType, location: "querystring", location_name: "Type"))
1250
+ ListCachePoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1251
+ ListCachePoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1252
+ ListCachePoliciesRequest.struct_class = Types::ListCachePoliciesRequest
1253
+
1254
+ ListCachePoliciesResult.add_member(:cache_policy_list, Shapes::ShapeRef.new(shape: CachePolicyList, location_name: "CachePolicyList"))
1255
+ ListCachePoliciesResult.struct_class = Types::ListCachePoliciesResult
1256
+ ListCachePoliciesResult[:payload] = :cache_policy_list
1257
+ ListCachePoliciesResult[:payload_member] = ListCachePoliciesResult.member(:cache_policy_list)
1258
+
1015
1259
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1016
1260
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1017
1261
  ListCloudFrontOriginAccessIdentitiesRequest.struct_class = Types::ListCloudFrontOriginAccessIdentitiesRequest
@@ -1021,6 +1265,26 @@ module Aws::CloudFront
1021
1265
  ListCloudFrontOriginAccessIdentitiesResult[:payload] = :cloud_front_origin_access_identity_list
1022
1266
  ListCloudFrontOriginAccessIdentitiesResult[:payload_member] = ListCloudFrontOriginAccessIdentitiesResult.member(:cloud_front_origin_access_identity_list)
1023
1267
 
1268
+ ListDistributionsByCachePolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1269
+ ListDistributionsByCachePolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1270
+ ListDistributionsByCachePolicyIdRequest.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "CachePolicyId"))
1271
+ ListDistributionsByCachePolicyIdRequest.struct_class = Types::ListDistributionsByCachePolicyIdRequest
1272
+
1273
+ ListDistributionsByCachePolicyIdResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
1274
+ ListDistributionsByCachePolicyIdResult.struct_class = Types::ListDistributionsByCachePolicyIdResult
1275
+ ListDistributionsByCachePolicyIdResult[:payload] = :distribution_id_list
1276
+ ListDistributionsByCachePolicyIdResult[:payload_member] = ListDistributionsByCachePolicyIdResult.member(:distribution_id_list)
1277
+
1278
+ ListDistributionsByOriginRequestPolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1279
+ ListDistributionsByOriginRequestPolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1280
+ ListDistributionsByOriginRequestPolicyIdRequest.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "OriginRequestPolicyId"))
1281
+ ListDistributionsByOriginRequestPolicyIdRequest.struct_class = Types::ListDistributionsByOriginRequestPolicyIdRequest
1282
+
1283
+ ListDistributionsByOriginRequestPolicyIdResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
1284
+ ListDistributionsByOriginRequestPolicyIdResult.struct_class = Types::ListDistributionsByOriginRequestPolicyIdResult
1285
+ ListDistributionsByOriginRequestPolicyIdResult[:payload] = :distribution_id_list
1286
+ ListDistributionsByOriginRequestPolicyIdResult[:payload_member] = ListDistributionsByOriginRequestPolicyIdResult.member(:distribution_id_list)
1287
+
1024
1288
  ListDistributionsByWebACLIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1025
1289
  ListDistributionsByWebACLIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1026
1290
  ListDistributionsByWebACLIdRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "WebACLId"))
@@ -1068,6 +1332,16 @@ module Aws::CloudFront
1068
1332
  ListInvalidationsResult[:payload] = :invalidation_list
1069
1333
  ListInvalidationsResult[:payload_member] = ListInvalidationsResult.member(:invalidation_list)
1070
1334
 
1335
+ ListOriginRequestPoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, location: "querystring", location_name: "Type"))
1336
+ ListOriginRequestPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1337
+ ListOriginRequestPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1338
+ ListOriginRequestPoliciesRequest.struct_class = Types::ListOriginRequestPoliciesRequest
1339
+
1340
+ ListOriginRequestPoliciesResult.add_member(:origin_request_policy_list, Shapes::ShapeRef.new(shape: OriginRequestPolicyList, location_name: "OriginRequestPolicyList"))
1341
+ ListOriginRequestPoliciesResult.struct_class = Types::ListOriginRequestPoliciesResult
1342
+ ListOriginRequestPoliciesResult[:payload] = :origin_request_policy_list
1343
+ ListOriginRequestPoliciesResult[:payload_member] = ListOriginRequestPoliciesResult.member(:origin_request_policy_list)
1344
+
1071
1345
  ListPublicKeysRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1072
1346
  ListPublicKeysRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1073
1347
  ListPublicKeysRequest.struct_class = Types::ListPublicKeysRequest
@@ -1107,6 +1381,12 @@ module Aws::CloudFront
1107
1381
  MissingBody.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1108
1382
  MissingBody.struct_class = Types::MissingBody
1109
1383
 
1384
+ MonitoringSubscription.add_member(:realtime_metrics_subscription_config, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionConfig, location_name: "RealtimeMetricsSubscriptionConfig"))
1385
+ MonitoringSubscription.struct_class = Types::MonitoringSubscription
1386
+
1387
+ NoSuchCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1388
+ NoSuchCachePolicy.struct_class = Types::NoSuchCachePolicy
1389
+
1110
1390
  NoSuchCloudFrontOriginAccessIdentity.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1111
1391
  NoSuchCloudFrontOriginAccessIdentity.struct_class = Types::NoSuchCloudFrontOriginAccessIdentity
1112
1392
 
@@ -1125,6 +1405,9 @@ module Aws::CloudFront
1125
1405
  NoSuchOrigin.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1126
1406
  NoSuchOrigin.struct_class = Types::NoSuchOrigin
1127
1407
 
1408
+ NoSuchOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1409
+ NoSuchOriginRequestPolicy.struct_class = Types::NoSuchOriginRequestPolicy
1410
+
1128
1411
  NoSuchPublicKey.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1129
1412
  NoSuchPublicKey.struct_class = Types::NoSuchPublicKey
1130
1413
 
@@ -1175,6 +1458,48 @@ module Aws::CloudFront
1175
1458
 
1176
1459
  OriginList.member = Shapes::ShapeRef.new(shape: Origin, location_name: "Origin")
1177
1460
 
1461
+ OriginRequestPolicy.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
1462
+ OriginRequestPolicy.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
1463
+ OriginRequestPolicy.add_member(:origin_request_policy_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyConfig, required: true, location_name: "OriginRequestPolicyConfig"))
1464
+ OriginRequestPolicy.struct_class = Types::OriginRequestPolicy
1465
+
1466
+ OriginRequestPolicyAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1467
+ OriginRequestPolicyAlreadyExists.struct_class = Types::OriginRequestPolicyAlreadyExists
1468
+
1469
+ OriginRequestPolicyConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
1470
+ OriginRequestPolicyConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
1471
+ OriginRequestPolicyConfig.add_member(:headers_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1472
+ OriginRequestPolicyConfig.add_member(:cookies_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1473
+ OriginRequestPolicyConfig.add_member(:query_strings_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyQueryStringsConfig, required: true, location_name: "QueryStringsConfig"))
1474
+ OriginRequestPolicyConfig.struct_class = Types::OriginRequestPolicyConfig
1475
+
1476
+ OriginRequestPolicyCookiesConfig.add_member(:cookie_behavior, Shapes::ShapeRef.new(shape: OriginRequestPolicyCookieBehavior, required: true, location_name: "CookieBehavior"))
1477
+ OriginRequestPolicyCookiesConfig.add_member(:cookies, Shapes::ShapeRef.new(shape: CookieNames, location_name: "Cookies"))
1478
+ OriginRequestPolicyCookiesConfig.struct_class = Types::OriginRequestPolicyCookiesConfig
1479
+
1480
+ OriginRequestPolicyHeadersConfig.add_member(:header_behavior, Shapes::ShapeRef.new(shape: OriginRequestPolicyHeaderBehavior, required: true, location_name: "HeaderBehavior"))
1481
+ OriginRequestPolicyHeadersConfig.add_member(:headers, Shapes::ShapeRef.new(shape: Headers, location_name: "Headers"))
1482
+ OriginRequestPolicyHeadersConfig.struct_class = Types::OriginRequestPolicyHeadersConfig
1483
+
1484
+ OriginRequestPolicyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1485
+ OriginRequestPolicyInUse.struct_class = Types::OriginRequestPolicyInUse
1486
+
1487
+ OriginRequestPolicyList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
1488
+ OriginRequestPolicyList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
1489
+ OriginRequestPolicyList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1490
+ OriginRequestPolicyList.add_member(:items, Shapes::ShapeRef.new(shape: OriginRequestPolicySummaryList, location_name: "Items"))
1491
+ OriginRequestPolicyList.struct_class = Types::OriginRequestPolicyList
1492
+
1493
+ OriginRequestPolicyQueryStringsConfig.add_member(:query_string_behavior, Shapes::ShapeRef.new(shape: OriginRequestPolicyQueryStringBehavior, required: true, location_name: "QueryStringBehavior"))
1494
+ OriginRequestPolicyQueryStringsConfig.add_member(:query_strings, Shapes::ShapeRef.new(shape: QueryStringNames, location_name: "QueryStrings"))
1495
+ OriginRequestPolicyQueryStringsConfig.struct_class = Types::OriginRequestPolicyQueryStringsConfig
1496
+
1497
+ OriginRequestPolicySummary.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, required: true, location_name: "Type"))
1498
+ OriginRequestPolicySummary.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, required: true, location_name: "OriginRequestPolicy"))
1499
+ OriginRequestPolicySummary.struct_class = Types::OriginRequestPolicySummary
1500
+
1501
+ OriginRequestPolicySummaryList.member = Shapes::ShapeRef.new(shape: OriginRequestPolicySummary, location_name: "OriginRequestPolicySummary")
1502
+
1178
1503
  OriginSslProtocols.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1179
1504
  OriginSslProtocols.add_member(:items, Shapes::ShapeRef.new(shape: SslProtocolsList, required: true, location_name: "Items"))
1180
1505
  OriginSslProtocols.struct_class = Types::OriginSslProtocols
@@ -1183,6 +1508,12 @@ module Aws::CloudFront
1183
1508
  Origins.add_member(:items, Shapes::ShapeRef.new(shape: OriginList, required: true, location_name: "Items"))
1184
1509
  Origins.struct_class = Types::Origins
1185
1510
 
1511
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:enable_accept_encoding_gzip, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "EnableAcceptEncodingGzip"))
1512
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:headers_config, Shapes::ShapeRef.new(shape: CachePolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1513
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:cookies_config, Shapes::ShapeRef.new(shape: CachePolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1514
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:query_strings_config, Shapes::ShapeRef.new(shape: CachePolicyQueryStringsConfig, required: true, location_name: "QueryStringsConfig"))
1515
+ ParametersInCacheKeyAndForwardedToOrigin.struct_class = Types::ParametersInCacheKeyAndForwardedToOrigin
1516
+
1186
1517
  PathList.member = Shapes::ShapeRef.new(shape: string, location_name: "Path")
1187
1518
 
1188
1519
  Paths.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -1247,6 +1578,15 @@ module Aws::CloudFront
1247
1578
 
1248
1579
  QueryStringCacheKeysList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1249
1580
 
1581
+ QueryStringNames.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1582
+ QueryStringNames.add_member(:items, Shapes::ShapeRef.new(shape: QueryStringNamesList, location_name: "Items"))
1583
+ QueryStringNames.struct_class = Types::QueryStringNames
1584
+
1585
+ QueryStringNamesList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1586
+
1587
+ RealtimeMetricsSubscriptionConfig.add_member(:realtime_metrics_subscription_status, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionStatus, required: true, location_name: "RealtimeMetricsSubscriptionStatus"))
1588
+ RealtimeMetricsSubscriptionConfig.struct_class = Types::RealtimeMetricsSubscriptionConfig
1589
+
1250
1590
  Restrictions.add_member(:geo_restriction, Shapes::ShapeRef.new(shape: GeoRestriction, required: true, location_name: "GeoRestriction"))
1251
1591
  Restrictions.struct_class = Types::Restrictions
1252
1592
 
@@ -1340,7 +1680,7 @@ module Aws::CloudFront
1340
1680
  TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
1341
1681
 
1342
1682
  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/"}}))
1683
+ 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
1684
  TagResourceRequest.struct_class = Types::TagResourceRequest
1345
1685
  TagResourceRequest[:payload] = :tags
1346
1686
  TagResourceRequest[:payload_member] = TagResourceRequest.member(:tags)
@@ -1351,6 +1691,9 @@ module Aws::CloudFront
1351
1691
  TooManyCacheBehaviors.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1352
1692
  TooManyCacheBehaviors.struct_class = Types::TooManyCacheBehaviors
1353
1693
 
1694
+ TooManyCachePolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1695
+ TooManyCachePolicies.struct_class = Types::TooManyCachePolicies
1696
+
1354
1697
  TooManyCertificates.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1355
1698
  TooManyCertificates.struct_class = Types::TooManyCertificates
1356
1699
 
@@ -1360,18 +1703,33 @@ module Aws::CloudFront
1360
1703
  TooManyCookieNamesInWhiteList.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1361
1704
  TooManyCookieNamesInWhiteList.struct_class = Types::TooManyCookieNamesInWhiteList
1362
1705
 
1706
+ TooManyCookiesInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1707
+ TooManyCookiesInCachePolicy.struct_class = Types::TooManyCookiesInCachePolicy
1708
+
1709
+ TooManyCookiesInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1710
+ TooManyCookiesInOriginRequestPolicy.struct_class = Types::TooManyCookiesInOriginRequestPolicy
1711
+
1363
1712
  TooManyDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1364
1713
  TooManyDistributionCNAMEs.struct_class = Types::TooManyDistributionCNAMEs
1365
1714
 
1366
1715
  TooManyDistributions.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1367
1716
  TooManyDistributions.struct_class = Types::TooManyDistributions
1368
1717
 
1718
+ TooManyDistributionsAssociatedToCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1719
+ TooManyDistributionsAssociatedToCachePolicy.struct_class = Types::TooManyDistributionsAssociatedToCachePolicy
1720
+
1369
1721
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1370
1722
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.struct_class = Types::TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
1371
1723
 
1724
+ TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1725
+ TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
1726
+
1372
1727
  TooManyDistributionsWithLambdaAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1373
1728
  TooManyDistributionsWithLambdaAssociations.struct_class = Types::TooManyDistributionsWithLambdaAssociations
1374
1729
 
1730
+ TooManyDistributionsWithSingleFunctionARN.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1731
+ TooManyDistributionsWithSingleFunctionARN.struct_class = Types::TooManyDistributionsWithSingleFunctionARN
1732
+
1375
1733
  TooManyFieldLevelEncryptionConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1376
1734
  TooManyFieldLevelEncryptionConfigs.struct_class = Types::TooManyFieldLevelEncryptionConfigs
1377
1735
 
@@ -1390,9 +1748,15 @@ module Aws::CloudFront
1390
1748
  TooManyFieldLevelEncryptionQueryArgProfiles.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1391
1749
  TooManyFieldLevelEncryptionQueryArgProfiles.struct_class = Types::TooManyFieldLevelEncryptionQueryArgProfiles
1392
1750
 
1751
+ TooManyHeadersInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1752
+ TooManyHeadersInCachePolicy.struct_class = Types::TooManyHeadersInCachePolicy
1753
+
1393
1754
  TooManyHeadersInForwardedValues.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1394
1755
  TooManyHeadersInForwardedValues.struct_class = Types::TooManyHeadersInForwardedValues
1395
1756
 
1757
+ TooManyHeadersInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1758
+ TooManyHeadersInOriginRequestPolicy.struct_class = Types::TooManyHeadersInOriginRequestPolicy
1759
+
1396
1760
  TooManyInvalidationsInProgress.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1397
1761
  TooManyInvalidationsInProgress.struct_class = Types::TooManyInvalidationsInProgress
1398
1762
 
@@ -1405,6 +1769,9 @@ module Aws::CloudFront
1405
1769
  TooManyOriginGroupsPerDistribution.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1406
1770
  TooManyOriginGroupsPerDistribution.struct_class = Types::TooManyOriginGroupsPerDistribution
1407
1771
 
1772
+ TooManyOriginRequestPolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1773
+ TooManyOriginRequestPolicies.struct_class = Types::TooManyOriginRequestPolicies
1774
+
1408
1775
  TooManyOrigins.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1409
1776
  TooManyOrigins.struct_class = Types::TooManyOrigins
1410
1777
 
@@ -1414,6 +1781,12 @@ module Aws::CloudFront
1414
1781
  TooManyQueryStringParameters.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1415
1782
  TooManyQueryStringParameters.struct_class = Types::TooManyQueryStringParameters
1416
1783
 
1784
+ TooManyQueryStringsInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1785
+ TooManyQueryStringsInCachePolicy.struct_class = Types::TooManyQueryStringsInCachePolicy
1786
+
1787
+ TooManyQueryStringsInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1788
+ TooManyQueryStringsInOriginRequestPolicy.struct_class = Types::TooManyQueryStringsInOriginRequestPolicy
1789
+
1417
1790
  TooManyStreamingDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1418
1791
  TooManyStreamingDistributionCNAMEs.struct_class = Types::TooManyStreamingDistributionCNAMEs
1419
1792
 
@@ -1432,12 +1805,25 @@ module Aws::CloudFront
1432
1805
  TrustedSigners.struct_class = Types::TrustedSigners
1433
1806
 
1434
1807
  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/"}}))
1808
+ 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
1809
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
1437
1810
  UntagResourceRequest[:payload] = :tag_keys
1438
1811
  UntagResourceRequest[:payload_member] = UntagResourceRequest.member(:tag_keys)
1439
1812
 
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/"}}))
1813
+ 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/"}}))
1814
+ UpdateCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1815
+ UpdateCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1816
+ UpdateCachePolicyRequest.struct_class = Types::UpdateCachePolicyRequest
1817
+ UpdateCachePolicyRequest[:payload] = :cache_policy_config
1818
+ UpdateCachePolicyRequest[:payload_member] = UpdateCachePolicyRequest.member(:cache_policy_config)
1819
+
1820
+ UpdateCachePolicyResult.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, location_name: "CachePolicy"))
1821
+ UpdateCachePolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1822
+ UpdateCachePolicyResult.struct_class = Types::UpdateCachePolicyResult
1823
+ UpdateCachePolicyResult[:payload] = :cache_policy
1824
+ UpdateCachePolicyResult[:payload_member] = UpdateCachePolicyResult.member(:cache_policy)
1825
+
1826
+ 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
1827
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1442
1828
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1443
1829
  UpdateCloudFrontOriginAccessIdentityRequest.struct_class = Types::UpdateCloudFrontOriginAccessIdentityRequest
@@ -1450,7 +1836,7 @@ module Aws::CloudFront
1450
1836
  UpdateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
1451
1837
  UpdateCloudFrontOriginAccessIdentityResult[:payload_member] = UpdateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
1452
1838
 
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/"}}))
1839
+ 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
1840
  UpdateDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1455
1841
  UpdateDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1456
1842
  UpdateDistributionRequest.struct_class = Types::UpdateDistributionRequest
@@ -1463,7 +1849,7 @@ module Aws::CloudFront
1463
1849
  UpdateDistributionResult[:payload] = :distribution
1464
1850
  UpdateDistributionResult[:payload_member] = UpdateDistributionResult.member(:distribution)
1465
1851
 
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/"}}))
1852
+ 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
1853
  UpdateFieldLevelEncryptionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1468
1854
  UpdateFieldLevelEncryptionConfigRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1469
1855
  UpdateFieldLevelEncryptionConfigRequest.struct_class = Types::UpdateFieldLevelEncryptionConfigRequest
@@ -1476,7 +1862,7 @@ module Aws::CloudFront
1476
1862
  UpdateFieldLevelEncryptionConfigResult[:payload] = :field_level_encryption
1477
1863
  UpdateFieldLevelEncryptionConfigResult[:payload_member] = UpdateFieldLevelEncryptionConfigResult.member(:field_level_encryption)
1478
1864
 
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/"}}))
1865
+ 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
1866
  UpdateFieldLevelEncryptionProfileRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1481
1867
  UpdateFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1482
1868
  UpdateFieldLevelEncryptionProfileRequest.struct_class = Types::UpdateFieldLevelEncryptionProfileRequest
@@ -1489,7 +1875,20 @@ module Aws::CloudFront
1489
1875
  UpdateFieldLevelEncryptionProfileResult[:payload] = :field_level_encryption_profile
1490
1876
  UpdateFieldLevelEncryptionProfileResult[:payload_member] = UpdateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
1491
1877
 
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/"}}))
1878
+ 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/"}}))
1879
+ UpdateOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1880
+ UpdateOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1881
+ UpdateOriginRequestPolicyRequest.struct_class = Types::UpdateOriginRequestPolicyRequest
1882
+ UpdateOriginRequestPolicyRequest[:payload] = :origin_request_policy_config
1883
+ UpdateOriginRequestPolicyRequest[:payload_member] = UpdateOriginRequestPolicyRequest.member(:origin_request_policy_config)
1884
+
1885
+ UpdateOriginRequestPolicyResult.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, location_name: "OriginRequestPolicy"))
1886
+ UpdateOriginRequestPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1887
+ UpdateOriginRequestPolicyResult.struct_class = Types::UpdateOriginRequestPolicyResult
1888
+ UpdateOriginRequestPolicyResult[:payload] = :origin_request_policy
1889
+ UpdateOriginRequestPolicyResult[:payload_member] = UpdateOriginRequestPolicyResult.member(:origin_request_policy)
1890
+
1891
+ 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
1892
  UpdatePublicKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1494
1893
  UpdatePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1495
1894
  UpdatePublicKeyRequest.struct_class = Types::UpdatePublicKeyRequest
@@ -1502,7 +1901,7 @@ module Aws::CloudFront
1502
1901
  UpdatePublicKeyResult[:payload] = :public_key
1503
1902
  UpdatePublicKeyResult[:payload_member] = UpdatePublicKeyResult.member(:public_key)
1504
1903
 
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/"}}))
1904
+ 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
1905
  UpdateStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1507
1906
  UpdateStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1508
1907
  UpdateStreamingDistributionRequest.struct_class = Types::UpdateStreamingDistributionRequest
@@ -1528,10 +1927,10 @@ module Aws::CloudFront
1528
1927
  # @api private
1529
1928
  API = Seahorse::Model::Api.new.tap do |api|
1530
1929
 
1531
- api.version = "2019-03-26"
1930
+ api.version = "2020-05-31"
1532
1931
 
1533
1932
  api.metadata = {
1534
- "apiVersion" => "2019-03-26",
1933
+ "apiVersion" => "2020-05-31",
1535
1934
  "endpointPrefix" => "cloudfront",
1536
1935
  "globalEndpoint" => "cloudfront.amazonaws.com",
1537
1936
  "protocol" => "rest-xml",
@@ -1539,13 +1938,29 @@ module Aws::CloudFront
1539
1938
  "serviceFullName" => "Amazon CloudFront",
1540
1939
  "serviceId" => "CloudFront",
1541
1940
  "signatureVersion" => "v4",
1542
- "uid" => "cloudfront-2019-03-26",
1941
+ "uid" => "cloudfront-2020-05-31",
1543
1942
  }
1544
1943
 
1944
+ api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
1945
+ o.name = "CreateCachePolicy2020_05_31"
1946
+ o.http_method = "POST"
1947
+ o.http_request_uri = "/2020-05-31/cache-policy"
1948
+ o.input = Shapes::ShapeRef.new(shape: CreateCachePolicyRequest)
1949
+ o.output = Shapes::ShapeRef.new(shape: CreateCachePolicyResult)
1950
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1951
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
1952
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
1953
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
1954
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCachePolicies)
1955
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInCachePolicy)
1956
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInCachePolicy)
1957
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInCachePolicy)
1958
+ end)
1959
+
1545
1960
  api.add_operation(:create_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1546
- o.name = "CreateCloudFrontOriginAccessIdentity2019_03_26"
1961
+ o.name = "CreateCloudFrontOriginAccessIdentity2020_05_31"
1547
1962
  o.http_method = "POST"
1548
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront"
1963
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront"
1549
1964
  o.input = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityRequest)
1550
1965
  o.output = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityResult)
1551
1966
  o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityAlreadyExists)
@@ -1556,9 +1971,9 @@ module Aws::CloudFront
1556
1971
  end)
1557
1972
 
1558
1973
  api.add_operation(:create_distribution, Seahorse::Model::Operation.new.tap do |o|
1559
- o.name = "CreateDistribution2019_03_26"
1974
+ o.name = "CreateDistribution2020_05_31"
1560
1975
  o.http_method = "POST"
1561
- o.http_request_uri = "/2019-03-26/distribution"
1976
+ o.http_request_uri = "/2020-05-31/distribution"
1562
1977
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionRequest)
1563
1978
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionResult)
1564
1979
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1598,6 +2013,7 @@ module Aws::CloudFront
1598
2013
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
1599
2014
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
1600
2015
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2016
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
1601
2017
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
1602
2018
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
1603
2019
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -1605,12 +2021,16 @@ module Aws::CloudFront
1605
2021
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
1606
2022
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
1607
2023
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2024
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2025
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2026
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2027
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
1608
2028
  end)
1609
2029
 
1610
2030
  api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
1611
- o.name = "CreateDistributionWithTags2019_03_26"
2031
+ o.name = "CreateDistributionWithTags2020_05_31"
1612
2032
  o.http_method = "POST"
1613
- o.http_request_uri = "/2019-03-26/distribution?WithTags"
2033
+ o.http_request_uri = "/2020-05-31/distribution?WithTags"
1614
2034
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsRequest)
1615
2035
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsResult)
1616
2036
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1651,6 +2071,7 @@ module Aws::CloudFront
1651
2071
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
1652
2072
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
1653
2073
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2074
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
1654
2075
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
1655
2076
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
1656
2077
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -1658,12 +2079,16 @@ module Aws::CloudFront
1658
2079
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
1659
2080
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
1660
2081
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2082
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2083
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2084
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2085
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
1661
2086
  end)
1662
2087
 
1663
2088
  api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1664
- o.name = "CreateFieldLevelEncryptionConfig2019_03_26"
2089
+ o.name = "CreateFieldLevelEncryptionConfig2020_05_31"
1665
2090
  o.http_method = "POST"
1666
- o.http_request_uri = "/2019-03-26/field-level-encryption"
2091
+ o.http_request_uri = "/2020-05-31/field-level-encryption"
1667
2092
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigRequest)
1668
2093
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigResult)
1669
2094
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
@@ -1677,9 +2102,9 @@ module Aws::CloudFront
1677
2102
  end)
1678
2103
 
1679
2104
  api.add_operation(:create_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1680
- o.name = "CreateFieldLevelEncryptionProfile2019_03_26"
2105
+ o.name = "CreateFieldLevelEncryptionProfile2020_05_31"
1681
2106
  o.http_method = "POST"
1682
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile"
2107
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile"
1683
2108
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileRequest)
1684
2109
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileResult)
1685
2110
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
@@ -1693,9 +2118,9 @@ module Aws::CloudFront
1693
2118
  end)
1694
2119
 
1695
2120
  api.add_operation(:create_invalidation, Seahorse::Model::Operation.new.tap do |o|
1696
- o.name = "CreateInvalidation2019_03_26"
2121
+ o.name = "CreateInvalidation2020_05_31"
1697
2122
  o.http_method = "POST"
1698
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation"
2123
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
1699
2124
  o.input = Shapes::ShapeRef.new(shape: CreateInvalidationRequest)
1700
2125
  o.output = Shapes::ShapeRef.new(shape: CreateInvalidationResult)
1701
2126
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1707,10 +2132,36 @@ module Aws::CloudFront
1707
2132
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
1708
2133
  end)
1709
2134
 
2135
+ api.add_operation(:create_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2136
+ o.name = "CreateMonitoringSubscription2020_05_31"
2137
+ o.http_method = "POST"
2138
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
2139
+ o.input = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionRequest)
2140
+ o.output = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionResult)
2141
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2142
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2143
+ end)
2144
+
2145
+ api.add_operation(:create_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2146
+ o.name = "CreateOriginRequestPolicy2020_05_31"
2147
+ o.http_method = "POST"
2148
+ o.http_request_uri = "/2020-05-31/origin-request-policy"
2149
+ o.input = Shapes::ShapeRef.new(shape: CreateOriginRequestPolicyRequest)
2150
+ o.output = Shapes::ShapeRef.new(shape: CreateOriginRequestPolicyResult)
2151
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2152
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2153
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2154
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
2155
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginRequestPolicies)
2156
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInOriginRequestPolicy)
2157
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInOriginRequestPolicy)
2158
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInOriginRequestPolicy)
2159
+ end)
2160
+
1710
2161
  api.add_operation(:create_public_key, Seahorse::Model::Operation.new.tap do |o|
1711
- o.name = "CreatePublicKey2019_03_26"
2162
+ o.name = "CreatePublicKey2020_05_31"
1712
2163
  o.http_method = "POST"
1713
- o.http_request_uri = "/2019-03-26/public-key"
2164
+ o.http_request_uri = "/2020-05-31/public-key"
1714
2165
  o.input = Shapes::ShapeRef.new(shape: CreatePublicKeyRequest)
1715
2166
  o.output = Shapes::ShapeRef.new(shape: CreatePublicKeyResult)
1716
2167
  o.errors << Shapes::ShapeRef.new(shape: PublicKeyAlreadyExists)
@@ -1719,9 +2170,9 @@ module Aws::CloudFront
1719
2170
  end)
1720
2171
 
1721
2172
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1722
- o.name = "CreateStreamingDistribution2019_03_26"
2173
+ o.name = "CreateStreamingDistribution2020_05_31"
1723
2174
  o.http_method = "POST"
1724
- o.http_request_uri = "/2019-03-26/streaming-distribution"
2175
+ o.http_request_uri = "/2020-05-31/streaming-distribution"
1725
2176
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionRequest)
1726
2177
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionResult)
1727
2178
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1739,9 +2190,9 @@ module Aws::CloudFront
1739
2190
  end)
1740
2191
 
1741
2192
  api.add_operation(:create_streaming_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
1742
- o.name = "CreateStreamingDistributionWithTags2019_03_26"
2193
+ o.name = "CreateStreamingDistributionWithTags2020_05_31"
1743
2194
  o.http_method = "POST"
1744
- o.http_request_uri = "/2019-03-26/streaming-distribution?WithTags"
2195
+ o.http_request_uri = "/2020-05-31/streaming-distribution?WithTags"
1745
2196
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsRequest)
1746
2197
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsResult)
1747
2198
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1759,10 +2210,24 @@ module Aws::CloudFront
1759
2210
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
1760
2211
  end)
1761
2212
 
2213
+ api.add_operation(:delete_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2214
+ o.name = "DeleteCachePolicy2020_05_31"
2215
+ o.http_method = "DELETE"
2216
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
2217
+ o.input = Shapes::ShapeRef.new(shape: DeleteCachePolicyRequest)
2218
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2219
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2220
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2221
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2222
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2223
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
2224
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyInUse)
2225
+ end)
2226
+
1762
2227
  api.add_operation(:delete_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1763
- o.name = "DeleteCloudFrontOriginAccessIdentity2019_03_26"
2228
+ o.name = "DeleteCloudFrontOriginAccessIdentity2020_05_31"
1764
2229
  o.http_method = "DELETE"
1765
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}"
2230
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}"
1766
2231
  o.input = Shapes::ShapeRef.new(shape: DeleteCloudFrontOriginAccessIdentityRequest)
1767
2232
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1768
2233
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1773,9 +2238,9 @@ module Aws::CloudFront
1773
2238
  end)
1774
2239
 
1775
2240
  api.add_operation(:delete_distribution, Seahorse::Model::Operation.new.tap do |o|
1776
- o.name = "DeleteDistribution2019_03_26"
2241
+ o.name = "DeleteDistribution2020_05_31"
1777
2242
  o.http_method = "DELETE"
1778
- o.http_request_uri = "/2019-03-26/distribution/{Id}"
2243
+ o.http_request_uri = "/2020-05-31/distribution/{Id}"
1779
2244
  o.input = Shapes::ShapeRef.new(shape: DeleteDistributionRequest)
1780
2245
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1781
2246
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1786,9 +2251,9 @@ module Aws::CloudFront
1786
2251
  end)
1787
2252
 
1788
2253
  api.add_operation(:delete_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1789
- o.name = "DeleteFieldLevelEncryptionConfig2019_03_26"
2254
+ o.name = "DeleteFieldLevelEncryptionConfig2020_05_31"
1790
2255
  o.http_method = "DELETE"
1791
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}"
2256
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}"
1792
2257
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionConfigRequest)
1793
2258
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1794
2259
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1799,9 +2264,9 @@ module Aws::CloudFront
1799
2264
  end)
1800
2265
 
1801
2266
  api.add_operation(:delete_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1802
- o.name = "DeleteFieldLevelEncryptionProfile2019_03_26"
2267
+ o.name = "DeleteFieldLevelEncryptionProfile2020_05_31"
1803
2268
  o.http_method = "DELETE"
1804
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}"
2269
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}"
1805
2270
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionProfileRequest)
1806
2271
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1807
2272
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1811,10 +2276,34 @@ module Aws::CloudFront
1811
2276
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
1812
2277
  end)
1813
2278
 
2279
+ api.add_operation(:delete_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2280
+ o.name = "DeleteMonitoringSubscription2020_05_31"
2281
+ o.http_method = "DELETE"
2282
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
2283
+ o.input = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionRequest)
2284
+ o.output = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionResult)
2285
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2286
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2287
+ end)
2288
+
2289
+ api.add_operation(:delete_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2290
+ o.name = "DeleteOriginRequestPolicy2020_05_31"
2291
+ o.http_method = "DELETE"
2292
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
2293
+ o.input = Shapes::ShapeRef.new(shape: DeleteOriginRequestPolicyRequest)
2294
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2295
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2296
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2297
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2298
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2299
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
2300
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyInUse)
2301
+ end)
2302
+
1814
2303
  api.add_operation(:delete_public_key, Seahorse::Model::Operation.new.tap do |o|
1815
- o.name = "DeletePublicKey2019_03_26"
2304
+ o.name = "DeletePublicKey2020_05_31"
1816
2305
  o.http_method = "DELETE"
1817
- o.http_request_uri = "/2019-03-26/public-key/{Id}"
2306
+ o.http_request_uri = "/2020-05-31/public-key/{Id}"
1818
2307
  o.input = Shapes::ShapeRef.new(shape: DeletePublicKeyRequest)
1819
2308
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1820
2309
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1825,9 +2314,9 @@ module Aws::CloudFront
1825
2314
  end)
1826
2315
 
1827
2316
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1828
- o.name = "DeleteStreamingDistribution2019_03_26"
2317
+ o.name = "DeleteStreamingDistribution2020_05_31"
1829
2318
  o.http_method = "DELETE"
1830
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}"
2319
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
1831
2320
  o.input = Shapes::ShapeRef.new(shape: DeleteStreamingDistributionRequest)
1832
2321
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1833
2322
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1837,10 +2326,30 @@ module Aws::CloudFront
1837
2326
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
1838
2327
  end)
1839
2328
 
2329
+ api.add_operation(:get_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2330
+ o.name = "GetCachePolicy2020_05_31"
2331
+ o.http_method = "GET"
2332
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
2333
+ o.input = Shapes::ShapeRef.new(shape: GetCachePolicyRequest)
2334
+ o.output = Shapes::ShapeRef.new(shape: GetCachePolicyResult)
2335
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2336
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2337
+ end)
2338
+
2339
+ api.add_operation(:get_cache_policy_config, Seahorse::Model::Operation.new.tap do |o|
2340
+ o.name = "GetCachePolicyConfig2020_05_31"
2341
+ o.http_method = "GET"
2342
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}/config"
2343
+ o.input = Shapes::ShapeRef.new(shape: GetCachePolicyConfigRequest)
2344
+ o.output = Shapes::ShapeRef.new(shape: GetCachePolicyConfigResult)
2345
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2346
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2347
+ end)
2348
+
1840
2349
  api.add_operation(:get_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1841
- o.name = "GetCloudFrontOriginAccessIdentity2019_03_26"
2350
+ o.name = "GetCloudFrontOriginAccessIdentity2020_05_31"
1842
2351
  o.http_method = "GET"
1843
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}"
2352
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}"
1844
2353
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityRequest)
1845
2354
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityResult)
1846
2355
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1848,9 +2357,9 @@ module Aws::CloudFront
1848
2357
  end)
1849
2358
 
1850
2359
  api.add_operation(:get_cloud_front_origin_access_identity_config, Seahorse::Model::Operation.new.tap do |o|
1851
- o.name = "GetCloudFrontOriginAccessIdentityConfig2019_03_26"
2360
+ o.name = "GetCloudFrontOriginAccessIdentityConfig2020_05_31"
1852
2361
  o.http_method = "GET"
1853
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}/config"
2362
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config"
1854
2363
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigRequest)
1855
2364
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigResult)
1856
2365
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1858,9 +2367,9 @@ module Aws::CloudFront
1858
2367
  end)
1859
2368
 
1860
2369
  api.add_operation(:get_distribution, Seahorse::Model::Operation.new.tap do |o|
1861
- o.name = "GetDistribution2019_03_26"
2370
+ o.name = "GetDistribution2020_05_31"
1862
2371
  o.http_method = "GET"
1863
- o.http_request_uri = "/2019-03-26/distribution/{Id}"
2372
+ o.http_request_uri = "/2020-05-31/distribution/{Id}"
1864
2373
  o.input = Shapes::ShapeRef.new(shape: GetDistributionRequest)
1865
2374
  o.output = Shapes::ShapeRef.new(shape: GetDistributionResult)
1866
2375
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1868,9 +2377,9 @@ module Aws::CloudFront
1868
2377
  end)
1869
2378
 
1870
2379
  api.add_operation(:get_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1871
- o.name = "GetDistributionConfig2019_03_26"
2380
+ o.name = "GetDistributionConfig2020_05_31"
1872
2381
  o.http_method = "GET"
1873
- o.http_request_uri = "/2019-03-26/distribution/{Id}/config"
2382
+ o.http_request_uri = "/2020-05-31/distribution/{Id}/config"
1874
2383
  o.input = Shapes::ShapeRef.new(shape: GetDistributionConfigRequest)
1875
2384
  o.output = Shapes::ShapeRef.new(shape: GetDistributionConfigResult)
1876
2385
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1878,9 +2387,9 @@ module Aws::CloudFront
1878
2387
  end)
1879
2388
 
1880
2389
  api.add_operation(:get_field_level_encryption, Seahorse::Model::Operation.new.tap do |o|
1881
- o.name = "GetFieldLevelEncryption2019_03_26"
2390
+ o.name = "GetFieldLevelEncryption2020_05_31"
1882
2391
  o.http_method = "GET"
1883
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}"
2392
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}"
1884
2393
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionRequest)
1885
2394
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionResult)
1886
2395
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1888,9 +2397,9 @@ module Aws::CloudFront
1888
2397
  end)
1889
2398
 
1890
2399
  api.add_operation(:get_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1891
- o.name = "GetFieldLevelEncryptionConfig2019_03_26"
2400
+ o.name = "GetFieldLevelEncryptionConfig2020_05_31"
1892
2401
  o.http_method = "GET"
1893
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}/config"
2402
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}/config"
1894
2403
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionConfigRequest)
1895
2404
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionConfigResult)
1896
2405
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1898,9 +2407,9 @@ module Aws::CloudFront
1898
2407
  end)
1899
2408
 
1900
2409
  api.add_operation(:get_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1901
- o.name = "GetFieldLevelEncryptionProfile2019_03_26"
2410
+ o.name = "GetFieldLevelEncryptionProfile2020_05_31"
1902
2411
  o.http_method = "GET"
1903
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}"
2412
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}"
1904
2413
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileRequest)
1905
2414
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileResult)
1906
2415
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1908,9 +2417,9 @@ module Aws::CloudFront
1908
2417
  end)
1909
2418
 
1910
2419
  api.add_operation(:get_field_level_encryption_profile_config, Seahorse::Model::Operation.new.tap do |o|
1911
- o.name = "GetFieldLevelEncryptionProfileConfig2019_03_26"
2420
+ o.name = "GetFieldLevelEncryptionProfileConfig2020_05_31"
1912
2421
  o.http_method = "GET"
1913
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}/config"
2422
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}/config"
1914
2423
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileConfigRequest)
1915
2424
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileConfigResult)
1916
2425
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1918,9 +2427,9 @@ module Aws::CloudFront
1918
2427
  end)
1919
2428
 
1920
2429
  api.add_operation(:get_invalidation, Seahorse::Model::Operation.new.tap do |o|
1921
- o.name = "GetInvalidation2019_03_26"
2430
+ o.name = "GetInvalidation2020_05_31"
1922
2431
  o.http_method = "GET"
1923
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation/{Id}"
2432
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation/{Id}"
1924
2433
  o.input = Shapes::ShapeRef.new(shape: GetInvalidationRequest)
1925
2434
  o.output = Shapes::ShapeRef.new(shape: GetInvalidationResult)
1926
2435
  o.errors << Shapes::ShapeRef.new(shape: NoSuchInvalidation)
@@ -1928,10 +2437,40 @@ module Aws::CloudFront
1928
2437
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1929
2438
  end)
1930
2439
 
2440
+ api.add_operation(:get_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2441
+ o.name = "GetMonitoringSubscription2020_05_31"
2442
+ o.http_method = "GET"
2443
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
2444
+ o.input = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionRequest)
2445
+ o.output = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionResult)
2446
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2447
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2448
+ end)
2449
+
2450
+ api.add_operation(:get_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2451
+ o.name = "GetOriginRequestPolicy2020_05_31"
2452
+ o.http_method = "GET"
2453
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
2454
+ o.input = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyRequest)
2455
+ o.output = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyResult)
2456
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2457
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2458
+ end)
2459
+
2460
+ api.add_operation(:get_origin_request_policy_config, Seahorse::Model::Operation.new.tap do |o|
2461
+ o.name = "GetOriginRequestPolicyConfig2020_05_31"
2462
+ o.http_method = "GET"
2463
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}/config"
2464
+ o.input = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyConfigRequest)
2465
+ o.output = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyConfigResult)
2466
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2467
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2468
+ end)
2469
+
1931
2470
  api.add_operation(:get_public_key, Seahorse::Model::Operation.new.tap do |o|
1932
- o.name = "GetPublicKey2019_03_26"
2471
+ o.name = "GetPublicKey2020_05_31"
1933
2472
  o.http_method = "GET"
1934
- o.http_request_uri = "/2019-03-26/public-key/{Id}"
2473
+ o.http_request_uri = "/2020-05-31/public-key/{Id}"
1935
2474
  o.input = Shapes::ShapeRef.new(shape: GetPublicKeyRequest)
1936
2475
  o.output = Shapes::ShapeRef.new(shape: GetPublicKeyResult)
1937
2476
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1939,9 +2478,9 @@ module Aws::CloudFront
1939
2478
  end)
1940
2479
 
1941
2480
  api.add_operation(:get_public_key_config, Seahorse::Model::Operation.new.tap do |o|
1942
- o.name = "GetPublicKeyConfig2019_03_26"
2481
+ o.name = "GetPublicKeyConfig2020_05_31"
1943
2482
  o.http_method = "GET"
1944
- o.http_request_uri = "/2019-03-26/public-key/{Id}/config"
2483
+ o.http_request_uri = "/2020-05-31/public-key/{Id}/config"
1945
2484
  o.input = Shapes::ShapeRef.new(shape: GetPublicKeyConfigRequest)
1946
2485
  o.output = Shapes::ShapeRef.new(shape: GetPublicKeyConfigResult)
1947
2486
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1949,9 +2488,9 @@ module Aws::CloudFront
1949
2488
  end)
1950
2489
 
1951
2490
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1952
- o.name = "GetStreamingDistribution2019_03_26"
2491
+ o.name = "GetStreamingDistribution2020_05_31"
1953
2492
  o.http_method = "GET"
1954
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}"
2493
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
1955
2494
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionRequest)
1956
2495
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionResult)
1957
2496
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
@@ -1959,19 +2498,30 @@ module Aws::CloudFront
1959
2498
  end)
1960
2499
 
1961
2500
  api.add_operation(:get_streaming_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1962
- o.name = "GetStreamingDistributionConfig2019_03_26"
2501
+ o.name = "GetStreamingDistributionConfig2020_05_31"
1963
2502
  o.http_method = "GET"
1964
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}/config"
2503
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}/config"
1965
2504
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigRequest)
1966
2505
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigResult)
1967
2506
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
1968
2507
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1969
2508
  end)
1970
2509
 
2510
+ api.add_operation(:list_cache_policies, Seahorse::Model::Operation.new.tap do |o|
2511
+ o.name = "ListCachePolicies2020_05_31"
2512
+ o.http_method = "GET"
2513
+ o.http_request_uri = "/2020-05-31/cache-policy"
2514
+ o.input = Shapes::ShapeRef.new(shape: ListCachePoliciesRequest)
2515
+ o.output = Shapes::ShapeRef.new(shape: ListCachePoliciesResult)
2516
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2517
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2518
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2519
+ end)
2520
+
1971
2521
  api.add_operation(:list_cloud_front_origin_access_identities, Seahorse::Model::Operation.new.tap do |o|
1972
- o.name = "ListCloudFrontOriginAccessIdentities2019_03_26"
2522
+ o.name = "ListCloudFrontOriginAccessIdentities2020_05_31"
1973
2523
  o.http_method = "GET"
1974
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront"
2524
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront"
1975
2525
  o.input = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesRequest)
1976
2526
  o.output = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesResult)
1977
2527
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1985,9 +2535,9 @@ module Aws::CloudFront
1985
2535
  end)
1986
2536
 
1987
2537
  api.add_operation(:list_distributions, Seahorse::Model::Operation.new.tap do |o|
1988
- o.name = "ListDistributions2019_03_26"
2538
+ o.name = "ListDistributions2020_05_31"
1989
2539
  o.http_method = "GET"
1990
- o.http_request_uri = "/2019-03-26/distribution"
2540
+ o.http_request_uri = "/2020-05-31/distribution"
1991
2541
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsRequest)
1992
2542
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsResult)
1993
2543
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2000,10 +2550,32 @@ module Aws::CloudFront
2000
2550
  )
2001
2551
  end)
2002
2552
 
2553
+ api.add_operation(:list_distributions_by_cache_policy_id, Seahorse::Model::Operation.new.tap do |o|
2554
+ o.name = "ListDistributionsByCachePolicyId2020_05_31"
2555
+ o.http_method = "GET"
2556
+ o.http_request_uri = "/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}"
2557
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByCachePolicyIdRequest)
2558
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByCachePolicyIdResult)
2559
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2560
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2561
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2562
+ end)
2563
+
2564
+ api.add_operation(:list_distributions_by_origin_request_policy_id, Seahorse::Model::Operation.new.tap do |o|
2565
+ o.name = "ListDistributionsByOriginRequestPolicyId2020_05_31"
2566
+ o.http_method = "GET"
2567
+ o.http_request_uri = "/2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}"
2568
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByOriginRequestPolicyIdRequest)
2569
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByOriginRequestPolicyIdResult)
2570
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2571
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2572
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2573
+ end)
2574
+
2003
2575
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
2004
- o.name = "ListDistributionsByWebACLId2019_03_26"
2576
+ o.name = "ListDistributionsByWebACLId2020_05_31"
2005
2577
  o.http_method = "GET"
2006
- o.http_request_uri = "/2019-03-26/distributionsByWebACLId/{WebACLId}"
2578
+ o.http_request_uri = "/2020-05-31/distributionsByWebACLId/{WebACLId}"
2007
2579
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdRequest)
2008
2580
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdResult)
2009
2581
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2011,27 +2583,27 @@ module Aws::CloudFront
2011
2583
  end)
2012
2584
 
2013
2585
  api.add_operation(:list_field_level_encryption_configs, Seahorse::Model::Operation.new.tap do |o|
2014
- o.name = "ListFieldLevelEncryptionConfigs2019_03_26"
2586
+ o.name = "ListFieldLevelEncryptionConfigs2020_05_31"
2015
2587
  o.http_method = "GET"
2016
- o.http_request_uri = "/2019-03-26/field-level-encryption"
2588
+ o.http_request_uri = "/2020-05-31/field-level-encryption"
2017
2589
  o.input = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionConfigsRequest)
2018
2590
  o.output = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionConfigsResult)
2019
2591
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2020
2592
  end)
2021
2593
 
2022
2594
  api.add_operation(:list_field_level_encryption_profiles, Seahorse::Model::Operation.new.tap do |o|
2023
- o.name = "ListFieldLevelEncryptionProfiles2019_03_26"
2595
+ o.name = "ListFieldLevelEncryptionProfiles2020_05_31"
2024
2596
  o.http_method = "GET"
2025
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile"
2597
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile"
2026
2598
  o.input = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionProfilesRequest)
2027
2599
  o.output = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionProfilesResult)
2028
2600
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2029
2601
  end)
2030
2602
 
2031
2603
  api.add_operation(:list_invalidations, Seahorse::Model::Operation.new.tap do |o|
2032
- o.name = "ListInvalidations2019_03_26"
2604
+ o.name = "ListInvalidations2020_05_31"
2033
2605
  o.http_method = "GET"
2034
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation"
2606
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
2035
2607
  o.input = Shapes::ShapeRef.new(shape: ListInvalidationsRequest)
2036
2608
  o.output = Shapes::ShapeRef.new(shape: ListInvalidationsResult)
2037
2609
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2046,19 +2618,30 @@ module Aws::CloudFront
2046
2618
  )
2047
2619
  end)
2048
2620
 
2621
+ api.add_operation(:list_origin_request_policies, Seahorse::Model::Operation.new.tap do |o|
2622
+ o.name = "ListOriginRequestPolicies2020_05_31"
2623
+ o.http_method = "GET"
2624
+ o.http_request_uri = "/2020-05-31/origin-request-policy"
2625
+ o.input = Shapes::ShapeRef.new(shape: ListOriginRequestPoliciesRequest)
2626
+ o.output = Shapes::ShapeRef.new(shape: ListOriginRequestPoliciesResult)
2627
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2628
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2629
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2630
+ end)
2631
+
2049
2632
  api.add_operation(:list_public_keys, Seahorse::Model::Operation.new.tap do |o|
2050
- o.name = "ListPublicKeys2019_03_26"
2633
+ o.name = "ListPublicKeys2020_05_31"
2051
2634
  o.http_method = "GET"
2052
- o.http_request_uri = "/2019-03-26/public-key"
2635
+ o.http_request_uri = "/2020-05-31/public-key"
2053
2636
  o.input = Shapes::ShapeRef.new(shape: ListPublicKeysRequest)
2054
2637
  o.output = Shapes::ShapeRef.new(shape: ListPublicKeysResult)
2055
2638
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2056
2639
  end)
2057
2640
 
2058
2641
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
2059
- o.name = "ListStreamingDistributions2019_03_26"
2642
+ o.name = "ListStreamingDistributions2020_05_31"
2060
2643
  o.http_method = "GET"
2061
- o.http_request_uri = "/2019-03-26/streaming-distribution"
2644
+ o.http_request_uri = "/2020-05-31/streaming-distribution"
2062
2645
  o.input = Shapes::ShapeRef.new(shape: ListStreamingDistributionsRequest)
2063
2646
  o.output = Shapes::ShapeRef.new(shape: ListStreamingDistributionsResult)
2064
2647
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2072,9 +2655,9 @@ module Aws::CloudFront
2072
2655
  end)
2073
2656
 
2074
2657
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2075
- o.name = "ListTagsForResource2019_03_26"
2658
+ o.name = "ListTagsForResource2020_05_31"
2076
2659
  o.http_method = "GET"
2077
- o.http_request_uri = "/2019-03-26/tagging"
2660
+ o.http_request_uri = "/2020-05-31/tagging"
2078
2661
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
2079
2662
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
2080
2663
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2084,9 +2667,9 @@ module Aws::CloudFront
2084
2667
  end)
2085
2668
 
2086
2669
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2087
- o.name = "TagResource2019_03_26"
2670
+ o.name = "TagResource2020_05_31"
2088
2671
  o.http_method = "POST"
2089
- o.http_request_uri = "/2019-03-26/tagging?Operation=Tag"
2672
+ o.http_request_uri = "/2020-05-31/tagging?Operation=Tag"
2090
2673
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2091
2674
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2092
2675
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2096,9 +2679,9 @@ module Aws::CloudFront
2096
2679
  end)
2097
2680
 
2098
2681
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
2099
- o.name = "UntagResource2019_03_26"
2682
+ o.name = "UntagResource2020_05_31"
2100
2683
  o.http_method = "POST"
2101
- o.http_request_uri = "/2019-03-26/tagging?Operation=Untag"
2684
+ o.http_request_uri = "/2020-05-31/tagging?Operation=Untag"
2102
2685
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2103
2686
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2104
2687
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2107,10 +2690,29 @@ module Aws::CloudFront
2107
2690
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
2108
2691
  end)
2109
2692
 
2693
+ api.add_operation(:update_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2694
+ o.name = "UpdateCachePolicy2020_05_31"
2695
+ o.http_method = "PUT"
2696
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
2697
+ o.input = Shapes::ShapeRef.new(shape: UpdateCachePolicyRequest)
2698
+ o.output = Shapes::ShapeRef.new(shape: UpdateCachePolicyResult)
2699
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2700
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
2701
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2702
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2703
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2704
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2705
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2706
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
2707
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInCachePolicy)
2708
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInCachePolicy)
2709
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInCachePolicy)
2710
+ end)
2711
+
2110
2712
  api.add_operation(:update_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
2111
- o.name = "UpdateCloudFrontOriginAccessIdentity2019_03_26"
2713
+ o.name = "UpdateCloudFrontOriginAccessIdentity2020_05_31"
2112
2714
  o.http_method = "PUT"
2113
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}/config"
2715
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config"
2114
2716
  o.input = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityRequest)
2115
2717
  o.output = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityResult)
2116
2718
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2124,9 +2726,9 @@ module Aws::CloudFront
2124
2726
  end)
2125
2727
 
2126
2728
  api.add_operation(:update_distribution, Seahorse::Model::Operation.new.tap do |o|
2127
- o.name = "UpdateDistribution2019_03_26"
2729
+ o.name = "UpdateDistribution2020_05_31"
2128
2730
  o.http_method = "PUT"
2129
- o.http_request_uri = "/2019-03-26/distribution/{Id}/config"
2731
+ o.http_request_uri = "/2020-05-31/distribution/{Id}/config"
2130
2732
  o.input = Shapes::ShapeRef.new(shape: UpdateDistributionRequest)
2131
2733
  o.output = Shapes::ShapeRef.new(shape: UpdateDistributionResult)
2132
2734
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2166,6 +2768,7 @@ module Aws::CloudFront
2166
2768
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
2167
2769
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
2168
2770
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2771
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
2169
2772
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
2170
2773
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
2171
2774
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -2173,12 +2776,16 @@ module Aws::CloudFront
2173
2776
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
2174
2777
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
2175
2778
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2779
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2780
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2781
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2782
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
2176
2783
  end)
2177
2784
 
2178
2785
  api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
2179
- o.name = "UpdateFieldLevelEncryptionConfig2019_03_26"
2786
+ o.name = "UpdateFieldLevelEncryptionConfig2020_05_31"
2180
2787
  o.http_method = "PUT"
2181
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}/config"
2788
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}/config"
2182
2789
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigRequest)
2183
2790
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigResult)
2184
2791
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2195,9 +2802,9 @@ module Aws::CloudFront
2195
2802
  end)
2196
2803
 
2197
2804
  api.add_operation(:update_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
2198
- o.name = "UpdateFieldLevelEncryptionProfile2019_03_26"
2805
+ o.name = "UpdateFieldLevelEncryptionProfile2020_05_31"
2199
2806
  o.http_method = "PUT"
2200
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}/config"
2807
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}/config"
2201
2808
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileRequest)
2202
2809
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileResult)
2203
2810
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2214,10 +2821,29 @@ module Aws::CloudFront
2214
2821
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
2215
2822
  end)
2216
2823
 
2824
+ api.add_operation(:update_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2825
+ o.name = "UpdateOriginRequestPolicy2020_05_31"
2826
+ o.http_method = "PUT"
2827
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
2828
+ o.input = Shapes::ShapeRef.new(shape: UpdateOriginRequestPolicyRequest)
2829
+ o.output = Shapes::ShapeRef.new(shape: UpdateOriginRequestPolicyResult)
2830
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2831
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
2832
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2833
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2834
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2835
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2836
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2837
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
2838
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInOriginRequestPolicy)
2839
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInOriginRequestPolicy)
2840
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInOriginRequestPolicy)
2841
+ end)
2842
+
2217
2843
  api.add_operation(:update_public_key, Seahorse::Model::Operation.new.tap do |o|
2218
- o.name = "UpdatePublicKey2019_03_26"
2844
+ o.name = "UpdatePublicKey2020_05_31"
2219
2845
  o.http_method = "PUT"
2220
- o.http_request_uri = "/2019-03-26/public-key/{Id}/config"
2846
+ o.http_request_uri = "/2020-05-31/public-key/{Id}/config"
2221
2847
  o.input = Shapes::ShapeRef.new(shape: UpdatePublicKeyRequest)
2222
2848
  o.output = Shapes::ShapeRef.new(shape: UpdatePublicKeyResult)
2223
2849
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2230,9 +2856,9 @@ module Aws::CloudFront
2230
2856
  end)
2231
2857
 
2232
2858
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2233
- o.name = "UpdateStreamingDistribution2019_03_26"
2859
+ o.name = "UpdateStreamingDistribution2020_05_31"
2234
2860
  o.http_method = "PUT"
2235
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}/config"
2861
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}/config"
2236
2862
  o.input = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionRequest)
2237
2863
  o.output = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionResult)
2238
2864
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)