aws-sdk-cloudfront 1.39.0 → 1.40.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccbe8660ce4fda87fe3a3157c315daa421ce434071b370585bc5d4f179681074
4
- data.tar.gz: 0272b69b1e15a4aa169e557997a108eb4cdb3ed19be56b245e88c2d374d62910
3
+ metadata.gz: 968f5cc622b4c5a634edffc333e41fa109bf3be930e3c4af93863d4423265b97
4
+ data.tar.gz: 8708f4e79ce672b94390e9fb1ac1eb9979a10226fba28a05144c0cdd80c841d3
5
5
  SHA512:
6
- metadata.gz: d363da19bb0b769819f0abdbae0db739ecc381a4f5c8afab2e480f5fe4885af40d5c850c967751b5a769acb0de315209f4f6bef32ef8aa69b05947696b97605e
7
- data.tar.gz: 59676ce258bca96f30063cfd32b85b27fff69a6fcb9a64b917d8a59c6ca8404c9bb78bacee401ec7f851124d0a889834f06ccdc95f11600c567ef3eb1b6ccc0f
6
+ metadata.gz: b1dbdefd3653e1ce2d1706550597475ab692c821c039d70d25234be84bb6022b5e955251c8a6dc07be25cb5442f71c6de9f23a27ed3728edcbe8b068363090a6
7
+ data.tar.gz: 9b784b6a3c29b3ccb92619565a4b9b29545a91895c7e0403de1e3479b9daad70190ecbb7bffec9a042bbf7d980c5777cdf515021aa39fe467863e73c36bfa17a
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
48
48
  # @!group service
49
49
  module Aws::CloudFront
50
50
 
51
- GEM_VERSION = '1.39.0'
51
+ GEM_VERSION = '1.40.0'
52
52
 
53
53
  end
@@ -346,7 +346,7 @@ module Aws::CloudFront
346
346
  # the origin. CloudFront sends a request when it can’t find an object in
347
347
  # its cache that matches the request’s cache key. If you want to send
348
348
  # values to the origin but *not* include them in the cache key, use
349
- # `CreateOriginRequestPolicy`.
349
+ # `OriginRequestPolicy`.
350
350
  #
351
351
  # For more information about cache policies, see [Controlling the cache
352
352
  # key][1] in the *Amazon CloudFront Developer Guide*.
@@ -375,6 +375,7 @@ module Aws::CloudFront
375
375
  # min_ttl: 1, # required
376
376
  # parameters_in_cache_key_and_forwarded_to_origin: {
377
377
  # enable_accept_encoding_gzip: false, # required
378
+ # enable_accept_encoding_brotli: false,
378
379
  # headers_config: { # required
379
380
  # header_behavior: "none", # required, accepts none, whitelist
380
381
  # headers: {
@@ -410,6 +411,7 @@ module Aws::CloudFront
410
411
  # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
411
412
  # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
412
413
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
414
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
413
415
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
414
416
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
415
417
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -1560,8 +1562,7 @@ module Aws::CloudFront
1560
1562
  #
1561
1563
  # CloudFront sends a request when it can’t find a valid object in its
1562
1564
  # cache that matches the request. If you want to send values to the
1563
- # origin and also include them in the cache key, use
1564
- # `CreateCachePolicy`.
1565
+ # origin and also include them in the cache key, use `CachePolicy`.
1565
1566
  #
1566
1567
  # For more information about origin request policies, see [Controlling
1567
1568
  # origin requests][1] in the *Amazon CloudFront Developer Guide*.
@@ -2350,6 +2351,7 @@ module Aws::CloudFront
2350
2351
  # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
2351
2352
  # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
2352
2353
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
2354
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
2353
2355
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
2354
2356
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
2355
2357
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -2408,6 +2410,7 @@ module Aws::CloudFront
2408
2410
  # resp.cache_policy_config.max_ttl #=> Integer
2409
2411
  # resp.cache_policy_config.min_ttl #=> Integer
