aws-sdk-cloudfront 1.38.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80f91c775fc7695451e46b1afd60d6a3d9a21274478e34cdf73702dadc861a9e
4
- data.tar.gz: 5aba3807cab92b727132024c6f92341ade514707049be67ed775904652127145
3
+ metadata.gz: ccbe8660ce4fda87fe3a3157c315daa421ce434071b370585bc5d4f179681074
4
+ data.tar.gz: 0272b69b1e15a4aa169e557997a108eb4cdb3ed19be56b245e88c2d374d62910
5
5
  SHA512:
6
- metadata.gz: 0a0ac288aa8b402ddb79a5b2418d5c0d773df25d47100e87895ef36b781870f782325fe11c4604f2692f4fe746dd30c1162ce1749cdb76c70434348e64362627
7
- data.tar.gz: 1dec6fc46bf4803791f888f6516cc9cb0e01b317a29e05e69edc011c8200a265f26f2900ff6e95fa9047de9aa8ab9f246c65dffa8a8a3bf15e060af8dcb42983
6
+ metadata.gz: d363da19bb0b769819f0abdbae0db739ecc381a4f5c8afab2e480f5fe4885af40d5c850c967751b5a769acb0de315209f4f6bef32ef8aa69b05947696b97605e
7
+ data.tar.gz: 59676ce258bca96f30063cfd32b85b27fff69a6fcb9a64b917d8a59c6ca8404c9bb78bacee401ec7f851124d0a889834f06ccdc95f11600c567ef3eb1b6ccc0f
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
48
48
  # @!group service
49
49
  module Aws::CloudFront
50
50
 
51
- GEM_VERSION = '1.38.0'
51
+ GEM_VERSION = '1.39.0'
52
52
 
53
53
  end
@@ -606,6 +606,7 @@ module Aws::CloudFront
606
606
  # ],
607
607
  # },
608
608
  # field_level_encryption_id: "string",
609
+ # realtime_log_config_arn: "string",
609
610
  # cache_policy_id: "string",
610
611
  # origin_request_policy_id: "string",
611
612
  # forwarded_values: {
@@ -663,6 +664,7 @@ module Aws::CloudFront
663
664
  # ],
664
665
  # },
665
666
  # field_level_encryption_id: "string",
667
+ # realtime_log_config_arn: "string",
666
668
  # cache_policy_id: "string",
667
669
  # origin_request_policy_id: "string",
668
670
  # forwarded_values: {
@@ -713,7 +715,7 @@ module Aws::CloudFront
713
715
  # cloud_front_default_certificate: false,
714
716
  # iam_certificate_id: "string",
715
717
  # acm_certificate_arn: "string",
716
- # ssl_support_method: "sni-only", # accepts sni-only, vip
718
+ # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
717
719
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
718
720
  # certificate: "string",
719
721
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
@@ -800,6 +802,7 @@ module Aws::CloudFront
800
802
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
801
803
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
802
804
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
805
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
803
806
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
804
807
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
805
808
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -839,6 +842,7 @@ module Aws::CloudFront
839
842
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
840
843
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
841
844
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
845
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
842
846
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
843
847
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
844
848
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -871,7 +875,7 @@ module Aws::CloudFront
871
875
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
872
876
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
873
877
  # resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
874
- # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
878
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
875
879
  # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
876
880
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
877
881
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -1005,6 +1009,7 @@ module Aws::CloudFront
1005
1009
  # ],
1006
1010
  # },
1007
1011
  # field_level_encryption_id: "string",
1012
+ # realtime_log_config_arn: "string",
1008
1013
  # cache_policy_id: "string",
1009
1014
  # origin_request_policy_id: "string",
1010
1015
  # forwarded_values: {
@@ -1062,6 +1067,7 @@ module Aws::CloudFront
1062
1067
  # ],
1063
1068
  # },
1064
1069
  # field_level_encryption_id: "string",
1070
+ # realtime_log_config_arn: "string",
1065
1071
  # cache_policy_id: "string",
1066
1072
  # origin_request_policy_id: "string",
1067
1073
  # forwarded_values: {
@@ -1112,7 +1118,7 @@ module Aws::CloudFront
1112
1118
  # cloud_front_default_certificate: false,
