aws-sdk-cloudfront 1.26.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,20 @@ module Aws::CloudFront
24
26
  CacheBehavior = Shapes::StructureShape.new(name: 'CacheBehavior')
25
27
  CacheBehaviorList = Shapes::ListShape.new(name: 'CacheBehaviorList')
26
28
  CacheBehaviors = Shapes::StructureShape.new(name: 'CacheBehaviors')
29
+ CachePolicy = Shapes::StructureShape.new(name: 'CachePolicy')
30
+ CachePolicyAlreadyExists = Shapes::StructureShape.new(name: 'CachePolicyAlreadyExists')
31
+ CachePolicyConfig = Shapes::StructureShape.new(name: 'CachePolicyConfig')
32
+ CachePolicyCookieBehavior = Shapes::StringShape.new(name: 'CachePolicyCookieBehavior')
33
+ CachePolicyCookiesConfig = Shapes::StructureShape.new(name: 'CachePolicyCookiesConfig')
34
+ CachePolicyHeaderBehavior = Shapes::StringShape.new(name: 'CachePolicyHeaderBehavior')
35
+ CachePolicyHeadersConfig = Shapes::StructureShape.new(name: 'CachePolicyHeadersConfig')
36
+ CachePolicyInUse = Shapes::StructureShape.new(name: 'CachePolicyInUse')
37
+ CachePolicyList = Shapes::StructureShape.new(name: 'CachePolicyList')
38
+ CachePolicyQueryStringBehavior = Shapes::StringShape.new(name: 'CachePolicyQueryStringBehavior')
39
+ CachePolicyQueryStringsConfig = Shapes::StructureShape.new(name: 'CachePolicyQueryStringsConfig')
40
+ CachePolicySummary = Shapes::StructureShape.new(name: 'CachePolicySummary')
41
+ CachePolicySummaryList = Shapes::ListShape.new(name: 'CachePolicySummaryList')
42
+ CachePolicyType = Shapes::StringShape.new(name: 'CachePolicyType')
27
43
  CachedMethods = Shapes::StructureShape.new(name: 'CachedMethods')
28
44
  CannotChangeImmutablePublicKeyFields = Shapes::StructureShape.new(name: 'CannotChangeImmutablePublicKeyFields')
29
45
  CertificateSource = Shapes::StringShape.new(name: 'CertificateSource')
@@ -42,6 +58,8 @@ module Aws::CloudFront
42
58
  CookieNameList = Shapes::ListShape.new(name: 'CookieNameList')
43
59
  CookieNames = Shapes::StructureShape.new(name: 'CookieNames')
44
60
  CookiePreference = Shapes::StructureShape.new(name: 'CookiePreference')
61
+ CreateCachePolicyRequest = Shapes::StructureShape.new(name: 'CreateCachePolicyRequest')
62
+ CreateCachePolicyResult = Shapes::StructureShape.new(name: 'CreateCachePolicyResult')
45
63
  CreateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityRequest')
46
64
  CreateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'CreateCloudFrontOriginAccessIdentityResult')
47
65
  CreateDistributionRequest = Shapes::StructureShape.new(name: 'CreateDistributionRequest')
@@ -54,8 +72,14 @@ module Aws::CloudFront
54
72
  CreateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'CreateFieldLevelEncryptionProfileResult')
55
73
  CreateInvalidationRequest = Shapes::StructureShape.new(name: 'CreateInvalidationRequest')
56
74
  CreateInvalidationResult = Shapes::StructureShape.new(name: 'CreateInvalidationResult')
75
+ 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')
57
79
  CreatePublicKeyRequest = Shapes::StructureShape.new(name: 'CreatePublicKeyRequest')
58
80
  CreatePublicKeyResult = Shapes::StructureShape.new(name: 'CreatePublicKeyResult')
81
+ CreateRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'CreateRealtimeLogConfigRequest')
82
+ CreateRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'CreateRealtimeLogConfigResult')
59
83
  CreateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionRequest')
60
84
  CreateStreamingDistributionResult = Shapes::StructureShape.new(name: 'CreateStreamingDistributionResult')
61
85
  CreateStreamingDistributionWithTagsRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionWithTagsRequest')
@@ -66,16 +90,23 @@ module Aws::CloudFront
66
90
  CustomHeaders = Shapes::StructureShape.new(name: 'CustomHeaders')
67
91
  CustomOriginConfig = Shapes::StructureShape.new(name: 'CustomOriginConfig')
68
92
  DefaultCacheBehavior = Shapes::StructureShape.new(name: 'DefaultCacheBehavior')
93
+ DeleteCachePolicyRequest = Shapes::StructureShape.new(name: 'DeleteCachePolicyRequest')
69
94
  DeleteCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'DeleteCloudFrontOriginAccessIdentityRequest')
70
95
  DeleteDistributionRequest = Shapes::StructureShape.new(name: 'DeleteDistributionRequest')
71
96
  DeleteFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionConfigRequest')
72
97
  DeleteFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionProfileRequest')
98
+ DeleteMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionRequest')
99
+ DeleteMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionResult')
100
+ DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
73
101
  DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
102
+ DeleteRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'DeleteRealtimeLogConfigRequest')
74
103
  DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
75
104
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
76
105
  DistributionAlreadyExists = Shapes::StructureShape.new(name: 'DistributionAlreadyExists')
77
106
  DistributionConfig = Shapes::StructureShape.new(name: 'DistributionConfig')
78
107
  DistributionConfigWithTags = Shapes::StructureShape.new(name: 'DistributionConfigWithTags')
108
+ DistributionIdList = Shapes::StructureShape.new(name: 'DistributionIdList')
109
+ DistributionIdListSummary = Shapes::ListShape.new(name: 'DistributionIdListSummary')
79
110
  DistributionList = Shapes::StructureShape.new(name: 'DistributionList')
80
111
  DistributionNotDisabled = Shapes::StructureShape.new(name: 'DistributionNotDisabled')
81
112
  DistributionSummary = Shapes::StructureShape.new(name: 'DistributionSummary')
@@ -83,6 +114,8 @@ module Aws::CloudFront
83
114
  EncryptionEntities = Shapes::StructureShape.new(name: 'EncryptionEntities')
84
115
  EncryptionEntity = Shapes::StructureShape.new(name: 'EncryptionEntity')
85
116
  EncryptionEntityList = Shapes::ListShape.new(name: 'EncryptionEntityList')
117
+ EndPoint = Shapes::StructureShape.new(name: 'EndPoint')
118
+ EndPointList = Shapes::ListShape.new(name: 'EndPointList')
86
119
  EventType = Shapes::StringShape.new(name: 'EventType')
87
120
  FieldLevelEncryption = Shapes::StructureShape.new(name: 'FieldLevelEncryption')
88
121
  FieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'FieldLevelEncryptionConfig')
@@ -99,12 +132,17 @@ module Aws::CloudFront
99
132
  FieldLevelEncryptionProfileSummaryList = Shapes::ListShape.new(name: 'FieldLevelEncryptionProfileSummaryList')
100
133
  FieldLevelEncryptionSummary = Shapes::StructureShape.new(name: 'FieldLevelEncryptionSummary')
101
134
  FieldLevelEncryptionSummaryList = Shapes::ListShape.new(name: 'FieldLevelEncryptionSummaryList')
135
+ FieldList = Shapes::ListShape.new(name: 'FieldList')
102
136
  FieldPatternList = Shapes::ListShape.new(name: 'FieldPatternList')
103
137
  FieldPatterns = Shapes::StructureShape.new(name: 'FieldPatterns')
104
138
  Format = Shapes::StringShape.new(name: 'Format')
105
139
  ForwardedValues = Shapes::StructureShape.new(name: 'ForwardedValues')
106
140
  GeoRestriction = Shapes::StructureShape.new(name: 'GeoRestriction')
107
141
  GeoRestrictionType = Shapes::StringShape.new(name: 'GeoRestrictionType')
142
+ GetCachePolicyConfigRequest = Shapes::StructureShape.new(name: 'GetCachePolicyConfigRequest')
143
+ GetCachePolicyConfigResult = Shapes::StructureShape.new(name: 'GetCachePolicyConfigResult')
144
+ GetCachePolicyRequest = Shapes::StructureShape.new(name: 'GetCachePolicyRequest')
145
+ GetCachePolicyResult = Shapes::StructureShape.new(name: 'GetCachePolicyResult')
108
146
  GetCloudFrontOriginAccessIdentityConfigRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigRequest')
109
147
  GetCloudFrontOriginAccessIdentityConfigResult = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityConfigResult')
110
148
  GetCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'GetCloudFrontOriginAccessIdentityRequest')
@@ -123,10 +161,18 @@ module Aws::CloudFront
123
161
  GetFieldLevelEncryptionResult = Shapes::StructureShape.new(name: 'GetFieldLevelEncryptionResult')
124
162
  GetInvalidationRequest = Shapes::StructureShape.new(name: 'GetInvalidationRequest')
125
163
  GetInvalidationResult = Shapes::StructureShape.new(name: 'GetInvalidationResult')
164
+ GetMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionRequest')
165
+ GetMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionResult')
166
+ GetOriginRequestPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigRequest')
167
+ GetOriginRequestPolicyConfigResult = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigResult')
168
+ GetOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyRequest')
169
+ GetOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyResult')
126
170
  GetPublicKeyConfigRequest = Shapes::StructureShape.new(name: 'GetPublicKeyConfigRequest')
127
171
  GetPublicKeyConfigResult = Shapes::StructureShape.new(name: 'GetPublicKeyConfigResult')
128
172
  GetPublicKeyRequest = Shapes::StructureShape.new(name: 'GetPublicKeyRequest')
129
173
  GetPublicKeyResult = Shapes::StructureShape.new(name: 'GetPublicKeyResult')
174
+ GetRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigRequest')
175
+ GetRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigResult')
130
176
  GetStreamingDistributionConfigRequest = Shapes::StructureShape.new(name: 'GetStreamingDistributionConfigRequest')
131
177
  GetStreamingDistributionConfigResult = Shapes::StructureShape.new(name: 'GetStreamingDistributionConfigResult')
132
178
  GetStreamingDistributionRequest = Shapes::StructureShape.new(name: 'GetStreamingDistributionRequest')
@@ -135,6 +181,7 @@ module Aws::CloudFront
135
181
  Headers = Shapes::StructureShape.new(name: 'Headers')
136
182
  HttpVersion = Shapes::StringShape.new(name: 'HttpVersion')
137
183
  ICPRecordalStatus = Shapes::StringShape.new(name: 'ICPRecordalStatus')
184
+ IllegalDelete = Shapes::StructureShape.new(name: 'IllegalDelete')
138
185
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior = Shapes::StructureShape.new(name: 'IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior')
139
186
  IllegalUpdate = Shapes::StructureShape.new(name: 'IllegalUpdate')
140
187
  InconsistentQuantities = Shapes::StructureShape.new(name: 'InconsistentQuantities')
@@ -169,12 +216,21 @@ module Aws::CloudFront
169
216
  ItemSelection = Shapes::StringShape.new(name: 'ItemSelection')
170
217
  KeyPairIdList = Shapes::ListShape.new(name: 'KeyPairIdList')
171
218
  KeyPairIds = Shapes::StructureShape.new(name: 'KeyPairIds')
219
+ KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
172
220
  LambdaFunctionARN = Shapes::StringShape.new(name: 'LambdaFunctionARN')
173
221
  LambdaFunctionAssociation = Shapes::StructureShape.new(name: 'LambdaFunctionAssociation')
174
222
  LambdaFunctionAssociationList = Shapes::ListShape.new(name: 'LambdaFunctionAssociationList')
175
223
  LambdaFunctionAssociations = Shapes::StructureShape.new(name: 'LambdaFunctionAssociations')
224
+ ListCachePoliciesRequest = Shapes::StructureShape.new(name: 'ListCachePoliciesRequest')
225
+ ListCachePoliciesResult = Shapes::StructureShape.new(name: 'ListCachePoliciesResult')
176
226
  ListCloudFrontOriginAccessIdentitiesRequest = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesRequest')
177
227
  ListCloudFrontOriginAccessIdentitiesResult = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesResult')
228
+ ListDistributionsByCachePolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdRequest')
229
+ ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
230
+ ListDistributionsByOriginRequestPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdRequest')
231
+ ListDistributionsByOriginRequestPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdResult')
232
+ ListDistributionsByRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigRequest')
233
+ ListDistributionsByRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigResult')
178
234
  ListDistributionsByWebACLIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdRequest')
179
235
  ListDistributionsByWebACLIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdResult')
180
236
  ListDistributionsRequest = Shapes::StructureShape.new(name: 'ListDistributionsRequest')
@@ -185,8 +241,12 @@ module Aws::CloudFront
185
241
  ListFieldLevelEncryptionProfilesResult = Shapes::StructureShape.new(name: 'ListFieldLevelEncryptionProfilesResult')
186
242
  ListInvalidationsRequest = Shapes::StructureShape.new(name: 'ListInvalidationsRequest')
187
243
  ListInvalidationsResult = Shapes::StructureShape.new(name: 'ListInvalidationsResult')
244
+ ListOriginRequestPoliciesRequest = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesRequest')
245
+ ListOriginRequestPoliciesResult = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesResult')
188
246
  ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
189
247
  ListPublicKeysResult = Shapes::StructureShape.new(name: 'ListPublicKeysResult')
248
+ ListRealtimeLogConfigsRequest = Shapes::StructureShape.new(name: 'ListRealtimeLogConfigsRequest')
249
+ ListRealtimeLogConfigsResult = Shapes::StructureShape.new(name: 'ListRealtimeLogConfigsResult')
190
250
  ListStreamingDistributionsRequest = Shapes::StructureShape.new(name: 'ListStreamingDistributionsRequest')
191
251
  ListStreamingDistributionsResult = Shapes::StructureShape.new(name: 'ListStreamingDistributionsResult')
192
252
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -197,13 +257,17 @@ module Aws::CloudFront
197
257
  MethodsList = Shapes::ListShape.new(name: 'MethodsList')
198
258
  MinimumProtocolVersion = Shapes::StringShape.new(name: 'MinimumProtocolVersion')
199
259
  MissingBody = Shapes::StructureShape.new(name: 'MissingBody')
260
+ MonitoringSubscription = Shapes::StructureShape.new(name: 'MonitoringSubscription')
261
+ NoSuchCachePolicy = Shapes::StructureShape.new(name: 'NoSuchCachePolicy')
200
262
  NoSuchCloudFrontOriginAccessIdentity = Shapes::StructureShape.new(name: 'NoSuchCloudFrontOriginAccessIdentity')
201
263
  NoSuchDistribution = Shapes::StructureShape.new(name: 'NoSuchDistribution')
202
264
  NoSuchFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionConfig')
203
265
  NoSuchFieldLevelEncryptionProfile = Shapes::StructureShape.new(name: 'NoSuchFieldLevelEncryptionProfile')
204
266
  NoSuchInvalidation = Shapes::StructureShape.new(name: 'NoSuchInvalidation')
205
267
  NoSuchOrigin = Shapes::StructureShape.new(name: 'NoSuchOrigin')
268
+ NoSuchOriginRequestPolicy = Shapes::StructureShape.new(name: 'NoSuchOriginRequestPolicy')
206
269
  NoSuchPublicKey = Shapes::StructureShape.new(name: 'NoSuchPublicKey')
270
+ NoSuchRealtimeLogConfig = Shapes::StructureShape.new(name: 'NoSuchRealtimeLogConfig')
207
271
  NoSuchResource = Shapes::StructureShape.new(name: 'NoSuchResource')
208
272
  NoSuchStreamingDistribution = Shapes::StructureShape.new(name: 'NoSuchStreamingDistribution')
209
273
  Origin = Shapes::StructureShape.new(name: 'Origin')
@@ -218,8 +282,23 @@ module Aws::CloudFront
218
282
  OriginGroups = Shapes::StructureShape.new(name: 'OriginGroups')
219
283
  OriginList = Shapes::ListShape.new(name: 'OriginList')
220
284
  OriginProtocolPolicy = Shapes::StringShape.new(name: 'OriginProtocolPolicy')
