aws-sdk-cloudfront 1.36.1 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
 
@@ -1473,6 +1588,7 @@ module Aws::CloudFront
1473
1588
  Origins.struct_class = Types::Origins
1474
1589
 
1475
1590
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:enable_accept_encoding_gzip, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "EnableAcceptEncodingGzip"))
1591
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:enable_accept_encoding_brotli, Shapes::ShapeRef.new(shape: boolean, location_name: "EnableAcceptEncodingBrotli"))
1476
1592
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:headers_config, Shapes::ShapeRef.new(shape: CachePolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1477
1593
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:cookies_config, Shapes::ShapeRef.new(shape: CachePolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1478
1594
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:query_strings_config, Shapes::ShapeRef.new(shape: CachePolicyQueryStringsConfig, required: true, location_name: "QueryStringsConfig"))
@@ -1548,6 +1664,31 @@ module Aws::CloudFront
1548
1664
 
1549
1665
  QueryStringNamesList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1550
1666
 
1667
+ RealtimeLogConfig.add_member(:arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ARN"))
1668
+ RealtimeLogConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
1669
+ RealtimeLogConfig.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: long, required: true, location_name: "SamplingRate"))
1670
+ RealtimeLogConfig.add_member(:end_points, Shapes::ShapeRef.new(shape: EndPointList, required: true, location_name: "EndPoints"))
1671
+ RealtimeLogConfig.add_member(:fields, Shapes::ShapeRef.new(shape: FieldList, required: true, location_name: "Fields"))
1672
+ RealtimeLogConfig.struct_class = Types::RealtimeLogConfig
1673
+
1674
+ RealtimeLogConfigAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1675
+ RealtimeLogConfigAlreadyExists.struct_class = Types::RealtimeLogConfigAlreadyExists
1676
+
1677
+ RealtimeLogConfigInUse.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1678
+ RealtimeLogConfigInUse.struct_class = Types::RealtimeLogConfigInUse
1679
+
1680
+ RealtimeLogConfigList.member = Shapes::ShapeRef.new(shape: RealtimeLogConfig)
1681
+
1682
+ RealtimeLogConfigs.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "MaxItems"))
1683
+ RealtimeLogConfigs.add_member(:items, Shapes::ShapeRef.new(shape: RealtimeLogConfigList, location_name: "Items"))
1684
+ RealtimeLogConfigs.add_member(:is_truncated, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "IsTruncated"))
1685
+ RealtimeLogConfigs.add_member(:marker, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Marker"))
1686
+ RealtimeLogConfigs.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
1687
+ RealtimeLogConfigs.struct_class = Types::RealtimeLogConfigs
1688
+
1689
+ RealtimeMetricsSubscriptionConfig.add_member(:realtime_metrics_subscription_status, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionStatus, required: true, location_name: "RealtimeMetricsSubscriptionStatus"))
1690
+ RealtimeMetricsSubscriptionConfig.struct_class = Types::RealtimeMetricsSubscriptionConfig
1691
+
1551
1692
  Restrictions.add_member(:geo_restriction, Shapes::ShapeRef.new(shape: GeoRestriction, required: true, location_name: "GeoRestriction"))
1552
1693
  Restrictions.struct_class = Types::Restrictions
1553
1694
 
@@ -1748,6 +1889,9 @@ module Aws::CloudFront
1748
1889
  TooManyQueryStringsInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1749
1890
  TooManyQueryStringsInOriginRequestPolicy.struct_class = Types::TooManyQueryStringsInOriginRequestPolicy
1750
1891
 
1892
+ TooManyRealtimeLogConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1893
+ TooManyRealtimeLogConfigs.struct_class = Types::TooManyRealtimeLogConfigs
1894
+
1751
1895
  TooManyStreamingDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1752
1896
  TooManyStreamingDistributionCNAMEs.struct_class = Types::TooManyStreamingDistributionCNAMEs
1753
1897
 
@@ -1862,6 +2006,16 @@ module Aws::CloudFront
1862
2006
  UpdatePublicKeyResult[:payload] = :public_key
1863
2007
  UpdatePublicKeyResult[:payload_member] = UpdatePublicKeyResult.member(:public_key)
1864
2008
 