1113
1119
  # iam_certificate_id: "string",
1114
1120
  # acm_certificate_arn: "string",
1115
- # ssl_support_method: "sni-only", # accepts sni-only, vip
1121
+ # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
1116
1122
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
1117
1123
  # certificate: "string",
1118
1124
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
@@ -1208,6 +1214,7 @@ module Aws::CloudFront
1208
1214
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1209
1215
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
1210
1216
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
1217
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
1211
1218
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
1212
1219
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
1213
1220
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -1247,6 +1254,7 @@ module Aws::CloudFront
1247
1254
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
1248
1255
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
1249
1256
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
1257
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
1250
1258
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
1251
1259
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
1252
1260
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -1279,7 +1287,7 @@ module Aws::CloudFront
1279
1287
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
1280
1288
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
1281
1289
  # resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
1282
- # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
1290
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
1283
1291
  # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
1284
1292
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
1285
1293
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -1675,6 +1683,84 @@ module Aws::CloudFront
1675
1683
  req.send_request(options)
1676
1684
  end
1677
1685
 
1686
+ # Creates a real-time log configuration.
1687
+ #
1688
+ # After you create a real-time log configuration, you can attach it to
1689
+ # one or more cache behaviors to send real-time log data to the
1690
+ # specified Amazon Kinesis data stream.
1691
+ #
1692
+ # For more information about real-time log configurations, see
1693
+ # [Real-time logs][1] in the *Amazon CloudFront Developer Guide*.
1694
+ #
1695
+ #
1696
+ #
1697
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html
1698
+ #
1699
+ # @option params [required, Array<Types::EndPoint>] :end_points
1700
+ # Contains information about the Amazon Kinesis data stream where you
1701
+ # are sending real-time log data.
1702
+ #
1703
+ # @option params [required, Array<String>] :fields
1704
+ # A list of fields to include in each real-time log record.
1705
+ #
1706
+ # For more information about fields, see [Real-time log configuration
1707
+ # fields][1] in the *Amazon CloudFront Developer Guide*.
1708
+ #
1709
+ #
1710
+ #
1711
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
1712
+ #
1713
+ # @option params [required, String] :name
1714
+ # A unique name to identify this real-time log configuration.
1715
+ #
1716
+ # @option params [required, Integer] :sampling_rate
1717
+ # The sampling rate for this real-time log configuration. The sampling
1718
+ # rate determines the percentage of viewer requests that are represented
1719
+ # in the real-time log data. You must provide an integer between 1 and
1720
+ # 100, inclusive.
1721
+ #
1722
+ # @return [Types::CreateRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1723
+ #
1724
+ # * {Types::CreateRealtimeLogConfigResult#realtime_log_config #realtime_log_config} => Types::RealtimeLogConfig
1725
+ #
1726
+ # @example Request syntax with placeholder values
1727
+ #
1728
+ # resp = client.create_realtime_log_config({
1729
+ # end_points: [ # required
1730
+ # {
1731
+ # stream_type: "string", # required
1732
+ # kinesis_stream_config: {
1733
+ # role_arn: "string", # required
1734
+ # stream_arn: "string", # required
1735
+ # },
1736
+ # },
1737
+ # ],
1738
+ # fields: ["string"], # required
1739
+ # name: "string", # required
1740
+ # sampling_rate: 1, # required
1741
+ # })
1742
+ #
1743
+ # @example Response structure
1744
+ #
1745
+ # resp.realtime_log_config.arn #=> String
1746
+ # resp.realtime_log_config.name #=> String
1747
+ # resp.realtime_log_config.sampling_rate #=> Integer
1748
+ # resp.realtime_log_config.end_points #=> Array
1749
+ # resp.realtime_log_config.end_points[0].stream_type #=> String
1750
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.role_arn #=> String
1751
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.stream_arn #=> String
1752
+ # resp.realtime_log_config.fields #=> Array
1753
+ # resp.realtime_log_config.fields[0] #=> String
1754
+ #
1755
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfig2020_05_31 AWS API Documentation
1756
+ #
1757
+ # @overload create_realtime_log_config(params = {})
1758
+ # @param [Hash] params ({})
1759
+ def create_realtime_log_config(params = {}, options = {})
1760
+ req = build_request(:create_realtime_log_config, params)
1761
+ req.send_request(options)
1762
+ end
1763
+
1678
1764
  # Creates a new RTMP distribution. An RTMP distribution is similar to a
