aws-sdk-cloudfront 1.39.0 → 1.44.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccbe8660ce4fda87fe3a3157c315daa421ce434071b370585bc5d4f179681074
4
- data.tar.gz: 0272b69b1e15a4aa169e557997a108eb4cdb3ed19be56b245e88c2d374d62910
3
+ metadata.gz: 0ebbc13cb9133555aaa3c3cc243f61a029d8e2546ba013f1cfd212569cbca8fc
4
+ data.tar.gz: 28a605a2f0be36d77f716689dc85d2fd50f8d348c30173351743fbad1eeee72c
5
5
  SHA512:
6
- metadata.gz: d363da19bb0b769819f0abdbae0db739ecc381a4f5c8afab2e480f5fe4885af40d5c850c967751b5a769acb0de315209f4f6bef32ef8aa69b05947696b97605e
7
- data.tar.gz: 59676ce258bca96f30063cfd32b85b27fff69a6fcb9a64b917d8a59c6ca8404c9bb78bacee401ec7f851124d0a889834f06ccdc95f11600c567ef3eb1b6ccc0f
6
+ metadata.gz: 910e06b757164f70c749715720735e3b918e65c27d5acfc2607185bf5c02e998a26aaea1222de03ae8669ea05627621aa263e113e5e276bfe866cadb0fab01d3
7
+ data.tar.gz: c0f0a1d4babbbcc8571335b4a6bf6209737b755f375a347a0a0ecf113aaaae1d2ef4791e296a9777cec74409cddce4908a44ff1432496a04ccf6ea3a1cac2352
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -48,6 +49,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
48
49
  # @!group service
49
50
  module Aws::CloudFront
50
51
 
51
- GEM_VERSION = '1.39.0'
52
+ GEM_VERSION = '1.44.0'
52
53
 
53
54
  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
@@ -552,6 +554,10 @@ module Aws::CloudFront
552
554
  # },
553
555
  # connection_attempts: 1,
554
556
  # connection_timeout: 1,
557
+ # origin_shield: {
558
+ # enabled: false, # required
559
+ # origin_shield_region: "OriginShieldRegion",
560
+ # },
555
561
  # },
556
562
  # ],
557
563
  # },
@@ -773,6 +779,8 @@ module Aws::CloudFront
773
779
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
774
780
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
775
781
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
782
+ # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
783
+ # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
776
784
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
777
785
  # resp.distribution.distribution_config.origin_groups.items #=> Array
778
786
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -955,6 +963,10 @@ module Aws::CloudFront
955
963
  # },
956
964
  # connection_attempts: 1,
957
965
  # connection_timeout: 1,
966
+ # origin_shield: {
967
+ # enabled: false, # required
968
+ # origin_shield_region: "OriginShieldRegion",
969
+ # },
958
970
  # },
959
971
  # ],
960
972
  # },
@@ -1185,6 +1197,8 @@ module Aws::CloudFront
1185
1197
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
1186
1198
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
1187
1199
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
1200
+ # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
1201
+ # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
1188
1202
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
1189
1203
  # resp.distribution.distribution_config.origin_groups.items #=> Array
1190
1204
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -1560,8 +1574,7 @@ module Aws::CloudFront
1560
1574
  #
1561
1575
  # CloudFront sends a request when it can’t find a valid object in its
1562
1576
  # 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`.
1577
+ # origin and also include them in the cache key, use `CachePolicy`.
1565
1578
  #
1566
1579
  # For more information about origin request policies, see [Controlling
1567
1580
  # origin requests][1] in the *Amazon CloudFront Developer Guide*.
@@ -2350,6 +2363,7 @@ module Aws::CloudFront
2350
2363
  # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
2351
2364
  # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
2352
2365
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
2366
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
2353
2367
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
2354
2368
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
2355
2369
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -2408,6 +2422,7 @@ module Aws::CloudFront
2408
2422
  # resp.cache_policy_config.max_ttl #=> Integer
2409
2423
  # resp.cache_policy_config.min_ttl #=> Integer
