aws-sdk-cloudfront 1.71.0 → 1.72.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +158 -156
- data/lib/aws-sdk-cloudfront/types.rb +144 -148
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +2 -2
@@ -371,7 +371,7 @@ module Aws::CloudFront
|
|
371
371
|
# Associates an alias (also known as a CNAME or an alternate domain
|
372
372
|
# name) with a CloudFront distribution.
|
373
373
|
#
|
374
|
-
# With this operation you can move an alias that
|
374
|
+
# With this operation you can move an alias that's already in use on a
|
375
375
|
# CloudFront distribution to a different distribution in one step. This
|
376
376
|
# prevents the downtime that could occur if you first remove the alias
|
377
377
|
# from one distribution and then separately add the alias to another
|
@@ -389,7 +389,7 @@ module Aws::CloudFront
|
|
389
389
|
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
|
390
390
|
#
|
391
391
|
# @option params [required, String] :target_distribution_id
|
392
|
-
# The ID of the distribution that you
|
392
|
+
# The ID of the distribution that you're associating the alias with.
|
393
393
|
#
|
394
394
|
# @option params [required, String] :alias
|
395
395
|
# The alias (also known as a CNAME) to add to the target distribution.
|
@@ -418,7 +418,7 @@ module Aws::CloudFront
|
|
418
418
|
# continuous deployment workflow.
|
419
419
|
#
|
420
420
|
# After you create a staging distribution, you can use
|
421
|
-
# `UpdateDistribution` to modify the staging distribution
|
421
|
+
# `UpdateDistribution` to modify the staging distribution's
|
422
422
|
# configuration. Then you can use `CreateContinuousDeploymentPolicy` to
|
423
423
|
# incrementally move traffic to the staging distribution.
|
424
424
|
#
|
@@ -657,7 +657,7 @@ module Aws::CloudFront
|
|
657
657
|
# Creates a cache policy.
|
658
658
|
#
|
659
659
|
# After you create a cache policy, you can attach it to one or more
|
660
|
-
# cache behaviors. When it
|
660
|
+
# cache behaviors. When it's attached to a cache behavior, the cache
|
661
661
|
# policy determines the following:
|
662
662
|
#
|
663
663
|
# * The values that CloudFront includes in the *cache key*. These values
|
@@ -670,9 +670,9 @@ module Aws::CloudFront
|
|
670
670
|
#
|
671
671
|
# The headers, cookies, and query strings that are included in the cache
|
672
672
|
# key are automatically included in requests that CloudFront sends to
|
673
|
-
# the origin. CloudFront sends a request when it can
|
674
|
-
# its cache that matches the request
|
675
|
-
# values to the origin but *not* include them in the cache key, use
|
673
|
+
# the origin. CloudFront sends a request when it can't find an object
|
674
|
+
# in its cache that matches the request's cache key. If you want to
|
675
|
+
# send values to the origin but *not* include them in the cache key, use
|
676
676
|
# `OriginRequestPolicy`.
|
677
677
|
#
|
678
678
|
# For more information about cache policies, see [Controlling the cache
|
@@ -815,12 +815,12 @@ module Aws::CloudFront
|
|
815
815
|
#
|
816
816
|
# To use a continuous deployment policy, first use `CopyDistribution` to
|
817
817
|
# create a staging distribution, then use `UpdateDistribution` to modify
|
818
|
-
# the staging distribution
|
818
|
+
# the staging distribution's configuration.
|
819
819
|
#
|
820
820
|
# After you create and update a staging distribution, you can use a
|
821
821
|
# continuous deployment policy to incrementally move traffic to the
|
822
822
|
# staging distribution. This workflow enables you to test changes to a
|
823
|
-
# distribution
|
823
|
+
# distribution's configuration before moving all of your domain's
|
824
824
|
# production traffic to the new configuration.
|
825
825
|
#
|
826
826
|
# @option params [required, Types::ContinuousDeploymentPolicyConfig] :continuous_deployment_policy_config
|
@@ -1972,21 +1972,22 @@ module Aws::CloudFront
|
|
1972
1972
|
# configuration information about the function. The response contains an
|
1973
1973
|
# Amazon Resource Name (ARN) that uniquely identifies the function.
|
1974
1974
|
#
|
1975
|
-
# When you create a function, it
|
1975
|
+
# When you create a function, it's in the `DEVELOPMENT` stage. In this
|
1976
1976
|
# stage, you can test the function with `TestFunction`, and update it
|
1977
1977
|
# with `UpdateFunction`.
|
1978
1978
|
#
|
1979
|
-
# When you
|
1980
|
-
# use `PublishFunction` to copy the function from the
|
1981
|
-
# stage to `LIVE`. When it
|
1982
|
-
# distribution
|
1979
|
+
# When you're ready to use your function with a CloudFront
|
1980
|
+
# distribution, use `PublishFunction` to copy the function from the
|
1981
|
+
# `DEVELOPMENT` stage to `LIVE`. When it's live, you can attach the
|
1982
|
+
# function to a distribution's cache behavior, using the function's
|
1983
|
+
# ARN.
|
1983
1984
|
#
|
1984
1985
|
# @option params [required, String] :name
|
1985
1986
|
# A name to identify the function.
|
1986
1987
|
#
|
1987
1988
|
# @option params [required, Types::FunctionConfig] :function_config
|
1988
1989
|
# Configuration information about the function, including an optional
|
1989
|
-
# comment and the function
|
1990
|
+
# comment and the function's runtime.
|
1990
1991
|
#
|
1991
1992
|
# @option params [required, String, StringIO, File] :function_code
|
1992
1993
|
# The function code. For more information about writing a CloudFront
|
@@ -2246,7 +2247,7 @@ module Aws::CloudFront
|
|
2246
2247
|
# Creates an origin request policy.
|
2247
2248
|
#
|
2248
2249
|
# After you create an origin request policy, you can attach it to one or
|
2249
|
-
# more cache behaviors. When it
|
2250
|
+
# more cache behaviors. When it's attached to a cache behavior, the
|
2250
2251
|
# origin request policy determines the values that CloudFront includes
|
2251
2252
|
# in requests that it sends to the origin. Each request that CloudFront
|
2252
2253
|
# sends to the origin includes the following:
|
@@ -2262,7 +2263,7 @@ module Aws::CloudFront
|
|
2262
2263
|
# items from the viewer request and, in the case of headers,
|
2263
2264
|
# additional ones that are added by CloudFront.
|
2264
2265
|
#
|
2265
|
-
# CloudFront sends a request when it can
|
2266
|
+
# CloudFront sends a request when it can't find a valid object in its
|
2266
2267
|
# cache that matches the request. If you want to send values to the
|
2267
2268
|
# origin and also include them in the cache key, use `CachePolicy`.
|
2268
2269
|
#
|
@@ -2477,9 +2478,9 @@ module Aws::CloudFront
|
|
2477
2478
|
#
|
2478
2479
|
# After you create a response headers policy, you can use its ID to
|
2479
2480
|
# attach it to one or more cache behaviors in a CloudFront distribution.
|
2480
|
-
# When it
|
2481
|
-
# the policy to HTTP responses that it sends for requests that match
|
2482
|
-
# cache behavior.
|
2481
|
+
# When it's attached to a cache behavior, CloudFront adds the headers
|
2482
|
+
# in the policy to HTTP responses that it sends for requests that match
|
2483
|
+
# the cache behavior.
|
2483
2484
|
#
|
2484
2485
|
# @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
|
2485
2486
|
# Contains metadata about the response headers policy, and a set of
|
@@ -2809,12 +2810,12 @@ module Aws::CloudFront
|
|
2809
2810
|
|
2810
2811
|
# Deletes a cache policy.
|
2811
2812
|
#
|
2812
|
-
# You cannot delete a cache policy if it
|
2813
|
-
# First update your distributions to remove the cache policy
|
2814
|
-
# cache behaviors, then delete the cache policy.
|
2813
|
+
# You cannot delete a cache policy if it's attached to a cache
|
2814
|
+
# behavior. First update your distributions to remove the cache policy
|
2815
|
+
# from all cache behaviors, then delete the cache policy.
|
2815
2816
|
#
|
2816
|
-
# To delete a cache policy, you must provide the policy
|
2817
|
-
# version. To get these values, you can use `ListCachePolicies` or
|
2817
|
+
# To delete a cache policy, you must provide the policy's identifier
|
2818
|
+
# and version. To get these values, you can use `ListCachePolicies` or
|
2818
2819
|
# `GetCachePolicy`.
|
2819
2820
|
#
|
2820
2821
|
# @option params [required, String] :id
|
@@ -2823,7 +2824,7 @@ module Aws::CloudFront
|
|
2823
2824
|
#
|
2824
2825
|
# @option params [String] :if_match
|
2825
2826
|
# The version of the cache policy that you are deleting. The version is
|
2826
|
-
# the cache policy
|
2827
|
+
# the cache policy's `ETag` value, which you can get using
|
2827
2828
|
# `ListCachePolicies`, `GetCachePolicy`, or `GetCachePolicyConfig`.
|
2828
2829
|
#
|
2829
2830
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -2873,7 +2874,7 @@ module Aws::CloudFront
|
|
2873
2874
|
|
2874
2875
|
# Deletes a continuous deployment policy.
|
2875
2876
|
#
|
2876
|
-
# You cannot delete a continuous deployment policy that
|
2877
|
+
# You cannot delete a continuous deployment policy that's attached to a
|
2877
2878
|
# primary distribution. First update your distribution to remove the
|
2878
2879
|
# continuous deployment policy, then you can delete the policy.
|
2879
2880
|
#
|
@@ -2986,13 +2987,13 @@ module Aws::CloudFront
|
|
2986
2987
|
|
2987
2988
|
# Deletes a CloudFront function.
|
2988
2989
|
#
|
2989
|
-
# You cannot delete a function if it
|
2990
|
-
# First, update your distributions to remove the function
|
2991
|
-
# from all cache behaviors, then delete the function.
|
2990
|
+
# You cannot delete a function if it's associated with a cache
|
2991
|
+
# behavior. First, update your distributions to remove the function
|
2992
|
+
# association from all cache behaviors, then delete the function.
|
2992
2993
|
#
|
2993
|
-
# To delete a function, you must provide the function
|
2994
|
-
# (`ETag` value). To get these values, you can use
|
2995
|
-
# `DescribeFunction`.
|
2994
|
+
# To delete a function, you must provide the function's name and
|
2995
|
+
# version (`ETag` value). To get these values, you can use
|
2996
|
+
# `ListFunctions` and `DescribeFunction`.
|
2996
2997
|
#
|
2997
2998
|
# @option params [required, String] :name
|
2998
2999
|
# The name of the function that you are deleting.
|
@@ -3025,8 +3026,8 @@ module Aws::CloudFront
|
|
3025
3026
|
# First update your distributions to remove the key group from all cache
|
3026
3027
|
# behaviors, then delete the key group.
|
3027
3028
|
#
|
3028
|
-
# To delete a key group, you must provide the key group
|
3029
|
-
# version. To get these values, use `ListKeyGroups` followed by
|
3029
|
+
# To delete a key group, you must provide the key group's identifier
|
3030
|
+
# and version. To get these values, use `ListKeyGroups` followed by
|
3030
3031
|
# `GetKeyGroup` or `GetKeyGroupConfig`.
|
3031
3032
|
#
|
3032
3033
|
# @option params [required, String] :id
|
@@ -3035,7 +3036,7 @@ module Aws::CloudFront
|
|
3035
3036
|
#
|
3036
3037
|
# @option params [String] :if_match
|
3037
3038
|
# The version of the key group that you are deleting. The version is the
|
3038
|
-
# key group
|
3039
|
+
# key group's `ETag` value. To get the `ETag`, use `GetKeyGroup` or
|
3039
3040
|
# `GetKeyGroupConfig`.
|
3040
3041
|
#
|
3041
3042
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -3113,12 +3114,12 @@ module Aws::CloudFront
|
|
3113
3114
|
|
3114
3115
|
# Deletes an origin request policy.
|
3115
3116
|
#
|
3116
|
-
# You cannot delete an origin request policy if it
|
3117
|
+
# You cannot delete an origin request policy if it's attached to any
|
3117
3118
|
# cache behaviors. First update your distributions to remove the origin
|
3118
3119
|
# request policy from all cache behaviors, then delete the origin
|
3119
3120
|
# request policy.
|
3120
3121
|
#
|
3121
|
-
# To delete an origin request policy, you must provide the policy
|
3122
|
+
# To delete an origin request policy, you must provide the policy's
|
3122
3123
|
# identifier and version. To get the identifier, you can use
|
3123
3124
|
# `ListOriginRequestPolicies` or `GetOriginRequestPolicy`.
|
3124
3125
|
#
|
@@ -3129,8 +3130,8 @@ module Aws::CloudFront
|
|
3129
3130
|
#
|
3130
3131
|
# @option params [String] :if_match
|
3131
3132
|
# The version of the origin request policy that you are deleting. The
|
3132
|
-
# version is the origin request policy
|
3133
|
-
# using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
|
3133
|
+
# version is the origin request policy's `ETag` value, which you can
|
3134
|
+
# get using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
|
3134
3135
|
# `GetOriginRequestPolicyConfig`.
|
3135
3136
|
#
|
3136
3137
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -3180,13 +3181,13 @@ module Aws::CloudFront
|
|
3180
3181
|
|
3181
3182
|
# Deletes a real-time log configuration.
|
3182
3183
|
#
|
3183
|
-
# You cannot delete a real-time log configuration if it
|
3184
|
+
# You cannot delete a real-time log configuration if it's attached to a
|
3184
3185
|
# cache behavior. First update your distributions to remove the
|
3185
3186
|
# real-time log configuration from all cache behaviors, then delete the
|
3186
3187
|
# real-time log configuration.
|
3187
3188
|
#
|
3188
3189
|
# To delete a real-time log configuration, you can provide the
|
3189
|
-
# configuration
|
3190
|
+
# configuration's name or its Amazon Resource Name (ARN). You must
|
3190
3191
|
# provide at least one. If you provide both, CloudFront uses the name to
|
3191
3192
|
# identify the real-time log configuration to delete.
|
3192
3193
|
#
|
@@ -3217,12 +3218,12 @@ module Aws::CloudFront
|
|
3217
3218
|
|
3218
3219
|
# Deletes a response headers policy.
|
3219
3220
|
#
|
3220
|
-
# You cannot delete a response headers policy if it
|
3221
|
+
# You cannot delete a response headers policy if it's attached to a
|
3221
3222
|
# cache behavior. First update your distributions to remove the response
|
3222
3223
|
# headers policy from all cache behaviors, then delete the response
|
3223
3224
|
# headers policy.
|
3224
3225
|
#
|
3225
|
-
# To delete a response headers policy, you must provide the policy
|
3226
|
+
# To delete a response headers policy, you must provide the policy's
|
3226
3227
|
# identifier and version. To get these values, you can use
|
3227
3228
|
# `ListResponseHeadersPolicies` or `GetResponseHeadersPolicy`.
|
3228
3229
|
#
|
@@ -3234,7 +3235,7 @@ module Aws::CloudFront
|
|
3234
3235
|
# @option params [String] :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
|
+
# The version is the response headers policy's `ETag` value, which you
|
3238
3239
|
# can get using `ListResponseHeadersPolicies`,
|
3239
3240
|
# `GetResponseHeadersPolicy`, or `GetResponseHeadersPolicyConfig`.
|
3240
3241
|
#
|
@@ -3327,18 +3328,18 @@ module Aws::CloudFront
|
|
3327
3328
|
end
|
3328
3329
|
|
3329
3330
|
# Gets configuration information and metadata about a CloudFront
|
3330
|
-
# function, but not the function
|
3331
|
+
# function, but not the function's code. To get a function's code, use
|
3331
3332
|
# `GetFunction`.
|
3332
3333
|
#
|
3333
3334
|
# To get configuration information and metadata about a function, you
|
3334
|
-
# must provide the function
|
3335
|
+
# must provide the function's name and stage. To get these values, you
|
3335
3336
|
# can use `ListFunctions`.
|
3336
3337
|
#
|
3337
3338
|
# @option params [required, String] :name
|
3338
3339
|
# The name of the function that you are getting information about.
|
3339
3340
|
#
|
3340
3341
|
# @option params [String] :stage
|
3341
|
-
# The function
|
3342
|
+
# The function's stage, either `DEVELOPMENT` or `LIVE`.
|
3342
3343
|
#
|
3343
3344
|
# @return [Types::DescribeFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3344
3345
|
#
|
@@ -3375,22 +3376,22 @@ module Aws::CloudFront
|
|
3375
3376
|
|
3376
3377
|
# Gets a cache policy, including the following metadata:
|
3377
3378
|
#
|
3378
|
-
# * The policy
|
3379
|
+
# * The policy's identifier.
|
3379
3380
|
#
|
3380
3381
|
# * The date and time when the policy was last modified.
|
3381
3382
|
#
|
3382
|
-
# To get a cache policy, you must provide the policy
|
3383
|
-
# the cache policy is attached to a distribution
|
3384
|
-
# can get the policy
|
3383
|
+
# To get a cache policy, you must provide the policy's identifier. If
|
3384
|
+
# the cache policy is attached to a distribution's cache behavior, you
|
3385
|
+
# can get the policy's identifier using `ListDistributions` or
|
3385
3386
|
# `GetDistribution`. If the cache policy is not attached to a cache
|
3386
3387
|
# behavior, you can get the identifier using `ListCachePolicies`.
|
3387
3388
|
#
|
3388
3389
|
# @option params [required, String] :id
|
3389
3390
|
# The unique identifier for the cache policy. If the cache policy is
|
3390
|
-
# attached to a distribution
|
3391
|
-
# identifier using `ListDistributions` or `GetDistribution`.
|
3392
|
-
# cache policy is not attached to a cache behavior, you can get
|
3393
|
-
# identifier using `ListCachePolicies`.
|
3391
|
+
# attached to a distribution's cache behavior, you can get the
|
3392
|
+
# policy's identifier using `ListDistributions` or `GetDistribution`.
|
3393
|
+
# If the cache policy is not attached to a cache behavior, you can get
|
3394
|
+
# the identifier using `ListCachePolicies`.
|
3394
3395
|
#
|
3395
3396
|
# @return [Types::GetCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3396
3397
|
#
|
@@ -3439,19 +3440,19 @@ module Aws::CloudFront
|
|
3439
3440
|
|
3440
3441
|
# Gets a cache policy configuration.
|
3441
3442
|
#
|
3442
|
-
# To get a cache policy configuration, you must provide the policy
|
3443
|
-
# identifier. If the cache policy is attached to a distribution
|
3444
|
-
# behavior, you can get the policy
|
3443
|
+
# To get a cache policy configuration, you must provide the policy's
|
3444
|
+
# identifier. If the cache policy is attached to a distribution's cache
|
3445
|
+
# behavior, you can get the policy's identifier using
|
3445
3446
|
# `ListDistributions` or `GetDistribution`. If the cache policy is not
|
3446
3447
|
# attached to a cache behavior, you can get the identifier using
|
3447
3448
|
# `ListCachePolicies`.
|
3448
3449
|
#
|
3449
3450
|
# @option params [required, String] :id
|
3450
3451
|
# The unique identifier for the cache policy. If the cache policy is
|
3451
|
-
# attached to a distribution
|
3452
|
-
# identifier using `ListDistributions` or `GetDistribution`.
|
3453
|
-
# cache policy is not attached to a cache behavior, you can get
|
3454
|
-
# identifier using `ListCachePolicies`.
|
3452
|
+
# attached to a distribution's cache behavior, you can get the
|
3453
|
+
# policy's identifier using `ListDistributions` or `GetDistribution`.
|
3454
|
+
# If the cache policy is not attached to a cache behavior, you can get
|
3455
|
+
# the identifier using `ListCachePolicies`.
|
3455
3456
|
#
|
3456
3457
|
# @return [Types::GetCachePolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3457
3458
|
#
|
@@ -3560,7 +3561,7 @@ module Aws::CloudFront
|
|
3560
3561
|
req.send_request(options)
|
3561
3562
|
end
|
3562
3563
|
|
3563
|
-
# Gets a continuous deployment policy, including metadata (the policy
|
3564
|
+
# Gets a continuous deployment policy, including metadata (the policy's
|
3564
3565
|
# identifier and the date and time when the policy was last modified).
|
3565
3566
|
#
|
3566
3567
|
# @option params [required, String] :id
|
@@ -4225,14 +4226,14 @@ module Aws::CloudFront
|
|
4225
4226
|
# Gets the code of a CloudFront function. To get configuration
|
4226
4227
|
# information and metadata about a function, use `DescribeFunction`.
|
4227
4228
|
#
|
4228
|
-
# To get a function
|
4229
|
+
# To get a function's code, you must provide the function's name and
|
4229
4230
|
# stage. To get these values, you can use `ListFunctions`.
|
4230
4231
|
#
|
4231
4232
|
# @option params [required, String] :name
|
4232
4233
|
# The name of the function whose code you are getting.
|
4233
4234
|
#
|
4234
4235
|
# @option params [String] :stage
|
4235
|
-
# The function
|
4236
|
+
# The function's stage, either `DEVELOPMENT` or `LIVE`.
|
4236
4237
|
#
|
4237
4238
|
# @return [Types::GetFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4238
4239
|
#
|
@@ -4309,9 +4310,9 @@ module Aws::CloudFront
|
|
4309
4310
|
# Gets a key group, including the date and time when the key group was
|
4310
4311
|
# last modified.
|
4311
4312
|
#
|
4312
|
-
# To get a key group, you must provide the key group
|
4313
|
-
# the key group is referenced in a distribution
|
4314
|
-
# can get the key group
|
4313
|
+
# To get a key group, you must provide the key group's identifier. If
|
4314
|
+
# the key group is referenced in a distribution's cache behavior, you
|
4315
|
+
# can get the key group's identifier using `ListDistributions` or
|
4315
4316
|
# `GetDistribution`. If the key group is not referenced in a cache
|
4316
4317
|
# behavior, you can get the identifier using `ListKeyGroups`.
|
4317
4318
|
#
|
@@ -4351,9 +4352,9 @@ module Aws::CloudFront
|
|
4351
4352
|
|
4352
4353
|
# Gets a key group configuration.
|
4353
4354
|
#
|
4354
|
-
# To get a key group configuration, you must provide the key group
|
4355
|
-
# identifier. If the key group is referenced in a distribution
|
4356
|
-
# behavior, you can get the key group
|
4355
|
+
# To get a key group configuration, you must provide the key group's
|
4356
|
+
# identifier. If the key group is referenced in a distribution's cache
|
4357
|
+
# behavior, you can get the key group's identifier using
|
4357
4358
|
# `ListDistributions` or `GetDistribution`. If the key group is not
|
4358
4359
|
# referenced in a cache behavior, you can get the identifier using
|
4359
4360
|
# `ListKeyGroups`.
|
@@ -4492,21 +4493,21 @@ module Aws::CloudFront
|
|
4492
4493
|
|
4493
4494
|
# Gets an origin request policy, including the following metadata:
|
4494
4495
|
#
|
4495
|
-
# * The policy
|
4496
|
+
# * The policy's identifier.
|
4496
4497
|
#
|
4497
4498
|
# * The date and time when the policy was last modified.
|
4498
4499
|
#
|
4499
|
-
# To get an origin request policy, you must provide the policy
|
4500
|
+
# To get an origin request policy, you must provide the policy's
|
4500
4501
|
# identifier. If the origin request policy is attached to a
|
4501
|
-
# distribution
|
4502
|
+
# distribution's cache behavior, you can get the policy's identifier
|
4502
4503
|
# using `ListDistributions` or `GetDistribution`. If the origin request
|
4503
4504
|
# policy is not attached to a cache behavior, you can get the identifier
|
4504
4505
|
# using `ListOriginRequestPolicies`.
|
4505
4506
|
#
|
4506
4507
|
# @option params [required, String] :id
|
4507
4508
|
# The unique identifier for the origin request policy. If the origin
|
4508
|
-
# request policy is attached to a distribution
|
4509
|
-
# get the policy
|
4509
|
+
# request policy is attached to a distribution's cache behavior, you
|
4510
|
+
# can get the policy's identifier using `ListDistributions` or
|
4510
4511
|
# `GetDistribution`. If the origin request policy is not attached to a
|
4511
4512
|
# cache behavior, you can get the identifier using
|
4512
4513
|
# `ListOriginRequestPolicies`.
|
@@ -4554,16 +4555,16 @@ module Aws::CloudFront
|
|
4554
4555
|
# Gets an origin request policy configuration.
|
4555
4556
|
#
|
4556
4557
|
# To get an origin request policy configuration, you must provide the
|
4557
|
-
# policy
|
4558
|
-
# distribution
|
4558
|
+
# policy's identifier. If the origin request policy is attached to a
|
4559
|
+
# distribution's cache behavior, you can get the policy's identifier
|
4559
4560
|
# using `ListDistributions` or `GetDistribution`. If the origin request
|
4560
4561
|
# policy is not attached to a cache behavior, you can get the identifier
|
4561
4562
|
# using `ListOriginRequestPolicies`.
|
4562
4563
|
#
|
4563
4564
|
# @option params [required, String] :id
|
4564
4565
|
# The unique identifier for the origin request policy. If the origin
|
4565
|
-
# request policy is attached to a distribution
|
4566
|
-
# get the policy
|
4566
|
+
# request policy is attached to a distribution's cache behavior, you
|
4567
|
+
# can get the policy's identifier using `ListDistributions` or
|
4567
4568
|
# `GetDistribution`. If the origin request policy is not attached to a
|
4568
4569
|
# cache behavior, you can get the identifier using
|
4569
4570
|
# `ListOriginRequestPolicies`.
|
@@ -4677,7 +4678,7 @@ module Aws::CloudFront
|
|
4677
4678
|
# Gets a real-time log configuration.
|
4678
4679
|
#
|
4679
4680
|
# To get a real-time log configuration, you can provide the
|
4680
|
-
# configuration
|
4681
|
+
# configuration's name or its Amazon Resource Name (ARN). You must
|
4681
4682
|
# provide at least one. If you provide both, CloudFront uses the name to
|
4682
4683
|
# identify the real-time log configuration to get.
|
4683
4684
|
#
|
@@ -4720,12 +4721,12 @@ module Aws::CloudFront
|
|
4720
4721
|
req.send_request(options)
|
4721
4722
|
end
|
4722
4723
|
|
4723
|
-
# Gets a response headers policy, including metadata (the policy
|
4724
|
+
# Gets a response headers policy, including metadata (the policy's
|
4724
4725
|
# identifier and the date and time when the policy was last modified).
|
4725
4726
|
#
|
4726
|
-
# To get a response headers policy, you must provide the policy
|
4727
|
+
# To get a response headers policy, you must provide the policy's
|
4727
4728
|
# identifier. If the response headers policy is attached to a
|
4728
|
-
# distribution
|
4729
|
+
# distribution's cache behavior, you can get the policy's identifier
|
4729
4730
|
# using `ListDistributions` or `GetDistribution`. If the response
|
4730
4731
|
# headers policy is not attached to a cache behavior, you can get the
|
4731
4732
|
# identifier using `ListResponseHeadersPolicies`.
|
@@ -4733,8 +4734,8 @@ module Aws::CloudFront
|
|
4733
4734
|
# @option params [required, String] :id
|
4734
4735
|
# The identifier for the response headers policy.
|
4735
4736
|
#
|
4736
|
-
# If the response headers policy is attached to a distribution
|
4737
|
-
# behavior, you can get the policy
|
4737
|
+
# If the response headers policy is attached to a distribution's cache
|
4738
|
+
# behavior, you can get the policy's identifier using
|
4738
4739
|
# `ListDistributions` or `GetDistribution`. If the response headers
|
4739
4740
|
# policy is not attached to a cache behavior, you can get the identifier
|
4740
4741
|
# using `ListResponseHeadersPolicies`.
|
@@ -4807,8 +4808,8 @@ module Aws::CloudFront
|
|
4807
4808
|
# Gets a response headers policy configuration.
|
4808
4809
|
#
|
4809
4810
|
# To get a response headers policy configuration, you must provide the
|
4810
|
-
# policy
|
4811
|
-
# distribution
|
4811
|
+
# policy's identifier. If the response headers policy is attached to a
|
4812
|
+
# distribution's cache behavior, you can get the policy's identifier
|
4812
4813
|
# using `ListDistributions` or `GetDistribution`. If the response
|
4813
4814
|
# headers policy is not attached to a cache behavior, you can get the
|
4814
4815
|
# identifier using `ListResponseHeadersPolicies`.
|
@@ -4816,8 +4817,8 @@ module Aws::CloudFront
|
|
4816
4817
|
# @option params [required, String] :id
|
4817
4818
|
# The identifier for the response headers policy.
|
4818
4819
|
#
|
4819
|
-
# If the response headers policy is attached to a distribution
|
4820
|
-
# behavior, you can get the policy
|
4820
|
+
# If the response headers policy is attached to a distribution's cache
|
4821
|
+
# behavior, you can get the policy's identifier using
|
4821
4822
|
# `ListDistributions` or `GetDistribution`. If the response headers
|
4822
4823
|
# policy is not attached to a cache behavior, you can get the identifier
|
4823
4824
|
# using `ListResponseHeadersPolicies`.
|
@@ -5020,8 +5021,8 @@ module Aws::CloudFront
|
|
5020
5021
|
# Use this field when paginating results to indicate where to begin in
|
5021
5022
|
# your list of cache policies. The response includes cache policies in
|
5022
5023
|
# the list that occur after the marker. To get the next page of the
|
5023
|
-
# list, set this field
|
5024
|
-
# current page
|
5024
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5025
|
+
# current page's response.
|
5025
5026
|
#
|
5026
5027
|
# @option params [Integer] :max_items
|
5027
5028
|
# The maximum number of cache policies that you want in the response.
|
@@ -5130,7 +5131,7 @@ module Aws::CloudFront
|
|
5130
5131
|
# conflicting alias. In the returned list, the distribution and account
|
5131
5132
|
# IDs are partially hidden, which allows you to identify the
|
5132
5133
|
# distributions and accounts that you own, but helps to protect the
|
5133
|
-
# information of ones that you don
|
5134
|
+
# information of ones that you don't own.
|
5134
5135
|
#
|
5135
5136
|
# Use this operation to find aliases that are in use in CloudFront that
|
5136
5137
|
# conflict or overlap with the provided alias. For example, if you
|
@@ -5170,8 +5171,8 @@ module Aws::CloudFront
|
|
5170
5171
|
# Use this field when paginating results to indicate where to begin in
|
5171
5172
|
# the list of conflicting aliases. The response includes conflicting
|
5172
5173
|
# aliases in the list that occur after the marker. To get the next page
|
5173
|
-
# of the list, set this field
|
5174
|
-
# the current page
|
5174
|
+
# of the list, set this field's value to the value of `NextMarker` from
|
5175
|
+
# the current page's response.
|
5175
5176
|
#
|
5176
5177
|
# @option params [Integer] :max_items
|
5177
5178
|
# The maximum number of conflicting aliases that you want in the
|
@@ -5223,8 +5224,8 @@ module Aws::CloudFront
|
|
5223
5224
|
# Use this field when paginating results to indicate where to begin in
|
5224
5225
|
# your list of continuous deployment policies. The response includes
|
5225
5226
|
# policies in the list that occur after the marker. To get the next page
|
5226
|
-
# of the list, set this field
|
5227
|
-
# the current page
|
5227
|
+
# of the list, set this field's value to the value of `NextMarker` from
|
5228
|
+
# the current page's response.
|
5228
5229
|
#
|
5229
5230
|
# @option params [Integer] :max_items
|
5230
5231
|
# The maximum number of continuous deployment policies that you want
|
@@ -5475,7 +5476,7 @@ module Aws::CloudFront
|
|
5475
5476
|
end
|
5476
5477
|
|
5477
5478
|
# Gets a list of distribution IDs for distributions that have a cache
|
5478
|
-
# behavior that
|
5479
|
+
# behavior that's associated with the specified cache policy.
|
5479
5480
|
#
|
5480
5481
|
# You can optionally specify the maximum number of items to receive in
|
5481
5482
|
# the response. If the total number of items in the list exceeds the
|
@@ -5488,8 +5489,8 @@ module Aws::CloudFront
|
|
5488
5489
|
# Use this field when paginating results to indicate where to begin in
|
5489
5490
|
# your list of distribution IDs. The response includes distribution IDs
|
5490
5491
|
# in the list that occur after the marker. To get the next page of the
|
5491
|
-
# list, set this field
|
5492
|
-
# current page
|
5492
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5493
|
+
# current page's response.
|
5493
5494
|
#
|
5494
5495
|
# @option params [Integer] :max_items
|
5495
5496
|
# The maximum number of distribution IDs that you want in the response.
|
@@ -5543,8 +5544,8 @@ module Aws::CloudFront
|
|
5543
5544
|
# Use this field when paginating results to indicate where to begin in
|
5544
5545
|
# your list of distribution IDs. The response includes distribution IDs
|
5545
5546
|
# in the list that occur after the marker. To get the next page of the
|
5546
|
-
# list, set this field
|
5547
|
-
# current page
|
5547
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5548
|
+
# current page's response.
|
5548
5549
|
#
|
5549
5550
|
# @option params [Integer] :max_items
|
5550
5551
|
# The maximum number of distribution IDs that you want in the response.
|
@@ -5585,7 +5586,7 @@ module Aws::CloudFront
|
|
5585
5586
|
end
|
5586
5587
|
|
5587
5588
|
# Gets a list of distribution IDs for distributions that have a cache
|
5588
|
-
# behavior that
|
5589
|
+
# behavior that's associated with the specified origin request policy.
|
5589
5590
|
#
|
5590
5591
|
# You can optionally specify the maximum number of items to receive in
|
5591
5592
|
# the response. If the total number of items in the list exceeds the
|
@@ -5598,8 +5599,8 @@ module Aws::CloudFront
|
|
5598
5599
|
# Use this field when paginating results to indicate where to begin in
|
5599
5600
|
# your list of distribution IDs. The response includes distribution IDs
|
5600
5601
|
# in the list that occur after the marker. To get the next page of the
|
5601
|
-
# list, set this field
|
5602
|
-
# current page
|
5602
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5603
|
+
# current page's response.
|
5603
5604
|
#
|
5604
5605
|
# @option params [Integer] :max_items
|
5605
5606
|
# The maximum number of distribution IDs that you want in the response.
|
@@ -5639,7 +5640,7 @@ module Aws::CloudFront
|
|
5639
5640
|
req.send_request(options)
|
5640
5641
|
end
|
5641
5642
|
|
5642
|
-
# Gets a list of distributions that have a cache behavior that
|
5643
|
+
# Gets a list of distributions that have a cache behavior that's
|
5643
5644
|
# associated with the specified real-time log configuration.
|
5644
5645
|
#
|
5645
5646
|
# You can specify the real-time log configuration by its name or its
|
@@ -5658,8 +5659,8 @@ module Aws::CloudFront
|
|
5658
5659
|
# Use this field when paginating results to indicate where to begin in
|
5659
5660
|
# your list of distributions. The response includes distributions in the
|
5660
5661
|
# list that occur after the marker. To get the next page of the list,
|
5661
|
-
# set this field
|
5662
|
-
# page
|
5662
|
+
# set this field's value to the value of `NextMarker` from the current
|
5663
|
+
# page's response.
|
5663
5664
|
#
|
5664
5665
|
# @option params [Integer] :max_items
|
5665
5666
|
# The maximum number of distributions that you want in the response.
|
@@ -5866,7 +5867,8 @@ module Aws::CloudFront
|
|
5866
5867
|
end
|
5867
5868
|
|
5868
5869
|
# Gets a list of distribution IDs for distributions that have a cache
|
5869
|
-
# behavior that
|
5870
|
+
# behavior that's associated with the specified response headers
|
5871
|
+
# policy.
|
5870
5872
|
#
|
5871
5873
|
# You can optionally specify the maximum number of items to receive in
|
5872
5874
|
# the response. If the total number of items in the list exceeds the
|
@@ -5879,8 +5881,8 @@ module Aws::CloudFront
|
|
5879
5881
|
# Use this field when paginating results to indicate where to begin in
|
5880
5882
|
# your list of distribution IDs. The response includes distribution IDs
|
5881
5883
|
# in the list that occur after the marker. To get the next page of the
|
5882
|
-
# list, set this field
|
5883
|
-
# current page
|
5884
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5885
|
+
# current page's response.
|
5884
5886
|
#
|
5885
5887
|
# @option params [Integer] :max_items
|
5886
5888
|
# The maximum number of distribution IDs that you want to get in the
|
@@ -6258,8 +6260,8 @@ module Aws::CloudFront
|
|
6258
6260
|
# Use this field when paginating results to indicate where to begin in
|
6259
6261
|
# your list of functions. The response includes functions in the list
|
6260
6262
|
# that occur after the marker. To get the next page of the list, set
|
6261
|
-
# this field
|
6262
|
-
# page
|
6263
|
+
# this field's value to the value of `NextMarker` from the current
|
6264
|
+
# page's response.
|
6263
6265
|
#
|
6264
6266
|
# @option params [Integer] :max_items
|
6265
6267
|
# The maximum number of functions that you want in the response.
|
@@ -6371,8 +6373,8 @@ module Aws::CloudFront
|
|
6371
6373
|
# Use this field when paginating results to indicate where to begin in
|
6372
6374
|
# your list of key groups. The response includes key groups in the list
|
6373
6375
|
# that occur after the marker. To get the next page of the list, set
|
6374
|
-
# this field
|
6375
|
-
# page
|
6376
|
+
# this field's value to the value of `NextMarker` from the current
|
6377
|
+
# page's response.
|
6376
6378
|
#
|
6377
6379
|
# @option params [Integer] :max_items
|
6378
6380
|
# The maximum number of key groups that you want in the response.
|
@@ -6493,8 +6495,8 @@ module Aws::CloudFront
|
|
6493
6495
|
# Use this field when paginating results to indicate where to begin in
|
6494
6496
|
# your list of origin request policies. The response includes origin
|
6495
6497
|
# request policies in the list that occur after the marker. To get the
|
6496
|
-
# next page of the list, set this field
|
6497
|
-
# `NextMarker` from the current page
|
6498
|
+
# next page of the list, set this field's value to the value of
|
6499
|
+
# `NextMarker` from the current page's response.
|
6498
6500
|
#
|
6499
6501
|
# @option params [Integer] :max_items
|
6500
6502
|
# The maximum number of origin request policies that you want in the
|
@@ -6607,8 +6609,8 @@ module Aws::CloudFront
|
|
6607
6609
|
# Use this field when paginating results to indicate where to begin in
|
6608
6610
|
# your list of real-time log configurations. The response includes
|
6609
6611
|
# real-time log configurations in the list that occur after the marker.
|
6610
|
-
# To get the next page of the list, set this field
|
6611
|
-
# of `NextMarker` from the current page
|
6612
|
+
# To get the next page of the list, set this field's value to the value
|
6613
|
+
# of `NextMarker` from the current page's response.
|
6612
6614
|
#
|
6613
6615
|
# @return [Types::ListRealtimeLogConfigsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6614
6616
|
#
|
@@ -6674,8 +6676,8 @@ module Aws::CloudFront
|
|
6674
6676
|
# Use this field when paginating results to indicate where to begin in
|
6675
6677
|
# your list of response headers policies. The response includes response
|
6676
6678
|
# headers policies in the list that occur after the marker. To get the
|
6677
|
-
# next page of the list, set this field
|
6678
|
-
# `NextMarker` from the current page
|
6679
|
+
# next page of the list, set this field's value to the value of
|
6680
|
+
# `NextMarker` from the current page's response.
|
6679
6681
|
#
|
6680
6682
|
# @option params [Integer] :max_items
|
6681
6683
|
# The maximum number of response headers policies that you want to get
|
@@ -6843,10 +6845,10 @@ module Aws::CloudFront
|
|
6843
6845
|
# in the `LIVE` stage.
|
6844
6846
|
#
|
6845
6847
|
# When a function is published to the `LIVE` stage, you can attach the
|
6846
|
-
# function to a distribution
|
6848
|
+
# function to a distribution's cache behavior, using the function's
|
6847
6849
|
# Amazon Resource Name (ARN).
|
6848
6850
|
#
|
6849
|
-
# To publish a function, you must provide the function
|
6851
|
+
# To publish a function, you must provide the function's name and
|
6850
6852
|
# version (`ETag` value). To get these values, you can use
|
6851
6853
|
# `ListFunctions` and `DescribeFunction`.
|
6852
6854
|
#
|
@@ -6926,15 +6928,15 @@ module Aws::CloudFront
|
|
6926
6928
|
# To test a function, you provide an *event object* that represents an
|
6927
6929
|
# HTTP request or response that your CloudFront distribution could
|
6928
6930
|
# receive in production. CloudFront runs the function, passing it the
|
6929
|
-
# event object that you provided, and returns the function
|
6930
|
-
# modified event object) in the response. The response also
|
6931
|
-
# function logs and error messages, if any exist. For more
|
6932
|
-
# about testing functions, see [Testing functions][1] in the
|
6933
|
-
# CloudFront Developer Guide*.
|
6931
|
+
# event object that you provided, and returns the function's result
|
6932
|
+
# (the modified event object) in the response. The response also
|
6933
|
+
# contains function logs and error messages, if any exist. For more
|
6934
|
+
# information about testing functions, see [Testing functions][1] in the
|
6935
|
+
# *Amazon CloudFront Developer Guide*.
|
6934
6936
|
#
|
6935
|
-
# To test a function, you provide the function
|
6936
|
-
# (`ETag` value) along with the event object. To get the function
|
6937
|
-
# and version, you can use `ListFunctions` and `DescribeFunction`.
|
6937
|
+
# To test a function, you provide the function's name and version
|
6938
|
+
# (`ETag` value) along with the event object. To get the function's
|
6939
|
+
# name and version, you can use `ListFunctions` and `DescribeFunction`.
|
6938
6940
|
#
|
6939
6941
|
#
|
6940
6942
|
#
|
@@ -7040,19 +7042,19 @@ module Aws::CloudFront
|
|
7040
7042
|
#
|
7041
7043
|
# 3. Call `UpdateCachePolicy` by providing the entire cache policy
|
7042
7044
|
# configuration, including the fields that you modified and those
|
7043
|
-
# that you didn
|
7045
|
+
# that you didn't.
|
7044
7046
|
#
|
7045
7047
|
# @option params [required, Types::CachePolicyConfig] :cache_policy_config
|
7046
7048
|
# A cache policy configuration.
|
7047
7049
|
#
|
7048
7050
|
# @option params [required, String] :id
|
7049
7051
|
# The unique identifier for the cache policy that you are updating. The
|
7050
|
-
# identifier is returned in a cache behavior
|
7052
|
+
# identifier is returned in a cache behavior's `CachePolicyId` field in
|
7051
7053
|
# the response to `GetDistributionConfig`.
|
7052
7054
|
#
|
7053
7055
|
# @option params [String] :if_match
|
7054
7056
|
# The version of the cache policy that you are updating. The version is
|
7055
|
-
# returned in the cache policy
|
7057
|
+
# returned in the cache policy's `ETag` field in the response to
|
7056
7058
|
# `GetCachePolicyConfig`.
|
7057
7059
|
#
|
7058
7060
|
# @return [Types::UpdateCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -7196,7 +7198,7 @@ module Aws::CloudFront
|
|
7196
7198
|
#
|
7197
7199
|
# 3. Use `UpdateContinuousDeploymentPolicy`, providing the entire
|
7198
7200
|
# continuous deployment policy configuration, including the fields
|
7199
|
-
# that you modified and those that you didn
|
7201
|
+
# that you modified and those that you didn't.
|
7200
7202
|
#
|
7201
7203
|
# @option params [required, Types::ContinuousDeploymentPolicyConfig] :continuous_deployment_policy_config
|
7202
7204
|
# The continuous deployment policy configuration.
|
@@ -7286,14 +7288,14 @@ module Aws::CloudFront
|
|
7286
7288
|
# unchanged. (Set the value of `IfMatch` to the value of `ETag`,
|
7287
7289
|
# then remove the `ETag` field.)
|
7288
7290
|
#
|
7289
|
-
# * You can
|
7291
|
+
# * You can't change the value of `CallerReference`.
|
7290
7292
|
#
|
7291
7293
|
# 3. Submit an `UpdateDistribution` request, providing the distribution
|
7292
7294
|
# configuration. The new configuration replaces the existing
|
7293
7295
|
# configuration. The values that you specify in an
|
7294
7296
|
# `UpdateDistribution` request are not merged into your existing
|
7295
7297
|
# configuration. Make sure to include all fields: the ones that you
|
7296
|
-
# modified and also the ones that you didn
|
7298
|
+
# modified and also the ones that you didn't.
|
7297
7299
|
#
|
7298
7300
|
# @option params [required, Types::DistributionConfig] :distribution_config
|
7299
7301
|
# The distribution's configuration information.
|
@@ -7778,10 +7780,10 @@ module Aws::CloudFront
|
|
7778
7780
|
# You can use this operation in a continuous deployment workflow after
|
7779
7781
|
# you have tested configuration changes on the staging distribution.
|
7780
7782
|
# After using a continuous deployment policy to move a portion of your
|
7781
|
-
# domain name
|
7783
|
+
# domain name's traffic to the staging distribution and verifying that
|
7782
7784
|
# it works as intended, you can use this operation to copy the staging
|
7783
|
-
# distribution
|
7784
|
-
# will disable the continuous deployment policy and move your domain
|
7785
|
+
# distribution's configuration to the primary distribution. This action
|
7786
|
+
# will disable the continuous deployment policy and move your domain's
|
7785
7787
|
# traffic back to the primary distribution.
|
7786
7788
|
#
|
7787
7789
|
# @option params [required, String] :id
|
@@ -8158,10 +8160,10 @@ module Aws::CloudFront
|
|
8158
8160
|
|
8159
8161
|
# Updates a CloudFront function.
|
8160
8162
|
#
|
8161
|
-
# You can update a function
|
8162
|
-
# function. You cannot update a function
|
8163
|
+
# You can update a function's code or the comment that describes the
|
8164
|
+
# function. You cannot update a function's name.
|
8163
8165
|
#
|
8164
|
-
# To update a function, you provide the function
|
8166
|
+
# To update a function, you provide the function's name and version
|
8165
8167
|
# (`ETag` value) along with the updated function code. To get the name
|
8166
8168
|
# and version, you can use `ListFunctions` and `DescribeFunction`.
|
8167
8169
|
#
|
@@ -8235,7 +8237,7 @@ module Aws::CloudFront
|
|
8235
8237
|
# update. For example, add or remove public key IDs.
|
8236
8238
|
#
|
8237
8239
|
# 3. Call `UpdateKeyGroup` with the entire key group object, including
|
8238
|
-
# the fields that you modified and those that you didn
|
8240
|
+
# the fields that you modified and those that you didn't.
|
8239
8241
|
#
|
8240
8242
|
# @option params [required, Types::KeyGroupConfig] :key_group_config
|
8241
8243
|
# The key group configuration.
|
@@ -8245,7 +8247,7 @@ module Aws::CloudFront
|
|
8245
8247
|
#
|
8246
8248
|
# @option params [String] :if_match
|
8247
8249
|
# The version of the key group that you are updating. The version is the
|
8248
|
-
# key group
|
8250
|
+
# key group's `ETag` value.
|
8249
8251
|
#
|
8250
8252
|
# @return [Types::UpdateKeyGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8251
8253
|
#
|
@@ -8349,21 +8351,21 @@ module Aws::CloudFront
|
|
8349
8351
|
#
|
8350
8352
|
# 3. Call `UpdateOriginRequestPolicy` by providing the entire origin
|
8351
8353
|
# request policy configuration, including the fields that you
|
8352
|
-
# modified and those that you didn
|
8354
|
+
# modified and those that you didn't.
|
8353
8355
|
#
|
8354
8356
|
# @option params [required, Types::OriginRequestPolicyConfig] :origin_request_policy_config
|
8355
8357
|
# An origin request policy configuration.
|
8356
8358
|
#
|
8357
8359
|
# @option params [required, String] :id
|
8358
8360
|
# The unique identifier for the origin request policy that you are
|
8359
|
-
# updating. The identifier is returned in a cache behavior
|
8361
|
+
# updating. The identifier is returned in a cache behavior's
|
8360
8362
|
# `OriginRequestPolicyId` field in the response to
|
8361
8363
|
# `GetDistributionConfig`.
|
8362
8364
|
#
|
8363
8365
|
# @option params [String] :if_match
|
8364
8366
|
# The version of the origin request policy that you are updating. The
|
8365
|
-
# version is returned in the origin request policy
|
8366
|
-
# response to `GetOriginRequestPolicyConfig`.
|
8367
|
+
# version is returned in the origin request policy's `ETag` field in
|
8368
|
+
# the response to `GetOriginRequestPolicyConfig`.
|
8367
8369
|
#
|
8368
8370
|
# @return [Types::UpdateOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8369
8371
|
#
|
@@ -8496,9 +8498,9 @@ module Aws::CloudFront
|
|
8496
8498
|
#
|
8497
8499
|
# 3. Call this API (`UpdateRealtimeLogConfig`) by providing the entire
|
8498
8500
|
# real-time log configuration, including the parameters that you
|
8499
|
-
# modified and those that you didn
|
8501
|
+
# modified and those that you didn't.
|
8500
8502
|
#
|
8501
|
-
# You cannot update a real-time log configuration
|
8503
|
+
# You cannot update a real-time log configuration's `Name` or `ARN`.
|
8502
8504
|
#
|
8503
8505
|
# @option params [Array<Types::EndPoint>] :end_points
|
8504
8506
|
# Contains information about the Amazon Kinesis data stream where you
|
@@ -8575,7 +8577,7 @@ module Aws::CloudFront
|
|
8575
8577
|
# replaced. You cannot update some policy fields independent of others.
|
8576
8578
|
# To update a response headers policy configuration:
|
8577
8579
|
#
|
8578
|
-
# 1. Use `GetResponseHeadersPolicyConfig` to get the current policy
|
8580
|
+
# 1. Use `GetResponseHeadersPolicyConfig` to get the current policy's
|
8579
8581
|
# configuration.
|
8580
8582
|
#
|
8581
8583
|
# 2. Modify the fields in the response headers policy configuration
|
@@ -8583,7 +8585,7 @@ module Aws::CloudFront
|
|
8583
8585
|
#
|
8584
8586
|
# 3. Call `UpdateResponseHeadersPolicy`, providing the entire response
|
8585
8587
|
# headers policy configuration, including the fields that you
|
8586
|
-
# modified and those that you didn
|
8588
|
+
# modified and those that you didn't.
|
8587
8589
|
#
|
8588
8590
|
# @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
|
8589
8591
|
# A response headers policy configuration.
|
@@ -8594,7 +8596,7 @@ module Aws::CloudFront
|
|
8594
8596
|
# @option params [String] :if_match
|
8595
8597
|
# The version of the response headers policy that you are updating.
|
8596
8598
|
#
|
8597
|
-
# The version is returned in the cache policy
|
8599
|
+
# The version is returned in the cache policy's `ETag` field in the
|
8598
8600
|
# response to `GetResponseHeadersPolicyConfig`.
|
8599
8601
|
#
|
8600
8602
|
# @return [Types::UpdateResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -8834,7 +8836,7 @@ module Aws::CloudFront
|
|
8834
8836
|
params: params,
|
8835
8837
|
config: config)
|
8836
8838
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
8837
|
-
context[:gem_version] = '1.
|
8839
|
+
context[:gem_version] = '1.72.0'
|
8838
8840
|
Seahorse::Client::Request.new(handlers, context)
|
8839
8841
|
end
|
8840
8842
|
|