aws-sdk-cloudfront 1.35.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -72,10 +72,14 @@ module Aws::CloudFront
72
72
  CreateFieldLevelEncryptionProfileResult = Shapes::StructureShape.new(name: 'CreateFieldLevelEncryptionProfileResult')
73
73
  CreateInvalidationRequest = Shapes::StructureShape.new(name: 'CreateInvalidationRequest')
74
74
  CreateInvalidationResult = Shapes::StructureShape.new(name: 'CreateInvalidationResult')
75
+ CreateMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateMonitoringSubscriptionRequest')
76
+ CreateMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'CreateMonitoringSubscriptionResult')
75
77
  CreateOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyRequest')
76
78
  CreateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyResult')
77
79
  CreatePublicKeyRequest = Shapes::StructureShape.new(name: 'CreatePublicKeyRequest')
78
80
  CreatePublicKeyResult = Shapes::StructureShape.new(name: 'CreatePublicKeyResult')
81
+ CreateRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'CreateRealtimeLogConfigRequest')
82
+ CreateRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'CreateRealtimeLogConfigResult')
79
83
  CreateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionRequest')
80
84
  CreateStreamingDistributionResult = Shapes::StructureShape.new(name: 'CreateStreamingDistributionResult')
81
85
  CreateStreamingDistributionWithTagsRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionWithTagsRequest')
@@ -91,8 +95,11 @@ module Aws::CloudFront
91
95
  DeleteDistributionRequest = Shapes::StructureShape.new(name: 'DeleteDistributionRequest')
92
96
  DeleteFieldLevelEncryptionConfigRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionConfigRequest')
93
97
  DeleteFieldLevelEncryptionProfileRequest = Shapes::StructureShape.new(name: 'DeleteFieldLevelEncryptionProfileRequest')
98
+ DeleteMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionRequest')
99
+ DeleteMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionResult')
94
100
  DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
95
101
  DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
102
+ DeleteRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'DeleteRealtimeLogConfigRequest')
96
103
  DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
97
104
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
98
105
  DistributionAlreadyExists = Shapes::StructureShape.new(name: 'DistributionAlreadyExists')
@@ -107,6 +114,8 @@ module Aws::CloudFront
107
114
  EncryptionEntities = Shapes::StructureShape.new(name: 'EncryptionEntities')
108
115
  EncryptionEntity = Shapes::StructureShape.new(name: 'EncryptionEntity')
109
116
  EncryptionEntityList = Shapes::ListShape.new(name: 'EncryptionEntityList')
117
+ EndPoint = Shapes::StructureShape.new(name: 'EndPoint')
118
+ EndPointList = Shapes::ListShape.new(name: 'EndPointList')
110
119
  EventType = Shapes::StringShape.new(name: 'EventType')
111
120
  FieldLevelEncryption = Shapes::StructureShape.new(name: 'FieldLevelEncryption')
112
121
  FieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'FieldLevelEncryptionConfig')
@@ -123,6 +132,7 @@ module Aws::CloudFront
123
132
  FieldLevelEncryptionProfileSummaryList = Shapes::ListShape.new(name: 'FieldLevelEncryptionProfileSummaryList')
124
133
  FieldLevelEncryptionSummary = Shapes::StructureShape.new(name: 'FieldLevelEncryptionSummary')
125
134
  FieldLevelEncryptionSummaryList = Shapes::ListShape.new(name: 'FieldLevelEncryptionSummaryList')
135
+ FieldList = Shapes::ListShape.new(name: 'FieldList')
126
136
  FieldPatternList = Shapes::ListShape.new(name: 'FieldPatternList')
127
137
  FieldPatterns = Shapes::StructureShape.new(name: 'FieldPatterns')
128
138
  Format = Shapes::StringShape.new(name: 'Format')
@@ -151,6 +161,8 @@ module Aws::CloudFront
151
161
  GetFieldLevelEncryptionResult = Shapes::StructureShape.new(name: 'GetFieldLevelEncryptionResult')
152
162
  GetInvalidationRequest = Shapes::StructureShape.new(name: 'GetInvalidationRequest')
153
163
  GetInvalidationResult = Shapes::StructureShape.new(name: 'GetInvalidationResult')
164
+ GetMonitoringSubscriptionRequest = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionRequest')
165
+ GetMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'GetMonitoringSubscriptionResult')
154
166
  GetOriginRequestPolicyConfigRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigRequest')
