aws-sdk-cloudfront 1.54.0 → 1.58.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.
@@ -362,7 +362,7 @@ module Aws::CloudFront
362
362
  # alias: "string", # required
363
363
  # })
364
364
  #
365
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AssociateAlias2020_05_31 AWS API Documentation
365
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AssociateAlias AWS API Documentation
366
366
  #
367
367
  # @overload associate_alias(params = {})
368
368
  # @param [Hash] params ({})
@@ -471,7 +471,7 @@ module Aws::CloudFront
471
471
  # resp.location #=> String
472
472
  # resp.etag #=> String
473
473
  #
474
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCachePolicy2020_05_31 AWS API Documentation
474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCachePolicy AWS API Documentation
475
475
  #
476
476
  # @overload create_cache_policy(params = {})
477
477
  # @param [Hash] params ({})
@@ -518,7 +518,7 @@ module Aws::CloudFront
518
518
  # resp.location #=> String
519
519
  # resp.etag #=> String
520
520
  #
521
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity AWS API Documentation
522
522
  #
523
523
  # @overload create_cloud_front_origin_access_identity(params = {})
524
524
  # @param [Hash] params ({})
@@ -578,7 +578,7 @@ module Aws::CloudFront
578
578
  # items: [
579
579
  # {
580
580
  # header_name: "string", # required
581
- # header_value: "string", # required
581
+ # header_value: "sensitiveStringType", # required
582
582
  # },
583
583
  # ],
584
584
  # },
@@ -673,6 +673,7 @@ module Aws::CloudFront
673
673
  # realtime_log_config_arn: "string",
674
674
  # cache_policy_id: "string",
675
675
  # origin_request_policy_id: "string",
676
+ # response_headers_policy_id: "string",
676
677
  # forwarded_values: {
677
678
  # query_string: false, # required
678
679
  # cookies: { # required
@@ -745,6 +746,7 @@ module Aws::CloudFront
745
746
  # realtime_log_config_arn: "string",
746
747
  # cache_policy_id: "string",
747
748
  # origin_request_policy_id: "string",
749
+ # response_headers_policy_id: "string",
748
750
  # forwarded_values: {
749
751
  # query_string: false, # required
750
752
  # cookies: { # required
@@ -900,6 +902,7 @@ module Aws::CloudFront
900
902
  # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
901
903
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
902
904
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
905
+ # resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
903
906
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
904
907
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
905
908
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -948,6 +951,7 @@ module Aws::CloudFront
948
951
  # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
949
952
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
950
953
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
954
+ # resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
951
955
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
952
956
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
953
957
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -995,7 +999,7 @@ module Aws::CloudFront
995
999
  # resp.location #=> String
996
1000
  # resp.etag #=> String
997
1001
  #
998
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistribution2020_05_31 AWS API Documentation
1002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistribution AWS API Documentation
999
1003
  #
1000
1004
  # @overload create_distribution(params = {})
1001
1005
  # @param [Hash] params ({})
@@ -1038,7 +1042,7 @@ module Aws::CloudFront
1038
1042
  # items: [
1039
1043
  # {
1040
1044
  # header_name: "string", # required
1041
- # header_value: "string", # required
1045
+ # header_value: "sensitiveStringType", # required
1042
1046
  # },
1043
1047
  # ],
1044
1048
  # },
@@ -1133,6 +1137,7 @@ module Aws::CloudFront
1133
1137
  # realtime_log_config_arn: "string",
1134
1138
  # cache_policy_id: "string",
1135
1139
  # origin_request_policy_id: "string",
1140
+ # response_headers_policy_id: "string",
1136
1141
  # forwarded_values: {
1137
1142
  # query_string: false, # required
1138
1143
  # cookies: { # required
@@ -1205,6 +1210,7 @@ module Aws::CloudFront
1205
1210
  # realtime_log_config_arn: "string",
1206
1211
  # cache_policy_id: "string",
1207
1212
  # origin_request_policy_id: "string",
1213
+ # response_headers_policy_id: "string",
1208
1214
  # forwarded_values: {
1209
1215
  # query_string: false, # required
1210
1216
  # cookies: { # required
@@ -1369,6 +1375,7 @@ module Aws::CloudFront
1369
1375
  # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
1370
1376
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
1371
1377
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
1378
+ # resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
1372
1379
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
1373
1380
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
1374
1381
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -1417,6 +1424,7 @@ module Aws::CloudFront
1417
1424
  # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
1418
1425
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
1419
1426
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
1427
+ # resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
1420
1428
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
1421
1429
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
1422
1430
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -1464,7 +1472,7 @@ module Aws::CloudFront
1464
1472
  # resp.location #=> String
1465
1473
  # resp.etag #=> String
1466
1474
  #
1467
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistributionWithTags2020_05_31 AWS API Documentation
1475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistributionWithTags AWS API Documentation
1468
1476
  #
1469
1477
  # @overload create_distribution_with_tags(params = {})
1470
1478
  # @param [Hash] params ({})
@@ -1538,7 +1546,7 @@ module Aws::CloudFront
1538
1546
  # resp.location #=> String
1539
1547
  # resp.etag #=> String
1540
1548
  #
1541
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
1549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig AWS API Documentation
1542
1550
  #
1543
1551
  # @overload create_field_level_encryption_config(params = {})
1544
1552
  # @param [Hash] params ({})
@@ -1598,7 +1606,7 @@ module Aws::CloudFront
1598
1606
  # resp.location #=> String
1599
1607
  # resp.etag #=> String
1600
1608
  #
1601
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
1609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile AWS API Documentation
1602
1610
  #
1603
1611
  # @overload create_field_level_encryption_profile(params = {})
1604
1612
  # @param [Hash] params ({})
@@ -1668,7 +1676,7 @@ module Aws::CloudFront
1668
1676
  # resp.location #=> String
1669
1677
  # resp.etag #=> String
1670
1678
  #
1671
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFunction2020_05_31 AWS API Documentation
1679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFunction AWS API Documentation
1672
1680
  #
1673
1681
  # @overload create_function(params = {})
1674
1682
  # @param [Hash] params ({})
@@ -1714,7 +1722,7 @@ module Aws::CloudFront
1714
1722
  # resp.invalidation.invalidation_batch.paths.items[0] #=> String
1715
1723
  # resp.invalidation.invalidation_batch.caller_reference #=> String
1716
1724
  #
1717
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateInvalidation2020_05_31 AWS API Documentation
1725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateInvalidation AWS API Documentation
1718
1726
  #
1719
1727
  # @overload create_invalidation(params = {})
1720
1728
  # @param [Hash] params ({})
@@ -1771,7 +1779,7 @@ module Aws::CloudFront
1771
1779
  # resp.location #=> String
1772
1780
  # resp.etag #=> String
1773
1781
  #
1774
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateKeyGroup2020_05_31 AWS API Documentation
1782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateKeyGroup AWS API Documentation
1775
1783
  #
1776
1784
  # @overload create_key_group(params = {})
1777
1785
  # @param [Hash] params ({})
@@ -1817,7 +1825,7 @@ module Aws::CloudFront
1817
1825
  #
1818
1826
  # resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
1819
1827
  #
1820
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateMonitoringSubscription2020_05_31 AWS API Documentation
1828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateMonitoringSubscription AWS API Documentation
1821
1829
  #
1822
1830
  # @overload create_monitoring_subscription(params = {})
1823
1831
  # @param [Hash] params ({})
@@ -1916,7 +1924,7 @@ module Aws::CloudFront
1916
1924
  # resp.location #=> String
1917
1925
  # resp.etag #=> String
1918
1926
  #
1919
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateOriginRequestPolicy2020_05_31 AWS API Documentation
1927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateOriginRequestPolicy AWS API Documentation
1920
1928
  #
1921
1929
  # @overload create_origin_request_policy(params = {})
1922
1930
  # @param [Hash] params ({})
@@ -1964,7 +1972,7 @@ module Aws::CloudFront
1964
1972
  # resp.location #=> String
1965
1973
  # resp.etag #=> String
1966
1974
  #
1967
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreatePublicKey2020_05_31 AWS API Documentation
1975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreatePublicKey AWS API Documentation
1968
1976
  #
1969
1977
  # @overload create_public_key(params = {})
1970
1978
  # @param [Hash] params ({})
@@ -2042,7 +2050,7 @@ module Aws::CloudFront
2042
2050
  # resp.realtime_log_config.fields #=> Array
2043
2051
  # resp.realtime_log_config.fields[0] #=> String
2044
2052
  #
2045
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfig2020_05_31 AWS API Documentation
2053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfig AWS API Documentation
2046
2054
  #
2047
2055
  # @overload create_realtime_log_config(params = {})
2048
2056
  # @param [Hash] params ({})
@@ -2051,6 +2059,151 @@ module Aws::CloudFront
2051
2059
  req.send_request(options)
2052
2060
  end
2053
2061
 