1679
1765
  # web distribution, but an RTMP distribution streams media files using
1680
1766
  # the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files
@@ -2117,6 +2203,43 @@ module Aws::CloudFront
2117
2203
  req.send_request(options)
2118
2204
  end
2119
2205
 
2206
+ # Deletes a real-time log configuration.
2207
+ #
2208
+ # You cannot delete a real-time log configuration if it’s attached to a
2209
+ # cache behavior. First update your distributions to remove the
2210
+ # real-time log configuration from all cache behaviors, then delete the
2211
+ # real-time log configuration.
2212
+ #
2213
+ # To delete a real-time log configuration, you can provide the
2214
+ # configuration’s name or its Amazon Resource Name (ARN). You must
2215
+ # provide at least one. If you provide both, CloudFront uses the name to
2216
+ # identify the real-time log configuration to delete.
2217
+ #
2218
+ # @option params [String] :name
2219
+ # The name of the real-time log configuration to delete.
2220
+ #
2221
+ # @option params [String] :arn
2222
+ # The Amazon Resource Name (ARN) of the real-time log configuration to
2223
+ # delete.
2224
+ #
2225
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2226
+ #
2227
+ # @example Request syntax with placeholder values
2228
+ #
2229
+ # resp = client.delete_realtime_log_config({
2230
+ # name: "string",
2231
+ # arn: "string",
2232
+ # })
2233
+ #
2234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteRealtimeLogConfig2020_05_31 AWS API Documentation
2235
+ #
2236
+ # @overload delete_realtime_log_config(params = {})
2237
+ # @param [Hash] params ({})
2238
+ def delete_realtime_log_config(params = {}, options = {})
2239
+ req = build_request(:delete_realtime_log_config, params)
2240
+ req.send_request(options)
2241
+ end
2242
+
2120
2243
  # Delete a streaming distribution. To delete an RTMP distribution using
2121
2244
  # the CloudFront API, perform the following steps.
2122
2245
  #
@@ -2458,6 +2581,7 @@ module Aws::CloudFront
2458
2581
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
2459
2582
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
2460
2583
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
2584
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
2461
2585
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
2462
2586
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
2463
2587
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -2497,6 +2621,7 @@ module Aws::CloudFront
2497
2621
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
2498
2622
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
2499
2623
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
2624
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
2500
2625
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
2501
2626
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
2502
2627
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -2529,7 +2654,7 @@ module Aws::CloudFront
2529
2654
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
2530
2655
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
2531
2656
  # resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
2532
- # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
2657
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
2533
2658
  # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
2534
2659
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
2535
2660
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -2632,6 +2757,7 @@ module Aws::CloudFront
2632
2757
  # resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
2633
2758
  # resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
2634
2759
  # resp.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
2760
+ # resp.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
2635
2761
  # resp.distribution_config.default_cache_behavior.cache_policy_id #=> String
2636
2762
  # resp.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
2637
2763
  # resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -2671,6 +2797,7 @@ module Aws::CloudFront
2671
2797
  # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
2672
2798
  # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
2673
2799
  # resp.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
2800
+ # resp.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
2674
2801
  # resp.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
2675
2802
  # resp.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
2676
2803
  # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -2703,7 +2830,7 @@ module Aws::CloudFront
2703
2830
  # resp.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
2704
2831
  # resp.distribution_config.viewer_certificate.iam_certificate_id #=> String
2705
2832
  # resp.distribution_config.viewer_certificate.acm_certificate_arn #=> String
2706
- # resp.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
2833
+ # resp.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
2707
2834
  # resp.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
2708
2835
  # resp.distribution_config.viewer_certificate.certificate #=> String
2709
2836
  # resp.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -3152,6 +3279,52 @@ module Aws::CloudFront
3152
3279
  req.send_request(options)
3153
3280
  end
3154
3281
 
