aws-sdk-cloudfront 1.38.0 → 1.43.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: 6674df385bd44d204d5776e46dd61fb5126a63268d2f8c06faa3e1ed605305fe
4
+ data.tar.gz: 741482201bfbdf3874156aa58a4b176543f5f6deab054b5aae7fb72ef89197b4
5
5
  SHA512:
6
- metadata.gz: 0a0ac288aa8b402ddb79a5b2418d5c0d773df25d47100e87895ef36b781870f782325fe11c4604f2692f4fe746dd30c1162ce1749cdb76c70434348e64362627
7
- data.tar.gz: 1dec6fc46bf4803791f888f6516cc9cb0e01b317a29e05e69edc011c8200a265f26f2900ff6e95fa9047de9aa8ab9f246c65dffa8a8a3bf15e060af8dcb42983
6
+ metadata.gz: 985e57ff2c716b22badc05b6367071e9c41f9f21f95d5fc17c0d37d44b39acb03b40e350e05f9f5f2d5873b225bd666056a057a3a36f029d6b65192a84feb51f
7
+ data.tar.gz: 1b1ccb62d9ab7c793da02cd0499e30dbcdc2996f9bc4b86ae6627c9f9a10d215062fe4ee2d377bdf79783419cef40a88e95fd12949ea974755c485574c8a8654
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -48,6 +49,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
48
49
  # @!group service
49
50
  module Aws::CloudFront
50
51
 
51
- GEM_VERSION = '1.38.0'
52
+ GEM_VERSION = '1.43.0'
52
53
 
53
54
  end
@@ -346,7 +346,7 @@ module Aws::CloudFront
346
346
  # the origin. CloudFront sends a request when it can’t find an object in
347
347
  # its cache that matches the request’s cache key. If you want to send
348
348
  # values to the origin but *not* include them in the cache key, use
349
- # `CreateOriginRequestPolicy`.
349
+ # `OriginRequestPolicy`.
350
350
  #
351
351
  # For more information about cache policies, see [Controlling the cache
352
352
  # key][1] in the *Amazon CloudFront Developer Guide*.
@@ -375,6 +375,7 @@ module Aws::CloudFront
375
375
  # min_ttl: 1, # required
376
376
  # parameters_in_cache_key_and_forwarded_to_origin: {
377
377
  # enable_accept_encoding_gzip: false, # required
378
+ # enable_accept_encoding_brotli: false,
378
379
  # headers_config: { # required
379
380
  # header_behavior: "none", # required, accepts none, whitelist
380
381
  # headers: {
@@ -410,6 +411,7 @@ module Aws::CloudFront
410
411
  # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
411
412
  # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
412
413
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
414
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
413
415
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
414
416
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
415
417
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -606,6 +608,7 @@ module Aws::CloudFront
606
608
  # ],
607
609
  # },
608
610
  # field_level_encryption_id: "string",
611
+ # realtime_log_config_arn: "string",
609
612
  # cache_policy_id: "string",
610
613
  # origin_request_policy_id: "string",
611
614
  # forwarded_values: {
@@ -663,6 +666,7 @@ module Aws::CloudFront
663
666
  # ],
664
667
  # },
665
668
  # field_level_encryption_id: "string",
669
+ # realtime_log_config_arn: "string",
666
670
  # cache_policy_id: "string",
667
671
  # origin_request_policy_id: "string",
668
672
  # forwarded_values: {
@@ -713,7 +717,7 @@ module Aws::CloudFront
713
717
  # cloud_front_default_certificate: false,
714
718
  # iam_certificate_id: "string",
715
719
  # acm_certificate_arn: "string",
716
- # ssl_support_method: "sni-only", # accepts sni-only, vip
720
+ # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
717
721
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
718
722
  # certificate: "string",
719
723
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
@@ -800,6 +804,7 @@ module Aws::CloudFront
800
804
  # 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
805
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
802
806
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
807
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
803
808
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
804
809
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
805
810
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -839,6 +844,7 @@ module Aws::CloudFront
839
844
  # 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
845
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
841
846
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
847
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
842
848
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
843
849
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
844
850
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -871,7 +877,7 @@ module Aws::CloudFront
871
877
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
872
878
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
873
879
  # 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"
880
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
875
881
  # 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
882
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
877
883
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -1005,6 +1011,7 @@ module Aws::CloudFront
1005
1011
  # ],
1006
1012
  # },
1007
1013
  # field_level_encryption_id: "string",
1014
+ # realtime_log_config_arn: "string",
1008
1015
  # cache_policy_id: "string",
1009
1016
  # origin_request_policy_id: "string",
