aws-sdk-cloudfront 1.38.0 → 1.43.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.
@@ -78,6 +78,8 @@ module Aws::CloudFront
78
78
  CreateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'CreateOriginRequestPolicyResult')
79
79
  CreatePublicKeyRequest = Shapes::StructureShape.new(name: 'CreatePublicKeyRequest')
80
80
  CreatePublicKeyResult = Shapes::StructureShape.new(name: 'CreatePublicKeyResult')
81
+ CreateRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'CreateRealtimeLogConfigRequest')
82
+ CreateRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'CreateRealtimeLogConfigResult')
81
83
  CreateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionRequest')
82
84
  CreateStreamingDistributionResult = Shapes::StructureShape.new(name: 'CreateStreamingDistributionResult')
83
85
  CreateStreamingDistributionWithTagsRequest = Shapes::StructureShape.new(name: 'CreateStreamingDistributionWithTagsRequest')
@@ -97,6 +99,7 @@ module Aws::CloudFront
97
99
  DeleteMonitoringSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteMonitoringSubscriptionResult')
98
100
  DeleteOriginRequestPolicyRequest = Shapes::StructureShape.new(name: 'DeleteOriginRequestPolicyRequest')
99
101
  DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest')
102
+ DeleteRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'DeleteRealtimeLogConfigRequest')
100
103
  DeleteStreamingDistributionRequest = Shapes::StructureShape.new(name: 'DeleteStreamingDistributionRequest')
101
104
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
102
105
  DistributionAlreadyExists = Shapes::StructureShape.new(name: 'DistributionAlreadyExists')
@@ -111,6 +114,8 @@ module Aws::CloudFront
111
114
  EncryptionEntities = Shapes::StructureShape.new(name: 'EncryptionEntities')
112
115
  EncryptionEntity = Shapes::StructureShape.new(name: 'EncryptionEntity')
113
116
  EncryptionEntityList = Shapes::ListShape.new(name: 'EncryptionEntityList')
117
+ EndPoint = Shapes::StructureShape.new(name: 'EndPoint')
118
+ EndPointList = Shapes::ListShape.new(name: 'EndPointList')
114
119
  EventType = Shapes::StringShape.new(name: 'EventType')
115
120
  FieldLevelEncryption = Shapes::StructureShape.new(name: 'FieldLevelEncryption')
116
121
  FieldLevelEncryptionConfig = Shapes::StructureShape.new(name: 'FieldLevelEncryptionConfig')
@@ -127,6 +132,7 @@ module Aws::CloudFront
127
132
  FieldLevelEncryptionProfileSummaryList = Shapes::ListShape.new(name: 'FieldLevelEncryptionProfileSummaryList')
128
133
  FieldLevelEncryptionSummary = Shapes::StructureShape.new(name: 'FieldLevelEncryptionSummary')
129
134
  FieldLevelEncryptionSummaryList = Shapes::ListShape.new(name: 'FieldLevelEncryptionSummaryList')
135
+ FieldList = Shapes::ListShape.new(name: 'FieldList')
130
136
  FieldPatternList = Shapes::ListShape.new(name: 'FieldPatternList')
131
137
  FieldPatterns = Shapes::StructureShape.new(name: 'FieldPatterns')
132
138
  Format = Shapes::StringShape.new(name: 'Format')
@@ -165,6 +171,8 @@ module Aws::CloudFront
165
171
  GetPublicKeyConfigResult = Shapes::StructureShape.new(name: 'GetPublicKeyConfigResult')
166
172
  GetPublicKeyRequest = Shapes::StructureShape.new(name: 'GetPublicKeyRequest')
167
173
  GetPublicKeyResult = Shapes::StructureShape.new(name: 'GetPublicKeyResult')
174
+ GetRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigRequest')
175
+ GetRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'GetRealtimeLogConfigResult')
168
176
  GetStreamingDistributionConfigRequest = Shapes::StructureShape.new(name: 'GetStreamingDistributionConfigRequest')
169
177
  GetStreamingDistributionConfigResult = Shapes::StructureShape.new(name: 'GetStreamingDistributionConfigResult')