2410
2424
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
2425
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
2411
2426
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
2412
2427
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
2413
2428
  # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -2552,6 +2567,8 @@ module Aws::CloudFront
2552
2567
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
2553
2568
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
2554
2569
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
2570
+ # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
2571
+ # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
2555
2572
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
2556
2573
  # resp.distribution.distribution_config.origin_groups.items #=> Array
2557
2574
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -2728,6 +2745,8 @@ module Aws::CloudFront
2728
2745
  # resp.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
2729
2746
  # resp.distribution_config.origins.items[0].connection_attempts #=> Integer
2730
2747
  # resp.distribution_config.origins.items[0].connection_timeout #=> Integer
2748
+ # resp.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
2749
+ # resp.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
2731
2750
  # resp.distribution_config.origin_groups.quantity #=> Integer
2732
2751
  # resp.distribution_config.origin_groups.items #=> Array
2733
2752
  # resp.distribution_config.origin_groups.items[0].id #=> String
@@ -3492,6 +3511,7 @@ module Aws::CloudFront
3492
3511
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.max_ttl #=> Integer
3493
3512
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.min_ttl #=> Integer
3494
3513
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
3514
+ # 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
3515
  # 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
3516
  # 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
3517
  # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -3623,6 +3643,8 @@ module Aws::CloudFront
3623
3643
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
3624
3644
  # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
3625
3645
  # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
3646
+ # resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
3647
+ # resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
3626
3648
  # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
3627
3649
  # resp.distribution_list.items[0].origin_groups.items #=> Array
3628
3650
  # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
@@ -3855,7 +3877,7 @@ module Aws::CloudFront
3855
3877
  req.send_request(options)
3856
3878
  end
3857
3879
 
3858
- # Gets a list of distribution that have a cache behavior that’s
3880
+ # Gets a list of distributions that have a cache behavior that’s
3859
3881
  # associated with the specified real-time log configuration.
3860
3882
  #
3861
3883
  # You can specify the real-time log configuration by its name or its
@@ -3937,6 +3959,8 @@ module Aws::CloudFront
3937
3959
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
3938
3960
  # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
3939
3961
  # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
3962
+ # resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
3963
+ # resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
3940
3964
  # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
3941
3965
  # resp.distribution_list.items[0].origin_groups.items #=> Array
3942
3966
  # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
@@ -4127,6 +4151,8 @@ module Aws::CloudFront
4127
4151
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
4128
4152
  # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
4129
4153
  # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
4154
+ # resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
4155
+ # resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
4130
4156
  # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
4131
4157
  # resp.distribution_list.items[0].origin_groups.items #=> Array
4132
4158
  # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
@@ -4783,6 +4809,7 @@ module Aws::CloudFront
4783
4809
  # min_ttl: 1, # required
4784
4810
  # parameters_in_cache_key_and_forwarded_to_origin: {
4785
4811
  # enable_accept_encoding_gzip: false, # required
4812
+ # enable_accept_encoding_brotli: false,
4786
4813
  # headers_config: { # required
4787
4814
  # header_behavior: "none", # required, accepts none, whitelist
4788
4815
  # headers: {
@@ -4820,6 +4847,7 @@ module Aws::CloudFront
4820
4847
  # resp.cache_policy.cache_policy_config.max_ttl #=> Integer
4821
4848
  # resp.cache_policy.cache_policy_config.min_ttl #=> Integer
4822
4849
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
4850
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
4823
4851
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
4824
4852
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
4825
4853
  # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
@@ -5022,6 +5050,10 @@ module Aws::CloudFront
5022
5050
  # },
5023
5051
  # connection_attempts: 1,
5024
5052
  # connection_timeout: 1,
5053
+ # origin_shield: {
5054
+ # enabled: false, # required
5055
+ # origin_shield_region: "OriginShieldRegion",
5056
+ # },
5025
5057
  # },
5026
5058
  # ],
5027
5059
  # },
@@ -5245,6 +5277,8 @@ module Aws::CloudFront
5245
5277
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
5246
5278
  # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