155
167
  GetOriginRequestPolicyConfigResult = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyConfigResult')
156
168
  GetOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'GetOriginRequestPolicyRequest')
@@ -159,6 +171,8 @@ module Aws::CloudFront
159
171
  GetPublicKeyConfigResult = Shapes::StructureShape.new(name: 'GetPublicKeyConfigResult')
160
172
  GetPublicKeyRequest = Shapes::StructureShape.new(name: 'GetPublicKeyRequest')
161
173
  GetPublicKeyResult = Shapes::StructureShape.new(name: 'GetPublicKeyResult')
174
+ GetRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigRequest')
175
+ GetRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigResult')
162
176
  GetStreamingDistributionConfigRequest = Shapes::StructureShape.new(name: 'GetStreamingDistributionConfigRequest')
163
177
  GetStreamingDistributionConfigResult = Shapes::StructureShape.new(name: 'GetStreamingDistributionConfigResult')
164
178
  GetStreamingDistributionRequest = Shapes::StructureShape.new(name: 'GetStreamingDistributionRequest')
@@ -202,6 +216,7 @@ module Aws::CloudFront
202
216
  ItemSelection = Shapes::StringShape.new(name: 'ItemSelection')
203
217
  KeyPairIdList = Shapes::ListShape.new(name: 'KeyPairIdList')
204
218
  KeyPairIds = Shapes::StructureShape.new(name: 'KeyPairIds')
219
+ KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
205
220
  LambdaFunctionARN = Shapes::StringShape.new(name: 'LambdaFunctionARN')
206
221
  LambdaFunctionAssociation = Shapes::StructureShape.new(name: 'LambdaFunctionAssociation')
207
222
  LambdaFunctionAssociationList = Shapes::ListShape.new(name: 'LambdaFunctionAssociationList')
@@ -214,6 +229,8 @@ module Aws::CloudFront
214
229
  ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
215
230
  ListDistributionsByOriginRequestPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdRequest')
216
231
  ListDistributionsByOriginRequestPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdResult')
232
+ ListDistributionsByRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigRequest')
233
+ ListDistributionsByRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigResult')
217
234
  ListDistributionsByWebACLIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdRequest')
218
235
  ListDistributionsByWebACLIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdResult')
219
236
  ListDistributionsRequest = Shapes::StructureShape.new(name: 'ListDistributionsRequest')
@@ -228,6 +245,8 @@ module Aws::CloudFront
228
245
  ListOriginRequestPoliciesResult = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesResult')
229
246
  ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
230
247
  ListPublicKeysResult = Shapes::StructureShape.new(name: 'ListPublicKeysResult')
248
+ ListRealtimeLogConfigsRequest = Shapes::StructureShape.new(name: 'ListRealtimeLogConfigsRequest')
249
+ ListRealtimeLogConfigsResult = Shapes::StructureShape.new(name: 'ListRealtimeLogConfigsResult')
231
250
  ListStreamingDistributionsRequest = Shapes::StructureShape.new(name: 'ListStreamingDistributionsRequest')
232
251
  ListStreamingDistributionsResult = Shapes::StructureShape.new(name: 'ListStreamingDistributionsResult')
233
252
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -238,6 +257,7 @@ module Aws::CloudFront
238
257
  MethodsList = Shapes::ListShape.new(name: 'MethodsList')
239
258
  MinimumProtocolVersion = Shapes::StringShape.new(name: 'MinimumProtocolVersion')
240
259
  MissingBody = Shapes::StructureShape.new(name: 'MissingBody')
260
+ MonitoringSubscription = Shapes::StructureShape.new(name: 'MonitoringSubscription')
241
261
  NoSuchCachePolicy = Shapes::StructureShape.new(name: 'NoSuchCachePolicy')
242
262
  NoSuchCloudFrontOriginAccessIdentity = Shapes::StructureShape.new(name: 'NoSuchCloudFrontOriginAccessIdentity')
243
263
  NoSuchDistribution = Shapes::StructureShape.new(name: 'NoSuchDistribution')
@@ -247,6 +267,7 @@ module Aws::CloudFront
247
267
  NoSuchOrigin = Shapes::StructureShape.new(name: 'NoSuchOrigin')
248
268
  NoSuchOriginRequestPolicy = Shapes::StructureShape.new(name: 'NoSuchOriginRequestPolicy')
249
269
  NoSuchPublicKey = Shapes::StructureShape.new(name: 'NoSuchPublicKey')