170
178
  GetStreamingDistributionRequest = Shapes::StructureShape.new(name: 'GetStreamingDistributionRequest')
@@ -208,6 +216,7 @@ module Aws::CloudFront
208
216
  ItemSelection = Shapes::StringShape.new(name: 'ItemSelection')
209
217
  KeyPairIdList = Shapes::ListShape.new(name: 'KeyPairIdList')
210
218
  KeyPairIds = Shapes::StructureShape.new(name: 'KeyPairIds')
219
+ KinesisStreamConfig = Shapes::StructureShape.new(name: 'KinesisStreamConfig')
211
220
  LambdaFunctionARN = Shapes::StringShape.new(name: 'LambdaFunctionARN')
212
221
  LambdaFunctionAssociation = Shapes::StructureShape.new(name: 'LambdaFunctionAssociation')
213
222
  LambdaFunctionAssociationList = Shapes::ListShape.new(name: 'LambdaFunctionAssociationList')
@@ -220,6 +229,8 @@ module Aws::CloudFront
220
229
  ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
221
230
  ListDistributionsByOriginRequestPolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdRequest')
222
231
  ListDistributionsByOriginRequestPolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByOriginRequestPolicyIdResult')
232
+ ListDistributionsByRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigRequest')
233
+ ListDistributionsByRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'ListDistributionsByRealtimeLogConfigResult')
223
234
  ListDistributionsByWebACLIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdRequest')
224
235
  ListDistributionsByWebACLIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByWebACLIdResult')
225
236
  ListDistributionsRequest = Shapes::StructureShape.new(name: 'ListDistributionsRequest')
@@ -234,6 +245,8 @@ module Aws::CloudFront
234
245
  ListOriginRequestPoliciesResult = Shapes::StructureShape.new(name: 'ListOriginRequestPoliciesResult')
235
246
  ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
236
247
  ListPublicKeysResult = Shapes::StructureShape.new(name: 'ListPublicKeysResult')
248
+ ListRealtimeLogConfigsRequest = Shapes::StructureShape.new(name: 'ListRealtimeLogConfigsRequest')
249
+ ListRealtimeLogConfigsResult = Shapes::StructureShape.new(name: 'ListRealtimeLogConfigsResult')
237
250
  ListStreamingDistributionsRequest = Shapes::StructureShape.new(name: 'ListStreamingDistributionsRequest')
238
251
  ListStreamingDistributionsResult = Shapes::StructureShape.new(name: 'ListStreamingDistributionsResult')
239
252
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -254,6 +267,7 @@ module Aws::CloudFront
254
267
  NoSuchOrigin = Shapes::StructureShape.new(name: 'NoSuchOrigin')
255
268
  NoSuchOriginRequestPolicy = Shapes::StructureShape.new(name: 'NoSuchOriginRequestPolicy')
256
269
  NoSuchPublicKey = Shapes::StructureShape.new(name: 'NoSuchPublicKey')
270
+ NoSuchRealtimeLogConfig = Shapes::StructureShape.new(name: 'NoSuchRealtimeLogConfig')
257
271
  NoSuchResource = Shapes::StructureShape.new(name: 'NoSuchResource')
258
272
  NoSuchStreamingDistribution = Shapes::StructureShape.new(name: 'NoSuchStreamingDistribution')
259
273
  Origin = Shapes::StructureShape.new(name: 'Origin')
@@ -305,6 +319,11 @@ module Aws::CloudFront
305
319
  QueryStringCacheKeysList = Shapes::ListShape.new(name: 'QueryStringCacheKeysList')
306
320
  QueryStringNames = Shapes::StructureShape.new(name: 'QueryStringNames')
307
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')
308
327
  RealtimeMetricsSubscriptionConfig = Shapes::StructureShape.new(name: 'RealtimeMetricsSubscriptionConfig')
309
328
  RealtimeMetricsSubscriptionStatus = Shapes::StringShape.new(name: 'RealtimeMetricsSubscriptionStatus')
310
329
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
@@ -368,6 +387,7 @@ module Aws::CloudFront
368
387
  TooManyQueryStringParameters = Shapes::StructureShape.new(name: 'TooManyQueryStringParameters')