2009
+ UpdateRealtimeLogConfigRequest.add_member(:end_points, Shapes::ShapeRef.new(shape: EndPointList, location_name: "EndPoints"))
2010
+ UpdateRealtimeLogConfigRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldList, location_name: "Fields"))
2011
+ UpdateRealtimeLogConfigRequest.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "Name"))
2012
+ UpdateRealtimeLogConfigRequest.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "ARN"))
2013
+ UpdateRealtimeLogConfigRequest.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: long, location_name: "SamplingRate"))
2014
+ UpdateRealtimeLogConfigRequest.struct_class = Types::UpdateRealtimeLogConfigRequest
2015
+
2016
+ UpdateRealtimeLogConfigResult.add_member(:realtime_log_config, Shapes::ShapeRef.new(shape: RealtimeLogConfig, location_name: "RealtimeLogConfig"))
2017
+ UpdateRealtimeLogConfigResult.struct_class = Types::UpdateRealtimeLogConfigResult
2018
+
1865
2019
  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
2020
  UpdateStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1867
2021
  UpdateStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
@@ -2093,6 +2247,16 @@ module Aws::CloudFront
2093
2247
  o.errors << Shapes::ShapeRef.new(shape: InconsistentQuantities)
2094
2248
  end)
2095
2249
 
2250
+ api.add_operation(:create_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2251
+ o.name = "CreateMonitoringSubscription2020_05_31"
2252
+ o.http_method = "POST"
2253
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
2254
+ o.input = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionRequest)
2255
+ o.output = Shapes::ShapeRef.new(shape: CreateMonitoringSubscriptionResult)
2256
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2257
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2258
+ end)
2259
+
2096
2260
  api.add_operation(:create_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2097
2261
  o.name = "CreateOriginRequestPolicy2020_05_31"
2098
2262
  o.http_method = "POST"
@@ -2120,6 +2284,22 @@ module Aws::CloudFront
2120
2284
  o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeys)
2121
2285
  end)
2122
2286
 
2287
+ api.add_operation(:create_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
2288
+ o.name = "CreateRealtimeLogConfig2020_05_31"
2289
+ o.http_method = "POST"
2290
+ o.http_request_uri = "/2020-05-31/realtime-log-config"
2291
+ o.input = Shapes::ShapeRef.new(shape: CreateRealtimeLogConfigRequest,
2292
+ location_name: "CreateRealtimeLogConfigRequest",
2293
+ metadata: {
2294
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
2295
+ }
2296
+ )
2297
+ o.output = Shapes::ShapeRef.new(shape: CreateRealtimeLogConfigResult)
2298
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigAlreadyExists)
2299
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRealtimeLogConfigs)
2300
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2301
+ end)
2302
+
2123
2303
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2124
2304
  o.name = "CreateStreamingDistribution2020_05_31"
2125
2305
  o.http_method = "POST"
@@ -2227,6 +2407,16 @@ module Aws::CloudFront
2227
2407
  o.errors << Shapes::ShapeRef.new(shape: FieldLevelEncryptionProfileInUse)
2228
2408
  end)
2229
2409
 
2410
+ api.add_operation(:delete_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2411
+ o.name = "DeleteMonitoringSubscription2020_05_31"
2412
+ o.http_method = "DELETE"
2413
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
2414
+ o.input = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionRequest)
2415
+ o.output = Shapes::ShapeRef.new(shape: DeleteMonitoringSubscriptionResult)
2416
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2417
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2418
+ end)
2419
+
2230
2420
  api.add_operation(:delete_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2231
2421
  o.name = "DeleteOriginRequestPolicy2020_05_31"
2232
2422
  o.http_method = "DELETE"
@@ -2254,6 +2444,22 @@ module Aws::CloudFront
2254
2444
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2255
2445
  end)
2256
2446
 
2447
+ api.add_operation(:delete_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
2448
+ o.name = "DeleteRealtimeLogConfig2020_05_31"
2449
+ o.http_method = "POST"
2450
+ o.http_request_uri = "/2020-05-31/delete-realtime-log-config/"
2451
+ o.input = Shapes::ShapeRef.new(shape: DeleteRealtimeLogConfigRequest,
2452
+ location_name: "DeleteRealtimeLogConfigRequest",
2453
+ metadata: {
2454
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
2455
+ }
2456
+ )
2457
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2458
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2459
+ o.errors << Shapes::ShapeRef.new(shape: RealtimeLogConfigInUse)
2460
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2461
+ end)
2462
+
2257
2463
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2258
2464
  o.name = "DeleteStreamingDistribution2020_05_31"
2259
2465
  o.http_method = "DELETE"
@@ -2378,6 +2584,16 @@ module Aws::CloudFront
2378
2584
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2379
2585
  end)
2380
2586
 