270
+ NoSuchRealtimeLogConfig = Shapes::StructureShape.new(name: 'NoSuchRealtimeLogConfig')
250
271
  NoSuchResource = Shapes::StructureShape.new(name: 'NoSuchResource')
251
272
  NoSuchStreamingDistribution = Shapes::StructureShape.new(name: 'NoSuchStreamingDistribution')
252
273
  Origin = Shapes::StructureShape.new(name: 'Origin')
@@ -298,6 +319,13 @@ module Aws::CloudFront
298
319
  QueryStringCacheKeysList = Shapes::ListShape.new(name: 'QueryStringCacheKeysList')
299
320
  QueryStringNames = Shapes::StructureShape.new(name: 'QueryStringNames')
300
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')
301
329
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
302
330
  Restrictions = Shapes::StructureShape.new(name: 'Restrictions')
303
331
  S3Origin = Shapes::StructureShape.new(name: 'S3Origin')
@@ -359,6 +387,7 @@ module Aws::CloudFront
359
387
  TooManyQueryStringParameters = Shapes::StructureShape.new(name: 'TooManyQueryStringParameters')
360
388
  TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
361
389
  TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
390
+ TooManyRealtimeLogConfigs = Shapes::StructureShape.new(name: 'TooManyRealtimeLogConfigs')
362
391
  TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
363
392
  TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
364
393
  TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
@@ -379,6 +408,8 @@ module Aws::CloudFront
379
408
  UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
380
409
  UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
381
410
  UpdatePublicKeyResult = Shapes::StructureShape.new(name: 'UpdatePublicKeyResult')
411
+ UpdateRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'UpdateRealtimeLogConfigRequest')
412
+ UpdateRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'UpdateRealtimeLogConfigResult')
382
413
  UpdateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionRequest')
383
414
  UpdateStreamingDistributionResult = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionResult')
384
415
  ViewerCertificate = Shapes::StructureShape.new(name: 'ViewerCertificate')
@@ -431,6 +462,7 @@ module Aws::CloudFront
431
462
  CacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
432
463
  CacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
433
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"))
434
466
  CacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
435
467
  CacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
436
468
  CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
@@ -634,6 +666,17 @@ module Aws::CloudFront
634
666
  CreateInvalidationResult[:payload] = :invalidation
635
667
  CreateInvalidationResult[:payload_member] = CreateInvalidationResult.member(:invalidation)
636
668
 
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
+
637
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/"}}))
638
681
  CreateOriginRequestPolicyRequest.struct_class = Types::CreateOriginRequestPolicyRequest
639
682
  CreateOriginRequestPolicyRequest[:payload] = :origin_request_policy_config
@@ -658,6 +701,15 @@ module Aws::CloudFront
658
701
  CreatePublicKeyResult[:payload] = :public_key
659
702
  CreatePublicKeyResult[:payload_member] = CreatePublicKeyResult.member(:public_key)
660
703
 
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
+
661
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/"}}))
662
714
  CreateStreamingDistributionRequest.struct_class = Types::CreateStreamingDistributionRequest
663
715
  CreateStreamingDistributionRequest[:payload] = :streaming_distribution_config
@@ -714,6 +766,7 @@ module Aws::CloudFront
714
766
  DefaultCacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
715
767
  DefaultCacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
716
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"))
717
770
  DefaultCacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
718
771
  DefaultCacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
719
772
  DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
@@ -742,6 +795,11 @@ module Aws::CloudFront
742
795
  DeleteFieldLevelEncryptionProfileRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
743
796
  DeleteFieldLevelEncryptionProfileRequest.struct_class = Types::DeleteFieldLevelEncryptionProfileRequest
744
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
+
745
803
  DeleteOriginRequestPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
746
804
  DeleteOriginRequestPolicyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
747
805
  DeleteOriginRequestPolicyRequest.struct_class = Types::DeleteOriginRequestPolicyRequest
@@ -750,6 +808,10 @@ module Aws::CloudFront
750
808
  DeletePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
751
809
  DeletePublicKeyRequest.struct_class = Types::DeletePublicKeyRequest
752
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
+
753
815
  DeleteStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
754
816
  DeleteStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
755
817
  DeleteStreamingDistributionRequest.struct_class = Types::DeleteStreamingDistributionRequest
@@ -847,6 +909,12 @@ module Aws::CloudFront
847
909
 