3282
+ # Gets a real-time log configuration.
3283
+ #
3284
+ # To get a real-time log configuration, you can provide the
3285
+ # configuration’s name or its Amazon Resource Name (ARN). You must
3286
+ # provide at least one. If you provide both, CloudFront uses the name to
3287
+ # identify the real-time log configuration to get.
3288
+ #
3289
+ # @option params [String] :name
3290
+ # The name of the real-time log configuration to get.
3291
+ #
3292
+ # @option params [String] :arn
3293
+ # The Amazon Resource Name (ARN) of the real-time log configuration to
3294
+ # get.
3295
+ #
3296
+ # @return [Types::GetRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3297
+ #
3298
+ # * {Types::GetRealtimeLogConfigResult#realtime_log_config #realtime_log_config} => Types::RealtimeLogConfig
3299
+ #
3300
+ # @example Request syntax with placeholder values
3301
+ #
3302
+ # resp = client.get_realtime_log_config({
3303
+ # name: "string",
3304
+ # arn: "string",
3305
+ # })
3306
+ #
3307
+ # @example Response structure
3308
+ #
3309
+ # resp.realtime_log_config.arn #=> String
3310
+ # resp.realtime_log_config.name #=> String
3311
+ # resp.realtime_log_config.sampling_rate #=> Integer
3312
+ # resp.realtime_log_config.end_points #=> Array
3313
+ # resp.realtime_log_config.end_points[0].stream_type #=> String
3314
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.role_arn #=> String
3315
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.stream_arn #=> String
3316
+ # resp.realtime_log_config.fields #=> Array
3317
+ # resp.realtime_log_config.fields[0] #=> String
3318
+ #
3319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfig2020_05_31 AWS API Documentation
3320
+ #
3321
+ # @overload get_realtime_log_config(params = {})
3322
+ # @param [Hash] params ({})
3323
+ def get_realtime_log_config(params = {}, options = {})
3324
+ req = build_request(:get_realtime_log_config, params)
3325
+ req.send_request(options)
3326
+ end
3327
+
3155
3328
  # Gets information about a specified RTMP distribution, including the
3156
3329
  # distribution configuration.
3157
3330
  #
@@ -3479,6 +3652,7 @@ module Aws::CloudFront
3479
3652
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
3480
3653
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
3481
3654
  # resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
3655
+ # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
3482
3656
  # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
3483
3657
  # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
3484
3658
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -3518,6 +3692,7 @@ module Aws::CloudFront
3518
3692
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
3519
3693
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
3520
3694
  # resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
3695
+ # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
3521
3696
  # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
3522
3697
  # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
3523
3698
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -3546,7 +3721,7 @@ module Aws::CloudFront
3546
3721
  # resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
3547
3722
  # resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
3548
3723
  # resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
3549
- # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
3724
+ # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
3550
3725
  # resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
3551
3726
  # resp.distribution_list.items[0].viewer_certificate.certificate #=> String
3552
3727
  # resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -3680,6 +3855,210 @@ module Aws::CloudFront
3680
3855
  req.send_request(options)
3681
3856
  end
3682
3857
 