1010
1017
  # forwarded_values: {
@@ -1062,6 +1069,7 @@ module Aws::CloudFront
1062
1069
  # ],
1063
1070
  # },
1064
1071
  # field_level_encryption_id: "string",
1072
+ # realtime_log_config_arn: "string",
1065
1073
  # cache_policy_id: "string",
1066
1074
  # origin_request_policy_id: "string",
1067
1075
  # forwarded_values: {
@@ -1112,7 +1120,7 @@ module Aws::CloudFront
1112
1120
  # cloud_front_default_certificate: false,
1113
1121
  # iam_certificate_id: "string",
1114
1122
  # acm_certificate_arn: "string",
1115
- # ssl_support_method: "sni-only", # accepts sni-only, vip
1123
+ # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
1116
1124
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
1117
1125
  # certificate: "string",
1118
1126
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
@@ -1208,6 +1216,7 @@ module Aws::CloudFront
1208
1216
  # 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
1217
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
1210
1218
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
1219
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
1211
1220
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
1212
1221
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
1213
1222
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -1247,6 +1256,7 @@ module Aws::CloudFront
1247
1256
  # 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
1257
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
1249
1258
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
1259
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
1250
1260
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
1251
1261
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
1252
1262
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -1279,7 +1289,7 @@ module Aws::CloudFront
1279
1289
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
1280
1290
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
1281
1291
  # 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"
1292
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
1283
1293
  # 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
1294
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
1285
1295
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -1552,8 +1562,7 @@ module Aws::CloudFront
1552
1562
  #
1553
1563
  # CloudFront sends a request when it can’t find a valid object in its
1554
1564
  # cache that matches the request. If you want to send values to the
1555
- # origin and also include them in the cache key, use
1556
- # `CreateCachePolicy`.
1565
+ # origin and also include them in the cache key, use `CachePolicy`.
1557
1566
  #
1558
1567
  # For more information about origin request policies, see [Controlling
1559
1568
  # origin requests][1] in the *Amazon CloudFront Developer Guide*.
@@ -1675,6 +1684,84 @@ module Aws::CloudFront
1675
1684
  req.send_request(options)
1676
1685
  end
1677
1686
 
1687
+ # Creates a real-time log configuration.
1688
+ #
1689
+ # After you create a real-time log configuration, you can attach it to
1690
+ # one or more cache behaviors to send real-time log data to the
1691
+ # specified Amazon Kinesis data stream.
1692
+ #
1693
+ # For more information about real-time log configurations, see
1694
+ # [Real-time logs][1] in the *Amazon CloudFront Developer Guide*.
1695
+ #
1696
+ #
1697
+ #
1698
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html
1699
+ #
1700
+ # @option params [required, Array<Types::EndPoint>] :end_points
1701
+ # Contains information about the Amazon Kinesis data stream where you
1702
+ # are sending real-time log data.
1703
+ #
1704
+ # @option params [required, Array<String>] :fields
1705
+ # A list of fields to include in each real-time log record.
1706
+ #
1707
+ # For more information about fields, see [Real-time log configuration
1708
+ # fields][1] in the *Amazon CloudFront Developer Guide*.
1709
+ #
1710
+ #
1711
+ #
1712
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
1713
+ #
1714
+ # @option params [required, String] :name
1715
+ # A unique name to identify this real-time log configuration.
1716
+ #
1717
+ # @option params [required, Integer] :sampling_rate
1718
+ # The sampling rate for this real-time log configuration. The sampling
1719
+ # rate determines the percentage of viewer requests that are represented
1720
+ # in the real-time log data. You must provide an integer between 1 and
1721
+ # 100, inclusive.
1722
+ #
1723
+ # @return [Types::CreateRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1724
+ #
1725
+ # * {Types::CreateRealtimeLogConfigResult#realtime_log_config #realtime_log_config} => Types::RealtimeLogConfig
1726
+ #
1727
+ # @example Request syntax with placeholder values
1728
+ #
1729
+ # resp = client.create_realtime_log_config({
1730
+ # end_points: [ # required
1731
+ # {
1732
+ # stream_type: "string", # required
1733
+ # kinesis_stream_config: {
1734
+ # role_arn: "string", # required
1735
+ # stream_arn: "string", # required
1736
+ # },
1737
+ # },
1738
+ # ],
1739
+ # fields: ["string"], # required
1740
+ # name: "string", # required
1741
+ # sampling_rate: 1, # required
1742
+ # })
1743
+ #
1744
+ # @example Response structure
1745
+ #
1746
+ # resp.realtime_log_config.arn #=> String
1747
+ # resp.realtime_log_config.name #=> String
1748
+ # resp.realtime_log_config.sampling_rate #=> Integer
1749
+ # resp.realtime_log_config.end_points #=> Array
1750
+ # resp.realtime_log_config.end_points[0].stream_type #=> String
1751
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.role_arn #=> String
1752
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.stream_arn #=> String
1753
+ # resp.realtime_log_config.fields #=> Array
1754
+ # resp.realtime_log_config.fields[0] #=> String
1755
+ #
1756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfig2020_05_31 AWS API Documentation
1757
+ #
1758
+ # @overload create_realtime_log_config(params = {})
1759
+ # @param [Hash] params ({})
1760
+ def create_realtime_log_config(params = {}, options = {})
1761
+ req = build_request(:create_realtime_log_config, params)
1762
+ req.send_request(options)
1763
+ end
1764
+
1678
1765
  # Creates a new RTMP distribution. An RTMP distribution is similar to a