369
388
  TooManyQueryStringsInCachePolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInCachePolicy')
370
389
  TooManyQueryStringsInOriginRequestPolicy = Shapes::StructureShape.new(name: 'TooManyQueryStringsInOriginRequestPolicy')
390
+ TooManyRealtimeLogConfigs = Shapes::StructureShape.new(name: 'TooManyRealtimeLogConfigs')
371
391
  TooManyStreamingDistributionCNAMEs = Shapes::StructureShape.new(name: 'TooManyStreamingDistributionCNAMEs')
372
392
  TooManyStreamingDistributions = Shapes::StructureShape.new(name: 'TooManyStreamingDistributions')
373
393
  TooManyTrustedSigners = Shapes::StructureShape.new(name: 'TooManyTrustedSigners')
@@ -388,6 +408,8 @@ module Aws::CloudFront
388
408
  UpdateOriginRequestPolicyResult = Shapes::StructureShape.new(name: 'UpdateOriginRequestPolicyResult')
389
409
  UpdatePublicKeyRequest = Shapes::StructureShape.new(name: 'UpdatePublicKeyRequest')
390
410
  UpdatePublicKeyResult = Shapes::StructureShape.new(name: 'UpdatePublicKeyResult')
411
+ UpdateRealtimeLogConfigRequest = Shapes::StructureShape.new(name: 'UpdateRealtimeLogConfigRequest')
412
+ UpdateRealtimeLogConfigResult = Shapes::StructureShape.new(name: 'UpdateRealtimeLogConfigResult')
391
413
  UpdateStreamingDistributionRequest = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionRequest')
392
414
  UpdateStreamingDistributionResult = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionResult')
393
415
  ViewerCertificate = Shapes::StructureShape.new(name: 'ViewerCertificate')
@@ -440,6 +462,7 @@ module Aws::CloudFront
440
462
  CacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
441
463
  CacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
442
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"))
443
466
  CacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
444
467
  CacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
445
468
  CacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
@@ -678,6 +701,15 @@ module Aws::CloudFront
678
701
  CreatePublicKeyResult[:payload] = :public_key
679
702
  CreatePublicKeyResult[:payload_member] = CreatePublicKeyResult.member(:public_key)
680
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
+
681
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/"}}))
682
714
  CreateStreamingDistributionRequest.struct_class = Types::CreateStreamingDistributionRequest
683
715
  CreateStreamingDistributionRequest[:payload] = :streaming_distribution_config
@@ -734,6 +766,7 @@ module Aws::CloudFront
734
766
  DefaultCacheBehavior.add_member(:compress, Shapes::ShapeRef.new(shape: boolean, location_name: "Compress"))
735
767
  DefaultCacheBehavior.add_member(:lambda_function_associations, Shapes::ShapeRef.new(shape: LambdaFunctionAssociations, location_name: "LambdaFunctionAssociations"))
736
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"))
737
770
  DefaultCacheBehavior.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "CachePolicyId"))