5247
5279
  # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
5280
+ # resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
5281
+ # resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
5248
5282
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
5249
5283
  # resp.distribution.distribution_config.origin_groups.items #=> Array
5250
5284
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -5858,7 +5892,7 @@ module Aws::CloudFront
5858
5892
  params: params,
5859
5893
  config: config)
5860
5894
  context[:gem_name] = 'aws-sdk-cloudfront'
5861
- context[:gem_version] = '1.39.0'
5895
+ context[:gem_version] = '1.44.0'
5862
5896
  Seahorse::Client::Request.new(handlers, context)
5863
5897
  end
5864
5898
 
@@ -296,6 +296,8 @@ module Aws::CloudFront
296
296
  OriginRequestPolicySummary = Shapes::StructureShape.new(name: 'OriginRequestPolicySummary')
297
297
  OriginRequestPolicySummaryList = Shapes::ListShape.new(name: 'OriginRequestPolicySummaryList')
298
298
  OriginRequestPolicyType = Shapes::StringShape.new(name: 'OriginRequestPolicyType')
299
+ OriginShield = Shapes::StructureShape.new(name: 'OriginShield')
300
+ OriginShieldRegion = Shapes::StringShape.new(name: 'OriginShieldRegion')
299
301
  OriginSslProtocols = Shapes::StructureShape.new(name: 'OriginSslProtocols')
300
302
  Origins = Shapes::StructureShape.new(name: 'Origins')
301
303
  ParametersInCacheKeyAndForwardedToOrigin = Shapes::StructureShape.new(name: 'ParametersInCacheKeyAndForwardedToOrigin')
@@ -1504,6 +1506,7 @@ module Aws::CloudFront
1504
1506
  Origin.add_member(:custom_origin_config, Shapes::ShapeRef.new(shape: CustomOriginConfig, location_name: "CustomOriginConfig"))
1505
1507
  Origin.add_member(:connection_attempts, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionAttempts"))
1506
1508
  Origin.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionTimeout"))
1509
+ Origin.add_member(:origin_shield, Shapes::ShapeRef.new(shape: OriginShield, location_name: "OriginShield"))
1507
1510
  Origin.struct_class = Types::Origin
1508
1511
 
1509
1512
  OriginCustomHeader.add_member(:header_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "HeaderName"))
@@ -1579,6 +1582,10 @@ module Aws::CloudFront
1579
1582
 
1580
1583
  OriginRequestPolicySummaryList.member = Shapes::ShapeRef.new(shape: OriginRequestPolicySummary, location_name: "OriginRequestPolicySummary")
1581
1584
 
1585
+ OriginShield.add_member(:enabled, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "Enabled"))
1586
+ OriginShield.add_member(:origin_shield_region, Shapes::ShapeRef.new(shape: OriginShieldRegion, location_name: "OriginShieldRegion"))
1587
+ OriginShield.struct_class = Types::OriginShield
1588
+
1582
1589
  OriginSslProtocols.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "Quantity"))
1583
1590
  OriginSslProtocols.add_member(:items, Shapes::ShapeRef.new(shape: SslProtocolsList, required: true, location_name: "Items"))
1584
1591
  OriginSslProtocols.struct_class = Types::OriginSslProtocols
@@ -1588,6 +1595,7 @@ module Aws::CloudFront
1588
1595
  Origins.struct_class = Types::Origins
1589
1596
 
1590
1597
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:enable_accept_encoding_gzip, Shapes::ShapeRef.new(shape: boolean, required: true, location_name: "EnableAcceptEncodingGzip"))
1598
+ ParametersInCacheKeyAndForwardedToOrigin.add_member(:enable_accept_encoding_brotli, Shapes::ShapeRef.new(shape: boolean, location_name: "EnableAcceptEncodingBrotli"))
1591
1599
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:headers_config, Shapes::ShapeRef.new(shape: CachePolicyHeadersConfig, required: true, location_name: "HeadersConfig"))
1592
1600
  ParametersInCacheKeyAndForwardedToOrigin.add_member(:cookies_config, Shapes::ShapeRef.new(shape: CachePolicyCookiesConfig, required: true, location_name: "CookiesConfig"))
