aws-sdk-cloudfront 1.70.0 → 1.72.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +415 -153
- data/lib/aws-sdk-cloudfront/client_api.rb +114 -0
- data/lib/aws-sdk-cloudfront/endpoint_provider.rb +157 -159
- data/lib/aws-sdk-cloudfront/endpoints.rb +14 -0
- data/lib/aws-sdk-cloudfront/errors.rb +64 -0
- data/lib/aws-sdk-cloudfront/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-cloudfront/types.rb +265 -4344
- 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
|
#
|
@@ -637,6 +637,8 @@ module Aws::CloudFront
|
|
637
637
|
# resp.distribution.distribution_config.web_acl_id #=> String
|
638
638
|
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
639
639
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
640
|
+
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
641
|
+
# resp.distribution.distribution_config.staging #=> Boolean
|
640
642
|
# resp.distribution.alias_icp_recordals #=> Array
|
641
643
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
642
644
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -655,7 +657,7 @@ module Aws::CloudFront
|
|
655
657
|
# Creates a cache policy.
|
656
658
|
#
|
657
659
|
# After you create a cache policy, you can attach it to one or more
|
658
|
-
# cache behaviors. When it
|
660
|
+
# cache behaviors. When it's attached to a cache behavior, the cache
|
659
661
|
# policy determines the following:
|
660
662
|
#
|
661
663
|
# * The values that CloudFront includes in the *cache key*. These values
|
@@ -668,9 +670,9 @@ module Aws::CloudFront
|
|
668
670
|
#
|
669
671
|
# The headers, cookies, and query strings that are included in the cache
|
670
672
|
# key are automatically included in requests that CloudFront sends to
|
671
|
-
# the origin. CloudFront sends a request when it can
|
672
|
-
# its cache that matches the request
|
673
|
-
# 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
|
674
676
|
# `OriginRequestPolicy`.
|
675
677
|
#
|
676
678
|
# For more information about cache policies, see [Controlling the cache
|
@@ -813,12 +815,12 @@ module Aws::CloudFront
|
|
813
815
|
#
|
814
816
|
# To use a continuous deployment policy, first use `CopyDistribution` to
|
815
817
|
# create a staging distribution, then use `UpdateDistribution` to modify
|
816
|
-
# the staging distribution
|
818
|
+
# the staging distribution's configuration.
|
817
819
|
#
|
818
820
|
# After you create and update a staging distribution, you can use a
|
819
821
|
# continuous deployment policy to incrementally move traffic to the
|
820
822
|
# staging distribution. This workflow enables you to test changes to a
|
821
|
-
# distribution
|
823
|
+
# distribution's configuration before moving all of your domain's
|
822
824
|
# production traffic to the new configuration.
|
823
825
|
#
|
824
826
|
# @option params [required, Types::ContinuousDeploymentPolicyConfig] :continuous_deployment_policy_config
|
@@ -1148,6 +1150,8 @@ module Aws::CloudFront
|
|
1148
1150
|
# web_acl_id: "string",
|
1149
1151
|
# http_version: "http1.1", # accepts http1.1, http2, http3, http2and3
|
1150
1152
|
# is_ipv6_enabled: false,
|
1153
|
+
# continuous_deployment_policy_id: "string",
|
1154
|
+
# staging: false,
|
1151
1155
|
# },
|
1152
1156
|
# })
|
1153
1157
|
#
|
@@ -1332,6 +1336,8 @@ module Aws::CloudFront
|
|
1332
1336
|
# resp.distribution.distribution_config.web_acl_id #=> String
|
1333
1337
|
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
1334
1338
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
1339
|
+
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
1340
|
+
# resp.distribution.distribution_config.staging #=> Boolean
|
1335
1341
|
# resp.distribution.alias_icp_recordals #=> Array
|
1336
1342
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
1337
1343
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -1614,6 +1620,8 @@ module Aws::CloudFront
|
|
1614
1620
|
# web_acl_id: "string",
|
1615
1621
|
# http_version: "http1.1", # accepts http1.1, http2, http3, http2and3
|
1616
1622
|
# is_ipv6_enabled: false,
|
1623
|
+
# continuous_deployment_policy_id: "string",
|
1624
|
+
# staging: false,
|
1617
1625
|
# },
|
1618
1626
|
# tags: { # required
|
1619
1627
|
# items: [
|
@@ -1807,6 +1815,8 @@ module Aws::CloudFront
|
|
1807
1815
|
# resp.distribution.distribution_config.web_acl_id #=> String
|
1808
1816
|
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
1809
1817
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
1818
|
+
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
1819
|
+
# resp.distribution.distribution_config.staging #=> Boolean
|
1810
1820
|
# resp.distribution.alias_icp_recordals #=> Array
|
1811
1821
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
1812
1822
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -1962,21 +1972,22 @@ module Aws::CloudFront
|
|
1962
1972
|
# configuration information about the function. The response contains an
|
1963
1973
|
# Amazon Resource Name (ARN) that uniquely identifies the function.
|
1964
1974
|
#
|
1965
|
-
# When you create a function, it
|
1975
|
+
# When you create a function, it's in the `DEVELOPMENT` stage. In this
|
1966
1976
|
# stage, you can test the function with `TestFunction`, and update it
|
1967
1977
|
# with `UpdateFunction`.
|
1968
1978
|
#
|
1969
|
-
# When you
|
1970
|
-
# use `PublishFunction` to copy the function from the
|
1971
|
-
# stage to `LIVE`. When it
|
1972
|
-
# 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.
|
1973
1984
|
#
|
1974
1985
|
# @option params [required, String] :name
|
1975
1986
|
# A name to identify the function.
|
1976
1987
|
#
|
1977
1988
|
# @option params [required, Types::FunctionConfig] :function_config
|
1978
1989
|
# Configuration information about the function, including an optional
|
1979
|
-
# comment and the function
|
1990
|
+
# comment and the function's runtime.
|
1980
1991
|
#
|
1981
1992
|
# @option params [required, String, StringIO, File] :function_code
|
1982
1993
|
# The function code. For more information about writing a CloudFront
|
@@ -2236,7 +2247,7 @@ module Aws::CloudFront
|
|
2236
2247
|
# Creates an origin request policy.
|
2237
2248
|
#
|
2238
2249
|
# After you create an origin request policy, you can attach it to one or
|
2239
|
-
# more cache behaviors. When it
|
2250
|
+
# more cache behaviors. When it's attached to a cache behavior, the
|
2240
2251
|
# origin request policy determines the values that CloudFront includes
|
2241
2252
|
# in requests that it sends to the origin. Each request that CloudFront
|
2242
2253
|
# sends to the origin includes the following:
|
@@ -2252,7 +2263,7 @@ module Aws::CloudFront
|
|
2252
2263
|
# items from the viewer request and, in the case of headers,
|
2253
2264
|
# additional ones that are added by CloudFront.
|
2254
2265
|
#
|
2255
|
-
# CloudFront sends a request when it can
|
2266
|
+
# CloudFront sends a request when it can't find a valid object in its
|
2256
2267
|
# cache that matches the request. If you want to send values to the
|
2257
2268
|
# origin and also include them in the cache key, use `CachePolicy`.
|
2258
2269
|
#
|
@@ -2467,9 +2478,9 @@ module Aws::CloudFront
|
|
2467
2478
|
#
|
2468
2479
|
# After you create a response headers policy, you can use its ID to
|
2469
2480
|
# attach it to one or more cache behaviors in a CloudFront distribution.
|
2470
|
-
# When it
|
2471
|
-
# the policy to HTTP responses that it sends for requests that match
|
2472
|
-
# 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.
|
2473
2484
|
#
|
2474
2485
|
# @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
|
2475
2486
|
# Contains metadata about the response headers policy, and a set of
|
@@ -2799,12 +2810,12 @@ module Aws::CloudFront
|
|
2799
2810
|
|
2800
2811
|
# Deletes a cache policy.
|
2801
2812
|
#
|
2802
|
-
# You cannot delete a cache policy if it
|
2803
|
-
# First update your distributions to remove the cache policy
|
2804
|
-
# 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.
|
2805
2816
|
#
|
2806
|
-
# To delete a cache policy, you must provide the policy
|
2807
|
-
# 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
|
2808
2819
|
# `GetCachePolicy`.
|
2809
2820
|
#
|
2810
2821
|
# @option params [required, String] :id
|
@@ -2813,7 +2824,7 @@ module Aws::CloudFront
|
|
2813
2824
|
#
|
2814
2825
|
# @option params [String] :if_match
|
2815
2826
|
# The version of the cache policy that you are deleting. The version is
|
2816
|
-
# the cache policy
|
2827
|
+
# the cache policy's `ETag` value, which you can get using
|
2817
2828
|
# `ListCachePolicies`, `GetCachePolicy`, or `GetCachePolicyConfig`.
|
2818
2829
|
#
|
2819
2830
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -2863,7 +2874,7 @@ module Aws::CloudFront
|
|
2863
2874
|
|
2864
2875
|
# Deletes a continuous deployment policy.
|
2865
2876
|
#
|
2866
|
-
# You cannot delete a continuous deployment policy that
|
2877
|
+
# You cannot delete a continuous deployment policy that's attached to a
|
2867
2878
|
# primary distribution. First update your distribution to remove the
|
2868
2879
|
# continuous deployment policy, then you can delete the policy.
|
2869
2880
|
#
|
@@ -2976,13 +2987,13 @@ module Aws::CloudFront
|
|
2976
2987
|
|
2977
2988
|
# Deletes a CloudFront function.
|
2978
2989
|
#
|
2979
|
-
# You cannot delete a function if it
|
2980
|
-
# First, update your distributions to remove the function
|
2981
|
-
# 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.
|
2982
2993
|
#
|
2983
|
-
# To delete a function, you must provide the function
|
2984
|
-
# (`ETag` value). To get these values, you can use
|
2985
|
-
# `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`.
|
2986
2997
|
#
|
2987
2998
|
# @option params [required, String] :name
|
2988
2999
|
# The name of the function that you are deleting.
|
@@ -3015,8 +3026,8 @@ module Aws::CloudFront
|
|
3015
3026
|
# First update your distributions to remove the key group from all cache
|
3016
3027
|
# behaviors, then delete the key group.
|
3017
3028
|
#
|
3018
|
-
# To delete a key group, you must provide the key group
|
3019
|
-
# 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
|
3020
3031
|
# `GetKeyGroup` or `GetKeyGroupConfig`.
|
3021
3032
|
#
|
3022
3033
|
# @option params [required, String] :id
|
@@ -3025,7 +3036,7 @@ module Aws::CloudFront
|
|
3025
3036
|
#
|
3026
3037
|
# @option params [String] :if_match
|
3027
3038
|
# The version of the key group that you are deleting. The version is the
|
3028
|
-
# key group
|
3039
|
+
# key group's `ETag` value. To get the `ETag`, use `GetKeyGroup` or
|
3029
3040
|
# `GetKeyGroupConfig`.
|
3030
3041
|
#
|
3031
3042
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -3103,12 +3114,12 @@ module Aws::CloudFront
|
|
3103
3114
|
|
3104
3115
|
# Deletes an origin request policy.
|
3105
3116
|
#
|
3106
|
-
# You cannot delete an origin request policy if it
|
3117
|
+
# You cannot delete an origin request policy if it's attached to any
|
3107
3118
|
# cache behaviors. First update your distributions to remove the origin
|
3108
3119
|
# request policy from all cache behaviors, then delete the origin
|
3109
3120
|
# request policy.
|
3110
3121
|
#
|
3111
|
-
# To delete an origin request policy, you must provide the policy
|
3122
|
+
# To delete an origin request policy, you must provide the policy's
|
3112
3123
|
# identifier and version. To get the identifier, you can use
|
3113
3124
|
# `ListOriginRequestPolicies` or `GetOriginRequestPolicy`.
|
3114
3125
|
#
|
@@ -3119,8 +3130,8 @@ module Aws::CloudFront
|
|
3119
3130
|
#
|
3120
3131
|
# @option params [String] :if_match
|
3121
3132
|
# The version of the origin request policy that you are deleting. The
|
3122
|
-
# version is the origin request policy
|
3123
|
-
# using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
|
3133
|
+
# version is the origin request policy's `ETag` value, which you can
|
3134
|
+
# get using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
|
3124
3135
|
# `GetOriginRequestPolicyConfig`.
|
3125
3136
|
#
|
3126
3137
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -3170,13 +3181,13 @@ module Aws::CloudFront
|
|
3170
3181
|
|
3171
3182
|
# Deletes a real-time log configuration.
|
3172
3183
|
#
|
3173
|
-
# 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
|
3174
3185
|
# cache behavior. First update your distributions to remove the
|
3175
3186
|
# real-time log configuration from all cache behaviors, then delete the
|
3176
3187
|
# real-time log configuration.
|
3177
3188
|
#
|
3178
3189
|
# To delete a real-time log configuration, you can provide the
|
3179
|
-
# configuration
|
3190
|
+
# configuration's name or its Amazon Resource Name (ARN). You must
|
3180
3191
|
# provide at least one. If you provide both, CloudFront uses the name to
|
3181
3192
|
# identify the real-time log configuration to delete.
|
3182
3193
|
#
|
@@ -3207,12 +3218,12 @@ module Aws::CloudFront
|
|
3207
3218
|
|
3208
3219
|
# Deletes a response headers policy.
|
3209
3220
|
#
|
3210
|
-
# You cannot delete a response headers policy if it
|
3221
|
+
# You cannot delete a response headers policy if it's attached to a
|
3211
3222
|
# cache behavior. First update your distributions to remove the response
|
3212
3223
|
# headers policy from all cache behaviors, then delete the response
|
3213
3224
|
# headers policy.
|
3214
3225
|
#
|
3215
|
-
# To delete a response headers policy, you must provide the policy
|
3226
|
+
# To delete a response headers policy, you must provide the policy's
|
3216
3227
|
# identifier and version. To get these values, you can use
|
3217
3228
|
# `ListResponseHeadersPolicies` or `GetResponseHeadersPolicy`.
|
3218
3229
|
#
|
@@ -3224,7 +3235,7 @@ module Aws::CloudFront
|
|
3224
3235
|
# @option params [String] :if_match
|
3225
3236
|
# The version of the response headers policy that you are deleting.
|
3226
3237
|
#
|
3227
|
-
# The version is the response headers policy
|
3238
|
+
# The version is the response headers policy's `ETag` value, which you
|
3228
3239
|
# can get using `ListResponseHeadersPolicies`,
|
3229
3240
|
# `GetResponseHeadersPolicy`, or `GetResponseHeadersPolicyConfig`.
|
3230
3241
|
#
|
@@ -3317,18 +3328,18 @@ module Aws::CloudFront
|
|
3317
3328
|
end
|
3318
3329
|
|
3319
3330
|
# Gets configuration information and metadata about a CloudFront
|
3320
|
-
# function, but not the function
|
3331
|
+
# function, but not the function's code. To get a function's code, use
|
3321
3332
|
# `GetFunction`.
|
3322
3333
|
#
|
3323
3334
|
# To get configuration information and metadata about a function, you
|
3324
|
-
# must provide the function
|
3335
|
+
# must provide the function's name and stage. To get these values, you
|
3325
3336
|
# can use `ListFunctions`.
|
3326
3337
|
#
|
3327
3338
|
# @option params [required, String] :name
|
3328
3339
|
# The name of the function that you are getting information about.
|
3329
3340
|
#
|
3330
3341
|
# @option params [String] :stage
|
3331
|
-
# The function
|
3342
|
+
# The function's stage, either `DEVELOPMENT` or `LIVE`.
|
3332
3343
|
#
|
3333
3344
|
# @return [Types::DescribeFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3334
3345
|
#
|
@@ -3365,22 +3376,22 @@ module Aws::CloudFront
|
|
3365
3376
|
|
3366
3377
|
# Gets a cache policy, including the following metadata:
|
3367
3378
|
#
|
3368
|
-
# * The policy
|
3379
|
+
# * The policy's identifier.
|
3369
3380
|
#
|
3370
3381
|
# * The date and time when the policy was last modified.
|
3371
3382
|
#
|
3372
|
-
# To get a cache policy, you must provide the policy
|
3373
|
-
# the cache policy is attached to a distribution
|
3374
|
-
# 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
|
3375
3386
|
# `GetDistribution`. If the cache policy is not attached to a cache
|
3376
3387
|
# behavior, you can get the identifier using `ListCachePolicies`.
|
3377
3388
|
#
|
3378
3389
|
# @option params [required, String] :id
|
3379
3390
|
# The unique identifier for the cache policy. If the cache policy is
|
3380
|
-
# attached to a distribution
|
3381
|
-
# identifier using `ListDistributions` or `GetDistribution`.
|
3382
|
-
# cache policy is not attached to a cache behavior, you can get
|
3383
|
-
# 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`.
|
3384
3395
|
#
|
3385
3396
|
# @return [Types::GetCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3386
3397
|
#
|
@@ -3429,19 +3440,19 @@ module Aws::CloudFront
|
|
3429
3440
|
|
3430
3441
|
# Gets a cache policy configuration.
|
3431
3442
|
#
|
3432
|
-
# To get a cache policy configuration, you must provide the policy
|
3433
|
-
# identifier. If the cache policy is attached to a distribution
|
3434
|
-
# 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
|
3435
3446
|
# `ListDistributions` or `GetDistribution`. If the cache policy is not
|
3436
3447
|
# attached to a cache behavior, you can get the identifier using
|
3437
3448
|
# `ListCachePolicies`.
|
3438
3449
|
#
|
3439
3450
|
# @option params [required, String] :id
|
3440
3451
|
# The unique identifier for the cache policy. If the cache policy is
|
3441
|
-
# attached to a distribution
|
3442
|
-
# identifier using `ListDistributions` or `GetDistribution`.
|
3443
|
-
# cache policy is not attached to a cache behavior, you can get
|
3444
|
-
# 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`.
|
3445
3456
|
#
|
3446
3457
|
# @return [Types::GetCachePolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3447
3458
|
#
|
@@ -3550,7 +3561,7 @@ module Aws::CloudFront
|
|
3550
3561
|
req.send_request(options)
|
3551
3562
|
end
|
3552
3563
|
|
3553
|
-
# Gets a continuous deployment policy, including metadata (the policy
|
3564
|
+
# Gets a continuous deployment policy, including metadata (the policy's
|
3554
3565
|
# identifier and the date and time when the policy was last modified).
|
3555
3566
|
#
|
3556
3567
|
# @option params [required, String] :id
|
@@ -3831,6 +3842,8 @@ module Aws::CloudFront
|
|
3831
3842
|
# resp.distribution.distribution_config.web_acl_id #=> String
|
3832
3843
|
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
3833
3844
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
3845
|
+
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
3846
|
+
# resp.distribution.distribution_config.staging #=> Boolean
|
3834
3847
|
# resp.distribution.alias_icp_recordals #=> Array
|
3835
3848
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
3836
3849
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -4028,6 +4041,8 @@ module Aws::CloudFront
|
|
4028
4041
|
# resp.distribution_config.web_acl_id #=> String
|
4029
4042
|
# resp.distribution_config.http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
4030
4043
|
# resp.distribution_config.is_ipv6_enabled #=> Boolean
|
4044
|
+
# resp.distribution_config.continuous_deployment_policy_id #=> String
|
4045
|
+
# resp.distribution_config.staging #=> Boolean
|
4031
4046
|
# resp.etag #=> String
|
4032
4047
|
#
|
4033
4048
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig AWS API Documentation
|
@@ -4211,14 +4226,14 @@ module Aws::CloudFront
|
|
4211
4226
|
# Gets the code of a CloudFront function. To get configuration
|
4212
4227
|
# information and metadata about a function, use `DescribeFunction`.
|
4213
4228
|
#
|
4214
|
-
# To get a function
|
4229
|
+
# To get a function's code, you must provide the function's name and
|
4215
4230
|
# stage. To get these values, you can use `ListFunctions`.
|
4216
4231
|
#
|
4217
4232
|
# @option params [required, String] :name
|
4218
4233
|
# The name of the function whose code you are getting.
|
4219
4234
|
#
|
4220
4235
|
# @option params [String] :stage
|
4221
|
-
# The function
|
4236
|
+
# The function's stage, either `DEVELOPMENT` or `LIVE`.
|
4222
4237
|
#
|
4223
4238
|
# @return [Types::GetFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4224
4239
|
#
|
@@ -4295,9 +4310,9 @@ module Aws::CloudFront
|
|
4295
4310
|
# Gets a key group, including the date and time when the key group was
|
4296
4311
|
# last modified.
|
4297
4312
|
#
|
4298
|
-
# To get a key group, you must provide the key group
|
4299
|
-
# the key group is referenced in a distribution
|
4300
|
-
# 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
|
4301
4316
|
# `GetDistribution`. If the key group is not referenced in a cache
|
4302
4317
|
# behavior, you can get the identifier using `ListKeyGroups`.
|
4303
4318
|
#
|
@@ -4337,9 +4352,9 @@ module Aws::CloudFront
|
|
4337
4352
|
|
4338
4353
|
# Gets a key group configuration.
|
4339
4354
|
#
|
4340
|
-
# To get a key group configuration, you must provide the key group
|
4341
|
-
# identifier. If the key group is referenced in a distribution
|
4342
|
-
# 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
|
4343
4358
|
# `ListDistributions` or `GetDistribution`. If the key group is not
|
4344
4359
|
# referenced in a cache behavior, you can get the identifier using
|
4345
4360
|
# `ListKeyGroups`.
|
@@ -4478,21 +4493,21 @@ module Aws::CloudFront
|
|
4478
4493
|
|
4479
4494
|
# Gets an origin request policy, including the following metadata:
|
4480
4495
|
#
|
4481
|
-
# * The policy
|
4496
|
+
# * The policy's identifier.
|
4482
4497
|
#
|
4483
4498
|
# * The date and time when the policy was last modified.
|
4484
4499
|
#
|
4485
|
-
# To get an origin request policy, you must provide the policy
|
4500
|
+
# To get an origin request policy, you must provide the policy's
|
4486
4501
|
# identifier. If the origin request policy is attached to a
|
4487
|
-
# distribution
|
4502
|
+
# distribution's cache behavior, you can get the policy's identifier
|
4488
4503
|
# using `ListDistributions` or `GetDistribution`. If the origin request
|
4489
4504
|
# policy is not attached to a cache behavior, you can get the identifier
|
4490
4505
|
# using `ListOriginRequestPolicies`.
|
4491
4506
|
#
|
4492
4507
|
# @option params [required, String] :id
|
4493
4508
|
# The unique identifier for the origin request policy. If the origin
|
4494
|
-
# request policy is attached to a distribution
|
4495
|
-
# 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
|
4496
4511
|
# `GetDistribution`. If the origin request policy is not attached to a
|
4497
4512
|
# cache behavior, you can get the identifier using
|
4498
4513
|
# `ListOriginRequestPolicies`.
|
@@ -4540,16 +4555,16 @@ module Aws::CloudFront
|
|
4540
4555
|
# Gets an origin request policy configuration.
|
4541
4556
|
#
|
4542
4557
|
# To get an origin request policy configuration, you must provide the
|
4543
|
-
# policy
|
4544
|
-
# 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
|
4545
4560
|
# using `ListDistributions` or `GetDistribution`. If the origin request
|
4546
4561
|
# policy is not attached to a cache behavior, you can get the identifier
|
4547
4562
|
# using `ListOriginRequestPolicies`.
|
4548
4563
|
#
|
4549
4564
|
# @option params [required, String] :id
|
4550
4565
|
# The unique identifier for the origin request policy. If the origin
|
4551
|
-
# request policy is attached to a distribution
|
4552
|
-
# 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
|
4553
4568
|
# `GetDistribution`. If the origin request policy is not attached to a
|
4554
4569
|
# cache behavior, you can get the identifier using
|
4555
4570
|
# `ListOriginRequestPolicies`.
|
@@ -4663,7 +4678,7 @@ module Aws::CloudFront
|
|
4663
4678
|
# Gets a real-time log configuration.
|
4664
4679
|
#
|
4665
4680
|
# To get a real-time log configuration, you can provide the
|
4666
|
-
# configuration
|
4681
|
+
# configuration's name or its Amazon Resource Name (ARN). You must
|
4667
4682
|
# provide at least one. If you provide both, CloudFront uses the name to
|
4668
4683
|
# identify the real-time log configuration to get.
|
4669
4684
|
#
|
@@ -4706,12 +4721,12 @@ module Aws::CloudFront
|
|
4706
4721
|
req.send_request(options)
|
4707
4722
|
end
|
4708
4723
|
|
4709
|
-
# Gets a response headers policy, including metadata (the policy
|
4724
|
+
# Gets a response headers policy, including metadata (the policy's
|
4710
4725
|
# identifier and the date and time when the policy was last modified).
|
4711
4726
|
#
|
4712
|
-
# To get a response headers policy, you must provide the policy
|
4727
|
+
# To get a response headers policy, you must provide the policy's
|
4713
4728
|
# identifier. If the response headers policy is attached to a
|
4714
|
-
# distribution
|
4729
|
+
# distribution's cache behavior, you can get the policy's identifier
|
4715
4730
|
# using `ListDistributions` or `GetDistribution`. If the response
|
4716
4731
|
# headers policy is not attached to a cache behavior, you can get the
|
4717
4732
|
# identifier using `ListResponseHeadersPolicies`.
|
@@ -4719,8 +4734,8 @@ module Aws::CloudFront
|
|
4719
4734
|
# @option params [required, String] :id
|
4720
4735
|
# The identifier for the response headers policy.
|
4721
4736
|
#
|
4722
|
-
# If the response headers policy is attached to a distribution
|
4723
|
-
# 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
|
4724
4739
|
# `ListDistributions` or `GetDistribution`. If the response headers
|
4725
4740
|
# policy is not attached to a cache behavior, you can get the identifier
|
4726
4741
|
# using `ListResponseHeadersPolicies`.
|
@@ -4793,8 +4808,8 @@ module Aws::CloudFront
|
|
4793
4808
|
# Gets a response headers policy configuration.
|
4794
4809
|
#
|
4795
4810
|
# To get a response headers policy configuration, you must provide the
|
4796
|
-
# policy
|
4797
|
-
# 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
|
4798
4813
|
# using `ListDistributions` or `GetDistribution`. If the response
|
4799
4814
|
# headers policy is not attached to a cache behavior, you can get the
|
4800
4815
|
# identifier using `ListResponseHeadersPolicies`.
|
@@ -4802,8 +4817,8 @@ module Aws::CloudFront
|
|
4802
4817
|
# @option params [required, String] :id
|
4803
4818
|
# The identifier for the response headers policy.
|
4804
4819
|
#
|
4805
|
-
# If the response headers policy is attached to a distribution
|
4806
|
-
# 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
|
4807
4822
|
# `ListDistributions` or `GetDistribution`. If the response headers
|
4808
4823
|
# policy is not attached to a cache behavior, you can get the identifier
|
4809
4824
|
# using `ListResponseHeadersPolicies`.
|
@@ -5006,8 +5021,8 @@ module Aws::CloudFront
|
|
5006
5021
|
# Use this field when paginating results to indicate where to begin in
|
5007
5022
|
# your list of cache policies. The response includes cache policies in
|
5008
5023
|
# the list that occur after the marker. To get the next page of the
|
5009
|
-
# list, set this field
|
5010
|
-
# current page
|
5024
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5025
|
+
# current page's response.
|
5011
5026
|
#
|
5012
5027
|
# @option params [Integer] :max_items
|
5013
5028
|
# The maximum number of cache policies that you want in the response.
|
@@ -5116,7 +5131,7 @@ module Aws::CloudFront
|
|
5116
5131
|
# conflicting alias. In the returned list, the distribution and account
|
5117
5132
|
# IDs are partially hidden, which allows you to identify the
|
5118
5133
|
# distributions and accounts that you own, but helps to protect the
|
5119
|
-
# information of ones that you don
|
5134
|
+
# information of ones that you don't own.
|
5120
5135
|
#
|
5121
5136
|
# Use this operation to find aliases that are in use in CloudFront that
|
5122
5137
|
# conflict or overlap with the provided alias. For example, if you
|
@@ -5156,8 +5171,8 @@ module Aws::CloudFront
|
|
5156
5171
|
# Use this field when paginating results to indicate where to begin in
|
5157
5172
|
# the list of conflicting aliases. The response includes conflicting
|
5158
5173
|
# aliases in the list that occur after the marker. To get the next page
|
5159
|
-
# of the list, set this field
|
5160
|
-
# the current page
|
5174
|
+
# of the list, set this field's value to the value of `NextMarker` from
|
5175
|
+
# the current page's response.
|
5161
5176
|
#
|
5162
5177
|
# @option params [Integer] :max_items
|
5163
5178
|
# The maximum number of conflicting aliases that you want in the
|
@@ -5209,8 +5224,8 @@ module Aws::CloudFront
|
|
5209
5224
|
# Use this field when paginating results to indicate where to begin in
|
5210
5225
|
# your list of continuous deployment policies. The response includes
|
5211
5226
|
# policies in the list that occur after the marker. To get the next page
|
5212
|
-
# of the list, set this field
|
5213
|
-
# the current page
|
5227
|
+
# of the list, set this field's value to the value of `NextMarker` from
|
5228
|
+
# the current page's response.
|
5214
5229
|
#
|
5215
5230
|
# @option params [Integer] :max_items
|
5216
5231
|
# The maximum number of continuous deployment policies that you want
|
@@ -5449,6 +5464,7 @@ module Aws::CloudFront
|
|
5449
5464
|
# resp.distribution_list.items[0].alias_icp_recordals #=> Array
|
5450
5465
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
5451
5466
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
5467
|
+
# resp.distribution_list.items[0].staging #=> Boolean
|
5452
5468
|
#
|
5453
5469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions AWS API Documentation
|
5454
5470
|
#
|
@@ -5460,7 +5476,7 @@ module Aws::CloudFront
|
|
5460
5476
|
end
|
5461
5477
|
|
5462
5478
|
# Gets a list of distribution IDs for distributions that have a cache
|
5463
|
-
# behavior that
|
5479
|
+
# behavior that's associated with the specified cache policy.
|
5464
5480
|
#
|
5465
5481
|
# You can optionally specify the maximum number of items to receive in
|
5466
5482
|
# the response. If the total number of items in the list exceeds the
|
@@ -5473,8 +5489,8 @@ module Aws::CloudFront
|
|
5473
5489
|
# Use this field when paginating results to indicate where to begin in
|
5474
5490
|
# your list of distribution IDs. The response includes distribution IDs
|
5475
5491
|
# in the list that occur after the marker. To get the next page of the
|
5476
|
-
# list, set this field
|
5477
|
-
# current page
|
5492
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5493
|
+
# current page's response.
|
5478
5494
|
#
|
5479
5495
|
# @option params [Integer] :max_items
|
5480
5496
|
# The maximum number of distribution IDs that you want in the response.
|
@@ -5528,8 +5544,8 @@ module Aws::CloudFront
|
|
5528
5544
|
# Use this field when paginating results to indicate where to begin in
|
5529
5545
|
# your list of distribution IDs. The response includes distribution IDs
|
5530
5546
|
# in the list that occur after the marker. To get the next page of the
|
5531
|
-
# list, set this field
|
5532
|
-
# current page
|
5547
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5548
|
+
# current page's response.
|
5533
5549
|
#
|
5534
5550
|
# @option params [Integer] :max_items
|
5535
5551
|
# The maximum number of distribution IDs that you want in the response.
|
@@ -5570,7 +5586,7 @@ module Aws::CloudFront
|
|
5570
5586
|
end
|
5571
5587
|
|
5572
5588
|
# Gets a list of distribution IDs for distributions that have a cache
|
5573
|
-
# behavior that
|
5589
|
+
# behavior that's associated with the specified origin request policy.
|
5574
5590
|
#
|
5575
5591
|
# You can optionally specify the maximum number of items to receive in
|
5576
5592
|
# the response. If the total number of items in the list exceeds the
|
@@ -5583,8 +5599,8 @@ module Aws::CloudFront
|
|
5583
5599
|
# Use this field when paginating results to indicate where to begin in
|
5584
5600
|
# your list of distribution IDs. The response includes distribution IDs
|
5585
5601
|
# in the list that occur after the marker. To get the next page of the
|
5586
|
-
# list, set this field
|
5587
|
-
# current page
|
5602
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5603
|
+
# current page's response.
|
5588
5604
|
#
|
5589
5605
|
# @option params [Integer] :max_items
|
5590
5606
|
# The maximum number of distribution IDs that you want in the response.
|
@@ -5624,7 +5640,7 @@ module Aws::CloudFront
|
|
5624
5640
|
req.send_request(options)
|
5625
5641
|
end
|
5626
5642
|
|
5627
|
-
# Gets a list of distributions that have a cache behavior that
|
5643
|
+
# Gets a list of distributions that have a cache behavior that's
|
5628
5644
|
# associated with the specified real-time log configuration.
|
5629
5645
|
#
|
5630
5646
|
# You can specify the real-time log configuration by its name or its
|
@@ -5643,8 +5659,8 @@ module Aws::CloudFront
|
|
5643
5659
|
# Use this field when paginating results to indicate where to begin in
|
5644
5660
|
# your list of distributions. The response includes distributions in the
|
5645
5661
|
# list that occur after the marker. To get the next page of the list,
|
5646
|
-
# set this field
|
5647
|
-
# page
|
5662
|
+
# set this field's value to the value of `NextMarker` from the current
|
5663
|
+
# page's response.
|
5648
5664
|
#
|
5649
5665
|
# @option params [Integer] :max_items
|
5650
5666
|
# The maximum number of distributions that you want in the response.
|
@@ -5839,6 +5855,7 @@ module Aws::CloudFront
|
|
5839
5855
|
# resp.distribution_list.items[0].alias_icp_recordals #=> Array
|
5840
5856
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
5841
5857
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
5858
|
+
# resp.distribution_list.items[0].staging #=> Boolean
|
5842
5859
|
#
|
5843
5860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig AWS API Documentation
|
5844
5861
|
#
|
@@ -5850,7 +5867,8 @@ module Aws::CloudFront
|
|
5850
5867
|
end
|
5851
5868
|
|
5852
5869
|
# Gets a list of distribution IDs for distributions that have a cache
|
5853
|
-
# behavior that
|
5870
|
+
# behavior that's associated with the specified response headers
|
5871
|
+
# policy.
|
5854
5872
|
#
|
5855
5873
|
# You can optionally specify the maximum number of items to receive in
|
5856
5874
|
# the response. If the total number of items in the list exceeds the
|
@@ -5863,8 +5881,8 @@ module Aws::CloudFront
|
|
5863
5881
|
# Use this field when paginating results to indicate where to begin in
|
5864
5882
|
# your list of distribution IDs. The response includes distribution IDs
|
5865
5883
|
# in the list that occur after the marker. To get the next page of the
|
5866
|
-
# list, set this field
|
5867
|
-
# current page
|
5884
|
+
# list, set this field's value to the value of `NextMarker` from the
|
5885
|
+
# current page's response.
|
5868
5886
|
#
|
5869
5887
|
# @option params [Integer] :max_items
|
5870
5888
|
# The maximum number of distribution IDs that you want to get in the
|
@@ -6106,6 +6124,7 @@ module Aws::CloudFront
|
|
6106
6124
|
# resp.distribution_list.items[0].alias_icp_recordals #=> Array
|
6107
6125
|
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
6108
6126
|
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
6127
|
+
# resp.distribution_list.items[0].staging #=> Boolean
|
6109
6128
|
#
|
6110
6129
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId AWS API Documentation
|
6111
6130
|
#
|
@@ -6241,8 +6260,8 @@ module Aws::CloudFront
|
|
6241
6260
|
# Use this field when paginating results to indicate where to begin in
|
6242
6261
|
# your list of functions. The response includes functions in the list
|
6243
6262
|
# that occur after the marker. To get the next page of the list, set
|
6244
|
-
# this field
|
6245
|
-
# page
|
6263
|
+
# this field's value to the value of `NextMarker` from the current
|
6264
|
+
# page's response.
|
6246
6265
|
#
|
6247
6266
|
# @option params [Integer] :max_items
|
6248
6267
|
# The maximum number of functions that you want in the response.
|
@@ -6354,8 +6373,8 @@ module Aws::CloudFront
|
|
6354
6373
|
# Use this field when paginating results to indicate where to begin in
|
6355
6374
|
# your list of key groups. The response includes key groups in the list
|
6356
6375
|
# that occur after the marker. To get the next page of the list, set
|
6357
|
-
# this field
|
6358
|
-
# page
|
6376
|
+
# this field's value to the value of `NextMarker` from the current
|
6377
|
+
# page's response.
|
6359
6378
|
#
|
6360
6379
|
# @option params [Integer] :max_items
|
6361
6380
|
# The maximum number of key groups that you want in the response.
|
@@ -6476,8 +6495,8 @@ module Aws::CloudFront
|
|
6476
6495
|
# Use this field when paginating results to indicate where to begin in
|
6477
6496
|
# your list of origin request policies. The response includes origin
|
6478
6497
|
# request policies in the list that occur after the marker. To get the
|
6479
|
-
# next page of the list, set this field
|
6480
|
-
# `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.
|
6481
6500
|
#
|
6482
6501
|
# @option params [Integer] :max_items
|
6483
6502
|
# The maximum number of origin request policies that you want in the
|
@@ -6590,8 +6609,8 @@ module Aws::CloudFront
|
|
6590
6609
|
# Use this field when paginating results to indicate where to begin in
|
6591
6610
|
# your list of real-time log configurations. The response includes
|
6592
6611
|
# real-time log configurations in the list that occur after the marker.
|
6593
|
-
# To get the next page of the list, set this field
|
6594
|
-
# 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.
|
6595
6614
|
#
|
6596
6615
|
# @return [Types::ListRealtimeLogConfigsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6597
6616
|
#
|
@@ -6657,8 +6676,8 @@ module Aws::CloudFront
|
|
6657
6676
|
# Use this field when paginating results to indicate where to begin in
|
6658
6677
|
# your list of response headers policies. The response includes response
|
6659
6678
|
# headers policies in the list that occur after the marker. To get the
|
6660
|
-
# next page of the list, set this field
|
6661
|
-
# `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.
|
6662
6681
|
#
|
6663
6682
|
# @option params [Integer] :max_items
|
6664
6683
|
# The maximum number of response headers policies that you want to get
|
@@ -6826,10 +6845,10 @@ module Aws::CloudFront
|
|
6826
6845
|
# in the `LIVE` stage.
|
6827
6846
|
#
|
6828
6847
|
# When a function is published to the `LIVE` stage, you can attach the
|
6829
|
-
# function to a distribution
|
6848
|
+
# function to a distribution's cache behavior, using the function's
|
6830
6849
|
# Amazon Resource Name (ARN).
|
6831
6850
|
#
|
6832
|
-
# To publish a function, you must provide the function
|
6851
|
+
# To publish a function, you must provide the function's name and
|
6833
6852
|
# version (`ETag` value). To get these values, you can use
|
6834
6853
|
# `ListFunctions` and `DescribeFunction`.
|
6835
6854
|
#
|
@@ -6909,15 +6928,15 @@ module Aws::CloudFront
|
|
6909
6928
|
# To test a function, you provide an *event object* that represents an
|
6910
6929
|
# HTTP request or response that your CloudFront distribution could
|
6911
6930
|
# receive in production. CloudFront runs the function, passing it the
|
6912
|
-
# event object that you provided, and returns the function
|
6913
|
-
# modified event object) in the response. The response also
|
6914
|
-
# function logs and error messages, if any exist. For more
|
6915
|
-
# about testing functions, see [Testing functions][1] in the
|
6916
|
-
# 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*.
|
6917
6936
|
#
|
6918
|
-
# To test a function, you provide the function
|
6919
|
-
# (`ETag` value) along with the event object. To get the function
|
6920
|
-
# 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`.
|
6921
6940
|
#
|
6922
6941
|
#
|
6923
6942
|
#
|
@@ -7023,19 +7042,19 @@ module Aws::CloudFront
|
|
7023
7042
|
#
|
7024
7043
|
# 3. Call `UpdateCachePolicy` by providing the entire cache policy
|
7025
7044
|
# configuration, including the fields that you modified and those
|
7026
|
-
# that you didn
|
7045
|
+
# that you didn't.
|
7027
7046
|
#
|
7028
7047
|
# @option params [required, Types::CachePolicyConfig] :cache_policy_config
|
7029
7048
|
# A cache policy configuration.
|
7030
7049
|
#
|
7031
7050
|
# @option params [required, String] :id
|
7032
7051
|
# The unique identifier for the cache policy that you are updating. The
|
7033
|
-
# identifier is returned in a cache behavior
|
7052
|
+
# identifier is returned in a cache behavior's `CachePolicyId` field in
|
7034
7053
|
# the response to `GetDistributionConfig`.
|
7035
7054
|
#
|
7036
7055
|
# @option params [String] :if_match
|
7037
7056
|
# The version of the cache policy that you are updating. The version is
|
7038
|
-
# returned in the cache policy
|
7057
|
+
# returned in the cache policy's `ETag` field in the response to
|
7039
7058
|
# `GetCachePolicyConfig`.
|
7040
7059
|
#
|
7041
7060
|
# @return [Types::UpdateCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -7179,7 +7198,7 @@ module Aws::CloudFront
|
|
7179
7198
|
#
|
7180
7199
|
# 3. Use `UpdateContinuousDeploymentPolicy`, providing the entire
|
7181
7200
|
# continuous deployment policy configuration, including the fields
|
7182
|
-
# that you modified and those that you didn
|
7201
|
+
# that you modified and those that you didn't.
|
7183
7202
|
#
|
7184
7203
|
# @option params [required, Types::ContinuousDeploymentPolicyConfig] :continuous_deployment_policy_config
|
7185
7204
|
# The continuous deployment policy configuration.
|
@@ -7269,14 +7288,14 @@ module Aws::CloudFront
|
|
7269
7288
|
# unchanged. (Set the value of `IfMatch` to the value of `ETag`,
|
7270
7289
|
# then remove the `ETag` field.)
|
7271
7290
|
#
|
7272
|
-
# * You can
|
7291
|
+
# * You can't change the value of `CallerReference`.
|
7273
7292
|
#
|
7274
7293
|
# 3. Submit an `UpdateDistribution` request, providing the distribution
|
7275
7294
|
# configuration. The new configuration replaces the existing
|
7276
7295
|
# configuration. The values that you specify in an
|
7277
7296
|
# `UpdateDistribution` request are not merged into your existing
|
7278
7297
|
# configuration. Make sure to include all fields: the ones that you
|
7279
|
-
# modified and also the ones that you didn
|
7298
|
+
# modified and also the ones that you didn't.
|
7280
7299
|
#
|
7281
7300
|
# @option params [required, Types::DistributionConfig] :distribution_config
|
7282
7301
|
# The distribution's configuration information.
|
@@ -7548,6 +7567,8 @@ module Aws::CloudFront
|
|
7548
7567
|
# web_acl_id: "string",
|
7549
7568
|
# http_version: "http1.1", # accepts http1.1, http2, http3, http2and3
|
7550
7569
|
# is_ipv6_enabled: false,
|
7570
|
+
# continuous_deployment_policy_id: "string",
|
7571
|
+
# staging: false,
|
7551
7572
|
# },
|
7552
7573
|
# id: "string", # required
|
7553
7574
|
# if_match: "string",
|
@@ -7734,6 +7755,8 @@ module Aws::CloudFront
|
|
7734
7755
|
# resp.distribution.distribution_config.web_acl_id #=> String
|
7735
7756
|
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
7736
7757
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
7758
|
+
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
7759
|
+
# resp.distribution.distribution_config.staging #=> Boolean
|
7737
7760
|
# resp.distribution.alias_icp_recordals #=> Array
|
7738
7761
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
7739
7762
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
@@ -7748,6 +7771,245 @@ module Aws::CloudFront
|
|
7748
7771
|
req.send_request(options)
|
7749
7772
|
end
|
7750
7773
|
|
7774
|
+
# Copies the staging distribution's configuration to its corresponding
|
7775
|
+
# primary distribution. The primary distribution retains its `Aliases`
|
7776
|
+
# (also known as alternate domain names or CNAMEs) and
|
7777
|
+
# `ContinuousDeploymentPolicyId` value, but otherwise its configuration
|
7778
|
+
# is overwritten to match the staging distribution.
|
7779
|
+
#
|
7780
|
+
# You can use this operation in a continuous deployment workflow after
|
7781
|
+
# you have tested configuration changes on the staging distribution.
|
7782
|
+
# After using a continuous deployment policy to move a portion of your
|
7783
|
+
# domain name's traffic to the staging distribution and verifying that
|
7784
|
+
# it works as intended, you can use this operation to copy the staging
|
7785
|
+
# distribution's configuration to the primary distribution. This action
|
7786
|
+
# will disable the continuous deployment policy and move your domain's
|
7787
|
+
# traffic back to the primary distribution.
|
7788
|
+
#
|
7789
|
+
# @option params [required, String] :id
|
7790
|
+
# The identifier of the primary distribution to which you are copying a
|
7791
|
+
# staging distribution's configuration.
|
7792
|
+
#
|
7793
|
+
# @option params [String] :staging_distribution_id
|
7794
|
+
# The identifier of the staging distribution whose configuration you are
|
7795
|
+
# copying to the primary distribution.
|
7796
|
+
#
|
7797
|
+
# @option params [String] :if_match
|
7798
|
+
# The current versions (`ETag` values) of both primary and staging
|
7799
|
+
# distributions. Provide these in the following format:
|
7800
|
+
#
|
7801
|
+
# `<primary ETag>, <staging ETag>`
|
7802
|
+
#
|
7803
|
+
# @return [Types::UpdateDistributionWithStagingConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7804
|
+
#
|
7805
|
+
# * {Types::UpdateDistributionWithStagingConfigResult#distribution #distribution} => Types::Distribution
|
7806
|
+
# * {Types::UpdateDistributionWithStagingConfigResult#etag #etag} => String
|
7807
|
+
#
|
7808
|
+
# @example Request syntax with placeholder values
|
7809
|
+
#
|
7810
|
+
# resp = client.update_distribution_with_staging_config({
|
7811
|
+
# id: "string", # required
|
7812
|
+
# staging_distribution_id: "string",
|
7813
|
+
# if_match: "string",
|
7814
|
+
# })
|
7815
|
+
#
|
7816
|
+
# @example Response structure
|
7817
|
+
#
|
7818
|
+
# resp.distribution.id #=> String
|
7819
|
+
# resp.distribution.arn #=> String
|
7820
|
+
# resp.distribution.status #=> String
|
7821
|
+
# resp.distribution.last_modified_time #=> Time
|
7822
|
+
# resp.distribution.in_progress_invalidation_batches #=> Integer
|
7823
|
+
# resp.distribution.domain_name #=> String
|
7824
|
+
# resp.distribution.active_trusted_signers.enabled #=> Boolean
|
7825
|
+
# resp.distribution.active_trusted_signers.quantity #=> Integer
|
7826
|
+
# resp.distribution.active_trusted_signers.items #=> Array
|
7827
|
+
# resp.distribution.active_trusted_signers.items[0].aws_account_number #=> String
|
7828
|
+
# resp.distribution.active_trusted_signers.items[0].key_pair_ids.quantity #=> Integer
|
7829
|
+
# resp.distribution.active_trusted_signers.items[0].key_pair_ids.items #=> Array
|
7830
|
+
# resp.distribution.active_trusted_signers.items[0].key_pair_ids.items[0] #=> String
|
7831
|
+
# resp.distribution.active_trusted_key_groups.enabled #=> Boolean
|
7832
|
+
# resp.distribution.active_trusted_key_groups.quantity #=> Integer
|
7833
|
+
# resp.distribution.active_trusted_key_groups.items #=> Array
|
7834
|
+
# resp.distribution.active_trusted_key_groups.items[0].key_group_id #=> String
|
7835
|
+
# resp.distribution.active_trusted_key_groups.items[0].key_pair_ids.quantity #=> Integer
|
7836
|
+
# resp.distribution.active_trusted_key_groups.items[0].key_pair_ids.items #=> Array
|
7837
|
+
# resp.distribution.active_trusted_key_groups.items[0].key_pair_ids.items[0] #=> String
|
7838
|
+
# resp.distribution.distribution_config.caller_reference #=> String
|
7839
|
+
# resp.distribution.distribution_config.aliases.quantity #=> Integer
|
7840
|
+
# resp.distribution.distribution_config.aliases.items #=> Array
|
7841
|
+
# resp.distribution.distribution_config.aliases.items[0] #=> String
|
7842
|
+
# resp.distribution.distribution_config.default_root_object #=> String
|
7843
|
+
# resp.distribution.distribution_config.origins.quantity #=> Integer
|
7844
|
+
# resp.distribution.distribution_config.origins.items #=> Array
|
7845
|
+
# resp.distribution.distribution_config.origins.items[0].id #=> String
|
7846
|
+
# resp.distribution.distribution_config.origins.items[0].domain_name #=> String
|
7847
|
+
# resp.distribution.distribution_config.origins.items[0].origin_path #=> String
|
7848
|
+
# resp.distribution.distribution_config.origins.items[0].custom_headers.quantity #=> Integer
|
7849
|
+
# resp.distribution.distribution_config.origins.items[0].custom_headers.items #=> Array
|
7850
|
+
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_name #=> String
|
7851
|
+
# resp.distribution.distribution_config.origins.items[0].custom_headers.items[0].header_value #=> String
|
7852
|
+
# resp.distribution.distribution_config.origins.items[0].s3_origin_config.origin_access_identity #=> String
|
7853
|
+
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.http_port #=> Integer
|
7854
|
+
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.https_port #=> Integer
|
7855
|
+
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
7856
|
+
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
|
7857
|
+
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
|
7858
|
+
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
7859
|
+
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
7860
|
+
# resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
7861
|
+
# resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
|
7862
|
+
# resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
|
7863
|
+
# resp.distribution.distribution_config.origins.items[0].origin_shield.enabled #=> Boolean
|
7864
|
+
# resp.distribution.distribution_config.origins.items[0].origin_shield.origin_shield_region #=> String
|
7865
|
+
# resp.distribution.distribution_config.origins.items[0].origin_access_control_id #=> String
|
7866
|
+
# resp.distribution.distribution_config.origin_groups.quantity #=> Integer
|
7867
|
+
# resp.distribution.distribution_config.origin_groups.items #=> Array
|
7868
|
+
# resp.distribution.distribution_config.origin_groups.items[0].id #=> String
|
7869
|
+
# resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
|
7870
|
+
# resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items #=> Array
|
7871
|
+
# resp.distribution.distribution_config.origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
|
7872
|
+
# resp.distribution.distribution_config.origin_groups.items[0].members.quantity #=> Integer
|
7873
|
+
# resp.distribution.distribution_config.origin_groups.items[0].members.items #=> Array
|
7874
|
+
# resp.distribution.distribution_config.origin_groups.items[0].members.items[0].origin_id #=> String
|
7875
|
+
# resp.distribution.distribution_config.default_cache_behavior.target_origin_id #=> String
|
7876
|
+
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.enabled #=> Boolean
|
7877
|
+
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.quantity #=> Integer
|
7878
|
+
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items #=> Array
|
7879
|
+
# resp.distribution.distribution_config.default_cache_behavior.trusted_signers.items[0] #=> String
|
7880
|
+
# resp.distribution.distribution_config.default_cache_behavior.trusted_key_groups.enabled #=> Boolean
|
7881
|
+
# resp.distribution.distribution_config.default_cache_behavior.trusted_key_groups.quantity #=> Integer
|
7882
|
+
# resp.distribution.distribution_config.default_cache_behavior.trusted_key_groups.items #=> Array
|
7883
|
+
# resp.distribution.distribution_config.default_cache_behavior.trusted_key_groups.items[0] #=> String
|
7884
|
+
# resp.distribution.distribution_config.default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
7885
|
+
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.quantity #=> Integer
|
7886
|
+
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items #=> Array
|
7887
|
+
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
7888
|
+
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.quantity #=> Integer
|
7889
|
+
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
7890
|
+
# resp.distribution.distribution_config.default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
7891
|
+
# resp.distribution.distribution_config.default_cache_behavior.smooth_streaming #=> Boolean
|
7892
|
+
# resp.distribution.distribution_config.default_cache_behavior.compress #=> Boolean
|
7893
|
+
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
7894
|
+
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
7895
|
+
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
7896
|
+
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
7897
|
+
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
7898
|
+
# resp.distribution.distribution_config.default_cache_behavior.function_associations.quantity #=> Integer
|
7899
|
+
# resp.distribution.distribution_config.default_cache_behavior.function_associations.items #=> Array
|
7900
|
+
# resp.distribution.distribution_config.default_cache_behavior.function_associations.items[0].function_arn #=> String
|
7901
|
+
# resp.distribution.distribution_config.default_cache_behavior.function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
7902
|
+
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
7903
|
+
# resp.distribution.distribution_config.default_cache_behavior.realtime_log_config_arn #=> String
|
7904
|
+
# resp.distribution.distribution_config.default_cache_behavior.cache_policy_id #=> String
|
7905
|
+
# resp.distribution.distribution_config.default_cache_behavior.origin_request_policy_id #=> String
|
7906
|
+
# resp.distribution.distribution_config.default_cache_behavior.response_headers_policy_id #=> String
|
7907
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string #=> Boolean
|
7908
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
7909
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
7910
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
7911
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
7912
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
7913
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items #=> Array
|
7914
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
7915
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
7916
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
7917
|
+
# resp.distribution.distribution_config.default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
7918
|
+
# resp.distribution.distribution_config.default_cache_behavior.min_ttl #=> Integer
|
7919
|
+
# resp.distribution.distribution_config.default_cache_behavior.default_ttl #=> Integer
|
7920
|
+
# resp.distribution.distribution_config.default_cache_behavior.max_ttl #=> Integer
|
7921
|
+
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
7922
|
+
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
7923
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
7924
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].target_origin_id #=> String
|
7925
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
7926
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
7927
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items #=> Array
|
7928
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
7929
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_key_groups.enabled #=> Boolean
|
7930
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_key_groups.quantity #=> Integer
|
7931
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_key_groups.items #=> Array
|
7932
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].trusted_key_groups.items[0] #=> String
|
7933
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
7934
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
7935
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items #=> Array
|
7936
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
7937
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.quantity #=> Integer
|
7938
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
7939
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
7940
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].smooth_streaming #=> Boolean
|
7941
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].compress #=> Boolean
|
7942
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
7943
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
7944
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
7945
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
7946
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
7947
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].function_associations.quantity #=> Integer
|
7948
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].function_associations.items #=> Array
|
7949
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].function_associations.items[0].function_arn #=> String
|
7950
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
7951
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
7952
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].realtime_log_config_arn #=> String
|
7953
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].cache_policy_id #=> String
|
7954
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].origin_request_policy_id #=> String
|
7955
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].response_headers_policy_id #=> String
|
7956
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
7957
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
7958
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
7959
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
7960
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
7961
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
7962
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
7963
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
7964
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
7965
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
7966
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
7967
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].min_ttl #=> Integer
|
7968
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].default_ttl #=> Integer
|
7969
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].max_ttl #=> Integer
|
7970
|
+
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
7971
|
+
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
7972
|
+
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
7973
|
+
# resp.distribution.distribution_config.custom_error_responses.items[0].response_page_path #=> String
|
7974
|
+
# resp.distribution.distribution_config.custom_error_responses.items[0].response_code #=> String
|
7975
|
+
# resp.distribution.distribution_config.custom_error_responses.items[0].error_caching_min_ttl #=> Integer
|
7976
|
+
# resp.distribution.distribution_config.comment #=> String
|
7977
|
+
# resp.distribution.distribution_config.logging.enabled #=> Boolean
|
7978
|
+
# resp.distribution.distribution_config.logging.include_cookies #=> Boolean
|
7979
|
+
# resp.distribution.distribution_config.logging.bucket #=> String
|
7980
|
+
# resp.distribution.distribution_config.logging.prefix #=> String
|
7981
|
+
# resp.distribution.distribution_config.price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
|
7982
|
+
# resp.distribution.distribution_config.enabled #=> Boolean
|
7983
|
+
# resp.distribution.distribution_config.viewer_certificate.cloud_front_default_certificate #=> Boolean
|
7984
|
+
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
7985
|
+
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
7986
|
+
# resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
7987
|
+
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
7988
|
+
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
7989
|
+
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
7990
|
+
# resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
7991
|
+
# resp.distribution.distribution_config.restrictions.geo_restriction.quantity #=> Integer
|
7992
|
+
# resp.distribution.distribution_config.restrictions.geo_restriction.items #=> Array
|
7993
|
+
# resp.distribution.distribution_config.restrictions.geo_restriction.items[0] #=> String
|
7994
|
+
# resp.distribution.distribution_config.web_acl_id #=> String
|
7995
|
+
# resp.distribution.distribution_config.http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
7996
|
+
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
7997
|
+
# resp.distribution.distribution_config.continuous_deployment_policy_id #=> String
|
7998
|
+
# resp.distribution.distribution_config.staging #=> Boolean
|
7999
|
+
# resp.distribution.alias_icp_recordals #=> Array
|
8000
|
+
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
8001
|
+
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
8002
|
+
# resp.etag #=> String
|
8003
|
+
#
|
8004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDistributionWithStagingConfig AWS API Documentation
|
8005
|
+
#
|
8006
|
+
# @overload update_distribution_with_staging_config(params = {})
|
8007
|
+
# @param [Hash] params ({})
|
8008
|
+
def update_distribution_with_staging_config(params = {}, options = {})
|
8009
|
+
req = build_request(:update_distribution_with_staging_config, params)
|
8010
|
+
req.send_request(options)
|
8011
|
+
end
|
8012
|
+
|
7751
8013
|
# Update a field-level encryption configuration.
|
7752
8014
|
#
|
7753
8015
|
# @option params [required, Types::FieldLevelEncryptionConfig] :field_level_encryption_config
|
@@ -7898,10 +8160,10 @@ module Aws::CloudFront
|
|
7898
8160
|
|
7899
8161
|
# Updates a CloudFront function.
|
7900
8162
|
#
|
7901
|
-
# You can update a function
|
7902
|
-
# 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.
|
7903
8165
|
#
|
7904
|
-
# To update a function, you provide the function
|
8166
|
+
# To update a function, you provide the function's name and version
|
7905
8167
|
# (`ETag` value) along with the updated function code. To get the name
|
7906
8168
|
# and version, you can use `ListFunctions` and `DescribeFunction`.
|
7907
8169
|
#
|
@@ -7975,7 +8237,7 @@ module Aws::CloudFront
|
|
7975
8237
|
# update. For example, add or remove public key IDs.
|
7976
8238
|
#
|
7977
8239
|
# 3. Call `UpdateKeyGroup` with the entire key group object, including
|
7978
|
-
# the fields that you modified and those that you didn
|
8240
|
+
# the fields that you modified and those that you didn't.
|
7979
8241
|
#
|
7980
8242
|
# @option params [required, Types::KeyGroupConfig] :key_group_config
|
7981
8243
|
# The key group configuration.
|
@@ -7985,7 +8247,7 @@ module Aws::CloudFront
|
|
7985
8247
|
#
|
7986
8248
|
# @option params [String] :if_match
|
7987
8249
|
# The version of the key group that you are updating. The version is the
|
7988
|
-
# key group
|
8250
|
+
# key group's `ETag` value.
|
7989
8251
|
#
|
7990
8252
|
# @return [Types::UpdateKeyGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7991
8253
|
#
|
@@ -8089,21 +8351,21 @@ module Aws::CloudFront
|
|
8089
8351
|
#
|
8090
8352
|
# 3. Call `UpdateOriginRequestPolicy` by providing the entire origin
|
8091
8353
|
# request policy configuration, including the fields that you
|
8092
|
-
# modified and those that you didn
|
8354
|
+
# modified and those that you didn't.
|
8093
8355
|
#
|
8094
8356
|
# @option params [required, Types::OriginRequestPolicyConfig] :origin_request_policy_config
|
8095
8357
|
# An origin request policy configuration.
|
8096
8358
|
#
|
8097
8359
|
# @option params [required, String] :id
|
8098
8360
|
# The unique identifier for the origin request policy that you are
|
8099
|
-
# updating. The identifier is returned in a cache behavior
|
8361
|
+
# updating. The identifier is returned in a cache behavior's
|
8100
8362
|
# `OriginRequestPolicyId` field in the response to
|
8101
8363
|
# `GetDistributionConfig`.
|
8102
8364
|
#
|
8103
8365
|
# @option params [String] :if_match
|
8104
8366
|
# The version of the origin request policy that you are updating. The
|
8105
|
-
# version is returned in the origin request policy
|
8106
|
-
# response to `GetOriginRequestPolicyConfig`.
|
8367
|
+
# version is returned in the origin request policy's `ETag` field in
|
8368
|
+
# the response to `GetOriginRequestPolicyConfig`.
|
8107
8369
|
#
|
8108
8370
|
# @return [Types::UpdateOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8109
8371
|
#
|
@@ -8236,9 +8498,9 @@ module Aws::CloudFront
|
|
8236
8498
|
#
|
8237
8499
|
# 3. Call this API (`UpdateRealtimeLogConfig`) by providing the entire
|
8238
8500
|
# real-time log configuration, including the parameters that you
|
8239
|
-
# modified and those that you didn
|
8501
|
+
# modified and those that you didn't.
|
8240
8502
|
#
|
8241
|
-
# You cannot update a real-time log configuration
|
8503
|
+
# You cannot update a real-time log configuration's `Name` or `ARN`.
|
8242
8504
|
#
|
8243
8505
|
# @option params [Array<Types::EndPoint>] :end_points
|
8244
8506
|
# Contains information about the Amazon Kinesis data stream where you
|
@@ -8315,7 +8577,7 @@ module Aws::CloudFront
|
|
8315
8577
|
# replaced. You cannot update some policy fields independent of others.
|
8316
8578
|
# To update a response headers policy configuration:
|
8317
8579
|
#
|
8318
|
-
# 1. Use `GetResponseHeadersPolicyConfig` to get the current policy
|
8580
|
+
# 1. Use `GetResponseHeadersPolicyConfig` to get the current policy's
|
8319
8581
|
# configuration.
|
8320
8582
|
#
|
8321
8583
|
# 2. Modify the fields in the response headers policy configuration
|
@@ -8323,7 +8585,7 @@ module Aws::CloudFront
|
|
8323
8585
|
#
|
8324
8586
|
# 3. Call `UpdateResponseHeadersPolicy`, providing the entire response
|
8325
8587
|
# headers policy configuration, including the fields that you
|
8326
|
-
# modified and those that you didn
|
8588
|
+
# modified and those that you didn't.
|
8327
8589
|
#
|
8328
8590
|
# @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
|
8329
8591
|
# A response headers policy configuration.
|
@@ -8334,7 +8596,7 @@ module Aws::CloudFront
|
|
8334
8596
|
# @option params [String] :if_match
|
8335
8597
|
# The version of the response headers policy that you are updating.
|
8336
8598
|
#
|
8337
|
-
# The version is returned in the cache policy
|
8599
|
+
# The version is returned in the cache policy's `ETag` field in the
|
8338
8600
|
# response to `GetResponseHeadersPolicyConfig`.
|
8339
8601
|
#
|
8340
8602
|
# @return [Types::UpdateResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -8574,7 +8836,7 @@ module Aws::CloudFront
|
|
8574
8836
|
params: params,
|
8575
8837
|
config: config)
|
8576
8838
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
8577
|
-
context[:gem_version] = '1.
|
8839
|
+
context[:gem_version] = '1.72.0'
|
8578
8840
|
Seahorse::Client::Request.new(handlers, context)
|
8579
8841
|
end
|
8580
8842
|
|