aws-sdk-cloudfront 1.43.0 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +29 -1
- data/lib/aws-sdk-cloudfront/client_api.rb +7 -0
- data/lib/aws-sdk-cloudfront/types.rb +119 -26
- 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: 0ebbc13cb9133555aaa3c3cc243f61a029d8e2546ba013f1cfd212569cbca8fc
|
|
4
|
+
data.tar.gz: 28a605a2f0be36d77f716689dc85d2fd50f8d348c30173351743fbad1eeee72c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 910e06b757164f70c749715720735e3b918e65c27d5acfc2607185bf5c02e998a26aaea1222de03ae8669ea05627621aa263e113e5e276bfe866cadb0fab01d3
|
|
7
|
+
data.tar.gz: c0f0a1d4babbbcc8571335b4a6bf6209737b755f375a347a0a0ecf113aaaae1d2ef4791e296a9777cec74409cddce4908a44ff1432496a04ccf6ea3a1cac2352
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
|
@@ -554,6 +554,10 @@ module Aws::CloudFront
|
|
|
554
554
|
# },
|
|
555
555
|
# connection_attempts: 1,
|
|
556
556
|
# connection_timeout: 1,
|
|
557
|
+
# origin_shield: {
|
|
558
|
+
# enabled: false, # required
|
|
559
|
+
# origin_shield_region: "OriginShieldRegion",
|
|
560
|
+
# },
|
|
557
561
|
# },
|
|
558
562
|
# ],
|
|
559
563
|
# },
|
|
@@ -775,6 +779,8 @@ module Aws::CloudFront
|
|
|
775
779
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
776
780
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
777
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
|
|
778
784
|
# resp.distribution.distribution_config.origin_groups.quantity #=> Integer
|
|
779
785
|
# resp.distribution.distribution_config.origin_groups.items #=> Array
|
|
780
786
|
# resp.distribution.distribution_config.origin_groups.items[0].id #=> String
|
|
@@ -957,6 +963,10 @@ module Aws::CloudFront
|
|
|
957
963
|
# },
|
|
958
964
|
# connection_attempts: 1,
|
|
959
965
|
# connection_timeout: 1,
|
|
966
|
+
# origin_shield: {
|
|
967
|
+
# enabled: false, # required
|
|
968
|
+
# origin_shield_region: "OriginShieldRegion",
|
|
969
|
+
# },
|
|
960
970
|
# },
|
|
961
971
|
# ],
|
|
962
972
|
# },
|
|
@@ -1187,6 +1197,8 @@ module Aws::CloudFront
|
|
|
1187
1197
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
1188
1198
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
1189
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
|
|
1190
1202
|
# resp.distribution.distribution_config.origin_groups.quantity #=> Integer
|
|
1191
1203
|
# resp.distribution.distribution_config.origin_groups.items #=> Array
|
|
1192
1204
|
# resp.distribution.distribution_config.origin_groups.items[0].id #=> String
|
|
@@ -2555,6 +2567,8 @@ module Aws::CloudFront
|
|
|
2555
2567
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
2556
2568
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
2557
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
|
|
2558
2572
|
# resp.distribution.distribution_config.origin_groups.quantity #=> Integer
|
|
2559
2573
|
# resp.distribution.distribution_config.origin_groups.items #=> Array
|
|
2560
2574
|
# resp.distribution.distribution_config.origin_groups.items[0].id #=> String
|
|
@@ -2731,6 +2745,8 @@ module Aws::CloudFront
|
|
|
2731
2745
|
# resp.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
2732
2746
|
# resp.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
2733
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
|
|
2734
2750
|
# resp.distribution_config.origin_groups.quantity #=> Integer
|
|
2735
2751
|
# resp.distribution_config.origin_groups.items #=> Array
|
|
2736
2752
|
# resp.distribution_config.origin_groups.items[0].id #=> String
|
|
@@ -3627,6 +3643,8 @@ module Aws::CloudFront
|
|
|
3627
3643
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
3628
3644
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
3629
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
|
|
3630
3648
|
# resp.distribution_list.items[0].origin_groups.quantity #=> Integer
|
|
3631
3649
|
# resp.distribution_list.items[0].origin_groups.items #=> Array
|
|
3632
3650
|
# resp.distribution_list.items[0].origin_groups.items[0].id #=> String
|
|
@@ -3941,6 +3959,8 @@ module Aws::CloudFront
|
|
|
3941
3959
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
3942
3960
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
3943
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
|
|
3944
3964
|
# resp.distribution_list.items[0].origin_groups.quantity #=> Integer
|
|
3945
3965
|
# resp.distribution_list.items[0].origin_groups.items #=> Array
|
|
3946
3966
|
# resp.distribution_list.items[0].origin_groups.items[0].id #=> String
|
|
@@ -4131,6 +4151,8 @@ module Aws::CloudFront
|
|
|
4131
4151
|
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
4132
4152
|
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
4133
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
|
|
4134
4156
|
# resp.distribution_list.items[0].origin_groups.quantity #=> Integer
|
|
4135
4157
|
# resp.distribution_list.items[0].origin_groups.items #=> Array
|
|
4136
4158
|
# resp.distribution_list.items[0].origin_groups.items[0].id #=> String
|
|
@@ -5028,6 +5050,10 @@ module Aws::CloudFront
|
|
|
5028
5050
|
# },
|
|
5029
5051
|
# connection_attempts: 1,
|
|
5030
5052
|
# connection_timeout: 1,
|
|
5053
|
+
# origin_shield: {
|
|
5054
|
+
# enabled: false, # required
|
|
5055
|
+
# origin_shield_region: "OriginShieldRegion",
|
|
5056
|
+
# },
|
|
5031
5057
|
# },
|
|
5032
5058
|
# ],
|
|
5033
5059
|
# },
|
|
@@ -5251,6 +5277,8 @@ module Aws::CloudFront
|
|
|
5251
5277
|
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
5252
5278
|
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
|
5253
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
|
|
5254
5282
|
# resp.distribution.distribution_config.origin_groups.quantity #=> Integer
|
|
5255
5283
|
# resp.distribution.distribution_config.origin_groups.items #=> Array
|
|
5256
5284
|
# resp.distribution.distribution_config.origin_groups.items[0].id #=> String
|
|
@@ -5864,7 +5892,7 @@ module Aws::CloudFront
|
|
|
5864
5892
|
params: params,
|
|
5865
5893
|
config: config)
|
|
5866
5894
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
|
5867
|
-
context[:gem_version] = '1.
|
|
5895
|
+
context[:gem_version] = '1.44.0'
|
|
5868
5896
|
Seahorse::Client::Request.new(handlers, context)
|
|
5869
5897
|
end
|
|
5870
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
|
|
@@ -1784,6 +1784,10 @@ module Aws::CloudFront
|
|
|
1784
1784
|
# },
|
|
1785
1785
|
# connection_attempts: 1,
|
|
1786
1786
|
# connection_timeout: 1,
|
|
1787
|
+
# origin_shield: {
|
|
1788
|
+
# enabled: false, # required
|
|
1789
|
+
# origin_shield_region: "OriginShieldRegion",
|
|
1790
|
+
# },
|
|
1787
1791
|
# },
|
|
1788
1792
|
# ],
|
|
1789
1793
|
# },
|
|
@@ -2048,6 +2052,10 @@ module Aws::CloudFront
|
|
|
2048
2052
|
# },
|
|
2049
2053
|
# connection_attempts: 1,
|
|
2050
2054
|
# connection_timeout: 1,
|
|
2055
|
+
# origin_shield: {
|
|
2056
|
+
# enabled: false, # required
|
|
2057
|
+
# origin_shield_region: "OriginShieldRegion",
|
|
2058
|
+
# },
|
|
2051
2059
|
# },
|
|
2052
2060
|
# ],
|
|
2053
2061
|
# },
|
|
@@ -3908,6 +3916,10 @@ module Aws::CloudFront
|
|
|
3908
3916
|
# },
|
|
3909
3917
|
# connection_attempts: 1,
|
|
3910
3918
|
# connection_timeout: 1,
|
|
3919
|
+
# origin_shield: {
|
|
3920
|
+
# enabled: false, # required
|
|
3921
|
+
# origin_shield_region: "OriginShieldRegion",
|
|
3922
|
+
# },
|
|
3911
3923
|
# },
|
|
3912
3924
|
# ],
|
|
3913
3925
|
# },
|
|
@@ -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
|
|
8072
|
-
#
|
|
8087
|
+
# * Use `S3OriginConfig` to specify an Amazon S3 bucket that is not
|
|
8088
|
+
# configured with static website hosting.
|
|
8073
8089
|
#
|
|
8074
|
-
# * Use
|
|
8075
|
-
#
|
|
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
|
|
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
|
|
8177
|
-
#
|
|
8178
|
-
#
|
|
8179
|
-
#
|
|
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
|
|
8184
|
-
#
|
|
8185
|
-
# static website hosting.
|
|
8186
|
-
#
|
|
8187
|
-
#
|
|
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
|
|
@@ -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
|
-
#
|
|
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
|
|
8966
|
+
# The number of origins for this distribution.
|
|
8877
8967
|
# @return [Integer]
|
|
8878
8968
|
#
|
|
8879
8969
|
# @!attribute [rw] items
|
|
8880
|
-
# A
|
|
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
|
|
@@ -8948,8 +9037,8 @@ module Aws::CloudFront
|
|
|
8948
9037
|
# * Includes the normalized header in the request to the origin, if a
|
|
8949
9038
|
# request is necessary
|
|
8950
9039
|
#
|
|
8951
|
-
# For more information, see [
|
|
8952
|
-
#
|
|
9040
|
+
# For more information, see [Compression support][1] in the *Amazon
|
|
9041
|
+
# CloudFront Developer Guide*.
|
|
8953
9042
|
#
|
|
8954
9043
|
# If you set this value to `true`, and this cache behavior also has an
|
|
8955
9044
|
# origin request policy attached, do not include the `Accept-Encoding`
|
|
@@ -8987,8 +9076,8 @@ module Aws::CloudFront
|
|
|
8987
9076
|
# * Includes the normalized header in the request to the origin, if a
|
|
8988
9077
|
# request is necessary
|
|
8989
9078
|
#
|
|
8990
|
-
# For more information, see [
|
|
8991
|
-
#
|
|
9079
|
+
# For more information, see [Compression support][1] in the *Amazon
|
|
9080
|
+
# CloudFront Developer Guide*.
|
|
8992
9081
|
#
|
|
8993
9082
|
# If you set this value to `true`, and this cache behavior also has an
|
|
8994
9083
|
# origin request policy attached, do not include the `Accept-Encoding`
|
|
@@ -11170,6 +11259,10 @@ module Aws::CloudFront
|
|
|
11170
11259
|
# },
|
|
11171
11260
|
# connection_attempts: 1,
|
|
11172
11261
|
# connection_timeout: 1,
|
|
11262
|
+
# origin_shield: {
|
|
11263
|
+
# enabled: false, # required
|
|
11264
|
+
# origin_shield_region: "OriginShieldRegion",
|
|
11265
|
+
# },
|
|
11173
11266
|
# },
|
|
11174
11267
|
# ],
|
|
11175
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.
|
|
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-
|
|
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
|