1593
1601
  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: {
@@ -1782,6 +1784,10 @@ module Aws::CloudFront
1782
1784
  # },
1783
1785
  # connection_attempts: 1,
1784
1786
  # connection_timeout: 1,
1787
+ # origin_shield: {
1788
+ # enabled: false, # required
1789
+ # origin_shield_region: "OriginShieldRegion",
1790
+ # },
1785
1791
  # },
1786
1792
  # ],
1787
1793
  # },
@@ -2046,6 +2052,10 @@ module Aws::CloudFront
2046
2052
  # },
2047
2053
  # connection_attempts: 1,
2048
2054
  # connection_timeout: 1,
2055
+ # origin_shield: {
2056
+ # enabled: false, # required
2057
+ # origin_shield_region: "OriginShieldRegion",
2058
+ # },
2049
2059
  # },
2050
2060
  # ],
2051
2061
  # },
@@ -3906,6 +3916,10 @@ module Aws::CloudFront
3906
3916
  # },
3907
3917
  # connection_attempts: 1,
3908
3918
  # connection_timeout: 1,
3919
+ # origin_shield: {
3920
+ # enabled: false, # required
3921
+ # origin_shield_region: "OriginShieldRegion",
3922
+ # },
3909
3923
  # },
3910
3924
  # ],
3911
3925
  # },
@@ -4213,9 +4227,7 @@ module Aws::CloudFront
4213
4227
  # Class for a CloudFront Distribution][1] in the *Amazon CloudFront
4214
4228
  # Developer Guide*. For information about CloudFront pricing,
4215
4229
  # including how price classes (such as Price Class 100) map to
4216
- # CloudFront regions, see [Amazon CloudFront Pricing][2]. For price
4217
- # class information, scroll down to see the table at the bottom of the
4218
- # page.
4230
+ # CloudFront regions, see [Amazon CloudFront Pricing][2].
4219
4231
  #
4220
4232
  #
4221
4233
  #
@@ -4389,6 +4401,10 @@ module Aws::CloudFront
4389
4401
  # },
4390
4402
  # connection_attempts: 1,
4391
4403
  # connection_timeout: 1,
4404
+ # origin_shield: {
4405
+ # enabled: false, # required
4406
+ # origin_shield_region: "OriginShieldRegion",
4407
+ # },
4392
4408
  # },
4393
4409
  # ],
4394
4410
  # },
@@ -8068,17 +8084,17 @@ module Aws::CloudFront
8068
8084
  # An origin is the location where content is stored, and from which
8069
8085
  # CloudFront gets content to serve to viewers. To specify an origin:
8070
8086
  #
8071
- # * Use the `S3OriginConfig` type to specify an Amazon S3 bucket that is
8072
- # <i> <b>not</b> </i> configured with static website hosting.
8087
+ # * Use `S3OriginConfig` to specify an Amazon S3 bucket that is not
8088
+ # configured with static website hosting.
8073
8089
  #
8074
- # * Use the `CustomOriginConfig` type to specify various other kinds of
8075
- # content containers or HTTP servers, including:
8090
+ # * Use `CustomOriginConfig` to specify all other kinds of origins,
8091
+ # including:
8076
8092
  #
8077
8093
  # * An Amazon S3 bucket that is configured with static website hosting
8078
8094
  #
8079
8095
  # * An Elastic Load Balancing load balancer
8080
8096
  #
8081
- # * An AWS Elemental MediaPackage origin
8097
+ # * An AWS Elemental MediaPackage endpoint
8082
8098
  #
8083
8099
  # * An AWS Elemental MediaStore container
8084
8100
  #
@@ -8126,6 +8142,10 @@ module Aws::CloudFront
8126
8142
  # },
8127
8143
  # connection_attempts: 1,
8128
8144
  # connection_timeout: 1,
8145
+ # origin_shield: {
8146
+ # enabled: false, # required
8147
+ # origin_shield_region: "OriginShieldRegion",
8148
+ # },
8129
8149
  # }
8130
8150
  #
8131
8151
  # @!attribute [rw] id
@@ -8160,8 +8180,8 @@ module Aws::CloudFront
8160
8180
  # @return [String]
8161
8181
  #
8162
8182
  # @!attribute [rw] custom_headers
8163
- # A list of HTTP header names and values that CloudFront adds to
8164
- # requests it sends to the origin.
8183
+ # A list of HTTP header names and values that CloudFront adds to the
8184
+ # requests that it sends to the origin.
8165
8185
  #
8166
8186
  # For more information, see [Adding Custom Headers to Origin
8167
8187
  # Requests][1] in the *Amazon CloudFront Developer Guide*.
@@ -8173,18 +8193,18 @@ module Aws::CloudFront
8173
8193
  #
8174
8194
  # @!attribute [rw] s3_origin_config
8175
8195
  # Use this type to specify an origin that is an Amazon S3 bucket that
8176
- # is <i> <b>not</b> </i> configured with static website hosting. To
8177
- # specify any other type of origin, including an Amazon S3 bucket that
8178
- # is configured with static website hosting, use the
8179
- # `CustomOriginConfig` type instead.
8196
+ # is not configured with static website hosting. To specify any other
8197
+ # type of origin, including an Amazon S3 bucket that is configured
8198
+ # with static website hosting, use the `CustomOriginConfig` type
8199
+ # instead.
8180
8200
  # @return [Types::S3OriginConfig]
8181
8201
  #
8182
8202
  # @!attribute [rw] custom_origin_config
8183
- # Use this type to specify an origin that is a content container or
8184
- # HTTP server, including an Amazon S3 bucket that is configured with
8185
- # static website hosting. To specify an Amazon S3 bucket that is <i>
8186
- # <b>not</b> </i> configured with static website hosting, use the
8187
- # `S3OriginConfig` type instead.
8203
+ # Use this type to specify an origin that is not an Amazon S3 bucket,
8204
+ # with one exception. If the Amazon S3 bucket is configured with
8205
+ # static website hosting, use this type. If the Amazon S3 bucket is
8206
+ # not configured with static website hosting, use the `S3OriginConfig`
8207
+ # type instead.
8188
8208
  # @return [Types::CustomOriginConfig]
8189
8209
  #
8190
8210
  # @!attribute [rw] connection_attempts
@@ -8220,6 +8240,18 @@ module Aws::CloudFront
8220
8240
  # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-timeout
8221
8241
  # @return [Integer]
8222
8242
  #
8243
+ # @!attribute [rw] origin_shield
8244
+ # CloudFront Origin Shield. Using Origin Shield can help reduce the
8245
+ # load on your origin.
8246
+ #
8247
+ # For more information, see [Using Origin Shield][1] in the *Amazon
8248
+ # CloudFront Developer Guide*.
8249
+ #
8250
+ #
8251
+ #
8252
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html
8253
+ # @return [Types::OriginShield]
8254
+ #
8223
8255
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/Origin AWS API Documentation
8224
8256
  #
8225
8257
  class Origin < Struct.new(
@@ -8230,7 +8262,8 @@ module Aws::CloudFront
8230
8262
  :s3_origin_config,
8231
8263
  :custom_origin_config,
8232
8264
  :connection_attempts,
8233
- :connection_timeout)
8265
+ :connection_timeout,
8266
+ :origin_shield)
8234
8267
  SENSITIVE = []