2062
+ # Creates a response headers policy.
2063
+ #
2064
+ # A response headers policy contains information about a set of HTTP
2065
+ # response headers and their values. To create a response headers
2066
+ # policy, you provide some metadata about the policy, and a set of
2067
+ # configurations that specify the response headers.
2068
+ #
2069
+ # After you create a response headers policy, you can use its ID to
2070
+ # attach it to one or more cache behaviors in a CloudFront distribution.
2071
+ # When it’s attached to a cache behavior, CloudFront adds the headers in
2072
+ # the policy to HTTP responses that it sends for requests that match the
2073
+ # cache behavior.
2074
+ #
2075
+ # @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
2076
+ # Contains metadata about the response headers policy, and a set of
2077
+ # configurations that specify the response headers.
2078
+ #
2079
+ # @return [Types::CreateResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2080
+ #
2081
+ # * {Types::CreateResponseHeadersPolicyResult#response_headers_policy #response_headers_policy} => Types::ResponseHeadersPolicy
2082
+ # * {Types::CreateResponseHeadersPolicyResult#location #location} => String
2083
+ # * {Types::CreateResponseHeadersPolicyResult#etag #etag} => String
2084
+ #
2085
+ # @example Request syntax with placeholder values
2086
+ #
2087
+ # resp = client.create_response_headers_policy({
2088
+ # response_headers_policy_config: { # required
2089
+ # comment: "string",
2090
+ # name: "string", # required
2091
+ # cors_config: {
2092
+ # access_control_allow_origins: { # required
2093
+ # quantity: 1, # required
2094
+ # items: ["string"], # required
2095
+ # },
2096
+ # access_control_allow_headers: { # required
2097
+ # quantity: 1, # required
2098
+ # items: ["string"], # required
2099
+ # },
2100
+ # access_control_allow_methods: { # required
2101
+ # quantity: 1, # required
2102
+ # items: ["GET"], # required, accepts GET, POST, OPTIONS, PUT, DELETE, PATCH, HEAD, ALL
2103
+ # },
2104
+ # access_control_allow_credentials: false, # required
2105
+ # access_control_expose_headers: {
2106
+ # quantity: 1, # required
2107
+ # items: ["string"],
2108
+ # },
2109
+ # access_control_max_age_sec: 1,
2110
+ # origin_override: false, # required
2111
+ # },
2112
+ # security_headers_config: {
2113
+ # xss_protection: {
2114
+ # override: false, # required
2115
+ # protection: false, # required
2116
+ # mode_block: false,
2117
+ # report_uri: "string",
2118
+ # },
2119
+ # frame_options: {
2120
+ # override: false, # required
2121
+ # frame_option: "DENY", # required, accepts DENY, SAMEORIGIN
2122
+ # },
2123
+ # referrer_policy: {
2124
+ # override: false, # required
2125
+ # 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
2126
+ # },
2127
+ # content_security_policy: {
2128
+ # override: false, # required
2129
+ # content_security_policy: "string", # required
2130
+ # },
2131
+ # content_type_options: {
2132
+ # override: false, # required
2133
+ # },
2134
+ # strict_transport_security: {
2135
+ # override: false, # required
2136
+ # include_subdomains: false,
2137
+ # preload: false,
2138
+ # access_control_max_age_sec: 1, # required
2139
+ # },
2140
+ # },
2141
+ # custom_headers_config: {
2142
+ # quantity: 1, # required
2143
+ # items: [
2144
+ # {
2145
+ # header: "string", # required
2146
+ # value: "string", # required
2147
+ # override: false, # required
2148
+ # },
2149
+ # ],
2150
+ # },
2151
+ # },
2152
+ # })
2153
+ #
2154
+ # @example Response structure
2155
+ #
2156
+ # resp.response_headers_policy.id #=> String
2157
+ # resp.response_headers_policy.last_modified_time #=> Time
2158
+ # resp.response_headers_policy.response_headers_policy_config.comment #=> String
2159
+ # resp.response_headers_policy.response_headers_policy_config.name #=> String
2160
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
2161
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
2162
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
2163
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
2164
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
2165
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
2166
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
2167
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
2168
+ # 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"
2169
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
2170
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
2171
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
2172
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
2173
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
2174
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.origin_override #=> Boolean
2175
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
2176
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
2177
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
2178
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
2179
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
2180
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.frame_option #=> String, one of "DENY", "SAMEORIGIN"
2181
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
2182
+ # 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"
2183
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
2184
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
2185
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
2186
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
2187
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
2188
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
2189
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.access_control_max_age_sec #=> Integer
2190
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.quantity #=> Integer
2191
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items #=> Array
2192
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].header #=> String
2193
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].value #=> String
2194
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
2195
+ # resp.location #=> String
2196
+ # resp.etag #=> String
2197
+ #
2198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateResponseHeadersPolicy AWS API Documentation
2199
+ #
2200
+ # @overload create_response_headers_policy(params = {})
2201
+ # @param [Hash] params ({})
2202
+ def create_response_headers_policy(params = {}, options = {})
2203
+ req = build_request(:create_response_headers_policy, params)
2204
+ req.send_request(options)
2205
+ end
2206
+
2054
2207
  # This API is deprecated. Amazon CloudFront is deprecating real-time
2055
2208
  # messaging protocol (RTMP) distributions on December 31, 2020. For more
2056
2209
  # information, [read the announcement][1] on the Amazon CloudFront
@@ -2131,7 +2284,7 @@ module Aws::CloudFront
2131
2284
  # resp.location #=> String
2132
2285
  # resp.etag #=> String
2133
2286
  #
2134
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistribution2020_05_31 AWS API Documentation
2287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistribution AWS API Documentation
2135
2288
  #
2136
2289
  # @overload create_streaming_distribution(params = {})
2137
2290
  # @param [Hash] params ({})
@@ -2230,7 +2383,7 @@ module Aws::CloudFront
2230
2383
  # resp.location #=> String
2231
2384
  # resp.etag #=> String
2232
2385
  #
2233
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistributionWithTags2020_05_31 AWS API Documentation
2386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistributionWithTags AWS API Documentation
2234
2387
  #
2235
2388
  # @overload create_streaming_distribution_with_tags(params = {})
2236
2389
  # @param [Hash] params ({})
@@ -2267,7 +2420,7 @@ module Aws::CloudFront
2267
2420
  # if_match: "string",
2268
2421
  # })
2269
2422
  #
2270
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCachePolicy2020_05_31 AWS API Documentation
2423
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCachePolicy AWS API Documentation
2271
2424
  #
2272
2425
  # @overload delete_cache_policy(params = {})
2273
2426
  # @param [Hash] params ({})
@@ -2294,7 +2447,7 @@ module Aws::CloudFront
2294
2447
  # if_match: "string",
2295
2448
  # })
2296
2449
  #
2297
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
2450
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity AWS API Documentation
2298
2451
  #
2299
2452
  # @overload delete_cloud_front_origin_access_identity(params = {})
2300
2453
  # @param [Hash] params ({})
@@ -2321,7 +2474,7 @@ module Aws::CloudFront
2321
2474
  # if_match: "string",
2322
2475
  # })
2323
2476
  #
2324
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteDistribution2020_05_31 AWS API Documentation
2477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteDistribution AWS API Documentation
2325
2478
  #
2326
2479
  # @overload delete_distribution(params = {})
2327
2480
  # @param [Hash] params ({})
@@ -2348,7 +2501,7 @@ module Aws::CloudFront
2348
2501
  # if_match: "string",
2349
2502
  # })
2350
2503
  #
2351
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
2504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig AWS API Documentation
2352
2505
  #
2353
2506
  # @overload delete_field_level_encryption_config(params = {})
2354
2507
  # @param [Hash] params ({})
@@ -2375,7 +2528,7 @@ module Aws::CloudFront
2375
2528
  # if_match: "string",
2376
2529
  # })
2377
2530
  #
2378
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
2531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile AWS API Documentation
2379
2532
  #
2380
2533
  # @overload delete_field_level_encryption_profile(params = {})
2381
2534
  # @param [Hash] params ({})
@@ -2410,7 +2563,7 @@ module Aws::CloudFront
2410
2563
  # if_match: "string", # required
2411
2564
  # })
2412
2565
  #
2413
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFunction2020_05_31 AWS API Documentation
2566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFunction AWS API Documentation
2414
2567
  #
2415
2568
  # @overload delete_function(params = {})
2416
2569
  # @param [Hash] params ({})
@@ -2447,7 +2600,7 @@ module Aws::CloudFront
2447
2600
  # if_match: "string",
2448
2601
  # })
2449
2602
  #
2450
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteKeyGroup2020_05_31 AWS API Documentation
2603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteKeyGroup AWS API Documentation
2451
2604
  #
2452
2605
  # @overload delete_key_group(params = {})
2453
2606
  # @param [Hash] params ({})
@@ -2470,7 +2623,7 @@ module Aws::CloudFront
2470
2623
  # distribution_id: "string", # required
2471
2624
  # })
2472
2625
  #
2473
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteMonitoringSubscription2020_05_31 AWS API Documentation
2626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteMonitoringSubscription AWS API Documentation
2474
2627
  #
2475
2628
  # @overload delete_monitoring_subscription(params = {})
2476
2629
  # @param [Hash] params ({})
@@ -2510,7 +2663,7 @@ module Aws::CloudFront
2510
2663
  # if_match: "string",
2511
2664
  # })
2512
2665
  #
2513
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteOriginRequestPolicy2020_05_31 AWS API Documentation
2666
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteOriginRequestPolicy AWS API Documentation
2514
2667
  #