285
+ OriginRequestPolicy = Shapes::StructureShape.new(name: 'OriginRequestPolicy')
286
+ OriginRequestPolicyAlreadyExists = Shapes::StructureShape.new(name: 'OriginRequestPolicyAlreadyExists')
287
+ OriginRequestPolicyConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyConfig')
288
+ OriginRequestPolicyCookieBehavior = Shapes::StringShape.new(name: 'OriginRequestPolicyCookieBehavior')
289
+ OriginRequestPolicyCookiesConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyCookiesConfig')
290
+ OriginRequestPolicyHeaderBehavior = Shapes::StringShape.new(name: 'OriginRequestPolicyHeaderBehavior')
291
+ OriginRequestPolicyHeadersConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyHeadersConfig')
292
+ OriginRequestPolicyInUse = Shapes::StructureShape.new(name: 'OriginRequestPolicyInUse')
293
+ OriginRequestPolicyList = Shapes::StructureShape.new(name: 'OriginRequestPolicyList')
294
+ OriginRequestPolicyQueryStringBehavior = Shapes::StringShape.new(name: 'OriginRequestPolicyQueryStringBehavior')
295
+ OriginRequestPolicyQueryStringsConfig = Shapes::StructureShape.new(name: 'OriginRequestPolicyQueryStringsConfig')
296
+ OriginRequestPolicySummary = Shapes::StructureShape.new(name: 'OriginRequestPolicySummary')
297
+ OriginRequestPolicySummaryList = Shapes::ListShape.new(name: 'OriginRequestPolicySummaryList')
298
+ OriginRequestPolicyType = Shapes::StringShape.new(name: 'OriginRequestPolicyType')
221
299
  OriginSslProtocols = Shapes::StructureShape.new(name: 'OriginSslProtocols')
222
300
  Origins = Shapes::StructureShape.new(name: 'Origins')
301
+ ParametersInCacheKeyAndForwardedToOrigin = Shapes::StructureShape.new(name: 'ParametersInCacheKeyAndForwardedToOrigin')
223
302
  PathList = Shapes::ListShape.new(name: 'PathList')
224
303
  Paths = Shapes::StructureShape.new(name: 'Paths')
225
304
  PreconditionFailed = Shapes::StructureShape.new(name: 'PreconditionFailed')
@@ -238,6 +317,15 @@ module Aws::CloudFront
238
317
  QueryArgProfiles = Shapes::StructureShape.new(name: 'QueryArgProfiles')
239
318
  QueryStringCacheKeys = Shapes::StructureShape.new(name: 'QueryStringCacheKeys')
240
319
  QueryStringCacheKeysList = Shapes::ListShape.new(name: 'QueryStringCacheKeysList')
320
+ QueryStringNames = Shapes::StructureShape.new(name: 'QueryStringNames')
321
+ QueryStringNamesList = Shapes::ListShape.new(name: 'QueryStringNamesList')
322
+ RealtimeLogConfig = Shapes::StructureShape.new(name: 'RealtimeLogConfig')
323
+ RealtimeLogConfigAlreadyExists = Shapes::StructureShape.new(name: 'RealtimeLogConfigAlreadyExists')
324
+ RealtimeLogConfigInUse = Shapes::StructureShape.new(name: 'RealtimeLogConfigInUse')
325
+ RealtimeLogConfigList = Shapes::ListShape.new(name: 'RealtimeLogConfigList')
326
+ RealtimeLogConfigs = Shapes::StructureShape.new(name: 'RealtimeLogConfigs')
327
+ RealtimeMetricsSubscriptionConfig = Shapes::StructureShape.new(name: 'RealtimeMetricsSubscriptionConfig')
328
+ RealtimeMetricsSubscriptionStatus = Shapes::StringShape.new(name: 'RealtimeMetricsSubscriptionStatus')
241
329
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
242
330
  Restrictions = Shapes::StructureShape.new(name: 'Restrictions')
243
331
  S3Origin = Shapes::StructureShape.new(name: 'S3Origin')
@@ -267,33 +355,47 @@ module Aws::CloudFront
267
355
  TagValue = Shapes::StringShape.new(name: 'TagValue')
268
356
  Tags = Shapes::StructureShape.new(name: 'Tags')
269
357
  TooManyCacheBehaviors = Shapes::StructureShape.new(name: 'TooManyCacheBehaviors')
358
+ TooManyCachePolicies = Shapes::StructureShape.new(name: 'TooManyCachePolicies')
270
359
  TooManyCertificates = Shapes::StructureShape.new(name: 'TooManyCertificates')
271
360
  TooManyCloudFrontOriginAccessIdentities = Shapes::StructureShape.new(name: 'TooManyCloudFrontOriginAccessIdentities')
272
361
  TooManyCookieNamesInWhiteList = Shapes::StructureShape.new(name: 'TooManyCookieNamesInWhiteList')
362
+ TooManyCookiesInCachePolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInCachePolicy')
363
+ TooManyCookiesInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyCookiesInOriginRequestPolicy')
273
364
  TooManyDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyDistributionCNAMEs')
274
365
  TooManyDistributions = Shapes::StructureShape.new(name: 'TooManyDistributions')
366
+ TooManyDistributionsAssociatedToCachePolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToCachePolicy')
275
367
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToFieldLevelEncryptionConfig')
368
+ TooManyDistributionsAssociatedToOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyDistributionsAssociatedToOriginRequestPolicy')
276
369
  TooManyDistributionsWithLambdaAssociations = Shapes::StructureShape.new(name: 'TooManyDistributionsWithLambdaAssociations')
370
+ TooManyDistributionsWithSingleFunctionARN = Shapes::StructureShape.new(name: 'TooManyDistributionsWithSingleFunctionARN')
277
371
  TooManyFieldLevelEncryptionConfigs = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionConfigs')
278
372
  TooManyFieldLevelEncryptionContentTypeProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionContentTypeProfiles')
279
373
  TooManyFieldLevelEncryptionEncryptionEntities = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionEncryptionEntities')
280
374
  TooManyFieldLevelEncryptionFieldPatterns = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionFieldPatterns')
281
375
  TooManyFieldLevelEncryptionProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionProfiles')
282
376
  TooManyFieldLevelEncryptionQueryArgProfiles = Shapes::StructureShape.new(name: 'TooManyFieldLevelEncryptionQueryArgProfiles')
377
+ TooManyHeadersInCachePolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInCachePolicy')
283
378
  TooManyHeadersInForwardedValues = Shapes::StructureShape.new(name: 'TooManyHeadersInForwardedValues')
379
+ TooManyHeadersInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyHeadersInOriginRequestPolicy')
284
380
  TooManyInvalidationsInProgress = Shapes::StructureShape.new(name: 'TooManyInvalidationsInProgress')
285
381
  TooManyLambdaFunctionAssociations = Shapes::StructureShape.new(name: 'TooManyLambdaFunctionAssociations')
286
382
  TooManyOriginCustomHeaders = Shapes::StructureShape.new(name: 'TooManyOriginCustomHeaders')
287
383
  TooManyOriginGroupsPerDistribution = Shapes::StructureShape.new(name: 'TooManyOriginGroupsPerDistribution')
384
+ TooManyOriginRequestPolicies = Shapes::StructureShape.new(name: 'TooManyOriginRequestPolicies')
288
385
  TooManyOrigins = Shapes::StructureShape.new(name: 'TooManyOrigins')
289
386
  TooManyPublicKeys = Shapes::StructureShape.new(name: 'TooManyPublicKeys')
290
387
  TooManyQueryStringParameters = Shapes::StructureShape.new(name: 'TooManyQueryStringParameters')
388
+ TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
389
+ TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
390
+ TooManyRealtimeLogConfigs = Shapes::StructureShape.new(name: 'TooManyRealtimeLogConfigs')
291
391
  TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
292
392
  TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
293
393
  TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
294
394
  TrustedSignerDoesNotExist = Shapes::StructureShape.new(name: 'TrustedSignerDoesNotExist')
295
395
  TrustedSigners = Shapes::StructureShape.new(name: 'TrustedSigners')
296
396
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
397
+ UpdateCachePolicyRequest = Shapes::StructureShape.new(name: 'UpdateCachePolicyRequest')
398
+ UpdateCachePolicyResult = Shapes::StructureShape.new(name: 'UpdateCachePolicyResult')
297
399
  UpdateCloudFrontOriginAccessIdentityRequest = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityRequest')
298
400
  UpdateCloudFrontOriginAccessIdentityResult = Shapes::StructureShape.new(name: 'UpdateCloudFrontOriginAccessIdentityResult')
299
401
  UpdateDistributionRequest = Shapes::StructureShape.new(name: 'UpdateDistributionRequest')
@@ -302,8 +404,12 @@ module Aws::CloudFront
302
404
  UpdateFieldLevelEncryptionConfigResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionConfigResult')
303
405
  UpdateFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileRequest')
304
406
  UpdateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'UpdateFieldLevelEncryptionProfileResult')
407
+ UpdateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyRequest')
408
+ UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
305
409
  UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
306
410
  UpdatePublicKeyResult = Shapes::StructureShape.new(name: 'UpdatePublicKeyResult')
411
+ UpdateRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'UpdateRealtimeLogConfigRequest')
412
+ UpdateRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'UpdateRealtimeLogConfigResult')
307
413
  UpdateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionRequest')
308
414
  UpdateStreamingDistributionResult = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionResult')
309
415
  ViewerCertificate = Shapes::StructureShape.new(name: 'ViewerCertificate')
@@ -349,17 +455,20 @@ module Aws::CloudFront
349
455
 
350
456
  CacheBehavior.add_member(:path_pattern, Shapes::ShapeRef.new(shape: string, required: true, location_name: "PathPattern"))
351
457
  CacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
352
- CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, required: true, location_name: "ForwardedValues"))
353
458
  CacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
354
459
  CacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
355
- CacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, required: true, location_name: "MinTTL"))
356
460
  CacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
357
461
  CacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
358
- CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
359
- CacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
360
462
  CacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
361
463
  CacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
362
464
  CacheBehavior.add_member(:field_level_encryption_id, Shapes::ShapeRef.new(shape: string, location_name: "FieldLevelEncryptionId"))
465
+ CacheBehavior.add_member(:realtime_log_config_arn, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigArn"))
466
+ CacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
467
+ CacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
468
+ CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
469
+ CacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
470
+ CacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
471
+ CacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MaxTTL"))
363
472
  CacheBehavior.struct_class = Types::CacheBehavior
364
473
 
365
474
  CacheBehaviorList.member = Shapes::ShapeRef.new(shape: CacheBehavior, location_name: "CacheBehavior")
@@ -368,6 +477,49 @@ module Aws::CloudFront
368
477
  CacheBehaviors.add_member(:items, Shapes::ShapeRef.new(shape: CacheBehaviorList, location_name: "Items"))
369
478
  CacheBehaviors.struct_class = Types::CacheBehaviors
370
479
 
480
+ CachePolicy.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
481
+ CachePolicy.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
482
+ CachePolicy.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, required: true, location_name: "CachePolicyConfig"))
483
+ CachePolicy.struct_class = Types::CachePolicy
484
+
485
+ CachePolicyAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
486
+ CachePolicyAlreadyExists.struct_class = Types::CachePolicyAlreadyExists
487
+
488
+ CachePolicyConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
489
+ CachePolicyConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
490
+ CachePolicyConfig.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
491
+ CachePolicyConfig.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
492
+ CachePolicyConfig.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, required: true, location_name: "MinTTL"))
493
+ CachePolicyConfig.add_member(:parameters_in_cache_key_and_forwarded_to_origin, Shapes::ShapeRef.new(shape: ParametersInCacheKeyAndForwardedToOrigin, location_name: "ParametersInCacheKeyAndForwardedToOrigin"))
494
+ CachePolicyConfig.struct_class = Types::CachePolicyConfig
495
+
496
+ CachePolicyCookiesConfig.add_member(:cookie_behavior, Shapes::ShapeRef.new(shape: CachePolicyCookieBehavior, required: true, location_name: "CookieBehavior"))
497
+ CachePolicyCookiesConfig.add_member(:cookies, Shapes::ShapeRef.new(shape: CookieNames, location_name: "Cookies"))
498
+ CachePolicyCookiesConfig.struct_class = Types::CachePolicyCookiesConfig
499
+
500
+ CachePolicyHeadersConfig.add_member(:header_behavior, Shapes::ShapeRef.new(shape: CachePolicyHeaderBehavior, required: true, location_name: "HeaderBehavior"))
501
+ CachePolicyHeadersConfig.add_member(:headers, Shapes::ShapeRef.new(shape: Headers, location_name: "Headers"))
502
+ CachePolicyHeadersConfig.struct_class = Types::CachePolicyHeadersConfig
503
+
504
+ CachePolicyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
505
+ CachePolicyInUse.struct_class = Types::CachePolicyInUse
506
+
507
+ CachePolicyList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
508
+ CachePolicyList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
509
+ CachePolicyList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
510
+ CachePolicyList.add_member(:items, Shapes::ShapeRef.new(shape: CachePolicySummaryList, location_name: "Items"))
511
+ CachePolicyList.struct_class = Types::CachePolicyList
512
+
513
+ CachePolicyQueryStringsConfig.add_member(:query_string_behavior, Shapes::ShapeRef.new(shape: CachePolicyQueryStringBehavior, required: true, location_name: "QueryStringBehavior"))
514
+ CachePolicyQueryStringsConfig.add_member(:query_strings, Shapes::ShapeRef.new(shape: QueryStringNames, location_name: "QueryStrings"))
515
+ CachePolicyQueryStringsConfig.struct_class = Types::CachePolicyQueryStringsConfig
516
+
517
+ CachePolicySummary.add_member(:type, Shapes::ShapeRef.new(shape: CachePolicyType, required: true, location_name: "Type"))
518
+ CachePolicySummary.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, required: true, location_name: "CachePolicy"))
519
+ CachePolicySummary.struct_class = Types::CachePolicySummary
520
+
521
+ CachePolicySummaryList.member = Shapes::ShapeRef.new(shape: CachePolicySummary, location_name: "CachePolicySummary")
522
+
371
523
  CachedMethods.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
372
524
  CachedMethods.add_member(:items, Shapes::ShapeRef.new(shape: MethodsList, required: true, location_name: "Items"))
373
525
  CachedMethods.struct_class = Types::CachedMethods
@@ -430,7 +582,19 @@ module Aws::CloudFront
430
582
  CookiePreference.add_member(:whitelisted_names, Shapes::ShapeRef.new(shape: CookieNames, location_name: "WhitelistedNames"))
431
583
  CookiePreference.struct_class = Types::CookiePreference
432
584
 