8235
8268
  include Aws::Structure
8236
8269
  end
@@ -8468,7 +8501,7 @@ module Aws::CloudFront
8468
8501
  #
8469
8502
  # CloudFront sends a request when it can’t find an object in its cache
8470
8503
  # that matches the request. If you want to send values to the origin and
8471
- # also include them in the cache key, use `CreateCachePolicy`.
8504
+ # also include them in the cache key, use `CachePolicy`.
8472
8505
  #
8473
8506
  # @!attribute [rw] id
8474
8507
  # The unique identifier for the origin request policy.
@@ -8526,7 +8559,7 @@ module Aws::CloudFront
8526
8559
  #
8527
8560
  # CloudFront sends a request when it can’t find an object in its cache
8528
8561
  # that matches the request. If you want to send values to the origin and
8529
- # also include them in the cache key, use `CreateCachePolicy`.
8562
+ # also include them in the cache key, use `CachePolicy`.
8530
8563
  #
8531
8564
  # @note When making an API call, you may pass OriginRequestPolicyConfig
8532
8565
  # data as a hash:
@@ -8799,6 +8832,60 @@ module Aws::CloudFront
8799
8832
  include Aws::Structure
8800
8833
  end
8801
8834
 
8835
+ # CloudFront Origin Shield.
8836
+ #
8837
+ # Using Origin Shield can help reduce the load on your origin. For more
8838
+ # information, see [Using Origin Shield][1] in the *Amazon CloudFront
8839
+ # Developer Guide*.
8840
+ #
8841
+ #
8842
+ #
8843
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html
8844
+ #
8845
+ # @note When making an API call, you may pass OriginShield
8846
+ # data as a hash:
8847
+ #
8848
+ # {
8849
+ # enabled: false, # required
8850
+ # origin_shield_region: "OriginShieldRegion",
8851
+ # }
8852
+ #
8853
+ # @!attribute [rw] enabled
8854
+ # A flag that specifies whether Origin Shield is enabled.
8855
+ #
8856
+ # When it’s enabled, CloudFront routes all requests through Origin
8857
+ # Shield, which can help protect your origin. When it’s disabled,
8858
+ # CloudFront might send requests directly to your origin from multiple
8859
+ # edge locations or regional edge caches.
8860
+ # @return [Boolean]
8861
+ #
8862
+ # @!attribute [rw] origin_shield_region
8863
+ # The AWS Region for Origin Shield.
8864
+ #
8865
+ # Specify the AWS Region that has the lowest latency to your origin.
8866
+ # To specify a region, use the region code, not the region name. For
8867
+ # example, specify the US East (Ohio) region as `us-east-2`.
8868
+ #
8869
+ # When you enable CloudFront Origin Shield, you must specify the AWS
8870
+ # Region for Origin Shield. For the list of AWS Regions that you can
8871
+ # specify, and for help choosing the best Region for your origin, see
8872
+ # [Choosing the AWS Region for Origin Shield][1] in the *Amazon
8873
+ # CloudFront Developer Guide*.
8874
+ #
8875
+ #
8876
+ #
8877
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html#choose-origin-shield-region
8878
+ # @return [String]
8879
+ #
8880
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/OriginShield AWS API Documentation
8881
+ #
8882
+ class OriginShield < Struct.new(
8883
+ :enabled,
8884
+ :origin_shield_region)
8885
+ SENSITIVE = []
8886
+ include Aws::Structure
8887
+ end
8888
+
8802
8889
  # A complex type that contains information about the SSL/TLS protocols