2515
2668
  # @overload delete_origin_request_policy(params = {})
2516
2669
  # @param [Hash] params ({})
@@ -2537,7 +2690,7 @@ module Aws::CloudFront
2537
2690
  # if_match: "string",
2538
2691
  # })
2539
2692
  #
2540
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeletePublicKey2020_05_31 AWS API Documentation
2693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeletePublicKey AWS API Documentation
2541
2694
  #
2542
2695
  # @overload delete_public_key(params = {})
2543
2696
  # @param [Hash] params ({})
@@ -2574,7 +2727,7 @@ module Aws::CloudFront
2574
2727
  # arn: "string",
2575
2728
  # })
2576
2729
  #
2577
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteRealtimeLogConfig2020_05_31 AWS API Documentation
2730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteRealtimeLogConfig AWS API Documentation
2578
2731
  #
2579
2732
  # @overload delete_realtime_log_config(params = {})
2580
2733
  # @param [Hash] params ({})
@@ -2583,6 +2736,47 @@ module Aws::CloudFront
2583
2736
  req.send_request(options)
2584
2737
  end
2585
2738
 
2739
+ # Deletes a response headers policy.
2740
+ #
2741
+ # You cannot delete a response headers policy if it’s attached to a
2742
+ # cache behavior. First update your distributions to remove the response
2743
+ # headers policy from all cache behaviors, then delete the response
2744
+ # headers policy.
2745
+ #
2746
+ # To delete a response headers policy, you must provide the policy’s
2747
+ # identifier and version. To get these values, you can use
2748
+ # `ListResponseHeadersPolicies` or `GetResponseHeadersPolicy`.
2749
+ #
2750
+ # @option params [required, String] :id
2751
+ # The identifier for the response headers policy that you are deleting.
2752
+ #
2753
+ # To get the identifier, you can use `ListResponseHeadersPolicies`.
2754
+ #
2755
+ # @option params [String] :if_match
2756
+ # The version of the response headers policy that you are deleting.
2757
+ #
2758
+ # The version is the response headers policy’s `ETag` value, which you
2759
+ # can get using `ListResponseHeadersPolicies`,
2760
+ # `GetResponseHeadersPolicy`, or `GetResponseHeadersPolicyConfig`.
2761
+ #
2762
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2763
+ #
2764
+ # @example Request syntax with placeholder values
2765
+ #
2766
+ # resp = client.delete_response_headers_policy({
2767
+ # id: "string", # required
2768
+ # if_match: "string",
2769
+ # })
2770
+ #
2771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteResponseHeadersPolicy AWS API Documentation
2772
+ #
2773
+ # @overload delete_response_headers_policy(params = {})
2774
+ # @param [Hash] params ({})
2775
+ def delete_response_headers_policy(params = {}, options = {})
2776
+ req = build_request(:delete_response_headers_policy, params)
2777
+ req.send_request(options)
2778
+ end
2779
+
2586
2780
  # Delete a streaming distribution. To delete an RTMP distribution using
2587
2781
  # the CloudFront API, perform the following steps.
2588
2782
  #
@@ -2644,7 +2838,7 @@ module Aws::CloudFront
2644
2838
  # if_match: "string",
2645
2839
  # })
2646
2840
  #
2647
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteStreamingDistribution2020_05_31 AWS API Documentation
2841
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteStreamingDistribution AWS API Documentation
2648
2842
  #
2649
2843
  # @overload delete_streaming_distribution(params = {})
2650
2844
  # @param [Hash] params ({})
@@ -2691,7 +2885,7 @@ module Aws::CloudFront
2691
2885
  # resp.function_summary.function_metadata.last_modified_time #=> Time
2692
2886
  # resp.etag #=> String
2693
2887
  #
2694
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DescribeFunction2020_05_31 AWS API Documentation
2888
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DescribeFunction AWS API Documentation
2695
2889
  #
2696
2890
  # @overload describe_function(params = {})
2697
2891
  # @param [Hash] params ({})
@@ -2755,7 +2949,7 @@ module Aws::CloudFront
2755
2949
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
2756
2950
  # resp.etag #=> String
2757
2951
  #
2758
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicy2020_05_31 AWS API Documentation
2952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicy AWS API Documentation
2759
2953
  #
2760
2954
  # @overload get_cache_policy(params = {})
2761
2955
  # @param [Hash] params ({})
@@ -2814,7 +3008,7 @@ module Aws::CloudFront
2814
3008
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
2815
3009
  # resp.etag #=> String
2816
3010
  #
2817
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicyConfig2020_05_31 AWS API Documentation
3011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicyConfig AWS API Documentation
2818
3012
  #
2819
3013
  # @overload get_cache_policy_config(params = {})
2820
3014
  # @param [Hash] params ({})
@@ -2847,7 +3041,7 @@ module Aws::CloudFront
2847
3041
  # resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
2848
3042
  # resp.etag #=> String
2849
3043
  #
2850
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
3044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity AWS API Documentation
2851
3045
  #
2852
3046
  # @overload get_cloud_front_origin_access_identity(params = {})
2853
3047
  # @param [Hash] params ({})
@@ -2878,7 +3072,7 @@ module Aws::CloudFront
2878
3072
  # resp.cloud_front_origin_access_identity_config.comment #=> String
2879
3073
  # resp.etag #=> String
2880
3074
  #
2881
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig2020_05_31 AWS API Documentation
3075
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig AWS API Documentation
2882
3076
  #
2883
3077
  # @overload get_cloud_front_origin_access_identity_config(params = {})
2884
3078
  # @param [Hash] params ({})
@@ -2993,6 +3187,7 @@ module Aws::CloudFront
2993
3187
  # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
2994
3188
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
2995
3189
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
3190
+ # resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
2996
3191
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
2997
3192
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
2998
3193
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -3041,6 +3236,7 @@ module Aws::CloudFront
3041
3236
  # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
3042
3237
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
3043
3238
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
3239
+ # resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
3044
3240
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
3045
3241
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
3046
3242
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -3092,7 +3288,7 @@ module Aws::CloudFront
3092
3288
  #
3093
3289
  # * distribution_deployed
3094
3290
  #
3095
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistribution2020_05_31 AWS API Documentation
3291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistribution AWS API Documentation
3096
3292
  #
3097
3293
  # @overload get_distribution(params = {})
3098
3294
  # @param [Hash] params ({})
@@ -3187,6 +3383,7 @@ module Aws::CloudFront
3187
3383
  # resp.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
3188
3384
  # resp.distribution_config.default_cache_behavior.cache_policy_id #=> String
3189
3385
  # resp.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
3386
+ # resp.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
3190
3387
  # resp.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
3191
3388
  # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
3192
3389
  # resp.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -3235,6 +3432,7 @@ module Aws::CloudFront
3235
3432
  # resp.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
3236
3433
  # resp.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
3237
3434
  # resp.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
3435
+ # resp.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
3238
3436
  # resp.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
3239
3437
  # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
3240
3438
  # resp.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -3278,7 +3476,7 @@ module Aws::CloudFront
3278
3476
  # resp.distribution_config.is_ipv6_enabled #=> Boolean
3279
3477
  # resp.etag #=> String
3280
3478
  #
3281
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig2020_05_31 AWS API Documentation
3479
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig AWS API Documentation
3282
3480
  #
3283
3481
  # @overload get_distribution_config(params = {})
3284
3482
  # @param [Hash] params ({})
@@ -3323,7 +3521,7 @@ module Aws::CloudFront
3323
3521
  # resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
3324
3522
  # resp.etag #=> String
3325
3523
  #
3326
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryption2020_05_31 AWS API Documentation
3524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryption AWS API Documentation
3327
3525
  #
3328
3526
  # @overload get_field_level_encryption(params = {})
3329
3527
  # @param [Hash] params ({})
@@ -3366,7 +3564,7 @@ module Aws::CloudFront
3366
3564
  # resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
3367
3565
  # resp.etag #=> String
3368
3566
  #
3369
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
3567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig AWS API Documentation
3370
3568
  #
3371
3569
  # @overload get_field_level_encryption_config(params = {})
3372
3570
  # @param [Hash] params ({})
@@ -3407,7 +3605,7 @@ module Aws::CloudFront
3407
3605
  # resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
3408
3606
  # resp.etag #=> String
3409
3607
  #
3410
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
3608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile AWS API Documentation
3411
3609
  #
3412
3610
  # @overload get_field_level_encryption_profile(params = {})
3413
3611
  # @param [Hash] params ({})
@@ -3447,7 +3645,7 @@ module Aws::CloudFront
3447
3645
  # resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
3448
3646
  # resp.etag #=> String
3449
3647
  #
3450
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig2020_05_31 AWS API Documentation
3648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig AWS API Documentation
3451
3649
  #
3452
3650
  # @overload get_field_level_encryption_profile_config(params = {})
3453
3651
  # @param [Hash] params ({})
@@ -3487,7 +3685,7 @@ module Aws::CloudFront
3487
3685
  # resp.etag #=> String
3488
3686
  # resp.content_type #=> String
3489
3687
  #
3490
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFunction2020_05_31 AWS API Documentation
3688
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFunction AWS API Documentation
3491
3689
  #
3492
3690
  # @overload get_function(params = {})
3493
3691
  # @param [Hash] params ({})