433
- CreateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
585
+ 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/"}}))
586
+ CreateCachePolicyRequest.struct_class = Types::CreateCachePolicyRequest
587
+ CreateCachePolicyRequest[:payload] = :cache_policy_config
588
+ CreateCachePolicyRequest[:payload_member] = CreateCachePolicyRequest.member(:cache_policy_config)
589
+
590
+ CreateCachePolicyResult.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, location_name: "CachePolicy"))
591
+ CreateCachePolicyResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
592
+ CreateCachePolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
593
+ CreateCachePolicyResult.struct_class = Types::CreateCachePolicyResult
594
+ CreateCachePolicyResult[:payload] = :cache_policy
595
+ CreateCachePolicyResult[:payload_member] = CreateCachePolicyResult.member(:cache_policy)
596
+
597
+ CreateCloudFrontOriginAccessIdentityRequest.add_member(:cloud_front_origin_access_identity_config, Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityConfig, required: true, location_name: "CloudFrontOriginAccessIdentityConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
434
598
  CreateCloudFrontOriginAccessIdentityRequest.struct_class = Types::CreateCloudFrontOriginAccessIdentityRequest
435
599
  CreateCloudFrontOriginAccessIdentityRequest[:payload] = :cloud_front_origin_access_identity_config
436
600
  CreateCloudFrontOriginAccessIdentityRequest[:payload_member] = CreateCloudFrontOriginAccessIdentityRequest.member(:cloud_front_origin_access_identity_config)
@@ -442,7 +606,7 @@ module Aws::CloudFront
442
606
  CreateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
443
607
  CreateCloudFrontOriginAccessIdentityResult[:payload_member] = CreateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
444
608
 
445
- CreateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
609
+ CreateDistributionRequest.add_member(:distribution_config, Shapes::ShapeRef.new(shape: DistributionConfig, required: true, location_name: "DistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
446
610
  CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
447
611
  CreateDistributionRequest[:payload] = :distribution_config
448
612
  CreateDistributionRequest[:payload_member] = CreateDistributionRequest.member(:distribution_config)
@@ -454,7 +618,7 @@ module Aws::CloudFront
454
618
  CreateDistributionResult[:payload] = :distribution
455
619
  CreateDistributionResult[:payload_member] = CreateDistributionResult.member(:distribution)
456
620
 
457
- CreateDistributionWithTagsRequest.add_member(:distribution_config_with_tags, Shapes::ShapeRef.new(shape: DistributionConfigWithTags, required: true, location_name: "DistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
621
+ CreateDistributionWithTagsRequest.add_member(:distribution_config_with_tags, Shapes::ShapeRef.new(shape: DistributionConfigWithTags, required: true, location_name: "DistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
458
622
  CreateDistributionWithTagsRequest.struct_class = Types::CreateDistributionWithTagsRequest
459
623
  CreateDistributionWithTagsRequest[:payload] = :distribution_config_with_tags
460
624
  CreateDistributionWithTagsRequest[:payload_member] = CreateDistributionWithTagsRequest.member(:distribution_config_with_tags)
@@ -466,7 +630,7 @@ module Aws::CloudFront
466
630
  CreateDistributionWithTagsResult[:payload] = :distribution
467
631
  CreateDistributionWithTagsResult[:payload_member] = CreateDistributionWithTagsResult.member(:distribution)
468
632
 
469
- CreateFieldLevelEncryptionConfigRequest.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
633
+ CreateFieldLevelEncryptionConfigRequest.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
470
634
  CreateFieldLevelEncryptionConfigRequest.struct_class = Types::CreateFieldLevelEncryptionConfigRequest
471
635
  CreateFieldLevelEncryptionConfigRequest[:payload] = :field_level_encryption_config
472
636
  CreateFieldLevelEncryptionConfigRequest[:payload_member] = CreateFieldLevelEncryptionConfigRequest.member(:field_level_encryption_config)
@@ -478,7 +642,7 @@ module Aws::CloudFront
478
642
  CreateFieldLevelEncryptionConfigResult[:payload] = :field_level_encryption
479
643
  CreateFieldLevelEncryptionConfigResult[:payload_member] = CreateFieldLevelEncryptionConfigResult.member(:field_level_encryption)
480
644
 
481
- CreateFieldLevelEncryptionProfileRequest.add_member(:field_level_encryption_profile_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileConfig, required: true, location_name: "FieldLevelEncryptionProfileConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
645
+ CreateFieldLevelEncryptionProfileRequest.add_member(:field_level_encryption_profile_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileConfig, required: true, location_name: "FieldLevelEncryptionProfileConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
482
646
  CreateFieldLevelEncryptionProfileRequest.struct_class = Types::CreateFieldLevelEncryptionProfileRequest
483
647
  CreateFieldLevelEncryptionProfileRequest[:payload] = :field_level_encryption_profile_config
484
648
  CreateFieldLevelEncryptionProfileRequest[:payload_member] = CreateFieldLevelEncryptionProfileRequest.member(:field_level_encryption_profile_config)
@@ -491,7 +655,7 @@ module Aws::CloudFront
491
655
  CreateFieldLevelEncryptionProfileResult[:payload_member] = CreateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
492
656
 
493
657
  CreateInvalidationRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
494
- CreateInvalidationRequest.add_member(:invalidation_batch, Shapes::ShapeRef.new(shape: InvalidationBatch, required: true, location_name: "InvalidationBatch", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
658
+ CreateInvalidationRequest.add_member(:invalidation_batch, Shapes::ShapeRef.new(shape: InvalidationBatch, required: true, location_name: "InvalidationBatch", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
495
659
  CreateInvalidationRequest.struct_class = Types::CreateInvalidationRequest
496
660
  CreateInvalidationRequest[:payload] = :invalidation_batch
497
661
  CreateInvalidationRequest[:payload_member] = CreateInvalidationRequest.member(:invalidation_batch)
@@ -502,7 +666,30 @@ module Aws::CloudFront
502
666
  CreateInvalidationResult[:payload] = :invalidation
503
667
  CreateInvalidationResult[:payload_member] = CreateInvalidationResult.member(:invalidation)
504
668
 
505
- CreatePublicKeyRequest.add_member(:public_key_config, Shapes::ShapeRef.new(shape: PublicKeyConfig, required: true, location_name: "PublicKeyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
669
+ CreateMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
670
+ 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/"}}))
671
+ CreateMonitoringSubscriptionRequest.struct_class = Types::CreateMonitoringSubscriptionRequest
672
+ CreateMonitoringSubscriptionRequest[:payload] = :monitoring_subscription
673
+ CreateMonitoringSubscriptionRequest[:payload_member] = CreateMonitoringSubscriptionRequest.member(:monitoring_subscription)
674
+
675
+ CreateMonitoringSubscriptionResult.add_member(:monitoring_subscription, Shapes::ShapeRef.new(shape: MonitoringSubscription, location_name: "MonitoringSubscription"))
676
+ CreateMonitoringSubscriptionResult.struct_class = Types::CreateMonitoringSubscriptionResult
677
+ CreateMonitoringSubscriptionResult[:payload] = :monitoring_subscription
678
+ CreateMonitoringSubscriptionResult[:payload_member] = CreateMonitoringSubscriptionResult.member(:monitoring_subscription)
679
+
680
+ 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/"}}))
681
+ CreateOriginRequestPolicyRequest.struct_class = Types::CreateOriginRequestPolicyRequest
682
+ CreateOriginRequestPolicyRequest[:payload] = :origin_request_policy_config
683
+ CreateOriginRequestPolicyRequest[:payload_member] = CreateOriginRequestPolicyRequest.member(:origin_request_policy_config)
684
+
685
+ CreateOriginRequestPolicyResult.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, location_name: "OriginRequestPolicy"))
686
+ CreateOriginRequestPolicyResult.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
687
+ CreateOriginRequestPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
688
+ CreateOriginRequestPolicyResult.struct_class = Types::CreateOriginRequestPolicyResult
689
+ CreateOriginRequestPolicyResult[:payload] = :origin_request_policy
690
+ CreateOriginRequestPolicyResult[:payload_member] = CreateOriginRequestPolicyResult.member(:origin_request_policy)
691
+
692
+ CreatePublicKeyRequest.add_member(:public_key_config, Shapes::ShapeRef.new(shape: PublicKeyConfig, required: true, location_name: "PublicKeyConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
506
693
  CreatePublicKeyRequest.struct_class = Types::CreatePublicKeyRequest
507
694
  CreatePublicKeyRequest[:payload] = :public_key_config
508
695
  CreatePublicKeyRequest[:payload_member] = CreatePublicKeyRequest.member(:public_key_config)
@@ -514,7 +701,16 @@ module Aws::CloudFront
514
701
  CreatePublicKeyResult[:payload] = :public_key
515
702
  CreatePublicKeyResult[:payload_member] = CreatePublicKeyResult.member(:public_key)
516
703
 
517
- CreateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
704
+ CreateRealtimeLogConfigRequest.add_member(:end_points, Shapes::ShapeRef.new(shape: EndPointList, required: true, location_name: "EndPoints"))
705
+ CreateRealtimeLogConfigRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldList, required: true, location_name: "Fields"))
706
+ CreateRealtimeLogConfigRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
707
+ CreateRealtimeLogConfigRequest.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: long, required: true, location_name: "SamplingRate"))
708
+ CreateRealtimeLogConfigRequest.struct_class = Types::CreateRealtimeLogConfigRequest
709
+
710
+ CreateRealtimeLogConfigResult.add_member(:realtime_log_config, Shapes::ShapeRef.new(shape: RealtimeLogConfig, location_name: "RealtimeLogConfig"))
711
+ CreateRealtimeLogConfigResult.struct_class = Types::CreateRealtimeLogConfigResult
712
+
713
+ CreateStreamingDistributionRequest.add_member(:streaming_distribution_config, Shapes::ShapeRef.new(shape: StreamingDistributionConfig, required: true, location_name: "StreamingDistributionConfig", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
518
714
  CreateStreamingDistributionRequest.struct_class = Types::CreateStreamingDistributionRequest
519
715
  CreateStreamingDistributionRequest[:payload] = :streaming_distribution_config
520
716
  CreateStreamingDistributionRequest[:payload_member] = CreateStreamingDistributionRequest.member(:streaming_distribution_config)
@@ -526,7 +722,7 @@ module Aws::CloudFront
526
722
  CreateStreamingDistributionResult[:payload] = :streaming_distribution
527
723
  CreateStreamingDistributionResult[:payload_member] = CreateStreamingDistributionResult.member(:streaming_distribution)
528
724
 
529
- CreateStreamingDistributionWithTagsRequest.add_member(:streaming_distribution_config_with_tags, Shapes::ShapeRef.new(shape: StreamingDistributionConfigWithTags, required: true, location_name: "StreamingDistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2019-03-26/"}}))
725
+ CreateStreamingDistributionWithTagsRequest.add_member(:streaming_distribution_config_with_tags, Shapes::ShapeRef.new(shape: StreamingDistributionConfigWithTags, required: true, location_name: "StreamingDistributionConfigWithTags", metadata: {"xmlNamespace"=>{"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}}))
530
726
  CreateStreamingDistributionWithTagsRequest.struct_class = Types::CreateStreamingDistributionWithTagsRequest
531
727
  CreateStreamingDistributionWithTagsRequest[:payload] = :streaming_distribution_config_with_tags
532
728
  CreateStreamingDistributionWithTagsRequest[:payload_member] = CreateStreamingDistributionWithTagsRequest.member(:streaming_distribution_config_with_tags)
@@ -563,19 +759,26 @@ module Aws::CloudFront
563
759
  CustomOriginConfig.struct_class = Types::CustomOriginConfig
564
760
 
565
761
  DefaultCacheBehavior.add_member(:target_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "TargetOriginId"))
566
- DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, required: true, location_name: "ForwardedValues"))
567
762
  DefaultCacheBehavior.add_member(:trusted_signers, Shapes::ShapeRef.new(shape: TrustedSigners, required: true, location_name: "TrustedSigners"))
568
763
  DefaultCacheBehavior.add_member(:viewer_protocol_policy, Shapes::ShapeRef.new(shape: ViewerProtocolPolicy, required: true, location_name: "ViewerProtocolPolicy"))
569
- DefaultCacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, required: true, location_name: "MinTTL"))
570
764
  DefaultCacheBehavior.add_member(:allowed_methods, Shapes::ShapeRef.new(shape: AllowedMethods, location_name: "AllowedMethods"))
571
765
  DefaultCacheBehavior.add_member(:smooth_streaming, Shapes::ShapeRef.new(shape: boolean, location_name: "SmoothStreaming"))
572
- DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, location_name: "DefaultTTL"))
573
- DefaultCacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, location_name: "MaxTTL"))
574
766
  DefaultCacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
575
767
  DefaultCacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
576
768
  DefaultCacheBehavior.add_member(:field_level_encryption_id, Shapes::ShapeRef.new(shape: string, location_name: "FieldLevelEncryptionId"))
769
+ DefaultCacheBehavior.add_member(:realtime_log_config_arn, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigArn"))
770
+ DefaultCacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
771
+ DefaultCacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
772
+ DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
773
+ DefaultCacheBehavior.add_member(:min_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MinTTL"))
774
+ DefaultCacheBehavior.add_member(:default_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "DefaultTTL"))
775
+ DefaultCacheBehavior.add_member(:max_ttl, Shapes::ShapeRef.new(shape: long, deprecated: true, location_name: "MaxTTL"))
577
776
  DefaultCacheBehavior.struct_class = Types::DefaultCacheBehavior
578
777
 
778
+ DeleteCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
779
+ DeleteCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
780
+ DeleteCachePolicyRequest.struct_class = Types::DeleteCachePolicyRequest
781
+
579
782
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
580
783
  DeleteCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
581
784
  DeleteCloudFrontOriginAccessIdentityRequest.struct_class = Types::DeleteCloudFrontOriginAccessIdentityRequest
@@ -592,10 +795,23 @@ module Aws::CloudFront
592
795
  DeleteFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
593
796
  DeleteFieldLevelEncryptionProfileRequest.struct_class = Types::DeleteFieldLevelEncryptionProfileRequest
594
797
 
798
+ DeleteMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
799
+ DeleteMonitoringSubscriptionRequest.struct_class = Types::DeleteMonitoringSubscriptionRequest
800
+
801
+ DeleteMonitoringSubscriptionResult.struct_class = Types::DeleteMonitoringSubscriptionResult
802
+
803
+ DeleteOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
804
+ DeleteOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
805
+ DeleteOriginRequestPolicyRequest.struct_class = Types::DeleteOriginRequestPolicyRequest
806
+
595
807
  DeletePublicKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
596
808
  DeletePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
597
809
  DeletePublicKeyRequest.struct_class = Types::DeletePublicKeyRequest
598
810
 
811
+ DeleteRealtimeLogConfigRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "Name"))
812
+ DeleteRealtimeLogConfigRequest.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "ARN"))
813
+ DeleteRealtimeLogConfigRequest.struct_class = Types::DeleteRealtimeLogConfigRequest
814
+
599
815
  DeleteStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
600
816
  DeleteStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
601
817
  DeleteStreamingDistributionRequest.struct_class = Types::DeleteStreamingDistributionRequest
@@ -637,6 +853,16 @@ module Aws::CloudFront
637
853
  DistributionConfigWithTags.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
638
854
  DistributionConfigWithTags.struct_class = Types::DistributionConfigWithTags
639
855
 
856
+ DistributionIdList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
857
+ DistributionIdList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
858
+ DistributionIdList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
859
+ DistributionIdList.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
860
+ DistributionIdList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
861
+ DistributionIdList.add_member(:items, Shapes::ShapeRef.new(shape: DistributionIdListSummary, location_name: "Items"))
862
+ DistributionIdList.struct_class = Types::DistributionIdList
863
+
864
+ DistributionIdListSummary.member = Shapes::ShapeRef.new(shape: string, location_name: "DistributionId")
865
+
640
866
  DistributionList.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
641
867
  DistributionList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
642
868
  DistributionList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
@@ -683,6 +909,12 @@ module Aws::CloudFront
683
909
 
684
910
  EncryptionEntityList.member = Shapes::ShapeRef.new(shape: EncryptionEntity, location_name: "EncryptionEntity")
685
911
 
912
+ EndPoint.add_member(:stream_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "StreamType"))
913
+ EndPoint.add_member(:kinesis_stream_config, Shapes::ShapeRef.new(shape: KinesisStreamConfig, location_name: "KinesisStreamConfig"))
914
+ EndPoint.struct_class = Types::EndPoint
915
+
916
+ EndPointList.member = Shapes::ShapeRef.new(shape: EndPoint)
917
+
686
918
  FieldLevelEncryption.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
687
919
  FieldLevelEncryption.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
688
920
  FieldLevelEncryption.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig"))
@@ -750,6 +982,8 @@ module Aws::CloudFront
750
982
 
751
983
  FieldLevelEncryptionSummaryList.member = Shapes::ShapeRef.new(shape: FieldLevelEncryptionSummary, location_name: "FieldLevelEncryptionSummary")
752
984
 
985
+ FieldList.member = Shapes::ShapeRef.new(shape: string, location_name: "Field")
986
+
753
987
  FieldPatternList.member = Shapes::ShapeRef.new(shape: string, location_name: "FieldPattern")
754
988
 
755
989
  FieldPatterns.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -767,6 +1001,24 @@ module Aws::CloudFront
767
1001
  GeoRestriction.add_member(:items, Shapes::ShapeRef.new(shape: LocationList, location_name: "Items"))
768
1002
  GeoRestriction.struct_class = Types::GeoRestriction
769
1003
 
1004
+ GetCachePolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1005
+ GetCachePolicyConfigRequest.struct_class = Types::GetCachePolicyConfigRequest
1006
+
1007
+ GetCachePolicyConfigResult.add_member(:cache_policy_config, Shapes::ShapeRef.new(shape: CachePolicyConfig, location_name: "CachePolicyConfig"))
1008
+ GetCachePolicyConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1009
+ GetCachePolicyConfigResult.struct_class = Types::GetCachePolicyConfigResult
1010
+ GetCachePolicyConfigResult[:payload] = :cache_policy_config
1011
+ GetCachePolicyConfigResult[:payload_member] = GetCachePolicyConfigResult.member(:cache_policy_config)
1012
+
1013
+ GetCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1014
+ GetCachePolicyRequest.struct_class = Types::GetCachePolicyRequest
1015
+
1016
+ GetCachePolicyResult.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, location_name: "CachePolicy"))
1017
+ GetCachePolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1018
+ GetCachePolicyResult.struct_class = Types::GetCachePolicyResult
1019
+ GetCachePolicyResult[:payload] = :cache_policy
1020
+ GetCachePolicyResult[:payload_member] = GetCachePolicyResult.member(:cache_policy)
1021
+
770
1022
  GetCloudFrontOriginAccessIdentityConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
