lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.39.0 vs lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.40.0
- old
+ new
@@ -344,11 +344,11 @@
# The headers, cookies, and query strings that are included in the cache
# key are automatically included in requests that CloudFront sends to
# the origin. CloudFront sends a request when it can’t find an object in
# its cache that matches the request’s cache key. If you want to send
# values to the origin but *not* include them in the cache key, use
- # `CreateOriginRequestPolicy`.
+ # `OriginRequestPolicy`.
#
# For more information about cache policies, see [Controlling the cache
# key][1] in the *Amazon CloudFront Developer Guide*.
#
#
@@ -373,10 +373,11 @@
# default_ttl: 1,
# max_ttl: 1,
# min_ttl: 1, # required
# parameters_in_cache_key_and_forwarded_to_origin: {
# enable_accept_encoding_gzip: false, # required
+ # enable_accept_encoding_brotli: false,
# headers_config: { # required
# header_behavior: "none", # required, accepts none, whitelist
# headers: {
# quantity: 1, # required
# items: ["string"],
@@ -408,10 +409,11 @@
# resp.cache_policy.cache_policy_config.name #=> String
# resp.cache_policy.cache_policy_config.default_ttl #=> Integer
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
@@ -1558,12 +1560,11 @@
# items from the viewer request and, in the case of headers,
# additional ones that are added by CloudFront.
#
# CloudFront sends a request when it can’t find a valid object in its
# cache that matches the request. If you want to send values to the
- # origin and also include them in the cache key, use
- # `CreateCachePolicy`.
+ # origin and also include them in the cache key, use `CachePolicy`.
#
# For more information about origin request policies, see [Controlling
# origin requests][1] in the *Amazon CloudFront Developer Guide*.
#
#
@@ -2348,10 +2349,11 @@
# resp.cache_policy.cache_policy_config.name #=> String
# resp.cache_policy.cache_policy_config.default_ttl #=> Integer
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
@@ -2406,10 +2408,11 @@
# resp.cache_policy_config.name #=> String
# resp.cache_policy_config.default_ttl #=> Integer
# resp.cache_policy_config.max_ttl #=> Integer
# resp.cache_policy_config.min_ttl #=> Integer
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
+ # resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
# resp.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
@@ -3490,10 +3493,11 @@
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.name #=> String
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.default_ttl #=> Integer
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.max_ttl #=> Integer
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.min_ttl #=> Integer
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
+ # resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
# resp.cache_policy_list.items[0].cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
@@ -3853,11 +3857,11 @@
def list_distributions_by_origin_request_policy_id(params = {}, options = {})
req = build_request(:list_distributions_by_origin_request_policy_id, params)
req.send_request(options)
end
- # Gets a list of distribution that have a cache behavior that’s
+ # Gets a list of distributions that have a cache behavior that’s
# associated with the specified real-time log configuration.
#
# You can specify the real-time log configuration by its name or its
# Amazon Resource Name (ARN). You must provide at least one. If you
# provide both, CloudFront uses the name to identify the real-time log
@@ -4781,10 +4785,11 @@
# default_ttl: 1,
# max_ttl: 1,
# min_ttl: 1, # required
# parameters_in_cache_key_and_forwarded_to_origin: {
# enable_accept_encoding_gzip: false, # required
+ # enable_accept_encoding_brotli: false,
# headers_config: { # required
# header_behavior: "none", # required, accepts none, whitelist
# headers: {
# quantity: 1, # required
# items: ["string"],
@@ -4818,10 +4823,11 @@
# resp.cache_policy.cache_policy_config.name #=> String
# resp.cache_policy.cache_policy_config.default_ttl #=> Integer
# resp.cache_policy.cache_policy_config.max_ttl #=> Integer
# resp.cache_policy.cache_policy_config.min_ttl #=> Integer
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_gzip #=> Boolean
+ # resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.enable_accept_encoding_brotli #=> Boolean
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.header_behavior #=> String, one of "none", "whitelist"
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.quantity #=> Integer
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items #=> Array
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers.items[0] #=> String
# resp.cache_policy.cache_policy_config.parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "allExcept", "all"
@@ -5856,10 +5862,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-cloudfront'
- context[:gem_version] = '1.39.0'
+ context[:gem_version] = '1.40.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#