aws-sdk-cloudfront 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +1 -1
- data/lib/aws-sdk-cloudfront/types.rb +187 -74
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e54a9db0a7434665b91450e0cc6f4ecf917eb48d3361bdacdf259310cec24756
|
4
|
+
data.tar.gz: 4a69a645323a1fdb5c2acff44263fa3e332b0cb6673d65de9db402f401db274d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4f43ee897edb39f4232b1346df33a208f03aa426aaacb75c53e4d70ae22ba59fd193dc774fe57598fe9e1330d262dfa2678384bb135198602a990f8276c1f91
|
7
|
+
data.tar.gz: d1cb582d59cff28ed56cd7ecb207e5aa0867b42985a344563695bf97958e4674c085ef018257612c2ce2bf365ff118026a4b0f7d9e87d31a42ff31fe131f514f
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -5214,7 +5214,7 @@ module Aws::CloudFront
|
|
5214
5214
|
params: params,
|
5215
5215
|
config: config)
|
5216
5216
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
5217
|
-
context[:gem_version] = '1.
|
5217
|
+
context[:gem_version] = '1.36.0'
|
5218
5218
|
Seahorse::Client::Request.new(handlers, context)
|
5219
5219
|
end
|
5220
5220
|
|
@@ -477,39 +477,67 @@ module Aws::CloudFront
|
|
477
477
|
#
|
478
478
|
# @!attribute [rw] cache_policy_id
|
479
479
|
# The unique identifier of the cache policy that is attached to this
|
480
|
-
# cache behavior. For more information, see
|
480
|
+
# cache behavior. For more information, see [Creating cache
|
481
|
+
# policies][1] or [Using the managed cache policies][2] in the *Amazon
|
482
|
+
# CloudFront Developer Guide*.
|
483
|
+
#
|
484
|
+
#
|
485
|
+
#
|
486
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
487
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
481
488
|
# @return [String]
|
482
489
|
#
|
483
490
|
# @!attribute [rw] origin_request_policy_id
|
484
491
|
# The unique identifier of the origin request policy that is attached
|
485
|
-
# to this cache behavior. For more information, see
|
486
|
-
#
|
492
|
+
# to this cache behavior. For more information, see [Creating origin
|
493
|
+
# request policies][1] or [Using the managed origin request
|
494
|
+
# policies][2] in the *Amazon CloudFront Developer Guide*.
|
495
|
+
#
|
496
|
+
#
|
497
|
+
#
|
498
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
499
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html
|
487
500
|
# @return [String]
|
488
501
|
#
|
489
502
|
# @!attribute [rw] forwarded_values
|
490
503
|
# This field is deprecated. We recommend that you use a cache policy
|
491
|
-
# or an origin request policy instead of this field.
|
504
|
+
# or an origin request policy instead of this field. For more
|
505
|
+
# information, see [Working with policies][1] in the *Amazon
|
506
|
+
# CloudFront Developer Guide*.
|
492
507
|
#
|
493
|
-
# If you want to include values in the cache key, use a
|
494
|
-
#
|
508
|
+
# If you want to include values in the cache key, use a cache policy.
|
509
|
+
# For more information, see [Creating cache policies][2] or [Using the
|
510
|
+
# managed cache policies][3] in the *Amazon CloudFront Developer
|
511
|
+
# Guide*.
|
495
512
|
#
|
496
513
|
# If you want to send values to the origin but not include them in the
|
497
|
-
# cache key, use an
|
498
|
-
#
|
514
|
+
# cache key, use an origin request policy. For more information, see
|
515
|
+
# [Creating origin request policies][4] or [Using the managed origin
|
516
|
+
# request policies][5] in the *Amazon CloudFront Developer Guide*.
|
499
517
|
#
|
500
518
|
# A complex type that specifies how CloudFront handles query strings,
|
501
519
|
# cookies, and HTTP headers.
|
520
|
+
#
|
521
|
+
#
|
522
|
+
#
|
523
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html
|
524
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
525
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
526
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
527
|
+
# [5]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html
|
502
528
|
# @return [Types::ForwardedValues]
|
503
529
|
#
|
504
530
|
# @!attribute [rw] min_ttl
|
505
531
|
# This field is deprecated. We recommend that you use the `MinTTL`
|
506
|
-
# field in
|
532
|
+
# field in a cache policy instead of this field. For more information,
|
533
|
+
# see [Creating cache policies][1] or [Using the managed cache
|
534
|
+
# policies][2] in the *Amazon CloudFront Developer Guide*.
|
507
535
|
#
|
508
536
|
# The minimum amount of time that you want objects to stay in
|
509
537
|
# CloudFront caches before CloudFront forwards another request to your
|
510
538
|
# origin to determine whether the object has been updated. For more
|
511
539
|
# information, see [ Managing How Long Content Stays in an Edge Cache
|
512
|
-
# (Expiration)][
|
540
|
+
# (Expiration)][3] in the <i> Amazon CloudFront Developer Guide</i>.
|
513
541
|
#
|
514
542
|
# You must specify `0` for `MinTTL` if you configure CloudFront to
|
515
543
|
# forward all headers to your origin (under `Headers`, if you specify
|
@@ -517,12 +545,16 @@ module Aws::CloudFront
|
|
517
545
|
#
|
518
546
|
#
|
519
547
|
#
|
520
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
548
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
549
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
550
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
521
551
|
# @return [Integer]
|
522
552
|
#
|
523
553
|
# @!attribute [rw] default_ttl
|
524
554
|
# This field is deprecated. We recommend that you use the `DefaultTTL`
|
525
|
-
# field in
|
555
|
+
# field in a cache policy instead of this field. For more information,
|
556
|
+
# see [Creating cache policies][1] or [Using the managed cache
|
557
|
+
# policies][2] in the *Amazon CloudFront Developer Guide*.
|
526
558
|
#
|
527
559
|
# The default amount of time that you want objects to stay in
|
528
560
|
# CloudFront caches before CloudFront forwards another request to your
|
@@ -530,17 +562,21 @@ module Aws::CloudFront
|
|
530
562
|
# that you specify applies only when your origin does not add HTTP
|
531
563
|
# headers such as `Cache-Control max-age`, `Cache-Control s-maxage`,
|
532
564
|
# and `Expires` to objects. For more information, see [Managing How
|
533
|
-
# Long Content Stays in an Edge Cache (Expiration)][
|
565
|
+
# Long Content Stays in an Edge Cache (Expiration)][3] in the *Amazon
|
534
566
|
# CloudFront Developer Guide*.
|
535
567
|
#
|
536
568
|
#
|
537
569
|
#
|
538
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
570
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
571
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
572
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
539
573
|
# @return [Integer]
|
540
574
|
#
|
541
575
|
# @!attribute [rw] max_ttl
|
542
576
|
# This field is deprecated. We recommend that you use the `MaxTTL`
|
543
|
-
# field in
|
577
|
+
# field in a cache policy instead of this field. For more information,
|
578
|
+
# see [Creating cache policies][1] or [Using the managed cache
|
579
|
+
# policies][2] in the *Amazon CloudFront Developer Guide*.
|
544
580
|
#
|
545
581
|
# The maximum amount of time that you want objects to stay in
|
546
582
|
# CloudFront caches before CloudFront forwards another request to your
|
@@ -548,12 +584,14 @@ module Aws::CloudFront
|
|
548
584
|
# that you specify applies only when your origin adds HTTP headers
|
549
585
|
# such as `Cache-Control max-age`, `Cache-Control s-maxage`, and
|
550
586
|
# `Expires` to objects. For more information, see [Managing How Long
|
551
|
-
# Content Stays in an Edge Cache (Expiration)][
|
587
|
+
# Content Stays in an Edge Cache (Expiration)][3] in the *Amazon
|
552
588
|
# CloudFront Developer Guide*.
|
553
589
|
#
|
554
590
|
#
|
555
591
|
#
|
556
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
592
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
593
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
594
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
557
595
|
# @return [Integer]
|
558
596
|
#
|
559
597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CacheBehavior AWS API Documentation
|
@@ -800,10 +838,10 @@ module Aws::CloudFront
|
|
800
838
|
# @return [Integer]
|
801
839
|
#
|
802
840
|
# @!attribute [rw] max_ttl
|
803
|
-
# The maximum amount of time, in seconds, that
|
804
|
-
#
|
805
|
-
#
|
806
|
-
#
|
841
|
+
# The maximum amount of time, in seconds, that objects stay in the
|
842
|
+
# CloudFront cache before CloudFront sends another request to the
|
843
|
+
# origin to see if the object has been updated. CloudFront uses this
|
844
|
+
# value only when the origin sends `Cache-Control` or `Expires`
|
807
845
|
# headers with the object. For more information, see [Managing How
|
808
846
|
# Long Content Stays in an Edge Cache (Expiration)][1] in the *Amazon
|
809
847
|
# CloudFront Developer Guide*.
|
@@ -1490,12 +1528,14 @@ module Aws::CloudFront
|
|
1490
1528
|
# This field is deprecated. We recommend that you use a cache policy
|
1491
1529
|
# or an origin request policy instead of this field.
|
1492
1530
|
#
|
1493
|
-
# If you want to include cookies in the cache key, use
|
1494
|
-
#
|
1531
|
+
# If you want to include cookies in the cache key, use a cache policy.
|
1532
|
+
# For more information, see [Creating cache policies][1] in the
|
1533
|
+
# *Amazon CloudFront Developer Guide*.
|
1495
1534
|
#
|
1496
1535
|
# If you want to send cookies to the origin but not include them in
|
1497
|
-
# the cache key, use
|
1498
|
-
#
|
1536
|
+
# the cache key, use origin request policy. For more information, see
|
1537
|
+
# [Creating origin request policies][2] in the *Amazon CloudFront
|
1538
|
+
# Developer Guide*.
|
1499
1539
|
#
|
1500
1540
|
# Specifies which cookies to forward to the origin for this cache
|
1501
1541
|
# behavior: all, none, or the list of cookies specified in the
|
@@ -1504,18 +1544,25 @@ module Aws::CloudFront
|
|
1504
1544
|
# Amazon S3 doesn't process cookies. When the cache behavior is
|
1505
1545
|
# forwarding requests to an Amazon S3 origin, specify none for the
|
1506
1546
|
# `Forward` element.
|
1547
|
+
#
|
1548
|
+
#
|
1549
|
+
#
|
1550
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
1551
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
1507
1552
|
# @return [String]
|
1508
1553
|
#
|
1509
1554
|
# @!attribute [rw] whitelisted_names
|
1510
1555
|
# This field is deprecated. We recommend that you use a cache policy
|
1511
1556
|
# or an origin request policy instead of this field.
|
1512
1557
|
#
|
1513
|
-
# If you want to include cookies in the cache key, use
|
1514
|
-
#
|
1558
|
+
# If you want to include cookies in the cache key, use a cache policy.
|
1559
|
+
# For more information, see [Creating cache policies][1] in the
|
1560
|
+
# *Amazon CloudFront Developer Guide*.
|
1515
1561
|
#
|
1516
1562
|
# If you want to send cookies to the origin but not include them in
|
1517
|
-
# the cache key, use
|
1518
|
-
#
|
1563
|
+
# the cache key, use an origin request policy. For more information,
|
1564
|
+
# see [Creating origin request policies][2] in the *Amazon CloudFront
|
1565
|
+
# Developer Guide*.
|
1519
1566
|
#
|
1520
1567
|
# Required if you specify `whitelist` for the value of `Forward`. A
|
1521
1568
|
# complex type that specifies how many different cookies you want
|
@@ -1529,12 +1576,14 @@ module Aws::CloudFront
|
|
1529
1576
|
# deletes them automatically.
|
1530
1577
|
#
|
1531
1578
|
# For the current limit on the number of cookie names that you can
|
1532
|
-
# whitelist for each cache behavior, see [ CloudFront Limits][
|
1579
|
+
# whitelist for each cache behavior, see [ CloudFront Limits][3] in
|
1533
1580
|
# the *AWS General Reference*.
|
1534
1581
|
#
|
1535
1582
|
#
|
1536
1583
|
#
|
1537
|
-
# [1]: https://docs.aws.amazon.com/
|
1584
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
1585
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
1586
|
+
# [3]: https://docs.aws.amazon.com/general/latest/gr/xrefaws_service_limits.html#limits_cloudfront
|
1538
1587
|
# @return [Types::CookieNames]
|
1539
1588
|
#
|
1540
1589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CookiePreference AWS API Documentation
|
@@ -3127,39 +3176,67 @@ module Aws::CloudFront
|
|
3127
3176
|
#
|
3128
3177
|
# @!attribute [rw] cache_policy_id
|
3129
3178
|
# The unique identifier of the cache policy that is attached to the
|
3130
|
-
# default cache behavior. For more information, see
|
3179
|
+
# default cache behavior. For more information, see [Creating cache
|
3180
|
+
# policies][1] or [Using the managed cache policies][2] in the *Amazon
|
3181
|
+
# CloudFront Developer Guide*.
|
3182
|
+
#
|
3183
|
+
#
|
3184
|
+
#
|
3185
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
3186
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
3131
3187
|
# @return [String]
|
3132
3188
|
#
|
3133
3189
|
# @!attribute [rw] origin_request_policy_id
|
3134
3190
|
# The unique identifier of the origin request policy that is attached
|
3135
|
-
# to the default cache behavior. For more information, see
|
3136
|
-
#
|
3191
|
+
# to the default cache behavior. For more information, see [Creating
|
3192
|
+
# origin request policies][1] or [Using the managed origin request
|
3193
|
+
# policies][2] in the *Amazon CloudFront Developer Guide*.
|
3194
|
+
#
|
3195
|
+
#
|
3196
|
+
#
|
3197
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
3198
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html
|
3137
3199
|
# @return [String]
|
3138
3200
|
#
|
3139
3201
|
# @!attribute [rw] forwarded_values
|
3140
3202
|
# This field is deprecated. We recommend that you use a cache policy
|
3141
|
-
# or an origin request policy instead of this field.
|
3203
|
+
# or an origin request policy instead of this field. For more
|
3204
|
+
# information, see [Working with policies][1] in the *Amazon
|
3205
|
+
# CloudFront Developer Guide*.
|
3142
3206
|
#
|
3143
|
-
# If you want to include values in the cache key, use a
|
3144
|
-
#
|
3207
|
+
# If you want to include values in the cache key, use a cache policy.
|
3208
|
+
# For more information, see [Creating cache policies][2] or [Using the
|
3209
|
+
# managed cache policies][3] in the *Amazon CloudFront Developer
|
3210
|
+
# Guide*.
|
3145
3211
|
#
|
3146
3212
|
# If you want to send values to the origin but not include them in the
|
3147
|
-
# cache key, use an
|
3148
|
-
#
|
3213
|
+
# cache key, use an origin request policy. For more information, see
|
3214
|
+
# [Creating origin request policies][4] or [Using the managed origin
|
3215
|
+
# request policies][5] in the *Amazon CloudFront Developer Guide*.
|
3149
3216
|
#
|
3150
3217
|
# A complex type that specifies how CloudFront handles query strings,
|
3151
3218
|
# cookies, and HTTP headers.
|
3219
|
+
#
|
3220
|
+
#
|
3221
|
+
#
|
3222
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html
|
3223
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
3224
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
3225
|
+
# [4]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
3226
|
+
# [5]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html
|
3152
3227
|
# @return [Types::ForwardedValues]
|
3153
3228
|
#
|
3154
3229
|
# @!attribute [rw] min_ttl
|
3155
3230
|
# This field is deprecated. We recommend that you use the `MinTTL`
|
3156
|
-
# field in
|
3231
|
+
# field in a cache policy instead of this field. For more information,
|
3232
|
+
# see [Creating cache policies][1] or [Using the managed cache
|
3233
|
+
# policies][2] in the *Amazon CloudFront Developer Guide*.
|
3157
3234
|
#
|
3158
3235
|
# The minimum amount of time that you want objects to stay in
|
3159
3236
|
# CloudFront caches before CloudFront forwards another request to your
|
3160
3237
|
# origin to determine whether the object has been updated. For more
|
3161
3238
|
# information, see [Managing How Long Content Stays in an Edge Cache
|
3162
|
-
# (Expiration)][
|
3239
|
+
# (Expiration)][3] in the *Amazon CloudFront Developer Guide*.
|
3163
3240
|
#
|
3164
3241
|
# You must specify `0` for `MinTTL` if you configure CloudFront to
|
3165
3242
|
# forward all headers to your origin (under `Headers`, if you specify
|
@@ -3167,12 +3244,16 @@ module Aws::CloudFront
|
|
3167
3244
|
#
|
3168
3245
|
#
|
3169
3246
|
#
|
3170
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3247
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
3248
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
3249
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
3171
3250
|
# @return [Integer]
|
3172
3251
|
#
|
3173
3252
|
# @!attribute [rw] default_ttl
|
3174
3253
|
# This field is deprecated. We recommend that you use the `DefaultTTL`
|
3175
|
-
# field in
|
3254
|
+
# field in a cache policy instead of this field. For more information,
|
3255
|
+
# see [Creating cache policies][1] or [Using the managed cache
|
3256
|
+
# policies][2] in the *Amazon CloudFront Developer Guide*.
|
3176
3257
|
#
|
3177
3258
|
# The default amount of time that you want objects to stay in
|
3178
3259
|
# CloudFront caches before CloudFront forwards another request to your
|
@@ -3180,17 +3261,21 @@ module Aws::CloudFront
|
|
3180
3261
|
# that you specify applies only when your origin does not add HTTP
|
3181
3262
|
# headers such as `Cache-Control max-age`, `Cache-Control s-maxage`,
|
3182
3263
|
# and `Expires` to objects. For more information, see [Managing How
|
3183
|
-
# Long Content Stays in an Edge Cache (Expiration)][
|
3264
|
+
# Long Content Stays in an Edge Cache (Expiration)][3] in the *Amazon
|
3184
3265
|
# CloudFront Developer Guide*.
|
3185
3266
|
#
|
3186
3267
|
#
|
3187
3268
|
#
|
3188
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3269
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
3270
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
3271
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
3189
3272
|
# @return [Integer]
|
3190
3273
|
#
|
3191
3274
|
# @!attribute [rw] max_ttl
|
3192
3275
|
# This field is deprecated. We recommend that you use the `MaxTTL`
|
3193
|
-
# field in
|
3276
|
+
# field in a cache policy instead of this field. For more information,
|
3277
|
+
# see [Creating cache policies][1] or [Using the managed cache
|
3278
|
+
# policies][2] in the *Amazon CloudFront Developer Guide*.
|
3194
3279
|
#
|
3195
3280
|
# The maximum amount of time that you want objects to stay in
|
3196
3281
|
# CloudFront caches before CloudFront forwards another request to your
|
@@ -3198,12 +3283,14 @@ module Aws::CloudFront
|
|
3198
3283
|
# that you specify applies only when your origin adds HTTP headers
|
3199
3284
|
# such as `Cache-Control max-age`, `Cache-Control s-maxage`, and
|
3200
3285
|
# `Expires` to objects. For more information, see [Managing How Long
|
3201
|
-
# Content Stays in an Edge Cache (Expiration)][
|
3286
|
+
# Content Stays in an Edge Cache (Expiration)][3] in the *Amazon
|
3202
3287
|
# CloudFront Developer Guide*.
|
3203
3288
|
#
|
3204
3289
|
#
|
3205
3290
|
#
|
3206
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
3291
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
3292
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html
|
3293
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
|
3207
3294
|
# @return [Integer]
|
3208
3295
|
#
|
3209
3296
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DefaultCacheBehavior AWS API Documentation
|
@@ -5049,16 +5136,23 @@ module Aws::CloudFront
|
|
5049
5136
|
# This field is deprecated. We recommend that you use a cache policy or
|
5050
5137
|
# an origin request policy instead of this field.
|
5051
5138
|
#
|
5052
|
-
# If you want to include values in the cache key, use a
|
5053
|
-
#
|
5139
|
+
# If you want to include values in the cache key, use a cache policy.
|
5140
|
+
# For more information, see [Creating cache policies][1] in the *Amazon
|
5141
|
+
# CloudFront Developer Guide*.
|
5054
5142
|
#
|
5055
5143
|
# If you want to send values to the origin but not include them in the
|
5056
|
-
# cache key, use an
|
5057
|
-
#
|
5144
|
+
# cache key, use an origin request policy. For more information, see
|
5145
|
+
# [Creating origin request policies][2] in the *Amazon CloudFront
|
5146
|
+
# Developer Guide*.
|
5058
5147
|
#
|
5059
5148
|
# A complex type that specifies how CloudFront handles query strings,
|
5060
5149
|
# cookies, and HTTP headers.
|
5061
5150
|
#
|
5151
|
+
#
|
5152
|
+
#
|
5153
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
5154
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
5155
|
+
#
|
5062
5156
|
# @note When making an API call, you may pass ForwardedValues
|
5063
5157
|
# data as a hash:
|
5064
5158
|
#
|
@@ -5085,12 +5179,14 @@ module Aws::CloudFront
|
|
5085
5179
|
# This field is deprecated. We recommend that you use a cache policy
|
5086
5180
|
# or an origin request policy instead of this field.
|
5087
5181
|
#
|
5088
|
-
# If you want to include query strings in the cache key, use
|
5089
|
-
#
|
5182
|
+
# If you want to include query strings in the cache key, use a cache
|
5183
|
+
# policy. For more information, see [Creating cache policies][1] in
|
5184
|
+
# the *Amazon CloudFront Developer Guide*.
|
5090
5185
|
#
|
5091
5186
|
# If you want to send query strings to the origin but not include them
|
5092
|
-
# in the cache key, use
|
5093
|
-
#
|
5187
|
+
# in the cache key, use an origin request policy. For more
|
5188
|
+
# information, see [Creating origin request policies][2] in the
|
5189
|
+
# *Amazon CloudFront Developer Guide*.
|
5094
5190
|
#
|
5095
5191
|
# Indicates whether you want CloudFront to forward query strings to
|
5096
5192
|
# the origin that is associated with this cache behavior and cache
|
@@ -5115,46 +5211,54 @@ module Aws::CloudFront
|
|
5115
5211
|
# on query string parameters.
|
5116
5212
|
#
|
5117
5213
|
# For more information, see [Configuring CloudFront to Cache Based on
|
5118
|
-
# Query String Parameters][
|
5214
|
+
# Query String Parameters][3] in the *Amazon CloudFront Developer
|
5119
5215
|
# Guide*.
|
5120
5216
|
#
|
5121
5217
|
#
|
5122
5218
|
#
|
5123
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
5219
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
5220
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
5221
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/QueryStringParameters.html
|
5124
5222
|
# @return [Boolean]
|
5125
5223
|
#
|
5126
5224
|
# @!attribute [rw] cookies
|
5127
5225
|
# This field is deprecated. We recommend that you use a cache policy
|
5128
5226
|
# or an origin request policy instead of this field.
|
5129
5227
|
#
|
5130
|
-
# If you want to include cookies in the cache key, use
|
5131
|
-
#
|
5228
|
+
# If you want to include cookies in the cache key, use a cache policy.
|
5229
|
+
# For more information, see [Creating cache policies][1] in the
|
5230
|
+
# *Amazon CloudFront Developer Guide*.
|
5132
5231
|
#
|
5133
5232
|
# If you want to send cookies to the origin but not include them in
|
5134
|
-
# the cache key, use
|
5135
|
-
#
|
5233
|
+
# the cache key, use an origin request policy. For more information,
|
5234
|
+
# see [Creating origin request policies][2] in the *Amazon CloudFront
|
5235
|
+
# Developer Guide*.
|
5136
5236
|
#
|
5137
5237
|
# A complex type that specifies whether you want CloudFront to forward
|
5138
5238
|
# cookies to the origin and, if so, which ones. For more information
|
5139
5239
|
# about forwarding cookies to the origin, see [How CloudFront
|
5140
|
-
# Forwards, Caches, and Logs Cookies][
|
5240
|
+
# Forwards, Caches, and Logs Cookies][3] in the *Amazon CloudFront
|
5141
5241
|
# Developer Guide*.
|
5142
5242
|
#
|
5143
5243
|
#
|
5144
5244
|
#
|
5145
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
5245
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
5246
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
5247
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html
|
5146
5248
|
# @return [Types::CookiePreference]
|
5147
5249
|
#
|
5148
5250
|
# @!attribute [rw] headers
|
5149
5251
|
# This field is deprecated. We recommend that you use a cache policy
|
5150
5252
|
# or an origin request policy instead of this field.
|
5151
5253
|
#
|
5152
|
-
# If you want to include headers in the cache key, use
|
5153
|
-
#
|
5254
|
+
# If you want to include headers in the cache key, use a cache policy.
|
5255
|
+
# For more information, see [Creating cache policies][1] in the
|
5256
|
+
# *Amazon CloudFront Developer Guide*.
|
5154
5257
|
#
|
5155
5258
|
# If you want to send headers to the origin but not include them in
|
5156
|
-
# the cache key, use
|
5157
|
-
#
|
5259
|
+
# the cache key, use an origin request policy. For more information,
|
5260
|
+
# see [Creating origin request policies][2] in the *Amazon CloudFront
|
5261
|
+
# Developer Guide*.
|
5158
5262
|
#
|
5159
5263
|
# A complex type that specifies the `Headers`, if any, that you want
|
5160
5264
|
# CloudFront to forward to the origin for this cache behavior
|
@@ -5163,27 +5267,36 @@ module Aws::CloudFront
|
|
5163
5267
|
# the header values in viewer requests.
|
5164
5268
|
#
|
5165
5269
|
# For more information, see [ Caching Content Based on Request
|
5166
|
-
# Headers][
|
5270
|
+
# Headers][3] in the *Amazon CloudFront Developer Guide*.
|
5167
5271
|
#
|
5168
5272
|
#
|
5169
5273
|
#
|
5170
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
5274
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
5275
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
5276
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html
|
5171
5277
|
# @return [Types::Headers]
|
5172
5278
|
#
|
5173
5279
|
# @!attribute [rw] query_string_cache_keys
|
5174
5280
|
# This field is deprecated. We recommend that you use a cache policy
|
5175
5281
|
# or an origin request policy instead of this field.
|
5176
5282
|
#
|
5177
|
-
# If you want to include query strings in the cache key, use
|
5178
|
-
#
|
5283
|
+
# If you want to include query strings in the cache key, use a cache
|
5284
|
+
# policy. For more information, see [Creating cache policies][1] in
|
5285
|
+
# the *Amazon CloudFront Developer Guide*.
|
5179
5286
|
#
|
5180
5287
|
# If you want to send query strings to the origin but not include them
|
5181
|
-
# in the cache key, use an
|
5182
|
-
#
|
5288
|
+
# in the cache key, use an origin request policy. For more
|
5289
|
+
# information, see [Creating origin request policies][2] in the
|
5290
|
+
# *Amazon CloudFront Developer Guide*.
|
5183
5291
|
#
|
5184
5292
|
# A complex type that contains information about the query string
|
5185
5293
|
# parameters that you want CloudFront to use for caching for this
|
5186
5294
|
# cache behavior.
|
5295
|
+
#
|
5296
|
+
#
|
5297
|
+
#
|
5298
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy
|
5299
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy
|
5187
5300
|
# @return [Types::QueryStringCacheKeys]
|
5188
5301
|
#
|
5189
5302
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ForwardedValues AWS API Documentation
|
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.36.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: 2020-07-
|
11
|
+
date: 2020-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|