771
1023
  GetCloudFrontOriginAccessIdentityConfigRequest.struct_class = Types::GetCloudFrontOriginAccessIdentityConfigRequest
772
1024
 
@@ -848,6 +1100,32 @@ module Aws::CloudFront
848
1100
  GetInvalidationResult[:payload] = :invalidation
849
1101
  GetInvalidationResult[:payload_member] = GetInvalidationResult.member(:invalidation)
850
1102
 
1103
+ GetMonitoringSubscriptionRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "DistributionId"))
1104
+ GetMonitoringSubscriptionRequest.struct_class = Types::GetMonitoringSubscriptionRequest
1105
+
1106
+ GetMonitoringSubscriptionResult.add_member(:monitoring_subscription, Shapes::ShapeRef.new(shape: MonitoringSubscription, location_name: "MonitoringSubscription"))
1107
+ GetMonitoringSubscriptionResult.struct_class = Types::GetMonitoringSubscriptionResult
1108
+ GetMonitoringSubscriptionResult[:payload] = :monitoring_subscription
1109
+ GetMonitoringSubscriptionResult[:payload_member] = GetMonitoringSubscriptionResult.member(:monitoring_subscription)
1110
+
1111
+ GetOriginRequestPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1112
+ GetOriginRequestPolicyConfigRequest.struct_class = Types::GetOriginRequestPolicyConfigRequest
1113
+
1114
+ GetOriginRequestPolicyConfigResult.add_member(:origin_request_policy_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyConfig, location_name: "OriginRequestPolicyConfig"))
1115
+ GetOriginRequestPolicyConfigResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1116
+ GetOriginRequestPolicyConfigResult.struct_class = Types::GetOriginRequestPolicyConfigResult
1117
+ GetOriginRequestPolicyConfigResult[:payload] = :origin_request_policy_config
1118
+ GetOriginRequestPolicyConfigResult[:payload_member] = GetOriginRequestPolicyConfigResult.member(:origin_request_policy_config)
1119
+
1120
+ GetOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1121
+ GetOriginRequestPolicyRequest.struct_class = Types::GetOriginRequestPolicyRequest
1122
+
1123
+ GetOriginRequestPolicyResult.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, location_name: "OriginRequestPolicy"))
1124
+ GetOriginRequestPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1125
+ GetOriginRequestPolicyResult.struct_class = Types::GetOriginRequestPolicyResult
1126
+ GetOriginRequestPolicyResult[:payload] = :origin_request_policy
1127
+ GetOriginRequestPolicyResult[:payload_member] = GetOriginRequestPolicyResult.member(:origin_request_policy)
1128
+
851
1129
  GetPublicKeyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
852
1130
  GetPublicKeyConfigRequest.struct_class = Types::GetPublicKeyConfigRequest
853
1131
 
@@ -866,6 +1144,13 @@ module Aws::CloudFront
866
1144
  GetPublicKeyResult[:payload] = :public_key
867
1145
  GetPublicKeyResult[:payload_member] = GetPublicKeyResult.member(:public_key)
868
1146
 
1147
+ GetRealtimeLogConfigRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "Name"))
1148
+ GetRealtimeLogConfigRequest.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "ARN"))
1149
+ GetRealtimeLogConfigRequest.struct_class = Types::GetRealtimeLogConfigRequest
1150
+
1151
+ GetRealtimeLogConfigResult.add_member(:realtime_log_config, Shapes::ShapeRef.new(shape: RealtimeLogConfig, location_name: "RealtimeLogConfig"))
1152
+ GetRealtimeLogConfigResult.struct_class = Types::GetRealtimeLogConfigResult
1153
+
869
1154
  GetStreamingDistributionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
870
1155
  GetStreamingDistributionConfigRequest.struct_class = Types::GetStreamingDistributionConfigRequest
871
1156
 
@@ -890,6 +1175,9 @@ module Aws::CloudFront
890
1175
  Headers.add_member(:items, Shapes::ShapeRef.new(shape: HeaderList, location_name: "Items"))
891
1176
  Headers.struct_class = Types::Headers
892
1177
 
1178
+ IllegalDelete.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1179
+ IllegalDelete.struct_class = Types::IllegalDelete
1180
+
893
1181
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
894
1182
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.struct_class = Types::IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
895
1183
 
@@ -999,6 +1287,10 @@ module Aws::CloudFront
999
1287
  KeyPairIds.add_member(:items, Shapes::ShapeRef.new(shape: KeyPairIdList, location_name: "Items"))
1000
1288
  KeyPairIds.struct_class = Types::KeyPairIds
1001
1289
 
1290
+ KinesisStreamConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "RoleARN"))
1291
+ KinesisStreamConfig.add_member(:stream_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "StreamARN"))
1292
+ KinesisStreamConfig.struct_class = Types::KinesisStreamConfig
1293
+
1002
1294
  LambdaFunctionAssociation.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: LambdaFunctionARN, required: true, location_name: "LambdaFunctionARN"))
1003
1295
  LambdaFunctionAssociation.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "EventType"))
1004
1296
  LambdaFunctionAssociation.add_member(:include_body, Shapes::ShapeRef.new(shape: boolean, location_name: "IncludeBody"))
@@ -1010,6 +1302,16 @@ module Aws::CloudFront
1010
1302
  LambdaFunctionAssociations.add_member(:items, Shapes::ShapeRef.new(shape: LambdaFunctionAssociationList, location_name: "Items"))
1011
1303
  LambdaFunctionAssociations.struct_class = Types::LambdaFunctionAssociations
1012
1304
 
1305
+ ListCachePoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: CachePolicyType, location: "querystring", location_name: "Type"))
1306
+ ListCachePoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1307
+ ListCachePoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1308
+ ListCachePoliciesRequest.struct_class = Types::ListCachePoliciesRequest
1309
+
1310
+ ListCachePoliciesResult.add_member(:cache_policy_list, Shapes::ShapeRef.new(shape: CachePolicyList, location_name: "CachePolicyList"))
1311
+ ListCachePoliciesResult.struct_class = Types::ListCachePoliciesResult
1312
+ ListCachePoliciesResult[:payload] = :cache_policy_list
1313
+ ListCachePoliciesResult[:payload_member] = ListCachePoliciesResult.member(:cache_policy_list)
1314
+
1013
1315
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1014
1316
  ListCloudFrontOriginAccessIdentitiesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1015
1317
  ListCloudFrontOriginAccessIdentitiesRequest.struct_class = Types::ListCloudFrontOriginAccessIdentitiesRequest
@@ -1019,6 +1321,37 @@ module Aws::CloudFront
1019
1321
  ListCloudFrontOriginAccessIdentitiesResult[:payload] = :cloud_front_origin_access_identity_list
1020
1322
  ListCloudFrontOriginAccessIdentitiesResult[:payload_member] = ListCloudFrontOriginAccessIdentitiesResult.member(:cloud_front_origin_access_identity_list)
1021
1323
 
1324
+ ListDistributionsByCachePolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1325
+ ListDistributionsByCachePolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1326
+ ListDistributionsByCachePolicyIdRequest.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "CachePolicyId"))
1327
+ ListDistributionsByCachePolicyIdRequest.struct_class = Types::ListDistributionsByCachePolicyIdRequest
1328
+
1329
+ ListDistributionsByCachePolicyIdResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
1330
+ ListDistributionsByCachePolicyIdResult.struct_class = Types::ListDistributionsByCachePolicyIdResult
1331
+ ListDistributionsByCachePolicyIdResult[:payload] = :distribution_id_list
1332
+ ListDistributionsByCachePolicyIdResult[:payload_member] = ListDistributionsByCachePolicyIdResult.member(:distribution_id_list)
1333
+
1334
+ ListDistributionsByOriginRequestPolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1335
+ ListDistributionsByOriginRequestPolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1336
+ ListDistributionsByOriginRequestPolicyIdRequest.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "OriginRequestPolicyId"))
1337
+ ListDistributionsByOriginRequestPolicyIdRequest.struct_class = Types::ListDistributionsByOriginRequestPolicyIdRequest
1338
+
1339
+ ListDistributionsByOriginRequestPolicyIdResult.add_member(:distribution_id_list, Shapes::ShapeRef.new(shape: DistributionIdList, location_name: "DistributionIdList"))
1340
+ ListDistributionsByOriginRequestPolicyIdResult.struct_class = Types::ListDistributionsByOriginRequestPolicyIdResult
1341
+ ListDistributionsByOriginRequestPolicyIdResult[:payload] = :distribution_id_list
1342
+ ListDistributionsByOriginRequestPolicyIdResult[:payload_member] = ListDistributionsByOriginRequestPolicyIdResult.member(:distribution_id_list)
1343
+
1344
+ ListDistributionsByRealtimeLogConfigRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
1345
+ ListDistributionsByRealtimeLogConfigRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location_name: "MaxItems"))
1346
+ ListDistributionsByRealtimeLogConfigRequest.add_member(:realtime_log_config_name, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigName"))
1347
+ ListDistributionsByRealtimeLogConfigRequest.add_member(:realtime_log_config_arn, Shapes::ShapeRef.new(shape: string, location_name: "RealtimeLogConfigArn"))
1348
+ ListDistributionsByRealtimeLogConfigRequest.struct_class = Types::ListDistributionsByRealtimeLogConfigRequest
1349
+
1350
+ ListDistributionsByRealtimeLogConfigResult.add_member(:distribution_list, Shapes::ShapeRef.new(shape: DistributionList, location_name: "DistributionList"))
1351
+ ListDistributionsByRealtimeLogConfigResult.struct_class = Types::ListDistributionsByRealtimeLogConfigResult
1352
+ ListDistributionsByRealtimeLogConfigResult[:payload] = :distribution_list
1353
+ ListDistributionsByRealtimeLogConfigResult[:payload_member] = ListDistributionsByRealtimeLogConfigResult.member(:distribution_list)
1354
+
1022
1355
  ListDistributionsByWebACLIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1023
1356
  ListDistributionsByWebACLIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1024
1357
  ListDistributionsByWebACLIdRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "WebACLId"))
@@ -1066,6 +1399,16 @@ module Aws::CloudFront
1066
1399
  ListInvalidationsResult[:payload] = :invalidation_list
1067
1400
  ListInvalidationsResult[:payload_member] = ListInvalidationsResult.member(:invalidation_list)
1068
1401
 
1402
+ ListOriginRequestPoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, location: "querystring", location_name: "Type"))
1403
+ ListOriginRequestPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1404
+ ListOriginRequestPoliciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1405
+ ListOriginRequestPoliciesRequest.struct_class = Types::ListOriginRequestPoliciesRequest
1406
+
1407
+ ListOriginRequestPoliciesResult.add_member(:origin_request_policy_list, Shapes::ShapeRef.new(shape: OriginRequestPolicyList, location_name: "OriginRequestPolicyList"))
1408
+ ListOriginRequestPoliciesResult.struct_class = Types::ListOriginRequestPoliciesResult
1409
+ ListOriginRequestPoliciesResult[:payload] = :origin_request_policy_list
1410
+ ListOriginRequestPoliciesResult[:payload_member] = ListOriginRequestPoliciesResult.member(:origin_request_policy_list)
1411
+
1069
1412
  ListPublicKeysRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1070
1413
  ListPublicKeysRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1071
1414
  ListPublicKeysRequest.struct_class = Types::ListPublicKeysRequest
@@ -1075,6 +1418,15 @@ module Aws::CloudFront
1075
1418
  ListPublicKeysResult[:payload] = :public_key_list
1076
1419
  ListPublicKeysResult[:payload_member] = ListPublicKeysResult.member(:public_key_list)
1077
1420
 
1421
+ ListRealtimeLogConfigsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1422
+ ListRealtimeLogConfigsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1423
+ ListRealtimeLogConfigsRequest.struct_class = Types::ListRealtimeLogConfigsRequest
1424
+
1425
+ ListRealtimeLogConfigsResult.add_member(:realtime_log_configs, Shapes::ShapeRef.new(shape: RealtimeLogConfigs, location_name: "RealtimeLogConfigs"))
1426
+ ListRealtimeLogConfigsResult.struct_class = Types::ListRealtimeLogConfigsResult
1427
+ ListRealtimeLogConfigsResult[:payload] = :realtime_log_configs
1428
+ ListRealtimeLogConfigsResult[:payload_member] = ListRealtimeLogConfigsResult.member(:realtime_log_configs)
1429
+
1078
1430
  ListStreamingDistributionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1079
1431
  ListStreamingDistributionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1080
1432
  ListStreamingDistributionsRequest.struct_class = Types::ListStreamingDistributionsRequest
@@ -1105,6 +1457,12 @@ module Aws::CloudFront
1105
1457
  MissingBody.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1106
1458
  MissingBody.struct_class = Types::MissingBody
1107
1459
 
1460
+ MonitoringSubscription.add_member(:realtime_metrics_subscription_config, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionConfig, location_name: "RealtimeMetricsSubscriptionConfig"))
1461
+ MonitoringSubscription.struct_class = Types::MonitoringSubscription
1462
+
1463
+ NoSuchCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1464
+ NoSuchCachePolicy.struct_class = Types::NoSuchCachePolicy
1465
+
1108
1466
  NoSuchCloudFrontOriginAccessIdentity.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1109
1467
  NoSuchCloudFrontOriginAccessIdentity.struct_class = Types::NoSuchCloudFrontOriginAccessIdentity
1110
1468
 
@@ -1123,9 +1481,15 @@ module Aws::CloudFront
1123
1481
  NoSuchOrigin.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1124
1482
  NoSuchOrigin.struct_class = Types::NoSuchOrigin
1125
1483
 
1484
+ NoSuchOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1485
+ NoSuchOriginRequestPolicy.struct_class = Types::NoSuchOriginRequestPolicy
1486
+
1126
1487
  NoSuchPublicKey.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1127
1488
  NoSuchPublicKey.struct_class = Types::NoSuchPublicKey
1128
1489
 
1490
+ NoSuchRealtimeLogConfig.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1491
+ NoSuchRealtimeLogConfig.struct_class = Types::NoSuchRealtimeLogConfig
1492
+
1129
1493
  NoSuchResource.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1130
1494
  NoSuchResource.struct_class = Types::NoSuchResource
1131
1495
 
@@ -1138,6 +1502,8 @@ module Aws::CloudFront
1138
1502
  Origin.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "CustomHeaders"))
1139
1503
  Origin.add_member(:s3_origin_config, Shapes::ShapeRef.new(shape: S3OriginConfig, location_name: "S3OriginConfig"))
1140
1504
  Origin.add_member(:custom_origin_config, Shapes::ShapeRef.new(shape: CustomOriginConfig, location_name: "CustomOriginConfig"))
1505
+ Origin.add_member(:connection_attempts, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionAttempts"))
1506
+ Origin.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionTimeout"))
1141
1507
  Origin.struct_class = Types::Origin
1142
1508
 
1143
1509
  OriginCustomHeader.add_member(:header_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "HeaderName"))
@@ -1171,6 +1537,48 @@ module Aws::CloudFront
1171
1537
 
1172
1538
  OriginList.member = Shapes::ShapeRef.new(shape: Origin, location_name: "Origin")
1173
1539
 
