aws-sdk-cloudfront 1.55.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +789 -94
- data/lib/aws-sdk-cloudfront/client_api.rb +334 -3
- data/lib/aws-sdk-cloudfront/errors.rb +96 -0
- data/lib/aws-sdk-cloudfront/signer.rb +1 -1
- data/lib/aws-sdk-cloudfront/types.rb +1761 -162
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +5 -5
@@ -275,6 +275,15 @@ module Aws::CloudFront
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -362,7 +371,7 @@ module Aws::CloudFront
|
|
362
371
|
# alias: "string", # required
|
363
372
|
# })
|
364
373
|
#
|
365
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AssociateAlias AWS API Documentation
|
366
375
|
#
|
367
376
|
# @overload associate_alias(params = {})
|
368
377
|
# @param [Hash] params ({})
|
@@ -471,7 +480,7 @@ module Aws::CloudFront
|
|
471
480
|
# resp.location #=> String
|
472
481
|
# resp.etag #=> String
|
473
482
|
#
|
474
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCachePolicy AWS API Documentation
|
475
484
|
#
|
476
485
|
# @overload create_cache_policy(params = {})
|
477
486
|
# @param [Hash] params ({})
|
@@ -518,7 +527,7 @@ module Aws::CloudFront
|
|
518
527
|
# resp.location #=> String
|
519
528
|
# resp.etag #=> String
|
520
529
|
#
|
521
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity AWS API Documentation
|
522
531
|
#
|
523
532
|
# @overload create_cloud_front_origin_access_identity(params = {})
|
524
533
|
# @param [Hash] params ({})
|
@@ -578,7 +587,7 @@ module Aws::CloudFront
|
|
578
587
|
# items: [
|
579
588
|
# {
|
580
589
|
# header_name: "string", # required
|
581
|
-
# header_value: "
|
590
|
+
# header_value: "sensitiveStringType", # required
|
582
591
|
# },
|
583
592
|
# ],
|
584
593
|
# },
|
@@ -673,6 +682,7 @@ module Aws::CloudFront
|
|
673
682
|
# realtime_log_config_arn: "string",
|
674
683
|
# cache_policy_id: "string",
|
675
684
|
# origin_request_policy_id: "string",
|
685
|
+
# response_headers_policy_id: "string",
|
676
686
|
# forwarded_values: {
|
677
687
|
# query_string: false, # required
|
678
688
|
# cookies: { # required
|
@@ -745,6 +755,7 @@ module Aws::CloudFront
|
|
745
755
|
# realtime_log_config_arn: "string",
|
746
756
|
# cache_policy_id: "string",
|
747
757
|
# origin_request_policy_id: "string",
|
758
|
+
# response_headers_policy_id: "string",
|
748
759
|
# forwarded_values: {
|
749
760
|
# query_string: false, # required
|
750
761
|
# cookies: { # required
|
@@ -900,6 +911,7 @@ module Aws::CloudFront
|
|
900
911
|
# resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
|
901
912
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
902
913
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
914
|
+
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
903
915
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
904
916
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
905
917
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -948,6 +960,7 @@ module Aws::CloudFront
|
|
948
960
|
# resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
|
949
961
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
950
962
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
963
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
951
964
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
952
965
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
953
966
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -995,7 +1008,7 @@ module Aws::CloudFront
|
|
995
1008
|
# resp.location #=> String
|
996
1009
|
# resp.etag #=> String
|
997
1010
|
#
|
998
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistribution AWS API Documentation
|
999
1012
|
#
|
1000
1013
|
# @overload create_distribution(params = {})
|
1001
1014
|
# @param [Hash] params ({})
|
@@ -1038,7 +1051,7 @@ module Aws::CloudFront
|
|
1038
1051
|
# items: [
|
1039
1052
|
# {
|
1040
1053
|
# header_name: "string", # required
|
1041
|
-
# header_value: "
|
1054
|
+
# header_value: "sensitiveStringType", # required
|
1042
1055
|
# },
|
1043
1056
|
# ],
|
1044
1057
|
# },
|
@@ -1133,6 +1146,7 @@ module Aws::CloudFront
|
|
1133
1146
|
# realtime_log_config_arn: "string",
|
1134
1147
|
# cache_policy_id: "string",
|
1135
1148
|
# origin_request_policy_id: "string",
|
1149
|
+
# response_headers_policy_id: "string",
|
1136
1150
|
# forwarded_values: {
|
1137
1151
|
# query_string: false, # required
|
1138
1152
|
# cookies: { # required
|
@@ -1205,6 +1219,7 @@ module Aws::CloudFront
|
|
1205
1219
|
# realtime_log_config_arn: "string",
|
1206
1220
|
# cache_policy_id: "string",
|
1207
1221
|
# origin_request_policy_id: "string",
|
1222
|
+
# response_headers_policy_id: "string",
|
1208
1223
|
# forwarded_values: {
|
1209
1224
|
# query_string: false, # required
|
1210
1225
|
# cookies: { # required
|
@@ -1369,6 +1384,7 @@ module Aws::CloudFront
|
|
1369
1384
|
# resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
|
1370
1385
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
1371
1386
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
1387
|
+
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
1372
1388
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
1373
1389
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1374
1390
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -1417,6 +1433,7 @@ module Aws::CloudFront
|
|
1417
1433
|
# resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
|
1418
1434
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
1419
1435
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
1436
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
1420
1437
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
1421
1438
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
1422
1439
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -1464,7 +1481,7 @@ module Aws::CloudFront
|
|
1464
1481
|
# resp.location #=> String
|
1465
1482
|
# resp.etag #=> String
|
1466
1483
|
#
|
1467
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1484
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistributionWithTags AWS API Documentation
|
1468
1485
|
#
|
1469
1486
|
# @overload create_distribution_with_tags(params = {})
|
1470
1487
|
# @param [Hash] params ({})
|
@@ -1538,7 +1555,7 @@ module Aws::CloudFront
|
|
1538
1555
|
# resp.location #=> String
|
1539
1556
|
# resp.etag #=> String
|
1540
1557
|
#
|
1541
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig AWS API Documentation
|
1542
1559
|
#
|
1543
1560
|
# @overload create_field_level_encryption_config(params = {})
|
1544
1561
|
# @param [Hash] params ({})
|
@@ -1598,7 +1615,7 @@ module Aws::CloudFront
|
|
1598
1615
|
# resp.location #=> String
|
1599
1616
|
# resp.etag #=> String
|
1600
1617
|
#
|
1601
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile AWS API Documentation
|
1602
1619
|
#
|
1603
1620
|
# @overload create_field_level_encryption_profile(params = {})
|
1604
1621
|
# @param [Hash] params ({})
|
@@ -1668,7 +1685,7 @@ module Aws::CloudFront
|
|
1668
1685
|
# resp.location #=> String
|
1669
1686
|
# resp.etag #=> String
|
1670
1687
|
#
|
1671
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFunction AWS API Documentation
|
1672
1689
|
#
|
1673
1690
|
# @overload create_function(params = {})
|
1674
1691
|
# @param [Hash] params ({})
|
@@ -1714,7 +1731,7 @@ module Aws::CloudFront
|
|
1714
1731
|
# resp.invalidation.invalidation_batch.paths.items[0] #=> String
|
1715
1732
|
# resp.invalidation.invalidation_batch.caller_reference #=> String
|
1716
1733
|
#
|
1717
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateInvalidation AWS API Documentation
|
1718
1735
|
#
|
1719
1736
|
# @overload create_invalidation(params = {})
|
1720
1737
|
# @param [Hash] params ({})
|
@@ -1771,7 +1788,7 @@ module Aws::CloudFront
|
|
1771
1788
|
# resp.location #=> String
|
1772
1789
|
# resp.etag #=> String
|
1773
1790
|
#
|
1774
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateKeyGroup AWS API Documentation
|
1775
1792
|
#
|
1776
1793
|
# @overload create_key_group(params = {})
|
1777
1794
|
# @param [Hash] params ({})
|
@@ -1817,7 +1834,7 @@ module Aws::CloudFront
|
|
1817
1834
|
#
|
1818
1835
|
# resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
|
1819
1836
|
#
|
1820
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateMonitoringSubscription AWS API Documentation
|
1821
1838
|
#
|
1822
1839
|
# @overload create_monitoring_subscription(params = {})
|
1823
1840
|
# @param [Hash] params ({})
|
@@ -1916,7 +1933,7 @@ module Aws::CloudFront
|
|
1916
1933
|
# resp.location #=> String
|
1917
1934
|
# resp.etag #=> String
|
1918
1935
|
#
|
1919
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1936
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateOriginRequestPolicy AWS API Documentation
|
1920
1937
|
#
|
1921
1938
|
# @overload create_origin_request_policy(params = {})
|
1922
1939
|
# @param [Hash] params ({})
|
@@ -1964,7 +1981,7 @@ module Aws::CloudFront
|
|
1964
1981
|
# resp.location #=> String
|
1965
1982
|
# resp.etag #=> String
|
1966
1983
|
#
|
1967
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
1984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreatePublicKey AWS API Documentation
|
1968
1985
|
#
|
1969
1986
|
# @overload create_public_key(params = {})
|
1970
1987
|
# @param [Hash] params ({})
|
@@ -2042,7 +2059,7 @@ module Aws::CloudFront
|
|
2042
2059
|
# resp.realtime_log_config.fields #=> Array
|
2043
2060
|
# resp.realtime_log_config.fields[0] #=> String
|
2044
2061
|
#
|
2045
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2062
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfig AWS API Documentation
|
2046
2063
|
#
|
2047
2064
|
# @overload create_realtime_log_config(params = {})
|
2048
2065
|
# @param [Hash] params ({})
|
@@ -2051,6 +2068,151 @@ module Aws::CloudFront
|
|
2051
2068
|
req.send_request(options)
|
2052
2069
|
end
|
2053
2070
|
|
2071
|
+
# Creates a response headers policy.
|
2072
|
+
#
|
2073
|
+
# A response headers policy contains information about a set of HTTP
|
2074
|
+
# response headers and their values. To create a response headers
|
2075
|
+
# policy, you provide some metadata about the policy, and a set of
|
2076
|
+
# configurations that specify the response headers.
|
2077
|
+
#
|
2078
|
+
# After you create a response headers policy, you can use its ID to
|
2079
|
+
# attach it to one or more cache behaviors in a CloudFront distribution.
|
2080
|
+
# When it’s attached to a cache behavior, CloudFront adds the headers in
|
2081
|
+
# the policy to HTTP responses that it sends for requests that match the
|
2082
|
+
# cache behavior.
|
2083
|
+
#
|
2084
|
+
# @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
|
2085
|
+
# Contains metadata about the response headers policy, and a set of
|
2086
|
+
# configurations that specify the response headers.
|
2087
|
+
#
|
2088
|
+
# @return [Types::CreateResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2089
|
+
#
|
2090
|
+
# * {Types::CreateResponseHeadersPolicyResult#response_headers_policy #response_headers_policy} => Types::ResponseHeadersPolicy
|
2091
|
+
# * {Types::CreateResponseHeadersPolicyResult#location #location} => String
|
2092
|
+
# * {Types::CreateResponseHeadersPolicyResult#etag #etag} => String
|
2093
|
+
#
|
2094
|
+
# @example Request syntax with placeholder values
|
2095
|
+
#
|
2096
|
+
# resp = client.create_response_headers_policy({
|
2097
|
+
# response_headers_policy_config: { # required
|
2098
|
+
# comment: "string",
|
2099
|
+
# name: "string", # required
|
2100
|
+
# cors_config: {
|
2101
|
+
# access_control_allow_origins: { # required
|
2102
|
+
# quantity: 1, # required
|
2103
|
+
# items: ["string"], # required
|
2104
|
+
# },
|
2105
|
+
# access_control_allow_headers: { # required
|
2106
|
+
# quantity: 1, # required
|
2107
|
+
# items: ["string"], # required
|
2108
|
+
# },
|
2109
|
+
# access_control_allow_methods: { # required
|
2110
|
+
# quantity: 1, # required
|
2111
|
+
# items: ["GET"], # required, accepts GET, POST, OPTIONS, PUT, DELETE, PATCH, HEAD, ALL
|
2112
|
+
# },
|
2113
|
+
# access_control_allow_credentials: false, # required
|
2114
|
+
# access_control_expose_headers: {
|
2115
|
+
# quantity: 1, # required
|
2116
|
+
# items: ["string"],
|
2117
|
+
# },
|
2118
|
+
# access_control_max_age_sec: 1,
|
2119
|
+
# origin_override: false, # required
|
2120
|
+
# },
|
2121
|
+
# security_headers_config: {
|
2122
|
+
# xss_protection: {
|
2123
|
+
# override: false, # required
|
2124
|
+
# protection: false, # required
|
2125
|
+
# mode_block: false,
|
2126
|
+
# report_uri: "string",
|
2127
|
+
# },
|
2128
|
+
# frame_options: {
|
2129
|
+
# override: false, # required
|
2130
|
+
# frame_option: "DENY", # required, accepts DENY, SAMEORIGIN
|
2131
|
+
# },
|
2132
|
+
# referrer_policy: {
|
2133
|
+
# override: false, # required
|
2134
|
+
# referrer_policy: "no-referrer", # required, accepts no-referrer, no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
|
2135
|
+
# },
|
2136
|
+
# content_security_policy: {
|
2137
|
+
# override: false, # required
|
2138
|
+
# content_security_policy: "string", # required
|
2139
|
+
# },
|
2140
|
+
# content_type_options: {
|
2141
|
+
# override: false, # required
|
2142
|
+
# },
|
2143
|
+
# strict_transport_security: {
|
2144
|
+
# override: false, # required
|
2145
|
+
# include_subdomains: false,
|
2146
|
+
# preload: false,
|
2147
|
+
# access_control_max_age_sec: 1, # required
|
2148
|
+
# },
|
2149
|
+
# },
|
2150
|
+
# custom_headers_config: {
|
2151
|
+
# quantity: 1, # required
|
2152
|
+
# items: [
|
2153
|
+
# {
|
2154
|
+
# header: "string", # required
|
2155
|
+
# value: "string", # required
|
2156
|
+
# override: false, # required
|
2157
|
+
# },
|
2158
|
+
# ],
|
2159
|
+
# },
|
2160
|
+
# },
|
2161
|
+
# })
|
2162
|
+
#
|
2163
|
+
# @example Response structure
|
2164
|
+
#
|
2165
|
+
# resp.response_headers_policy.id #=> String
|
2166
|
+
# resp.response_headers_policy.last_modified_time #=> Time
|
2167
|
+
# resp.response_headers_policy.response_headers_policy_config.comment #=> String
|
2168
|
+
# resp.response_headers_policy.response_headers_policy_config.name #=> String
|
2169
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
|
2170
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
|
2171
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
|
2172
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
|
2173
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
|
2174
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
|
2175
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
|
2176
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
|
2177
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items[0] #=> String, one of "GET", "POST", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD", "ALL"
|
2178
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
|
2179
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
|
2180
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
|
2181
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
|
2182
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
|
2183
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.origin_override #=> Boolean
|
2184
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
|
2185
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
|
2186
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
|
2187
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
|
2188
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
|
2189
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.frame_option #=> String, one of "DENY", "SAMEORIGIN"
|
2190
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
|
2191
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.referrer_policy #=> String, one of "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"
|
2192
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
|
2193
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
|
2194
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
|
2195
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
|
2196
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
|
2197
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
|
2198
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.access_control_max_age_sec #=> Integer
|
2199
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.quantity #=> Integer
|
2200
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items #=> Array
|
2201
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].header #=> String
|
2202
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].value #=> String
|
2203
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
|
2204
|
+
# resp.location #=> String
|
2205
|
+
# resp.etag #=> String
|
2206
|
+
#
|
2207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateResponseHeadersPolicy AWS API Documentation
|
2208
|
+
#
|
2209
|
+
# @overload create_response_headers_policy(params = {})
|
2210
|
+
# @param [Hash] params ({})
|
2211
|
+
def create_response_headers_policy(params = {}, options = {})
|
2212
|
+
req = build_request(:create_response_headers_policy, params)
|
2213
|
+
req.send_request(options)
|
2214
|
+
end
|
2215
|
+
|
2054
2216
|
# This API is deprecated. Amazon CloudFront is deprecating real-time
|
2055
2217
|
# messaging protocol (RTMP) distributions on December 31, 2020. For more
|
2056
2218
|
# information, [read the announcement][1] on the Amazon CloudFront
|
@@ -2131,7 +2293,7 @@ module Aws::CloudFront
|
|
2131
2293
|
# resp.location #=> String
|
2132
2294
|
# resp.etag #=> String
|
2133
2295
|
#
|
2134
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistribution AWS API Documentation
|
2135
2297
|
#
|
2136
2298
|
# @overload create_streaming_distribution(params = {})
|
2137
2299
|
# @param [Hash] params ({})
|
@@ -2230,7 +2392,7 @@ module Aws::CloudFront
|
|
2230
2392
|
# resp.location #=> String
|
2231
2393
|
# resp.etag #=> String
|
2232
2394
|
#
|
2233
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistributionWithTags AWS API Documentation
|
2234
2396
|
#
|
2235
2397
|
# @overload create_streaming_distribution_with_tags(params = {})
|
2236
2398
|
# @param [Hash] params ({})
|
@@ -2267,7 +2429,7 @@ module Aws::CloudFront
|
|
2267
2429
|
# if_match: "string",
|
2268
2430
|
# })
|
2269
2431
|
#
|
2270
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCachePolicy AWS API Documentation
|
2271
2433
|
#
|
2272
2434
|
# @overload delete_cache_policy(params = {})
|
2273
2435
|
# @param [Hash] params ({})
|
@@ -2294,7 +2456,7 @@ module Aws::CloudFront
|
|
2294
2456
|
# if_match: "string",
|
2295
2457
|
# })
|
2296
2458
|
#
|
2297
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2459
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity AWS API Documentation
|
2298
2460
|
#
|
2299
2461
|
# @overload delete_cloud_front_origin_access_identity(params = {})
|
2300
2462
|
# @param [Hash] params ({})
|
@@ -2321,7 +2483,7 @@ module Aws::CloudFront
|
|
2321
2483
|
# if_match: "string",
|
2322
2484
|
# })
|
2323
2485
|
#
|
2324
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteDistribution AWS API Documentation
|
2325
2487
|
#
|
2326
2488
|
# @overload delete_distribution(params = {})
|
2327
2489
|
# @param [Hash] params ({})
|
@@ -2348,7 +2510,7 @@ module Aws::CloudFront
|
|
2348
2510
|
# if_match: "string",
|
2349
2511
|
# })
|
2350
2512
|
#
|
2351
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig AWS API Documentation
|
2352
2514
|
#
|
2353
2515
|
# @overload delete_field_level_encryption_config(params = {})
|
2354
2516
|
# @param [Hash] params ({})
|
@@ -2375,7 +2537,7 @@ module Aws::CloudFront
|
|
2375
2537
|
# if_match: "string",
|
2376
2538
|
# })
|
2377
2539
|
#
|
2378
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile AWS API Documentation
|
2379
2541
|
#
|
2380
2542
|
# @overload delete_field_level_encryption_profile(params = {})
|
2381
2543
|
# @param [Hash] params ({})
|
@@ -2410,7 +2572,7 @@ module Aws::CloudFront
|
|
2410
2572
|
# if_match: "string", # required
|
2411
2573
|
# })
|
2412
2574
|
#
|
2413
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2575
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFunction AWS API Documentation
|
2414
2576
|
#
|
2415
2577
|
# @overload delete_function(params = {})
|
2416
2578
|
# @param [Hash] params ({})
|
@@ -2447,7 +2609,7 @@ module Aws::CloudFront
|
|
2447
2609
|
# if_match: "string",
|
2448
2610
|
# })
|
2449
2611
|
#
|
2450
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteKeyGroup AWS API Documentation
|
2451
2613
|
#
|
2452
2614
|
# @overload delete_key_group(params = {})
|
2453
2615
|
# @param [Hash] params ({})
|
@@ -2470,7 +2632,7 @@ module Aws::CloudFront
|
|
2470
2632
|
# distribution_id: "string", # required
|
2471
2633
|
# })
|
2472
2634
|
#
|
2473
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteMonitoringSubscription AWS API Documentation
|
2474
2636
|
#
|
2475
2637
|
# @overload delete_monitoring_subscription(params = {})
|
2476
2638
|
# @param [Hash] params ({})
|
@@ -2510,7 +2672,7 @@ module Aws::CloudFront
|
|
2510
2672
|
# if_match: "string",
|
2511
2673
|
# })
|
2512
2674
|
#
|
2513
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteOriginRequestPolicy AWS API Documentation
|
2514
2676
|
#
|
2515
2677
|
# @overload delete_origin_request_policy(params = {})
|
2516
2678
|
# @param [Hash] params ({})
|
@@ -2537,7 +2699,7 @@ module Aws::CloudFront
|
|
2537
2699
|
# if_match: "string",
|
2538
2700
|
# })
|
2539
2701
|
#
|
2540
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeletePublicKey AWS API Documentation
|
2541
2703
|
#
|
2542
2704
|
# @overload delete_public_key(params = {})
|
2543
2705
|
# @param [Hash] params ({})
|
@@ -2574,7 +2736,7 @@ module Aws::CloudFront
|
|
2574
2736
|
# arn: "string",
|
2575
2737
|
# })
|
2576
2738
|
#
|
2577
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteRealtimeLogConfig AWS API Documentation
|
2578
2740
|
#
|
2579
2741
|
# @overload delete_realtime_log_config(params = {})
|
2580
2742
|
# @param [Hash] params ({})
|
@@ -2583,6 +2745,47 @@ module Aws::CloudFront
|
|
2583
2745
|
req.send_request(options)
|
2584
2746
|
end
|
2585
2747
|
|
2748
|
+
# Deletes a response headers policy.
|
2749
|
+
#
|
2750
|
+
# You cannot delete a response headers policy if it’s attached to a
|
2751
|
+
# cache behavior. First update your distributions to remove the response
|
2752
|
+
# headers policy from all cache behaviors, then delete the response
|
2753
|
+
# headers policy.
|
2754
|
+
#
|
2755
|
+
# To delete a response headers policy, you must provide the policy’s
|
2756
|
+
# identifier and version. To get these values, you can use
|
2757
|
+
# `ListResponseHeadersPolicies` or `GetResponseHeadersPolicy`.
|
2758
|
+
#
|
2759
|
+
# @option params [required, String] :id
|
2760
|
+
# The identifier for the response headers policy that you are deleting.
|
2761
|
+
#
|
2762
|
+
# To get the identifier, you can use `ListResponseHeadersPolicies`.
|
2763
|
+
#
|
2764
|
+
# @option params [String] :if_match
|
2765
|
+
# The version of the response headers policy that you are deleting.
|
2766
|
+
#
|
2767
|
+
# The version is the response headers policy’s `ETag` value, which you
|
2768
|
+
# can get using `ListResponseHeadersPolicies`,
|
2769
|
+
# `GetResponseHeadersPolicy`, or `GetResponseHeadersPolicyConfig`.
|
2770
|
+
#
|
2771
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2772
|
+
#
|
2773
|
+
# @example Request syntax with placeholder values
|
2774
|
+
#
|
2775
|
+
# resp = client.delete_response_headers_policy({
|
2776
|
+
# id: "string", # required
|
2777
|
+
# if_match: "string",
|
2778
|
+
# })
|
2779
|
+
#
|
2780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteResponseHeadersPolicy AWS API Documentation
|
2781
|
+
#
|
2782
|
+
# @overload delete_response_headers_policy(params = {})
|
2783
|
+
# @param [Hash] params ({})
|
2784
|
+
def delete_response_headers_policy(params = {}, options = {})
|
2785
|
+
req = build_request(:delete_response_headers_policy, params)
|
2786
|
+
req.send_request(options)
|
2787
|
+
end
|
2788
|
+
|
2586
2789
|
# Delete a streaming distribution. To delete an RTMP distribution using
|
2587
2790
|
# the CloudFront API, perform the following steps.
|
2588
2791
|
#
|
@@ -2644,7 +2847,7 @@ module Aws::CloudFront
|
|
2644
2847
|
# if_match: "string",
|
2645
2848
|
# })
|
2646
2849
|
#
|
2647
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteStreamingDistribution AWS API Documentation
|
2648
2851
|
#
|
2649
2852
|
# @overload delete_streaming_distribution(params = {})
|
2650
2853
|
# @param [Hash] params ({})
|
@@ -2691,7 +2894,7 @@ module Aws::CloudFront
|
|
2691
2894
|
# resp.function_summary.function_metadata.last_modified_time #=> Time
|
2692
2895
|
# resp.etag #=> String
|
2693
2896
|
#
|
2694
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2897
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DescribeFunction AWS API Documentation
|
2695
2898
|
#
|
2696
2899
|
# @overload describe_function(params = {})
|
2697
2900
|
# @param [Hash] params ({})
|
@@ -2755,7 +2958,7 @@ module Aws::CloudFront
|
|
2755
2958
|
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
2756
2959
|
# resp.etag #=> String
|
2757
2960
|
#
|
2758
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
2961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicy AWS API Documentation
|
2759
2962
|
#
|
2760
2963
|
# @overload get_cache_policy(params = {})
|
2761
2964
|
# @param [Hash] params ({})
|
@@ -2814,7 +3017,7 @@ module Aws::CloudFront
|
|
2814
3017
|
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
2815
3018
|
# resp.etag #=> String
|
2816
3019
|
#
|
2817
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3020
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicyConfig AWS API Documentation
|
2818
3021
|
#
|
2819
3022
|
# @overload get_cache_policy_config(params = {})
|
2820
3023
|
# @param [Hash] params ({})
|
@@ -2847,7 +3050,7 @@ module Aws::CloudFront
|
|
2847
3050
|
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
|
2848
3051
|
# resp.etag #=> String
|
2849
3052
|
#
|
2850
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity AWS API Documentation
|
2851
3054
|
#
|
2852
3055
|
# @overload get_cloud_front_origin_access_identity(params = {})
|
2853
3056
|
# @param [Hash] params ({})
|
@@ -2878,7 +3081,7 @@ module Aws::CloudFront
|
|
2878
3081
|
# resp.cloud_front_origin_access_identity_config.comment #=> String
|
2879
3082
|
# resp.etag #=> String
|
2880
3083
|
#
|
2881
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3084
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig AWS API Documentation
|
2882
3085
|
#
|
2883
3086
|
# @overload get_cloud_front_origin_access_identity_config(params = {})
|
2884
3087
|
# @param [Hash] params ({})
|
@@ -2993,6 +3196,7 @@ module Aws::CloudFront
|
|
2993
3196
|
# resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
|
2994
3197
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
2995
3198
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
3199
|
+
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
2996
3200
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
2997
3201
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
2998
3202
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -3041,6 +3245,7 @@ module Aws::CloudFront
|
|
3041
3245
|
# resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
|
3042
3246
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
3043
3247
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
3248
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
3044
3249
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
3045
3250
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3046
3251
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -3092,7 +3297,7 @@ module Aws::CloudFront
|
|
3092
3297
|
#
|
3093
3298
|
# * distribution_deployed
|
3094
3299
|
#
|
3095
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistribution AWS API Documentation
|
3096
3301
|
#
|
3097
3302
|
# @overload get_distribution(params = {})
|
3098
3303
|
# @param [Hash] params ({})
|
@@ -3187,6 +3392,7 @@ module Aws::CloudFront
|
|
3187
3392
|
# resp.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
|
3188
3393
|
# resp.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
3189
3394
|
# resp.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
3395
|
+
# resp.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
3190
3396
|
# resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
3191
3397
|
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3192
3398
|
# resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -3235,6 +3441,7 @@ module Aws::CloudFront
|
|
3235
3441
|
# resp.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
|
3236
3442
|
# resp.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
3237
3443
|
# resp.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
3444
|
+
# resp.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
3238
3445
|
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
3239
3446
|
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
3240
3447
|
# resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -3278,7 +3485,7 @@ module Aws::CloudFront
|
|
3278
3485
|
# resp.distribution_config.is_ipv6_enabled #=> Boolean
|
3279
3486
|
# resp.etag #=> String
|
3280
3487
|
#
|
3281
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3488
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig AWS API Documentation
|
3282
3489
|
#
|
3283
3490
|
# @overload get_distribution_config(params = {})
|
3284
3491
|
# @param [Hash] params ({})
|
@@ -3323,7 +3530,7 @@ module Aws::CloudFront
|
|
3323
3530
|
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
3324
3531
|
# resp.etag #=> String
|
3325
3532
|
#
|
3326
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryption AWS API Documentation
|
3327
3534
|
#
|
3328
3535
|
# @overload get_field_level_encryption(params = {})
|
3329
3536
|
# @param [Hash] params ({})
|
@@ -3366,7 +3573,7 @@ module Aws::CloudFront
|
|
3366
3573
|
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
3367
3574
|
# resp.etag #=> String
|
3368
3575
|
#
|
3369
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig AWS API Documentation
|
3370
3577
|
#
|
3371
3578
|
# @overload get_field_level_encryption_config(params = {})
|
3372
3579
|
# @param [Hash] params ({})
|
@@ -3407,7 +3614,7 @@ module Aws::CloudFront
|
|
3407
3614
|
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
3408
3615
|
# resp.etag #=> String
|
3409
3616
|
#
|
3410
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile AWS API Documentation
|
3411
3618
|
#
|
3412
3619
|
# @overload get_field_level_encryption_profile(params = {})
|
3413
3620
|
# @param [Hash] params ({})
|
@@ -3447,7 +3654,7 @@ module Aws::CloudFront
|
|
3447
3654
|
# resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
3448
3655
|
# resp.etag #=> String
|
3449
3656
|
#
|
3450
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig AWS API Documentation
|
3451
3658
|
#
|
3452
3659
|
# @overload get_field_level_encryption_profile_config(params = {})
|
3453
3660
|
# @param [Hash] params ({})
|
@@ -3487,7 +3694,7 @@ module Aws::CloudFront
|
|
3487
3694
|
# resp.etag #=> String
|
3488
3695
|
# resp.content_type #=> String
|
3489
3696
|
#
|
3490
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFunction AWS API Documentation
|
3491
3698
|
#
|
3492
3699
|
# @overload get_function(params = {})
|
3493
3700
|
# @param [Hash] params ({})
|
@@ -3531,7 +3738,7 @@ module Aws::CloudFront
|
|
3531
3738
|
#
|
3532
3739
|
# * invalidation_completed
|
3533
3740
|
#
|
3534
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetInvalidation AWS API Documentation
|
3535
3742
|
#
|
3536
3743
|
# @overload get_invalidation(params = {})
|
3537
3744
|
# @param [Hash] params ({})
|
@@ -3574,7 +3781,7 @@ module Aws::CloudFront
|
|
3574
3781
|
# resp.key_group.key_group_config.comment #=> String
|
3575
3782
|
# resp.etag #=> String
|
3576
3783
|
#
|
3577
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroup AWS API Documentation
|
3578
3785
|
#
|
3579
3786
|
# @overload get_key_group(params = {})
|
3580
3787
|
# @param [Hash] params ({})
|
@@ -3615,7 +3822,7 @@ module Aws::CloudFront
|
|
3615
3822
|
# resp.key_group_config.comment #=> String
|
3616
3823
|
# resp.etag #=> String
|
3617
3824
|
#
|
3618
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroupConfig AWS API Documentation
|
3619
3826
|
#
|
3620
3827
|
# @overload get_key_group_config(params = {})
|
3621
3828
|
# @param [Hash] params ({})
|
@@ -3645,7 +3852,7 @@ module Aws::CloudFront
|
|
3645
3852
|
#
|
3646
3853
|
# resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
|
3647
3854
|
#
|
3648
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetMonitoringSubscription AWS API Documentation
|
3649
3856
|
#
|
3650
3857
|
# @overload get_monitoring_subscription(params = {})
|
3651
3858
|
# @param [Hash] params ({})
|
@@ -3706,7 +3913,7 @@ module Aws::CloudFront
|
|
3706
3913
|
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
3707
3914
|
# resp.etag #=> String
|
3708
3915
|
#
|
3709
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicy AWS API Documentation
|
3710
3917
|
#
|
3711
3918
|
# @overload get_origin_request_policy(params = {})
|
3712
3919
|
# @param [Hash] params ({})
|
@@ -3761,7 +3968,7 @@ module Aws::CloudFront
|
|
3761
3968
|
# resp.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
3762
3969
|
# resp.etag #=> String
|
3763
3970
|
#
|
3764
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
3971
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicyConfig AWS API Documentation
|
3765
3972
|
#
|
3766
3973
|
# @overload get_origin_request_policy_config(params = {})
|
3767
3974
|
# @param [Hash] params ({})
|
@@ -3796,7 +4003,7 @@ module Aws::CloudFront
|
|
3796
4003
|
# resp.public_key.public_key_config.comment #=> String
|
3797
4004
|
# resp.etag #=> String
|
3798
4005
|
#
|
3799
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4006
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKey AWS API Documentation
|
3800
4007
|
#
|
3801
4008
|
# @overload get_public_key(params = {})
|
3802
4009
|
# @param [Hash] params ({})
|
@@ -3829,7 +4036,7 @@ module Aws::CloudFront
|
|
3829
4036
|
# resp.public_key_config.comment #=> String
|
3830
4037
|
# resp.etag #=> String
|
3831
4038
|
#
|
3832
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKeyConfig AWS API Documentation
|
3833
4040
|
#
|
3834
4041
|
# @overload get_public_key_config(params = {})
|
3835
4042
|
# @param [Hash] params ({})
|
@@ -3875,7 +4082,7 @@ module Aws::CloudFront
|
|
3875
4082
|
# resp.realtime_log_config.fields #=> Array
|
3876
4083
|
# resp.realtime_log_config.fields[0] #=> String
|
3877
4084
|
#
|
3878
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfig AWS API Documentation
|
3879
4086
|
#
|
3880
4087
|
# @overload get_realtime_log_config(params = {})
|
3881
4088
|
# @param [Hash] params ({})
|
@@ -3884,6 +4091,167 @@ module Aws::CloudFront
|
|
3884
4091
|
req.send_request(options)
|
3885
4092
|
end
|
3886
4093
|
|
4094
|
+
# Gets a response headers policy, including metadata (the policy’s
|
4095
|
+
# identifier and the date and time when the policy was last modified).
|
4096
|
+
#
|
4097
|
+
# To get a response headers policy, you must provide the policy’s
|
4098
|
+
# identifier. If the response headers policy is attached to a
|
4099
|
+
# distribution’s cache behavior, you can get the policy’s identifier
|
4100
|
+
# using `ListDistributions` or `GetDistribution`. If the response
|
4101
|
+
# headers policy is not attached to a cache behavior, you can get the
|
4102
|
+
# identifier using `ListResponseHeadersPolicies`.
|
4103
|
+
#
|
4104
|
+
# @option params [required, String] :id
|
4105
|
+
# The identifier for the response headers policy.
|
4106
|
+
#
|
4107
|
+
# If the response headers policy is attached to a distribution’s cache
|
4108
|
+
# behavior, you can get the policy’s identifier using
|
4109
|
+
# `ListDistributions` or `GetDistribution`. If the response headers
|
4110
|
+
# policy is not attached to a cache behavior, you can get the identifier
|
4111
|
+
# using `ListResponseHeadersPolicies`.
|
4112
|
+
#
|
4113
|
+
# @return [Types::GetResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4114
|
+
#
|
4115
|
+
# * {Types::GetResponseHeadersPolicyResult#response_headers_policy #response_headers_policy} => Types::ResponseHeadersPolicy
|
4116
|
+
# * {Types::GetResponseHeadersPolicyResult#etag #etag} => String
|
4117
|
+
#
|
4118
|
+
# @example Request syntax with placeholder values
|
4119
|
+
#
|
4120
|
+
# resp = client.get_response_headers_policy({
|
4121
|
+
# id: "string", # required
|
4122
|
+
# })
|
4123
|
+
#
|
4124
|
+
# @example Response structure
|
4125
|
+
#
|
4126
|
+
# resp.response_headers_policy.id #=> String
|
4127
|
+
# resp.response_headers_policy.last_modified_time #=> Time
|
4128
|
+
# resp.response_headers_policy.response_headers_policy_config.comment #=> String
|
4129
|
+
# resp.response_headers_policy.response_headers_policy_config.name #=> String
|
4130
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
|
4131
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
|
4132
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
|
4133
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
|
4134
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
|
4135
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
|
4136
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
|
4137
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
|
4138
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items[0] #=> String, one of "GET", "POST", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD", "ALL"
|
4139
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
|
4140
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
|
4141
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
|
4142
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
|
4143
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
|
4144
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.origin_override #=> Boolean
|
4145
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
|
4146
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
|
4147
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
|
4148
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
|
4149
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
|
4150
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.frame_option #=> String, one of "DENY", "SAMEORIGIN"
|
4151
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
|
4152
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.referrer_policy #=> String, one of "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"
|
4153
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
|
4154
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
|
4155
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
|
4156
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
|
4157
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
|
4158
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
|
4159
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.access_control_max_age_sec #=> Integer
|
4160
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.quantity #=> Integer
|
4161
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items #=> Array
|
4162
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].header #=> String
|
4163
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].value #=> String
|
4164
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
|
4165
|
+
# resp.etag #=> String
|
4166
|
+
#
|
4167
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResponseHeadersPolicy AWS API Documentation
|
4168
|
+
#
|
4169
|
+
# @overload get_response_headers_policy(params = {})
|
4170
|
+
# @param [Hash] params ({})
|
4171
|
+
def get_response_headers_policy(params = {}, options = {})
|
4172
|
+
req = build_request(:get_response_headers_policy, params)
|
4173
|
+
req.send_request(options)
|
4174
|
+
end
|
4175
|
+
|
4176
|
+
# Gets a response headers policy configuration.
|
4177
|
+
#
|
4178
|
+
# To get a response headers policy configuration, you must provide the
|
4179
|
+
# policy’s identifier. If the response headers policy is attached to a
|
4180
|
+
# distribution’s cache behavior, you can get the policy’s identifier
|
4181
|
+
# using `ListDistributions` or `GetDistribution`. If the response
|
4182
|
+
# headers policy is not attached to a cache behavior, you can get the
|
4183
|
+
# identifier using `ListResponseHeadersPolicies`.
|
4184
|
+
#
|
4185
|
+
# @option params [required, String] :id
|
4186
|
+
# The identifier for the response headers policy.
|
4187
|
+
#
|
4188
|
+
# If the response headers policy is attached to a distribution’s cache
|
4189
|
+
# behavior, you can get the policy’s identifier using
|
4190
|
+
# `ListDistributions` or `GetDistribution`. If the response headers
|
4191
|
+
# policy is not attached to a cache behavior, you can get the identifier
|
4192
|
+
# using `ListResponseHeadersPolicies`.
|
4193
|
+
#
|
4194
|
+
# @return [Types::GetResponseHeadersPolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4195
|
+
#
|
4196
|
+
# * {Types::GetResponseHeadersPolicyConfigResult#response_headers_policy_config #response_headers_policy_config} => Types::ResponseHeadersPolicyConfig
|
4197
|
+
# * {Types::GetResponseHeadersPolicyConfigResult#etag #etag} => String
|
4198
|
+
#
|
4199
|
+
# @example Request syntax with placeholder values
|
4200
|
+
#
|
4201
|
+
# resp = client.get_response_headers_policy_config({
|
4202
|
+
# id: "string", # required
|
4203
|
+
# })
|
4204
|
+
#
|
4205
|
+
# @example Response structure
|
4206
|
+
#
|
4207
|
+
# resp.response_headers_policy_config.comment #=> String
|
4208
|
+
# resp.response_headers_policy_config.name #=> String
|
4209
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
|
4210
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
|
4211
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
|
4212
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
|
4213
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
|
4214
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
|
4215
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
|
4216
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
|
4217
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_methods.items[0] #=> String, one of "GET", "POST", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD", "ALL"
|
4218
|
+
# resp.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
|
4219
|
+
# resp.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
|
4220
|
+
# resp.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
|
4221
|
+
# resp.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
|
4222
|
+
# resp.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
|
4223
|
+
# resp.response_headers_policy_config.cors_config.origin_override #=> Boolean
|
4224
|
+
# resp.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
|
4225
|
+
# resp.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
|
4226
|
+
# resp.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
|
4227
|
+
# resp.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
|
4228
|
+
# resp.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
|
4229
|
+
# resp.response_headers_policy_config.security_headers_config.frame_options.frame_option #=> String, one of "DENY", "SAMEORIGIN"
|
4230
|
+
# resp.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
|
4231
|
+
# resp.response_headers_policy_config.security_headers_config.referrer_policy.referrer_policy #=> String, one of "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"
|
4232
|
+
# resp.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
|
4233
|
+
# resp.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
|
4234
|
+
# resp.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
|
4235
|
+
# resp.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
|
4236
|
+
# resp.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
|
4237
|
+
# resp.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
|
4238
|
+
# resp.response_headers_policy_config.security_headers_config.strict_transport_security.access_control_max_age_sec #=> Integer
|
4239
|
+
# resp.response_headers_policy_config.custom_headers_config.quantity #=> Integer
|
4240
|
+
# resp.response_headers_policy_config.custom_headers_config.items #=> Array
|
4241
|
+
# resp.response_headers_policy_config.custom_headers_config.items[0].header #=> String
|
4242
|
+
# resp.response_headers_policy_config.custom_headers_config.items[0].value #=> String
|
4243
|
+
# resp.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
|
4244
|
+
# resp.etag #=> String
|
4245
|
+
#
|
4246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig AWS API Documentation
|
4247
|
+
#
|
4248
|
+
# @overload get_response_headers_policy_config(params = {})
|
4249
|
+
# @param [Hash] params ({})
|
4250
|
+
def get_response_headers_policy_config(params = {}, options = {})
|
4251
|
+
req = build_request(:get_response_headers_policy_config, params)
|
4252
|
+
req.send_request(options)
|
4253
|
+
end
|
4254
|
+
|
3887
4255
|
# Gets information about a specified RTMP distribution, including the
|
3888
4256
|
# distribution configuration.
|
3889
4257
|
#
|
@@ -3938,7 +4306,7 @@ module Aws::CloudFront
|
|
3938
4306
|
#
|
3939
4307
|
# * streaming_distribution_deployed
|
3940
4308
|
#
|
3941
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistribution AWS API Documentation
|
3942
4310
|
#
|
3943
4311
|
# @overload get_streaming_distribution(params = {})
|
3944
4312
|
# @param [Hash] params ({})
|
@@ -3983,7 +4351,7 @@ module Aws::CloudFront
|
|
3983
4351
|
# resp.streaming_distribution_config.enabled #=> Boolean
|
3984
4352
|
# resp.etag #=> String
|
3985
4353
|
#
|
3986
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4354
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistributionConfig AWS API Documentation
|
3987
4355
|
#
|
3988
4356
|
# @overload get_streaming_distribution_config(params = {})
|
3989
4357
|
# @param [Hash] params ({})
|
@@ -3996,7 +4364,7 @@ module Aws::CloudFront
|
|
3996
4364
|
#
|
3997
4365
|
# You can optionally apply a filter to return only the managed policies
|
3998
4366
|
# created by Amazon Web Services, or only the custom policies created in
|
3999
|
-
# your account.
|
4367
|
+
# your Amazon Web Services account.
|
4000
4368
|
#
|
4001
4369
|
# You can optionally specify the maximum number of items to receive in
|
4002
4370
|
# the response. If the total number of items in the list exceeds the
|
@@ -4012,7 +4380,8 @@ module Aws::CloudFront
|
|
4012
4380
|
# * `managed` – Returns only the managed policies created by Amazon Web
|
4013
4381
|
# Services.
|
4014
4382
|
#
|
4015
|
-
# * `custom` – Returns only the custom policies created in your
|
4383
|
+
# * `custom` – Returns only the custom policies created in your Amazon
|
4384
|
+
# Web Services account.
|
4016
4385
|
#
|
4017
4386
|
# @option params [String] :marker
|
4018
4387
|
# Use this field when paginating results to indicate where to begin in
|
@@ -4065,7 +4434,7 @@ module Aws::CloudFront
|
|
4065
4434
|
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items #=> Array
|
4066
4435
|
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
4067
4436
|
#
|
4068
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCachePolicies AWS API Documentation
|
4069
4438
|
#
|
4070
4439
|
# @overload list_cache_policies(params = {})
|
4071
4440
|
# @param [Hash] params ({})
|
@@ -4113,7 +4482,7 @@ module Aws::CloudFront
|
|
4113
4482
|
# resp.cloud_front_origin_access_identity_list.items[0].s3_canonical_user_id #=> String
|
4114
4483
|
# resp.cloud_front_origin_access_identity_list.items[0].comment #=> String
|
4115
4484
|
#
|
4116
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities AWS API Documentation
|
4117
4486
|
#
|
4118
4487
|
# @overload list_cloud_front_origin_access_identities(params = {})
|
4119
4488
|
# @param [Hash] params ({})
|
@@ -4198,7 +4567,7 @@ module Aws::CloudFront
|
|
4198
4567
|
# resp.conflicting_aliases_list.items[0].distribution_id #=> String
|
4199
4568
|
# resp.conflicting_aliases_list.items[0].account_id #=> String
|
4200
4569
|
#
|
4201
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4570
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListConflictingAliases AWS API Documentation
|
4202
4571
|
#
|
4203
4572
|
# @overload list_conflicting_aliases(params = {})
|
4204
4573
|
# @param [Hash] params ({})
|
@@ -4310,6 +4679,7 @@ module Aws::CloudFront
|
|
4310
4679
|
# resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
|
4311
4680
|
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
4312
4681
|
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
4682
|
+
# resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
|
4313
4683
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
4314
4684
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4315
4685
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4358,6 +4728,7 @@ module Aws::CloudFront
|
|
4358
4728
|
# resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
|
4359
4729
|
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
4360
4730
|
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
4731
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
|
4361
4732
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
4362
4733
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4363
4734
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4399,7 +4770,7 @@ module Aws::CloudFront
|
|
4399
4770
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
4400
4771
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
4401
4772
|
#
|
4402
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions AWS API Documentation
|
4403
4774
|
#
|
4404
4775
|
# @overload list_distributions(params = {})
|
4405
4776
|
# @param [Hash] params ({})
|
@@ -4454,7 +4825,7 @@ module Aws::CloudFront
|
|
4454
4825
|
# resp.distribution_id_list.items #=> Array
|
4455
4826
|
# resp.distribution_id_list.items[0] #=> String
|
4456
4827
|
#
|
4457
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4828
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByCachePolicyId AWS API Documentation
|
4458
4829
|
#
|
4459
4830
|
# @overload list_distributions_by_cache_policy_id(params = {})
|
4460
4831
|
# @param [Hash] params ({})
|
@@ -4509,7 +4880,7 @@ module Aws::CloudFront
|
|
4509
4880
|
# resp.distribution_id_list.items #=> Array
|
4510
4881
|
# resp.distribution_id_list.items[0] #=> String
|
4511
4882
|
#
|
4512
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByKeyGroup AWS API Documentation
|
4513
4884
|
#
|
4514
4885
|
# @overload list_distributions_by_key_group(params = {})
|
4515
4886
|
# @param [Hash] params ({})
|
@@ -4564,7 +4935,7 @@ module Aws::CloudFront
|
|
4564
4935
|
# resp.distribution_id_list.items #=> Array
|
4565
4936
|
# resp.distribution_id_list.items[0] #=> String
|
4566
4937
|
#
|
4567
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
4938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId AWS API Documentation
|
4568
4939
|
#
|
4569
4940
|
# @overload list_distributions_by_origin_request_policy_id(params = {})
|
4570
4941
|
# @param [Hash] params ({})
|
@@ -4697,6 +5068,7 @@ module Aws::CloudFront
|
|
4697
5068
|
# resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
|
4698
5069
|
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
4699
5070
|
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
5071
|
+
# resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
|
4700
5072
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
4701
5073
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4702
5074
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4745,6 +5117,7 @@ module Aws::CloudFront
|
|
4745
5117
|
# resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
|
4746
5118
|
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
4747
5119
|
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
5120
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
|
4748
5121
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
4749
5122
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4750
5123
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4786,7 +5159,7 @@ module Aws::CloudFront
|
|
4786
5159
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
4787
5160
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
4788
5161
|
#
|
4789
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5162
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig AWS API Documentation
|
4790
5163
|
#
|
4791
5164
|
# @overload list_distributions_by_realtime_log_config(params = {})
|
4792
5165
|
# @param [Hash] params ({})
|
@@ -4795,6 +5168,62 @@ module Aws::CloudFront
|
|
4795
5168
|
req.send_request(options)
|
4796
5169
|
end
|
4797
5170
|
|
5171
|
+
# Gets a list of distribution IDs for distributions that have a cache
|
5172
|
+
# behavior that’s associated with the specified response headers policy.
|
5173
|
+
#
|
5174
|
+
# You can optionally specify the maximum number of items to receive in
|
5175
|
+
# the response. If the total number of items in the list exceeds the
|
5176
|
+
# maximum that you specify, or the default maximum, the response is
|
5177
|
+
# paginated. To get the next page of items, send a subsequent request
|
5178
|
+
# that specifies the `NextMarker` value from the current response as the
|
5179
|
+
# `Marker` value in the subsequent request.
|
5180
|
+
#
|
5181
|
+
# @option params [String] :marker
|
5182
|
+
# Use this field when paginating results to indicate where to begin in
|
5183
|
+
# your list of distribution IDs. The response includes distribution IDs
|
5184
|
+
# in the list that occur after the marker. To get the next page of the
|
5185
|
+
# list, set this field’s value to the value of `NextMarker` from the
|
5186
|
+
# current page’s response.
|
5187
|
+
#
|
5188
|
+
# @option params [Integer] :max_items
|
5189
|
+
# The maximum number of distribution IDs that you want to get in the
|
5190
|
+
# response.
|
5191
|
+
#
|
5192
|
+
# @option params [required, String] :response_headers_policy_id
|
5193
|
+
# The ID of the response headers policy whose associated distribution
|
5194
|
+
# IDs you want to list.
|
5195
|
+
#
|
5196
|
+
# @return [Types::ListDistributionsByResponseHeadersPolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5197
|
+
#
|
5198
|
+
# * {Types::ListDistributionsByResponseHeadersPolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
|
5199
|
+
#
|
5200
|
+
# @example Request syntax with placeholder values
|
5201
|
+
#
|
5202
|
+
# resp = client.list_distributions_by_response_headers_policy_id({
|
5203
|
+
# marker: "string",
|
5204
|
+
# max_items: 1,
|
5205
|
+
# response_headers_policy_id: "string", # required
|
5206
|
+
# })
|
5207
|
+
#
|
5208
|
+
# @example Response structure
|
5209
|
+
#
|
5210
|
+
# resp.distribution_id_list.marker #=> String
|
5211
|
+
# resp.distribution_id_list.next_marker #=> String
|
5212
|
+
# resp.distribution_id_list.max_items #=> Integer
|
5213
|
+
# resp.distribution_id_list.is_truncated #=> Boolean
|
5214
|
+
# resp.distribution_id_list.quantity #=> Integer
|
5215
|
+
# resp.distribution_id_list.items #=> Array
|
5216
|
+
# resp.distribution_id_list.items[0] #=> String
|
5217
|
+
#
|
5218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId AWS API Documentation
|
5219
|
+
#
|
5220
|
+
# @overload list_distributions_by_response_headers_policy_id(params = {})
|
5221
|
+
# @param [Hash] params ({})
|
5222
|
+
def list_distributions_by_response_headers_policy_id(params = {}, options = {})
|
5223
|
+
req = build_request(:list_distributions_by_response_headers_policy_id, params)
|
5224
|
+
req.send_request(options)
|
5225
|
+
end
|
5226
|
+
|
4798
5227
|
# List the distributions that are associated with a specified WAF web
|
4799
5228
|
# ACL.
|
4800
5229
|
#
|
@@ -4905,6 +5334,7 @@ module Aws::CloudFront
|
|
4905
5334
|
# resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
|
4906
5335
|
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
4907
5336
|
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
5337
|
+
# resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
|
4908
5338
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
4909
5339
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4910
5340
|
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4953,6 +5383,7 @@ module Aws::CloudFront
|
|
4953
5383
|
# resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
|
4954
5384
|
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
4955
5385
|
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
5386
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
|
4956
5387
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
4957
5388
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
4958
5389
|
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -4994,7 +5425,7 @@ module Aws::CloudFront
|
|
4994
5425
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
4995
5426
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
4996
5427
|
#
|
4997
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId AWS API Documentation
|
4998
5429
|
#
|
4999
5430
|
# @overload list_distributions_by_web_acl_id(params = {})
|
5000
5431
|
# @param [Hash] params ({})
|
@@ -5050,7 +5481,7 @@ module Aws::CloudFront
|
|
5050
5481
|
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
|
5051
5482
|
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
5052
5483
|
#
|
5053
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5484
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs AWS API Documentation
|
5054
5485
|
#
|
5055
5486
|
# @overload list_field_level_encryption_configs(params = {})
|
5056
5487
|
# @param [Hash] params ({})
|
@@ -5102,7 +5533,7 @@ module Aws::CloudFront
|
|
5102
5533
|
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.items[0] #=> String
|
5103
5534
|
# resp.field_level_encryption_profile_list.items[0].comment #=> String
|
5104
5535
|
#
|
5105
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5536
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles AWS API Documentation
|
5106
5537
|
#
|
5107
5538
|
# @overload list_field_level_encryption_profiles(params = {})
|
5108
5539
|
# @param [Hash] params ({})
|
@@ -5111,7 +5542,8 @@ module Aws::CloudFront
|
|
5111
5542
|
req.send_request(options)
|
5112
5543
|
end
|
5113
5544
|
|
5114
|
-
# Gets a list of all CloudFront functions in your
|
5545
|
+
# Gets a list of all CloudFront functions in your Amazon Web Services
|
5546
|
+
# account.
|
5115
5547
|
#
|
5116
5548
|
# You can optionally apply a filter to return only the functions that
|
5117
5549
|
# are in the specified stage, either `DEVELOPMENT` or `LIVE`.
|
@@ -5164,7 +5596,7 @@ module Aws::CloudFront
|
|
5164
5596
|
# resp.function_list.items[0].function_metadata.created_time #=> Time
|
5165
5597
|
# resp.function_list.items[0].function_metadata.last_modified_time #=> Time
|
5166
5598
|
#
|
5167
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5599
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFunctions AWS API Documentation
|
5168
5600
|
#
|
5169
5601
|
# @overload list_functions(params = {})
|
5170
5602
|
# @param [Hash] params ({})
|
@@ -5218,7 +5650,7 @@ module Aws::CloudFront
|
|
5218
5650
|
# resp.invalidation_list.items[0].create_time #=> Time
|
5219
5651
|
# resp.invalidation_list.items[0].status #=> String
|
5220
5652
|
#
|
5221
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5653
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListInvalidations AWS API Documentation
|
5222
5654
|
#
|
5223
5655
|
# @overload list_invalidations(params = {})
|
5224
5656
|
# @param [Hash] params ({})
|
@@ -5270,7 +5702,7 @@ module Aws::CloudFront
|
|
5270
5702
|
# resp.key_group_list.items[0].key_group.key_group_config.items[0] #=> String
|
5271
5703
|
# resp.key_group_list.items[0].key_group.key_group_config.comment #=> String
|
5272
5704
|
#
|
5273
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListKeyGroups AWS API Documentation
|
5274
5706
|
#
|
5275
5707
|
# @overload list_key_groups(params = {})
|
5276
5708
|
# @param [Hash] params ({})
|
@@ -5283,7 +5715,7 @@ module Aws::CloudFront
|
|
5283
5715
|
#
|
5284
5716
|
# You can optionally apply a filter to return only the managed policies
|
5285
5717
|
# created by Amazon Web Services, or only the custom policies created in
|
5286
|
-
# your account.
|
5718
|
+
# your Amazon Web Services account.
|
5287
5719
|
#
|
5288
5720
|
# You can optionally specify the maximum number of items to receive in
|
5289
5721
|
# the response. If the total number of items in the list exceeds the
|
@@ -5299,7 +5731,8 @@ module Aws::CloudFront
|
|
5299
5731
|
# * `managed` – Returns only the managed policies created by Amazon Web
|
5300
5732
|
# Services.
|
5301
5733
|
#
|
5302
|
-
# * `custom` – Returns only the custom policies created in your
|
5734
|
+
# * `custom` – Returns only the custom policies created in your Amazon
|
5735
|
+
# Web Services account.
|
5303
5736
|
#
|
5304
5737
|
# @option params [String] :marker
|
5305
5738
|
# Use this field when paginating results to indicate where to begin in
|
@@ -5348,7 +5781,7 @@ module Aws::CloudFront
|
|
5348
5781
|
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
|
5349
5782
|
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
5350
5783
|
#
|
5351
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginRequestPolicies AWS API Documentation
|
5352
5785
|
#
|
5353
5786
|
# @overload list_origin_request_policies(params = {})
|
5354
5787
|
# @param [Hash] params ({})
|
@@ -5393,7 +5826,7 @@ module Aws::CloudFront
|
|
5393
5826
|
# resp.public_key_list.items[0].encoded_key #=> String
|
5394
5827
|
# resp.public_key_list.items[0].comment #=> String
|
5395
5828
|
#
|
5396
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListPublicKeys AWS API Documentation
|
5397
5830
|
#
|
5398
5831
|
# @overload list_public_keys(params = {})
|
5399
5832
|
# @param [Hash] params ({})
|
@@ -5450,7 +5883,7 @@ module Aws::CloudFront
|
|
5450
5883
|
# resp.realtime_log_configs.marker #=> String
|
5451
5884
|
# resp.realtime_log_configs.next_marker #=> String
|
5452
5885
|
#
|
5453
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
5886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigs AWS API Documentation
|
5454
5887
|
#
|
5455
5888
|
# @overload list_realtime_log_configs(params = {})
|
5456
5889
|
# @param [Hash] params ({})
|
@@ -5459,6 +5892,108 @@ module Aws::CloudFront
|
|
5459
5892
|
req.send_request(options)
|
5460
5893
|
end
|
5461
5894
|
|
5895
|
+
# Gets a list of response headers policies.
|
5896
|
+
#
|
5897
|
+
# You can optionally apply a filter to get only the managed policies
|
5898
|
+
# created by Amazon Web Services, or only the custom policies created in
|
5899
|
+
# your Amazon Web Services account.
|
5900
|
+
#
|
5901
|
+
# You can optionally specify the maximum number of items to receive in
|
5902
|
+
# the response. If the total number of items in the list exceeds the
|
5903
|
+
# maximum that you specify, or the default maximum, the response is
|
5904
|
+
# paginated. To get the next page of items, send a subsequent request
|
5905
|
+
# that specifies the `NextMarker` value from the current response as the
|
5906
|
+
# `Marker` value in the subsequent request.
|
5907
|
+
#
|
5908
|
+
# @option params [String] :type
|
5909
|
+
# A filter to get only the specified kind of response headers policies.
|
5910
|
+
# Valid values are:
|
5911
|
+
#
|
5912
|
+
# * `managed` – Gets only the managed policies created by Amazon Web
|
5913
|
+
# Services.
|
5914
|
+
#
|
5915
|
+
# * `custom` – Gets only the custom policies created in your Amazon Web
|
5916
|
+
# Services account.
|
5917
|
+
#
|
5918
|
+
# @option params [String] :marker
|
5919
|
+
# Use this field when paginating results to indicate where to begin in
|
5920
|
+
# your list of response headers policies. The response includes response
|
5921
|
+
# headers policies in the list that occur after the marker. To get the
|
5922
|
+
# next page of the list, set this field’s value to the value of
|
5923
|
+
# `NextMarker` from the current page’s response.
|
5924
|
+
#
|
5925
|
+
# @option params [Integer] :max_items
|
5926
|
+
# The maximum number of response headers policies that you want to get
|
5927
|
+
# in the response.
|
5928
|
+
#
|
5929
|
+
# @return [Types::ListResponseHeadersPoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5930
|
+
#
|
5931
|
+
# * {Types::ListResponseHeadersPoliciesResult#response_headers_policy_list #response_headers_policy_list} => Types::ResponseHeadersPolicyList
|
5932
|
+
#
|
5933
|
+
# @example Request syntax with placeholder values
|
5934
|
+
#
|
5935
|
+
# resp = client.list_response_headers_policies({
|
5936
|
+
# type: "managed", # accepts managed, custom
|
5937
|
+
# marker: "string",
|
5938
|
+
# max_items: 1,
|
5939
|
+
# })
|
5940
|
+
#
|
5941
|
+
# @example Response structure
|
5942
|
+
#
|
5943
|
+
# resp.response_headers_policy_list.next_marker #=> String
|
5944
|
+
# resp.response_headers_policy_list.max_items #=> Integer
|
5945
|
+
# resp.response_headers_policy_list.quantity #=> Integer
|
5946
|
+
# resp.response_headers_policy_list.items #=> Array
|
5947
|
+
# resp.response_headers_policy_list.items[0].type #=> String, one of "managed", "custom"
|
5948
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.id #=> String
|
5949
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.last_modified_time #=> Time
|
5950
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.comment #=> String
|
5951
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.name #=> String
|
5952
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
|
5953
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
|
5954
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
|
5955
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
|
5956
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
|
5957
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
|
5958
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
|
5959
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
|
5960
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items[0] #=> String, one of "GET", "POST", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD", "ALL"
|
5961
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
|
5962
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
|
5963
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
|
5964
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
|
5965
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
|
5966
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.origin_override #=> Boolean
|
5967
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
|
5968
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
|
5969
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
|
5970
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
|
5971
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
|
5972
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.frame_option #=> String, one of "DENY", "SAMEORIGIN"
|
5973
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
|
5974
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.referrer_policy #=> String, one of "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"
|
5975
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
|
5976
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
|
5977
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
|
5978
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
|
5979
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
|
5980
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
|
5981
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.access_control_max_age_sec #=> Integer
|
5982
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.quantity #=> Integer
|
5983
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.items #=> Array
|
5984
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].header #=> String
|
5985
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].value #=> String
|
5986
|
+
# resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
|
5987
|
+
#
|
5988
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListResponseHeadersPolicies AWS API Documentation
|
5989
|
+
#
|
5990
|
+
# @overload list_response_headers_policies(params = {})
|
5991
|
+
# @param [Hash] params ({})
|
5992
|
+
def list_response_headers_policies(params = {}, options = {})
|
5993
|
+
req = build_request(:list_response_headers_policies, params)
|
5994
|
+
req.send_request(options)
|
5995
|
+
end
|
5996
|
+
|
5462
5997
|
# List streaming distributions.
|
5463
5998
|
#
|
5464
5999
|
# @option params [String] :marker
|
@@ -5506,7 +6041,7 @@ module Aws::CloudFront
|
|
5506
6041
|
# resp.streaming_distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
|
5507
6042
|
# resp.streaming_distribution_list.items[0].enabled #=> Boolean
|
5508
6043
|
#
|
5509
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
6044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListStreamingDistributions AWS API Documentation
|
5510
6045
|
#
|
5511
6046
|
# @overload list_streaming_distributions(params = {})
|
5512
6047
|
# @param [Hash] params ({})
|
@@ -5536,7 +6071,7 @@ module Aws::CloudFront
|
|
5536
6071
|
# resp.tags.items[0].key #=> String
|
5537
6072
|
# resp.tags.items[0].value #=> String
|
5538
6073
|
#
|
5539
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
6074
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTagsForResource AWS API Documentation
|
5540
6075
|
#
|
5541
6076
|
# @overload list_tags_for_resource(params = {})
|
5542
6077
|
# @param [Hash] params ({})
|
@@ -5587,7 +6122,7 @@ module Aws::CloudFront
|
|
5587
6122
|
# resp.function_summary.function_metadata.created_time #=> Time
|
5588
6123
|
# resp.function_summary.function_metadata.last_modified_time #=> Time
|
5589
6124
|
#
|
5590
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
6125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PublishFunction AWS API Documentation
|
5591
6126
|
#
|
5592
6127
|
# @overload publish_function(params = {})
|
5593
6128
|
# @param [Hash] params ({})
|
@@ -5620,7 +6155,7 @@ module Aws::CloudFront
|
|
5620
6155
|
# },
|
5621
6156
|
# })
|
5622
6157
|
#
|
5623
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
6158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TagResource AWS API Documentation
|
5624
6159
|
#
|
5625
6160
|
# @overload tag_resource(params = {})
|
5626
6161
|
# @param [Hash] params ({})
|
@@ -5697,7 +6232,7 @@ module Aws::CloudFront
|
|
5697
6232
|
# resp.test_result.function_error_message #=> String
|
5698
6233
|
# resp.test_result.function_output #=> String
|
5699
6234
|
#
|
5700
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
6235
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TestFunction AWS API Documentation
|
5701
6236
|
#
|
5702
6237
|
# @overload test_function(params = {})
|
5703
6238
|
# @param [Hash] params ({})
|
@@ -5725,7 +6260,7 @@ module Aws::CloudFront
|
|
5725
6260
|
# },
|
5726
6261
|
# })
|
5727
6262
|
#
|
5728
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
6263
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UntagResource AWS API Documentation
|
5729
6264
|
#
|
5730
6265
|
# @overload untag_resource(params = {})
|
5731
6266
|
# @param [Hash] params ({})
|
@@ -5832,7 +6367,7 @@ module Aws::CloudFront
|
|
5832
6367
|
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
|
5833
6368
|
# resp.etag #=> String
|
5834
6369
|
#
|
5835
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
6370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCachePolicy AWS API Documentation
|
5836
6371
|
#
|
5837
6372
|
# @overload update_cache_policy(params = {})
|
5838
6373
|
# @param [Hash] params ({})
|
@@ -5877,7 +6412,7 @@ module Aws::CloudFront
|
|
5877
6412
|
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
|
5878
6413
|
# resp.etag #=> String
|
5879
6414
|
#
|
5880
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
6415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity AWS API Documentation
|
5881
6416
|
#
|
5882
6417
|
# @overload update_cloud_front_origin_access_identity(params = {})
|
5883
6418
|
# @param [Hash] params ({})
|
@@ -6000,7 +6535,7 @@ module Aws::CloudFront
|
|
6000
6535
|
# items: [
|
6001
6536
|
# {
|
6002
6537
|
# header_name: "string", # required
|
6003
|
-
# header_value: "
|
6538
|
+
# header_value: "sensitiveStringType", # required
|
6004
6539
|
# },
|
6005
6540
|
# ],
|
6006
6541
|
# },
|
@@ -6095,6 +6630,7 @@ module Aws::CloudFront
|
|
6095
6630
|
# realtime_log_config_arn: "string",
|
6096
6631
|
# cache_policy_id: "string",
|
6097
6632
|
# origin_request_policy_id: "string",
|
6633
|
+
# response_headers_policy_id: "string",
|
6098
6634
|
# forwarded_values: {
|
6099
6635
|
# query_string: false, # required
|
6100
6636
|
# cookies: { # required
|
@@ -6167,6 +6703,7 @@ module Aws::CloudFront
|
|
6167
6703
|
# realtime_log_config_arn: "string",
|
6168
6704
|
# cache_policy_id: "string",
|
6169
6705
|
# origin_request_policy_id: "string",
|
6706
|
+
# response_headers_policy_id: "string",
|
6170
6707
|
# forwarded_values: {
|
6171
6708
|
# query_string: false, # required
|
6172
6709
|
# cookies: { # required
|
@@ -6324,6 +6861,7 @@ module Aws::CloudFront
|
|
6324
6861
|
# resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
|
6325
6862
|
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
6326
6863
|
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
6864
|
+
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
6327
6865
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
6328
6866
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
6329
6867
|
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -6372,6 +6910,7 @@ module Aws::CloudFront
|
|
6372
6910
|
# resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
|
6373
6911
|
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
6374
6912
|
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
6913
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
6375
6914
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
6376
6915
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
6377
6916
|
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
@@ -6418,7 +6957,7 @@ module Aws::CloudFront
|
|
6418
6957
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
6419
6958
|
# resp.etag #=> String
|
6420
6959
|
#
|
6421
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
6960
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDistribution AWS API Documentation
|
6422
6961
|
#
|
6423
6962
|
# @overload update_distribution(params = {})
|
6424
6963
|
# @param [Hash] params ({})
|
@@ -6499,7 +7038,7 @@ module Aws::CloudFront
|
|
6499
7038
|
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
6500
7039
|
# resp.etag #=> String
|
6501
7040
|
#
|
6502
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
7041
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig AWS API Documentation
|
6503
7042
|
#
|
6504
7043
|
# @overload update_field_level_encryption_config(params = {})
|
6505
7044
|
# @param [Hash] params ({})
|
@@ -6566,7 +7105,7 @@ module Aws::CloudFront
|
|
6566
7105
|
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
6567
7106
|
# resp.etag #=> String
|
6568
7107
|
#
|
6569
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
7108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile AWS API Documentation
|
6570
7109
|
#
|
6571
7110
|
# @overload update_field_level_encryption_profile(params = {})
|
6572
7111
|
# @param [Hash] params ({})
|
@@ -6632,7 +7171,7 @@ module Aws::CloudFront
|
|
6632
7171
|
# resp.function_summary.function_metadata.last_modified_time #=> Time
|
6633
7172
|
# resp.etag #=> String
|
6634
7173
|
#
|
6635
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
7174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFunction AWS API Documentation
|
6636
7175
|
#
|
6637
7176
|
# @overload update_function(params = {})
|
6638
7177
|
# @param [Hash] params ({})
|
@@ -6693,7 +7232,7 @@ module Aws::CloudFront
|
|
6693
7232
|
# resp.key_group.key_group_config.comment #=> String
|
6694
7233
|
# resp.etag #=> String
|
6695
7234
|
#
|
6696
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
7235
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateKeyGroup AWS API Documentation
|
6697
7236
|
#
|
6698
7237
|
# @overload update_key_group(params = {})
|
6699
7238
|
# @param [Hash] params ({})
|
@@ -6790,7 +7329,7 @@ module Aws::CloudFront
|
|
6790
7329
|
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
|
6791
7330
|
# resp.etag #=> String
|
6792
7331
|
#
|
6793
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
7332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginRequestPolicy AWS API Documentation
|
6794
7333
|
#
|
6795
7334
|
# @overload update_origin_request_policy(params = {})
|
6796
7335
|
# @param [Hash] params ({})
|
@@ -6840,7 +7379,7 @@ module Aws::CloudFront
|
|
6840
7379
|
# resp.public_key.public_key_config.comment #=> String
|
6841
7380
|
# resp.etag #=> String
|
6842
7381
|
#
|
6843
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
7382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdatePublicKey AWS API Documentation
|
6844
7383
|
#
|
6845
7384
|
# @overload update_public_key(params = {})
|
6846
7385
|
# @param [Hash] params ({})
|
@@ -6928,7 +7467,7 @@ module Aws::CloudFront
|
|
6928
7467
|
# resp.realtime_log_config.fields #=> Array
|
6929
7468
|
# resp.realtime_log_config.fields[0] #=> String
|
6930
7469
|
#
|
6931
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
7470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfig AWS API Documentation
|
6932
7471
|
#
|
6933
7472
|
# @overload update_realtime_log_config(params = {})
|
6934
7473
|
# @param [Hash] params ({})
|
@@ -6937,6 +7476,162 @@ module Aws::CloudFront
|
|
6937
7476
|
req.send_request(options)
|
6938
7477
|
end
|
6939
7478
|
|
7479
|
+
# Updates a response headers policy.
|
7480
|
+
#
|
7481
|
+
# When you update a response headers policy, the entire policy is
|
7482
|
+
# replaced. You cannot update some policy fields independent of others.
|
7483
|
+
# To update a response headers policy configuration:
|
7484
|
+
#
|
7485
|
+
# 1. Use `GetResponseHeadersPolicyConfig` to get the current policy’s
|
7486
|
+
# configuration.
|
7487
|
+
#
|
7488
|
+
# 2. Modify the fields in the response headers policy configuration
|
7489
|
+
# that you want to update.
|
7490
|
+
#
|
7491
|
+
# 3. Call `UpdateResponseHeadersPolicy`, providing the entire response
|
7492
|
+
# headers policy configuration, including the fields that you
|
7493
|
+
# modified and those that you didn’t.
|
7494
|
+
#
|
7495
|
+
# @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
|
7496
|
+
# A response headers policy configuration.
|
7497
|
+
#
|
7498
|
+
# @option params [required, String] :id
|
7499
|
+
# The identifier for the response headers policy that you are updating.
|
7500
|
+
#
|
7501
|
+
# @option params [String] :if_match
|
7502
|
+
# The version of the response headers policy that you are updating.
|
7503
|
+
#
|
7504
|
+
# The version is returned in the cache policy’s `ETag` field in the
|
7505
|
+
# response to `GetResponseHeadersPolicyConfig`.
|
7506
|
+
#
|
7507
|
+
# @return [Types::UpdateResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7508
|
+
#
|
7509
|
+
# * {Types::UpdateResponseHeadersPolicyResult#response_headers_policy #response_headers_policy} => Types::ResponseHeadersPolicy
|
7510
|
+
# * {Types::UpdateResponseHeadersPolicyResult#etag #etag} => String
|
7511
|
+
#
|
7512
|
+
# @example Request syntax with placeholder values
|
7513
|
+
#
|
7514
|
+
# resp = client.update_response_headers_policy({
|
7515
|
+
# response_headers_policy_config: { # required
|
7516
|
+
# comment: "string",
|
7517
|
+
# name: "string", # required
|
7518
|
+
# cors_config: {
|
7519
|
+
# access_control_allow_origins: { # required
|
7520
|
+
# quantity: 1, # required
|
7521
|
+
# items: ["string"], # required
|
7522
|
+
# },
|
7523
|
+
# access_control_allow_headers: { # required
|
7524
|
+
# quantity: 1, # required
|
7525
|
+
# items: ["string"], # required
|
7526
|
+
# },
|
7527
|
+
# access_control_allow_methods: { # required
|
7528
|
+
# quantity: 1, # required
|
7529
|
+
# items: ["GET"], # required, accepts GET, POST, OPTIONS, PUT, DELETE, PATCH, HEAD, ALL
|
7530
|
+
# },
|
7531
|
+
# access_control_allow_credentials: false, # required
|
7532
|
+
# access_control_expose_headers: {
|
7533
|
+
# quantity: 1, # required
|
7534
|
+
# items: ["string"],
|
7535
|
+
# },
|
7536
|
+
# access_control_max_age_sec: 1,
|
7537
|
+
# origin_override: false, # required
|
7538
|
+
# },
|
7539
|
+
# security_headers_config: {
|
7540
|
+
# xss_protection: {
|
7541
|
+
# override: false, # required
|
7542
|
+
# protection: false, # required
|
7543
|
+
# mode_block: false,
|
7544
|
+
# report_uri: "string",
|
7545
|
+
# },
|
7546
|
+
# frame_options: {
|
7547
|
+
# override: false, # required
|
7548
|
+
# frame_option: "DENY", # required, accepts DENY, SAMEORIGIN
|
7549
|
+
# },
|
7550
|
+
# referrer_policy: {
|
7551
|
+
# override: false, # required
|
7552
|
+
# referrer_policy: "no-referrer", # required, accepts no-referrer, no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
|
7553
|
+
# },
|
7554
|
+
# content_security_policy: {
|
7555
|
+
# override: false, # required
|
7556
|
+
# content_security_policy: "string", # required
|
7557
|
+
# },
|
7558
|
+
# content_type_options: {
|
7559
|
+
# override: false, # required
|
7560
|
+
# },
|
7561
|
+
# strict_transport_security: {
|
7562
|
+
# override: false, # required
|
7563
|
+
# include_subdomains: false,
|
7564
|
+
# preload: false,
|
7565
|
+
# access_control_max_age_sec: 1, # required
|
7566
|
+
# },
|
7567
|
+
# },
|
7568
|
+
# custom_headers_config: {
|
7569
|
+
# quantity: 1, # required
|
7570
|
+
# items: [
|
7571
|
+
# {
|
7572
|
+
# header: "string", # required
|
7573
|
+
# value: "string", # required
|
7574
|
+
# override: false, # required
|
7575
|
+
# },
|
7576
|
+
# ],
|
7577
|
+
# },
|
7578
|
+
# },
|
7579
|
+
# id: "string", # required
|
7580
|
+
# if_match: "string",
|
7581
|
+
# })
|
7582
|
+
#
|
7583
|
+
# @example Response structure
|
7584
|
+
#
|
7585
|
+
# resp.response_headers_policy.id #=> String
|
7586
|
+
# resp.response_headers_policy.last_modified_time #=> Time
|
7587
|
+
# resp.response_headers_policy.response_headers_policy_config.comment #=> String
|
7588
|
+
# resp.response_headers_policy.response_headers_policy_config.name #=> String
|
7589
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
|
7590
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
|
7591
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
|
7592
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
|
7593
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
|
7594
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
|
7595
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
|
7596
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
|
7597
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items[0] #=> String, one of "GET", "POST", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD", "ALL"
|
7598
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
|
7599
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
|
7600
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
|
7601
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
|
7602
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
|
7603
|
+
# resp.response_headers_policy.response_headers_policy_config.cors_config.origin_override #=> Boolean
|
7604
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
|
7605
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
|
7606
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
|
7607
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
|
7608
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
|
7609
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.frame_option #=> String, one of "DENY", "SAMEORIGIN"
|
7610
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
|
7611
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.referrer_policy #=> String, one of "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"
|
7612
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
|
7613
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
|
7614
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
|
7615
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
|
7616
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
|
7617
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
|
7618
|
+
# resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.access_control_max_age_sec #=> Integer
|
7619
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.quantity #=> Integer
|
7620
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items #=> Array
|
7621
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].header #=> String
|
7622
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].value #=> String
|
7623
|
+
# resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
|
7624
|
+
# resp.etag #=> String
|
7625
|
+
#
|
7626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateResponseHeadersPolicy AWS API Documentation
|
7627
|
+
#
|
7628
|
+
# @overload update_response_headers_policy(params = {})
|
7629
|
+
# @param [Hash] params ({})
|
7630
|
+
def update_response_headers_policy(params = {}, options = {})
|
7631
|
+
req = build_request(:update_response_headers_policy, params)
|
7632
|
+
req.send_request(options)
|
7633
|
+
end
|
7634
|
+
|
6940
7635
|
# Update a streaming distribution.
|
6941
7636
|
#
|
6942
7637
|
# @option params [required, Types::StreamingDistributionConfig] :streaming_distribution_config
|
@@ -7018,7 +7713,7 @@ module Aws::CloudFront
|
|
7018
7713
|
# resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
|
7019
7714
|
# resp.etag #=> String
|
7020
7715
|
#
|
7021
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
7716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateStreamingDistribution AWS API Documentation
|
7022
7717
|
#
|
7023
7718
|
# @overload update_streaming_distribution(params = {})
|
7024
7719
|
# @param [Hash] params ({})
|
@@ -7040,7 +7735,7 @@ module Aws::CloudFront
|
|
7040
7735
|
params: params,
|
7041
7736
|
config: config)
|
7042
7737
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
7043
|
-
context[:gem_version] = '1.
|
7738
|
+
context[:gem_version] = '1.59.0'
|
7044
7739
|
Seahorse::Client::Request.new(handlers, context)
|
7045
7740
|
end
|
7046
7741
|
|