2410
2412
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
2413
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
2411
2414
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
2412
2415
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
2413
2416
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -3492,6 +3495,7 @@ module Aws::CloudFront
3492
3495
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.max_ttl #=> Integer
3493
3496
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.min_ttl #=> Integer
3494
3497
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
3498
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
3495
3499
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
3496
3500
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
3497
3501
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -3855,7 +3859,7 @@ module Aws::CloudFront
3855
3859
  req.send_request(options)
3856
3860
  end
3857
3861
 
3858
- # Gets a list of distribution that have a cache behavior that’s
3862
+ # Gets a list of distributions that have a cache behavior that’s
3859
3863
  # associated with the specified real-time log configuration.
3860
3864
  #
3861
3865
  # You can specify the real-time log configuration by its name or its
@@ -4783,6 +4787,7 @@ module Aws::CloudFront
4783
4787
  # min_ttl: 1, # required
4784
4788
  # parameters_in_cache_key_and_forwarded_to_origin: {
4785
4789
  # enable_accept_encoding_gzip: false, # required
4790
+ # enable_accept_encoding_brotli: false,
4786
4791
  # headers_config: { # required
4787
4792
  # header_behavior: "none", # required, accepts none, whitelist
4788
4793
  # headers: {
@@ -4820,6 +4825,7 @@ module Aws::CloudFront
4820
4825
  # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
4821
4826
  # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
4822
4827
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
4828
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
4823
4829
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
4824
4830
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
4825
4831
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -5858,7 +5864,7 @@ module Aws::CloudFront
5858
5864
  params: params,
5859
5865
  config: config)
5860
5866
  context[:gem_name] = 'aws-sdk-cloudfront'
5861
- context[:gem_version] = '1.39.0'
5867
+ context[:gem_version] = '1.40.0'
5862
5868
  Seahorse::Client::Request.new(handlers, context)
5863
5869
  end
5864
5870
 
@@ -1588,6 +1588,7 @@ module Aws::CloudFront
1588
1588
  Origins.struct_class = Types::Origins
1589
1589
 