1540
+ OriginRequestPolicy.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
1541
+ OriginRequestPolicy.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
1542
+ OriginRequestPolicy.add_member(:origin_request_policy_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyConfig, required: true, location_name: "OriginRequestPolicyConfig"))
1543
+ OriginRequestPolicy.struct_class = Types::OriginRequestPolicy
1544
+
1545
+ OriginRequestPolicyAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1546
+ OriginRequestPolicyAlreadyExists.struct_class = Types::OriginRequestPolicyAlreadyExists
1547
+
1548
+ OriginRequestPolicyConfig.add_member(:comment, Shapes::ShapeRef.new(shape: string, location_name: "Comment"))
1549
+ OriginRequestPolicyConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
1550
+ OriginRequestPolicyConfig.add_member(:headers_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1551
+ OriginRequestPolicyConfig.add_member(:cookies_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1552
+ OriginRequestPolicyConfig.add_member(:query_strings_config, Shapes::ShapeRef.new(shape: OriginRequestPolicyQueryStringsConfig, required: true, location_name: "QueryStringsConfig"))
1553
+ OriginRequestPolicyConfig.struct_class = Types::OriginRequestPolicyConfig
1554
+
1555
+ OriginRequestPolicyCookiesConfig.add_member(:cookie_behavior, Shapes::ShapeRef.new(shape: OriginRequestPolicyCookieBehavior, required: true, location_name: "CookieBehavior"))
1556
+ OriginRequestPolicyCookiesConfig.add_member(:cookies, Shapes::ShapeRef.new(shape: CookieNames, location_name: "Cookies"))
1557
+ OriginRequestPolicyCookiesConfig.struct_class = Types::OriginRequestPolicyCookiesConfig
1558
+
1559
+ OriginRequestPolicyHeadersConfig.add_member(:header_behavior, Shapes::ShapeRef.new(shape: OriginRequestPolicyHeaderBehavior, required: true, location_name: "HeaderBehavior"))
1560
+ OriginRequestPolicyHeadersConfig.add_member(:headers, Shapes::ShapeRef.new(shape: Headers, location_name: "Headers"))
1561
+ OriginRequestPolicyHeadersConfig.struct_class = Types::OriginRequestPolicyHeadersConfig
1562
+
1563
+ OriginRequestPolicyInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1564
+ OriginRequestPolicyInUse.struct_class = Types::OriginRequestPolicyInUse
1565
+
1566
+ OriginRequestPolicyList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
1567
+ OriginRequestPolicyList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
1568
+ OriginRequestPolicyList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1569
+ OriginRequestPolicyList.add_member(:items, Shapes::ShapeRef.new(shape: OriginRequestPolicySummaryList, location_name: "Items"))
1570
+ OriginRequestPolicyList.struct_class = Types::OriginRequestPolicyList
1571
+
1572
+ OriginRequestPolicyQueryStringsConfig.add_member(:query_string_behavior, Shapes::ShapeRef.new(shape: OriginRequestPolicyQueryStringBehavior, required: true, location_name: "QueryStringBehavior"))
1573
+ OriginRequestPolicyQueryStringsConfig.add_member(:query_strings, Shapes::ShapeRef.new(shape: QueryStringNames, location_name: "QueryStrings"))
1574
+ OriginRequestPolicyQueryStringsConfig.struct_class = Types::OriginRequestPolicyQueryStringsConfig
1575
+
1576
+ OriginRequestPolicySummary.add_member(:type, Shapes::ShapeRef.new(shape: OriginRequestPolicyType, required: true, location_name: "Type"))
1577
+ OriginRequestPolicySummary.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, required: true, location_name: "OriginRequestPolicy"))
1578
+ OriginRequestPolicySummary.struct_class = Types::OriginRequestPolicySummary
1579
+
1580
+ OriginRequestPolicySummaryList.member = Shapes::ShapeRef.new(shape: OriginRequestPolicySummary, location_name: "OriginRequestPolicySummary")
1581
+
1174
1582
  OriginSslProtocols.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1175
1583
  OriginSslProtocols.add_member(:items, Shapes::ShapeRef.new(shape: SslProtocolsList, required: true, location_name: "Items"))
1176
1584
  OriginSslProtocols.struct_class = Types::OriginSslProtocols
@@ -1179,6 +1587,12 @@ module Aws::CloudFront
1179
1587
  Origins.add_member(:items, Shapes::ShapeRef.new(shape: OriginList, required: true, location_name: "Items"))
1180
1588
  Origins.struct_class = Types::Origins
1181
1589
 
1590
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:enable_accept_encoding_gzip, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "EnableAcceptEncodingGzip"))
1591
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:headers_config, Shapes::ShapeRef.new(shape: CachePolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1592
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:cookies_config, Shapes::ShapeRef.new(shape: CachePolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1593
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:query_strings_config, Shapes::ShapeRef.new(shape: CachePolicyQueryStringsConfig, required: true, location_name: "QueryStringsConfig"))
1594
+ ParametersInCacheKeyAndForwardedToOrigin.struct_class = Types::ParametersInCacheKeyAndForwardedToOrigin
1595
+
1182
1596
  PathList.member = Shapes::ShapeRef.new(shape: string, location_name: "Path")
1183
1597
 
1184
1598
  Paths.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -1243,6 +1657,37 @@ module Aws::CloudFront
1243
1657
 
1244
1658
  QueryStringCacheKeysList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1245
1659
 
1660
+ QueryStringNames.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1661
+ QueryStringNames.add_member(:items, Shapes::ShapeRef.new(shape: QueryStringNamesList, location_name: "Items"))
1662
+ QueryStringNames.struct_class = Types::QueryStringNames
1663
+
1664
+ QueryStringNamesList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1665
+
1666
+ RealtimeLogConfig.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ARN"))
1667
+ RealtimeLogConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
1668
+ RealtimeLogConfig.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: long, required: true, location_name: "SamplingRate"))
1669
+ RealtimeLogConfig.add_member(:end_points, Shapes::ShapeRef.new(shape: EndPointList, required: true, location_name: "EndPoints"))
1670
+ RealtimeLogConfig.add_member(:fields, Shapes::ShapeRef.new(shape: FieldList, required: true, location_name: "Fields"))
1671
+ RealtimeLogConfig.struct_class = Types::RealtimeLogConfig
1672
+
1673
+ RealtimeLogConfigAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1674
+ RealtimeLogConfigAlreadyExists.struct_class = Types::RealtimeLogConfigAlreadyExists
1675
+
1676
+ RealtimeLogConfigInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1677
+ RealtimeLogConfigInUse.struct_class = Types::RealtimeLogConfigInUse
1678
+
1679
+ RealtimeLogConfigList.member = Shapes::ShapeRef.new(shape: RealtimeLogConfig)
1680
+
1681
+ RealtimeLogConfigs.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
1682
+ RealtimeLogConfigs.add_member(:items, Shapes::ShapeRef.new(shape: RealtimeLogConfigList, location_name: "Items"))
1683
+ RealtimeLogConfigs.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
1684
+ RealtimeLogConfigs.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
1685
+ RealtimeLogConfigs.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
1686
+ RealtimeLogConfigs.struct_class = Types::RealtimeLogConfigs
1687
+
1688
+ RealtimeMetricsSubscriptionConfig.add_member(:realtime_metrics_subscription_status, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionStatus, required: true, location_name: "RealtimeMetricsSubscriptionStatus"))
1689
+ RealtimeMetricsSubscriptionConfig.struct_class = Types::RealtimeMetricsSubscriptionConfig
1690
+
1246
1691
  Restrictions.add_member(:geo_restriction, Shapes::ShapeRef.new(shape: GeoRestriction, required: true, location_name: "GeoRestriction"))
1247
1692
  Restrictions.struct_class = Types::Restrictions
1248
1693
 
@@ -1336,7 +1781,7 @@ module Aws::CloudFront
1336
1781
  TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
1337
1782
 
1338
1783
  TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "Resource"))
1339
- 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/"}}))
1784
+ 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/"}}))
1340
1785
  TagResourceRequest.struct_class = Types::TagResourceRequest
1341
1786
  TagResourceRequest[:payload] = :tags
1342
1787
  TagResourceRequest[:payload_member] = TagResourceRequest.member(:tags)
@@ -1347,6 +1792,9 @@ module Aws::CloudFront
1347
1792
  TooManyCacheBehaviors.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1348
1793
  TooManyCacheBehaviors.struct_class = Types::TooManyCacheBehaviors
1349
1794
 
1795
+ TooManyCachePolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1796
+ TooManyCachePolicies.struct_class = Types::TooManyCachePolicies
1797
+
1350
1798
  TooManyCertificates.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1351
1799
  TooManyCertificates.struct_class = Types::TooManyCertificates
1352
1800
 
@@ -1356,18 +1804,33 @@ module Aws::CloudFront
1356
1804
  TooManyCookieNamesInWhiteList.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1357
1805
  TooManyCookieNamesInWhiteList.struct_class = Types::TooManyCookieNamesInWhiteList
1358
1806
 
1807
+ TooManyCookiesInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1808
+ TooManyCookiesInCachePolicy.struct_class = Types::TooManyCookiesInCachePolicy
1809
+
1810
+ TooManyCookiesInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1811
+ TooManyCookiesInOriginRequestPolicy.struct_class = Types::TooManyCookiesInOriginRequestPolicy
1812
+
1359
1813
  TooManyDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1360
1814
  TooManyDistributionCNAMEs.struct_class = Types::TooManyDistributionCNAMEs
1361
1815
 
1362
1816
  TooManyDistributions.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1363
1817
  TooManyDistributions.struct_class = Types::TooManyDistributions
1364
1818
 
1819
+ TooManyDistributionsAssociatedToCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1820
+ TooManyDistributionsAssociatedToCachePolicy.struct_class = Types::TooManyDistributionsAssociatedToCachePolicy
1821
+
1365
1822
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1366
1823
  TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.struct_class = Types::TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
1367
1824
 
1825
+ TooManyDistributionsAssociatedToOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1826
+ TooManyDistributionsAssociatedToOriginRequestPolicy.struct_class = Types::TooManyDistributionsAssociatedToOriginRequestPolicy
1827
+
1368
1828
  TooManyDistributionsWithLambdaAssociations.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1369
1829
  TooManyDistributionsWithLambdaAssociations.struct_class = Types::TooManyDistributionsWithLambdaAssociations
1370
1830
 
1831
+ TooManyDistributionsWithSingleFunctionARN.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1832
+ TooManyDistributionsWithSingleFunctionARN.struct_class = Types::TooManyDistributionsWithSingleFunctionARN
1833
+
1371
1834
  TooManyFieldLevelEncryptionConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1372
1835
  TooManyFieldLevelEncryptionConfigs.struct_class = Types::TooManyFieldLevelEncryptionConfigs
1373
1836
 
@@ -1386,9 +1849,15 @@ module Aws::CloudFront
1386
1849
  TooManyFieldLevelEncryptionQueryArgProfiles.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1387
1850
  TooManyFieldLevelEncryptionQueryArgProfiles.struct_class = Types::TooManyFieldLevelEncryptionQueryArgProfiles
1388
1851
 
1852
+ TooManyHeadersInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1853
+ TooManyHeadersInCachePolicy.struct_class = Types::TooManyHeadersInCachePolicy
1854
+
1389
1855
  TooManyHeadersInForwardedValues.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1390
1856
  TooManyHeadersInForwardedValues.struct_class = Types::TooManyHeadersInForwardedValues
1391
1857
 
1858
+ TooManyHeadersInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1859
+ TooManyHeadersInOriginRequestPolicy.struct_class = Types::TooManyHeadersInOriginRequestPolicy
1860
+
1392
1861
  TooManyInvalidationsInProgress.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1393
1862
  TooManyInvalidationsInProgress.struct_class = Types::TooManyInvalidationsInProgress
1394
1863
 
@@ -1401,6 +1870,9 @@ module Aws::CloudFront
1401
1870
  TooManyOriginGroupsPerDistribution.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1402
1871
  TooManyOriginGroupsPerDistribution.struct_class = Types::TooManyOriginGroupsPerDistribution
1403
1872
 
1873
+ TooManyOriginRequestPolicies.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1874
+ TooManyOriginRequestPolicies.struct_class = Types::TooManyOriginRequestPolicies
1875
+
1404
1876
  TooManyOrigins.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1405
1877
  TooManyOrigins.struct_class = Types::TooManyOrigins
1406
1878
 
@@ -1410,6 +1882,15 @@ module Aws::CloudFront
1410
1882
  TooManyQueryStringParameters.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1411
1883
  TooManyQueryStringParameters.struct_class = Types::TooManyQueryStringParameters
1412
1884
 
1885
+ TooManyQueryStringsInCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1886
+ TooManyQueryStringsInCachePolicy.struct_class = Types::TooManyQueryStringsInCachePolicy
1887
+
1888
+ TooManyQueryStringsInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1889
+ TooManyQueryStringsInOriginRequestPolicy.struct_class = Types::TooManyQueryStringsInOriginRequestPolicy
1890
+
1891
+ TooManyRealtimeLogConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1892
+ TooManyRealtimeLogConfigs.struct_class = Types::TooManyRealtimeLogConfigs
1893
+
1413
1894
  TooManyStreamingDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1414
1895
  TooManyStreamingDistributionCNAMEs.struct_class = Types::TooManyStreamingDistributionCNAMEs
1415
1896
 
@@ -1428,12 +1909,25 @@ module Aws::CloudFront
1428
1909
  TrustedSigners.struct_class = Types::TrustedSigners
1429
1910
 
1430
1911
  UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "querystring", location_name: "Resource"))
1431
- 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/"}}))
1912
+ 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/"}}))
1432
1913
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
1433
1914
  UntagResourceRequest[:payload] = :tag_keys
1434
1915
  UntagResourceRequest[:payload_member] = UntagResourceRequest.member(:tag_keys)
1435
1916
 
1436
- 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/"}}))
1917
+ 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/"}}))
1918
+ UpdateCachePolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1919
+ UpdateCachePolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1920
+ UpdateCachePolicyRequest.struct_class = Types::UpdateCachePolicyRequest
1921
+ UpdateCachePolicyRequest[:payload] = :cache_policy_config
1922
+ UpdateCachePolicyRequest[:payload_member] = UpdateCachePolicyRequest.member(:cache_policy_config)
1923
+
1924
+ UpdateCachePolicyResult.add_member(:cache_policy, Shapes::ShapeRef.new(shape: CachePolicy, location_name: "CachePolicy"))
1925
+ UpdateCachePolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1926
+ UpdateCachePolicyResult.struct_class = Types::UpdateCachePolicyResult
1927
+ UpdateCachePolicyResult[:payload] = :cache_policy
1928
+ UpdateCachePolicyResult[:payload_member] = UpdateCachePolicyResult.member(:cache_policy)
1929
+
1930
+ 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/"}}))
1437
1931
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1438
1932
  UpdateCloudFrontOriginAccessIdentityRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1439
1933
  UpdateCloudFrontOriginAccessIdentityRequest.struct_class = Types::UpdateCloudFrontOriginAccessIdentityRequest
@@ -1446,7 +1940,7 @@ module Aws::CloudFront
1446
1940
  UpdateCloudFrontOriginAccessIdentityResult[:payload] = :cloud_front_origin_access_identity
1447
1941
  UpdateCloudFrontOriginAccessIdentityResult[:payload_member] = UpdateCloudFrontOriginAccessIdentityResult.member(:cloud_front_origin_access_identity)
1448
1942
 
1449
- 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/"}}))
1943
+ 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/"}}))
1450
1944
  UpdateDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1451
1945
  UpdateDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1452
1946
  UpdateDistributionRequest.struct_class = Types::UpdateDistributionRequest
@@ -1459,7 +1953,7 @@ module Aws::CloudFront
1459
1953
  UpdateDistributionResult[:payload] = :distribution
1460
1954
  UpdateDistributionResult[:payload_member] = UpdateDistributionResult.member(:distribution)
1461
1955
 
1462
- 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/"}}))
1956
+ 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/"}}))
1463
1957
  UpdateFieldLevelEncryptionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1464
1958
  UpdateFieldLevelEncryptionConfigRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1465
1959
  UpdateFieldLevelEncryptionConfigRequest.struct_class = Types::UpdateFieldLevelEncryptionConfigRequest
