aws-sdk-cloudfront 1.71.0 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +202 -160
- data/lib/aws-sdk-cloudfront/client_api.rb +19 -0
- data/lib/aws-sdk-cloudfront/errors.rb +16 -0
- data/lib/aws-sdk-cloudfront/types.rb +216 -161
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +2 -2
@@ -213,7 +213,7 @@ module Aws::CloudFront
|
|
213
213
|
end
|
214
214
|
|
215
215
|
# @!attribute [rw] target_distribution_id
|
216
|
-
# The ID of the distribution that you
|
216
|
+
# The ID of the distribution that you're associating the alias with.
|
217
217
|
# @return [String]
|
218
218
|
#
|
219
219
|
# @!attribute [rw] alias
|
@@ -269,9 +269,9 @@ module Aws::CloudFront
|
|
269
269
|
# behaviors that you can add to a distribution, see [Quotas][1] in the
|
270
270
|
# *Amazon CloudFront Developer Guide*.
|
271
271
|
#
|
272
|
-
# If you don
|
273
|
-
# empty `CacheBehaviors` element. Don
|
274
|
-
# element because this is invalid.
|
272
|
+
# If you don't want to specify any cache behaviors, include only an
|
273
|
+
# empty `CacheBehaviors` element. Don't include an empty
|
274
|
+
# `CacheBehavior` element because this is invalid.
|
275
275
|
#
|
276
276
|
# To delete all cache behaviors in an existing distribution, update the
|
277
277
|
# distribution configuration and include only an empty `CacheBehaviors`
|
@@ -328,7 +328,7 @@ module Aws::CloudFront
|
|
328
328
|
# When a cache behavior contains trusted signers, CloudFront requires
|
329
329
|
# signed URLs or signed cookies for all requests that match the cache
|
330
330
|
# behavior. The URLs or cookies must be signed with the private key of
|
331
|
-
# a CloudFront key pair in the trusted signer
|
331
|
+
# a CloudFront key pair in the trusted signer's Amazon Web Services
|
332
332
|
# account. The signed URL or cookie contains information about which
|
333
333
|
# public key CloudFront should use to verify the signature. For more
|
334
334
|
# information, see [Serving private content][1] in the *Amazon
|
@@ -379,7 +379,7 @@ module Aws::CloudFront
|
|
379
379
|
# <note markdown="1"> The only way to guarantee that viewers retrieve an object that was
|
380
380
|
# fetched from the origin using HTTPS is never to use any other
|
381
381
|
# protocol to fetch the object. If you have recently changed from HTTP
|
382
|
-
# to HTTPS, we recommend that you clear your objects
|
382
|
+
# to HTTPS, we recommend that you clear your objects' cache because
|
383
383
|
# cached objects are protocol agnostic. That means that an edge
|
384
384
|
# location will return an object from the cache regardless of whether
|
385
385
|
# the current request protocol matches the protocol used previously.
|
@@ -637,7 +637,7 @@ module Aws::CloudFront
|
|
637
637
|
|
638
638
|
# A cache policy.
|
639
639
|
#
|
640
|
-
# When it
|
640
|
+
# When it's attached to a cache behavior, the cache policy determines
|
641
641
|
# the following:
|
642
642
|
#
|
643
643
|
# * The values that CloudFront includes in the cache key. These values
|
@@ -650,8 +650,8 @@ module Aws::CloudFront
|
|
650
650
|
#
|
651
651
|
# The headers, cookies, and query strings that are included in the cache
|
652
652
|
# key are automatically included in requests that CloudFront sends to
|
653
|
-
# the origin. CloudFront sends a request when it can
|
654
|
-
# object in its cache that matches the request
|
653
|
+
# the origin. CloudFront sends a request when it can't find a valid
|
654
|
+
# object in its cache that matches the request's cache key. If you want
|
655
655
|
# to send values to the origin but *not* include them in the cache key,
|
656
656
|
# use `OriginRequestPolicy`.
|
657
657
|
#
|
@@ -706,8 +706,8 @@ module Aws::CloudFront
|
|
706
706
|
#
|
707
707
|
# The headers, cookies, and query strings that are included in the cache
|
708
708
|
# key are automatically included in requests that CloudFront sends to
|
709
|
-
# the origin. CloudFront sends a request when it can
|
710
|
-
# object in its cache that matches the request
|
709
|
+
# the origin. CloudFront sends a request when it can't find a valid
|
710
|
+
# object in its cache that matches the request's cache key. If you want
|
711
711
|
# to send values to the origin but *not* include them in the cache key,
|
712
712
|
# use `OriginRequestPolicy`.
|
713
713
|
#
|
@@ -724,7 +724,7 @@ module Aws::CloudFront
|
|
724
724
|
# The default amount of time, in seconds, that you want objects to
|
725
725
|
# stay in the CloudFront cache before CloudFront sends another request
|
726
726
|
# to the origin to see if the object has been updated. CloudFront uses
|
727
|
-
# this value as the object
|
727
|
+
# this value as the object's time to live (TTL) only when the origin
|
728
728
|
# does *not* send `Cache-Control` or `Expires` headers with the
|
729
729
|
# object. For more information, see [Managing How Long Content Stays
|
730
730
|
# in an Edge Cache (Expiration)][1] in the *Amazon CloudFront
|
@@ -1213,10 +1213,10 @@ module Aws::CloudFront
|
|
1213
1213
|
end
|
1214
1214
|
|
1215
1215
|
# An alias (also called a CNAME) and the CloudFront distribution and
|
1216
|
-
# Amazon Web Services account ID that it
|
1216
|
+
# Amazon Web Services account ID that it's associated with. The
|
1217
1217
|
# distribution and account IDs are partially hidden, which allows you to
|
1218
1218
|
# identify the distributions and accounts that you own, but helps to
|
1219
|
-
# protect the information of ones that you don
|
1219
|
+
# protect the information of ones that you don't own.
|
1220
1220
|
#
|
1221
1221
|
# @!attribute [rw] alias
|
1222
1222
|
# An alias (also called a CNAME).
|
@@ -1229,7 +1229,7 @@ module Aws::CloudFront
|
|
1229
1229
|
#
|
1230
1230
|
# @!attribute [rw] account_id
|
1231
1231
|
# The (partially hidden) ID of the Amazon Web Services account that
|
1232
|
-
# owns the distribution that
|
1232
|
+
# owns the distribution that's associated with the alias.
|
1233
1233
|
# @return [String]
|
1234
1234
|
#
|
1235
1235
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ConflictingAlias AWS API Documentation
|
@@ -1247,7 +1247,7 @@ module Aws::CloudFront
|
|
1247
1247
|
# associated with. In the list, the distribution and account IDs are
|
1248
1248
|
# partially hidden, which allows you to identify the distributions and
|
1249
1249
|
# accounts that you own, but helps to protect the information of ones
|
1250
|
-
# that you don
|
1250
|
+
# that you don't own.
|
1251
1251
|
#
|
1252
1252
|
# @!attribute [rw] next_marker
|
1253
1253
|
# If there are more items in the list than are in this response, this
|
@@ -1486,7 +1486,8 @@ module Aws::CloudFront
|
|
1486
1486
|
#
|
1487
1487
|
# @!attribute [rw] header
|
1488
1488
|
# The request header name that you want CloudFront to send to your
|
1489
|
-
# staging distribution.
|
1489
|
+
# staging distribution. The header must contain the prefix
|
1490
|
+
# `aws-cf-cd-`.
|
1490
1491
|
# @return [String]
|
1491
1492
|
#
|
1492
1493
|
# @!attribute [rw] value
|
@@ -1967,7 +1968,7 @@ module Aws::CloudFront
|
|
1967
1968
|
#
|
1968
1969
|
# @!attribute [rw] function_config
|
1969
1970
|
# Configuration information about the function, including an optional
|
1970
|
-
# comment and the function
|
1971
|
+
# comment and the function's runtime.
|
1971
1972
|
# @return [Types::FunctionConfig]
|
1972
1973
|
#
|
1973
1974
|
# @!attribute [rw] function_code
|
@@ -2276,7 +2277,7 @@ module Aws::CloudFront
|
|
2276
2277
|
|
2277
2278
|
# @!attribute [rw] response_headers_policy_config
|
2278
2279
|
# Contains metadata about the response headers policy, and a set of
|
2279
|
-
# configurations that specify the
|
2280
|
+
# configurations that specify the HTTP headers.
|
2280
2281
|
# @return [Types::ResponseHeadersPolicyConfig]
|
2281
2282
|
#
|
2282
2283
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateResponseHeadersPolicyRequest AWS API Documentation
|
@@ -2594,7 +2595,7 @@ module Aws::CloudFront
|
|
2594
2595
|
# Specifies how long, in seconds, CloudFront waits for a response from
|
2595
2596
|
# the origin. This is also known as the *origin response timeout*. The
|
2596
2597
|
# minimum timeout is 1 second, the maximum is 60 seconds, and the
|
2597
|
-
# default (if you don
|
2598
|
+
# default (if you don't specify otherwise) is 30 seconds.
|
2598
2599
|
#
|
2599
2600
|
# For more information, see [Origin Response Timeout][1] in the
|
2600
2601
|
# *Amazon CloudFront Developer Guide*.
|
@@ -2607,7 +2608,7 @@ module Aws::CloudFront
|
|
2607
2608
|
# @!attribute [rw] origin_keepalive_timeout
|
2608
2609
|
# Specifies how long, in seconds, CloudFront persists its connection
|
2609
2610
|
# to the origin. The minimum timeout is 1 second, the maximum is 60
|
2610
|
-
# seconds, and the default (if you don
|
2611
|
+
# seconds, and the default (if you don't specify otherwise) is 5
|
2611
2612
|
# seconds.
|
2612
2613
|
#
|
2613
2614
|
# For more information, see [Origin Keep-alive Timeout][1] in the
|
@@ -2631,8 +2632,8 @@ module Aws::CloudFront
|
|
2631
2632
|
include Aws::Structure
|
2632
2633
|
end
|
2633
2634
|
|
2634
|
-
# A complex type that describes the default cache behavior if you don
|
2635
|
-
# specify a `CacheBehavior` element or if request URLs don
|
2635
|
+
# A complex type that describes the default cache behavior if you don't
|
2636
|
+
# specify a `CacheBehavior` element or if request URLs don't match any
|
2636
2637
|
# of the values of `PathPattern` in `CacheBehavior` elements. You must
|
2637
2638
|
# create exactly one default cache behavior.
|
2638
2639
|
#
|
@@ -2650,7 +2651,7 @@ module Aws::CloudFront
|
|
2650
2651
|
# When a cache behavior contains trusted signers, CloudFront requires
|
2651
2652
|
# signed URLs or signed cookies for all requests that match the cache
|
2652
2653
|
# behavior. The URLs or cookies must be signed with the private key of
|
2653
|
-
# a CloudFront key pair in a trusted signer
|
2654
|
+
# a CloudFront key pair in a trusted signer's Amazon Web Services
|
2654
2655
|
# account. The signed URL or cookie contains information about which
|
2655
2656
|
# public key CloudFront should use to verify the signature. For more
|
2656
2657
|
# information, see [Serving private content][1] in the *Amazon
|
@@ -2701,7 +2702,7 @@ module Aws::CloudFront
|
|
2701
2702
|
# <note markdown="1"> The only way to guarantee that viewers retrieve an object that was
|
2702
2703
|
# fetched from the origin using HTTPS is never to use any other
|
2703
2704
|
# protocol to fetch the object. If you have recently changed from HTTP
|
2704
|
-
# to HTTPS, we recommend that you clear your objects
|
2705
|
+
# to HTTPS, we recommend that you clear your objects' cache because
|
2705
2706
|
# cached objects are protocol agnostic. That means that an edge
|
2706
2707
|
# location will return an object from the cache regardless of whether
|
2707
2708
|
# the current request protocol matches the protocol used previously.
|
@@ -2943,7 +2944,7 @@ module Aws::CloudFront
|
|
2943
2944
|
#
|
2944
2945
|
# @!attribute [rw] if_match
|
2945
2946
|
# The version of the cache policy that you are deleting. The version
|
2946
|
-
# is the cache policy
|
2947
|
+
# is the cache policy's `ETag` value, which you can get using
|
2947
2948
|
# `ListCachePolicies`, `GetCachePolicy`, or `GetCachePolicyConfig`.
|
2948
2949
|
# @return [String]
|
2949
2950
|
#
|
@@ -3118,7 +3119,7 @@ module Aws::CloudFront
|
|
3118
3119
|
#
|
3119
3120
|
# @!attribute [rw] if_match
|
3120
3121
|
# The version of the key group that you are deleting. The version is
|
3121
|
-
# the key group
|
3122
|
+
# the key group's `ETag` value. To get the `ETag`, use `GetKeyGroup`
|
3122
3123
|
# or `GetKeyGroupConfig`.
|
3123
3124
|
# @return [String]
|
3124
3125
|
#
|
@@ -3174,7 +3175,7 @@ module Aws::CloudFront
|
|
3174
3175
|
#
|
3175
3176
|
# @!attribute [rw] if_match
|
3176
3177
|
# The version of the origin request policy that you are deleting. The
|
3177
|
-
# version is the origin request policy
|
3178
|
+
# version is the origin request policy's `ETag` value, which you can
|
3178
3179
|
# get using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
|
3179
3180
|
# `GetOriginRequestPolicyConfig`.
|
3180
3181
|
# @return [String]
|
@@ -3234,8 +3235,8 @@ module Aws::CloudFront
|
|
3234
3235
|
# @!attribute [rw] if_match
|
3235
3236
|
# The version of the response headers policy that you are deleting.
|
3236
3237
|
#
|
3237
|
-
# The version is the response headers policy
|
3238
|
-
# can get using `ListResponseHeadersPolicies`,
|
3238
|
+
# The version is the response headers policy's `ETag` value, which
|
3239
|
+
# you can get using `ListResponseHeadersPolicies`,
|
3239
3240
|
# `GetResponseHeadersPolicy`, or `GetResponseHeadersPolicyConfig`.
|
3240
3241
|
# @return [String]
|
3241
3242
|
#
|
@@ -3273,7 +3274,7 @@ module Aws::CloudFront
|
|
3273
3274
|
# @return [String]
|
3274
3275
|
#
|
3275
3276
|
# @!attribute [rw] stage
|
3276
|
-
# The function
|
3277
|
+
# The function's stage, either `DEVELOPMENT` or `LIVE`.
|
3277
3278
|
# @return [String]
|
3278
3279
|
#
|
3279
3280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DescribeFunctionRequest AWS API Documentation
|
@@ -3308,16 +3309,16 @@ module Aws::CloudFront
|
|
3308
3309
|
# from, and the details about how to track and manage content delivery.
|
3309
3310
|
#
|
3310
3311
|
# @!attribute [rw] id
|
3311
|
-
# The distribution
|
3312
|
+
# The distribution's identifier. For example: `E1U5RQF7T870K0`.
|
3312
3313
|
# @return [String]
|
3313
3314
|
#
|
3314
3315
|
# @!attribute [rw] arn
|
3315
|
-
# The distribution
|
3316
|
+
# The distribution's Amazon Resource Name (ARN).
|
3316
3317
|
# @return [String]
|
3317
3318
|
#
|
3318
3319
|
# @!attribute [rw] status
|
3319
|
-
# The distribution
|
3320
|
-
# distribution
|
3320
|
+
# The distribution's status. When the status is `Deployed`, the
|
3321
|
+
# distribution's information is fully propagated to all CloudFront
|
3321
3322
|
# edge locations.
|
3322
3323
|
# @return [String]
|
3323
3324
|
#
|
@@ -3330,31 +3331,26 @@ module Aws::CloudFront
|
|
3330
3331
|
# @return [Integer]
|
3331
3332
|
#
|
3332
3333
|
# @!attribute [rw] domain_name
|
3333
|
-
# The distribution
|
3334
|
+
# The distribution's CloudFront domain name. For example:
|
3334
3335
|
# `d111111abcdef8.cloudfront.net`.
|
3335
3336
|
# @return [String]
|
3336
3337
|
#
|
3337
3338
|
# @!attribute [rw] active_trusted_signers
|
3338
3339
|
# We recommend using `TrustedKeyGroups` instead of `TrustedSigners`.
|
3339
3340
|
#
|
3340
|
-
#
|
3341
|
-
#
|
3342
|
-
#
|
3343
|
-
# Web Services account IDs and the active CloudFront key pairs in each
|
3344
|
-
# account that CloudFront can use to verify the signatures of signed
|
3345
|
-
# URLs or signed cookies.
|
3341
|
+
# This field contains a list of Amazon Web Services account IDs and
|
3342
|
+
# the active CloudFront key pairs in each account that CloudFront can
|
3343
|
+
# use to verify the signatures of signed URLs or signed cookies.
|
3346
3344
|
# @return [Types::ActiveTrustedSigners]
|
3347
3345
|
#
|
3348
3346
|
# @!attribute [rw] active_trusted_key_groups
|
3349
|
-
#
|
3350
|
-
#
|
3351
|
-
#
|
3352
|
-
# and the public keys in each key group that CloudFront can use to
|
3353
|
-
# verify the signatures of signed URLs or signed cookies.
|
3347
|
+
# This field contains a list of key groups and the public keys in each
|
3348
|
+
# key group that CloudFront can use to verify the signatures of signed
|
3349
|
+
# URLs or signed cookies.
|
3354
3350
|
# @return [Types::ActiveTrustedKeyGroups]
|
3355
3351
|
#
|
3356
3352
|
# @!attribute [rw] distribution_config
|
3357
|
-
# The distribution
|
3353
|
+
# The distribution's configuration.
|
3358
3354
|
# @return [Types::DistributionConfig]
|
3359
3355
|
#
|
3360
3356
|
# @!attribute [rw] alias_icp_recordals
|
@@ -3494,8 +3490,8 @@ module Aws::CloudFront
|
|
3494
3490
|
# @return [Types::CustomErrorResponses]
|
3495
3491
|
#
|
3496
3492
|
# @!attribute [rw] comment
|
3497
|
-
#
|
3498
|
-
#
|
3493
|
+
# A comment to describe the distribution. The comment cannot be longer
|
3494
|
+
# than 128 characters.
|
3499
3495
|
# @return [String]
|
3500
3496
|
#
|
3501
3497
|
# @!attribute [rw] logging
|
@@ -3540,7 +3536,7 @@ module Aws::CloudFront
|
|
3540
3536
|
# @return [Boolean]
|
3541
3537
|
#
|
3542
3538
|
# @!attribute [rw] viewer_certificate
|
3543
|
-
# A complex type that determines the distribution
|
3539
|
+
# A complex type that determines the distribution's SSL/TLS
|
3544
3540
|
# configuration for communicating with viewers.
|
3545
3541
|
# @return [Types::ViewerCertificate]
|
3546
3542
|
#
|
@@ -3874,7 +3870,7 @@ module Aws::CloudFront
|
|
3874
3870
|
# @return [Boolean]
|
3875
3871
|
#
|
3876
3872
|
# @!attribute [rw] viewer_certificate
|
3877
|
-
# A complex type that determines the distribution
|
3873
|
+
# A complex type that determines the distribution's SSL/TLS
|
3878
3874
|
# configuration for communicating with viewers.
|
3879
3875
|
# @return [Types::ViewerCertificate]
|
3880
3876
|
#
|
@@ -4592,7 +4588,7 @@ module Aws::CloudFront
|
|
4592
4588
|
# @return [String]
|
4593
4589
|
#
|
4594
4590
|
# @!attribute [rw] runtime
|
4595
|
-
# The function
|
4591
|
+
# The function's runtime environment. The only valid value is
|
4596
4592
|
# `cloudfront-js-1.0`.
|
4597
4593
|
# @return [String]
|
4598
4594
|
#
|
@@ -4605,7 +4601,7 @@ module Aws::CloudFront
|
|
4605
4601
|
include Aws::Structure
|
4606
4602
|
end
|
4607
4603
|
|
4608
|
-
# Cannot delete the function because it
|
4604
|
+
# Cannot delete the function because it's attached to one or more cache
|
4609
4605
|
# behaviors.
|
4610
4606
|
#
|
4611
4607
|
# @!attribute [rw] message
|
@@ -4665,7 +4661,7 @@ module Aws::CloudFront
|
|
4665
4661
|
# function with `TestFunction`, and update it with `UpdateFunction`.
|
4666
4662
|
#
|
4667
4663
|
# When a function is in the `LIVE` stage, you can attach the function
|
4668
|
-
# to a distribution
|
4664
|
+
# to a distribution's cache behavior, using the function's ARN.
|
4669
4665
|
# @return [String]
|
4670
4666
|
#
|
4671
4667
|
# @!attribute [rw] created_time
|
@@ -4787,8 +4783,8 @@ module Aws::CloudFront
|
|
4787
4783
|
|
4788
4784
|
# @!attribute [rw] id
|
4789
4785
|
# The unique identifier for the cache policy. If the cache policy is
|
4790
|
-
# attached to a distribution
|
4791
|
-
# policy
|
4786
|
+
# attached to a distribution's cache behavior, you can get the
|
4787
|
+
# policy's identifier using `ListDistributions` or `GetDistribution`.
|
4792
4788
|
# If the cache policy is not attached to a cache behavior, you can get
|
4793
4789
|
# the identifier using `ListCachePolicies`.
|
4794
4790
|
# @return [String]
|
@@ -4820,8 +4816,8 @@ module Aws::CloudFront
|
|
4820
4816
|
|
4821
4817
|
# @!attribute [rw] id
|
4822
4818
|
# The unique identifier for the cache policy. If the cache policy is
|
4823
|
-
# attached to a distribution
|
4824
|
-
# policy
|
4819
|
+
# attached to a distribution's cache behavior, you can get the
|
4820
|
+
# policy's identifier using `ListDistributions` or `GetDistribution`.
|
4825
4821
|
# If the cache policy is not attached to a cache behavior, you can get
|
4826
4822
|
# the identifier using `ListCachePolicies`.
|
4827
4823
|
# @return [String]
|
@@ -5184,7 +5180,7 @@ module Aws::CloudFront
|
|
5184
5180
|
# @return [String]
|
5185
5181
|
#
|
5186
5182
|
# @!attribute [rw] stage
|
5187
|
-
# The function
|
5183
|
+
# The function's stage, either `DEVELOPMENT` or `LIVE`.
|
5188
5184
|
# @return [String]
|
5189
5185
|
#
|
5190
5186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFunctionRequest AWS API Documentation
|
@@ -5407,8 +5403,8 @@ module Aws::CloudFront
|
|
5407
5403
|
|
5408
5404
|
# @!attribute [rw] id
|
5409
5405
|
# The unique identifier for the origin request policy. If the origin
|
5410
|
-
# request policy is attached to a distribution
|
5411
|
-
# can get the policy
|
5406
|
+
# request policy is attached to a distribution's cache behavior, you
|
5407
|
+
# can get the policy's identifier using `ListDistributions` or
|
5412
5408
|
# `GetDistribution`. If the origin request policy is not attached to a
|
5413
5409
|
# cache behavior, you can get the identifier using
|
5414
5410
|
# `ListOriginRequestPolicies`.
|
@@ -5441,8 +5437,8 @@ module Aws::CloudFront
|
|
5441
5437
|
|
5442
5438
|
# @!attribute [rw] id
|
5443
5439
|
# The unique identifier for the origin request policy. If the origin
|
5444
|
-
# request policy is attached to a distribution
|
5445
|
-
# can get the policy
|
5440
|
+
# request policy is attached to a distribution's cache behavior, you
|
5441
|
+
# can get the policy's identifier using `ListDistributions` or
|
5446
5442
|
# `GetDistribution`. If the origin request policy is not attached to a
|
5447
5443
|
# cache behavior, you can get the identifier using
|
5448
5444
|
# `ListOriginRequestPolicies`.
|
@@ -5565,8 +5561,8 @@ module Aws::CloudFront
|
|
5565
5561
|
# @!attribute [rw] id
|
5566
5562
|
# The identifier for the response headers policy.
|
5567
5563
|
#
|
5568
|
-
# If the response headers policy is attached to a distribution
|
5569
|
-
# behavior, you can get the policy
|
5564
|
+
# If the response headers policy is attached to a distribution's
|
5565
|
+
# cache behavior, you can get the policy's identifier using
|
5570
5566
|
# `ListDistributions` or `GetDistribution`. If the response headers
|
5571
5567
|
# policy is not attached to a cache behavior, you can get the
|
5572
5568
|
# identifier using `ListResponseHeadersPolicies`.
|
@@ -5601,8 +5597,8 @@ module Aws::CloudFront
|
|
5601
5597
|
# @!attribute [rw] id
|
5602
5598
|
# The identifier for the response headers policy.
|
5603
5599
|
#
|
5604
|
-
# If the response headers policy is attached to a distribution
|
5605
|
-
# behavior, you can get the policy
|
5600
|
+
# If the response headers policy is attached to a distribution's
|
5601
|
+
# cache behavior, you can get the policy's identifier using
|
5606
5602
|
# `ListDistributions` or `GetDistribution`. If the response headers
|
5607
5603
|
# policy is not attached to a cache behavior, you can get the
|
5608
5604
|
# identifier using `ListResponseHeadersPolicies`.
|
@@ -6587,8 +6583,8 @@ module Aws::CloudFront
|
|
6587
6583
|
# Use this field when paginating results to indicate where to begin in
|
6588
6584
|
# your list of cache policies. The response includes cache policies in
|
6589
6585
|
# the list that occur after the marker. To get the next page of the
|
6590
|
-
# list, set this field
|
6591
|
-
# current page
|
6586
|
+
# list, set this field's value to the value of `NextMarker` from the
|
6587
|
+
# current page's response.
|
6592
6588
|
# @return [String]
|
6593
6589
|
#
|
6594
6590
|
# @!attribute [rw] max_items
|
@@ -6669,8 +6665,8 @@ module Aws::CloudFront
|
|
6669
6665
|
# Use this field when paginating results to indicate where to begin in
|
6670
6666
|
# the list of conflicting aliases. The response includes conflicting
|
6671
6667
|
# aliases in the list that occur after the marker. To get the next
|
6672
|
-
# page of the list, set this field
|
6673
|
-
# `NextMarker` from the current page
|
6668
|
+
# page of the list, set this field's value to the value of
|
6669
|
+
# `NextMarker` from the current page's response.
|
6674
6670
|
# @return [String]
|
6675
6671
|
#
|
6676
6672
|
# @!attribute [rw] max_items
|
@@ -6705,8 +6701,8 @@ module Aws::CloudFront
|
|
6705
6701
|
# Use this field when paginating results to indicate where to begin in
|
6706
6702
|
# your list of continuous deployment policies. The response includes
|
6707
6703
|
# policies in the list that occur after the marker. To get the next
|
6708
|
-
# page of the list, set this field
|
6709
|
-
# `NextMarker` from the current page
|
6704
|
+
# page of the list, set this field's value to the value of
|
6705
|
+
# `NextMarker` from the current page's response.
|
6710
6706
|
# @return [String]
|
6711
6707
|
#
|
6712
6708
|
# @!attribute [rw] max_items
|
@@ -6739,8 +6735,8 @@ module Aws::CloudFront
|
|
6739
6735
|
# Use this field when paginating results to indicate where to begin in
|
6740
6736
|
# your list of distribution IDs. The response includes distribution
|
6741
6737
|
# IDs in the list that occur after the marker. To get the next page of
|
6742
|
-
# the list, set this field
|
6743
|
-
# the current page
|
6738
|
+
# the list, set this field's value to the value of `NextMarker` from
|
6739
|
+
# the current page's response.
|
6744
6740
|
# @return [String]
|
6745
6741
|
#
|
6746
6742
|
# @!attribute [rw] max_items
|
@@ -6779,8 +6775,8 @@ module Aws::CloudFront
|
|
6779
6775
|
# Use this field when paginating results to indicate where to begin in
|
6780
6776
|
# your list of distribution IDs. The response includes distribution
|
6781
6777
|
# IDs in the list that occur after the marker. To get the next page of
|
6782
|
-
# the list, set this field
|
6783
|
-
# the current page
|
6778
|
+
# the list, set this field's value to the value of `NextMarker` from
|
6779
|
+
# the current page's response.
|
6784
6780
|
# @return [String]
|
6785
6781
|
#
|
6786
6782
|
# @!attribute [rw] max_items
|
@@ -6819,8 +6815,8 @@ module Aws::CloudFront
|
|
6819
6815
|
# Use this field when paginating results to indicate where to begin in
|
6820
6816
|
# your list of distribution IDs. The response includes distribution
|
6821
6817
|
# IDs in the list that occur after the marker. To get the next page of
|
6822
|
-
# the list, set this field
|
6823
|
-
# the current page
|
6818
|
+
# the list, set this field's value to the value of `NextMarker` from
|
6819
|
+
# the current page's response.
|
6824
6820
|
# @return [String]
|
6825
6821
|
#
|
6826
6822
|
# @!attribute [rw] max_items
|
@@ -6859,8 +6855,8 @@ module Aws::CloudFront
|
|
6859
6855
|
# Use this field when paginating results to indicate where to begin in
|
6860
6856
|
# your list of distributions. The response includes distributions in
|
6861
6857
|
# the list that occur after the marker. To get the next page of the
|
6862
|
-
# list, set this field
|
6863
|
-
# current page
|
6858
|
+
# list, set this field's value to the value of `NextMarker` from the
|
6859
|
+
# current page's response.
|
6864
6860
|
# @return [String]
|
6865
6861
|
#
|
6866
6862
|
# @!attribute [rw] max_items
|
@@ -6904,8 +6900,8 @@ module Aws::CloudFront
|
|
6904
6900
|
# Use this field when paginating results to indicate where to begin in
|
6905
6901
|
# your list of distribution IDs. The response includes distribution
|
6906
6902
|
# IDs in the list that occur after the marker. To get the next page of
|
6907
|
-
# the list, set this field
|
6908
|
-
# the current page
|
6903
|
+
# the list, set this field's value to the value of `NextMarker` from
|
6904
|
+
# the current page's response.
|
6909
6905
|
# @return [String]
|
6910
6906
|
#
|
6911
6907
|
# @!attribute [rw] max_items
|
@@ -7103,8 +7099,8 @@ module Aws::CloudFront
|
|
7103
7099
|
# Use this field when paginating results to indicate where to begin in
|
7104
7100
|
# your list of functions. The response includes functions in the list
|
7105
7101
|
# that occur after the marker. To get the next page of the list, set
|
7106
|
-
# this field
|
7107
|
-
# page
|
7102
|
+
# this field's value to the value of `NextMarker` from the current
|
7103
|
+
# page's response.
|
7108
7104
|
# @return [String]
|
7109
7105
|
#
|
7110
7106
|
# @!attribute [rw] max_items
|
@@ -7188,8 +7184,8 @@ module Aws::CloudFront
|
|
7188
7184
|
# Use this field when paginating results to indicate where to begin in
|
7189
7185
|
# your list of key groups. The response includes key groups in the
|
7190
7186
|
# list that occur after the marker. To get the next page of the list,
|
7191
|
-
# set this field
|
7192
|
-
# page
|
7187
|
+
# set this field's value to the value of `NextMarker` from the
|
7188
|
+
# current page's response.
|
7193
7189
|
# @return [String]
|
7194
7190
|
#
|
7195
7191
|
# @!attribute [rw] max_items
|
@@ -7266,8 +7262,8 @@ module Aws::CloudFront
|
|
7266
7262
|
# Use this field when paginating results to indicate where to begin in
|
7267
7263
|
# your list of origin request policies. The response includes origin
|
7268
7264
|
# request policies in the list that occur after the marker. To get the
|
7269
|
-
# next page of the list, set this field
|
7270
|
-
# `NextMarker` from the current page
|
7265
|
+
# next page of the list, set this field's value to the value of
|
7266
|
+
# `NextMarker` from the current page's response.
|
7271
7267
|
# @return [String]
|
7272
7268
|
#
|
7273
7269
|
# @!attribute [rw] max_items
|
@@ -7341,8 +7337,8 @@ module Aws::CloudFront
|
|
7341
7337
|
# Use this field when paginating results to indicate where to begin in
|
7342
7338
|
# your list of real-time log configurations. The response includes
|
7343
7339
|
# real-time log configurations in the list that occur after the
|
7344
|
-
# marker. To get the next page of the list, set this field
|
7345
|
-
# the value of `NextMarker` from the current page
|
7340
|
+
# marker. To get the next page of the list, set this field's value to
|
7341
|
+
# the value of `NextMarker` from the current page's response.
|
7346
7342
|
# @return [String]
|
7347
7343
|
#
|
7348
7344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigsRequest AWS API Documentation
|
@@ -7381,8 +7377,8 @@ module Aws::CloudFront
|
|
7381
7377
|
# Use this field when paginating results to indicate where to begin in
|
7382
7378
|
# your list of response headers policies. The response includes
|
7383
7379
|
# response headers policies in the list that occur after the marker.
|
7384
|
-
# To get the next page of the list, set this field
|
7385
|
-
# value of `NextMarker` from the current page
|
7380
|
+
# To get the next page of the list, set this field's value to the
|
7381
|
+
# value of `NextMarker` from the current page's response.
|
7386
7382
|
# @return [String]
|
7387
7383
|
#
|
7388
7384
|
# @!attribute [rw] max_items
|
@@ -7590,7 +7586,7 @@ module Aws::CloudFront
|
|
7590
7586
|
include Aws::Structure
|
7591
7587
|
end
|
7592
7588
|
|
7593
|
-
# The continuous deployment policy doesn
|
7589
|
+
# The continuous deployment policy doesn't exist.
|
7594
7590
|
#
|
7595
7591
|
# @!attribute [rw] message
|
7596
7592
|
# @return [String]
|
@@ -7879,12 +7875,12 @@ module Aws::CloudFront
|
|
7879
7875
|
# @!attribute [rw] connection_attempts
|
7880
7876
|
# The number of times that CloudFront attempts to connect to the
|
7881
7877
|
# origin. The minimum number is 1, the maximum is 3, and the default
|
7882
|
-
# (if you don
|
7878
|
+
# (if you don't specify otherwise) is 3.
|
7883
7879
|
#
|
7884
|
-
# For a custom origin (including an Amazon S3 bucket that
|
7885
|
-
# with static website hosting), this value also specifies
|
7886
|
-
# of times that CloudFront attempts to get a response from
|
7887
|
-
# in the case of an [Origin Response Timeout][1].
|
7880
|
+
# For a custom origin (including an Amazon S3 bucket that's
|
7881
|
+
# configured with static website hosting), this value also specifies
|
7882
|
+
# the number of times that CloudFront attempts to get a response from
|
7883
|
+
# the origin, in the case of an [Origin Response Timeout][1].
|
7888
7884
|
#
|
7889
7885
|
# For more information, see [Origin Connection Attempts][2] in the
|
7890
7886
|
# *Amazon CloudFront Developer Guide*.
|
@@ -7898,7 +7894,7 @@ module Aws::CloudFront
|
|
7898
7894
|
# @!attribute [rw] connection_timeout
|
7899
7895
|
# The number of seconds that CloudFront waits when trying to establish
|
7900
7896
|
# a connection to the origin. The minimum timeout is 1 second, the
|
7901
|
-
# maximum is 10 seconds, and the default (if you don
|
7897
|
+
# maximum is 10 seconds, and the default (if you don't specify
|
7902
7898
|
# otherwise) is 10 seconds.
|
7903
7899
|
#
|
7904
7900
|
# For more information, see [Origin Connection Timeout][1] in the
|
@@ -8287,7 +8283,7 @@ module Aws::CloudFront
|
|
8287
8283
|
|
8288
8284
|
# An origin request policy.
|
8289
8285
|
#
|
8290
|
-
# When it
|
8286
|
+
# When it's attached to a cache behavior, the origin request policy
|
8291
8287
|
# determines the values that CloudFront includes in requests that it
|
8292
8288
|
# sends to the origin. Each request that CloudFront sends to the origin
|
8293
8289
|
# includes the following:
|
@@ -8303,7 +8299,7 @@ module Aws::CloudFront
|
|
8303
8299
|
# items from the viewer request and, in the case of headers,
|
8304
8300
|
# additional ones that are added by CloudFront.
|
8305
8301
|
#
|
8306
|
-
# CloudFront sends a request when it can
|
8302
|
+
# CloudFront sends a request when it can't find an object in its cache
|
8307
8303
|
# that matches the request. If you want to send values to the origin and
|
8308
8304
|
# also include them in the cache key, use `CachePolicy`.
|
8309
8305
|
#
|
@@ -8361,7 +8357,7 @@ module Aws::CloudFront
|
|
8361
8357
|
# items from the viewer request and, in the case of headers,
|
8362
8358
|
# additional ones that are added by CloudFront.
|
8363
8359
|
#
|
8364
|
-
# CloudFront sends a request when it can
|
8360
|
+
# CloudFront sends a request when it can't find an object in its cache
|
8365
8361
|
# that matches the request. If you want to send values to the origin and
|
8366
8362
|
# also include them in the cache key, use `CachePolicy`.
|
8367
8363
|
#
|
@@ -8589,8 +8585,8 @@ module Aws::CloudFront
|
|
8589
8585
|
# @!attribute [rw] enabled
|
8590
8586
|
# A flag that specifies whether Origin Shield is enabled.
|
8591
8587
|
#
|
8592
|
-
# When it
|
8593
|
-
# Shield, which can help protect your origin. When it
|
8588
|
+
# When it's enabled, CloudFront routes all requests through Origin
|
8589
|
+
# Shield, which can help protect your origin. When it's disabled,
|
8594
8590
|
# CloudFront might send requests directly to your origin from multiple
|
8595
8591
|
# edge locations or regional edge caches.
|
8596
8592
|
# @return [Boolean]
|
@@ -8673,9 +8669,9 @@ module Aws::CloudFront
|
|
8673
8669
|
#
|
8674
8670
|
# The headers, cookies, and query strings that are included in the cache
|
8675
8671
|
# key are automatically included in requests that CloudFront sends to
|
8676
|
-
# the origin. CloudFront sends a request when it can
|
8677
|
-
# its cache that matches the request
|
8678
|
-
# values to the origin but *not* include them in the cache key, use
|
8672
|
+
# the origin. CloudFront sends a request when it can't find an object
|
8673
|
+
# in its cache that matches the request's cache key. If you want to
|
8674
|
+
# send values to the origin but *not* include them in the cache key, use
|
8679
8675
|
# `OriginRequestPolicy`.
|
8680
8676
|
#
|
8681
8677
|
# @!attribute [rw] enable_accept_encoding_gzip
|
@@ -8688,7 +8684,7 @@ module Aws::CloudFront
|
|
8688
8684
|
# includes the `Accept-Encoding` header, then CloudFront does the
|
8689
8685
|
# following:
|
8690
8686
|
#
|
8691
|
-
# * Normalizes the value of the viewer
|
8687
|
+
# * Normalizes the value of the viewer's `Accept-Encoding` header
|
8692
8688
|
#
|
8693
8689
|
# * Includes the normalized header in the cache key
|
8694
8690
|
#
|
@@ -8707,10 +8703,10 @@ module Aws::CloudFront
|
|
8707
8703
|
#
|
8708
8704
|
# If both of these fields are `false`, then CloudFront treats the
|
8709
8705
|
# `Accept-Encoding` header the same as any other HTTP header in the
|
8710
|
-
# viewer request. By default, it
|
8711
|
-
# it
|
8712
|
-
# add `Accept-Encoding` to the headers whitelist like any
|
8713
|
-
# header.
|
8706
|
+
# viewer request. By default, it's not included in the cache key and
|
8707
|
+
# it's not included in origin requests. In this case, you can
|
8708
|
+
# manually add `Accept-Encoding` to the headers whitelist like any
|
8709
|
+
# other HTTP header.
|
8714
8710
|
#
|
8715
8711
|
#
|
8716
8712
|
#
|
@@ -8727,7 +8723,7 @@ module Aws::CloudFront
|
|
8727
8723
|
# includes the `Accept-Encoding` header, then CloudFront does the
|
8728
8724
|
# following:
|
8729
8725
|
#
|
8730
|
-
# * Normalizes the value of the viewer
|
8726
|
+
# * Normalizes the value of the viewer's `Accept-Encoding` header
|
8731
8727
|
#
|
8732
8728
|
# * Includes the normalized header in the cache key
|
8733
8729
|
#
|
@@ -8746,10 +8742,10 @@ module Aws::CloudFront
|
|
8746
8742
|
#
|
8747
8743
|
# If both of these fields are `false`, then CloudFront treats the
|
8748
8744
|
# `Accept-Encoding` header the same as any other HTTP header in the
|
8749
|
-
# viewer request. By default, it
|
8750
|
-
# it
|
8751
|
-
# add `Accept-Encoding` to the headers whitelist like any
|
8752
|
-
# header.
|
8745
|
+
# viewer request. By default, it's not included in the cache key and
|
8746
|
+
# it's not included in origin requests. In this case, you can
|
8747
|
+
# manually add `Accept-Encoding` to the headers whitelist like any
|
8748
|
+
# other HTTP header.
|
8753
8749
|
#
|
8754
8750
|
#
|
8755
8751
|
#
|
@@ -8890,7 +8886,7 @@ module Aws::CloudFront
|
|
8890
8886
|
#
|
8891
8887
|
# @!attribute [rw] caller_reference
|
8892
8888
|
# A string included in the request to help make sure that the request
|
8893
|
-
# can
|
8889
|
+
# can't be replayed.
|
8894
8890
|
# @return [String]
|
8895
8891
|
#
|
8896
8892
|
# @!attribute [rw] name
|
@@ -9331,20 +9327,22 @@ module Aws::CloudFront
|
|
9331
9327
|
# A response headers policy.
|
9332
9328
|
#
|
9333
9329
|
# A response headers policy contains information about a set of HTTP
|
9334
|
-
# response headers
|
9330
|
+
# response headers.
|
9335
9331
|
#
|
9336
9332
|
# After you create a response headers policy, you can use its ID to
|
9337
9333
|
# attach it to one or more cache behaviors in a CloudFront distribution.
|
9338
|
-
# When it
|
9339
|
-
# the
|
9340
|
-
# cache behavior.
|
9334
|
+
# When it's attached to a cache behavior, the response headers policy
|
9335
|
+
# affects the HTTP headers that CloudFront includes in HTTP responses to
|
9336
|
+
# requests that match the cache behavior. CloudFront adds or removes
|
9337
|
+
# response headers according to the configuration of the response
|
9338
|
+
# headers policy.
|
9341
9339
|
#
|
9342
|
-
# For more information, see [Adding HTTP headers
|
9343
|
-
# responses][1] in the *Amazon CloudFront Developer Guide*.
|
9340
|
+
# For more information, see [Adding or removing HTTP headers in
|
9341
|
+
# CloudFront responses][1] in the *Amazon CloudFront Developer Guide*.
|
9344
9342
|
#
|
9345
9343
|
#
|
9346
9344
|
#
|
9347
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
9345
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html
|
9348
9346
|
#
|
9349
9347
|
# @!attribute [rw] id
|
9350
9348
|
# The identifier for the response headers policy.
|
@@ -9357,11 +9355,6 @@ module Aws::CloudFront
|
|
9357
9355
|
#
|
9358
9356
|
# @!attribute [rw] response_headers_policy_config
|
9359
9357
|
# A response headers policy configuration.
|
9360
|
-
#
|
9361
|
-
# A response headers policy contains information about a set of HTTP
|
9362
|
-
# response headers and their values. CloudFront adds the headers in
|
9363
|
-
# the policy to HTTP responses that it sends for requests that match a
|
9364
|
-
# cache behavior that’s associated with the policy.
|
9365
9358
|
# @return [Types::ResponseHeadersPolicyConfig]
|
9366
9359
|
#
|
9367
9360
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ResponseHeadersPolicy AWS API Documentation
|
@@ -9526,9 +9519,7 @@ module Aws::CloudFront
|
|
9526
9519
|
#
|
9527
9520
|
# A response headers policy configuration contains metadata about the
|
9528
9521
|
# response headers policy, and configurations for sets of HTTP response
|
9529
|
-
# headers
|
9530
|
-
# HTTP responses that it sends for requests that match a cache behavior
|
9531
|
-
# associated with the policy.
|
9522
|
+
# headers.
|
9532
9523
|
#
|
9533
9524
|
# @!attribute [rw] comment
|
9534
9525
|
# A comment to describe the response headers policy.
|
@@ -9561,6 +9552,11 @@ module Aws::CloudFront
|
|
9561
9552
|
# A configuration for a set of custom HTTP response headers.
|
9562
9553
|
# @return [Types::ResponseHeadersPolicyCustomHeadersConfig]
|
9563
9554
|
#
|
9555
|
+
# @!attribute [rw] remove_headers_config
|
9556
|
+
# A configuration for a set of HTTP headers to remove from the HTTP
|
9557
|
+
# response.
|
9558
|
+
# @return [Types::ResponseHeadersPolicyRemoveHeadersConfig]
|
9559
|
+
#
|
9564
9560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ResponseHeadersPolicyConfig AWS API Documentation
|
9565
9561
|
#
|
9566
9562
|
class ResponseHeadersPolicyConfig < Struct.new(
|
@@ -9569,7 +9565,8 @@ module Aws::CloudFront
|
|
9569
9565
|
:cors_config,
|
9570
9566
|
:security_headers_config,
|
9571
9567
|
:server_timing_headers_config,
|
9572
|
-
:custom_headers_config
|
9568
|
+
:custom_headers_config,
|
9569
|
+
:remove_headers_config)
|
9573
9570
|
SENSITIVE = []
|
9574
9571
|
include Aws::Structure
|
9575
9572
|
end
|
@@ -9740,7 +9737,7 @@ module Aws::CloudFront
|
|
9740
9737
|
|
9741
9738
|
# An HTTP response header name and its value. CloudFront includes this
|
9742
9739
|
# header in HTTP responses that it sends for requests that match a cache
|
9743
|
-
# behavior that
|
9740
|
+
# behavior that's associated with this response headers policy.
|
9744
9741
|
#
|
9745
9742
|
# @!attribute [rw] header
|
9746
9743
|
# The HTTP response header name.
|
@@ -9768,7 +9765,7 @@ module Aws::CloudFront
|
|
9768
9765
|
|
9769
9766
|
# A list of HTTP response header names and their values. CloudFront
|
9770
9767
|
# includes these headers in HTTP responses that it sends for requests
|
9771
|
-
# that match a cache behavior that
|
9768
|
+
# that match a cache behavior that's associated with this response
|
9772
9769
|
# headers policy.
|
9773
9770
|
#
|
9774
9771
|
# @!attribute [rw] quantity
|
@@ -9789,7 +9786,7 @@ module Aws::CloudFront
|
|
9789
9786
|
end
|
9790
9787
|
|
9791
9788
|
# Determines whether CloudFront includes the `X-Frame-Options` HTTP
|
9792
|
-
# response header and the header
|
9789
|
+
# response header and the header's value.
|
9793
9790
|
#
|
9794
9791
|
# For more information about the `X-Frame-Options` HTTP response header,
|
9795
9792
|
# see [X-Frame-Options][1] in the MDN Web Docs.
|
@@ -9872,7 +9869,7 @@ module Aws::CloudFront
|
|
9872
9869
|
end
|
9873
9870
|
|
9874
9871
|
# Determines whether CloudFront includes the `Referrer-Policy` HTTP
|
9875
|
-
# response header and the header
|
9872
|
+
# response header and the header's value.
|
9876
9873
|
#
|
9877
9874
|
# For more information about the `Referrer-Policy` HTTP response header,
|
9878
9875
|
# see [Referrer-Policy][1] in the MDN Web Docs.
|
@@ -9924,6 +9921,43 @@ module Aws::CloudFront
|
|
9924
9921
|
include Aws::Structure
|
9925
9922
|
end
|
9926
9923
|
|
9924
|
+
# The name of an HTTP header that CloudFront removes from HTTP responses
|
9925
|
+
# to requests that match the cache behavior that this response headers
|
9926
|
+
# policy is attached to.
|
9927
|
+
#
|
9928
|
+
# @!attribute [rw] header
|
9929
|
+
# The HTTP header name.
|
9930
|
+
# @return [String]
|
9931
|
+
#
|
9932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ResponseHeadersPolicyRemoveHeader AWS API Documentation
|
9933
|
+
#
|
9934
|
+
class ResponseHeadersPolicyRemoveHeader < Struct.new(
|
9935
|
+
:header)
|
9936
|
+
SENSITIVE = []
|
9937
|
+
include Aws::Structure
|
9938
|
+
end
|
9939
|
+
|
9940
|
+
# A list of HTTP header names that CloudFront removes from HTTP
|
9941
|
+
# responses to requests that match the cache behavior that this response
|
9942
|
+
# headers policy is attached to.
|
9943
|
+
#
|
9944
|
+
# @!attribute [rw] quantity
|
9945
|
+
# The number of HTTP header names in the list.
|
9946
|
+
# @return [Integer]
|
9947
|
+
#
|
9948
|
+
# @!attribute [rw] items
|
9949
|
+
# The list of HTTP header names.
|
9950
|
+
# @return [Array<Types::ResponseHeadersPolicyRemoveHeader>]
|
9951
|
+
#
|
9952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ResponseHeadersPolicyRemoveHeadersConfig AWS API Documentation
|
9953
|
+
#
|
9954
|
+
class ResponseHeadersPolicyRemoveHeadersConfig < Struct.new(
|
9955
|
+
:quantity,
|
9956
|
+
:items)
|
9957
|
+
SENSITIVE = []
|
9958
|
+
include Aws::Structure
|
9959
|
+
end
|
9960
|
+
|
9927
9961
|
# A configuration for a set of security-related HTTP response headers.
|
9928
9962
|
# CloudFront adds these headers to HTTP responses that it sends for
|
9929
9963
|
# requests that match a cache behavior associated with this response
|
@@ -9931,7 +9965,7 @@ module Aws::CloudFront
|
|
9931
9965
|
#
|
9932
9966
|
# @!attribute [rw] xss_protection
|
9933
9967
|
# Determines whether CloudFront includes the `X-XSS-Protection` HTTP
|
9934
|
-
# response header and the header
|
9968
|
+
# response header and the header's value.
|
9935
9969
|
#
|
9936
9970
|
# For more information about the `X-XSS-Protection` HTTP response
|
9937
9971
|
# header, see [X-XSS-Protection][1] in the MDN Web Docs.
|
@@ -9943,7 +9977,7 @@ module Aws::CloudFront
|
|
9943
9977
|
#
|
9944
9978
|
# @!attribute [rw] frame_options
|
9945
9979
|
# Determines whether CloudFront includes the `X-Frame-Options` HTTP
|
9946
|
-
# response header and the header
|
9980
|
+
# response header and the header's value.
|
9947
9981
|
#
|
9948
9982
|
# For more information about the `X-Frame-Options` HTTP response
|
9949
9983
|
# header, see [X-Frame-Options][1] in the MDN Web Docs.
|
@@ -9955,7 +9989,7 @@ module Aws::CloudFront
|
|
9955
9989
|
#
|
9956
9990
|
# @!attribute [rw] referrer_policy
|
9957
9991
|
# Determines whether CloudFront includes the `Referrer-Policy` HTTP
|
9958
|
-
# response header and the header
|
9992
|
+
# response header and the header's value.
|
9959
9993
|
#
|
9960
9994
|
# For more information about the `Referrer-Policy` HTTP response
|
9961
9995
|
# header, see [Referrer-Policy][1] in the MDN Web Docs.
|
@@ -9993,7 +10027,7 @@ module Aws::CloudFront
|
|
9993
10027
|
#
|
9994
10028
|
# @!attribute [rw] strict_transport_security
|
9995
10029
|
# Determines whether CloudFront includes the
|
9996
|
-
# `Strict-Transport-Security` HTTP response header and the header
|
10030
|
+
# `Strict-Transport-Security` HTTP response header and the header's
|
9997
10031
|
# value.
|
9998
10032
|
#
|
9999
10033
|
# For more information about the `Strict-Transport-Security` HTTP
|
@@ -10065,7 +10099,7 @@ module Aws::CloudFront
|
|
10065
10099
|
end
|
10066
10100
|
|
10067
10101
|
# Determines whether CloudFront includes the `Strict-Transport-Security`
|
10068
|
-
# HTTP response header and the header
|
10102
|
+
# HTTP response header and the header's value.
|
10069
10103
|
#
|
10070
10104
|
# For more information about the `Strict-Transport-Security` HTTP
|
10071
10105
|
# response header, see [Strict-Transport-Security][1] in the MDN Web
|
@@ -10130,7 +10164,7 @@ module Aws::CloudFront
|
|
10130
10164
|
end
|
10131
10165
|
|
10132
10166
|
# Determines whether CloudFront includes the `X-XSS-Protection` HTTP
|
10133
|
-
# response header and the header
|
10167
|
+
# response header and the header's value.
|
10134
10168
|
#
|
10135
10169
|
# For more information about the `X-XSS-Protection` HTTP response
|
10136
10170
|
# header, see [X-XSS-Protection][1] in the MDN Web Docs.
|
@@ -10308,7 +10342,7 @@ module Aws::CloudFront
|
|
10308
10342
|
#
|
10309
10343
|
# @!attribute [rw] idle_ttl
|
10310
10344
|
# The amount of time after which you want sessions to cease if no
|
10311
|
-
# requests are received.
|
10345
|
+
# requests are received.
|
10312
10346
|
# minutes).
|
10313
10347
|
#
|
10314
10348
|
# The value must be less than or equal to `MaximumTTL`.
|
@@ -11740,6 +11774,27 @@ module Aws::CloudFront
|
|
11740
11774
|
include Aws::Structure
|
11741
11775
|
end
|
11742
11776
|
|
11777
|
+
# The number of headers in `RemoveHeadersConfig` in the response headers
|
11778
|
+
# policy exceeds the maximum.
|
11779
|
+
#
|
11780
|
+
# For more information, see [Quotas][1] (formerly known as limits) in
|
11781
|
+
# the *Amazon CloudFront Developer Guide*.
|
11782
|
+
#
|
11783
|
+
#
|
11784
|
+
#
|
11785
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html
|
11786
|
+
#
|
11787
|
+
# @!attribute [rw] message
|
11788
|
+
# @return [String]
|
11789
|
+
#
|
11790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TooManyRemoveHeadersInResponseHeadersPolicy AWS API Documentation
|
11791
|
+
#
|
11792
|
+
class TooManyRemoveHeadersInResponseHeadersPolicy < Struct.new(
|
11793
|
+
:message)
|
11794
|
+
SENSITIVE = []
|
11795
|
+
include Aws::Structure
|
11796
|
+
end
|
11797
|
+
|
11743
11798
|
# You have reached the maximum number of response headers policies for
|
11744
11799
|
# this Amazon Web Services account.
|
11745
11800
|
#
|
@@ -11945,13 +12000,13 @@ module Aws::CloudFront
|
|
11945
12000
|
#
|
11946
12001
|
# @!attribute [rw] id
|
11947
12002
|
# The unique identifier for the cache policy that you are updating.
|
11948
|
-
# The identifier is returned in a cache behavior
|
12003
|
+
# The identifier is returned in a cache behavior's `CachePolicyId`
|
11949
12004
|
# field in the response to `GetDistributionConfig`.
|
11950
12005
|
# @return [String]
|
11951
12006
|
#
|
11952
12007
|
# @!attribute [rw] if_match
|
11953
12008
|
# The version of the cache policy that you are updating. The version
|
11954
|
-
# is returned in the cache policy
|
12009
|
+
# is returned in the cache policy's `ETag` field in the response to
|
11955
12010
|
# `GetCachePolicyConfig`.
|
11956
12011
|
# @return [String]
|
11957
12012
|
#
|
@@ -12148,7 +12203,7 @@ module Aws::CloudFront
|
|
12148
12203
|
# @return [Types::Distribution]
|
12149
12204
|
#
|
12150
12205
|
# @!attribute [rw] etag
|
12151
|
-
# The current version of the primary distribution (after it
|
12206
|
+
# The current version of the primary distribution (after it's
|
12152
12207
|
# updated).
|
12153
12208
|
# @return [String]
|
12154
12209
|
#
|
@@ -12305,7 +12360,7 @@ module Aws::CloudFront
|
|
12305
12360
|
#
|
12306
12361
|
# @!attribute [rw] if_match
|
12307
12362
|
# The version of the key group that you are updating. The version is
|
12308
|
-
# the key group
|
12363
|
+
# the key group's `ETag` value.
|
12309
12364
|
# @return [String]
|
12310
12365
|
#
|
12311
12366
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateKeyGroupRequest AWS API Documentation
|
@@ -12383,14 +12438,14 @@ module Aws::CloudFront
|
|
12383
12438
|
#
|
12384
12439
|
# @!attribute [rw] id
|
12385
12440
|
# The unique identifier for the origin request policy that you are
|
12386
|
-
# updating. The identifier is returned in a cache behavior
|
12441
|
+
# updating. The identifier is returned in a cache behavior's
|
12387
12442
|
# `OriginRequestPolicyId` field in the response to
|
12388
12443
|
# `GetDistributionConfig`.
|
12389
12444
|
# @return [String]
|
12390
12445
|
#
|
12391
12446
|
# @!attribute [rw] if_match
|
12392
12447
|
# The version of the origin request policy that you are updating. The
|
12393
|
-
# version is returned in the origin request policy
|
12448
|
+
# version is returned in the origin request policy's `ETag` field in
|
12394
12449
|
# the response to `GetOriginRequestPolicyConfig`.
|
12395
12450
|
# @return [String]
|
12396
12451
|
#
|
@@ -12528,7 +12583,7 @@ module Aws::CloudFront
|
|
12528
12583
|
# @!attribute [rw] if_match
|
12529
12584
|
# The version of the response headers policy that you are updating.
|
12530
12585
|
#
|
12531
|
-
# The version is returned in the cache policy
|
12586
|
+
# The version is returned in the cache policy's `ETag` field in the
|
12532
12587
|
# response to `GetResponseHeadersPolicyConfig`.
|
12533
12588
|
# @return [String]
|
12534
12589
|
#
|
@@ -12605,10 +12660,10 @@ module Aws::CloudFront
|
|
12605
12660
|
include Aws::Structure
|
12606
12661
|
end
|
12607
12662
|
|
12608
|
-
# A complex type that determines the distribution
|
12663
|
+
# A complex type that determines the distribution's SSL/TLS
|
12609
12664
|
# configuration for communicating with viewers.
|
12610
12665
|
#
|
12611
|
-
# If the distribution doesn
|
12666
|
+
# If the distribution doesn't use `Aliases` (also known as alternate
|
12612
12667
|
# domain names or CNAMEs)—that is, if the distribution uses the
|
12613
12668
|
# CloudFront domain name such as `d111111abcdef8.cloudfront.net`—set
|
12614
12669
|
# `CloudFrontDefaultCertificate` to `true` and leave all other fields
|
@@ -12619,7 +12674,7 @@ module Aws::CloudFront
|
|
12619
12674
|
#
|
12620
12675
|
# * Which viewers the distribution accepts HTTPS connections from: only
|
12621
12676
|
# viewers that support [server name indication (SNI)][1]
|
12622
|
-
# (recommended), or all viewers including those that don
|
12677
|
+
# (recommended), or all viewers including those that don't support
|
12623
12678
|
# SNI.
|
12624
12679
|
#
|
12625
12680
|
# * To accept HTTPS connections from only viewers that support SNI,
|
@@ -12627,7 +12682,7 @@ module Aws::CloudFront
|
|
12627
12682
|
# browsers and clients support SNI.
|
12628
12683
|
#
|
12629
12684
|
# * To accept HTTPS connections from all viewers, including those that
|
12630
|
-
# don
|
12685
|
+
# don't support SNI, set `SSLSupportMethod` to `vip`. This is not
|
12631
12686
|
# recommended, and results in additional monthly charges from
|
12632
12687
|
# CloudFront.
|
12633
12688
|
#
|
@@ -12718,7 +12773,7 @@ module Aws::CloudFront
|
|
12718
12773
|
# recommended. Most browsers and clients support SNI.
|
12719
12774
|
#
|
12720
12775
|
# * `vip` – The distribution accepts HTTPS connections from all
|
12721
|
-
# viewers including those that don
|
12776
|
+
# viewers including those that don't support SNI. This is not
|
12722
12777
|
# recommended, and results in additional monthly charges from
|
12723
12778
|
# CloudFront.
|
12724
12779
|
#
|
@@ -12729,7 +12784,7 @@ module Aws::CloudFront
|
|
12729
12784
|
# Support Center][2].
|
12730
12785
|
#
|
12731
12786
|
# If the distribution uses the CloudFront domain name such as
|
12732
|
-
# `d111111abcdef8.cloudfront.net`, don
|
12787
|
+
# `d111111abcdef8.cloudfront.net`, don't set a value for this field.
|
12733
12788
|
#
|
12734
12789
|
#
|
12735
12790
|
#
|
@@ -12758,7 +12813,7 @@ module Aws::CloudFront
|
|
12758
12813
|
#
|
12759
12814
|
# </note>
|
12760
12815
|
#
|
12761
|
-
# When you
|
12816
|
+
# When you're using SNI only (you set `SSLSupportMethod` to
|
12762
12817
|
# `sni-only`), you must specify `TLSv1` or higher.
|
12763
12818
|
#
|
12764
12819
|
# If the distribution uses the CloudFront domain name such as
|