1679
1766
  # web distribution, but an RTMP distribution streams media files using
1680
1767
  # the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files
@@ -2117,6 +2204,43 @@ module Aws::CloudFront
2117
2204
  req.send_request(options)
2118
2205
  end
2119
2206
 
2207
+ # Deletes a real-time log configuration.
2208
+ #
2209
+ # You cannot delete a real-time log configuration if it’s attached to a
2210
+ # cache behavior. First update your distributions to remove the
2211
+ # real-time log configuration from all cache behaviors, then delete the
2212
+ # real-time log configuration.
2213
+ #
2214
+ # To delete a real-time log configuration, you can provide the
2215
+ # configuration’s name or its Amazon Resource Name (ARN). You must
2216
+ # provide at least one. If you provide both, CloudFront uses the name to
2217
+ # identify the real-time log configuration to delete.
2218
+ #
2219
+ # @option params [String] :name
2220
+ # The name of the real-time log configuration to delete.
2221
+ #
2222
+ # @option params [String] :arn
2223
+ # The Amazon Resource Name (ARN) of the real-time log configuration to
2224
+ # delete.
2225
+ #
2226
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2227
+ #
2228
+ # @example Request syntax with placeholder values
2229
+ #
2230
+ # resp = client.delete_realtime_log_config({
2231
+ # name: "string",
2232
+ # arn: "string",
2233
+ # })
2234
+ #
2235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteRealtimeLogConfig2020_05_31 AWS API Documentation
2236
+ #
2237
+ # @overload delete_realtime_log_config(params = {})
2238
+ # @param [Hash] params ({})
2239
+ def delete_realtime_log_config(params = {}, options = {})
2240
+ req = build_request(:delete_realtime_log_config, params)
2241
+ req.send_request(options)
2242
+ end
2243
+
2120
2244
  # Delete a streaming distribution. To delete an RTMP distribution using
2121
2245
  # the CloudFront API, perform the following steps.
2122
2246
  #
@@ -2227,6 +2351,7 @@ module Aws::CloudFront
2227
2351
  # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
2228
2352
  # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
2229
2353
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
2354
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
2230
2355
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
2231
2356
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
2232
2357
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -2285,6 +2410,7 @@ module Aws::CloudFront
2285
2410
  # resp.cache_policy_config.max_ttl #=> Integer
2286
2411
  # resp.cache_policy_config.min_ttl #=> Integer
2287
2412
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
2413
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
2288
2414
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
2289
2415
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
2290
2416
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -2458,6 +2584,7 @@ module Aws::CloudFront
2458
2584
  # 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
2585
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
2460
2586
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
2587
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
2461
2588
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
2462
2589
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
2463
2590
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -2497,6 +2624,7 @@ module Aws::CloudFront
2497
2624
  # 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
2625
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
2499
2626
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
2627
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
2500
2628
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
2501
2629
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
2502
2630
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -2529,7 +2657,7 @@ module Aws::CloudFront
2529
2657
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
2530
2658
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
2531
2659
  # 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"
2660
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
2533
2661
  # 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
2662
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
2535
2663
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -2632,6 +2760,7 @@ module Aws::CloudFront
2632
2760
  # 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
2761
  # resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
2634
2762
  # resp.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
2763
+ # resp.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
2635
2764
  # resp.distribution_config.default_cache_behavior.cache_policy_id #=> String
2636
2765
  # resp.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
2637
2766
  # resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -2671,6 +2800,7 @@ module Aws::CloudFront
2671
2800
  # 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
2801
  # resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
2673
2802
  # resp.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
2803
+ # resp.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
2674
2804
  # resp.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
2675
2805
  # resp.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