@@ -1472,7 +1966,7 @@ module Aws::CloudFront
1472
1966
  UpdateFieldLevelEncryptionConfigResult[:payload] = :field_level_encryption
1473
1967
  UpdateFieldLevelEncryptionConfigResult[:payload_member] = UpdateFieldLevelEncryptionConfigResult.member(:field_level_encryption)
1474
1968
 
1475
- 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/"}}))
1969
+ 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/"}}))
1476
1970
  UpdateFieldLevelEncryptionProfileRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1477
1971
  UpdateFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1478
1972
  UpdateFieldLevelEncryptionProfileRequest.struct_class = Types::UpdateFieldLevelEncryptionProfileRequest
@@ -1485,7 +1979,20 @@ module Aws::CloudFront
1485
1979
  UpdateFieldLevelEncryptionProfileResult[:payload] = :field_level_encryption_profile
1486
1980
  UpdateFieldLevelEncryptionProfileResult[:payload_member] = UpdateFieldLevelEncryptionProfileResult.member(:field_level_encryption_profile)
1487
1981
 
1488
- 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/"}}))
1982
+ 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/"}}))
1983
+ UpdateOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1984
+ UpdateOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1985
+ UpdateOriginRequestPolicyRequest.struct_class = Types::UpdateOriginRequestPolicyRequest
1986
+ UpdateOriginRequestPolicyRequest[:payload] = :origin_request_policy_config
1987
+ UpdateOriginRequestPolicyRequest[:payload_member] = UpdateOriginRequestPolicyRequest.member(:origin_request_policy_config)
1988
+
1989
+ UpdateOriginRequestPolicyResult.add_member(:origin_request_policy, Shapes::ShapeRef.new(shape: OriginRequestPolicy, location_name: "OriginRequestPolicy"))
1990
+ UpdateOriginRequestPolicyResult.add_member(:etag, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "ETag"))
1991
+ UpdateOriginRequestPolicyResult.struct_class = Types::UpdateOriginRequestPolicyResult
1992
+ UpdateOriginRequestPolicyResult[:payload] = :origin_request_policy
1993
+ UpdateOriginRequestPolicyResult[:payload_member] = UpdateOriginRequestPolicyResult.member(:origin_request_policy)
1994
+
1995
+ 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/"}}))
1489
1996
  UpdatePublicKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1490
1997
  UpdatePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1491
1998
  UpdatePublicKeyRequest.struct_class = Types::UpdatePublicKeyRequest
@@ -1498,7 +2005,17 @@ module Aws::CloudFront
1498
2005
  UpdatePublicKeyResult[:payload] = :public_key
1499
2006
  UpdatePublicKeyResult[:payload_member] = UpdatePublicKeyResult.member(:public_key)
1500
2007
 
1501
- 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/"}}))
2008
+ UpdateRealtimeLogConfigRequest.add_member(:end_points, Shapes::ShapeRef.new(shape: EndPointList, location_name: "EndPoints"))
2009
+ UpdateRealtimeLogConfigRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldList, location_name: "Fields"))
2010
+ UpdateRealtimeLogConfigRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "Name"))
2011
+ UpdateRealtimeLogConfigRequest.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "ARN"))
2012
+ UpdateRealtimeLogConfigRequest.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: long, location_name: "SamplingRate"))
2013
+ UpdateRealtimeLogConfigRequest.struct_class = Types::UpdateRealtimeLogConfigRequest
2014
+
2015
+ UpdateRealtimeLogConfigResult.add_member(:realtime_log_config, Shapes::ShapeRef.new(shape: RealtimeLogConfig, location_name: "RealtimeLogConfig"))
2016
+ UpdateRealtimeLogConfigResult.struct_class = Types::UpdateRealtimeLogConfigResult
2017
+
2018
+ 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/"}}))
1502
2019
  UpdateStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1503
2020
  UpdateStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
1504
2021
  UpdateStreamingDistributionRequest.struct_class = Types::UpdateStreamingDistributionRequest
@@ -1524,10 +2041,10 @@ module Aws::CloudFront
1524
2041
  # @api private
1525
2042
  API = Seahorse::Model::Api.new.tap do |api|
1526
2043
 
1527
- api.version = "2019-03-26"
2044
+ api.version = "2020-05-31"
1528
2045
 
1529
2046
  api.metadata = {
1530
- "apiVersion" => "2019-03-26",
2047
+ "apiVersion" => "2020-05-31",
1531
2048
  "endpointPrefix" => "cloudfront",
1532
2049
  "globalEndpoint" => "cloudfront.amazonaws.com",
1533
2050
  "protocol" => "rest-xml",
@@ -1535,13 +2052,29 @@ module Aws::CloudFront
1535
2052
  "serviceFullName" => "Amazon CloudFront",
1536
2053
  "serviceId" => "CloudFront",
1537
2054
  "signatureVersion" => "v4",
1538
- "uid" => "cloudfront-2019-03-26",
2055
+ "uid" => "cloudfront-2020-05-31",
1539
2056
  }
1540
2057
 
2058
+ api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2059
+ o.name = "CreateCachePolicy2020_05_31"
2060
+ o.http_method = "POST"
2061
+ o.http_request_uri = "/2020-05-31/cache-policy"
2062
+ o.input = Shapes::ShapeRef.new(shape: CreateCachePolicyRequest)
2063
+ o.output = Shapes::ShapeRef.new(shape: CreateCachePolicyResult)
2064
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2065
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2066
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2067
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
2068
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCachePolicies)
2069
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInCachePolicy)
2070
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInCachePolicy)
2071
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInCachePolicy)
2072
+ end)
2073
+
1541
2074
  api.add_operation(:create_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1542
- o.name = "CreateCloudFrontOriginAccessIdentity2019_03_26"
2075
+ o.name = "CreateCloudFrontOriginAccessIdentity2020_05_31"
1543
2076
  o.http_method = "POST"
1544
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront"
2077
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront"
1545
2078
  o.input = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityRequest)
1546
2079
  o.output = Shapes::ShapeRef.new(shape: CreateCloudFrontOriginAccessIdentityResult)
1547
2080
  o.errors << Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentityAlreadyExists)
@@ -1552,9 +2085,9 @@ module Aws::CloudFront
1552
2085
  end)
1553
2086
 
1554
2087
  api.add_operation(:create_distribution, Seahorse::Model::Operation.new.tap do |o|
1555
- o.name = "CreateDistribution2019_03_26"
2088
+ o.name = "CreateDistribution2020_05_31"
1556
2089
  o.http_method = "POST"
1557
- o.http_request_uri = "/2019-03-26/distribution"
2090
+ o.http_request_uri = "/2020-05-31/distribution"
1558
2091
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionRequest)
1559
2092
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionResult)
1560
2093
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1594,6 +2127,7 @@ module Aws::CloudFront
1594
2127
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
1595
2128
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
1596
2129
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2130
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
1597
2131
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
1598
2132
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
1599
2133
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -1601,12 +2135,16 @@ module Aws::CloudFront
1601
2135
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
1602
2136
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
1603
2137
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2138
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2139
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2140
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2141
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
1604
2142
  end)
1605
2143
 
1606
2144
  api.add_operation(:create_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
1607
- o.name = "CreateDistributionWithTags2019_03_26"
2145
+ o.name = "CreateDistributionWithTags2020_05_31"
1608
2146
  o.http_method = "POST"
1609
- o.http_request_uri = "/2019-03-26/distribution?WithTags"
2147
+ o.http_request_uri = "/2020-05-31/distribution?WithTags"
1610
2148
  o.input = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsRequest)
1611
2149
  o.output = Shapes::ShapeRef.new(shape: CreateDistributionWithTagsResult)
1612
2150
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1647,6 +2185,7 @@ module Aws::CloudFront
1647
2185
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
1648
2186
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
1649
2187
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2188
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
1650
2189
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
1651
2190
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
1652
2191
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -1654,12 +2193,16 @@ module Aws::CloudFront
1654
2193
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
1655
2194
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
1656
2195
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2196
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2197
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2198
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2199
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
1657
2200
  end)
1658
2201
 
1659
2202
  api.add_operation(:create_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1660
- o.name = "CreateFieldLevelEncryptionConfig2019_03_26"
2203
+ o.name = "CreateFieldLevelEncryptionConfig2020_05_31"
1661
2204
  o.http_method = "POST"
1662
- o.http_request_uri = "/2019-03-26/field-level-encryption"
2205
+ o.http_request_uri = "/2020-05-31/field-level-encryption"
1663
2206
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigRequest)
1664
2207
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionConfigResult)
1665
2208
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
@@ -1673,9 +2216,9 @@ module Aws::CloudFront
1673
2216
  end)
1674
2217
 
1675
2218
  api.add_operation(:create_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1676
- o.name = "CreateFieldLevelEncryptionProfile2019_03_26"
2219
+ o.name = "CreateFieldLevelEncryptionProfile2020_05_31"
1677
2220
  o.http_method = "POST"
1678
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile"
2221
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile"
1679
2222
  o.input = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileRequest)
1680
2223
  o.output = Shapes::ShapeRef.new(shape: CreateFieldLevelEncryptionProfileResult)
1681
2224
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
@@ -1689,9 +2232,9 @@ module Aws::CloudFront
1689
2232
  end)
1690
2233
 
1691
2234
  api.add_operation(:create_invalidation, Seahorse::Model::Operation.new.tap do |o|
1692
- o.name = "CreateInvalidation2019_03_26"
2235
+ o.name = "CreateInvalidation2020_05_31"
1693
2236
  o.http_method = "POST"
1694
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation"
2237
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
1695
2238
  o.input = Shapes::ShapeRef.new(shape: CreateInvalidationRequest)
1696
2239
  o.output = Shapes::ShapeRef.new(shape: CreateInvalidationResult)
1697
2240
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1703,10 +2246,36 @@ module Aws::CloudFront
1703
2246
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
1704
2247
  end)
1705
2248
 
2249
+ api.add_operation(:create_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2250
+ o.name = "CreateMonitoringSubscription2020_05_31"
2251
+ o.http_method = "POST"
2252
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
2253
+ o.input = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionRequest)
2254
+ o.output = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionResult)
2255
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2256
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2257
+ end)
2258
+
2259
+ api.add_operation(:create_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2260
+ o.name = "CreateOriginRequestPolicy2020_05_31"
2261
+ o.http_method = "POST"
2262
+ o.http_request_uri = "/2020-05-31/origin-request-policy"
2263
+ o.input = Shapes::ShapeRef.new(shape: CreateOriginRequestPolicyRequest)
2264
+ o.output = Shapes::ShapeRef.new(shape: CreateOriginRequestPolicyResult)
2265
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2266
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2267
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2268
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
2269
+ o.errors << Shapes::ShapeRef.new(shape: TooManyOriginRequestPolicies)
2270
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInOriginRequestPolicy)
2271
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInOriginRequestPolicy)
2272
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInOriginRequestPolicy)
2273
+ end)
2274
+
1706
2275
  api.add_operation(:create_public_key, Seahorse::Model::Operation.new.tap do |o|
1707
- o.name = "CreatePublicKey2019_03_26"
2276
+ o.name = "CreatePublicKey2020_05_31"
1708
2277
  o.http_method = "POST"
1709
- o.http_request_uri = "/2019-03-26/public-key"
2278
+ o.http_request_uri = "/2020-05-31/public-key"
1710
2279
  o.input = Shapes::ShapeRef.new(shape: CreatePublicKeyRequest)
1711
2280
  o.output = Shapes::ShapeRef.new(shape: CreatePublicKeyResult)
1712
2281
  o.errors << Shapes::ShapeRef.new(shape: PublicKeyAlreadyExists)
@@ -1714,10 +2283,26 @@ module Aws::CloudFront
1714
2283
  o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeys)
1715
2284
  end)
1716
2285
 
2286
+ api.add_operation(:create_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
2287
+ o.name = "CreateRealtimeLogConfig2020_05_31"
2288
+ o.http_method = "POST"
2289
+ o.http_request_uri = "/2020-05-31/realtime-log-config"
2290
+ o.input = Shapes::ShapeRef.new(shape: CreateRealtimeLogConfigRequest,
2291
+ location_name: "CreateRealtimeLogConfigRequest",
2292
+ metadata: {
2293
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
2294
+ }
2295
+ )
2296
+ o.output = Shapes::ShapeRef.new(shape: CreateRealtimeLogConfigResult)
2297
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigAlreadyExists)
2298
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRealtimeLogConfigs)
2299
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2300
+ end)
2301
+
1717
2302
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1718
- o.name = "CreateStreamingDistribution2019_03_26"
2303
+ o.name = "CreateStreamingDistribution2020_05_31"
1719
2304
  o.http_method = "POST"
1720
- o.http_request_uri = "/2019-03-26/streaming-distribution"
2305
+ o.http_request_uri = "/2020-05-31/streaming-distribution"
1721
2306
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionRequest)
1722
2307
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionResult)
1723
2308
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1735,9 +2320,9 @@ module Aws::CloudFront
1735
2320
  end)
1736
2321
 
1737
2322
  api.add_operation(:create_streaming_distribution_with_tags, Seahorse::Model::Operation.new.tap do |o|
1738
- o.name = "CreateStreamingDistributionWithTags2019_03_26"
2323
+ o.name = "CreateStreamingDistributionWithTags2020_05_31"
1739
2324
  o.http_method = "POST"
1740
- o.http_request_uri = "/2019-03-26/streaming-distribution?WithTags"
2325
+ o.http_request_uri = "/2020-05-31/streaming-distribution?WithTags"
1741
2326
  o.input = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsRequest)
1742
2327
  o.output = Shapes::ShapeRef.new(shape: CreateStreamingDistributionWithTagsResult)
1743
2328
  o.errors << Shapes::ShapeRef.new(shape: CNAMEAlreadyExists)
@@ -1755,10 +2340,24 @@ module Aws::CloudFront
1755
2340
  o.errors << Shapes::ShapeRef.new(shape: InvalidTagging)
1756
2341
  end)
1757
2342
 
2343
+ api.add_operation(:delete_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2344
+ o.name = "DeleteCachePolicy2020_05_31"
2345
+ o.http_method = "DELETE"
2346
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
2347
+ o.input = Shapes::ShapeRef.new(shape: DeleteCachePolicyRequest)
2348
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2349
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2350
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2351
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2352
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2353
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
2354
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyInUse)
2355
+ end)
2356
+
1758
2357
  api.add_operation(:delete_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1759
- o.name = "DeleteCloudFrontOriginAccessIdentity2019_03_26"
2358
+ o.name = "DeleteCloudFrontOriginAccessIdentity2020_05_31"
1760
2359
  o.http_method = "DELETE"
1761
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}"
2360
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}"
1762
2361
  o.input = Shapes::ShapeRef.new(shape: DeleteCloudFrontOriginAccessIdentityRequest)
1763
2362
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1764
2363
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1769,9 +2368,9 @@ module Aws::CloudFront
1769
2368
  end)
1770
2369
 
1771
2370
  api.add_operation(:delete_distribution, Seahorse::Model::Operation.new.tap do |o|
1772
- o.name = "DeleteDistribution2019_03_26"
2371
+ o.name = "DeleteDistribution2020_05_31"
1773
2372
  o.http_method = "DELETE"
1774
- o.http_request_uri = "/2019-03-26/distribution/{Id}"
2373
+ o.http_request_uri = "/2020-05-31/distribution/{Id}"
1775
2374
  o.input = Shapes::ShapeRef.new(shape: DeleteDistributionRequest)
1776
2375
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1777
2376
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1782,9 +2381,9 @@ module Aws::CloudFront
1782
2381
  end)
1783
2382
 
1784
2383
  api.add_operation(:delete_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1785
- o.name = "DeleteFieldLevelEncryptionConfig2019_03_26"
2384
+ o.name = "DeleteFieldLevelEncryptionConfig2020_05_31"
1786
2385
  o.http_method = "DELETE"
1787
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}"
2386
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}"
1788
2387
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionConfigRequest)
1789
2388
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1790
2389
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1795,9 +2394,9 @@ module Aws::CloudFront
1795
2394
  end)
1796
2395
 