3858
+ # Gets a list of distribution that have a cache behavior that’s
3859
+ # associated with the specified real-time log configuration.
3860
+ #
3861
+ # You can specify the real-time log configuration by its name or its
3862
+ # Amazon Resource Name (ARN). You must provide at least one. If you
3863
+ # provide both, CloudFront uses the name to identify the real-time log
3864
+ # configuration to list distributions for.
3865
+ #
3866
+ # You can optionally specify the maximum number of items to receive in
3867
+ # the response. If the total number of items in the list exceeds the
3868
+ # maximum that you specify, or the default maximum, the response is
3869
+ # paginated. To get the next page of items, send a subsequent request
3870
+ # that specifies the `NextMarker` value from the current response as the
3871
+ # `Marker` value in the subsequent request.
3872
+ #
3873
+ # @option params [String] :marker
3874
+ # Use this field when paginating results to indicate where to begin in
3875
+ # your list of distributions. The response includes distributions in the
3876
+ # list that occur after the marker. To get the next page of the list,
3877
+ # set this field’s value to the value of `NextMarker` from the current
3878
+ # page’s response.
3879
+ #
3880
+ # @option params [Integer] :max_items
3881
+ # The maximum number of distributions that you want in the response.
3882
+ #
3883
+ # @option params [String] :realtime_log_config_name
3884
+ # The name of the real-time log configuration whose associated
3885
+ # distributions you want to list.
3886
+ #
3887
+ # @option params [String] :realtime_log_config_arn
3888
+ # The Amazon Resource Name (ARN) of the real-time log configuration
3889
+ # whose associated distributions you want to list.
3890
+ #
3891
+ # @return [Types::ListDistributionsByRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3892
+ #
3893
+ # * {Types::ListDistributionsByRealtimeLogConfigResult#distribution_list #distribution_list} => Types::DistributionList
3894
+ #
3895
+ # @example Request syntax with placeholder values
3896
+ #
3897
+ # resp = client.list_distributions_by_realtime_log_config({
3898
+ # marker: "string",
3899
+ # max_items: 1,
3900
+ # realtime_log_config_name: "string",
3901
+ # realtime_log_config_arn: "string",
3902
+ # })
3903
+ #
3904
+ # @example Response structure
3905
+ #
3906
+ # resp.distribution_list.marker #=> String
3907
+ # resp.distribution_list.next_marker #=> String
3908
+ # resp.distribution_list.max_items #=> Integer
3909
+ # resp.distribution_list.is_truncated #=> Boolean
3910
+ # resp.distribution_list.quantity #=> Integer
3911
+ # resp.distribution_list.items #=> Array
3912
+ # resp.distribution_list.items[0].id #=> String
3913
+ # resp.distribution_list.items[0].arn #=> String
3914
+ # resp.distribution_list.items[0].status #=> String
3915
+ # resp.distribution_list.items[0].last_modified_time #=> Time
3916
+ # resp.distribution_list.items[0].domain_name #=> String
3917
+ # resp.distribution_list.items[0].aliases.quantity #=> Integer
3918
+ # resp.distribution_list.items[0].aliases.items #=> Array
3919
+ # resp.distribution_list.items[0].aliases.items[0] #=> String
3920
+ # resp.distribution_list.items[0].origins.quantity #=> Integer
3921
+ # resp.distribution_list.items[0].origins.items #=> Array
3922
+ # resp.distribution_list.items[0].origins.items[0].id #=> String
3923
+ # resp.distribution_list.items[0].origins.items[0].domain_name #=> String
3924
+ # resp.distribution_list.items[0].origins.items[0].origin_path #=> String
3925
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.quantity #=> Integer
3926
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.items #=> Array
3927
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
3928
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
3929
+ # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
3930
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
3931
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
3932
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
3933
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
3934
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
3935
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
3936
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
3937
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
3938
+ # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
3939
+ # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
3940
+ # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
3941
+ # resp.distribution_list.items[0].origin_groups.items #=> Array
3942
+ # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
3943
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
3944
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items #=> Array
3945
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
3946
+ # resp.distribution_list.items[0].origin_groups.items[0].members.quantity #=> Integer
3947
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
3948
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
3949
+ # resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
3950
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
3951
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
3952
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
3953
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
3954
+ # resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
3955
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
3956
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
3957
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3958
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.quantity #=> Integer
3959
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
3960
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3961
+ # resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
3962
+ # resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
3963
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
3964
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
3965
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
3966
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
3967
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
3968
+ # resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
3969
+ # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
3970
+ # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
3971
+ # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
3972
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
3973
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
3974
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
3975
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
3976
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
3977
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
3978
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
3979
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
3980
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
3981
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
3982
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
3983
+ # resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
3984
+ # resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
3985
+ # resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
3986
+ # resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
3987
+ # resp.distribution_list.items[0].cache_behaviors.items #=> Array
3988
+ # resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
3989
+ # resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
3990
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
3991
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
3992
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
3993
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
3994
+ # resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
3995
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
3996
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
3997
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3998
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.quantity #=> Integer
3999
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
4000
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
4001
+ # resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
4002
+ # resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
4003
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
4004
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
4005
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
4006
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
4007
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
4008
+ # resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
4009
+ # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
4010
+ # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
4011
+ # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
4012
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
4013
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4014
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
4015
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
4016
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
4017
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
4018
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
4019
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
4020
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
4021
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
4022
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
4023
+ # resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
4024
+ # resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
4025
+ # resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
4026
+ # resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
4027
+ # resp.distribution_list.items[0].custom_error_responses.items #=> Array
4028
+ # resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
4029
+ # resp.distribution_list.items[0].custom_error_responses.items[0].response_page_path #=> String
4030
+ # resp.distribution_list.items[0].custom_error_responses.items[0].response_code #=> String
4031
+ # resp.distribution_list.items[0].custom_error_responses.items[0].error_caching_min_ttl #=> Integer
4032
+ # resp.distribution_list.items[0].comment #=> String
4033
+ # resp.distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
4034
+ # resp.distribution_list.items[0].enabled #=> Boolean
4035
+ # resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
4036
+ # resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
4037
+ # resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
4038
+ # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
4039
+ # resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
4040
+ # resp.distribution_list.items[0].viewer_certificate.certificate #=> String
4041
+ # resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
4042
+ # resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
4043
+ # resp.distribution_list.items[0].restrictions.geo_restriction.quantity #=> Integer
4044
+ # resp.distribution_list.items[0].restrictions.geo_restriction.items #=> Array
4045
+ # resp.distribution_list.items[0].restrictions.geo_restriction.items[0] #=> String
4046
+ # resp.distribution_list.items[0].web_acl_id #=> String
4047
+ # resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2"
4048
+ # resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
4049
+ # resp.distribution_list.items[0].alias_icp_recordals #=> Array
4050
+ # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
4051
+ # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
4052
+ #
4053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig2020_05_31 AWS API Documentation
4054
+ #
4055
+ # @overload list_distributions_by_realtime_log_config(params = {})
4056
+ # @param [Hash] params ({})
4057
+ def list_distributions_by_realtime_log_config(params = {}, options = {})
4058
+ req = build_request(:list_distributions_by_realtime_log_config, params)
4059
+ req.send_request(options)
4060
+ end
4061
+
3683
4062
  # List the distributions that are associated with a specified AWS WAF