2676
2806
  # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -2703,7 +2833,7 @@ module Aws::CloudFront
2703
2833
  # resp.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
2704
2834
  # resp.distribution_config.viewer_certificate.iam_certificate_id #=> String
2705
2835
  # resp.distribution_config.viewer_certificate.acm_certificate_arn #=> String
2706
- # resp.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip"
2836
+ # resp.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
2707
2837
  # 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
2838
  # resp.distribution_config.viewer_certificate.certificate #=> String
2709
2839
  # resp.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -3152,6 +3282,52 @@ module Aws::CloudFront
3152
3282
  req.send_request(options)
3153
3283
  end
3154
3284
 
3285
+ # Gets a real-time log configuration.
3286
+ #
3287
+ # To get a real-time log configuration, you can provide the
3288
+ # configuration’s name or its Amazon Resource Name (ARN). You must
3289
+ # provide at least one. If you provide both, CloudFront uses the name to
3290
+ # identify the real-time log configuration to get.
3291
+ #
3292
+ # @option params [String] :name
3293
+ # The name of the real-time log configuration to get.
3294
+ #
3295
+ # @option params [String] :arn
3296
+ # The Amazon Resource Name (ARN) of the real-time log configuration to
3297
+ # get.
3298
+ #
3299
+ # @return [Types::GetRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3300
+ #
3301
+ # * {Types::GetRealtimeLogConfigResult#realtime_log_config #realtime_log_config} => Types::RealtimeLogConfig
3302
+ #
3303
+ # @example Request syntax with placeholder values
3304
+ #
3305
+ # resp = client.get_realtime_log_config({
3306
+ # name: "string",
3307
+ # arn: "string",
3308
+ # })
3309
+ #
3310
+ # @example Response structure
3311
+ #
3312
+ # resp.realtime_log_config.arn #=> String
3313
+ # resp.realtime_log_config.name #=> String
3314
+ # resp.realtime_log_config.sampling_rate #=> Integer
3315
+ # resp.realtime_log_config.end_points #=> Array
3316
+ # resp.realtime_log_config.end_points[0].stream_type #=> String
3317
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.role_arn #=> String
3318
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.stream_arn #=> String
3319
+ # resp.realtime_log_config.fields #=> Array
3320
+ # resp.realtime_log_config.fields[0] #=> String
3321
+ #
3322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfig2020_05_31 AWS API Documentation
3323
+ #
3324
+ # @overload get_realtime_log_config(params = {})
3325
+ # @param [Hash] params ({})
3326
+ def get_realtime_log_config(params = {}, options = {})
3327
+ req = build_request(:get_realtime_log_config, params)
3328
+ req.send_request(options)
3329
+ end
3330
+
3155
3331
  # Gets information about a specified RTMP distribution, including the
3156
3332
  # distribution configuration.
3157
3333
  #
@@ -3319,6 +3495,7 @@ module Aws::CloudFront
3319
3495
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.max_ttl #=> Integer
3320
3496
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.min_ttl #=> Integer
3321
3497
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
3498
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
3322
3499
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
3323
3500
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
3324
3501
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -3479,6 +3656,7 @@ module Aws::CloudFront
3479
3656
  # 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
3657
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
3481
3658
  # resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
3659
+ # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
3482
3660
  # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
3483
3661
  # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
3484
3662
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -3518,6 +3696,7 @@ module Aws::CloudFront
3518
3696
  # 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
3697
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
3520
3698
  # resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
3699
+ # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
3521
3700
  # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
3522
3701
  # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
3523
3702
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -3546,7 +3725,7 @@ module Aws::CloudFront
3546
3725
  # resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
3547
3726
  # resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
3548
3727
  # 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"
3728
+ # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
3550
3729
  # 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
3730
  # resp.distribution_list.items[0].viewer_certificate.certificate #=> String
3552
3731
  # resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -3680,6 +3859,210 @@ module Aws::CloudFront
3680
3859
  req.send_request(options)
3681
3860
  end
3682
3861
 