1797
2396
  api.add_operation(:delete_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1798
- o.name = "DeleteFieldLevelEncryptionProfile2019_03_26"
2397
+ o.name = "DeleteFieldLevelEncryptionProfile2020_05_31"
1799
2398
  o.http_method = "DELETE"
1800
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}"
2399
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}"
1801
2400
  o.input = Shapes::ShapeRef.new(shape: DeleteFieldLevelEncryptionProfileRequest)
1802
2401
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1803
2402
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1807,10 +2406,34 @@ module Aws::CloudFront
1807
2406
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
1808
2407
  end)
1809
2408
 
2409
+ api.add_operation(:delete_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2410
+ o.name = "DeleteMonitoringSubscription2020_05_31"
2411
+ o.http_method = "DELETE"
2412
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
2413
+ o.input = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionRequest)
2414
+ o.output = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionResult)
2415
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2416
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2417
+ end)
2418
+
2419
+ api.add_operation(:delete_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2420
+ o.name = "DeleteOriginRequestPolicy2020_05_31"
2421
+ o.http_method = "DELETE"
2422
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
2423
+ o.input = Shapes::ShapeRef.new(shape: DeleteOriginRequestPolicyRequest)
2424
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2425
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2426
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2427
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2428
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2429
+ o.errors << Shapes::ShapeRef.new(shape: IllegalDelete)
2430
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyInUse)
2431
+ end)
2432
+
1810
2433
  api.add_operation(:delete_public_key, Seahorse::Model::Operation.new.tap do |o|
1811
- o.name = "DeletePublicKey2019_03_26"
2434
+ o.name = "DeletePublicKey2020_05_31"
1812
2435
  o.http_method = "DELETE"
1813
- o.http_request_uri = "/2019-03-26/public-key/{Id}"
2436
+ o.http_request_uri = "/2020-05-31/public-key/{Id}"
1814
2437
  o.input = Shapes::ShapeRef.new(shape: DeletePublicKeyRequest)
1815
2438
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1816
2439
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1820,10 +2443,26 @@ module Aws::CloudFront
1820
2443
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
1821
2444
  end)
1822
2445
 
2446
+ api.add_operation(:delete_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
2447
+ o.name = "DeleteRealtimeLogConfig2020_05_31"
2448
+ o.http_method = "POST"
2449
+ o.http_request_uri = "/2020-05-31/delete-realtime-log-config/"
2450
+ o.input = Shapes::ShapeRef.new(shape: DeleteRealtimeLogConfigRequest,
2451
+ location_name: "DeleteRealtimeLogConfigRequest",
2452
+ metadata: {
2453
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
2454
+ }
2455
+ )
2456
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2457
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2458
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigInUse)
2459
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2460
+ end)
2461
+
1823
2462
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1824
- o.name = "DeleteStreamingDistribution2019_03_26"
2463
+ o.name = "DeleteStreamingDistribution2020_05_31"
1825
2464
  o.http_method = "DELETE"
1826
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}"
2465
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
1827
2466
  o.input = Shapes::ShapeRef.new(shape: DeleteStreamingDistributionRequest)
1828
2467
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1829
2468
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1833,10 +2472,30 @@ module Aws::CloudFront
1833
2472
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
1834
2473
  end)
1835
2474
 
2475
+ api.add_operation(:get_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2476
+ o.name = "GetCachePolicy2020_05_31"
2477
+ o.http_method = "GET"
2478
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
2479
+ o.input = Shapes::ShapeRef.new(shape: GetCachePolicyRequest)
2480
+ o.output = Shapes::ShapeRef.new(shape: GetCachePolicyResult)
2481
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2482
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2483
+ end)
2484
+
2485
+ api.add_operation(:get_cache_policy_config, Seahorse::Model::Operation.new.tap do |o|
2486
+ o.name = "GetCachePolicyConfig2020_05_31"
2487
+ o.http_method = "GET"
2488
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}/config"
2489
+ o.input = Shapes::ShapeRef.new(shape: GetCachePolicyConfigRequest)
2490
+ o.output = Shapes::ShapeRef.new(shape: GetCachePolicyConfigResult)
2491
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2492
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2493
+ end)
2494
+
1836
2495
  api.add_operation(:get_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
1837
- o.name = "GetCloudFrontOriginAccessIdentity2019_03_26"
2496
+ o.name = "GetCloudFrontOriginAccessIdentity2020_05_31"
1838
2497
  o.http_method = "GET"
1839
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}"
2498
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}"
1840
2499
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityRequest)
1841
2500
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityResult)
1842
2501
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1844,9 +2503,9 @@ module Aws::CloudFront
1844
2503
  end)
1845
2504
 
1846
2505
  api.add_operation(:get_cloud_front_origin_access_identity_config, Seahorse::Model::Operation.new.tap do |o|
1847
- o.name = "GetCloudFrontOriginAccessIdentityConfig2019_03_26"
2506
+ o.name = "GetCloudFrontOriginAccessIdentityConfig2020_05_31"
1848
2507
  o.http_method = "GET"
1849
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}/config"
2508
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config"
1850
2509
  o.input = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigRequest)
1851
2510
  o.output = Shapes::ShapeRef.new(shape: GetCloudFrontOriginAccessIdentityConfigResult)
1852
2511
  o.errors << Shapes::ShapeRef.new(shape: NoSuchCloudFrontOriginAccessIdentity)
@@ -1854,9 +2513,9 @@ module Aws::CloudFront
1854
2513
  end)
1855
2514
 
1856
2515
  api.add_operation(:get_distribution, Seahorse::Model::Operation.new.tap do |o|
1857
- o.name = "GetDistribution2019_03_26"
2516
+ o.name = "GetDistribution2020_05_31"
1858
2517
  o.http_method = "GET"
1859
- o.http_request_uri = "/2019-03-26/distribution/{Id}"
2518
+ o.http_request_uri = "/2020-05-31/distribution/{Id}"
1860
2519
  o.input = Shapes::ShapeRef.new(shape: GetDistributionRequest)
1861
2520
  o.output = Shapes::ShapeRef.new(shape: GetDistributionResult)
1862
2521
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1864,9 +2523,9 @@ module Aws::CloudFront
1864
2523
  end)
1865
2524
 
1866
2525
  api.add_operation(:get_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1867
- o.name = "GetDistributionConfig2019_03_26"
2526
+ o.name = "GetDistributionConfig2020_05_31"
1868
2527
  o.http_method = "GET"
1869
- o.http_request_uri = "/2019-03-26/distribution/{Id}/config"
2528
+ o.http_request_uri = "/2020-05-31/distribution/{Id}/config"
1870
2529
  o.input = Shapes::ShapeRef.new(shape: GetDistributionConfigRequest)
1871
2530
  o.output = Shapes::ShapeRef.new(shape: GetDistributionConfigResult)
1872
2531
  o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
@@ -1874,9 +2533,9 @@ module Aws::CloudFront
1874
2533
  end)
1875
2534
 
1876
2535
  api.add_operation(:get_field_level_encryption, Seahorse::Model::Operation.new.tap do |o|
1877
- o.name = "GetFieldLevelEncryption2019_03_26"
2536
+ o.name = "GetFieldLevelEncryption2020_05_31"
1878
2537
  o.http_method = "GET"
1879
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}"
2538
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}"
1880
2539
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionRequest)
1881
2540
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionResult)
1882
2541
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1884,9 +2543,9 @@ module Aws::CloudFront
1884
2543
  end)
1885
2544
 
1886
2545
  api.add_operation(:get_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
1887
- o.name = "GetFieldLevelEncryptionConfig2019_03_26"
2546
+ o.name = "GetFieldLevelEncryptionConfig2020_05_31"
1888
2547
  o.http_method = "GET"
1889
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}/config"
2548
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}/config"
1890
2549
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionConfigRequest)
1891
2550
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionConfigResult)
1892
2551
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1894,9 +2553,9 @@ module Aws::CloudFront
1894
2553
  end)
1895
2554
 
1896
2555
  api.add_operation(:get_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
1897
- o.name = "GetFieldLevelEncryptionProfile2019_03_26"
2556
+ o.name = "GetFieldLevelEncryptionProfile2020_05_31"
1898
2557
  o.http_method = "GET"
1899
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}"
2558
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}"
1900
2559
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileRequest)
1901
2560
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileResult)
1902
2561
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1904,9 +2563,9 @@ module Aws::CloudFront
1904
2563
  end)
1905
2564
 
1906
2565
  api.add_operation(:get_field_level_encryption_profile_config, Seahorse::Model::Operation.new.tap do |o|
1907
- o.name = "GetFieldLevelEncryptionProfileConfig2019_03_26"
2566
+ o.name = "GetFieldLevelEncryptionProfileConfig2020_05_31"
1908
2567
  o.http_method = "GET"
1909
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}/config"
2568
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}/config"
1910
2569
  o.input = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileConfigRequest)
1911
2570
  o.output = Shapes::ShapeRef.new(shape: GetFieldLevelEncryptionProfileConfigResult)
1912
2571
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1914,9 +2573,9 @@ module Aws::CloudFront
1914
2573
  end)
1915
2574
 
1916
2575
  api.add_operation(:get_invalidation, Seahorse::Model::Operation.new.tap do |o|
1917
- o.name = "GetInvalidation2019_03_26"
2576
+ o.name = "GetInvalidation2020_05_31"
1918
2577
  o.http_method = "GET"
1919
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation/{Id}"
2578
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation/{Id}"
1920
2579
  o.input = Shapes::ShapeRef.new(shape: GetInvalidationRequest)
1921
2580
  o.output = Shapes::ShapeRef.new(shape: GetInvalidationResult)
1922
2581
  o.errors << Shapes::ShapeRef.new(shape: NoSuchInvalidation)
@@ -1924,10 +2583,40 @@ module Aws::CloudFront
1924
2583
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1925
2584
  end)
1926
2585
 
2586
+ api.add_operation(:get_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2587
+ o.name = "GetMonitoringSubscription2020_05_31"
2588
+ o.http_method = "GET"
2589
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
2590
+ o.input = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionRequest)
2591
+ o.output = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionResult)
2592
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2593
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2594
+ end)
2595
+
2596
+ api.add_operation(:get_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2597
+ o.name = "GetOriginRequestPolicy2020_05_31"
2598
+ o.http_method = "GET"
2599
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
2600
+ o.input = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyRequest)
2601
+ o.output = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyResult)
2602
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2603
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2604
+ end)
2605
+
2606
+ api.add_operation(:get_origin_request_policy_config, Seahorse::Model::Operation.new.tap do |o|
2607
+ o.name = "GetOriginRequestPolicyConfig2020_05_31"
2608
+ o.http_method = "GET"
2609
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}/config"
2610
+ o.input = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyConfigRequest)
2611
+ o.output = Shapes::ShapeRef.new(shape: GetOriginRequestPolicyConfigResult)
2612
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2613
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2614
+ end)
2615
+
1927
2616
  api.add_operation(:get_public_key, Seahorse::Model::Operation.new.tap do |o|
1928
- o.name = "GetPublicKey2019_03_26"
2617
+ o.name = "GetPublicKey2020_05_31"
1929
2618
  o.http_method = "GET"
1930
- o.http_request_uri = "/2019-03-26/public-key/{Id}"
2619
+ o.http_request_uri = "/2020-05-31/public-key/{Id}"
1931
2620
  o.input = Shapes::ShapeRef.new(shape: GetPublicKeyRequest)
1932
2621
  o.output = Shapes::ShapeRef.new(shape: GetPublicKeyResult)
1933
2622
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -1935,19 +2624,34 @@ module Aws::CloudFront
1935
2624
  end)
1936
2625
 
1937
2626
  api.add_operation(:get_public_key_config, Seahorse::Model::Operation.new.tap do |o|
1938
- o.name = "GetPublicKeyConfig2019_03_26"
2627
+ o.name = "GetPublicKeyConfig2020_05_31"
1939
2628
  o.http_method = "GET"
1940
- o.http_request_uri = "/2019-03-26/public-key/{Id}/config"
2629
+ o.http_request_uri = "/2020-05-31/public-key/{Id}/config"
1941
2630
  o.input = Shapes::ShapeRef.new(shape: GetPublicKeyConfigRequest)
1942
2631
  o.output = Shapes::ShapeRef.new(shape: GetPublicKeyConfigResult)
1943
2632
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1944
2633
  o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
1945
2634
  end)
1946
2635
 
2636
+ api.add_operation(:get_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
2637
+ o.name = "GetRealtimeLogConfig2020_05_31"
2638
+ o.http_method = "POST"
2639
+ o.http_request_uri = "/2020-05-31/get-realtime-log-config/"
2640
+ o.input = Shapes::ShapeRef.new(shape: GetRealtimeLogConfigRequest,
2641
+ location_name: "GetRealtimeLogConfigRequest",
2642
+ metadata: {
2643
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
2644
+ }
2645
+ )
2646
+ o.output = Shapes::ShapeRef.new(shape: GetRealtimeLogConfigResult)
2647
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2648
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2649
+ end)
2650
+
1947
2651
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
1948
- o.name = "GetStreamingDistribution2019_03_26"
2652
+ o.name = "GetStreamingDistribution2020_05_31"
1949
2653
  o.http_method = "GET"
1950
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}"
2654
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}"
1951
2655
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionRequest)
1952
2656
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionResult)
1953
2657
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
@@ -1955,19 +2659,30 @@ module Aws::CloudFront
1955
2659
  end)
1956
2660
 
1957
2661
  api.add_operation(:get_streaming_distribution_config, Seahorse::Model::Operation.new.tap do |o|
1958
- o.name = "GetStreamingDistributionConfig2019_03_26"
2662
+ o.name = "GetStreamingDistributionConfig2020_05_31"
1959
2663
  o.http_method = "GET"
1960
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}/config"
2664
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}/config"
1961
2665
  o.input = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigRequest)
1962
2666
  o.output = Shapes::ShapeRef.new(shape: GetStreamingDistributionConfigResult)
1963
2667
  o.errors << Shapes::ShapeRef.new(shape: NoSuchStreamingDistribution)
1964
2668
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
1965
2669
  end)
1966
2670
 
2671
+ api.add_operation(:list_cache_policies, Seahorse::Model::Operation.new.tap do |o|
2672
+ o.name = "ListCachePolicies2020_05_31"
2673
+ o.http_method = "GET"
2674
+ o.http_request_uri = "/2020-05-31/cache-policy"
2675
+ o.input = Shapes::ShapeRef.new(shape: ListCachePoliciesRequest)
2676
+ o.output = Shapes::ShapeRef.new(shape: ListCachePoliciesResult)
2677
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2678
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2679
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2680
+ end)
2681
+
1967
2682
  api.add_operation(:list_cloud_front_origin_access_identities, Seahorse::Model::Operation.new.tap do |o|
1968
- o.name = "ListCloudFrontOriginAccessIdentities2019_03_26"
2683
+ o.name = "ListCloudFrontOriginAccessIdentities2020_05_31"
1969
2684
  o.http_method = "GET"
1970
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront"
2685
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront"
1971
2686
  o.input = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesRequest)
1972
2687
  o.output = Shapes::ShapeRef.new(shape: ListCloudFrontOriginAccessIdentitiesResult)
1973
2688
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1981,9 +2696,9 @@ module Aws::CloudFront
1981
2696
  end)
1982
2697
 
1983
2698
  api.add_operation(:list_distributions, Seahorse::Model::Operation.new.tap do |o|
1984
- o.name = "ListDistributions2019_03_26"
2699
+ o.name = "ListDistributions2020_05_31"
1985
2700
  o.http_method = "GET"
1986
- o.http_request_uri = "/2019-03-26/distribution"
2701
+ o.http_request_uri = "/2020-05-31/distribution"
1987
2702
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsRequest)
1988
2703
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsResult)
1989
2704
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -1996,10 +2711,46 @@ module Aws::CloudFront
1996
2711
  )
1997
2712
  end)
1998
2713
 