3684
4063
  # web ACL.
3685
4064
  #
@@ -3777,6 +4156,7 @@ module Aws::CloudFront
3777
4156
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
3778
4157
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
3779
4158
  # resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
4159
+ # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
3780
4160
  # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
3781
4161
  # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
3782
4162
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -3816,6 +4196,7 @@ module Aws::CloudFront
3816
4196
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
3817
4197
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
3818
4198
  # resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
4199
+ # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
3819
4200
  # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
3820
4201
  # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
3821
4202
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -3844,7 +4225,7 @@ module Aws::CloudFront
3844
4225
  # resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
3845
4226
  # resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
3846
4227
  # resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
3847
- # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
4228
+ # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
3848
4229
  # resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
3849
4230
  # resp.distribution_list.items[0].viewer_certificate.certificate #=> String
3850
4231
  # resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -4153,6 +4534,63 @@ module Aws::CloudFront
4153
4534
  req.send_request(options)
4154
4535
  end
4155
4536
 
4537
+ # Gets a list of real-time log configurations.
4538
+ #
4539
+ # You can optionally specify the maximum number of items to receive in
4540
+ # the response. If the total number of items in the list exceeds the
4541
+ # maximum that you specify, or the default maximum, the response is
4542
+ # paginated. To get the next page of items, send a subsequent request
4543
+ # that specifies the `NextMarker` value from the current response as the
4544
+ # `Marker` value in the subsequent request.
4545
+ #
4546
+ # @option params [Integer] :max_items
4547
+ # The maximum number of real-time log configurations that you want in
4548
+ # the response.
4549
+ #
4550
+ # @option params [String] :marker
4551
+ # Use this field when paginating results to indicate where to begin in
4552
+ # your list of real-time log configurations. The response includes
4553
+ # real-time log configurations in the list that occur after the marker.
4554
+ # To get the next page of the list, set this field’s value to the value
4555
+ # of `NextMarker` from the current page’s response.
4556
+ #
4557
+ # @return [Types::ListRealtimeLogConfigsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4558
+ #
4559
+ # * {Types::ListRealtimeLogConfigsResult#realtime_log_configs #realtime_log_configs} => Types::RealtimeLogConfigs
4560
+ #
4561
+ # @example Request syntax with placeholder values
4562
+ #
4563
+ # resp = client.list_realtime_log_configs({
4564
+ # max_items: 1,
4565
+ # marker: "string",
4566
+ # })
4567
+ #
4568
+ # @example Response structure
4569
+ #
4570
+ # resp.realtime_log_configs.max_items #=> Integer
4571
+ # resp.realtime_log_configs.items #=> Array
4572
+ # resp.realtime_log_configs.items[0].arn #=> String
4573
+ # resp.realtime_log_configs.items[0].name #=> String
4574
+ # resp.realtime_log_configs.items[0].sampling_rate #=> Integer
4575
+ # resp.realtime_log_configs.items[0].end_points #=> Array
4576
+ # resp.realtime_log_configs.items[0].end_points[0].stream_type #=> String
4577
+ # resp.realtime_log_configs.items[0].end_points[0].kinesis_stream_config.role_arn #=> String
4578
+ # resp.realtime_log_configs.items[0].end_points[0].kinesis_stream_config.stream_arn #=> String
4579
+ # resp.realtime_log_configs.items[0].fields #=> Array
4580
+ # resp.realtime_log_configs.items[0].fields[0] #=> String
4581
+ # resp.realtime_log_configs.is_truncated #=> Boolean
4582
+ # resp.realtime_log_configs.marker #=> String
4583
+ # resp.realtime_log_configs.next_marker #=> String
4584
+ #
4585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigs2020_05_31 AWS API Documentation
4586
+ #
4587
+ # @overload list_realtime_log_configs(params = {})
4588
+ # @param [Hash] params ({})
4589
+ def list_realtime_log_configs(params = {}, options = {})
4590
+ req = build_request(:list_realtime_log_configs, params)
4591
+ req.send_request(options)
4592
+ end
4593
+
4156
4594
  # List streaming distributions.