3862
+ # Gets a list of distributions that have a cache behavior that’s
3863
+ # associated with the specified real-time log configuration.
3864
+ #
3865
+ # You can specify the real-time log configuration by its name or its
3866
+ # Amazon Resource Name (ARN). You must provide at least one. If you
3867
+ # provide both, CloudFront uses the name to identify the real-time log
3868
+ # configuration to list distributions for.
3869
+ #
3870
+ # You can optionally specify the maximum number of items to receive in
3871
+ # the response. If the total number of items in the list exceeds the
3872
+ # maximum that you specify, or the default maximum, the response is
3873
+ # paginated. To get the next page of items, send a subsequent request
3874
+ # that specifies the `NextMarker` value from the current response as the
3875
+ # `Marker` value in the subsequent request.
3876
+ #
3877
+ # @option params [String] :marker
3878
+ # Use this field when paginating results to indicate where to begin in
3879
+ # your list of distributions. The response includes distributions in the
3880
+ # list that occur after the marker. To get the next page of the list,
3881
+ # set this field’s value to the value of `NextMarker` from the current
3882
+ # page’s response.
3883
+ #
3884
+ # @option params [Integer] :max_items
3885
+ # The maximum number of distributions that you want in the response.
3886
+ #
3887
+ # @option params [String] :realtime_log_config_name
3888
+ # The name of the real-time log configuration whose associated
3889
+ # distributions you want to list.
3890
+ #
3891
+ # @option params [String] :realtime_log_config_arn
3892
+ # The Amazon Resource Name (ARN) of the real-time log configuration
3893
+ # whose associated distributions you want to list.
3894
+ #
3895
+ # @return [Types::ListDistributionsByRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3896
+ #
3897
+ # * {Types::ListDistributionsByRealtimeLogConfigResult#distribution_list #distribution_list} => Types::DistributionList
3898
+ #
3899
+ # @example Request syntax with placeholder values
3900
+ #
3901
+ # resp = client.list_distributions_by_realtime_log_config({
3902
+ # marker: "string",
3903
+ # max_items: 1,
3904
+ # realtime_log_config_name: "string",
3905
+ # realtime_log_config_arn: "string",
3906
+ # })
3907
+ #
3908
+ # @example Response structure
3909
+ #
3910
+ # resp.distribution_list.marker #=> String
3911
+ # resp.distribution_list.next_marker #=> String
3912
+ # resp.distribution_list.max_items #=> Integer
3913
+ # resp.distribution_list.is_truncated #=> Boolean
3914
+ # resp.distribution_list.quantity #=> Integer
3915
+ # resp.distribution_list.items #=> Array
3916
+ # resp.distribution_list.items[0].id #=> String
3917
+ # resp.distribution_list.items[0].arn #=> String
3918
+ # resp.distribution_list.items[0].status #=> String
3919
+ # resp.distribution_list.items[0].last_modified_time #=> Time
3920
+ # resp.distribution_list.items[0].domain_name #=> String
3921
+ # resp.distribution_list.items[0].aliases.quantity #=> Integer
3922
+ # resp.distribution_list.items[0].aliases.items #=> Array
3923
+ # resp.distribution_list.items[0].aliases.items[0] #=> String
3924
+ # resp.distribution_list.items[0].origins.quantity #=> Integer
3925
+ # resp.distribution_list.items[0].origins.items #=> Array
3926
+ # resp.distribution_list.items[0].origins.items[0].id #=> String
3927
+ # resp.distribution_list.items[0].origins.items[0].domain_name #=> String
3928
+ # resp.distribution_list.items[0].origins.items[0].origin_path #=> String
3929
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.quantity #=> Integer
3930
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.items #=> Array
3931
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
3932
+ # resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
3933
+ # resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
3934
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
3935
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
3936
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
3937
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
3938
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
3939
+ # 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"
3940
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
3941
+ # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
3942
+ # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
3943
+ # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
3944
+ # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
3945
+ # resp.distribution_list.items[0].origin_groups.items #=> Array
3946
+ # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
3947
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
3948
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items #=> Array
3949
+ # resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
3950
+ # resp.distribution_list.items[0].origin_groups.items[0].members.quantity #=> Integer
3951
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
3952
+ # resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
3953
+ # resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
3954
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
3955
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
3956
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
3957
+ # resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
3958
+ # resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
3959
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
3960
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
3961
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3962
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.quantity #=> Integer
3963
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
3964
+ # resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
3965
+ # resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
3966
+ # resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
3967
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
3968
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
3969
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
3970
+ # 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"
3971
+ # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
3972
+ # resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
3973
+ # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
3974
+ # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
3975
+ # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
3976
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
3977
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
3978
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
3979
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
3980
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
3981
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
3982
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
3983
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
3984
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
3985
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
3986
+ # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
3987
+ # resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
3988
+ # resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
3989
+ # resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
3990
+ # resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
3991
+ # resp.distribution_list.items[0].cache_behaviors.items #=> Array
3992
+ # resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
3993
+ # resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
3994
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
3995
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
3996
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
3997
+ # resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
3998
+ # resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
3999
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
4000
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
4001
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
4002
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.quantity #=> Integer
4003
+ # resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
4004
+ # 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"
4005
+ # resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
4006
+ # resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
4007
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
4008
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
4009
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
4010
+ # 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"
4011
+ # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
4012
+ # resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
4013
+ # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
4014
+ # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
4015
+ # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
4016
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
4017
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4018
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
4019
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
4020
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
4021
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
4022
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
4023
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
4024
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
4025
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
4026
+ # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
4027
+ # resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
4028
+ # resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
4029
+ # resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
4030
+ # resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
4031
+ # resp.distribution_list.items[0].custom_error_responses.items #=> Array
4032
+ # resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
4033
+ # resp.distribution_list.items[0].custom_error_responses.items[0].response_page_path #=> String
4034
+ # resp.distribution_list.items[0].custom_error_responses.items[0].response_code #=> String
4035
+ # resp.distribution_list.items[0].custom_error_responses.items[0].error_caching_min_ttl #=> Integer
4036
+ # resp.distribution_list.items[0].comment #=> String
4037
+ # resp.distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
4038
+ # resp.distribution_list.items[0].enabled #=> Boolean
4039
+ # resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
4040
+ # resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
4041
+ # resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
4042
+ # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
4043
+ # 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"
4044
+ # resp.distribution_list.items[0].viewer_certificate.certificate #=> String
4045
+ # resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
4046
+ # resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
4047
+ # resp.distribution_list.items[0].restrictions.geo_restriction.quantity #=> Integer
4048
+ # resp.distribution_list.items[0].restrictions.geo_restriction.items #=> Array
4049
+ # resp.distribution_list.items[0].restrictions.geo_restriction.items[0] #=> String
4050
+ # resp.distribution_list.items[0].web_acl_id #=> String
4051
+ # resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2"
4052
+ # resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
4053
+ # resp.distribution_list.items[0].alias_icp_recordals #=> Array
4054
+ # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
4055
+ # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
4056
+ #
4057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig2020_05_31 AWS API Documentation
4058
+ #
4059
+ # @overload list_distributions_by_realtime_log_config(params = {})
4060
+ # @param [Hash] params ({})
4061
+ def list_distributions_by_realtime_log_config(params = {}, options = {})
4062
+ req = build_request(:list_distributions_by_realtime_log_config, params)
4063
+ req.send_request(options)
4064
+ end
4065
+
3683
4066
  # List the distributions that are associated with a specified AWS WAF