848
910
  EncryptionEntityList.member = Shapes::ShapeRef.new(shape: EncryptionEntity, location_name: "EncryptionEntity")
849
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
+
850
918
  FieldLevelEncryption.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
851
919
  FieldLevelEncryption.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
852
920
  FieldLevelEncryption.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig"))
@@ -914,6 +982,8 @@ module Aws::CloudFront
914
982
 
915
983
  FieldLevelEncryptionSummaryList.member = Shapes::ShapeRef.new(shape: FieldLevelEncryptionSummary, location_name: "FieldLevelEncryptionSummary")
916
984
 
985
+ FieldList.member = Shapes::ShapeRef.new(shape: string, location_name: "Field")
986
+
917
987
  FieldPatternList.member = Shapes::ShapeRef.new(shape: string, location_name: "FieldPattern")
918
988
 
919
989
  FieldPatterns.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -1030,6 +1100,14 @@ module Aws::CloudFront
1030
1100
  GetInvalidationResult[:payload] = :invalidation
1031
1101
  GetInvalidationResult[:payload_member] = GetInvalidationResult.member(:invalidation)
1032
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
+
1033
1111
  GetOriginRequestPolicyConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1034
1112
  GetOriginRequestPolicyConfigRequest.struct_class = Types::GetOriginRequestPolicyConfigRequest
1035
1113
 
@@ -1066,6 +1144,13 @@ module Aws::CloudFront
1066
1144
  GetPublicKeyResult[:payload] = :public_key
1067
1145
  GetPublicKeyResult[:payload_member] = GetPublicKeyResult.member(:public_key)
1068
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
+
1069
1154
  GetStreamingDistributionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1070
1155
  GetStreamingDistributionConfigRequest.struct_class = Types::GetStreamingDistributionConfigRequest
1071
1156
 
@@ -1202,6 +1287,10 @@ module Aws::CloudFront
1202
1287
  KeyPairIds.add_member(:items, Shapes::ShapeRef.new(shape: KeyPairIdList, location_name: "Items"))
1203
1288
  KeyPairIds.struct_class = Types::KeyPairIds
1204
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
+
1205
1294
  LambdaFunctionAssociation.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: LambdaFunctionARN, required: true, location_name: "LambdaFunctionARN"))
1206
1295
  LambdaFunctionAssociation.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "EventType"))
1207
1296
  LambdaFunctionAssociation.add_member(:include_body, Shapes::ShapeRef.new(shape: boolean, location_name: "IncludeBody"))
@@ -1252,6 +1341,17 @@ module Aws::CloudFront
1252
1341
  ListDistributionsByOriginRequestPolicyIdResult[:payload] = :distribution_id_list
1253
1342
  ListDistributionsByOriginRequestPolicyIdResult[:payload_member] = ListDistributionsByOriginRequestPolicyIdResult.member(:distribution_id_list)
1254
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
+
1255
1355
  ListDistributionsByWebACLIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1256
1356
  ListDistributionsByWebACLIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1257
1357
  ListDistributionsByWebACLIdRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "WebACLId"))
@@ -1318,6 +1418,15 @@ module Aws::CloudFront
1318
1418
  ListPublicKeysResult[:payload] = :public_key_list
1319
1419
  ListPublicKeysResult[:payload_member] = ListPublicKeysResult.member(:public_key_list)
1320
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
+
1321
1430
  ListStreamingDistributionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1322
1431
  ListStreamingDistributionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1323
1432
  ListStreamingDistributionsRequest.struct_class = Types::ListStreamingDistributionsRequest
@@ -1348,6 +1457,9 @@ module Aws::CloudFront
1348
1457
  MissingBody.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1349
1458
  MissingBody.struct_class = Types::MissingBody
1350
1459
 
1460
+ MonitoringSubscription.add_member(:realtime_metrics_subscription_config, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionConfig, location_name: "RealtimeMetricsSubscriptionConfig"))
1461
+ MonitoringSubscription.struct_class = Types::MonitoringSubscription
1462
+
1351
1463
  NoSuchCachePolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1352
1464
  NoSuchCachePolicy.struct_class = Types::NoSuchCachePolicy
1353
1465
 
@@ -1375,6 +1487,9 @@ module Aws::CloudFront
1375
1487
  NoSuchPublicKey.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1376
1488
  NoSuchPublicKey.struct_class = Types::NoSuchPublicKey
1377
1489
 
