aws-sdk-cloudfront 1.37.0 → 1.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudfront.rb +2 -1
- data/lib/aws-sdk-cloudfront/client.rb +649 -14
- data/lib/aws-sdk-cloudfront/client_api.rb +268 -0
- data/lib/aws-sdk-cloudfront/errors.rb +64 -0
- data/lib/aws-sdk-cloudfront/types.rb +789 -32
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f38fa18b9d8845e479c8882b2bc44b295eeb6d34bbb26d773462caf49c74ee3
|
4
|
+
data.tar.gz: d7c783e585883dcc2ff2ee32c52f38fdd8f7346ab3bc84abfe86ca38b24549f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5542e62b2ffa403179d4d527dcbad239265a68f9d46401ba3504f5f9c13343451001eac050cd66f5cfcbfb0c6d339e3a221b099a67cde6884ee819699b915433
|
7
|
+
data.tar.gz: 78a7f8d89a945676e1e8049331e0686b05a8f51a321277c7ed7658a3db4d437b7aa8c9335c6ad1d3e745dcebee0f1c3d138ebd6bbf5b44737233a55208be32ed
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -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.
|
52
|
+
GEM_VERSION = '1.42.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
|
-
# `
|
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"
|
@@ -1485,6 +1495,52 @@ module Aws::CloudFront
|
|
1485
1495
|
req.send_request(options)
|
1486
1496
|
end
|
1487
1497
|
|
1498
|
+
# Enables additional CloudWatch metrics for the specified CloudFront
|
1499
|
+
# distribution. The additional metrics incur an additional cost.
|
1500
|
+
#
|
1501
|
+
# For more information, see [Viewing additional CloudFront distribution
|
1502
|
+
# metrics][1] in the *Amazon CloudFront Developer Guide*.
|
1503
|
+
#
|
1504
|
+
#
|
1505
|
+
#
|
1506
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional
|
1507
|
+
#
|
1508
|
+
# @option params [required, String] :distribution_id
|
1509
|
+
# The ID of the distribution that you are enabling metrics for.
|
1510
|
+
#
|
1511
|
+
# @option params [required, Types::MonitoringSubscription] :monitoring_subscription
|
1512
|
+
# A monitoring subscription. This structure contains information about
|
1513
|
+
# whether additional CloudWatch metrics are enabled for a given
|
1514
|
+
# CloudFront distribution.
|
1515
|
+
#
|
1516
|
+
# @return [Types::CreateMonitoringSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1517
|
+
#
|
1518
|
+
# * {Types::CreateMonitoringSubscriptionResult#monitoring_subscription #monitoring_subscription} => Types::MonitoringSubscription
|
1519
|
+
#
|
1520
|
+
# @example Request syntax with placeholder values
|
1521
|
+
#
|
1522
|
+
# resp = client.create_monitoring_subscription({
|
1523
|
+
# distribution_id: "string", # required
|
1524
|
+
# monitoring_subscription: { # required
|
1525
|
+
# realtime_metrics_subscription_config: {
|
1526
|
+
# realtime_metrics_subscription_status: "Enabled", # required, accepts Enabled, Disabled
|
1527
|
+
# },
|
1528
|
+
# },
|
1529
|
+
# })
|
1530
|
+
#
|
1531
|
+
# @example Response structure
|
1532
|
+
#
|
1533
|
+
# resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
|
1534
|
+
#
|
1535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateMonitoringSubscription2020_05_31 AWS API Documentation
|
1536
|
+
#
|
1537
|
+
# @overload create_monitoring_subscription(params = {})
|
1538
|
+
# @param [Hash] params ({})
|
1539
|
+
def create_monitoring_subscription(params = {}, options = {})
|
1540
|
+
req = build_request(:create_monitoring_subscription, params)
|
1541
|
+
req.send_request(options)
|
1542
|
+
end
|
1543
|
+
|
1488
1544
|
# Creates an origin request policy.
|
1489
1545
|
#
|
1490
1546
|
# After you create an origin request policy, you can attach it to one or
|
@@ -1506,8 +1562,7 @@ module Aws::CloudFront
|
|
1506
1562
|
#
|
1507
1563
|
# CloudFront sends a request when it can’t find a valid object in its
|
1508
1564
|
# cache that matches the request. If you want to send values to the
|
1509
|
-
# origin and also include them in the cache key, use
|
1510
|
-
# `CreateCachePolicy`.
|
1565
|
+
# origin and also include them in the cache key, use `CachePolicy`.
|
1511
1566
|
#
|
1512
1567
|
# For more information about origin request policies, see [Controlling
|
1513
1568
|
# origin requests][1] in the *Amazon CloudFront Developer Guide*.
|
@@ -1629,6 +1684,84 @@ module Aws::CloudFront
|
|
1629
1684
|
req.send_request(options)
|
1630
1685
|
end
|
1631
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
|
+
|
1632
1765
|
# Creates a new RTMP distribution. An RTMP distribution is similar to a
|
1633
1766
|
# web distribution, but an RTMP distribution streams media files using
|
1634
1767
|
# the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files
|
@@ -1981,6 +2114,29 @@ module Aws::CloudFront
|
|
1981
2114
|
req.send_request(options)
|
1982
2115
|
end
|
1983
2116
|
|
2117
|
+
# Disables additional CloudWatch metrics for the specified CloudFront
|
2118
|
+
# distribution.
|
2119
|
+
#
|
2120
|
+
# @option params [required, String] :distribution_id
|
2121
|
+
# The ID of the distribution that you are disabling metrics for.
|
2122
|
+
#
|
2123
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2124
|
+
#
|
2125
|
+
# @example Request syntax with placeholder values
|
2126
|
+
#
|
2127
|
+
# resp = client.delete_monitoring_subscription({
|
2128
|
+
# distribution_id: "string", # required
|
2129
|
+
# })
|
2130
|
+
#
|
2131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteMonitoringSubscription2020_05_31 AWS API Documentation
|
2132
|
+
#
|
2133
|
+
# @overload delete_monitoring_subscription(params = {})
|
2134
|
+
# @param [Hash] params ({})
|
2135
|
+
def delete_monitoring_subscription(params = {}, options = {})
|
2136
|
+
req = build_request(:delete_monitoring_subscription, params)
|
2137
|
+
req.send_request(options)
|
2138
|
+
end
|
2139
|
+
|
1984
2140
|
# Deletes an origin request policy.
|
1985
2141
|
#
|
1986
2142
|
# You cannot delete an origin request policy if it’s attached to any
|
@@ -2048,6 +2204,43 @@ module Aws::CloudFront
|
|
2048
2204
|
req.send_request(options)
|
2049
2205
|
end
|
2050
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
|
+
|
2051
2244
|
# Delete a streaming distribution. To delete an RTMP distribution using
|
2052
2245
|
# the CloudFront API, perform the following steps.
|
2053
2246
|
#
|
@@ -2158,6 +2351,7 @@ module Aws::CloudFront
|
|
2158
2351
|
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
|
2159
2352
|
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
|
2160
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
|
2161
2355
|
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
2162
2356
|
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
2163
2357
|
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
@@ -2216,6 +2410,7 @@ module Aws::CloudFront
|
|
2216
2410
|
# resp.cache_policy_config.max_ttl #=> Integer
|
2217
2411
|
# resp.cache_policy_config.min_ttl #=> Integer
|
2218
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
|
2219
2414
|
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
2220
2415
|
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
2221
2416
|
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
@@ -2389,6 +2584,7 @@ module Aws::CloudFront
|
|
2389
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"
|
2390
2585
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
2391
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
|
2392
2588
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
2393
2589
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
2394
2590
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
@@ -2428,6 +2624,7 @@ module Aws::CloudFront
|
|
2428
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"
|
2429
2625
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2430
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
|
2431
2628
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
2432
2629
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
2433
2630
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
@@ -2460,7 +2657,7 @@ module Aws::CloudFront
|
|
2460
2657
|
# resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
|
2461
2658
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
2462
2659
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
2463
|
-
# 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"
|
2464
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"
|
2465
2662
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
2466
2663
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
@@ -2563,6 +2760,7 @@ module Aws::CloudFront
|
|
2563
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"
|
2564
2761
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
2565
2762
|
# resp.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
2763
|
+
# resp.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
|
2566
2764
|
# resp.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
2567
2765
|
# resp.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
2568
2766
|
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
@@ -2602,6 +2800,7 @@ module Aws::CloudFront
|
|
2602
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"
|
2603
2801
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
2604
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
|
2605
2804
|
# resp.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
2606
2805
|
# resp.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
2607
2806
|
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
@@ -2634,7 +2833,7 @@ module Aws::CloudFront
|
|
2634
2833
|
# resp.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
|
2635
2834
|
# resp.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
2636
2835
|
# resp.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
2637
|
-
# 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"
|
2638
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"
|
2639
2838
|
# resp.distribution_config.viewer_certificate.certificate #=> String
|
2640
2839
|
# resp.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
@@ -2869,6 +3068,36 @@ module Aws::CloudFront
|
|
2869
3068
|
req.send_request(options)
|
2870
3069
|
end
|
2871
3070
|
|
3071
|
+
# Gets information about whether additional CloudWatch metrics are
|
3072
|
+
# enabled for the specified CloudFront distribution.
|
3073
|
+
#
|
3074
|
+
# @option params [required, String] :distribution_id
|
3075
|
+
# The ID of the distribution that you are getting metrics information
|
3076
|
+
# for.
|
3077
|
+
#
|
3078
|
+
# @return [Types::GetMonitoringSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3079
|
+
#
|
3080
|
+
# * {Types::GetMonitoringSubscriptionResult#monitoring_subscription #monitoring_subscription} => Types::MonitoringSubscription
|
3081
|
+
#
|
3082
|
+
# @example Request syntax with placeholder values
|
3083
|
+
#
|
3084
|
+
# resp = client.get_monitoring_subscription({
|
3085
|
+
# distribution_id: "string", # required
|
3086
|
+
# })
|
3087
|
+
#
|
3088
|
+
# @example Response structure
|
3089
|
+
#
|
3090
|
+
# resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
|
3091
|
+
#
|
3092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetMonitoringSubscription2020_05_31 AWS API Documentation
|
3093
|
+
#
|
3094
|
+
# @overload get_monitoring_subscription(params = {})
|
3095
|
+
# @param [Hash] params ({})
|
3096
|
+
def get_monitoring_subscription(params = {}, options = {})
|
3097
|
+
req = build_request(:get_monitoring_subscription, params)
|
3098
|
+
req.send_request(options)
|
3099
|
+
end
|
3100
|
+
|
2872
3101
|
# Gets an origin request policy, including the following metadata:
|
2873
3102
|
#
|
2874
3103
|
# * The policy’s identifier.
|
@@ -3053,6 +3282,52 @@ module Aws::CloudFront
|
|
3053
3282
|
req.send_request(options)
|
3054
3283
|
end
|
3055
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
|
+
|
3056
3331
|
# Gets information about a specified RTMP distribution, including the
|
3057
3332
|
# distribution configuration.
|
3058
3333
|
#
|
@@ -3220,6 +3495,7 @@ module Aws::CloudFront
|
|
3220
3495
|
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.max_ttl #=> Integer
|
3221
3496
|
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.min_ttl #=> Integer
|
3222
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
|
3223
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"
|
3224
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
|
3225
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
|
@@ -3380,6 +3656,7 @@ module Aws::CloudFront
|
|
3380
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"
|
3381
3657
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
3382
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
|
3383
3660
|
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
3384
3661
|
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
3385
3662
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
@@ -3419,6 +3696,7 @@ module Aws::CloudFront
|
|
3419
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"
|
3420
3697
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
3421
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
|
3422
3700
|
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
3423
3701
|
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
3424
3702
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
@@ -3447,7 +3725,7 @@ module Aws::CloudFront
|
|
3447
3725
|
# resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
|
3448
3726
|
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
3449
3727
|
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
3450
|
-
# 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"
|
3451
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"
|
3452
3730
|
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
3453
3731
|
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
@@ -3581,6 +3859,210 @@ module Aws::CloudFront
|
|
3581
3859
|
req.send_request(options)
|
3582
3860
|
end
|
3583
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
|
+
|
3584
4066
|
# List the distributions that are associated with a specified AWS WAF
|
3585
4067
|
# web ACL.
|
3586
4068
|
#
|
@@ -3678,6 +4160,7 @@ module Aws::CloudFront
|
|
3678
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"
|
3679
4161
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
3680
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
|
3681
4164
|
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
3682
4165
|
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
3683
4166
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
@@ -3717,6 +4200,7 @@ module Aws::CloudFront
|
|
3717
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"
|
3718
4201
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
3719
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
|
3720
4204
|
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
3721
4205
|
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
3722
4206
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
@@ -3745,7 +4229,7 @@ module Aws::CloudFront
|
|
3745
4229
|
# resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
|
3746
4230
|
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
3747
4231
|
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
3748
|
-
# 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"
|
3749
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"
|
3750
4234
|
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
3751
4235
|
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
@@ -4054,6 +4538,63 @@ module Aws::CloudFront
|
|
4054
4538
|
req.send_request(options)
|
4055
4539
|
end
|
4056
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
|
+
|
4057
4598
|
# List streaming distributions.
|
4058
4599
|
#
|
4059
4600
|
# @option params [String] :marker
|
@@ -4246,6 +4787,7 @@ module Aws::CloudFront
|
|
4246
4787
|
# min_ttl: 1, # required
|
4247
4788
|
# parameters_in_cache_key_and_forwarded_to_origin: {
|
4248
4789
|
# enable_accept_encoding_gzip: false, # required
|
4790
|
+
# enable_accept_encoding_brotli: false,
|
4249
4791
|
# headers_config: { # required
|
4250
4792
|
# header_behavior: "none", # required, accepts none, whitelist
|
4251
4793
|
# headers: {
|
@@ -4283,6 +4825,7 @@ module Aws::CloudFront
|
|
4283
4825
|
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
|
4284
4826
|
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
|
4285
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
|
4286
4829
|
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
|
4287
4830
|
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
|
4288
4831
|
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
|
@@ -4539,6 +5082,7 @@ module Aws::CloudFront
|
|
4539
5082
|
# ],
|
4540
5083
|
# },
|
4541
5084
|
# field_level_encryption_id: "string",
|
5085
|
+
# realtime_log_config_arn: "string",
|
4542
5086
|
# cache_policy_id: "string",
|
4543
5087
|
# origin_request_policy_id: "string",
|
4544
5088
|
# forwarded_values: {
|
@@ -4596,6 +5140,7 @@ module Aws::CloudFront
|
|
4596
5140
|
# ],
|
4597
5141
|
# },
|
4598
5142
|
# field_level_encryption_id: "string",
|
5143
|
+
# realtime_log_config_arn: "string",
|
4599
5144
|
# cache_policy_id: "string",
|
4600
5145
|
# origin_request_policy_id: "string",
|
4601
5146
|
# forwarded_values: {
|
@@ -4646,7 +5191,7 @@ module Aws::CloudFront
|
|
4646
5191
|
# cloud_front_default_certificate: false,
|
4647
5192
|
# iam_certificate_id: "string",
|
4648
5193
|
# acm_certificate_arn: "string",
|
4649
|
-
# ssl_support_method: "sni-only", # accepts sni-only, vip
|
5194
|
+
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
4650
5195
|
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
4651
5196
|
# certificate: "string",
|
4652
5197
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
@@ -4735,6 +5280,7 @@ module Aws::CloudFront
|
|
4735
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"
|
4736
5281
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
4737
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
|
4738
5284
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
4739
5285
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
4740
5286
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
@@ -4774,6 +5320,7 @@ module Aws::CloudFront
|
|
4774
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"
|
4775
5321
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
4776
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
|
4777
5324
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
4778
5325
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
4779
5326
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
@@ -4806,7 +5353,7 @@ module Aws::CloudFront
|
|
4806
5353
|
# resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
|
4807
5354
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
4808
5355
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
4809
|
-
# 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"
|
4810
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"
|
4811
5358
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
4812
5359
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
@@ -5126,6 +5673,94 @@ module Aws::CloudFront
|
|
5126
5673
|
req.send_request(options)
|
5127
5674
|
end
|
5128
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
|
+
|
5129
5764
|
# Update a streaming distribution.
|
5130
5765
|
#
|
5131
5766
|
# @option params [required, Types::StreamingDistributionConfig] :streaming_distribution_config
|
@@ -5229,7 +5864,7 @@ module Aws::CloudFront
|
|
5229
5864
|
params: params,
|
5230
5865
|
config: config)
|
5231
5866
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
5232
|
-
context[:gem_version] = '1.
|
5867
|
+
context[:gem_version] = '1.42.0'
|
5233
5868
|
Seahorse::Client::Request.new(handlers, context)
|
5234
5869
|
end
|
5235
5870
|
|