@@ -3531,7 +3729,7 @@ module Aws::CloudFront
3531
3729
  #
3532
3730
  # * invalidation_completed
3533
3731
  #
3534
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetInvalidation2020_05_31 AWS API Documentation
3732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetInvalidation AWS API Documentation
3535
3733
  #
3536
3734
  # @overload get_invalidation(params = {})
3537
3735
  # @param [Hash] params ({})
@@ -3574,7 +3772,7 @@ module Aws::CloudFront
3574
3772
  # resp.key_group.key_group_config.comment #=> String
3575
3773
  # resp.etag #=> String
3576
3774
  #
3577
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroup2020_05_31 AWS API Documentation
3775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroup AWS API Documentation
3578
3776
  #
3579
3777
  # @overload get_key_group(params = {})
3580
3778
  # @param [Hash] params ({})
@@ -3615,7 +3813,7 @@ module Aws::CloudFront
3615
3813
  # resp.key_group_config.comment #=> String
3616
3814
  # resp.etag #=> String
3617
3815
  #
3618
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroupConfig2020_05_31 AWS API Documentation
3816
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroupConfig AWS API Documentation
3619
3817
  #
3620
3818
  # @overload get_key_group_config(params = {})
3621
3819
  # @param [Hash] params ({})
@@ -3645,7 +3843,7 @@ module Aws::CloudFront
3645
3843
  #
3646
3844
  # resp.monitoring_subscription.realtime_metrics_subscription_config.realtime_metrics_subscription_status #=> String, one of "Enabled", "Disabled"
3647
3845
  #
3648
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetMonitoringSubscription2020_05_31 AWS API Documentation
3846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetMonitoringSubscription AWS API Documentation
3649
3847
  #
3650
3848
  # @overload get_monitoring_subscription(params = {})
3651
3849
  # @param [Hash] params ({})
@@ -3706,7 +3904,7 @@ module Aws::CloudFront
3706
3904
  # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
3707
3905
  # resp.etag #=> String
3708
3906
  #
3709
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicy2020_05_31 AWS API Documentation
3907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicy AWS API Documentation
3710
3908
  #
3711
3909
  # @overload get_origin_request_policy(params = {})
3712
3910
  # @param [Hash] params ({})
@@ -3761,7 +3959,7 @@ module Aws::CloudFront
3761
3959
  # resp.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
3762
3960
  # resp.etag #=> String
3763
3961
  #
3764
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicyConfig2020_05_31 AWS API Documentation
3962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicyConfig AWS API Documentation
3765
3963
  #
3766
3964
  # @overload get_origin_request_policy_config(params = {})
3767
3965
  # @param [Hash] params ({})
@@ -3796,7 +3994,7 @@ module Aws::CloudFront
3796
3994
  # resp.public_key.public_key_config.comment #=> String
3797
3995
  # resp.etag #=> String
3798
3996
  #
3799
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKey2020_05_31 AWS API Documentation
3997
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKey AWS API Documentation
3800
3998
  #
3801
3999
  # @overload get_public_key(params = {})
3802
4000
  # @param [Hash] params ({})
@@ -3829,7 +4027,7 @@ module Aws::CloudFront
3829
4027
  # resp.public_key_config.comment #=> String
3830
4028
  # resp.etag #=> String
3831
4029
  #
3832
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKeyConfig2020_05_31 AWS API Documentation
4030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKeyConfig AWS API Documentation
3833
4031
  #
3834
4032
  # @overload get_public_key_config(params = {})
3835
4033
  # @param [Hash] params ({})
@@ -3875,7 +4073,7 @@ module Aws::CloudFront
3875
4073
  # resp.realtime_log_config.fields #=> Array
3876
4074
  # resp.realtime_log_config.fields[0] #=> String
3877
4075
  #
3878
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfig2020_05_31 AWS API Documentation
4076
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfig AWS API Documentation
3879
4077
  #
3880
4078
  # @overload get_realtime_log_config(params = {})
3881
4079
  # @param [Hash] params ({})
@@ -3884,6 +4082,167 @@ module Aws::CloudFront
3884
4082
  req.send_request(options)
3885
4083
  end
3886
4084
 
4085
+ # Gets a response headers policy, including metadata (the policy’s
4086
+ # identifier and the date and time when the policy was last modified).
4087
+ #
4088
+ # To get a response headers policy, you must provide the policy’s
4089
+ # identifier. If the response headers policy is attached to a
4090
+ # distribution’s cache behavior, you can get the policy’s identifier
4091
+ # using `ListDistributions` or `GetDistribution`. If the response
4092
+ # headers policy is not attached to a cache behavior, you can get the
4093
+ # identifier using `ListResponseHeadersPolicies`.
4094
+ #
4095
+ # @option params [required, String] :id
4096
+ # The identifier for the response headers policy.
4097
+ #
4098
+ # If the response headers policy is attached to a distribution’s cache
4099
+ # behavior, you can get the policy’s identifier using
4100
+ # `ListDistributions` or `GetDistribution`. If the response headers
4101
+ # policy is not attached to a cache behavior, you can get the identifier
4102
+ # using `ListResponseHeadersPolicies`.
4103
+ #
4104
+ # @return [Types::GetResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4105
+ #
4106
+ # * {Types::GetResponseHeadersPolicyResult#response_headers_policy #response_headers_policy} => Types::ResponseHeadersPolicy
4107
+ # * {Types::GetResponseHeadersPolicyResult#etag #etag} => String
4108
+ #
4109
+ # @example Request syntax with placeholder values
4110
+ #
4111
+ # resp = client.get_response_headers_policy({
4112
+ # id: "string", # required
4113
+ # })
4114
+ #
4115
+ # @example Response structure
4116
+ #
4117
+ # resp.response_headers_policy.id #=> String
4118
+ # resp.response_headers_policy.last_modified_time #=> Time
4119
+ # resp.response_headers_policy.response_headers_policy_config.comment #=> String
4120
+ # resp.response_headers_policy.response_headers_policy_config.name #=> String
4121
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
4122
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
4123
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
4124
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
4125
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
4126
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
4127
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
4128
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
4129
+ # 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"
4130
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
4131
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
4132
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
4133
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
4134
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
4135
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.origin_override #=> Boolean
4136
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
4137
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
4138
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
4139
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
4140
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
4141
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.frame_option #=> String, one of "DENY", "SAMEORIGIN"
4142
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
4143
+ # 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"
4144
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
4145
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
4146
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
4147
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
4148
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
4149
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
4150
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.access_control_max_age_sec #=> Integer
4151
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.quantity #=> Integer
4152
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items #=> Array
4153
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].header #=> String
4154
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].value #=> String
4155
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
4156
+ # resp.etag #=> String
4157
+ #
4158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResponseHeadersPolicy AWS API Documentation
4159
+ #
4160
+ # @overload get_response_headers_policy(params = {})
4161
+ # @param [Hash] params ({})
4162
+ def get_response_headers_policy(params = {}, options = {})
4163
+ req = build_request(:get_response_headers_policy, params)
4164
+ req.send_request(options)
4165
+ end
4166
+
4167
+ # Gets a response headers policy configuration.
4168
+ #
4169
+ # To get a response headers policy configuration, you must provide the
4170
+ # policy’s identifier. If the response headers policy is attached to a
4171
+ # distribution’s cache behavior, you can get the policy’s identifier
4172
+ # using `ListDistributions` or `GetDistribution`. If the response
4173
+ # headers policy is not attached to a cache behavior, you can get the
4174
+ # identifier using `ListResponseHeadersPolicies`.
4175
+ #
4176
+ # @option params [required, String] :id
4177
+ # The identifier for the response headers policy.
4178
+ #
4179
+ # If the response headers policy is attached to a distribution’s cache
4180
+ # behavior, you can get the policy’s identifier using
4181
+ # `ListDistributions` or `GetDistribution`. If the response headers
4182
+ # policy is not attached to a cache behavior, you can get the identifier
4183
+ # using `ListResponseHeadersPolicies`.
4184
+ #
4185
+ # @return [Types::GetResponseHeadersPolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4186
+ #
4187
+ # * {Types::GetResponseHeadersPolicyConfigResult#response_headers_policy_config #response_headers_policy_config} => Types::ResponseHeadersPolicyConfig
4188
+ # * {Types::GetResponseHeadersPolicyConfigResult#etag #etag} => String
4189
+ #
4190
+ # @example Request syntax with placeholder values
4191
+ #
4192
+ # resp = client.get_response_headers_policy_config({
4193
+ # id: "string", # required
4194
+ # })
4195
+ #
4196
+ # @example Response structure
4197
+ #
4198
+ # resp.response_headers_policy_config.comment #=> String
4199
+ # resp.response_headers_policy_config.name #=> String
4200
+ # resp.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
4201
+ # resp.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
4202
+ # resp.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
4203
+ # resp.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
4204
+ # resp.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
4205
+ # resp.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
4206
+ # resp.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
4207
+ # resp.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
4208
+ # resp.response_headers_policy_config.cors_config.access_control_allow_methods.items[0] #=> String, one of "GET", "POST", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD", "ALL"
4209
+ # resp.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
4210
+ # resp.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
4211
+ # resp.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
4212
+ # resp.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
4213
+ # resp.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
4214
+ # resp.response_headers_policy_config.cors_config.origin_override #=> Boolean
4215
+ # resp.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
4216
+ # resp.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
4217
+ # resp.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
4218
+ # resp.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
4219
+ # resp.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
4220
+ # resp.response_headers_policy_config.security_headers_config.frame_options.frame_option #=> String, one of "DENY", "SAMEORIGIN"
4221
+ # resp.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
4222
+ # 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"
4223
+ # resp.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
4224
+ # resp.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
4225
+ # resp.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
4226
+ # resp.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
4227
+ # resp.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
4228
+ # resp.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
4229
+ # resp.response_headers_policy_config.security_headers_config.strict_transport_security.access_control_max_age_sec #=> Integer
4230
+ # resp.response_headers_policy_config.custom_headers_config.quantity #=> Integer
4231
+ # resp.response_headers_policy_config.custom_headers_config.items #=> Array
4232
+ # resp.response_headers_policy_config.custom_headers_config.items[0].header #=> String
4233
+ # resp.response_headers_policy_config.custom_headers_config.items[0].value #=> String
4234
+ # resp.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
4235
+ # resp.etag #=> String
4236
+ #
4237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig AWS API Documentation
4238
+ #
4239
+ # @overload get_response_headers_policy_config(params = {})
4240
+ # @param [Hash] params ({})
4241
+ def get_response_headers_policy_config(params = {}, options = {})
4242
+ req = build_request(:get_response_headers_policy_config, params)
4243
+ req.send_request(options)
4244
+ end
4245
+
3887
4246
  # Gets information about a specified RTMP distribution, including the