1490
+ NoSuchRealtimeLogConfig.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1491
+ NoSuchRealtimeLogConfig.struct_class = Types::NoSuchRealtimeLogConfig
1492
+
1378
1493
  NoSuchResource.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1379
1494
  NoSuchResource.struct_class = Types::NoSuchResource
1380
1495
 
@@ -1548,6 +1663,31 @@ module Aws::CloudFront
1548
1663
 
1549
1664
  QueryStringNamesList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1550
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
+
1551
1691
  Restrictions.add_member(:geo_restriction, Shapes::ShapeRef.new(shape: GeoRestriction, required: true, location_name: "GeoRestriction"))
1552
1692
  Restrictions.struct_class = Types::Restrictions
1553
1693
 
@@ -1748,6 +1888,9 @@ module Aws::CloudFront
1748
1888
  TooManyQueryStringsInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1749
1889
  TooManyQueryStringsInOriginRequestPolicy.struct_class = Types::TooManyQueryStringsInOriginRequestPolicy
1750
1890
 
1891
+ TooManyRealtimeLogConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1892
+ TooManyRealtimeLogConfigs.struct_class = Types::TooManyRealtimeLogConfigs
1893
+
1751
1894
  TooManyStreamingDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1752
1895
  TooManyStreamingDistributionCNAMEs.struct_class = Types::TooManyStreamingDistributionCNAMEs
1753
1896
 
@@ -1862,6 +2005,16 @@ module Aws::CloudFront
1862
2005
  UpdatePublicKeyResult[:payload] = :public_key
1863
2006
  UpdatePublicKeyResult[:payload_member] = UpdatePublicKeyResult.member(:public_key)
1864
2007
 
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
+
1865
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/"}}))
1866
2019
  UpdateStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1867
2020
  UpdateStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
@@ -2093,6 +2246,16 @@ module Aws::CloudFront
2093
2246
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2094
2247
  end)
2095
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
+
2096
2259
  api.add_operation(:create_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2097
2260
  o.name = "CreateOriginRequestPolicy2020_05_31"
2098
2261
  o.http_method = "POST"
@@ -2120,6 +2283,22 @@ module Aws::CloudFront
2120
2283
  o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeys)
2121
2284
  end)
2122
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
+
2123
2302
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2124
2303
  o.name = "CreateStreamingDistribution2020_05_31"
2125
2304
  o.http_method = "POST"
@@ -2227,6 +2406,16 @@ module Aws::CloudFront
2227
2406
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
2228
2407
  end)
2229
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
+
2230
2419
  api.add_operation(:delete_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2231
2420
  o.name = "DeleteOriginRequestPolicy2020_05_31"
2232
2421
  o.http_method = "DELETE"
@@ -2254,6 +2443,22 @@ module Aws::CloudFront
2254
2443
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2255
2444
  end)
2256
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
+
2257
2462
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2258
2463
  o.name = "DeleteStreamingDistribution2020_05_31"
2259
2464
  o.http_method = "DELETE"
@@ -2378,6 +2583,16 @@ module Aws::CloudFront
2378
2583
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2379
2584
  end)
2380
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
+
2381
2596
  api.add_operation(:get_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2382
2597
  o.name = "GetOriginRequestPolicy2020_05_31"
2383
2598
  o.http_method = "GET"
@@ -2418,6 +2633,21 @@ module Aws::CloudFront
2418
2633
  o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
2419
2634
  end)
2420
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
+
2421
2651
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2422
2652
  o.name = "GetStreamingDistribution2020_05_31"
2423
2653
  o.http_method = "GET"
@@ -2503,6 +2733,20 @@ module Aws::CloudFront
2503
2733
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2504
2734
  end)
2505
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
+
2506
2750
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
2507
2751
  o.name = "ListDistributionsByWebACLId2020_05_31"
2508
2752
  o.http_method = "GET"
@@ -2569,6 +2813,14 @@ module Aws::CloudFront
2569
2813
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2570
2814
  end)
2571
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
+
2572
2824
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
2573
2825
  o.name = "ListStreamingDistributions2020_05_31"
2574
2826
  o.http_method = "GET"
@@ -2786,6 +3038,21 @@ module Aws::CloudFront
2786
3038
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2787
3039
  end)
2788
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
+
2789
3056
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2790
3057
  o.name = "UpdateStreamingDistribution2020_05_31"
2791
3058
  o.http_method = "PUT"