4157
4595
  #
4158
4596
  # @option params [String] :marker
@@ -4638,6 +5076,7 @@ module Aws::CloudFront
4638
5076
  # ],
4639
5077
  # },
4640
5078
  # field_level_encryption_id: "string",
5079
+ # realtime_log_config_arn: "string",
4641
5080
  # cache_policy_id: "string",
4642
5081
  # origin_request_policy_id: "string",
4643
5082
  # forwarded_values: {
@@ -4695,6 +5134,7 @@ module Aws::CloudFront
4695
5134
  # ],
4696
5135
  # },
4697
5136
  # field_level_encryption_id: "string",
5137
+ # realtime_log_config_arn: "string",
4698
5138
  # cache_policy_id: "string",
4699
5139
  # origin_request_policy_id: "string",
4700
5140
  # forwarded_values: {
@@ -4745,7 +5185,7 @@ module Aws::CloudFront
4745
5185
  # cloud_front_default_certificate: false,
4746
5186
  # iam_certificate_id: "string",
4747
5187
  # acm_certificate_arn: "string",
4748
- # ssl_support_method: "sni-only", # accepts sni-only, vip
5188
+ # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
4749
5189
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
4750
5190
  # certificate: "string",
4751
5191
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
@@ -4834,6 +5274,7 @@ module Aws::CloudFront
4834
5274
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
4835
5275
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
4836
5276
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
5277
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
4837
5278
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
4838
5279
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
4839
5280
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -4873,6 +5314,7 @@ module Aws::CloudFront
4873
5314
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
4874
5315
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
4875
5316
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
5317
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
4876
5318
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
4877
5319
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
4878
5320
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -4905,7 +5347,7 @@ module Aws::CloudFront
4905
5347
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
4906
5348
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
4907
5349
  # resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
4908
- # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
5350
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
4909
5351
  # resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
4910
5352
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
4911
5353
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -5225,6 +5667,94 @@ module Aws::CloudFront
5225
5667
  req.send_request(options)
5226
5668
  end
5227
5669
 