2714
+ api.add_operation(:list_distributions_by_cache_policy_id, Seahorse::Model::Operation.new.tap do |o|
2715
+ o.name = "ListDistributionsByCachePolicyId2020_05_31"
2716
+ o.http_method = "GET"
2717
+ o.http_request_uri = "/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}"
2718
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByCachePolicyIdRequest)
2719
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByCachePolicyIdResult)
2720
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2721
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2722
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2723
+ end)
2724
+
2725
+ api.add_operation(:list_distributions_by_origin_request_policy_id, Seahorse::Model::Operation.new.tap do |o|
2726
+ o.name = "ListDistributionsByOriginRequestPolicyId2020_05_31"
2727
+ o.http_method = "GET"
2728
+ o.http_request_uri = "/2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}"
2729
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByOriginRequestPolicyIdRequest)
2730
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByOriginRequestPolicyIdResult)
2731
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2732
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2733
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2734
+ end)
2735
+
2736
+ api.add_operation(:list_distributions_by_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
2737
+ o.name = "ListDistributionsByRealtimeLogConfig2020_05_31"
2738
+ o.http_method = "POST"
2739
+ o.http_request_uri = "/2020-05-31/distributionsByRealtimeLogConfig/"
2740
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByRealtimeLogConfigRequest,
2741
+ location_name: "ListDistributionsByRealtimeLogConfigRequest",
2742
+ metadata: {
2743
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
2744
+ }
2745
+ )
2746
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByRealtimeLogConfigResult)
2747
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2748
+ end)
2749
+
1999
2750
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
2000
- o.name = "ListDistributionsByWebACLId2019_03_26"
2751
+ o.name = "ListDistributionsByWebACLId2020_05_31"
2001
2752
  o.http_method = "GET"
2002
- o.http_request_uri = "/2019-03-26/distributionsByWebACLId/{WebACLId}"
2753
+ o.http_request_uri = "/2020-05-31/distributionsByWebACLId/{WebACLId}"
2003
2754
  o.input = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdRequest)
2004
2755
  o.output = Shapes::ShapeRef.new(shape: ListDistributionsByWebACLIdResult)
2005
2756
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2007,27 +2758,27 @@ module Aws::CloudFront
2007
2758
  end)
2008
2759
 
2009
2760
  api.add_operation(:list_field_level_encryption_configs, Seahorse::Model::Operation.new.tap do |o|
2010
- o.name = "ListFieldLevelEncryptionConfigs2019_03_26"
2761
+ o.name = "ListFieldLevelEncryptionConfigs2020_05_31"
2011
2762
  o.http_method = "GET"
2012
- o.http_request_uri = "/2019-03-26/field-level-encryption"
2763
+ o.http_request_uri = "/2020-05-31/field-level-encryption"
2013
2764
  o.input = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionConfigsRequest)
2014
2765
  o.output = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionConfigsResult)
2015
2766
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2016
2767
  end)
2017
2768
 
2018
2769
  api.add_operation(:list_field_level_encryption_profiles, Seahorse::Model::Operation.new.tap do |o|
2019
- o.name = "ListFieldLevelEncryptionProfiles2019_03_26"
2770
+ o.name = "ListFieldLevelEncryptionProfiles2020_05_31"
2020
2771
  o.http_method = "GET"
2021
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile"
2772
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile"
2022
2773
  o.input = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionProfilesRequest)
2023
2774
  o.output = Shapes::ShapeRef.new(shape: ListFieldLevelEncryptionProfilesResult)
2024
2775
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2025
2776
  end)
2026
2777
 
2027
2778
  api.add_operation(:list_invalidations, Seahorse::Model::Operation.new.tap do |o|
2028
- o.name = "ListInvalidations2019_03_26"
2779
+ o.name = "ListInvalidations2020_05_31"
2029
2780
  o.http_method = "GET"
2030
- o.http_request_uri = "/2019-03-26/distribution/{DistributionId}/invalidation"
2781
+ o.http_request_uri = "/2020-05-31/distribution/{DistributionId}/invalidation"
2031
2782
  o.input = Shapes::ShapeRef.new(shape: ListInvalidationsRequest)
2032
2783
  o.output = Shapes::ShapeRef.new(shape: ListInvalidationsResult)
2033
2784
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2042,19 +2793,38 @@ module Aws::CloudFront
2042
2793
  )
2043
2794
  end)
2044
2795
 
2796
+ api.add_operation(:list_origin_request_policies, Seahorse::Model::Operation.new.tap do |o|
2797
+ o.name = "ListOriginRequestPolicies2020_05_31"
2798
+ o.http_method = "GET"
2799
+ o.http_request_uri = "/2020-05-31/origin-request-policy"
2800
+ o.input = Shapes::ShapeRef.new(shape: ListOriginRequestPoliciesRequest)
2801
+ o.output = Shapes::ShapeRef.new(shape: ListOriginRequestPoliciesResult)
2802
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2803
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2804
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2805
+ end)
2806
+
2045
2807
  api.add_operation(:list_public_keys, Seahorse::Model::Operation.new.tap do |o|
2046
- o.name = "ListPublicKeys2019_03_26"
2808
+ o.name = "ListPublicKeys2020_05_31"
2047
2809
  o.http_method = "GET"
2048
- o.http_request_uri = "/2019-03-26/public-key"
2810
+ o.http_request_uri = "/2020-05-31/public-key"
2049
2811
  o.input = Shapes::ShapeRef.new(shape: ListPublicKeysRequest)
2050
2812
  o.output = Shapes::ShapeRef.new(shape: ListPublicKeysResult)
2051
2813
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2052
2814
  end)
2053
2815
 
2816
+ api.add_operation(:list_realtime_log_configs, Seahorse::Model::Operation.new.tap do |o|
2817
+ o.name = "ListRealtimeLogConfigs2020_05_31"
2818
+ o.http_method = "GET"
2819
+ o.http_request_uri = "/2020-05-31/realtime-log-config"
2820
+ o.input = Shapes::ShapeRef.new(shape: ListRealtimeLogConfigsRequest)
2821
+ o.output = Shapes::ShapeRef.new(shape: ListRealtimeLogConfigsResult)
2822
+ end)
2823
+
2054
2824
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
2055
- o.name = "ListStreamingDistributions2019_03_26"
2825
+ o.name = "ListStreamingDistributions2020_05_31"
2056
2826
  o.http_method = "GET"
2057
- o.http_request_uri = "/2019-03-26/streaming-distribution"
2827
+ o.http_request_uri = "/2020-05-31/streaming-distribution"
2058
2828
  o.input = Shapes::ShapeRef.new(shape: ListStreamingDistributionsRequest)
2059
2829
  o.output = Shapes::ShapeRef.new(shape: ListStreamingDistributionsResult)
2060
2830
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
@@ -2068,9 +2838,9 @@ module Aws::CloudFront
2068
2838
  end)
2069
2839
 
2070
2840
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2071
- o.name = "ListTagsForResource2019_03_26"
2841
+ o.name = "ListTagsForResource2020_05_31"
2072
2842
  o.http_method = "GET"
2073
- o.http_request_uri = "/2019-03-26/tagging"
2843
+ o.http_request_uri = "/2020-05-31/tagging"
2074
2844
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
2075
2845
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
2076
2846
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2080,9 +2850,9 @@ module Aws::CloudFront
2080
2850
  end)
2081
2851
 
2082
2852
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2083
- o.name = "TagResource2019_03_26"
2853
+ o.name = "TagResource2020_05_31"
2084
2854
  o.http_method = "POST"
2085
- o.http_request_uri = "/2019-03-26/tagging?Operation=Tag"
2855
+ o.http_request_uri = "/2020-05-31/tagging?Operation=Tag"
2086
2856
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2087
2857
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2088
2858
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2092,9 +2862,9 @@ module Aws::CloudFront
2092
2862
  end)
2093
2863
 
2094
2864
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
2095
- o.name = "UntagResource2019_03_26"
2865
+ o.name = "UntagResource2020_05_31"
2096
2866
  o.http_method = "POST"
2097
- o.http_request_uri = "/2019-03-26/tagging?Operation=Untag"
2867
+ o.http_request_uri = "/2020-05-31/tagging?Operation=Untag"
2098
2868
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2099
2869
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2100
2870
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2103,10 +2873,29 @@ module Aws::CloudFront
2103
2873
  o.errors << Shapes::ShapeRef.new(shape: NoSuchResource)
2104
2874
  end)
2105
2875
 
2876
+ api.add_operation(:update_cache_policy, Seahorse::Model::Operation.new.tap do |o|
2877
+ o.name = "UpdateCachePolicy2020_05_31"
2878
+ o.http_method = "PUT"
2879
+ o.http_request_uri = "/2020-05-31/cache-policy/{Id}"
2880
+ o.input = Shapes::ShapeRef.new(shape: UpdateCachePolicyRequest)
2881
+ o.output = Shapes::ShapeRef.new(shape: UpdateCachePolicyResult)
2882
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2883
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
2884
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2885
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2886
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
2887
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2888
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2889
+ o.errors << Shapes::ShapeRef.new(shape: CachePolicyAlreadyExists)
2890
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInCachePolicy)
2891
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInCachePolicy)
2892
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInCachePolicy)
2893
+ end)
2894
+
2106
2895
  api.add_operation(:update_cloud_front_origin_access_identity, Seahorse::Model::Operation.new.tap do |o|
2107
- o.name = "UpdateCloudFrontOriginAccessIdentity2019_03_26"
2896
+ o.name = "UpdateCloudFrontOriginAccessIdentity2020_05_31"
2108
2897
  o.http_method = "PUT"
2109
- o.http_request_uri = "/2019-03-26/origin-access-identity/cloudfront/{Id}/config"
2898
+ o.http_request_uri = "/2020-05-31/origin-access-identity/cloudfront/{Id}/config"
2110
2899
  o.input = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityRequest)
2111
2900
  o.output = Shapes::ShapeRef.new(shape: UpdateCloudFrontOriginAccessIdentityResult)
2112
2901
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2120,9 +2909,9 @@ module Aws::CloudFront
2120
2909
  end)
2121
2910
 
2122
2911
  api.add_operation(:update_distribution, Seahorse::Model::Operation.new.tap do |o|
2123
- o.name = "UpdateDistribution2019_03_26"
2912
+ o.name = "UpdateDistribution2020_05_31"
2124
2913
  o.http_method = "PUT"
2125
- o.http_request_uri = "/2019-03-26/distribution/{Id}/config"
2914
+ o.http_request_uri = "/2020-05-31/distribution/{Id}/config"
2126
2915
  o.input = Shapes::ShapeRef.new(shape: UpdateDistributionRequest)
2127
2916
  o.output = Shapes::ShapeRef.new(shape: UpdateDistributionResult)
2128
2917
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2162,6 +2951,7 @@ module Aws::CloudFront
2162
2951
  o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringParameters)
2163
2952
  o.errors << Shapes::ShapeRef.new(shape: InvalidQueryStringParameters)
2164
2953
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithLambdaAssociations)
2954
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsWithSingleFunctionARN)
2165
2955
  o.errors << Shapes::ShapeRef.new(shape: TooManyLambdaFunctionAssociations)
2166
2956
  o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaFunctionAssociation)
2167
2957
  o.errors << Shapes::ShapeRef.new(shape: InvalidOriginReadTimeout)
@@ -2169,12 +2959,16 @@ module Aws::CloudFront
2169
2959
  o.errors << Shapes::ShapeRef.new(shape: NoSuchFieldLevelEncryptionConfig)
2170
2960
  o.errors << Shapes::ShapeRef.new(shape: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
2171
2961
  o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
2962
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchCachePolicy)
2963
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToCachePolicy)
2964
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
2965
+ o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionsAssociatedToOriginRequestPolicy)
2172
2966
  end)
2173
2967
 
2174
2968
  api.add_operation(:update_field_level_encryption_config, Seahorse::Model::Operation.new.tap do |o|
2175
- o.name = "UpdateFieldLevelEncryptionConfig2019_03_26"
2969
+ o.name = "UpdateFieldLevelEncryptionConfig2020_05_31"
2176
2970
  o.http_method = "PUT"
2177
- o.http_request_uri = "/2019-03-26/field-level-encryption/{Id}/config"
2971
+ o.http_request_uri = "/2020-05-31/field-level-encryption/{Id}/config"
2178
2972
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigRequest)
2179
2973
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionConfigResult)
2180
2974
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2191,9 +2985,9 @@ module Aws::CloudFront
2191
2985
  end)
2192
2986
 
2193
2987
  api.add_operation(:update_field_level_encryption_profile, Seahorse::Model::Operation.new.tap do |o|
2194
- o.name = "UpdateFieldLevelEncryptionProfile2019_03_26"
2988
+ o.name = "UpdateFieldLevelEncryptionProfile2020_05_31"
2195
2989
  o.http_method = "PUT"
2196
- o.http_request_uri = "/2019-03-26/field-level-encryption-profile/{Id}/config"
2990
+ o.http_request_uri = "/2020-05-31/field-level-encryption-profile/{Id}/config"
2197
2991
  o.input = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileRequest)
2198
2992
  o.output = Shapes::ShapeRef.new(shape: UpdateFieldLevelEncryptionProfileResult)
2199
2993
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2210,10 +3004,29 @@ module Aws::CloudFront
2210
3004
  o.errors << Shapes::ShapeRef.new(shape: TooManyFieldLevelEncryptionFieldPatterns)
2211
3005
  end)
2212
3006
 
3007
+ api.add_operation(:update_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
3008
+ o.name = "UpdateOriginRequestPolicy2020_05_31"
3009
+ o.http_method = "PUT"
3010
+ o.http_request_uri = "/2020-05-31/origin-request-policy/{Id}"
3011
+ o.input = Shapes::ShapeRef.new(shape: UpdateOriginRequestPolicyRequest)
3012
+ o.output = Shapes::ShapeRef.new(shape: UpdateOriginRequestPolicyResult)
3013
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
3014
+ o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
3015
+ o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
3016
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3017
+ o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
3018
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchOriginRequestPolicy)
3019
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
3020
+ o.errors << Shapes::ShapeRef.new(shape: OriginRequestPolicyAlreadyExists)
3021
+ o.errors << Shapes::ShapeRef.new(shape: TooManyHeadersInOriginRequestPolicy)
3022
+ o.errors << Shapes::ShapeRef.new(shape: TooManyCookiesInOriginRequestPolicy)
3023
+ o.errors << Shapes::ShapeRef.new(shape: TooManyQueryStringsInOriginRequestPolicy)
3024
+ end)
3025
+
2213
3026
  api.add_operation(:update_public_key, Seahorse::Model::Operation.new.tap do |o|
2214
- o.name = "UpdatePublicKey2019_03_26"
3027
+ o.name = "UpdatePublicKey2020_05_31"
2215
3028
  o.http_method = "PUT"
2216
- o.http_request_uri = "/2019-03-26/public-key/{Id}/config"
3029
+ o.http_request_uri = "/2020-05-31/public-key/{Id}/config"
2217
3030
  o.input = Shapes::ShapeRef.new(shape: UpdatePublicKeyRequest)
2218
3031
  o.output = Shapes::ShapeRef.new(shape: UpdatePublicKeyResult)
2219
3032
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
@@ -2225,10 +3038,25 @@ module Aws::CloudFront
2225
3038
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2226
3039
  end)
2227
3040
 
3041
+ api.add_operation(:update_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
3042
+ o.name = "UpdateRealtimeLogConfig2020_05_31"
3043
+ o.http_method = "PUT"
3044
+ o.http_request_uri = "/2020-05-31/realtime-log-config/"
3045
+ o.input = Shapes::ShapeRef.new(shape: UpdateRealtimeLogConfigRequest,
3046
+ location_name: "UpdateRealtimeLogConfigRequest",
3047
+ metadata: {
3048
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
3049
+ }
3050
+ )
3051
+ o.output = Shapes::ShapeRef.new(shape: UpdateRealtimeLogConfigResult)
3052
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3053
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3054
+ end)
3055
+
2228
3056
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2229
- o.name = "UpdateStreamingDistribution2019_03_26"
3057
+ o.name = "UpdateStreamingDistribution2020_05_31"
2230
3058
  o.http_method = "PUT"
2231
- o.http_request_uri = "/2019-03-26/streaming-distribution/{Id}/config"
3059
+ o.http_request_uri = "/2020-05-31/streaming-distribution/{Id}/config"
2232
3060
  o.input = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionRequest)
2233
3061
  o.output = Shapes::ShapeRef.new(shape: UpdateStreamingDistributionResult)
2234
3062
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)