3684
4067
  # web ACL.
3685
4068
  #
@@ -3777,6 +4160,7 @@ module Aws::CloudFront
3777
4160
  # 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
4161
  # resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
3779
4162
  # resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
4163
+ # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
3780
4164
  # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
3781
4165
  # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
3782
4166
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -3816,6 +4200,7 @@ module Aws::CloudFront
3816
4200
  # 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
4201
  # resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
3818
4202
  # resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
4203
+ # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
3819
4204
  # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
3820
4205
  # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
3821
4206
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -3844,7 +4229,7 @@ module Aws::CloudFront
3844
4229
  # resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
3845
4230
  # resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
3846
4231
  # 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"
4232
+ # resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
3848
4233
  # 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
4234
  # resp.distribution_list.items[0].viewer_certificate.certificate #=> String
3850
4235
  # resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -4153,6 +4538,63 @@ module Aws::CloudFront
4153
4538
  req.send_request(options)
4154
4539
  end
4155
4540
 
4541
+ # Gets a list of real-time log configurations.
4542
+ #
4543
+ # You can optionally specify the maximum number of items to receive in
4544
+ # the response. If the total number of items in the list exceeds the
4545
+ # maximum that you specify, or the default maximum, the response is
4546
+ # paginated. To get the next page of items, send a subsequent request
4547
+ # that specifies the `NextMarker` value from the current response as the
4548
+ # `Marker` value in the subsequent request.
4549
+ #
4550
+ # @option params [Integer] :max_items
4551
+ # The maximum number of real-time log configurations that you want in
4552
+ # the response.
4553
+ #
4554
+ # @option params [String] :marker
4555
+ # Use this field when paginating results to indicate where to begin in
4556
+ # your list of real-time log configurations. The response includes
4557
+ # real-time log configurations in the list that occur after the marker.
4558
+ # To get the next page of the list, set this field’s value to the value
4559
+ # of `NextMarker` from the current page’s response.
4560
+ #
4561
+ # @return [Types::ListRealtimeLogConfigsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4562
+ #
4563
+ # * {Types::ListRealtimeLogConfigsResult#realtime_log_configs #realtime_log_configs} => Types::RealtimeLogConfigs
4564
+ #
4565
+ # @example Request syntax with placeholder values
4566
+ #
4567
+ # resp = client.list_realtime_log_configs({
4568
+ # max_items: 1,
4569
+ # marker: "string",
4570
+ # })
4571
+ #
4572
+ # @example Response structure
4573
+ #
4574
+ # resp.realtime_log_configs.max_items #=> Integer
4575
+ # resp.realtime_log_configs.items #=> Array
4576
+ # resp.realtime_log_configs.items[0].arn #=> String
4577
+ # resp.realtime_log_configs.items[0].name #=> String
4578
+ # resp.realtime_log_configs.items[0].sampling_rate #=> Integer
4579
+ # resp.realtime_log_configs.items[0].end_points #=> Array
4580
+ # resp.realtime_log_configs.items[0].end_points[0].stream_type #=> String
4581
+ # resp.realtime_log_configs.items[0].end_points[0].kinesis_stream_config.role_arn #=> String
4582
+ # resp.realtime_log_configs.items[0].end_points[0].kinesis_stream_config.stream_arn #=> String
4583
+ # resp.realtime_log_configs.items[0].fields #=> Array
4584
+ # resp.realtime_log_configs.items[0].fields[0] #=> String
4585
+ # resp.realtime_log_configs.is_truncated #=> Boolean
4586
+ # resp.realtime_log_configs.marker #=> String
4587
+ # resp.realtime_log_configs.next_marker #=> String
4588
+ #
4589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigs2020_05_31 AWS API Documentation
4590
+ #
4591
+ # @overload list_realtime_log_configs(params = {})
4592
+ # @param [Hash] params ({})
4593
+ def list_realtime_log_configs(params = {}, options = {})
4594
+ req = build_request(:list_realtime_log_configs, params)
4595
+ req.send_request(options)
4596
+ end
4597
+
4156
4598
  # List streaming distributions.