8803
8890
  # that CloudFront can use when establishing an HTTPS connection with
8804
8891
  # your origin.
@@ -8830,8 +8917,7 @@ module Aws::CloudFront
8830
8917
  include Aws::Structure
8831
8918
  end
8832
8919
 
8833
- # A complex type that contains information about origins and origin
8834
- # groups for this distribution.
8920
+ # Contains information about the origins for this distribution.
8835
8921
  #
8836
8922
  # @note When making an API call, you may pass Origins
8837
8923
  # data as a hash:
@@ -8868,17 +8954,20 @@ module Aws::CloudFront
8868
8954
  # },
8869
8955
  # connection_attempts: 1,
8870
8956
  # connection_timeout: 1,
8957
+ # origin_shield: {
8958
+ # enabled: false, # required
8959
+ # origin_shield_region: "OriginShieldRegion",
8960
+ # },
8871
8961
  # },
8872
8962
  # ],
8873
8963
  # }
8874
8964
  #
8875
8965
  # @!attribute [rw] quantity
8876
- # The number of origins or origin groups for this distribution.
8966
+ # The number of origins for this distribution.
8877
8967
  # @return [Integer]
8878
8968
  #
8879
8969
  # @!attribute [rw] items
8880
- # A complex type that contains origins or origin groups for this
8881
- # distribution.
8970
+ # A list of origins.
8882
8971
  # @return [Array<Types::Origin>]