3888
4247
  # distribution configuration.
3889
4248
  #
@@ -3938,7 +4297,7 @@ module Aws::CloudFront
3938
4297
  #
3939
4298
  # * streaming_distribution_deployed
3940
4299
  #
3941
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistribution2020_05_31 AWS API Documentation
4300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistribution AWS API Documentation
3942
4301
  #
3943
4302
  # @overload get_streaming_distribution(params = {})
3944
4303
  # @param [Hash] params ({})
@@ -3983,7 +4342,7 @@ module Aws::CloudFront
3983
4342
  # resp.streaming_distribution_config.enabled #=> Boolean
3984
4343
  # resp.etag #=> String
3985
4344
  #
3986
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistributionConfig2020_05_31 AWS API Documentation
4345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistributionConfig AWS API Documentation
3987
4346
  #
3988
4347
  # @overload get_streaming_distribution_config(params = {})
3989
4348
  # @param [Hash] params ({})
@@ -3996,7 +4355,7 @@ module Aws::CloudFront
3996
4355
  #
3997
4356
  # You can optionally apply a filter to return only the managed policies
3998
4357
  # created by Amazon Web Services, or only the custom policies created in
3999
- # your account.
4358
+ # your Amazon Web Services account.
4000
4359
  #
4001
4360
  # You can optionally specify the maximum number of items to receive in
4002
4361
  # the response. If the total number of items in the list exceeds the
@@ -4012,7 +4371,8 @@ module Aws::CloudFront
4012
4371
  # * `managed` – Returns only the managed policies created by Amazon Web
4013
4372
  # Services.
4014
4373
  #
4015
- # * `custom` – Returns only the custom policies created in your account.
4374
+ # * `custom` – Returns only the custom policies created in your Amazon
4375
+ # Web Services account.
4016
4376
  #
4017
4377
  # @option params [String] :marker
4018
4378
  # Use this field when paginating results to indicate where to begin in
@@ -4065,7 +4425,7 @@ module Aws::CloudFront
4065
4425
  # 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
4426
  # 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
4427
  #
4068
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCachePolicies2020_05_31 AWS API Documentation
4428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCachePolicies AWS API Documentation
4069
4429
  #
4070
4430
  # @overload list_cache_policies(params = {})
4071
4431
  # @param [Hash] params ({})
@@ -4113,7 +4473,7 @@ module Aws::CloudFront
4113
4473
  # resp.cloud_front_origin_access_identity_list.items[0].s3_canonical_user_id #=> String
4114
4474
  # resp.cloud_front_origin_access_identity_list.items[0].comment #=> String
4115
4475
  #
4116
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities2020_05_31 AWS API Documentation
4476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities AWS API Documentation
4117
4477
  #
4118
4478
  # @overload list_cloud_front_origin_access_identities(params = {})
4119
4479
  # @param [Hash] params ({})
@@ -4198,7 +4558,7 @@ module Aws::CloudFront
4198
4558
  # resp.conflicting_aliases_list.items[0].distribution_id #=> String
4199
4559
  # resp.conflicting_aliases_list.items[0].account_id #=> String
4200
4560
  #
4201
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListConflictingAliases2020_05_31 AWS API Documentation
4561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListConflictingAliases AWS API Documentation
4202
4562
  #
4203
4563
  # @overload list_conflicting_aliases(params = {})
4204
4564
  # @param [Hash] params ({})
@@ -4310,6 +4670,7 @@ module Aws::CloudFront
4310
4670
  # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
4311
4671
  # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
4312
4672
  # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
4673
+ # resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
4313
4674
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
4314
4675
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4315
4676
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -4358,6 +4719,7 @@ module Aws::CloudFront
4358
4719
  # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
4359
4720
  # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
4360
4721
  # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
4722
+ # resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
4361
4723
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
4362
4724
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4363
4725
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -4399,7 +4761,7 @@ module Aws::CloudFront
4399
4761
  # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
4400
4762
  # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
4401
4763
  #
4402
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions2020_05_31 AWS API Documentation
4764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions AWS API Documentation
4403
4765
  #
4404
4766
  # @overload list_distributions(params = {})
4405
4767
  # @param [Hash] params ({})
@@ -4454,7 +4816,7 @@ module Aws::CloudFront
4454
4816
  # resp.distribution_id_list.items #=> Array
4455
4817
  # resp.distribution_id_list.items[0] #=> String
4456
4818
  #
4457
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByCachePolicyId2020_05_31 AWS API Documentation
4819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByCachePolicyId AWS API Documentation
4458
4820
  #
4459
4821
  # @overload list_distributions_by_cache_policy_id(params = {})
4460
4822
  # @param [Hash] params ({})
@@ -4509,7 +4871,7 @@ module Aws::CloudFront
4509
4871
  # resp.distribution_id_list.items #=> Array
4510
4872
  # resp.distribution_id_list.items[0] #=> String
4511
4873
  #
4512
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByKeyGroup2020_05_31 AWS API Documentation
4874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByKeyGroup AWS API Documentation
4513
4875
  #
4514
4876
  # @overload list_distributions_by_key_group(params = {})
4515
4877
  # @param [Hash] params ({})
@@ -4564,7 +4926,7 @@ module Aws::CloudFront
4564
4926
  # resp.distribution_id_list.items #=> Array
4565
4927
  # resp.distribution_id_list.items[0] #=> String
4566
4928
  #
4567
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId2020_05_31 AWS API Documentation
4929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId AWS API Documentation
4568
4930
  #
4569
4931
  # @overload list_distributions_by_origin_request_policy_id(params = {})
4570
4932
  # @param [Hash] params ({})
@@ -4697,6 +5059,7 @@ module Aws::CloudFront
4697
5059
  # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
4698
5060
  # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
4699
5061
  # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
5062
+ # resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
4700
5063
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
4701
5064
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4702
5065
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -4745,6 +5108,7 @@ module Aws::CloudFront
4745
5108
  # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
4746
5109
  # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
4747
5110
  # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
5111
+ # resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
4748
5112
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
4749
5113
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4750
5114
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -4786,7 +5150,7 @@ module Aws::CloudFront
4786
5150
  # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
4787
5151
  # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
4788
5152
  #
4789
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig2020_05_31 AWS API Documentation
5153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig AWS API Documentation
4790
5154
  #
4791
5155
  # @overload list_distributions_by_realtime_log_config(params = {})
4792
5156
  # @param [Hash] params ({})
@@ -4795,6 +5159,62 @@ module Aws::CloudFront
4795
5159
  req.send_request(options)
4796
5160
  end
4797
5161
 