738
771
  DefaultCacheBehavior.add_member(:origin_request_policy_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginRequestPolicyId"))
739
772
  DefaultCacheBehavior.add_member(:forwarded_values, Shapes::ShapeRef.new(shape: ForwardedValues, deprecated: true, location_name: "ForwardedValues"))
@@ -775,6 +808,10 @@ module Aws::CloudFront
775
808
  DeletePublicKeyRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
776
809
  DeletePublicKeyRequest.struct_class = Types::DeletePublicKeyRequest
777
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
+
778
815
  DeleteStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
779
816
  DeleteStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
780
817
  DeleteStreamingDistributionRequest.struct_class = Types::DeleteStreamingDistributionRequest
@@ -872,6 +909,12 @@ module Aws::CloudFront
872
909
 
873
910
  EncryptionEntityList.member = Shapes::ShapeRef.new(shape: EncryptionEntity, location_name: "EncryptionEntity")
874
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
+
875
918
  FieldLevelEncryption.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Id"))
876
919
  FieldLevelEncryption.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastModifiedTime"))
877
920
  FieldLevelEncryption.add_member(:field_level_encryption_config, Shapes::ShapeRef.new(shape: FieldLevelEncryptionConfig, required: true, location_name: "FieldLevelEncryptionConfig"))
@@ -939,6 +982,8 @@ module Aws::CloudFront
939
982
 
940
983
  FieldLevelEncryptionSummaryList.member = Shapes::ShapeRef.new(shape: FieldLevelEncryptionSummary, location_name: "FieldLevelEncryptionSummary")
941
984
 
985
+ FieldList.member = Shapes::ShapeRef.new(shape: string, location_name: "Field")
986
+
942
987
  FieldPatternList.member = Shapes::ShapeRef.new(shape: string, location_name: "FieldPattern")
943
988
 
944
989
  FieldPatterns.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
@@ -1099,6 +1144,13 @@ module Aws::CloudFront
1099
1144
  GetPublicKeyResult[:payload] = :public_key
1100
1145
  GetPublicKeyResult[:payload_member] = GetPublicKeyResult.member(:public_key)
1101
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
+
1102
1154
  GetStreamingDistributionConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1103
1155
  GetStreamingDistributionConfigRequest.struct_class = Types::GetStreamingDistributionConfigRequest
1104
1156
 
@@ -1235,6 +1287,10 @@ module Aws::CloudFront
1235
1287
  KeyPairIds.add_member(:items, Shapes::ShapeRef.new(shape: KeyPairIdList, location_name: "Items"))
1236
1288
  KeyPairIds.struct_class = Types::KeyPairIds
1237
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
+
1238
1294
  LambdaFunctionAssociation.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: LambdaFunctionARN, required: true, location_name: "LambdaFunctionARN"))
1239
1295
  LambdaFunctionAssociation.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "EventType"))
1240
1296
  LambdaFunctionAssociation.add_member(:include_body, Shapes::ShapeRef.new(shape: boolean, location_name: "IncludeBody"))
@@ -1285,6 +1341,17 @@ module Aws::CloudFront
1285
1341
  ListDistributionsByOriginRequestPolicyIdResult[:payload] = :distribution_id_list
1286
1342
  ListDistributionsByOriginRequestPolicyIdResult[:payload_member] = ListDistributionsByOriginRequestPolicyIdResult.member(:distribution_id_list)
1287
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
+
1288
1355
  ListDistributionsByWebACLIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1289
1356
  ListDistributionsByWebACLIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1290
1357
  ListDistributionsByWebACLIdRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "WebACLId"))
@@ -1351,6 +1418,15 @@ module Aws::CloudFront
1351
1418
  ListPublicKeysResult[:payload] = :public_key_list
1352
1419
  ListPublicKeysResult[:payload_member] = ListPublicKeysResult.member(:public_key_list)
1353
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
+
1354
1430
  ListStreamingDistributionsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
1355
1431
  ListStreamingDistributionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
1356
1432
  ListStreamingDistributionsRequest.struct_class = Types::ListStreamingDistributionsRequest
@@ -1411,6 +1487,9 @@ module Aws::CloudFront
1411
1487
  NoSuchPublicKey.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1412
1488
  NoSuchPublicKey.struct_class = Types::NoSuchPublicKey
1413
1489
 
1490
+ NoSuchRealtimeLogConfig.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1491
+ NoSuchRealtimeLogConfig.struct_class = Types::NoSuchRealtimeLogConfig
1492
+
1414
1493
  NoSuchResource.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1415
1494
  NoSuchResource.struct_class = Types::NoSuchResource
1416
1495
 
@@ -1509,6 +1588,7 @@ module Aws::CloudFront
1509
1588
  Origins.struct_class = Types::Origins
1510
1589
 