8883
8972
  #
8884
8973
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/Origins AWS API Documentation
@@ -8900,13 +8989,14 @@ module Aws::CloudFront
8900
8989
  # the origin. CloudFront sends a request when it can’t find an object in
8901
8990
  # its cache that matches the request’s cache key. If you want to send
8902
8991
  # values to the origin but *not* include them in the cache key, use
8903
- # `CreateOriginRequestPolicy`.
8992
+ # `OriginRequestPolicy`.
8904
8993
  #
8905
8994
  # @note When making an API call, you may pass ParametersInCacheKeyAndForwardedToOrigin
8906
8995
  # data as a hash:
8907
8996
  #
8908
8997
  # {
8909
8998
  # enable_accept_encoding_gzip: false, # required
8999
+ # enable_accept_encoding_brotli: false,
8910
9000
  # headers_config: { # required
8911
9001
  # header_behavior: "none", # required, accepts none, whitelist
8912
9002
  # headers: {
@@ -8931,36 +9021,77 @@ module Aws::CloudFront
8931
9021
  # }
8932
9022
  #
8933
9023
  # @!attribute [rw] enable_accept_encoding_gzip
8934
- # A flag that determines whether the `Accept-Encoding` HTTP header is
9024
+ # A flag that can affect whether the `Accept-Encoding` HTTP header is
8935
9025
  # included in the cache key and included in requests that CloudFront
8936
9026
  # sends to the origin.
8937
9027
  #
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:
9028
+ # This field is related to the `EnableAcceptEncodingBrotli` field. If
9029
+ # one or both of these fields is `true` *and* the viewer request
9030
+ # includes the `Accept-Encoding` header, then CloudFront does the
9031
+ # following:
8941
9032
  #
8942
- # * `Accept-Encoding: gzip` (if `gzip` is in the viewer’s
8943
- # `Accept-Encoding` header)
9033
+ # * Normalizes the value of the viewer’s `Accept-Encoding` header
8944
9034
  #
8945
- # * `Accept-Encoding: identity` (if `gzip` is *not* in the viewer’s
8946
- # `Accept-Encoding` header)
9035
+ # * Includes the normalized header in the cache key
8947
9036
  #
8948
- # CloudFront includes the normalized header in the cache key and
8949
- # includes it in requests that CloudFront sends to the origin.
9037
+ # * Includes the normalized header in the request to the origin, if a
9038
+ # request is necessary
8950
9039
  #
8951
- # If this field is `false`, then CloudFront treats the
9040
+ # For more information, see [Compression support][1] in the *Amazon
9041
+ # CloudFront Developer Guide*.
9042
+ #
9043
+ # If you set this value to `true`, and this cache behavior also has an
9044
+ # origin request policy attached, do not include the `Accept-Encoding`
9045
+ # header in the origin request policy. CloudFront always includes the
9046
+ # `Accept-Encoding` header in origin requests when the value of this
9047
+ # field is `true`, so including this header in an origin request
9048
+ # policy has no effect.
9049
+ #
9050
+ # If both of these fields are `false`, then CloudFront treats the
8952
9051
  # `Accept-Encoding` header the same as any other HTTP header in the
8953
9052
  # 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
9053
+ # it’s not included in origin requests. In this case, you can manually
9054
+ # add `Accept-Encoding` to the headers whitelist like any other HTTP
8956
9055
  # header.
8957
9056
  #
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.
8961
9057
  #