5162
+ # Gets a list of distribution IDs for distributions that have a cache
5163
+ # behavior that’s associated with the specified response headers policy.
5164
+ #
5165
+ # You can optionally specify the maximum number of items to receive in
5166
+ # the response. If the total number of items in the list exceeds the
5167
+ # maximum that you specify, or the default maximum, the response is
5168
+ # paginated. To get the next page of items, send a subsequent request
5169
+ # that specifies the `NextMarker` value from the current response as the
5170
+ # `Marker` value in the subsequent request.
5171
+ #
5172
+ # @option params [String] :marker
5173
+ # Use this field when paginating results to indicate where to begin in
5174
+ # your list of distribution IDs. The response includes distribution IDs
5175
+ # in the list that occur after the marker. To get the next page of the
5176
+ # list, set this field’s value to the value of `NextMarker` from the
5177
+ # current page’s response.
5178
+ #
5179
+ # @option params [Integer] :max_items
5180
+ # The maximum number of distribution IDs that you want to get in the
5181
+ # response.
5182
+ #
5183
+ # @option params [required, String] :response_headers_policy_id
5184
+ # The ID of the response headers policy whose associated distribution
5185
+ # IDs you want to list.
5186
+ #
5187
+ # @return [Types::ListDistributionsByResponseHeadersPolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5188
+ #
5189
+ # * {Types::ListDistributionsByResponseHeadersPolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
5190
+ #
5191
+ # @example Request syntax with placeholder values
5192
+ #
5193
+ # resp = client.list_distributions_by_response_headers_policy_id({
5194
+ # marker: "string",
5195
+ # max_items: 1,
5196
+ # response_headers_policy_id: "string", # required
5197
+ # })
5198
+ #
5199
+ # @example Response structure
5200
+ #
5201
+ # resp.distribution_id_list.marker #=> String
5202
+ # resp.distribution_id_list.next_marker #=> String
5203
+ # resp.distribution_id_list.max_items #=> Integer
5204
+ # resp.distribution_id_list.is_truncated #=> Boolean
5205
+ # resp.distribution_id_list.quantity #=> Integer
5206
+ # resp.distribution_id_list.items #=> Array
5207
+ # resp.distribution_id_list.items[0] #=> String
5208
+ #
5209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId AWS API Documentation
5210
+ #
5211
+ # @overload list_distributions_by_response_headers_policy_id(params = {})
5212
+ # @param [Hash] params ({})
5213
+ def list_distributions_by_response_headers_policy_id(params = {}, options = {})
5214
+ req = build_request(:list_distributions_by_response_headers_policy_id, params)
5215
+ req.send_request(options)
5216
+ end
5217
+
4798
5218
  # List the distributions that are associated with a specified WAF web
4799
5219
  # ACL.
4800
5220
  #
@@ -4905,6 +5325,7 @@ module Aws::CloudFront
4905
5325
  # resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
4906
5326
  # resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
4907
5327
  # resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
5328
+ # resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
4908
5329
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
4909
5330
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4910
5331
  # resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -4953,6 +5374,7 @@ module Aws::CloudFront
4953
5374
  # resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
4954
5375
  # resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
4955
5376
  # resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
5377
+ # resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
4956
5378
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
4957
5379
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
4958
5380
  # resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -4994,7 +5416,7 @@ module Aws::CloudFront
4994
5416
  # resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
4995
5417
  # resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
4996
5418
  #
4997
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId2020_05_31 AWS API Documentation
5419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId AWS API Documentation
4998
5420
  #
4999
5421
  # @overload list_distributions_by_web_acl_id(params = {})
5000
5422
  # @param [Hash] params ({})
@@ -5050,7 +5472,7 @@ module Aws::CloudFront
5050
5472
  # resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
5051
5473
  # resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].content_type #=> String
5052
5474
  #
5053
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs2020_05_31 AWS API Documentation
5475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs AWS API Documentation
5054
5476
  #
5055
5477
  # @overload list_field_level_encryption_configs(params = {})
5056
5478
  # @param [Hash] params ({})
@@ -5102,7 +5524,7 @@ module Aws::CloudFront
5102
5524
  # resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.items[0] #=> String
5103
5525
  # resp.field_level_encryption_profile_list.items[0].comment #=> String
5104
5526
  #
5105
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles2020_05_31 AWS API Documentation
5527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles AWS API Documentation
5106
5528
  #
5107
5529
  # @overload list_field_level_encryption_profiles(params = {})
5108
5530
  # @param [Hash] params ({})
@@ -5111,7 +5533,8 @@ module Aws::CloudFront
5111
5533
  req.send_request(options)
5112
5534
  end
5113
5535
 
5114
- # Gets a list of all CloudFront functions in your account.
5536
+ # Gets a list of all CloudFront functions in your Amazon Web Services
5537
+ # account.
5115
5538
  #
5116
5539
  # You can optionally apply a filter to return only the functions that
5117
5540
  # are in the specified stage, either `DEVELOPMENT` or `LIVE`.
@@ -5164,7 +5587,7 @@ module Aws::CloudFront
5164
5587
  # resp.function_list.items[0].function_metadata.created_time #=> Time
5165
5588
  # resp.function_list.items[0].function_metadata.last_modified_time #=> Time
5166
5589
  #
5167
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFunctions2020_05_31 AWS API Documentation
5590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFunctions AWS API Documentation
5168
5591
  #
5169
5592
  # @overload list_functions(params = {})
5170
5593
  # @param [Hash] params ({})
@@ -5218,7 +5641,7 @@ module Aws::CloudFront
5218
5641
  # resp.invalidation_list.items[0].create_time #=> Time
5219
5642
  # resp.invalidation_list.items[0].status #=> String
5220
5643
  #
5221
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListInvalidations2020_05_31 AWS API Documentation
5644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListInvalidations AWS API Documentation
5222
5645
  #
5223
5646
  # @overload list_invalidations(params = {})
5224
5647
  # @param [Hash] params ({})
@@ -5270,7 +5693,7 @@ module Aws::CloudFront
5270
5693
  # resp.key_group_list.items[0].key_group.key_group_config.items[0] #=> String
5271
5694
  # resp.key_group_list.items[0].key_group.key_group_config.comment #=> String
5272
5695
  #
5273
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListKeyGroups2020_05_31 AWS API Documentation
5696
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListKeyGroups AWS API Documentation
5274
5697
  #
5275
5698
  # @overload list_key_groups(params = {})
5276
5699
  # @param [Hash] params ({})
@@ -5283,7 +5706,7 @@ module Aws::CloudFront
5283
5706
  #
5284
5707
  # You can optionally apply a filter to return only the managed policies
5285
5708
  # created by Amazon Web Services, or only the custom policies created in
5286
- # your account.
5709
+ # your Amazon Web Services account.
5287
5710
  #
5288
5711
  # You can optionally specify the maximum number of items to receive in
5289
5712
  # the response. If the total number of items in the list exceeds the
@@ -5299,7 +5722,8 @@ module Aws::CloudFront
5299
5722
  # * `managed` – Returns only the managed policies created by Amazon Web
5300
5723
  # Services.
5301
5724
  #
5302
- # * `custom` – Returns only the custom policies created in your account.
5725
+ # * `custom` – Returns only the custom policies created in your Amazon
5726
+ # Web Services account.
5303
5727
  #
5304
5728
  # @option params [String] :marker
5305
5729
  # Use this field when paginating results to indicate where to begin in
@@ -5348,7 +5772,7 @@ module Aws::CloudFront
5348
5772
  # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
5349
5773
  # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
5350
5774
  #
5351
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginRequestPolicies2020_05_31 AWS API Documentation
5775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginRequestPolicies AWS API Documentation
5352
5776
  #
5353
5777
  # @overload list_origin_request_policies(params = {})
5354
5778
  # @param [Hash] params ({})
@@ -5393,7 +5817,7 @@ module Aws::CloudFront
5393
5817
  # resp.public_key_list.items[0].encoded_key #=> String
5394
5818
  # resp.public_key_list.items[0].comment #=> String
5395
5819
  #
5396
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListPublicKeys2020_05_31 AWS API Documentation
5820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListPublicKeys AWS API Documentation
5397
5821
  #
5398
5822
  # @overload list_public_keys(params = {})
5399
5823
  # @param [Hash] params ({})
@@ -5450,7 +5874,7 @@ module Aws::CloudFront
5450
5874
  # resp.realtime_log_configs.marker #=> String
5451
5875
  # resp.realtime_log_configs.next_marker #=> String
5452
5876
  #
5453
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigs2020_05_31 AWS API Documentation
5877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigs AWS API Documentation
5454
5878
  #
5455
5879
  # @overload list_realtime_log_configs(params = {})
5456
5880
  # @param [Hash] params ({})
@@ -5459,6 +5883,108 @@ module Aws::CloudFront
5459
5883
  req.send_request(options)
5460
5884
  end
5461
5885
 
