aws-sdk-cloudfront 1.121.0 → 1.122.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +42 -2
- data/lib/aws-sdk-cloudfront/client_api.rb +2 -0
- data/lib/aws-sdk-cloudfront/types.rb +58 -8
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +9 -3
- data/sig/types.rbs +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 359d308a62d992c40396336c82b9cec4def4e69f8098c3d2cff847eb3849d408
|
4
|
+
data.tar.gz: d8169592f55c23b206e34458e89890b827910c05b3e3026ad370e6d7f7810763
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e2bd53c1c3eeb65e9d0aa2b7cc5f5bdd71439170b079cba1ffeb4f3f6da5aabfbd60c438bbdfa0152321a07aa8ca6ac6069935b8f5e0c2d7543e0bb737aa01d
|
7
|
+
data.tar.gz: 75d4d1659f7e3be00ef258c488eddc725e7cd55799e96c3fea385dd9ef6ea78ccbe5a9a072b3cf371cd5b21c44c54ee1ac8736dd198a0b9c56c443a2ddb8d57e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.122.0 (2025-07-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds new origin timeout options: 1) ResponseCompletionTimeout and 2) OriginReadTimeout (for S3 origins)
|
8
|
+
|
4
9
|
1.121.0 (2025-07-21)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.122.0
|
@@ -723,6 +723,7 @@ module Aws::CloudFront
|
|
723
723
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
|
724
724
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
|
725
725
|
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
|
726
|
+
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
726
727
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
|
727
728
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
|
728
729
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -736,6 +737,7 @@ module Aws::CloudFront
|
|
736
737
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
737
738
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
738
739
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
740
|
+
# resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
|
739
741
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
740
742
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
|
741
743
|
# resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
|
@@ -964,6 +966,11 @@ module Aws::CloudFront
|
|
964
966
|
# * The default, minimum, and maximum time to live (TTL) values that you
|
965
967
|
# want objects to stay in the CloudFront cache.
|
966
968
|
#
|
969
|
+
# If your minimum TTL is greater than 0, CloudFront will cache content
|
970
|
+
# for at least the duration specified in the cache policy's minimum
|
971
|
+
# TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private`
|
972
|
+
# directives are present in the origin headers.
|
973
|
+
#
|
967
974
|
# The headers, cookies, and query strings that are included in the cache
|
968
975
|
# key are also included in requests that CloudFront sends to the origin.
|
969
976
|
# CloudFront sends a request when it can't find an object in its cache
|
@@ -1293,6 +1300,7 @@ module Aws::CloudFront
|
|
1293
1300
|
# },
|
1294
1301
|
# s3_origin_config: {
|
1295
1302
|
# origin_access_identity: "string", # required
|
1303
|
+
# origin_read_timeout: 1,
|
1296
1304
|
# },
|
1297
1305
|
# custom_origin_config: {
|
1298
1306
|
# http_port: 1, # required
|
@@ -1312,6 +1320,7 @@ module Aws::CloudFront
|
|
1312
1320
|
# },
|
1313
1321
|
# connection_attempts: 1,
|
1314
1322
|
# connection_timeout: 1,
|
1323
|
+
# response_completion_timeout: 1,
|
1315
1324
|
# origin_shield: {
|
1316
1325
|
# enabled: false, # required
|
1317
1326
|
# origin_shield_region: "OriginShieldRegion",
|
@@ -1590,6 +1599,7 @@ module Aws::CloudFront
|
|
1590
1599
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
|
1591
1600
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
|
1592
1601
|
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
|
1602
|
+
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
1593
1603
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
|
1594
1604
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
|
1595
1605
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -1603,6 +1613,7 @@ module Aws::CloudFront
|
|
1603
1613
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
1604
1614
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
1605
1615
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
1616
|
+
# resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
|
1606
1617
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
1607
1618
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
|
1608
1619
|
# resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
|
@@ -1946,6 +1957,7 @@ module Aws::CloudFront
|
|
1946
1957
|
# },
|
1947
1958
|
# s3_origin_config: {
|
1948
1959
|
# origin_access_identity: "string", # required
|
1960
|
+
# origin_read_timeout: 1,
|
1949
1961
|
# },
|
1950
1962
|
# custom_origin_config: {
|
1951
1963
|
# http_port: 1, # required
|
@@ -1965,6 +1977,7 @@ module Aws::CloudFront
|
|
1965
1977
|
# },
|
1966
1978
|
# connection_attempts: 1,
|
1967
1979
|
# connection_timeout: 1,
|
1980
|
+
# response_completion_timeout: 1,
|
1968
1981
|
# origin_shield: {
|
1969
1982
|
# enabled: false, # required
|
1970
1983
|
# origin_shield_region: "OriginShieldRegion",
|
@@ -2252,6 +2265,7 @@ module Aws::CloudFront
|
|
2252
2265
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
|
2253
2266
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
|
2254
2267
|
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
|
2268
|
+
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
2255
2269
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
|
2256
2270
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
|
2257
2271
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -2265,6 +2279,7 @@ module Aws::CloudFront
|
|
2265
2279
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
2266
2280
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
2267
2281
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
2282
|
+
# resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
|
2268
2283
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
2269
2284
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
|
2270
2285
|
# resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
|
@@ -5089,6 +5104,7 @@ module Aws::CloudFront
|
|
5089
5104
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
|
5090
5105
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
|
5091
5106
|
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
|
5107
|
+
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
5092
5108
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
|
5093
5109
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
|
5094
5110
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -5102,6 +5118,7 @@ module Aws::CloudFront
|
|
5102
5118
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
5103
5119
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
5104
5120
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
5121
|
+
# resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
|
5105
5122
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
5106
5123
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
|
5107
5124
|
# resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
|
@@ -5301,6 +5318,7 @@ module Aws::CloudFront
|
|
5301
5318
|
# resp.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
|
5302
5319
|
# resp.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
|
5303
5320
|
# resp.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
|
5321
|
+
# resp.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
5304
5322
|
# resp.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
|
5305
5323
|
# resp.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
|
5306
5324
|
# resp.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -5314,6 +5332,7 @@ module Aws::CloudFront
|
|
5314
5332
|
# resp.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
5315
5333
|
# resp.distribution_config.origins.items[0].connection_attempts #=> Integer
|
5316
5334
|
# resp.distribution_config.origins.items[0].connection_timeout #=> Integer
|
5335
|
+
# resp.distribution_config.origins.items[0].response_completion_timeout #=> Integer
|
5317
5336
|
# resp.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
5318
5337
|
# resp.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
|
5319
5338
|
# resp.distribution_config.origins.items[0].origin_access_control_id #=> String
|
@@ -7247,6 +7266,7 @@ module Aws::CloudFront
|
|
7247
7266
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
|
7248
7267
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
|
7249
7268
|
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
|
7269
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
7250
7270
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
|
7251
7271
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
|
7252
7272
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -7260,6 +7280,7 @@ module Aws::CloudFront
|
|
7260
7280
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
7261
7281
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
7262
7282
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
7283
|
+
# resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
|
7263
7284
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
7264
7285
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
|
7265
7286
|
# resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
|
@@ -7464,6 +7485,7 @@ module Aws::CloudFront
|
|
7464
7485
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
|
7465
7486
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
|
7466
7487
|
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
|
7488
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
7467
7489
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
|
7468
7490
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
|
7469
7491
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -7477,6 +7499,7 @@ module Aws::CloudFront
|
|
7477
7499
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
7478
7500
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
7479
7501
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
7502
|
+
# resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
|
7480
7503
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
7481
7504
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
|
7482
7505
|
# resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
|
@@ -7692,7 +7715,7 @@ module Aws::CloudFront
|
|
7692
7715
|
# @option params [required, String] :connection_mode
|
7693
7716
|
# This field specifies whether the connection mode is through a standard
|
7694
7717
|
# distribution (direct) or a multi-tenant distribution with distribution
|
7695
|
-
# tenants(tenant-only).
|
7718
|
+
# tenants (tenant-only).
|
7696
7719
|
#
|
7697
7720
|
# @return [Types::ListDistributionsByConnectionModeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7698
7721
|
#
|
@@ -7735,6 +7758,7 @@ module Aws::CloudFront
|
|
7735
7758
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
|
7736
7759
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
|
7737
7760
|
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
|
7761
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
7738
7762
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
|
7739
7763
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
|
7740
7764
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -7748,6 +7772,7 @@ module Aws::CloudFront
|
|
7748
7772
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
7749
7773
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
7750
7774
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
7775
|
+
# resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
|
7751
7776
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
7752
7777
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
|
7753
7778
|
# resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
|
@@ -8080,6 +8105,7 @@ module Aws::CloudFront
|
|
8080
8105
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
|
8081
8106
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
|
8082
8107
|
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
|
8108
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
8083
8109
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
|
8084
8110
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
|
8085
8111
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -8093,6 +8119,7 @@ module Aws::CloudFront
|
|
8093
8119
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
8094
8120
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
8095
8121
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
8122
|
+
# resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
|
8096
8123
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
8097
8124
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
|
8098
8125
|
# resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
|
@@ -8427,6 +8454,7 @@ module Aws::CloudFront
|
|
8427
8454
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
|
8428
8455
|
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
|
8429
8456
|
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
|
8457
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
8430
8458
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
|
8431
8459
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
|
8432
8460
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -8440,6 +8468,7 @@ module Aws::CloudFront
|
|
8440
8468
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
8441
8469
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
8442
8470
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
8471
|
+
# resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
|
8443
8472
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
8444
8473
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
|
8445
8474
|
# resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
|
@@ -9832,6 +9861,11 @@ module Aws::CloudFront
|
|
9832
9861
|
# configuration, including the fields that you modified and those
|
9833
9862
|
# that you didn't.
|
9834
9863
|
#
|
9864
|
+
# If your minimum TTL is greater than 0, CloudFront will cache content
|
9865
|
+
# for at least the duration specified in the cache policy's minimum
|
9866
|
+
# TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private`
|
9867
|
+
# directives are present in the origin headers.
|
9868
|
+
#
|
9835
9869
|
# @option params [required, Types::CachePolicyConfig] :cache_policy_config
|
9836
9870
|
# A cache policy configuration.
|
9837
9871
|
#
|
@@ -10192,6 +10226,7 @@ module Aws::CloudFront
|
|
10192
10226
|
# },
|
10193
10227
|
# s3_origin_config: {
|
10194
10228
|
# origin_access_identity: "string", # required
|
10229
|
+
# origin_read_timeout: 1,
|
10195
10230
|
# },
|
10196
10231
|
# custom_origin_config: {
|
10197
10232
|
# http_port: 1, # required
|
@@ -10211,6 +10246,7 @@ module Aws::CloudFront
|
|
10211
10246
|
# },
|
10212
10247
|
# connection_attempts: 1,
|
10213
10248
|
# connection_timeout: 1,
|
10249
|
+
# response_completion_timeout: 1,
|
10214
10250
|
# origin_shield: {
|
10215
10251
|
# enabled: false, # required
|
10216
10252
|
# origin_shield_region: "OriginShieldRegion",
|
@@ -10491,6 +10527,7 @@ module Aws::CloudFront
|
|
10491
10527
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
|
10492
10528
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
|
10493
10529
|
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
|
10530
|
+
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
10494
10531
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
|
10495
10532
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
|
10496
10533
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -10504,6 +10541,7 @@ module Aws::CloudFront
|
|
10504
10541
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
10505
10542
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
10506
10543
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
10544
|
+
# resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
|
10507
10545
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
10508
10546
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
|
10509
10547
|
# resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
|
@@ -10879,6 +10917,7 @@ module Aws::CloudFront
|
|
10879
10917
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
|
10880
10918
|
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
|
10881
10919
|
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
|
10920
|
+
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
10882
10921
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
|
10883
10922
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
|
10884
10923
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
@@ -10892,6 +10931,7 @@ module Aws::CloudFront
|
|
10892
10931
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
10893
10932
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
10894
10933
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
10934
|
+
# resp.distribution.distribution_config.origins.items[0].response_completion_timeout #=> Integer
|
10895
10935
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
10896
10936
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
|
10897
10937
|
# resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
|
@@ -12244,7 +12284,7 @@ module Aws::CloudFront
|
|
12244
12284
|
tracer: tracer
|
12245
12285
|
)
|
12246
12286
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
12247
|
-
context[:gem_version] = '1.
|
12287
|
+
context[:gem_version] = '1.122.0'
|
12248
12288
|
Seahorse::Client::Request.new(handlers, context)
|
12249
12289
|
end
|
12250
12290
|
|
@@ -2842,6 +2842,7 @@ module Aws::CloudFront
|
|
2842
2842
|
Origin.add_member(:vpc_origin_config, Shapes::ShapeRef.new(shape: VpcOriginConfig, location_name: "VpcOriginConfig"))
|
2843
2843
|
Origin.add_member(:connection_attempts, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionAttempts"))
|
2844
2844
|
Origin.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionTimeout"))
|
2845
|
+
Origin.add_member(:response_completion_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ResponseCompletionTimeout"))
|
2845
2846
|
Origin.add_member(:origin_shield, Shapes::ShapeRef.new(shape: OriginShield, location_name: "OriginShield"))
|
2846
2847
|
Origin.add_member(:origin_access_control_id, Shapes::ShapeRef.new(shape: string, location_name: "OriginAccessControlId"))
|
2847
2848
|
Origin.struct_class = Types::Origin
|
@@ -3228,6 +3229,7 @@ module Aws::CloudFront
|
|
3228
3229
|
S3Origin.struct_class = Types::S3Origin
|
3229
3230
|
|
3230
3231
|
S3OriginConfig.add_member(:origin_access_identity, Shapes::ShapeRef.new(shape: string, required: true, location_name: "OriginAccessIdentity"))
|
3232
|
+
S3OriginConfig.add_member(:origin_read_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "OriginReadTimeout"))
|
3231
3233
|
S3OriginConfig.struct_class = Types::S3OriginConfig
|
3232
3234
|
|
3233
3235
|
SessionStickinessConfig.add_member(:idle_ttl, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "IdleTTL"))
|
@@ -517,6 +517,11 @@ module Aws::CloudFront
|
|
517
517
|
# distribution configuration and specify all of the cache behaviors that
|
518
518
|
# you want to include in the updated distribution.
|
519
519
|
#
|
520
|
+
# If your minimum TTL is greater than 0, CloudFront will cache content
|
521
|
+
# for at least the duration specified in the cache policy's minimum
|
522
|
+
# TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private`
|
523
|
+
# directives are present in the origin headers.
|
524
|
+
#
|
520
525
|
# For more information about cache behaviors, see [Cache Behavior
|
521
526
|
# Settings][3] in the *Amazon CloudFront Developer Guide*.
|
522
527
|
#
|
@@ -995,6 +1000,11 @@ module Aws::CloudFront
|
|
995
1000
|
# * The default, minimum, and maximum time to live (TTL) values that you
|
996
1001
|
# want objects to stay in the CloudFront cache.
|
997
1002
|
#
|
1003
|
+
# If your minimum TTL is greater than 0, CloudFront will cache content
|
1004
|
+
# for at least the duration specified in the cache policy's minimum
|
1005
|
+
# TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private`
|
1006
|
+
# directives are present in the origin headers.
|
1007
|
+
#
|
998
1008
|
# The headers, cookies, and query strings that are included in the cache
|
999
1009
|
# key are also included in requests that CloudFront sends to the origin.
|
1000
1010
|
# CloudFront sends a request when it can't find a valid object in its
|
@@ -3397,8 +3407,8 @@ module Aws::CloudFront
|
|
3397
3407
|
# minimum timeout is 1 second, the maximum is 120 seconds, and the
|
3398
3408
|
# default (if you don't specify otherwise) is 30 seconds.
|
3399
3409
|
#
|
3400
|
-
# For more information, see [Response timeout
|
3401
|
-
#
|
3410
|
+
# For more information, see [Response timeout][1] in the *Amazon
|
3411
|
+
# CloudFront Developer Guide*.
|
3402
3412
|
#
|
3403
3413
|
#
|
3404
3414
|
#
|
@@ -3466,6 +3476,11 @@ module Aws::CloudFront
|
|
3466
3476
|
# of the values of `PathPattern` in `CacheBehavior` elements. You must
|
3467
3477
|
# create exactly one default cache behavior.
|
3468
3478
|
#
|
3479
|
+
# If your minimum TTL is greater than 0, CloudFront will cache content
|
3480
|
+
# for at least the duration specified in the cache policy's minimum
|
3481
|
+
# TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private`
|
3482
|
+
# directives are present in the origin headers.
|
3483
|
+
#
|
3469
3484
|
# @!attribute [rw] target_origin_id
|
3470
3485
|
# The value of `ID` for the origin that you want CloudFront to route
|
3471
3486
|
# requests to when they use the default cache behavior.
|
@@ -4834,7 +4849,7 @@ module Aws::CloudFront
|
|
4834
4849
|
# @!attribute [rw] connection_mode
|
4835
4850
|
# This field specifies whether the connection mode is through a
|
4836
4851
|
# standard distribution (direct) or a multi-tenant distribution with
|
4837
|
-
# distribution tenants(tenant-only).
|
4852
|
+
# distribution tenants (tenant-only).
|
4838
4853
|
# @return [String]
|
4839
4854
|
#
|
4840
4855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionConfig AWS API Documentation
|
@@ -5149,7 +5164,7 @@ module Aws::CloudFront
|
|
5149
5164
|
# @!attribute [rw] connection_mode
|
5150
5165
|
# This field specifies whether the connection mode is through a
|
5151
5166
|
# standard distribution (direct) or a multi-tenant distribution with
|
5152
|
-
# distribution tenants(tenant-only).
|
5167
|
+
# distribution tenants (tenant-only).
|
5153
5168
|
# @return [String]
|
5154
5169
|
#
|
5155
5170
|
# @!attribute [rw] anycast_ip_list_id
|
@@ -9011,7 +9026,7 @@ module Aws::CloudFront
|
|
9011
9026
|
# @!attribute [rw] connection_mode
|
9012
9027
|
# This field specifies whether the connection mode is through a
|
9013
9028
|
# standard distribution (direct) or a multi-tenant distribution with
|
9014
|
-
# distribution tenants(tenant-only).
|
9029
|
+
# distribution tenants (tenant-only).
|
9015
9030
|
# @return [String]
|
9016
9031
|
#
|
9017
9032
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByConnectionModeRequest AWS API Documentation
|
@@ -10494,6 +10509,25 @@ module Aws::CloudFront
|
|
10494
10509
|
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-timeout
|
10495
10510
|
# @return [Integer]
|
10496
10511
|
#
|
10512
|
+
# @!attribute [rw] response_completion_timeout
|
10513
|
+
# The time (in seconds) that a request from CloudFront to the origin
|
10514
|
+
# can stay open and wait for a response. If the complete response
|
10515
|
+
# isn't received from the origin by this time, CloudFront ends the
|
10516
|
+
# connection.
|
10517
|
+
#
|
10518
|
+
# The value for `ResponseCompletionTimeout` must be equal to or
|
10519
|
+
# greater than the value for `OriginReadTimeout`. If you don't set a
|
10520
|
+
# value for `ResponseCompletionTimeout`, CloudFront doesn't enforce a
|
10521
|
+
# maximum value.
|
10522
|
+
#
|
10523
|
+
# For more information, see [Response completion timeout][1] in the
|
10524
|
+
# *Amazon CloudFront Developer Guide*.
|
10525
|
+
#
|
10526
|
+
#
|
10527
|
+
#
|
10528
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
|
10529
|
+
# @return [Integer]
|
10530
|
+
#
|
10497
10531
|
# @!attribute [rw] origin_shield
|
10498
10532
|
# CloudFront Origin Shield. Using Origin Shield can help reduce the
|
10499
10533
|
# load on your origin.
|
@@ -10529,6 +10563,7 @@ module Aws::CloudFront
|
|
10529
10563
|
:vpc_origin_config,
|
10530
10564
|
:connection_attempts,
|
10531
10565
|
:connection_timeout,
|
10566
|
+
:response_completion_timeout,
|
10532
10567
|
:origin_shield,
|
10533
10568
|
:origin_access_control_id)
|
10534
10569
|
SENSITIVE = []
|
@@ -13032,10 +13067,25 @@ module Aws::CloudFront
|
|
13032
13067
|
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
|
13033
13068
|
# @return [String]
|
13034
13069
|
#
|
13070
|
+
# @!attribute [rw] origin_read_timeout
|
13071
|
+
# Specifies how long, in seconds, CloudFront waits for a response from
|
13072
|
+
# the origin. This is also known as the *origin response timeout*. The
|
13073
|
+
# minimum timeout is 1 second, the maximum is 120 seconds, and the
|
13074
|
+
# default (if you don't specify otherwise) is 30 seconds.
|
13075
|
+
#
|
13076
|
+
# For more information, see [Response timeout][1] in the *Amazon
|
13077
|
+
# CloudFront Developer Guide*.
|
13078
|
+
#
|
13079
|
+
#
|
13080
|
+
#
|
13081
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout
|
13082
|
+
# @return [Integer]
|
13083
|
+
#
|
13035
13084
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/S3OriginConfig AWS API Documentation
|
13036
13085
|
#
|
13037
13086
|
class S3OriginConfig < Struct.new(
|
13038
|
-
:origin_access_identity
|
13087
|
+
:origin_access_identity,
|
13088
|
+
:origin_read_timeout)
|
13039
13089
|
SENSITIVE = []
|
13040
13090
|
include Aws::Structure
|
13041
13091
|
end
|
@@ -15997,8 +16047,8 @@ module Aws::CloudFront
|
|
15997
16047
|
# minimum timeout is 1 second, the maximum is 120 seconds, and the
|
15998
16048
|
# default (if you don't specify otherwise) is 30 seconds.
|
15999
16049
|
#
|
16000
|
-
# For more information, see [Response timeout
|
16001
|
-
#
|
16050
|
+
# For more information, see [Response timeout][1] in the *Amazon
|
16051
|
+
# CloudFront Developer Guide*.
|
16002
16052
|
#
|
16003
16053
|
#
|
16004
16054
|
#
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -293,7 +293,8 @@ module Aws
|
|
293
293
|
]?
|
294
294
|
}?,
|
295
295
|
s3_origin_config: {
|
296
|
-
origin_access_identity: ::String
|
296
|
+
origin_access_identity: ::String,
|
297
|
+
origin_read_timeout: ::Integer?
|
297
298
|
}?,
|
298
299
|
custom_origin_config: {
|
299
300
|
http_port: ::Integer,
|
@@ -313,6 +314,7 @@ module Aws
|
|
313
314
|
}?,
|
314
315
|
connection_attempts: ::Integer?,
|
315
316
|
connection_timeout: ::Integer?,
|
317
|
+
response_completion_timeout: ::Integer?,
|
316
318
|
origin_shield: {
|
317
319
|
enabled: bool,
|
318
320
|
origin_shield_region: ::String?
|
@@ -639,7 +641,8 @@ module Aws
|
|
639
641
|
]?
|
640
642
|
}?,
|
641
643
|
s3_origin_config: {
|
642
|
-
origin_access_identity: ::String
|
644
|
+
origin_access_identity: ::String,
|
645
|
+
origin_read_timeout: ::Integer?
|
643
646
|
}?,
|
644
647
|
custom_origin_config: {
|
645
648
|
http_port: ::Integer,
|
@@ -659,6 +662,7 @@ module Aws
|
|
659
662
|
}?,
|
660
663
|
connection_attempts: ::Integer?,
|
661
664
|
connection_timeout: ::Integer?,
|
665
|
+
response_completion_timeout: ::Integer?,
|
662
666
|
origin_shield: {
|
663
667
|
enabled: bool,
|
664
668
|
origin_shield_region: ::String?
|
@@ -2563,7 +2567,8 @@ module Aws
|
|
2563
2567
|
]?
|
2564
2568
|
}?,
|
2565
2569
|
s3_origin_config: {
|
2566
|
-
origin_access_identity: ::String
|
2570
|
+
origin_access_identity: ::String,
|
2571
|
+
origin_read_timeout: ::Integer?
|
2567
2572
|
}?,
|
2568
2573
|
custom_origin_config: {
|
2569
2574
|
http_port: ::Integer,
|
@@ -2583,6 +2588,7 @@ module Aws
|
|
2583
2588
|
}?,
|
2584
2589
|
connection_attempts: ::Integer?,
|
2585
2590
|
connection_timeout: ::Integer?,
|
2591
|
+
response_completion_timeout: ::Integer?,
|
2586
2592
|
origin_shield: {
|
2587
2593
|
enabled: bool,
|
2588
2594
|
origin_shield_region: ::String?
|
data/sig/types.rbs
CHANGED
@@ -2581,6 +2581,7 @@ module Aws::CloudFront
|
|
2581
2581
|
attr_accessor vpc_origin_config: Types::VpcOriginConfig
|
2582
2582
|
attr_accessor connection_attempts: ::Integer
|
2583
2583
|
attr_accessor connection_timeout: ::Integer
|
2584
|
+
attr_accessor response_completion_timeout: ::Integer
|
2584
2585
|
attr_accessor origin_shield: Types::OriginShield
|
2585
2586
|
attr_accessor origin_access_control_id: ::String
|
2586
2587
|
SENSITIVE: []
|
@@ -3085,6 +3086,7 @@ module Aws::CloudFront
|
|
3085
3086
|
|
3086
3087
|
class S3OriginConfig
|
3087
3088
|
attr_accessor origin_access_identity: ::String
|
3089
|
+
attr_accessor origin_read_timeout: ::Integer
|
3088
3090
|
SENSITIVE: []
|
3089
3091
|
end
|
3090
3092
|
|