8962
- # For more information, see [Cache compressed objects][1] in the
8963
- # *Amazon CloudFront Developer Guide*.
9058
+ #
9059
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects
9060
+ # @return [Boolean]
9061
+ #
9062
+ # @!attribute [rw] enable_accept_encoding_brotli
9063
+ # A flag that can affect whether the `Accept-Encoding` HTTP header is
9064
+ # included in the cache key and included in requests that CloudFront
9065
+ # sends to the origin.
9066
+ #
9067
+ # This field is related to the `EnableAcceptEncodingGzip` field. If
9068
+ # one or both of these fields is `true` *and* the viewer request
9069
+ # includes the `Accept-Encoding` header, then CloudFront does the
9070
+ # following:
9071
+ #
9072
+ # * Normalizes the value of the viewer’s `Accept-Encoding` header
9073
+ #
9074
+ # * Includes the normalized header in the cache key
9075
+ #
9076
+ # * Includes the normalized header in the request to the origin, if a
9077
+ # request is necessary
9078
+ #
9079
+ # For more information, see [Compression support][1] in the *Amazon
9080
+ # CloudFront Developer Guide*.
9081
+ #
9082
+ # If you set this value to `true`, and this cache behavior also has an
9083
+ # origin request policy attached, do not include the `Accept-Encoding`
9084
+ # header in the origin request policy. CloudFront always includes the
9085
+ # `Accept-Encoding` header in origin requests when the value of this
9086
+ # field is `true`, so including this header in an origin request
9087
+ # policy has no effect.
9088
+ #
9089
+ # If both of these fields are `false`, then CloudFront treats the
9090
+ # `Accept-Encoding` header the same as any other HTTP header in the
9091
+ # viewer request. By default, it’s not included in the cache key and
9092
+ # it’s not included in origin requests. In this case, you can manually
9093
+ # add `Accept-Encoding` to the headers whitelist like any other HTTP
9094
+ # header.
8964
9095
  #
8965
9096
  #
8966
9097
  #
@@ -8991,6 +9122,7 @@ module Aws::CloudFront
8991
9122
  #
8992
9123
  class ParametersInCacheKeyAndForwardedToOrigin < Struct.new(
8993
9124
  :enable_accept_encoding_gzip,
9125
+ :enable_accept_encoding_brotli,
8994
9126
  :headers_config,
8995
9127
  :cookies_config,
8996
9128
  :query_strings_config)
@@ -9328,11 +9460,11 @@ module Aws::CloudFront
9328
9460
  # an origin request policy instead of this field.
9329
9461
  #
9330
9462
  # If you want to include query strings in the cache key, use
9331
- # `QueryStringsConfig` in a cache policy. See `CreateCachePolicy`.
9463
+ # `QueryStringsConfig` in a cache policy. See `CachePolicy`.
9332
9464
  #
9333
9465
  # If you want to send query strings to the origin but not include them
9334
9466
  # in the cache key, use `QueryStringsConfig` in an origin request
9335
- # policy. See `CreateOriginRequestPolicy`.
9467
+ # policy. See `OriginRequestPolicy`.
9336
9468
  #
9337
9469
  # A complex type that contains information about the query string
9338
9470
  # parameters that you want CloudFront to use for caching for a cache
@@ -10954,6 +11086,7 @@ module Aws::CloudFront
10954
11086
  # min_ttl: 1, # required
10955
11087
  # parameters_in_cache_key_and_forwarded_to_origin: {
10956
11088
  # enable_accept_encoding_gzip: false, # required
11089
+ # enable_accept_encoding_brotli: false,
10957
11090
  # headers_config: { # required
10958
11091
  # header_behavior: "none", # required, accepts none, whitelist
10959
11092
  # headers: {
@@ -11126,6 +11259,10 @@ module Aws::CloudFront
11126
11259
  # },
11127
11260
  # connection_attempts: 1,
11128
11261
  # connection_timeout: 1,
11262
+ # origin_shield: {
11263
+ # enabled: false, # required
11264
+ # origin_shield_region: "OriginShieldRegion",
11265
+ # },
11129
11266
  # },
11130
11267
  # ],
11131
11268
  # },
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.44.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-10-19 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.99.0
22
+ version: 3.109.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.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement