lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.75.2 vs lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.76.0
- old
+ new
@@ -667,14 +667,14 @@
#
# * The default, minimum, and maximum time to live (TTL) values that you
# want objects to stay in the CloudFront cache.
#
# 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
+ # key are also 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
# `OriginRequestPolicy`.
#
# For more information about cache policies, see [Controlling the cache
# key][1] in the *Amazon CloudFront Developer Guide*.
#
@@ -2288,25 +2288,25 @@
# resp = client.create_origin_request_policy({
# origin_request_policy_config: { # required
# comment: "string",
# name: "string", # required
# headers_config: { # required
- # header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront
+ # header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront, allExcept
# headers: {
# quantity: 1, # required
# items: ["string"],
# },
# },
# cookies_config: { # required
- # cookie_behavior: "none", # required, accepts none, whitelist, all
+ # cookie_behavior: "none", # required, accepts none, whitelist, all, allExcept
# cookies: {
# quantity: 1, # required
# items: ["string"],
# },
# },
# query_strings_config: { # required
- # query_string_behavior: "none", # required, accepts none, whitelist, all
+ # query_string_behavior: "none", # required, accepts none, whitelist, all, allExcept
# query_strings: {
# quantity: 1, # required
# items: ["string"],
# },
# },
@@ -2317,19 +2317,19 @@
#
# resp.origin_request_policy.id #=> String
# resp.origin_request_policy.last_modified_time #=> Time
# resp.origin_request_policy.origin_request_policy_config.comment #=> String
# resp.origin_request_policy.origin_request_policy_config.name #=> String
- # resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront", "allExcept"
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
- # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
- # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
# resp.location #=> String
# resp.etag #=> String
@@ -4547,19 +4547,19 @@
#
# resp.origin_request_policy.id #=> String
# resp.origin_request_policy.last_modified_time #=> Time
# resp.origin_request_policy.origin_request_policy_config.comment #=> String
# resp.origin_request_policy.origin_request_policy_config.name #=> String
- # resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront", "allExcept"
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
- # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
- # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
# resp.etag #=> String
#
@@ -4602,19 +4602,19 @@
#
# @example Response structure
#
# resp.origin_request_policy_config.comment #=> String
# resp.origin_request_policy_config.name #=> String
- # resp.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
+ # resp.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront", "allExcept"
# resp.origin_request_policy_config.headers_config.headers.quantity #=> Integer
# resp.origin_request_policy_config.headers_config.headers.items #=> Array
# resp.origin_request_policy_config.headers_config.headers.items[0] #=> String
- # resp.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
# resp.origin_request_policy_config.cookies_config.cookies.items #=> Array
# resp.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
- # resp.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
# resp.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
# resp.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
# resp.etag #=> String
#
@@ -6549,19 +6549,19 @@
# resp.origin_request_policy_list.items[0].type #=> String, one of "managed", "custom"
# resp.origin_request_policy_list.items[0].origin_request_policy.id #=> String
# resp.origin_request_policy_list.items[0].origin_request_policy.last_modified_time #=> Time
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.comment #=> String
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.name #=> String
- # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront", "allExcept"
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
- # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
- # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
# resp.origin_request_policy_list.items[0].origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginRequestPolicies AWS API Documentation
@@ -8406,25 +8406,25 @@
# resp = client.update_origin_request_policy({
# origin_request_policy_config: { # required
# comment: "string",
# name: "string", # required
# headers_config: { # required
- # header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront
+ # header_behavior: "none", # required, accepts none, whitelist, allViewer, allViewerAndWhitelistCloudFront, allExcept
# headers: {
# quantity: 1, # required
# items: ["string"],
# },
# },
# cookies_config: { # required
- # cookie_behavior: "none", # required, accepts none, whitelist, all
+ # cookie_behavior: "none", # required, accepts none, whitelist, all, allExcept
# cookies: {
# quantity: 1, # required
# items: ["string"],
# },
# },
# query_strings_config: { # required
- # query_string_behavior: "none", # required, accepts none, whitelist, all
+ # query_string_behavior: "none", # required, accepts none, whitelist, all, allExcept
# query_strings: {
# quantity: 1, # required
# items: ["string"],
# },
# },
@@ -8437,19 +8437,19 @@
#
# resp.origin_request_policy.id #=> String
# resp.origin_request_policy.last_modified_time #=> Time
# resp.origin_request_policy.origin_request_policy_config.comment #=> String
# resp.origin_request_policy.origin_request_policy_config.name #=> String
- # resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront"
+ # resp.origin_request_policy.origin_request_policy_config.headers_config.header_behavior #=> String, one of "none", "whitelist", "allViewer", "allViewerAndWhitelistCloudFront", "allExcept"
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.quantity #=> Integer
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items #=> Array
# resp.origin_request_policy.origin_request_policy_config.headers_config.headers.items[0] #=> String
- # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy.origin_request_policy_config.cookies_config.cookie_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.quantity #=> Integer
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items #=> Array
# resp.origin_request_policy.origin_request_policy_config.cookies_config.cookies.items[0] #=> String
- # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all"
+ # resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_string_behavior #=> String, one of "none", "whitelist", "all", "allExcept"
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.quantity #=> Integer
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items #=> Array
# resp.origin_request_policy.origin_request_policy_config.query_strings_config.query_strings.items[0] #=> String
# resp.etag #=> String
#
@@ -8874,10 +8874,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-cloudfront'
- context[:gem_version] = '1.75.2'
+ context[:gem_version] = '1.76.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#