2587
+ api.add_operation(:get_monitoring_subscription, Seahorse::Model::Operation.new.tap do |o|
2588
+ o.name = "GetMonitoringSubscription2020_05_31"
2589
+ o.http_method = "GET"
2590
+ o.http_request_uri = "/2020-05-31/distributions/{DistributionId}/monitoring-subscription"
2591
+ o.input = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionRequest)
2592
+ o.output = Shapes::ShapeRef.new(shape: GetMonitoringSubscriptionResult)
2593
+ o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2594
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
2595
+ end)
2596
+
2381
2597
  api.add_operation(:get_origin_request_policy, Seahorse::Model::Operation.new.tap do |o|
2382
2598
  o.name = "GetOriginRequestPolicy2020_05_31"
2383
2599
  o.http_method = "GET"
@@ -2418,6 +2634,21 @@ module Aws::CloudFront
2418
2634
  o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
2419
2635
  end)
2420
2636
 
2637
+ api.add_operation(:get_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
2638
+ o.name = "GetRealtimeLogConfig2020_05_31"
2639
+ o.http_method = "POST"
2640
+ o.http_request_uri = "/2020-05-31/get-realtime-log-config/"
2641
+ o.input = Shapes::ShapeRef.new(shape: GetRealtimeLogConfigRequest,
2642
+ location_name: "GetRealtimeLogConfigRequest",
2643
+ metadata: {
2644
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
2645
+ }
2646
+ )
2647
+ o.output = Shapes::ShapeRef.new(shape: GetRealtimeLogConfigResult)
2648
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
2649
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2650
+ end)
2651
+
2421
2652
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2422
2653
  o.name = "GetStreamingDistribution2020_05_31"
2423
2654
  o.http_method = "GET"
@@ -2503,6 +2734,20 @@ module Aws::CloudFront
2503
2734
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2504
2735
  end)
2505
2736
 
2737
+ api.add_operation(:list_distributions_by_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
2738
+ o.name = "ListDistributionsByRealtimeLogConfig2020_05_31"
2739
+ o.http_method = "POST"
2740
+ o.http_request_uri = "/2020-05-31/distributionsByRealtimeLogConfig/"
2741
+ o.input = Shapes::ShapeRef.new(shape: ListDistributionsByRealtimeLogConfigRequest,
2742
+ location_name: "ListDistributionsByRealtimeLogConfigRequest",
2743
+ metadata: {
2744
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
2745
+ }
2746
+ )
2747
+ o.output = Shapes::ShapeRef.new(shape: ListDistributionsByRealtimeLogConfigResult)
2748
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2749
+ end)
2750
+
2506
2751
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
2507
2752
  o.name = "ListDistributionsByWebACLId2020_05_31"
2508
2753
  o.http_method = "GET"
@@ -2569,6 +2814,14 @@ module Aws::CloudFront
2569
2814
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2570
2815
  end)
2571
2816
 
2817
+ api.add_operation(:list_realtime_log_configs, Seahorse::Model::Operation.new.tap do |o|
2818
+ o.name = "ListRealtimeLogConfigs2020_05_31"
2819
+ o.http_method = "GET"
2820
+ o.http_request_uri = "/2020-05-31/realtime-log-config"
2821
+ o.input = Shapes::ShapeRef.new(shape: ListRealtimeLogConfigsRequest)
2822
+ o.output = Shapes::ShapeRef.new(shape: ListRealtimeLogConfigsResult)
2823
+ end)
2824
+
2572
2825
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
2573
2826
  o.name = "ListStreamingDistributions2020_05_31"
2574
2827
  o.http_method = "GET"
@@ -2786,6 +3039,21 @@ module Aws::CloudFront
2786
3039
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2787
3040
  end)
2788
3041
 
3042
+ api.add_operation(:update_realtime_log_config, Seahorse::Model::Operation.new.tap do |o|
3043
+ o.name = "UpdateRealtimeLogConfig2020_05_31"
3044
+ o.http_method = "PUT"
3045
+ o.http_request_uri = "/2020-05-31/realtime-log-config/"
3046
+ o.input = Shapes::ShapeRef.new(shape: UpdateRealtimeLogConfigRequest,
3047
+ location_name: "UpdateRealtimeLogConfigRequest",
3048
+ metadata: {
3049
+ "xmlNamespace" => {"uri"=>"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
3050
+ }
3051
+ )
3052
+ o.output = Shapes::ShapeRef.new(shape: UpdateRealtimeLogConfigResult)
3053
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchRealtimeLogConfig)
3054
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
3055
+ end)
3056
+
2789
3057
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2790
3058
  o.name = "UpdateStreamingDistribution2020_05_31"
2791
3059
  o.http_method = "PUT"