4157
4599
  #
4158
4600
  # @option params [String] :marker
@@ -4345,6 +4787,7 @@ module Aws::CloudFront
4345
4787
  # min_ttl: 1, # required
4346
4788
  # parameters_in_cache_key_and_forwarded_to_origin: {
4347
4789
  # enable_accept_encoding_gzip: false, # required
4790
+ # enable_accept_encoding_brotli: false,
4348
4791
  # headers_config: { # required
4349
4792
  # header_behavior: "none", # required, accepts none, whitelist
4350
4793
  # headers: {
@@ -4382,6 +4825,7 @@ module Aws::CloudFront
4382
4825
  # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
4383
4826
  # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
4384
4827
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
4828
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
4385
4829
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
4386
4830
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
4387
4831
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -4638,6 +5082,7 @@ module Aws::CloudFront
4638
5082
  # ],
4639
5083
  # },
4640
5084
  # field_level_encryption_id: "string",
5085
+ # realtime_log_config_arn: "string",
4641
5086
  # cache_policy_id: "string",
4642
5087
  # origin_request_policy_id: "string",
4643
5088
  # forwarded_values: {
@@ -4695,6 +5140,7 @@ module Aws::CloudFront
4695
5140
  # ],
4696
5141
  # },
4697
5142
  # field_level_encryption_id: "string",
5143
+ # realtime_log_config_arn: "string",
4698
5144
  # cache_policy_id: "string",
4699
5145
  # origin_request_policy_id: "string",
4700
5146
  # forwarded_values: {
@@ -4745,7 +5191,7 @@ module Aws::CloudFront
4745
5191
  # cloud_front_default_certificate: false,
4746
5192
  # iam_certificate_id: "string",
4747
5193
  # acm_certificate_arn: "string",
4748
- # ssl_support_method: "sni-only", # accepts sni-only, vip
5194
+ # ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
4749
5195
  # minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
4750
5196
  # certificate: "string",
4751
5197
  # certificate_source: "cloudfront", # accepts cloudfront, iam, acm
@@ -4834,6 +5280,7 @@ module Aws::CloudFront
4834
5280
  # 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
5281
  # resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
4836
5282
  # resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
5283
+ # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
4837
5284
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
4838
5285
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
4839
5286
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
@@ -4873,6 +5320,7 @@ module Aws::CloudFront
4873
5320
  # 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
5321
  # resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
4875
5322
  # resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
5323
+ # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
4876
5324
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
4877
5325
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
4878
5326
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
@@ -4905,7 +5353,7 @@ module Aws::CloudFront
4905
5353
  # resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
4906
5354
  # resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
4907
5355
  # 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"
5356
+ # resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
4909
5357
  # 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
5358
  # resp.distribution.distribution_config.viewer_certificate.certificate #=> String