1590
1590
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:enable_accept_encoding_gzip, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "EnableAcceptEncodingGzip"))
1591
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:enable_accept_encoding_brotli, Shapes::ShapeRef.new(shape: boolean, location_name: "EnableAcceptEncodingBrotli"))
1591
1592
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:headers_config, Shapes::ShapeRef.new(shape: CachePolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1592
1593
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:cookies_config, Shapes::ShapeRef.new(shape: CachePolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1593
1594
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:query_strings_config, Shapes::ShapeRef.new(shape: CachePolicyQueryStringsConfig, required: true, location_name: "QueryStringsConfig"))
@@ -799,6 +799,7 @@ module Aws::CloudFront
799
799
  # min_ttl: 1, # required
800
800
  # parameters_in_cache_key_and_forwarded_to_origin: {
801
801
  # enable_accept_encoding_gzip: false, # required
802
+ # enable_accept_encoding_brotli: false,
802
803
  # headers_config: { # required
803
804
  # header_behavior: "none", # required, accepts none, whitelist
804
805
  # headers: {
@@ -1511,11 +1512,11 @@ module Aws::CloudFront
1511
1512
  # an origin request policy instead of this field.
1512
1513
  #
1513
1514
  # If you want to include cookies in the cache key, use `CookiesConfig`
1514
- # in a cache policy. See `CreateCachePolicy`.
1515
+ # in a cache policy. See `CachePolicy`.
1515
1516
  #
1516
1517
  # If you want to send cookies to the origin but not include them in the
1517
1518
  # cache key, use `CookiesConfig` in an origin request policy. See
1518
- # `CreateOriginRequestPolicy`.
1519
+ # `OriginRequestPolicy`.
1519
1520
  #
1520
1521
  # A complex type that specifies whether you want CloudFront to forward
1521
1522
  # cookies to the origin and, if so, which ones. For more information
@@ -1620,6 +1621,7 @@ module Aws::CloudFront
1620
1621
  # min_ttl: 1, # required
1621
1622
  # parameters_in_cache_key_and_forwarded_to_origin: {
1622
1623
  # enable_accept_encoding_gzip: false, # required
1624
+ # enable_accept_encoding_brotli: false,
1623
1625
  # headers_config: { # required
1624
1626
  # header_behavior: "none", # required, accepts none, whitelist
1625
1627
  # headers: {
@@ -8468,7 +8470,7 @@ module Aws::CloudFront
8468
8470
  #
8469
8471
  # CloudFront sends a request when it can’t find an object in its cache
8470
8472
  # that matches the request. If you want to send values to the origin and
8471
- # also include them in the cache key, use `CreateCachePolicy`.
8473
+ # also include them in the cache key, use `CachePolicy`.
8472
8474
  #
8473
8475
  # @!attribute [rw] id
8474
8476
  # The unique identifier for the origin request policy.
@@ -8526,7 +8528,7 @@ module Aws::CloudFront
8526
8528
  #
8527
8529
  # CloudFront sends a request when it can’t find an object in its cache
8528
8530
  # that matches the request. If you want to send values to the origin and
8529
- # also include them in the cache key, use `CreateCachePolicy`.
8531
+ # also include them in the cache key, use `CachePolicy`.
8530
8532
  #
8531
8533
  # @note When making an API call, you may pass OriginRequestPolicyConfig
8532
8534
  # data as a hash:
@@ -8900,13 +8902,14 @@ module Aws::CloudFront
8900
8902
  # the origin. CloudFront sends a request when it can’t find an object in
8901
8903
  # its cache that matches the request’s cache key. If you want to send
8902
8904
  # values to the origin but *not* include them in the cache key, use
8903
- # `CreateOriginRequestPolicy`.
8905
+ # `OriginRequestPolicy`.
8904
8906
  #
8905
8907
  # @note When making an API call, you may pass ParametersInCacheKeyAndForwardedToOrigin
8906
8908
  # data as a hash:
8907
8909
  #
8908
8910
  # {
8909
8911
  # enable_accept_encoding_gzip: false, # required
8912
+ # enable_accept_encoding_brotli: false,
8910
8913
  # headers_config: { # required
8911
8914
  # header_behavior: "none", # required, accepts none, whitelist
8912
8915
  # headers: {
@@ -8931,37 +8934,70 @@ module Aws::CloudFront
8931
8934
  # }
8932
8935
  #
8933
8936
  # @!attribute [rw] enable_accept_encoding_gzip
8934
- # A flag that determines whether the `Accept-Encoding` HTTP header is
8937
+ # A flag that can affect whether the `Accept-Encoding` HTTP header is
8935
8938
  # included in the cache key and included in requests that CloudFront
8936
8939
  # sends to the origin.
8937
8940
  #
8938
- # If this field is `true` *and* the viewer request includes the
8939
- # `Accept-Encoding` header, then CloudFront normalizes the value of
8940
- # the viewer’s `Accept-Encoding` header to one of the following:
8941
+ # This field is related to the `EnableAcceptEncodingBrotli` field. If
8942
+ # one or both of these fields is `true` *and* the viewer request
8943
+ # includes the `Accept-Encoding` header, then CloudFront does the
8944
+ # following:
8941
8945
  #
8942
- # * `Accept-Encoding: gzip` (if `gzip` is in the viewer’s
8943
- # `Accept-Encoding` header)
8946
+ # * Normalizes the value of the viewer’s `Accept-Encoding` header
8944
8947
  #
8945
- # * `Accept-Encoding: identity` (if `gzip` is *not* in the viewer’s
8946
- # `Accept-Encoding` header)
8948
+ # * Includes the normalized header in the cache key
8947
8949
  #
8948
- # CloudFront includes the normalized header in the cache key and
8949
- # includes it in requests that CloudFront sends to the origin.
8950
+ # * Includes the normalized header in the request to the origin
8950
8951
  #
8951
- # If this field is `false`, then CloudFront treats the
8952
+ # If one or both of these fields are `true`, you should not whitelist
8953
+ # the `Accept-Encoding` header in the cache policy or in an origin
8954
+ # request policy attached to the same cache behavior.
8955
+ #
8956
+ # For more information, see [Cache compressed objects][1] in the
8957
+ # *Amazon CloudFront Developer Guide*.
8958
+ #
8959
+ # If both of these fields are `false`, then CloudFront treats the
8952
8960
  # `Accept-Encoding` header the same as any other HTTP header in the
8953
8961
  # viewer request. By default, it’s not included in the cache key and
8954
- # it’s not included in origin requests. You can manually add
8955
- # `Accept-Encoding` to the headers whitelist like any other HTTP
8962
+ # it’s not included in origin requests. In this case, you can manually
8963
+ # add `Accept-Encoding` to the headers whitelist like any other HTTP
8956
8964
  # header.
8957
8965
  #
8958
- # When this field is `true`, you should not whitelist the
8959
- # `Accept-Encoding` header in the cache policy or in an origin request
8960
- # policy attached to the same cache behavior.
8966
+ #
8967
+ #
8968
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects
8969
+ # @return [Boolean]
8970
+ #
8971
+ # @!attribute [rw] enable_accept_encoding_brotli
8972
+ # A flag that can affect whether the `Accept-Encoding` HTTP header is
8973
+ # included in the cache key and included in requests that CloudFront
8974
+ # sends to the origin.
8975
+ #
8976
+ # This field is related to the `EnableAcceptEncodingGzip` field. If
8977
+ # one or both of these fields is `true` *and* the viewer request
8978
+ # includes the `Accept-Encoding` header, then CloudFront does the
8979
+ # following:
8980
+ #
8981
+ # * Normalizes the value of the viewer’s `Accept-Encoding` header
8982
+ #
8983
+ # * Includes the normalized header in the cache key
8984
+ #
8985
+ # * Includes the normalized header in the request to the origin
8986
+ #
8987
+ # If one or both of these fields are `true`, you should not whitelist
8988
+ # the `Accept-Encoding` header in the cache policy or in an origin
8989
+ # request policy attached to the same cache behavior.
8961
8990
  #
8962
8991
  # For more information, see [Cache compressed objects][1] in the
8963
8992
  # *Amazon CloudFront Developer Guide*.
8964
8993
  #
8994
+ # If both of these fields are `false`, then CloudFront treats the
8995
+ # `Accept-Encoding` header the same as any other HTTP header in the
8996
+ # viewer request. By default, it’s not included in the cache key and
8997
+ # it’s not included in origin requests. In this case, you can manually
8998
+ # add `Accept-Encoding` to the headers whitelist like any other HTTP
8999
+ # header.
9000
+ #
8965
9001
  #
8966
9002
  #
8967
9003
  # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects
@@ -8991,6 +9027,7 @@ module Aws::CloudFront
8991
9027
  #
8992
9028
  class ParametersInCacheKeyAndForwardedToOrigin < Struct.new(
8993
9029
  :enable_accept_encoding_gzip,
9030
+ :enable_accept_encoding_brotli,
8994
9031
  :headers_config,
8995
9032
  :cookies_config,
8996
9033
  :query_strings_config)
@@ -9328,11 +9365,11 @@ module Aws::CloudFront
9328
9365
  # an origin request policy instead of this field.
9329
9366
  #
9330
9367
  # If you want to include query strings in the cache key, use
9331
- # `QueryStringsConfig` in a cache policy. See `CreateCachePolicy`.
9368
+ # `QueryStringsConfig` in a cache policy. See `CachePolicy`.
9332
9369
  #
9333
9370
  # If you want to send query strings to the origin but not include them
9334
9371
  # in the cache key, use `QueryStringsConfig` in an origin request
9335
- # policy. See `CreateOriginRequestPolicy`.
9372
+ # policy. See `OriginRequestPolicy`.
9336
9373
  #
9337
9374
  # A complex type that contains information about the query string
9338
9375
  # parameters that you want CloudFront to use for caching for a cache
@@ -10954,6 +10991,7 @@ module Aws::CloudFront
10954
10991
  # min_ttl: 1, # required
10955
10992
  # parameters_in_cache_key_and_forwarded_to_origin: {
10956
10993
  # enable_accept_encoding_gzip: false, # required
10994
+ # enable_accept_encoding_brotli: false,
10957
10995
  # headers_config: { # required
10958
10996
  # header_behavior: "none", # required, accepts none, whitelist
10959
10997
  # headers: {
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.39.0
4
+ version: 1.40.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-08-31 00:00:00.000000000 Z
11
+ date: 2020-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core