5886
+ # Gets a list of response headers policies.
5887
+ #
5888
+ # You can optionally apply a filter to get only the managed policies
5889
+ # created by Amazon Web Services, or only the custom policies created in
5890
+ # your Amazon Web Services account.
5891
+ #
5892
+ # You can optionally specify the maximum number of items to receive in
5893
+ # the response. If the total number of items in the list exceeds the
5894
+ # maximum that you specify, or the default maximum, the response is
5895
+ # paginated. To get the next page of items, send a subsequent request
5896
+ # that specifies the `NextMarker` value from the current response as the
5897
+ # `Marker` value in the subsequent request.
5898
+ #
5899
+ # @option params [String] :type
5900
+ # A filter to get only the specified kind of response headers policies.
5901
+ # Valid values are:
5902
+ #
5903
+ # * `managed` – Gets only the managed policies created by Amazon Web
5904
+ # Services.
5905
+ #
5906
+ # * `custom` – Gets only the custom policies created in your Amazon Web
5907
+ # Services account.
5908
+ #
5909
+ # @option params [String] :marker
5910
+ # Use this field when paginating results to indicate where to begin in
5911
+ # your list of response headers policies. The response includes response
5912
+ # headers policies in the list that occur after the marker. To get the
5913
+ # next page of the list, set this field’s value to the value of
5914
+ # `NextMarker` from the current page’s response.
5915
+ #
5916
+ # @option params [Integer] :max_items
5917
+ # The maximum number of response headers policies that you want to get
5918
+ # in the response.
5919
+ #
5920
+ # @return [Types::ListResponseHeadersPoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5921
+ #
5922
+ # * {Types::ListResponseHeadersPoliciesResult#response_headers_policy_list #response_headers_policy_list} => Types::ResponseHeadersPolicyList
5923
+ #
5924
+ # @example Request syntax with placeholder values
5925
+ #
5926
+ # resp = client.list_response_headers_policies({
5927
+ # type: "managed", # accepts managed, custom
5928
+ # marker: "string",
5929
+ # max_items: 1,
5930
+ # })
5931
+ #
5932
+ # @example Response structure
5933
+ #
5934
+ # resp.response_headers_policy_list.next_marker #=> String
5935
+ # resp.response_headers_policy_list.max_items #=> Integer
5936
+ # resp.response_headers_policy_list.quantity #=> Integer
5937
+ # resp.response_headers_policy_list.items #=> Array
5938
+ # resp.response_headers_policy_list.items[0].type #=> String, one of "managed", "custom"
5939
+ # resp.response_headers_policy_list.items[0].response_headers_policy.id #=> String
5940
+ # resp.response_headers_policy_list.items[0].response_headers_policy.last_modified_time #=> Time
5941
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.comment #=> String
5942
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.name #=> String
5943
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
5944
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
5945
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
5946
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
5947
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
5948
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
5949
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
5950
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
5951
+ # 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"
5952
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
5953
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
5954
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
5955
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
5956
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
5957
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.cors_config.origin_override #=> Boolean
5958
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
5959
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
5960
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
5961
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
5962
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
5963
+ # 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"
5964
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
5965
+ # 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"
5966
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
5967
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
5968
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
5969
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
5970
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
5971
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
5972
+ # 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
5973
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.quantity #=> Integer
5974
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.items #=> Array
5975
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].header #=> String
5976
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].value #=> String
5977
+ # resp.response_headers_policy_list.items[0].response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
5978
+ #
5979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListResponseHeadersPolicies AWS API Documentation
5980
+ #
5981
+ # @overload list_response_headers_policies(params = {})
5982
+ # @param [Hash] params ({})
5983
+ def list_response_headers_policies(params = {}, options = {})
5984
+ req = build_request(:list_response_headers_policies, params)
5985
+ req.send_request(options)
5986
+ end
5987
+
5462
5988
  # List streaming distributions.
5463
5989
  #
5464
5990
  # @option params [String] :marker
@@ -5506,7 +6032,7 @@ module Aws::CloudFront
5506
6032
  # resp.streaming_distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
5507
6033
  # resp.streaming_distribution_list.items[0].enabled #=> Boolean
5508
6034
  #
5509
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListStreamingDistributions2020_05_31 AWS API Documentation
6035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListStreamingDistributions AWS API Documentation
5510
6036
  #
5511
6037
  # @overload list_streaming_distributions(params = {})
5512
6038
  # @param [Hash] params ({})
@@ -5536,7 +6062,7 @@ module Aws::CloudFront
5536
6062
  # resp.tags.items[0].key #=> String
5537
6063
  # resp.tags.items[0].value #=> String
5538
6064
  #
5539
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTagsForResource2020_05_31 AWS API Documentation
6065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTagsForResource AWS API Documentation
5540
6066
  #
5541
6067
  # @overload list_tags_for_resource(params = {})
5542
6068
  # @param [Hash] params ({})
@@ -5587,7 +6113,7 @@ module Aws::CloudFront
5587
6113
  # resp.function_summary.function_metadata.created_time #=> Time
5588
6114
  # resp.function_summary.function_metadata.last_modified_time #=> Time
5589
6115
  #
5590
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PublishFunction2020_05_31 AWS API Documentation
6116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PublishFunction AWS API Documentation
5591
6117
  #
5592
6118
  # @overload publish_function(params = {})
5593
6119
  # @param [Hash] params ({})
@@ -5620,7 +6146,7 @@ module Aws::CloudFront
5620
6146
  # },
5621
6147
  # })
5622
6148
  #
5623
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TagResource2020_05_31 AWS API Documentation
6149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TagResource AWS API Documentation
5624
6150
  #
5625
6151
  # @overload tag_resource(params = {})
5626
6152
  # @param [Hash] params ({})
@@ -5697,7 +6223,7 @@ module Aws::CloudFront
5697
6223
  # resp.test_result.function_error_message #=> String
5698
6224
  # resp.test_result.function_output #=> String
5699
6225
  #
5700
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TestFunction2020_05_31 AWS API Documentation
6226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TestFunction AWS API Documentation
5701
6227
  #
5702
6228
  # @overload test_function(params = {})
5703
6229
  # @param [Hash] params ({})
@@ -5725,7 +6251,7 @@ module Aws::CloudFront
5725
6251
  # },
5726
6252
  # })
5727
6253
  #
5728
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UntagResource2020_05_31 AWS API Documentation
6254
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UntagResource AWS API Documentation
5729
6255
  #
5730
6256
  # @overload untag_resource(params = {})
5731
6257
  # @param [Hash] params ({})
@@ -5832,7 +6358,7 @@ module Aws::CloudFront
5832
6358
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings.items[0] #=> String
5833
6359
  # resp.etag #=> String
5834
6360
  #
5835
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCachePolicy2020_05_31 AWS API Documentation
6361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCachePolicy AWS API Documentation
5836
6362
  #
5837
6363
  # @overload update_cache_policy(params = {})
5838
6364
  # @param [Hash] params ({})
@@ -5877,7 +6403,7 @@ module Aws::CloudFront
5877
6403
  # resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
5878
6404
  # resp.etag #=> String
5879
6405
  #
5880
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity2020_05_31 AWS API Documentation
6406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity AWS API Documentation
5881
6407
  #
5882
6408
  # @overload update_cloud_front_origin_access_identity(params = {})
5883
6409
  # @param [Hash] params ({})
@@ -6000,7 +6526,7 @@ module Aws::CloudFront
6000
6526
  # items: [
6001
6527
  # {
6002
6528
  # header_name: "string", # required
6003
- # header_value: "string", # required
6529
+ # header_value: "sensitiveStringType", # required
6004
6530
  # },
6005
6531
  # ],
6006
6532
  # },
@@ -6095,6 +6621,7 @@ module Aws::CloudFront
6095
6621
  # realtime_log_config_arn: "string",
6096
6622
  # cache_policy_id: "string",
6097
6623
  # origin_request_policy_id: "string",
6624
+ # response_headers_policy_id: "string",
6098
6625
  # forwarded_values: {
6099
6626
  # query_string: false, # required
6100
6627
  # cookies: { # required
@@ -6167,6 +6694,7 @@ module Aws::CloudFront
6167
6694
  # realtime_log_config_arn: "string",
6168
6695
  # cache_policy_id: "string",
6169
6696
  # origin_request_policy_id: "string",
6697
+ # response_headers_policy_id: "string",
6170
6698
  # forwarded_values: {
6171
6699
  # query_string: false, # required
6172
6700
  # cookies: { # required
@@ -6324,6 +6852,7 @@ module Aws::CloudFront
6324
6852
  # resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
6325
6853
  # resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
6326
6854
  # resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
6855
+ # resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
6327
6856
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
6328
6857
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
6329
6858
  # resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -6372,6 +6901,7 @@ module Aws::CloudFront
6372
6901
  # resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
6373
6902
  # resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
6374
6903
  # resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
6904
+ # resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
6375
6905
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
6376
6906
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
6377
6907
  # resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
@@ -6418,7 +6948,7 @@ module Aws::CloudFront
6418
6948
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
6419
6949
  # resp.etag #=> String
6420
6950
  #
6421
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDistribution2020_05_31 AWS API Documentation
6951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDistribution AWS API Documentation
6422
6952
  #
6423
6953
  # @overload update_distribution(params = {})
6424
6954
  # @param [Hash] params ({})
@@ -6499,7 +7029,7 @@ module Aws::CloudFront
6499
7029
  # resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
6500
7030
  # resp.etag #=> String
6501
7031
  #
6502
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig2020_05_31 AWS API Documentation
7032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig AWS API Documentation
6503
7033
  #
6504
7034
  # @overload update_field_level_encryption_config(params = {})
6505
7035
  # @param [Hash] params ({})
@@ -6566,7 +7096,7 @@ module Aws::CloudFront
6566
7096
  # resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
6567
7097
  # resp.etag #=> String
6568
7098
  #
6569
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile2020_05_31 AWS API Documentation
7099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile AWS API Documentation
6570
7100
  #
6571
7101
  # @overload update_field_level_encryption_profile(params = {})
6572
7102
  # @param [Hash] params ({})
@@ -6632,7 +7162,7 @@ module Aws::CloudFront
6632
7162
  # resp.function_summary.function_metadata.last_modified_time #=> Time
6633
7163
  # resp.etag #=> String
6634
7164
  #
6635
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFunction2020_05_31 AWS API Documentation
7165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFunction AWS API Documentation
6636
7166
  #
6637
7167
  # @overload update_function(params = {})
6638
7168
  # @param [Hash] params ({})
@@ -6693,7 +7223,7 @@ module Aws::CloudFront
6693
7223
  # resp.key_group.key_group_config.comment #=> String
