aws-sdk-cloudfront 1.107.0 → 1.112.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +82 -30
- data/lib/aws-sdk-cloudfront/client_api.rb +3 -1
- data/lib/aws-sdk-cloudfront/endpoint_provider.rb +16 -20
- data/lib/aws-sdk-cloudfront/types.rb +62 -19
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +11 -3
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0121efc3a35c42bdc82c21b3dd512e02e2905f81a9e500be39263d443ce151ac
|
4
|
+
data.tar.gz: 2357d54bb0b3181a3822e5c21f09699c72e45513ec5d2c16830529f07e335842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85bcce84f97b65a619fb3b6b7527a423b157f24c0c421b5523548ea85c9dc99f3cb72ed00106c566a2f32fc64a13426c50fdec12001249205a6f3a21b659bea3
|
7
|
+
data.tar.gz: cd25d23d4fec3e61b2b8226ec9072f92df3760f0b2e6099363c8b7d249f3619930bd885ddeacb31e2e8d78456b11fe4b69f0c29436b0284cc9dcfe52d5ee9905
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.112.0 (2025-02-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.111.0 (2025-02-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Doc-only update that adds defaults for CloudFront VpcOriginEndpointConfig values.
|
13
|
+
|
14
|
+
1.110.0 (2025-02-06)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.109.0 (2025-01-15)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.108.0 (2024-12-17)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Adds support for OriginReadTimeout and OriginKeepaliveTimeout to create CloudFront Distributions with VPC Origins.
|
28
|
+
|
4
29
|
1.107.0 (2024-11-21)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.112.0
|
@@ -7,34 +7,34 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
-
require 'seahorse/client/plugins/content_length
|
11
|
-
require 'aws-sdk-core/plugins/credentials_configuration
|
12
|
-
require 'aws-sdk-core/plugins/logging
|
13
|
-
require 'aws-sdk-core/plugins/param_converter
|
14
|
-
require 'aws-sdk-core/plugins/param_validator
|
15
|
-
require 'aws-sdk-core/plugins/user_agent
|
16
|
-
require 'aws-sdk-core/plugins/helpful_socket_errors
|
17
|
-
require 'aws-sdk-core/plugins/retry_errors
|
18
|
-
require 'aws-sdk-core/plugins/global_configuration
|
19
|
-
require 'aws-sdk-core/plugins/regional_endpoint
|
20
|
-
require 'aws-sdk-core/plugins/endpoint_discovery
|
21
|
-
require 'aws-sdk-core/plugins/endpoint_pattern
|
22
|
-
require 'aws-sdk-core/plugins/response_paging
|
23
|
-
require 'aws-sdk-core/plugins/stub_responses
|
24
|
-
require 'aws-sdk-core/plugins/idempotency_token
|
25
|
-
require 'aws-sdk-core/plugins/invocation_id
|
26
|
-
require 'aws-sdk-core/plugins/jsonvalue_converter
|
27
|
-
require 'aws-sdk-core/plugins/client_metrics_plugin
|
28
|
-
require 'aws-sdk-core/plugins/client_metrics_send_plugin
|
29
|
-
require 'aws-sdk-core/plugins/transfer_encoding
|
30
|
-
require 'aws-sdk-core/plugins/http_checksum
|
31
|
-
require 'aws-sdk-core/plugins/checksum_algorithm
|
32
|
-
require 'aws-sdk-core/plugins/request_compression
|
33
|
-
require 'aws-sdk-core/plugins/defaults_mode
|
34
|
-
require 'aws-sdk-core/plugins/recursion_detection
|
35
|
-
require 'aws-sdk-core/plugins/telemetry
|
36
|
-
require 'aws-sdk-core/plugins/sign
|
37
|
-
require 'aws-sdk-core/plugins/protocols/rest_xml
|
10
|
+
require 'seahorse/client/plugins/content_length'
|
11
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
12
|
+
require 'aws-sdk-core/plugins/logging'
|
13
|
+
require 'aws-sdk-core/plugins/param_converter'
|
14
|
+
require 'aws-sdk-core/plugins/param_validator'
|
15
|
+
require 'aws-sdk-core/plugins/user_agent'
|
16
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
17
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
18
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
19
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
20
|
+
require 'aws-sdk-core/plugins/endpoint_discovery'
|
21
|
+
require 'aws-sdk-core/plugins/endpoint_pattern'
|
22
|
+
require 'aws-sdk-core/plugins/response_paging'
|
23
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
24
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
26
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
27
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin'
|
28
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
29
|
+
require 'aws-sdk-core/plugins/transfer_encoding'
|
30
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
31
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
32
|
+
require 'aws-sdk-core/plugins/request_compression'
|
33
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
34
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry'
|
36
|
+
require 'aws-sdk-core/plugins/sign'
|
37
|
+
require 'aws-sdk-core/plugins/protocols/rest_xml'
|
38
38
|
|
39
39
|
module Aws::CloudFront
|
40
40
|
# An API client for CloudFront. To construct a client, you need to configure a `:region` and `:credentials`.
|
@@ -257,11 +257,34 @@ module Aws::CloudFront
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -604,6 +627,8 @@ module Aws::CloudFront
|
|
604
627
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
605
628
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
606
629
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
630
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
631
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
607
632
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
608
633
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
609
634
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -1097,6 +1122,8 @@ module Aws::CloudFront
|
|
1097
1122
|
# },
|
1098
1123
|
# vpc_origin_config: {
|
1099
1124
|
# vpc_origin_id: "string", # required
|
1125
|
+
# origin_read_timeout: 1,
|
1126
|
+
# origin_keepalive_timeout: 1,
|
1100
1127
|
# },
|
1101
1128
|
# connection_attempts: 1,
|
1102
1129
|
# connection_timeout: 1,
|
@@ -1372,6 +1399,8 @@ module Aws::CloudFront
|
|
1372
1399
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
1373
1400
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
1374
1401
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
1402
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
1403
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
1375
1404
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
1376
1405
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
1377
1406
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -1593,6 +1622,8 @@ module Aws::CloudFront
|
|
1593
1622
|
# },
|
1594
1623
|
# vpc_origin_config: {
|
1595
1624
|
# vpc_origin_id: "string", # required
|
1625
|
+
# origin_read_timeout: 1,
|
1626
|
+
# origin_keepalive_timeout: 1,
|
1596
1627
|
# },
|
1597
1628
|
# connection_attempts: 1,
|
1598
1629
|
# connection_timeout: 1,
|
@@ -1877,6 +1908,8 @@ module Aws::CloudFront
|
|
1877
1908
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
1878
1909
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
1879
1910
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
1911
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
1912
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
1880
1913
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
1881
1914
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
1882
1915
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -3879,7 +3912,8 @@ module Aws::CloudFront
|
|
3879
3912
|
# The VPC origin ID.
|
3880
3913
|
#
|
3881
3914
|
# @option params [required, String] :if_match
|
3882
|
-
# The VPC origin to delete
|
3915
|
+
# The version identifier of the VPC origin to delete. This is the `ETag`
|
3916
|
+
# value returned in the response to GetVpcOrigin.
|
3883
3917
|
#
|
3884
3918
|
# @return [Types::DeleteVpcOriginResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3885
3919
|
#
|
@@ -4432,6 +4466,8 @@ module Aws::CloudFront
|
|
4432
4466
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
4433
4467
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
4434
4468
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
4469
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
4470
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
4435
4471
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
4436
4472
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
4437
4473
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -4636,6 +4672,8 @@ module Aws::CloudFront
|
|
4636
4672
|
# resp.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
4637
4673
|
# resp.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
4638
4674
|
# resp.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
4675
|
+
# resp.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
4676
|
+
# resp.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
4639
4677
|
# resp.distribution_config.origins.items[0].connection_attempts #=> Integer
|
4640
4678
|
# resp.distribution_config.origins.items[0].connection_timeout #=> Integer
|
4641
4679
|
# resp.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -6195,6 +6233,8 @@ module Aws::CloudFront
|
|
6195
6233
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
6196
6234
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
6197
6235
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
6236
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
6237
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
6198
6238
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
6199
6239
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
6200
6240
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -6408,6 +6448,8 @@ module Aws::CloudFront
|
|
6408
6448
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
6409
6449
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
6410
6450
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
6451
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
6452
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
6411
6453
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
6412
6454
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
6413
6455
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -6804,6 +6846,8 @@ module Aws::CloudFront
|
|
6804
6846
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
6805
6847
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
6806
6848
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
6849
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
6850
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
6807
6851
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
6808
6852
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
6809
6853
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -7147,6 +7191,8 @@ module Aws::CloudFront
|
|
7147
7191
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
7148
7192
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
7149
7193
|
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
7194
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
7195
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
7150
7196
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
7151
7197
|
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
7152
7198
|
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -8700,6 +8746,8 @@ module Aws::CloudFront
|
|
8700
8746
|
# },
|
8701
8747
|
# vpc_origin_config: {
|
8702
8748
|
# vpc_origin_id: "string", # required
|
8749
|
+
# origin_read_timeout: 1,
|
8750
|
+
# origin_keepalive_timeout: 1,
|
8703
8751
|
# },
|
8704
8752
|
# connection_attempts: 1,
|
8705
8753
|
# connection_timeout: 1,
|
@@ -8977,6 +9025,8 @@ module Aws::CloudFront
|
|
8977
9025
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
8978
9026
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
8979
9027
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
9028
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
9029
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
8980
9030
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
8981
9031
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
8982
9032
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -9232,6 +9282,8 @@ module Aws::CloudFront
|
|
9232
9282
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
9233
9283
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
9234
9284
|
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
9285
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
9286
|
+
# resp.distribution.distribution_config.origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
9235
9287
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
9236
9288
|
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
9237
9289
|
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
@@ -10468,7 +10520,7 @@ module Aws::CloudFront
|
|
10468
10520
|
tracer: tracer
|
10469
10521
|
)
|
10470
10522
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
10471
|
-
context[:gem_version] = '1.
|
10523
|
+
context[:gem_version] = '1.112.0'
|
10472
10524
|
Seahorse::Client::Request.new(handlers, context)
|
10473
10525
|
end
|
10474
10526
|
|
@@ -2108,7 +2108,7 @@ module Aws::CloudFront
|
|
2108
2108
|
ListConflictingAliasesRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: distributionIdString, required: true, location: "querystring", location_name: "DistributionId"))
|
2109
2109
|
ListConflictingAliasesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: aliasString, required: true, location: "querystring", location_name: "Alias"))
|
2110
2110
|
ListConflictingAliasesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
2111
|
-
ListConflictingAliasesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape:
|
2111
|
+
ListConflictingAliasesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: listConflictingAliasesMaxItemsInteger, location: "querystring", location_name: "MaxItems"))
|
2112
2112
|
ListConflictingAliasesRequest.struct_class = Types::ListConflictingAliasesRequest
|
2113
2113
|
|
2114
2114
|
ListConflictingAliasesResult.add_member(:conflicting_aliases_list, Shapes::ShapeRef.new(shape: ConflictingAliasesList, location_name: "ConflictingAliasesList"))
|
@@ -3338,6 +3338,8 @@ module Aws::CloudFront
|
|
3338
3338
|
VpcOrigin.struct_class = Types::VpcOrigin
|
3339
3339
|
|
3340
3340
|
VpcOriginConfig.add_member(:vpc_origin_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "VpcOriginId"))
|
3341
|
+
VpcOriginConfig.add_member(:origin_read_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "OriginReadTimeout"))
|
3342
|
+
VpcOriginConfig.add_member(:origin_keepalive_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "OriginKeepaliveTimeout"))
|
3341
3343
|
VpcOriginConfig.struct_class = Types::VpcOriginConfig
|
3342
3344
|
|
3343
3345
|
VpcOriginEndpointConfig.add_member(:name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Name"))
|
@@ -10,49 +10,45 @@
|
|
10
10
|
module Aws::CloudFront
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_fips = parameters.use_fips
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
19
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
16
|
end
|
21
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
22
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
19
|
end
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
25
21
|
end
|
26
|
-
if Aws::Endpoints::Matchers.set?(region)
|
27
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
29
25
|
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"cloudfront", "signingRegion"=>"us-east-1"}]})
|
30
26
|
end
|
31
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
27
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
32
28
|
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront-fips.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"cloudfront", "signingRegion"=>"us-east-1"}]})
|
33
29
|
end
|
34
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
30
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
35
31
|
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront.cn-northwest-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"cloudfront", "signingRegion"=>"cn-northwest-1"}]})
|
36
32
|
end
|
37
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
38
34
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
39
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
40
36
|
end
|
41
37
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
42
38
|
end
|
43
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
44
40
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
42
|
end
|
47
43
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
48
44
|
end
|
49
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
45
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
50
46
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
51
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
47
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
52
48
|
end
|
53
49
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
54
50
|
end
|
55
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cloudfront.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
56
52
|
end
|
57
53
|
end
|
58
54
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
@@ -211,7 +211,13 @@ module Aws::CloudFront
|
|
211
211
|
include Aws::Structure
|
212
212
|
end
|
213
213
|
|
214
|
-
# An Anycast static IP list.
|
214
|
+
# An Anycast static IP list. For more information, see [Request Anycast
|
215
|
+
# static IPs to use for allowlisting][1] in the *Amazon CloudFront
|
216
|
+
# Developer Guide*.
|
217
|
+
#
|
218
|
+
#
|
219
|
+
#
|
220
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html
|
215
221
|
#
|
216
222
|
# @!attribute [rw] id
|
217
223
|
# The ID of the Anycast static IP list.
|
@@ -2898,8 +2904,8 @@ module Aws::CloudFront
|
|
2898
2904
|
# minimum timeout is 1 second, the maximum is 60 seconds, and the
|
2899
2905
|
# default (if you don't specify otherwise) is 30 seconds.
|
2900
2906
|
#
|
2901
|
-
# For more information, see [
|
2902
|
-
# *Amazon CloudFront Developer Guide*.
|
2907
|
+
# For more information, see [Response timeout (custom origins
|
2908
|
+
# only)][1] in the *Amazon CloudFront Developer Guide*.
|
2903
2909
|
#
|
2904
2910
|
#
|
2905
2911
|
#
|
@@ -2912,8 +2918,8 @@ module Aws::CloudFront
|
|
2912
2918
|
# seconds, and the default (if you don't specify otherwise) is 5
|
2913
2919
|
# seconds.
|
2914
2920
|
#
|
2915
|
-
# For more information, see [
|
2916
|
-
# *Amazon CloudFront Developer Guide*.
|
2921
|
+
# For more information, see [Keep-alive timeout (custom origins
|
2922
|
+
# only)][1] in the *Amazon CloudFront Developer Guide*.
|
2917
2923
|
#
|
2918
2924
|
#
|
2919
2925
|
#
|
@@ -3615,7 +3621,8 @@ module Aws::CloudFront
|
|
3615
3621
|
# @return [String]
|
3616
3622
|
#
|
3617
3623
|
# @!attribute [rw] if_match
|
3618
|
-
# The VPC origin to delete
|
3624
|
+
# The version identifier of the VPC origin to delete. This is the
|
3625
|
+
# `ETag` value returned in the response to GetVpcOrigin.
|
3619
3626
|
# @return [String]
|
3620
3627
|
#
|
3621
3628
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteVpcOriginRequest AWS API Documentation
|
@@ -3825,16 +3832,20 @@ module Aws::CloudFront
|
|
3825
3832
|
# @return [Types::Aliases]
|
3826
3833
|
#
|
3827
3834
|
# @!attribute [rw] default_root_object
|
3828
|
-
#
|
3829
|
-
#
|
3830
|
-
#
|
3831
|
-
#
|
3832
|
-
#
|
3833
|
-
# default root object
|
3834
|
-
# distribution
|
3835
|
-
#
|
3836
|
-
#
|
3837
|
-
#
|
3835
|
+
# When a viewer requests the root URL for your distribution, the
|
3836
|
+
# default root object is the object that you want CloudFront to
|
3837
|
+
# request from your origin. For example, if your root URL is
|
3838
|
+
# `https://www.example.com`, you can specify CloudFront to return the
|
3839
|
+
# `index.html` file as the default root object. You can specify a
|
3840
|
+
# default root object so that viewers see a specific file or object,
|
3841
|
+
# instead of another object in your distribution (for example,
|
3842
|
+
# `https://www.example.com/product-description.html`). A default root
|
3843
|
+
# object avoids exposing the contents of your distribution.
|
3844
|
+
#
|
3845
|
+
# You can specify the object name or a path to the object name (for
|
3846
|
+
# example, `index.html` or `exampleFolderName/index.html`). Your
|
3847
|
+
# string can't begin with a forward slash (`/`). Only specify the
|
3848
|
+
# object name or the path to the object.
|
3838
3849
|
#
|
3839
3850
|
# If you don't want to specify a default root object when you create
|
3840
3851
|
# a distribution, include an empty `DefaultRootObject` element.
|
@@ -3846,8 +3857,8 @@ module Aws::CloudFront
|
|
3846
3857
|
# To replace the default root object, update the distribution
|
3847
3858
|
# configuration and specify the new object.
|
3848
3859
|
#
|
3849
|
-
# For more information about the default root object, see [
|
3850
|
-
#
|
3860
|
+
# For more information about the default root object, see [Specify a
|
3861
|
+
# default root object][1] in the *Amazon CloudFront Developer Guide*.
|
3851
3862
|
#
|
3852
3863
|
#
|
3853
3864
|
#
|
@@ -13910,10 +13921,40 @@ module Aws::CloudFront
|
|
13910
13921
|
# The VPC origin ID.
|
13911
13922
|
# @return [String]
|
13912
13923
|
#
|
13924
|
+
# @!attribute [rw] origin_read_timeout
|
13925
|
+
# Specifies how long, in seconds, CloudFront waits for a response from
|
13926
|
+
# the origin. This is also known as the *origin response timeout*. The
|
13927
|
+
# minimum timeout is 1 second, the maximum is 60 seconds, and the
|
13928
|
+
# default (if you don't specify otherwise) is 30 seconds.
|
13929
|
+
#
|
13930
|
+
# For more information, see [Response timeout (custom origins
|
13931
|
+
# only)][1] in the *Amazon CloudFront Developer Guide*.
|
13932
|
+
#
|
13933
|
+
#
|
13934
|
+
#
|
13935
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout
|
13936
|
+
# @return [Integer]
|
13937
|
+
#
|
13938
|
+
# @!attribute [rw] origin_keepalive_timeout
|
13939
|
+
# Specifies how long, in seconds, CloudFront persists its connection
|
13940
|
+
# to the origin. The minimum timeout is 1 second, the maximum is 60
|
13941
|
+
# seconds, and the default (if you don't specify otherwise) is 5
|
13942
|
+
# seconds.
|
13943
|
+
#
|
13944
|
+
# For more information, see [Keep-alive timeout (custom origins
|
13945
|
+
# only)][1] in the *Amazon CloudFront Developer Guide*.
|
13946
|
+
#
|
13947
|
+
#
|
13948
|
+
#
|
13949
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginKeepaliveTimeout
|
13950
|
+
# @return [Integer]
|
13951
|
+
#
|
13913
13952
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginConfig AWS API Documentation
|
13914
13953
|
#
|
13915
13954
|
class VpcOriginConfig < Struct.new(
|
13916
|
-
:vpc_origin_id
|
13955
|
+
:vpc_origin_id,
|
13956
|
+
:origin_read_timeout,
|
13957
|
+
:origin_keepalive_timeout)
|
13917
13958
|
SENSITIVE = []
|
13918
13959
|
include Aws::Structure
|
13919
13960
|
end
|
@@ -13930,10 +13971,12 @@ module Aws::CloudFront
|
|
13930
13971
|
#
|
13931
13972
|
# @!attribute [rw] http_port
|
13932
13973
|
# The HTTP port for the CloudFront VPC origin endpoint configuration.
|
13974
|
+
# The default value is `80`.
|
13933
13975
|
# @return [Integer]
|
13934
13976
|
#
|
13935
13977
|
# @!attribute [rw] https_port
|
13936
13978
|
# The HTTPS port of the CloudFront VPC origin endpoint configuration.
|
13979
|
+
# The default value is `443`.
|
13937
13980
|
# @return [Integer]
|
13938
13981
|
#
|
13939
13982
|
# @!attribute [rw] origin_protocol_policy
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -254,7 +256,9 @@ module Aws
|
|
254
256
|
origin_keepalive_timeout: ::Integer?
|
255
257
|
}?,
|
256
258
|
vpc_origin_config: {
|
257
|
-
vpc_origin_id: ::String
|
259
|
+
vpc_origin_id: ::String,
|
260
|
+
origin_read_timeout: ::Integer?,
|
261
|
+
origin_keepalive_timeout: ::Integer?
|
258
262
|
}?,
|
259
263
|
connection_attempts: ::Integer?,
|
260
264
|
connection_timeout: ::Integer?,
|
@@ -532,7 +536,9 @@ module Aws
|
|
532
536
|
origin_keepalive_timeout: ::Integer?
|
533
537
|
}?,
|
534
538
|
vpc_origin_config: {
|
535
|
-
vpc_origin_id: ::String
|
539
|
+
vpc_origin_id: ::String,
|
540
|
+
origin_read_timeout: ::Integer?,
|
541
|
+
origin_keepalive_timeout: ::Integer?
|
536
542
|
}?,
|
537
543
|
connection_attempts: ::Integer?,
|
538
544
|
connection_timeout: ::Integer?,
|
@@ -2217,7 +2223,9 @@ module Aws
|
|
2217
2223
|
origin_keepalive_timeout: ::Integer?
|
2218
2224
|
}?,
|
2219
2225
|
vpc_origin_config: {
|
2220
|
-
vpc_origin_id: ::String
|
2226
|
+
vpc_origin_id: ::String,
|
2227
|
+
origin_read_timeout: ::Integer?,
|
2228
|
+
origin_keepalive_timeout: ::Integer?
|
2221
2229
|
}?,
|
2222
2230
|
connection_attempts: ::Integer?,
|
2223
2231
|
connection_timeout: ::Integer?,
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/types.rbs
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudfront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.112.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|