5670
+ # Updates a real-time log configuration.
5671
+ #
5672
+ # When you update a real-time log configuration, all the parameters are
5673
+ # updated with the values provided in the request. You cannot update
5674
+ # some parameters independent of others. To update a real-time log
5675
+ # configuration:
5676
+ #
5677
+ # 1. Call `GetRealtimeLogConfig` to get the current real-time log
5678
+ # configuration.
5679
+ #
5680
+ # 2. Locally modify the parameters in the real-time log configuration
5681
+ # that you want to update.
5682
+ #
5683
+ # 3. Call this API (`UpdateRealtimeLogConfig`) by providing the entire
5684
+ # real-time log configuration, including the parameters that you
5685
+ # modified and those that you didn’t.
5686
+ #
5687
+ # You cannot update a real-time log configuration’s `Name` or `ARN`.
5688
+ #
5689
+ # @option params [Array<Types::EndPoint>] :end_points
5690
+ # Contains information about the Amazon Kinesis data stream where you
5691
+ # are sending real-time log data.
5692
+ #
5693
+ # @option params [Array<String>] :fields
5694
+ # A list of fields to include in each real-time log record.
5695
+ #
5696
+ # For more information about fields, see [Real-time log configuration
5697
+ # fields][1] in the *Amazon CloudFront Developer Guide*.
5698
+ #
5699
+ #
5700
+ #
5701
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
5702
+ #
5703
+ # @option params [String] :name
5704
+ # The name for this real-time log configuration.
5705
+ #
5706
+ # @option params [String] :arn
5707
+ # The Amazon Resource Name (ARN) for this real-time log configuration.
5708
+ #
5709
+ # @option params [Integer] :sampling_rate
5710
+ # The sampling rate for this real-time log configuration. The sampling
5711
+ # rate determines the percentage of viewer requests that are represented
5712
+ # in the real-time log data. You must provide an integer between 1 and
5713
+ # 100, inclusive.
5714
+ #
5715
+ # @return [Types::UpdateRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5716
+ #
5717
+ # * {Types::UpdateRealtimeLogConfigResult#realtime_log_config #realtime_log_config} => Types::RealtimeLogConfig
5718
+ #
5719
+ # @example Request syntax with placeholder values
5720
+ #
5721
+ # resp = client.update_realtime_log_config({
5722
+ # end_points: [
5723
+ # {
5724
+ # stream_type: "string", # required
5725
+ # kinesis_stream_config: {
5726
+ # role_arn: "string", # required
5727
+ # stream_arn: "string", # required
5728
+ # },
5729
+ # },
5730
+ # ],
5731
+ # fields: ["string"],
5732
+ # name: "string",
5733
+ # arn: "string",
5734
+ # sampling_rate: 1,
5735
+ # })
5736
+ #
5737
+ # @example Response structure
5738
+ #
5739
+ # resp.realtime_log_config.arn #=> String
5740
+ # resp.realtime_log_config.name #=> String
5741
+ # resp.realtime_log_config.sampling_rate #=> Integer
5742
+ # resp.realtime_log_config.end_points #=> Array
5743
+ # resp.realtime_log_config.end_points[0].stream_type #=> String
5744
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.role_arn #=> String
5745
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.stream_arn #=> String
5746
+ # resp.realtime_log_config.fields #=> Array
5747
+ # resp.realtime_log_config.fields[0] #=> String
5748
+ #
5749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfig2020_05_31 AWS API Documentation
5750
+ #
5751
+ # @overload update_realtime_log_config(params = {})
5752
+ # @param [Hash] params ({})
5753
+ def update_realtime_log_config(params = {}, options = {})
5754
+ req = build_request(:update_realtime_log_config, params)
5755
+ req.send_request(options)
5756
+ end
5757
+
5228
5758
  # Update a streaming distribution.
5229
5759
  #
5230
5760
  # @option params [required, Types::StreamingDistributionConfig] :streaming_distribution_config
@@ -5328,7 +5858,7 @@ module Aws::CloudFront
5328
5858
  params: params,
5329
5859
  config: config)
5330
5860
  context[:gem_name] = 'aws-sdk-cloudfront'
5331
- context[:gem_version] = '1.38.0'
5861
+ context[:gem_version] = '1.39.0'
5332
5862
  Seahorse::Client::Request.new(handlers, context)
5333
5863
  end
5334
5864