6694
7224
  # resp.etag #=> String
6695
7225
  #
6696
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateKeyGroup2020_05_31 AWS API Documentation
7226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateKeyGroup AWS API Documentation
6697
7227
  #
6698
7228
  # @overload update_key_group(params = {})
6699
7229
  # @param [Hash] params ({})
@@ -6790,7 +7320,7 @@ module Aws::CloudFront
6790
7320
  # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
6791
7321
  # resp.etag #=> String
6792
7322
  #
6793
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginRequestPolicy2020_05_31 AWS API Documentation
7323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginRequestPolicy AWS API Documentation
6794
7324
  #
6795
7325
  # @overload update_origin_request_policy(params = {})
6796
7326
  # @param [Hash] params ({})
@@ -6840,7 +7370,7 @@ module Aws::CloudFront
6840
7370
  # resp.public_key.public_key_config.comment #=> String
6841
7371
  # resp.etag #=> String
6842
7372
  #
6843
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdatePublicKey2020_05_31 AWS API Documentation
7373
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdatePublicKey AWS API Documentation
6844
7374
  #
6845
7375
  # @overload update_public_key(params = {})
6846
7376
  # @param [Hash] params ({})
@@ -6928,7 +7458,7 @@ module Aws::CloudFront
6928
7458
  # resp.realtime_log_config.fields #=> Array
6929
7459
  # resp.realtime_log_config.fields[0] #=> String
6930
7460
  #
6931
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfig2020_05_31 AWS API Documentation
7461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfig AWS API Documentation
6932
7462
  #
6933
7463
  # @overload update_realtime_log_config(params = {})
6934
7464
  # @param [Hash] params ({})
@@ -6937,6 +7467,162 @@ module Aws::CloudFront
6937
7467
  req.send_request(options)
6938
7468
  end
6939
7469
 
7470
+ # Updates a response headers policy.
7471
+ #
7472
+ # When you update a response headers policy, the entire policy is
7473
+ # replaced. You cannot update some policy fields independent of others.
7474
+ # To update a response headers policy configuration:
7475
+ #
7476
+ # 1. Use `GetResponseHeadersPolicyConfig` to get the current policy’s
7477
+ # configuration.
7478
+ #
7479
+ # 2. Modify the fields in the response headers policy configuration
7480
+ # that you want to update.
7481
+ #
7482
+ # 3. Call `UpdateResponseHeadersPolicy`, providing the entire response
7483
+ # headers policy configuration, including the fields that you
7484
+ # modified and those that you didn’t.
7485
+ #
7486
+ # @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
7487
+ # A response headers policy configuration.
7488
+ #
7489
+ # @option params [required, String] :id
7490
+ # The identifier for the response headers policy that you are updating.
7491
+ #
7492
+ # @option params [String] :if_match
7493
+ # The version of the response headers policy that you are updating.
7494
+ #
7495
+ # The version is returned in the cache policy’s `ETag` field in the
7496
+ # response to `GetResponseHeadersPolicyConfig`.
7497
+ #
7498
+ # @return [Types::UpdateResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7499
+ #
7500
+ # * {Types::UpdateResponseHeadersPolicyResult#response_headers_policy #response_headers_policy} => Types::ResponseHeadersPolicy
7501
+ # * {Types::UpdateResponseHeadersPolicyResult#etag #etag} => String
7502
+ #
7503
+ # @example Request syntax with placeholder values
7504
+ #
7505
+ # resp = client.update_response_headers_policy({
7506
+ # response_headers_policy_config: { # required
7507
+ # comment: "string",
7508
+ # name: "string", # required
7509
+ # cors_config: {
7510
+ # access_control_allow_origins: { # required
7511
+ # quantity: 1, # required
7512
+ # items: ["string"], # required
7513
+ # },
7514
+ # access_control_allow_headers: { # required
7515
+ # quantity: 1, # required
7516
+ # items: ["string"], # required
7517
+ # },
7518
+ # access_control_allow_methods: { # required
7519
+ # quantity: 1, # required
7520
+ # items: ["GET"], # required, accepts GET, POST, OPTIONS, PUT, DELETE, PATCH, HEAD, ALL
7521
+ # },
7522
+ # access_control_allow_credentials: false, # required
7523
+ # access_control_expose_headers: {
7524
+ # quantity: 1, # required
7525
+ # items: ["string"],
7526
+ # },
7527
+ # access_control_max_age_sec: 1,
7528
+ # origin_override: false, # required
7529
+ # },
7530
+ # security_headers_config: {
7531
+ # xss_protection: {
7532
+ # override: false, # required
7533
+ # protection: false, # required
7534
+ # mode_block: false,
7535
+ # report_uri: "string",
7536
+ # },
7537
+ # frame_options: {
7538
+ # override: false, # required
7539
+ # frame_option: "DENY", # required, accepts DENY, SAMEORIGIN
7540
+ # },
7541
+ # referrer_policy: {
7542
+ # override: false, # required
7543
+ # 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
7544
+ # },
7545
+ # content_security_policy: {
7546
+ # override: false, # required
7547
+ # content_security_policy: "string", # required
7548
+ # },
7549
+ # content_type_options: {
7550
+ # override: false, # required
7551
+ # },
7552
+ # strict_transport_security: {
7553
+ # override: false, # required
7554
+ # include_subdomains: false,
7555
+ # preload: false,
7556
+ # access_control_max_age_sec: 1, # required
7557
+ # },
7558
+ # },
7559
+ # custom_headers_config: {
7560
+ # quantity: 1, # required
7561
+ # items: [
7562
+ # {
7563
+ # header: "string", # required
7564
+ # value: "string", # required
7565
+ # override: false, # required
7566
+ # },
7567
+ # ],
7568
+ # },
7569
+ # },
7570
+ # id: "string", # required
7571
+ # if_match: "string",
7572
+ # })
7573
+ #
7574
+ # @example Response structure
7575
+ #
7576
+ # resp.response_headers_policy.id #=> String
7577
+ # resp.response_headers_policy.last_modified_time #=> Time
7578
+ # resp.response_headers_policy.response_headers_policy_config.comment #=> String
7579
+ # resp.response_headers_policy.response_headers_policy_config.name #=> String
7580
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.quantity #=> Integer
7581
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items #=> Array
7582
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_origins.items[0] #=> String
7583
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.quantity #=> Integer
7584
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items #=> Array
7585
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_headers.items[0] #=> String
7586
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.quantity #=> Integer
7587
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_methods.items #=> Array
7588
+ # 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"
7589
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_allow_credentials #=> Boolean
7590
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.quantity #=> Integer
7591
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items #=> Array
7592
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_expose_headers.items[0] #=> String
7593
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.access_control_max_age_sec #=> Integer
7594
+ # resp.response_headers_policy.response_headers_policy_config.cors_config.origin_override #=> Boolean
7595
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.override #=> Boolean
7596
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.protection #=> Boolean
7597
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.mode_block #=> Boolean
7598
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.xss_protection.report_uri #=> String
7599
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.override #=> Boolean
7600
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.frame_options.frame_option #=> String, one of "DENY", "SAMEORIGIN"
7601
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.referrer_policy.override #=> Boolean
7602
+ # 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"
7603
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.override #=> Boolean
7604
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_security_policy.content_security_policy #=> String
7605
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.content_type_options.override #=> Boolean
7606
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.override #=> Boolean
7607
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.include_subdomains #=> Boolean
7608
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.preload #=> Boolean
7609
+ # resp.response_headers_policy.response_headers_policy_config.security_headers_config.strict_transport_security.access_control_max_age_sec #=> Integer
7610
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.quantity #=> Integer
7611
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items #=> Array
7612
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].header #=> String
7613
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].value #=> String
7614
+ # resp.response_headers_policy.response_headers_policy_config.custom_headers_config.items[0].override #=> Boolean
7615
+ # resp.etag #=> String
7616
+ #
7617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateResponseHeadersPolicy AWS API Documentation
7618
+ #
7619
+ # @overload update_response_headers_policy(params = {})
7620
+ # @param [Hash] params ({})
7621
+ def update_response_headers_policy(params = {}, options = {})
7622
+ req = build_request(:update_response_headers_policy, params)
7623
+ req.send_request(options)
7624
+ end
7625
+
6940
7626
  # Update a streaming distribution.
6941
7627
  #
6942
7628
  # @option params [required, Types::StreamingDistributionConfig] :streaming_distribution_config
@@ -7018,7 +7704,7 @@ module Aws::CloudFront
7018
7704
  # resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
7019
7705
  # resp.etag #=> String
7020
7706
  #
7021
- # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateStreamingDistribution2020_05_31 AWS API Documentation
7707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateStreamingDistribution AWS API Documentation
7022
7708
  #
7023
7709
  # @overload update_streaming_distribution(params = {})
7024
7710
  # @param [Hash] params ({})
@@ -7040,7 +7726,7 @@ module Aws::CloudFront
7040
7726
  params: params,
7041
7727
  config: config)
7042
7728
  context[:gem_name] = 'aws-sdk-cloudfront'
7043
- context[:gem_version] = '1.54.0'
7729
+ context[:gem_version] = '1.58.0'
7044
7730
  Seahorse::Client::Request.new(handlers, context)
7045
7731
  end
7046
7732