4911
5359
  # resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
@@ -5225,6 +5673,94 @@ module Aws::CloudFront
5225
5673
  req.send_request(options)
5226
5674
  end
5227
5675
 
5676
+ # Updates a real-time log configuration.
5677
+ #
5678
+ # When you update a real-time log configuration, all the parameters are
5679
+ # updated with the values provided in the request. You cannot update
5680
+ # some parameters independent of others. To update a real-time log
5681
+ # configuration:
5682
+ #
5683
+ # 1. Call `GetRealtimeLogConfig` to get the current real-time log
5684
+ # configuration.
5685
+ #
5686
+ # 2. Locally modify the parameters in the real-time log configuration
5687
+ # that you want to update.
5688
+ #
5689
+ # 3. Call this API (`UpdateRealtimeLogConfig`) by providing the entire
5690
+ # real-time log configuration, including the parameters that you
5691
+ # modified and those that you didn’t.
5692
+ #
5693
+ # You cannot update a real-time log configuration’s `Name` or `ARN`.
5694
+ #
5695
+ # @option params [Array<Types::EndPoint>] :end_points
5696
+ # Contains information about the Amazon Kinesis data stream where you
5697
+ # are sending real-time log data.
5698
+ #
5699
+ # @option params [Array<String>] :fields
5700
+ # A list of fields to include in each real-time log record.
5701
+ #
5702
+ # For more information about fields, see [Real-time log configuration
5703
+ # fields][1] in the *Amazon CloudFront Developer Guide*.
5704
+ #
5705
+ #
5706
+ #
5707
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
5708
+ #
5709
+ # @option params [String] :name
5710
+ # The name for this real-time log configuration.
5711
+ #
5712
+ # @option params [String] :arn
5713
+ # The Amazon Resource Name (ARN) for this real-time log configuration.
5714
+ #
5715
+ # @option params [Integer] :sampling_rate
5716
+ # The sampling rate for this real-time log configuration. The sampling
5717
+ # rate determines the percentage of viewer requests that are represented
5718
+ # in the real-time log data. You must provide an integer between 1 and
5719
+ # 100, inclusive.
5720
+ #
5721
+ # @return [Types::UpdateRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5722
+ #
5723
+ # * {Types::UpdateRealtimeLogConfigResult#realtime_log_config #realtime_log_config} => Types::RealtimeLogConfig
5724
+ #
5725
+ # @example Request syntax with placeholder values
5726
+ #
5727
+ # resp = client.update_realtime_log_config({
5728
+ # end_points: [
5729
+ # {
5730
+ # stream_type: "string", # required
5731
+ # kinesis_stream_config: {
5732
+ # role_arn: "string", # required
5733
+ # stream_arn: "string", # required
5734
+ # },
5735
+ # },
5736
+ # ],
5737
+ # fields: ["string"],
5738
+ # name: "string",
5739
+ # arn: "string",
5740
+ # sampling_rate: 1,
5741
+ # })
5742
+ #
5743
+ # @example Response structure
5744
+ #
5745
+ # resp.realtime_log_config.arn #=> String
5746
+ # resp.realtime_log_config.name #=> String
5747
+ # resp.realtime_log_config.sampling_rate #=> Integer
5748
+ # resp.realtime_log_config.end_points #=> Array
5749
+ # resp.realtime_log_config.end_points[0].stream_type #=> String
5750
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.role_arn #=> String
5751
+ # resp.realtime_log_config.end_points[0].kinesis_stream_config.stream_arn #=> String
5752
+ # resp.realtime_log_config.fields #=> Array
5753
+ # resp.realtime_log_config.fields[0] #=> String
5754
+ #
5755
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfig2020_05_31 AWS API Documentation
5756
+ #
5757
+ # @overload update_realtime_log_config(params = {})
5758
+ # @param [Hash] params ({})
5759
+ def update_realtime_log_config(params = {}, options = {})
5760
+ req = build_request(:update_realtime_log_config, params)
5761
+ req.send_request(options)
5762
+ end
5763
+
5228
5764
  # Update a streaming distribution.
5229
5765
  #
5230
5766
  # @option params [required, Types::StreamingDistributionConfig] :streaming_distribution_config
@@ -5328,7 +5864,7 @@ module Aws::CloudFront
5328
5864
  params: params,
5329
5865
  config: config)
5330
5866
  context[:gem_name] = 'aws-sdk-cloudfront'
5331
- context[:gem_version] = '1.38.0'
5867
+ context[:gem_version] = '1.43.0'
5332
5868
  Seahorse::Client::Request.new(handlers, context)
5333
5869
  end
5334
5870