1511
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"))
1512
1592
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:headers_config, Shapes::ShapeRef.new(shape: CachePolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1513
1593
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:cookies_config, Shapes::ShapeRef.new(shape: CachePolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1514
1594
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:query_strings_config, Shapes::ShapeRef.new(shape: CachePolicyQueryStringsConfig, required: true, location_name: "QueryStringsConfig"))
@@ -1584,6 +1664,28 @@ module Aws::CloudFront
1584
1664
 
1585
1665
  QueryStringNamesList.member = Shapes::ShapeRef.new(shape: string, location_name: "Name")
1586
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
+
1587
1689
  RealtimeMetricsSubscriptionConfig.add_member(:realtime_metrics_subscription_status, Shapes::ShapeRef.new(shape: RealtimeMetricsSubscriptionStatus, required: true, location_name: "RealtimeMetricsSubscriptionStatus"))
1588
1690
  RealtimeMetricsSubscriptionConfig.struct_class = Types::RealtimeMetricsSubscriptionConfig
1589
1691
 
@@ -1787,6 +1889,9 @@ module Aws::CloudFront
1787
1889
  TooManyQueryStringsInOriginRequestPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1788
1890
  TooManyQueryStringsInOriginRequestPolicy.struct_class = Types::TooManyQueryStringsInOriginRequestPolicy
1789
1891
 
1892
+ TooManyRealtimeLogConfigs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1893
+ TooManyRealtimeLogConfigs.struct_class = Types::TooManyRealtimeLogConfigs
1894
+
1790
1895
  TooManyStreamingDistributionCNAMEs.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1791
1896
  TooManyStreamingDistributionCNAMEs.struct_class = Types::TooManyStreamingDistributionCNAMEs
1792
1897
 
@@ -1901,6 +2006,16 @@ module Aws::CloudFront
1901
2006
  UpdatePublicKeyResult[:payload] = :public_key
1902
2007
  UpdatePublicKeyResult[:payload_member] = UpdatePublicKeyResult.member(:public_key)
1903
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
+
1904
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/"}}))
1905
2020
  UpdateStreamingDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "Id"))
1906
2021
  UpdateStreamingDistributionRequest.add_member(:if_match, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "If-Match"))
@@ -2169,6 +2284,22 @@ module Aws::CloudFront
2169
2284
  o.errors << Shapes::ShapeRef.new(shape: TooManyPublicKeys)
2170
2285
  end)
2171
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
+
2172
2303
  api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2173
2304
  o.name = "CreateStreamingDistribution2020_05_31"
2174
2305
  o.http_method = "POST"
@@ -2313,6 +2444,22 @@ module Aws::CloudFront
2313
2444
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2314
2445
  end)
2315
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
+
2316
2463
  api.add_operation(:delete_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2317
2464
  o.name = "DeleteStreamingDistribution2020_05_31"
2318
2465
  o.http_method = "DELETE"
@@ -2487,6 +2634,21 @@ module Aws::CloudFront
2487
2634
  o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicKey)
2488
2635
  end)
2489
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
+
2490
2652
  api.add_operation(:get_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2491
2653
  o.name = "GetStreamingDistribution2020_05_31"
2492
2654
  o.http_method = "GET"
@@ -2572,6 +2734,20 @@ module Aws::CloudFront
2572
2734
  o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
2573
2735
  end)
2574
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
+
2575
2751
  api.add_operation(:list_distributions_by_web_acl_id, Seahorse::Model::Operation.new.tap do |o|
2576
2752
  o.name = "ListDistributionsByWebACLId2020_05_31"
2577
2753
  o.http_method = "GET"
@@ -2638,6 +2814,14 @@ module Aws::CloudFront
2638
2814
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
2639
2815
  end)
2640
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
+
2641
2825
  api.add_operation(:list_streaming_distributions, Seahorse::Model::Operation.new.tap do |o|
2642
2826
  o.name = "ListStreamingDistributions2020_05_31"
2643
2827
  o.http_method = "GET"
@@ -2855,6 +3039,21 @@ module Aws::CloudFront
2855
3039
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
2856
3040
  end)
2857
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
+
2858
3057
  api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o|
2859
3058
  o.name = "UpdateStreamingDistribution2020_05_31"
2860
3059
  o.http_method = "PUT"
@@ -79,6 +79,7 @@ module Aws::CloudFront
79
79
  # * {NoSuchOrigin}
80
80
  # * {NoSuchOriginRequestPolicy}
81
81
  # * {NoSuchPublicKey}
82
+ # * {NoSuchRealtimeLogConfig}
82
83
  # * {NoSuchResource}
83
84
  # * {NoSuchStreamingDistribution}
84
85
  # * {OriginRequestPolicyAlreadyExists}
@@ -87,6 +88,8 @@ module Aws::CloudFront
87
88
  # * {PublicKeyAlreadyExists}
88
89
  # * {PublicKeyInUse}
89
90
  # * {QueryArgProfileEmpty}
91
+ # * {RealtimeLogConfigAlreadyExists}
92
+ # * {RealtimeLogConfigInUse}
90
93
  # * {StreamingDistributionAlreadyExists}
91
94
  # * {StreamingDistributionNotDisabled}
92
95
  # * {TooManyCacheBehaviors}
@@ -122,6 +125,7 @@ module Aws::CloudFront
122
125
  # * {TooManyQueryStringParameters}
123
126
  # * {TooManyQueryStringsInCachePolicy}
124
127
  # * {TooManyQueryStringsInOriginRequestPolicy}
128
+ # * {TooManyRealtimeLogConfigs}
125
129
  # * {TooManyStreamingDistributionCNAMEs}
126
130
  # * {TooManyStreamingDistributions}
127
131
  # * {TooManyTrustedSigners}
@@ -913,6 +917,21 @@ module Aws::CloudFront
913
917
  end
914
918
  end
915
919
 
920
+ class NoSuchRealtimeLogConfig < ServiceError
921
+
922
+ # @param [Seahorse::Client::RequestContext] context
923
+ # @param [String] message
924
+ # @param [Aws::CloudFront::Types::NoSuchRealtimeLogConfig] data
925
+ def initialize(context, message, data = Aws::EmptyStructure.new)
926
+ super(context, message, data)
927
+ end
928
+
929
+ # @return [String]
930
+ def message
931
+ @message || @data[:message]
932
+ end
933
+ end
934
+
916
935
  class NoSuchResource < ServiceError
917
936
 
918
937
  # @param [Seahorse::Client::RequestContext] context
@@ -1033,6 +1052,36 @@ module Aws::CloudFront
1033
1052
  end
1034
1053
  end
1035
1054
 
1055
+ class RealtimeLogConfigAlreadyExists < ServiceError
1056
+
1057
+ # @param [Seahorse::Client::RequestContext] context
1058
+ # @param [String] message
1059
+ # @param [Aws::CloudFront::Types::RealtimeLogConfigAlreadyExists] data
1060
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1061
+ super(context, message, data)
1062
+ end
1063
+
1064
+ # @return [String]
1065
+ def message
1066
+ @message || @data[:message]
1067
+ end
1068
+ end
1069
+
1070
+ class RealtimeLogConfigInUse < ServiceError
1071
+
1072
+ # @param [Seahorse::Client::RequestContext] context
1073
+ # @param [String] message
1074
+ # @param [Aws::CloudFront::Types::RealtimeLogConfigInUse] data
1075
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1076
+ super(context, message, data)
1077
+ end
1078
+
1079
+ # @return [String]
1080
+ def message
1081
+ @message || @data[:message]
1082
+ end
1083
+ end
1084
+
1036
1085
  class StreamingDistributionAlreadyExists < ServiceError
1037
1086
 
1038
1087
  # @param [Seahorse::Client::RequestContext] context
@@ -1558,6 +1607,21 @@ module Aws::CloudFront
1558
1607
  end
1559
1608
  end
1560
1609
 
1610
+ class TooManyRealtimeLogConfigs < ServiceError
1611
+
1612
+ # @param [Seahorse::Client::RequestContext] context
1613
+ # @param [String] message
1614
+ # @param [Aws::CloudFront::Types::TooManyRealtimeLogConfigs] data
1615
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1616
+ super(context, message, data)
1617
+ end
1618
+
1619
+ # @return [String]
1620
+ def message
1621
+ @message || @data[:message]
1622
+ end
1623
+ end
1624
+
1561
1625
  class TooManyStreamingDistributionCNAMEs < ServiceError
1562
1626
 
1563
1627
  # @param [Seahorse::Client::RequestContext] context