lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.71.0 vs lib/aws-sdk-cloudfront/client.rb in aws-sdk-cloudfront-1.72.0
- old
+ new
@@ -369,11 +369,11 @@
# @!group API Operations
# Associates an alias (also known as a CNAME or an alternate domain
# name) with a CloudFront distribution.
#
- # With this operation you can move an alias that’s already in use on a
+ # With this operation you can move an alias that's already in use on a
# CloudFront distribution to a different distribution in one step. This
# prevents the downtime that could occur if you first remove the alias
# from one distribution and then separately add the alias to another
# distribution.
#
@@ -387,11 +387,11 @@
#
#
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
#
# @option params [required, String] :target_distribution_id
- # The ID of the distribution that you’re associating the alias with.
+ # The ID of the distribution that you're associating the alias with.
#
# @option params [required, String] :alias
# The alias (also known as a CNAME) to add to the target distribution.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -416,11 +416,11 @@
# primary distribution. A staging distribution is a copy of an existing
# distribution (called the primary distribution) that you can use in a
# continuous deployment workflow.
#
# After you create a staging distribution, you can use
- # `UpdateDistribution` to modify the staging distribution’s
+ # `UpdateDistribution` to modify the staging distribution's
# configuration. Then you can use `CreateContinuousDeploymentPolicy` to
# incrementally move traffic to the staging distribution.
#
# @option params [required, String] :primary_distribution_id
# The identifier of the primary distribution whose configuration you are
@@ -655,11 +655,11 @@
end
# Creates a cache policy.
#
# After you create a cache policy, you can attach it to one or more
- # cache behaviors. When it’s attached to a cache behavior, the cache
+ # cache behaviors. When it's attached to a cache behavior, the cache
# policy determines the following:
#
# * The values that CloudFront includes in the *cache key*. These values
# can include HTTP headers, cookies, and URL query strings. CloudFront
# uses the cache key to find an object in its cache that it can return
@@ -668,13 +668,13 @@
# * 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
+ # 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*.
#
@@ -813,16 +813,16 @@
# Creates a continuous deployment policy that distributes traffic for a
# custom domain name to two different CloudFront distributions.
#
# To use a continuous deployment policy, first use `CopyDistribution` to
# create a staging distribution, then use `UpdateDistribution` to modify
- # the staging distribution’s configuration.
+ # the staging distribution's configuration.
#
# After you create and update a staging distribution, you can use a
# continuous deployment policy to incrementally move traffic to the
# staging distribution. This workflow enables you to test changes to a
- # distribution’s configuration before moving all of your domain’s
+ # distribution's configuration before moving all of your domain's
# production traffic to the new configuration.
#
# @option params [required, Types::ContinuousDeploymentPolicyConfig] :continuous_deployment_policy_config
# Contains the configuration for a continuous deployment policy.
#
@@ -1970,25 +1970,26 @@
#
# To create a function, you provide the function code and some
# configuration information about the function. The response contains an
# Amazon Resource Name (ARN) that uniquely identifies the function.
#
- # When you create a function, it’s in the `DEVELOPMENT` stage. In this
+ # When you create a function, it's in the `DEVELOPMENT` stage. In this
# stage, you can test the function with `TestFunction`, and update it
# with `UpdateFunction`.
#
- # When you’re ready to use your function with a CloudFront distribution,
- # use `PublishFunction` to copy the function from the `DEVELOPMENT`
- # stage to `LIVE`. When it’s live, you can attach the function to a
- # distribution’s cache behavior, using the function’s ARN.
+ # When you're ready to use your function with a CloudFront
+ # distribution, use `PublishFunction` to copy the function from the
+ # `DEVELOPMENT` stage to `LIVE`. When it's live, you can attach the
+ # function to a distribution's cache behavior, using the function's
+ # ARN.
#
# @option params [required, String] :name
# A name to identify the function.
#
# @option params [required, Types::FunctionConfig] :function_config
# Configuration information about the function, including an optional
- # comment and the function’s runtime.
+ # comment and the function's runtime.
#
# @option params [required, String, StringIO, File] :function_code
# The function code. For more information about writing a CloudFront
# function, see [Writing function code for CloudFront Functions][1] in
# the *Amazon CloudFront Developer Guide*.
@@ -2244,11 +2245,11 @@
end
# Creates an origin request policy.
#
# After you create an origin request policy, you can attach it to one or
- # more cache behaviors. When it’s attached to a cache behavior, the
+ # more cache behaviors. When it's attached to a cache behavior, the
# origin request policy determines the values that CloudFront includes
# in requests that it sends to the origin. Each request that CloudFront
# sends to the origin includes the following:
#
# * The request body and the URL path (without the domain name) from the
@@ -2260,11 +2261,11 @@
# * All HTTP headers, cookies, and URL query strings that are specified
# in the cache policy or the origin request policy. These can include
# 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
+ # 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 `CachePolicy`.
#
# For more information about origin request policies, see [Controlling
# origin requests][1] in the *Amazon CloudFront Developer Guide*.
@@ -2475,13 +2476,13 @@
# policy, you provide some metadata about the policy, and a set of
# configurations that specify the response headers.
#
# After you create a response headers policy, you can use its ID to
# attach it to one or more cache behaviors in a CloudFront distribution.
- # When it’s attached to a cache behavior, CloudFront adds the headers in
- # the policy to HTTP responses that it sends for requests that match the
- # cache behavior.
+ # When it's attached to a cache behavior, CloudFront adds the headers
+ # in the policy to HTTP responses that it sends for requests that match
+ # the cache behavior.
#
# @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
# Contains metadata about the response headers policy, and a set of
# configurations that specify the response headers.
#
@@ -2807,25 +2808,25 @@
req.send_request(options)
end
# Deletes a cache policy.
#
- # You cannot delete a cache policy if it’s attached to a cache behavior.
- # First update your distributions to remove the cache policy from all
- # cache behaviors, then delete the cache policy.
+ # You cannot delete a cache policy if it's attached to a cache
+ # behavior. First update your distributions to remove the cache policy
+ # from all cache behaviors, then delete the cache policy.
#
- # To delete a cache policy, you must provide the policy’s identifier and
- # version. To get these values, you can use `ListCachePolicies` or
+ # To delete a cache policy, you must provide the policy's identifier
+ # and version. To get these values, you can use `ListCachePolicies` or
# `GetCachePolicy`.
#
# @option params [required, String] :id
# The unique identifier for the cache policy that you are deleting. To
# get the identifier, you can use `ListCachePolicies`.
#
# @option params [String] :if_match
# The version of the cache policy that you are deleting. The version is
- # the cache policy’s `ETag` value, which you can get using
+ # the cache policy's `ETag` value, which you can get using
# `ListCachePolicies`, `GetCachePolicy`, or `GetCachePolicyConfig`.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
@@ -2871,11 +2872,11 @@
req.send_request(options)
end
# Deletes a continuous deployment policy.
#
- # You cannot delete a continuous deployment policy that’s attached to a
+ # You cannot delete a continuous deployment policy that's attached to a
# primary distribution. First update your distribution to remove the
# continuous deployment policy, then you can delete the policy.
#
# @option params [required, String] :id
# The identifier of the continuous deployment policy that you are
@@ -2984,17 +2985,17 @@
req.send_request(options)
end
# Deletes a CloudFront function.
#
- # You cannot delete a function if it’s associated with a cache behavior.
- # First, update your distributions to remove the function association
- # from all cache behaviors, then delete the function.
+ # You cannot delete a function if it's associated with a cache
+ # behavior. First, update your distributions to remove the function
+ # association from all cache behaviors, then delete the function.
#
- # To delete a function, you must provide the function’s name and version
- # (`ETag` value). To get these values, you can use `ListFunctions` and
- # `DescribeFunction`.
+ # To delete a function, you must provide the function's name and
+ # version (`ETag` value). To get these values, you can use
+ # `ListFunctions` and `DescribeFunction`.
#
# @option params [required, String] :name
# The name of the function that you are deleting.
#
# @option params [required, String] :if_match
@@ -3023,21 +3024,21 @@
#
# You cannot delete a key group that is referenced in a cache behavior.
# First update your distributions to remove the key group from all cache
# behaviors, then delete the key group.
#
- # To delete a key group, you must provide the key group’s identifier and
- # version. To get these values, use `ListKeyGroups` followed by
+ # To delete a key group, you must provide the key group's identifier
+ # and version. To get these values, use `ListKeyGroups` followed by
# `GetKeyGroup` or `GetKeyGroupConfig`.
#
# @option params [required, String] :id
# The identifier of the key group that you are deleting. To get the
# identifier, use `ListKeyGroups`.
#
# @option params [String] :if_match
# The version of the key group that you are deleting. The version is the
- # key group’s `ETag` value. To get the `ETag`, use `GetKeyGroup` or
+ # key group's `ETag` value. To get the `ETag`, use `GetKeyGroup` or
# `GetKeyGroupConfig`.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
@@ -3111,28 +3112,28 @@
req.send_request(options)
end
# Deletes an origin request policy.
#
- # You cannot delete an origin request policy if it’s attached to any
+ # You cannot delete an origin request policy if it's attached to any
# cache behaviors. First update your distributions to remove the origin
# request policy from all cache behaviors, then delete the origin
# request policy.
#
- # To delete an origin request policy, you must provide the policy’s
+ # To delete an origin request policy, you must provide the policy's
# identifier and version. To get the identifier, you can use
# `ListOriginRequestPolicies` or `GetOriginRequestPolicy`.
#
# @option params [required, String] :id
# The unique identifier for the origin request policy that you are
# deleting. To get the identifier, you can use
# `ListOriginRequestPolicies`.
#
# @option params [String] :if_match
# The version of the origin request policy that you are deleting. The
- # version is the origin request policy’s `ETag` value, which you can get
- # using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
+ # version is the origin request policy's `ETag` value, which you can
+ # get using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or
# `GetOriginRequestPolicyConfig`.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
@@ -3178,17 +3179,17 @@
req.send_request(options)
end
# Deletes a real-time log configuration.
#
- # You cannot delete a real-time log configuration if it’s attached to a
+ # You cannot delete a real-time log configuration if it's attached to a
# cache behavior. First update your distributions to remove the
# real-time log configuration from all cache behaviors, then delete the
# real-time log configuration.
#
# To delete a real-time log configuration, you can provide the
- # configuration’s name or its Amazon Resource Name (ARN). You must
+ # configuration's 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 configuration to delete.
#
# @option params [String] :name
# The name of the real-time log configuration to delete.
@@ -3215,16 +3216,16 @@
req.send_request(options)
end
# Deletes a response headers policy.
#
- # You cannot delete a response headers policy if it’s attached to a
+ # You cannot delete a response headers policy if it's attached to a
# cache behavior. First update your distributions to remove the response
# headers policy from all cache behaviors, then delete the response
# headers policy.
#
- # To delete a response headers policy, you must provide the policy’s
+ # To delete a response headers policy, you must provide the policy's
# identifier and version. To get these values, you can use
# `ListResponseHeadersPolicies` or `GetResponseHeadersPolicy`.
#
# @option params [required, String] :id
# The identifier for the response headers policy that you are deleting.
@@ -3232,11 +3233,11 @@
# To get the identifier, you can use `ListResponseHeadersPolicies`.
#
# @option params [String] :if_match
# The version of the response headers policy that you are deleting.
#
- # The version is the response headers policy’s `ETag` value, which you
+ # The version is the response headers policy's `ETag` value, which you
# can get using `ListResponseHeadersPolicies`,
# `GetResponseHeadersPolicy`, or `GetResponseHeadersPolicyConfig`.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
@@ -3325,22 +3326,22 @@
req = build_request(:delete_streaming_distribution, params)
req.send_request(options)
end
# Gets configuration information and metadata about a CloudFront
- # function, but not the function’s code. To get a function’s code, use
+ # function, but not the function's code. To get a function's code, use
# `GetFunction`.
#
# To get configuration information and metadata about a function, you
- # must provide the function’s name and stage. To get these values, you
+ # must provide the function's name and stage. To get these values, you
# can use `ListFunctions`.
#
# @option params [required, String] :name
# The name of the function that you are getting information about.
#
# @option params [String] :stage
- # The function’s stage, either `DEVELOPMENT` or `LIVE`.
+ # The function's stage, either `DEVELOPMENT` or `LIVE`.
#
# @return [Types::DescribeFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DescribeFunctionResult#function_summary #function_summary} => Types::FunctionSummary
# * {Types::DescribeFunctionResult#etag #etag} => String
@@ -3373,26 +3374,26 @@
req.send_request(options)
end
# Gets a cache policy, including the following metadata:
#
- # * The policy’s identifier.
+ # * The policy's identifier.
#
# * The date and time when the policy was last modified.
#
- # To get a cache policy, you must provide the policy’s identifier. If
- # the cache policy is attached to a distribution’s cache behavior, you
- # can get the policy’s identifier using `ListDistributions` or
+ # To get a cache policy, you must provide the policy's identifier. If
+ # the cache policy is attached to a distribution's cache behavior, you
+ # can get the policy's identifier using `ListDistributions` or
# `GetDistribution`. If the cache policy is not attached to a cache
# behavior, you can get the identifier using `ListCachePolicies`.
#
# @option params [required, String] :id
# The unique identifier for the cache policy. If the cache policy is
- # attached to a distribution’s cache behavior, you can get the policy’s
- # identifier using `ListDistributions` or `GetDistribution`. If the
- # cache policy is not attached to a cache behavior, you can get the
- # identifier using `ListCachePolicies`.
+ # attached to a distribution's cache behavior, you can get the
+ # policy's identifier using `ListDistributions` or `GetDistribution`.
+ # If the cache policy is not attached to a cache behavior, you can get
+ # the identifier using `ListCachePolicies`.
#
# @return [Types::GetCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
# * {Types::GetCachePolicyResult#etag #etag} => String
@@ -3437,23 +3438,23 @@
req.send_request(options)
end
# Gets a cache policy configuration.
#
- # To get a cache policy configuration, you must provide the policy’s
- # identifier. If the cache policy is attached to a distribution’s cache
- # behavior, you can get the policy’s identifier using
+ # To get a cache policy configuration, you must provide the policy's
+ # identifier. If the cache policy is attached to a distribution's cache
+ # behavior, you can get the policy's identifier using
# `ListDistributions` or `GetDistribution`. If the cache policy is not
# attached to a cache behavior, you can get the identifier using
# `ListCachePolicies`.
#
# @option params [required, String] :id
# The unique identifier for the cache policy. If the cache policy is
- # attached to a distribution’s cache behavior, you can get the policy’s
- # identifier using `ListDistributions` or `GetDistribution`. If the
- # cache policy is not attached to a cache behavior, you can get the
- # identifier using `ListCachePolicies`.
+ # attached to a distribution's cache behavior, you can get the
+ # policy's identifier using `ListDistributions` or `GetDistribution`.
+ # If the cache policy is not attached to a cache behavior, you can get
+ # the identifier using `ListCachePolicies`.
#
# @return [Types::GetCachePolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetCachePolicyConfigResult#cache_policy_config #cache_policy_config} => Types::CachePolicyConfig
# * {Types::GetCachePolicyConfigResult#etag #etag} => String
@@ -3558,11 +3559,11 @@
def get_cloud_front_origin_access_identity_config(params = {}, options = {})
req = build_request(:get_cloud_front_origin_access_identity_config, params)
req.send_request(options)
end
- # Gets a continuous deployment policy, including metadata (the policy’s
+ # Gets a continuous deployment policy, including metadata (the policy's
# identifier and the date and time when the policy was last modified).
#
# @option params [required, String] :id
# The identifier of the continuous deployment policy that you are
# getting.
@@ -4223,18 +4224,18 @@
end
# Gets the code of a CloudFront function. To get configuration
# information and metadata about a function, use `DescribeFunction`.
#
- # To get a function’s code, you must provide the function’s name and
+ # To get a function's code, you must provide the function's name and
# stage. To get these values, you can use `ListFunctions`.
#
# @option params [required, String] :name
# The name of the function whose code you are getting.
#
# @option params [String] :stage
- # The function’s stage, either `DEVELOPMENT` or `LIVE`.
+ # The function's stage, either `DEVELOPMENT` or `LIVE`.
#
# @return [Types::GetFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetFunctionResult#function_code #function_code} => String
# * {Types::GetFunctionResult#etag #etag} => String
@@ -4307,13 +4308,13 @@
end
# Gets a key group, including the date and time when the key group was
# last modified.
#
- # To get a key group, you must provide the key group’s identifier. If
- # the key group is referenced in a distribution’s cache behavior, you
- # can get the key group’s identifier using `ListDistributions` or
+ # To get a key group, you must provide the key group's identifier. If
+ # the key group is referenced in a distribution's cache behavior, you
+ # can get the key group's identifier using `ListDistributions` or
# `GetDistribution`. If the key group is not referenced in a cache
# behavior, you can get the identifier using `ListKeyGroups`.
#
# @option params [required, String] :id
# The identifier of the key group that you are getting. To get the
@@ -4349,13 +4350,13 @@
req.send_request(options)
end
# Gets a key group configuration.
#
- # To get a key group configuration, you must provide the key group’s
- # identifier. If the key group is referenced in a distribution’s cache
- # behavior, you can get the key group’s identifier using
+ # To get a key group configuration, you must provide the key group's
+ # identifier. If the key group is referenced in a distribution's cache
+ # behavior, you can get the key group's identifier using
# `ListDistributions` or `GetDistribution`. If the key group is not
# referenced in a cache behavior, you can get the identifier using
# `ListKeyGroups`.
#
# @option params [required, String] :id
@@ -4490,25 +4491,25 @@
req.send_request(options)
end
# Gets an origin request policy, including the following metadata:
#
- # * The policy’s identifier.
+ # * The policy's identifier.
#
# * The date and time when the policy was last modified.
#
- # To get an origin request policy, you must provide the policy’s
+ # To get an origin request policy, you must provide the policy's
# identifier. If the origin request policy is attached to a
- # distribution’s cache behavior, you can get the policy’s identifier
+ # distribution's cache behavior, you can get the policy's identifier
# using `ListDistributions` or `GetDistribution`. If the origin request
# policy is not attached to a cache behavior, you can get the identifier
# using `ListOriginRequestPolicies`.
#
# @option params [required, String] :id
# The unique identifier for the origin request policy. If the origin
- # request policy is attached to a distribution’s cache behavior, you can
- # get the policy’s identifier using `ListDistributions` or
+ # request policy is attached to a distribution's cache behavior, you
+ # can get the policy's identifier using `ListDistributions` or
# `GetDistribution`. If the origin request policy is not attached to a
# cache behavior, you can get the identifier using
# `ListOriginRequestPolicies`.
#
# @return [Types::GetOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -4552,20 +4553,20 @@
end
# Gets an origin request policy configuration.
#
# To get an origin request policy configuration, you must provide the
- # policy’s identifier. If the origin request policy is attached to a
- # distribution’s cache behavior, you can get the policy’s identifier
+ # policy's identifier. If the origin request policy is attached to a
+ # distribution's cache behavior, you can get the policy's identifier
# using `ListDistributions` or `GetDistribution`. If the origin request
# policy is not attached to a cache behavior, you can get the identifier
# using `ListOriginRequestPolicies`.
#
# @option params [required, String] :id
# The unique identifier for the origin request policy. If the origin
- # request policy is attached to a distribution’s cache behavior, you can
- # get the policy’s identifier using `ListDistributions` or
+ # request policy is attached to a distribution's cache behavior, you
+ # can get the policy's identifier using `ListDistributions` or
# `GetDistribution`. If the origin request policy is not attached to a
# cache behavior, you can get the identifier using
# `ListOriginRequestPolicies`.
#
# @return [Types::GetOriginRequestPolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -4675,11 +4676,11 @@
end
# Gets a real-time log configuration.
#
# To get a real-time log configuration, you can provide the
- # configuration’s name or its Amazon Resource Name (ARN). You must
+ # configuration's 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 configuration to get.
#
# @option params [String] :name
# The name of the real-time log configuration to get.
@@ -4718,25 +4719,25 @@
def get_realtime_log_config(params = {}, options = {})
req = build_request(:get_realtime_log_config, params)
req.send_request(options)
end
- # Gets a response headers policy, including metadata (the policy’s
+ # Gets a response headers policy, including metadata (the policy's
# identifier and the date and time when the policy was last modified).
#
- # To get a response headers policy, you must provide the policy’s
+ # To get a response headers policy, you must provide the policy's
# identifier. If the response headers policy is attached to a
- # distribution’s cache behavior, you can get the policy’s identifier
+ # distribution's cache behavior, you can get the policy's identifier
# using `ListDistributions` or `GetDistribution`. If the response
# headers policy is not attached to a cache behavior, you can get the
# identifier using `ListResponseHeadersPolicies`.
#
# @option params [required, String] :id
# The identifier for the response headers policy.
#
- # If the response headers policy is attached to a distribution’s cache
- # behavior, you can get the policy’s identifier using
+ # If the response headers policy is attached to a distribution's cache
+ # behavior, you can get the policy's identifier using
# `ListDistributions` or `GetDistribution`. If the response headers
# policy is not attached to a cache behavior, you can get the identifier
# using `ListResponseHeadersPolicies`.
#
# @return [Types::GetResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -4805,21 +4806,21 @@
end
# Gets a response headers policy configuration.
#
# To get a response headers policy configuration, you must provide the
- # policy’s identifier. If the response headers policy is attached to a
- # distribution’s cache behavior, you can get the policy’s identifier
+ # policy's identifier. If the response headers policy is attached to a
+ # distribution's cache behavior, you can get the policy's identifier
# using `ListDistributions` or `GetDistribution`. If the response
# headers policy is not attached to a cache behavior, you can get the
# identifier using `ListResponseHeadersPolicies`.
#
# @option params [required, String] :id
# The identifier for the response headers policy.
#
- # If the response headers policy is attached to a distribution’s cache
- # behavior, you can get the policy’s identifier using
+ # If the response headers policy is attached to a distribution's cache
+ # behavior, you can get the policy's identifier using
# `ListDistributions` or `GetDistribution`. If the response headers
# policy is not attached to a cache behavior, you can get the identifier
# using `ListResponseHeadersPolicies`.
#
# @return [Types::GetResponseHeadersPolicyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -5018,12 +5019,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of cache policies. The response includes cache policies in
# the list that occur after the marker. To get the next page of the
- # list, set this field’s value to the value of `NextMarker` from the
- # current page’s response.
+ # list, set this field's value to the value of `NextMarker` from the
+ # current page's response.
#
# @option params [Integer] :max_items
# The maximum number of cache policies that you want in the response.
#
# @return [Types::ListCachePoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -5128,11 +5129,11 @@
# that conflict or overlap with the provided alias, and the associated
# CloudFront distributions and Amazon Web Services accounts for each
# conflicting alias. In the returned list, the distribution and account
# IDs are partially hidden, which allows you to identify the
# distributions and accounts that you own, but helps to protect the
- # information of ones that you don’t own.
+ # information of ones that you don't own.
#
# Use this operation to find aliases that are in use in CloudFront that
# conflict or overlap with the provided alias. For example, if you
# provide `www.example.com` as input, the returned list can include
# `www.example.com` and the overlapping wildcard alternate domain name
@@ -5168,12 +5169,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# the list of conflicting aliases. The response includes conflicting
# aliases in the list that occur after the marker. To get the next page
- # of the list, set this field’s value to the value of `NextMarker` from
- # the current page’s response.
+ # of the list, set this field's value to the value of `NextMarker` from
+ # the current page's response.
#
# @option params [Integer] :max_items
# The maximum number of conflicting aliases that you want in the
# response.
#
@@ -5221,12 +5222,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of continuous deployment policies. The response includes
# policies in the list that occur after the marker. To get the next page
- # of the list, set this field’s value to the value of `NextMarker` from
- # the current page’s response.
+ # of the list, set this field's value to the value of `NextMarker` from
+ # the current page's response.
#
# @option params [Integer] :max_items
# The maximum number of continuous deployment policies that you want
# returned in the response.
#
@@ -5473,11 +5474,11 @@
req = build_request(:list_distributions, params)
req.send_request(options)
end
# Gets a list of distribution IDs for distributions that have a cache
- # behavior that’s associated with the specified cache policy.
+ # behavior that's associated with the specified cache policy.
#
# You can optionally specify the maximum number of items to receive in
# the response. If the total number of items in the list exceeds the
# maximum that you specify, or the default maximum, the response is
# paginated. To get the next page of items, send a subsequent request
@@ -5486,12 +5487,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of distribution IDs. The response includes distribution IDs
# in the list that occur after the marker. To get the next page of the
- # list, set this field’s value to the value of `NextMarker` from the
- # current page’s response.
+ # list, set this field's value to the value of `NextMarker` from the
+ # current page's response.
#
# @option params [Integer] :max_items
# The maximum number of distribution IDs that you want in the response.
#
# @option params [required, String] :cache_policy_id
@@ -5541,12 +5542,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of distribution IDs. The response includes distribution IDs
# in the list that occur after the marker. To get the next page of the
- # list, set this field’s value to the value of `NextMarker` from the
- # current page’s response.
+ # list, set this field's value to the value of `NextMarker` from the
+ # current page's response.
#
# @option params [Integer] :max_items
# The maximum number of distribution IDs that you want in the response.
#
# @option params [required, String] :key_group_id
@@ -5583,11 +5584,11 @@
req = build_request(:list_distributions_by_key_group, params)
req.send_request(options)
end
# Gets a list of distribution IDs for distributions that have a cache
- # behavior that’s associated with the specified origin request policy.
+ # behavior that's associated with the specified origin request policy.
#
# You can optionally specify the maximum number of items to receive in
# the response. If the total number of items in the list exceeds the
# maximum that you specify, or the default maximum, the response is
# paginated. To get the next page of items, send a subsequent request
@@ -5596,12 +5597,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of distribution IDs. The response includes distribution IDs
# in the list that occur after the marker. To get the next page of the
- # list, set this field’s value to the value of `NextMarker` from the
- # current page’s response.
+ # list, set this field's value to the value of `NextMarker` from the
+ # current page's response.
#
# @option params [Integer] :max_items
# The maximum number of distribution IDs that you want in the response.
#
# @option params [required, String] :origin_request_policy_id
@@ -5637,11 +5638,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 distributions 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
@@ -5656,12 +5657,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of distributions. The response includes distributions in the
# list that occur after the marker. To get the next page of the list,
- # set this field’s value to the value of `NextMarker` from the current
- # page’s response.
+ # set this field's value to the value of `NextMarker` from the current
+ # page's response.
#
# @option params [Integer] :max_items
# The maximum number of distributions that you want in the response.
#
# @option params [String] :realtime_log_config_name
@@ -5864,11 +5865,12 @@
req = build_request(:list_distributions_by_realtime_log_config, params)
req.send_request(options)
end
# Gets a list of distribution IDs for distributions that have a cache
- # behavior that’s associated with the specified response headers policy.
+ # behavior that's associated with the specified response headers
+ # policy.
#
# You can optionally specify the maximum number of items to receive in
# the response. If the total number of items in the list exceeds the
# maximum that you specify, or the default maximum, the response is
# paginated. To get the next page of items, send a subsequent request
@@ -5877,12 +5879,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of distribution IDs. The response includes distribution IDs
# in the list that occur after the marker. To get the next page of the
- # list, set this field’s value to the value of `NextMarker` from the
- # current page’s response.
+ # list, set this field's value to the value of `NextMarker` from the
+ # current page's response.
#
# @option params [Integer] :max_items
# The maximum number of distribution IDs that you want to get in the
# response.
#
@@ -6256,12 +6258,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of functions. The response includes functions in the list
# that occur after the marker. To get the next page of the list, set
- # this field’s value to the value of `NextMarker` from the current
- # page’s response.
+ # this field's value to the value of `NextMarker` from the current
+ # page's response.
#
# @option params [Integer] :max_items
# The maximum number of functions that you want in the response.
#
# @option params [String] :stage
@@ -6369,12 +6371,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of key groups. The response includes key groups in the list
# that occur after the marker. To get the next page of the list, set
- # this field’s value to the value of `NextMarker` from the current
- # page’s response.
+ # this field's value to the value of `NextMarker` from the current
+ # page's response.
#
# @option params [Integer] :max_items
# The maximum number of key groups that you want in the response.
#
# @return [Types::ListKeyGroupsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -6491,12 +6493,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of origin request policies. The response includes origin
# request policies in the list that occur after the marker. To get the
- # next page of the list, set this field’s value to the value of
- # `NextMarker` from the current page’s response.
+ # next page of the list, set this field's value to the value of
+ # `NextMarker` from the current page's response.
#
# @option params [Integer] :max_items
# The maximum number of origin request policies that you want in the
# response.
#
@@ -6605,12 +6607,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of real-time log configurations. The response includes
# real-time log configurations in the list that occur after the marker.
- # To get the next page of the list, set this field’s value to the value
- # of `NextMarker` from the current page’s response.
+ # To get the next page of the list, set this field's value to the value
+ # of `NextMarker` from the current page's response.
#
# @return [Types::ListRealtimeLogConfigsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::ListRealtimeLogConfigsResult#realtime_log_configs #realtime_log_configs} => Types::RealtimeLogConfigs
#
@@ -6672,12 +6674,12 @@
#
# @option params [String] :marker
# Use this field when paginating results to indicate where to begin in
# your list of response headers policies. The response includes response
# headers policies in the list that occur after the marker. To get the
- # next page of the list, set this field’s value to the value of
- # `NextMarker` from the current page’s response.
+ # next page of the list, set this field's value to the value of
+ # `NextMarker` from the current page's response.
#
# @option params [Integer] :max_items
# The maximum number of response headers policies that you want to get
# in the response.
#
@@ -6841,14 +6843,14 @@
# `DEVELOPMENT` stage to `LIVE`. This automatically updates all cache
# behaviors that are using this function to use the newly published copy
# in the `LIVE` stage.
#
# When a function is published to the `LIVE` stage, you can attach the
- # function to a distribution’s cache behavior, using the function’s
+ # function to a distribution's cache behavior, using the function's
# Amazon Resource Name (ARN).
#
- # To publish a function, you must provide the function’s name and
+ # To publish a function, you must provide the function's name and
# version (`ETag` value). To get these values, you can use
# `ListFunctions` and `DescribeFunction`.
#
# @option params [required, String] :name
# The name of the function that you are publishing.
@@ -6924,19 +6926,19 @@
# Tests a CloudFront function.
#
# To test a function, you provide an *event object* that represents an
# HTTP request or response that your CloudFront distribution could
# receive in production. CloudFront runs the function, passing it the
- # event object that you provided, and returns the function’s result (the
- # modified event object) in the response. The response also contains
- # function logs and error messages, if any exist. For more information
- # about testing functions, see [Testing functions][1] in the *Amazon
- # CloudFront Developer Guide*.
+ # event object that you provided, and returns the function's result
+ # (the modified event object) in the response. The response also
+ # contains function logs and error messages, if any exist. For more
+ # information about testing functions, see [Testing functions][1] in the
+ # *Amazon CloudFront Developer Guide*.
#
- # To test a function, you provide the function’s name and version
- # (`ETag` value) along with the event object. To get the function’s name
- # and version, you can use `ListFunctions` and `DescribeFunction`.
+ # To test a function, you provide the function's name and version
+ # (`ETag` value) along with the event object. To get the function's
+ # name and version, you can use `ListFunctions` and `DescribeFunction`.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function
#
@@ -7038,23 +7040,23 @@
# 2. Locally modify the fields in the cache policy configuration that
# you want to update.
#
# 3. Call `UpdateCachePolicy` by providing the entire cache policy
# configuration, including the fields that you modified and those
- # that you didn’t.
+ # that you didn't.
#
# @option params [required, Types::CachePolicyConfig] :cache_policy_config
# A cache policy configuration.
#
# @option params [required, String] :id
# The unique identifier for the cache policy that you are updating. The
- # identifier is returned in a cache behavior’s `CachePolicyId` field in
+ # identifier is returned in a cache behavior's `CachePolicyId` field in
# the response to `GetDistributionConfig`.
#
# @option params [String] :if_match
# The version of the cache policy that you are updating. The version is
- # returned in the cache policy’s `ETag` field in the response to
+ # returned in the cache policy's `ETag` field in the response to
# `GetCachePolicyConfig`.
#
# @return [Types::UpdateCachePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateCachePolicyResult#cache_policy #cache_policy} => Types::CachePolicy
@@ -7194,11 +7196,11 @@
# 2. Locally modify the fields in the continuous deployment policy
# configuration that you want to update.
#
# 3. Use `UpdateContinuousDeploymentPolicy`, providing the entire
# continuous deployment policy configuration, including the fields
- # that you modified and those that you didn’t.
+ # that you modified and those that you didn't.
#
# @option params [required, Types::ContinuousDeploymentPolicyConfig] :continuous_deployment_policy_config
# The continuous deployment policy configuration.
#
# @option params [required, String] :id
@@ -7284,18 +7286,18 @@
#
# * You must rename the `ETag` field to `IfMatch`, leaving the value
# unchanged. (Set the value of `IfMatch` to the value of `ETag`,
# then remove the `ETag` field.)
#
- # * You can’t change the value of `CallerReference`.
+ # * You can't change the value of `CallerReference`.
#
# 3. Submit an `UpdateDistribution` request, providing the distribution
# configuration. The new configuration replaces the existing
# configuration. The values that you specify in an
# `UpdateDistribution` request are not merged into your existing
# configuration. Make sure to include all fields: the ones that you
- # modified and also the ones that you didn’t.
+ # modified and also the ones that you didn't.
#
# @option params [required, Types::DistributionConfig] :distribution_config
# The distribution's configuration information.
#
# @option params [required, String] :id
@@ -7776,14 +7778,14 @@
# is overwritten to match the staging distribution.
#
# You can use this operation in a continuous deployment workflow after
# you have tested configuration changes on the staging distribution.
# After using a continuous deployment policy to move a portion of your
- # domain name’s traffic to the staging distribution and verifying that
+ # domain name's traffic to the staging distribution and verifying that
# it works as intended, you can use this operation to copy the staging
- # distribution’s configuration to the primary distribution. This action
- # will disable the continuous deployment policy and move your domain’s
+ # distribution's configuration to the primary distribution. This action
+ # will disable the continuous deployment policy and move your domain's
# traffic back to the primary distribution.
#
# @option params [required, String] :id
# The identifier of the primary distribution to which you are copying a
# staging distribution's configuration.
@@ -8156,14 +8158,14 @@
req.send_request(options)
end
# Updates a CloudFront function.
#
- # You can update a function’s code or the comment that describes the
- # function. You cannot update a function’s name.
+ # You can update a function's code or the comment that describes the
+ # function. You cannot update a function's name.
#
- # To update a function, you provide the function’s name and version
+ # To update a function, you provide the function's name and version
# (`ETag` value) along with the updated function code. To get the name
# and version, you can use `ListFunctions` and `DescribeFunction`.
#
# @option params [required, String] :name
# The name of the function that you are updating.
@@ -8233,21 +8235,21 @@
#
# 2. Locally modify the fields in the key group that you want to
# update. For example, add or remove public key IDs.
#
# 3. Call `UpdateKeyGroup` with the entire key group object, including
- # the fields that you modified and those that you didn’t.
+ # the fields that you modified and those that you didn't.
#
# @option params [required, Types::KeyGroupConfig] :key_group_config
# The key group configuration.
#
# @option params [required, String] :id
# The identifier of the key group that you are updating.
#
# @option params [String] :if_match
# The version of the key group that you are updating. The version is the
- # key group’s `ETag` value.
+ # key group's `ETag` value.
#
# @return [Types::UpdateKeyGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateKeyGroupResult#key_group #key_group} => Types::KeyGroup
# * {Types::UpdateKeyGroupResult#etag #etag} => String
@@ -8347,25 +8349,25 @@
# 2. Locally modify the fields in the origin request policy
# configuration that you want to update.
#
# 3. Call `UpdateOriginRequestPolicy` by providing the entire origin
# request policy configuration, including the fields that you
- # modified and those that you didn’t.
+ # modified and those that you didn't.
#
# @option params [required, Types::OriginRequestPolicyConfig] :origin_request_policy_config
# An origin request policy configuration.
#
# @option params [required, String] :id
# The unique identifier for the origin request policy that you are
- # updating. The identifier is returned in a cache behavior’s
+ # updating. The identifier is returned in a cache behavior's
# `OriginRequestPolicyId` field in the response to
# `GetDistributionConfig`.
#
# @option params [String] :if_match
# The version of the origin request policy that you are updating. The
- # version is returned in the origin request policy’s `ETag` field in the
- # response to `GetOriginRequestPolicyConfig`.
+ # version is returned in the origin request policy's `ETag` field in
+ # the response to `GetOriginRequestPolicyConfig`.
#
# @return [Types::UpdateOriginRequestPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateOriginRequestPolicyResult#origin_request_policy #origin_request_policy} => Types::OriginRequestPolicy
# * {Types::UpdateOriginRequestPolicyResult#etag #etag} => String
@@ -8494,13 +8496,13 @@
# 2. Locally modify the parameters in the real-time log configuration
# that you want to update.
#
# 3. Call this API (`UpdateRealtimeLogConfig`) by providing the entire
# real-time log configuration, including the parameters that you
- # modified and those that you didn’t.
+ # modified and those that you didn't.
#
- # You cannot update a real-time log configuration’s `Name` or `ARN`.
+ # You cannot update a real-time log configuration's `Name` or `ARN`.
#
# @option params [Array<Types::EndPoint>] :end_points
# Contains information about the Amazon Kinesis data stream where you
# are sending real-time log data.
#
@@ -8573,30 +8575,30 @@
#
# When you update a response headers policy, the entire policy is
# replaced. You cannot update some policy fields independent of others.
# To update a response headers policy configuration:
#
- # 1. Use `GetResponseHeadersPolicyConfig` to get the current policy’s
+ # 1. Use `GetResponseHeadersPolicyConfig` to get the current policy's
# configuration.
#
# 2. Modify the fields in the response headers policy configuration
# that you want to update.
#
# 3. Call `UpdateResponseHeadersPolicy`, providing the entire response
# headers policy configuration, including the fields that you
- # modified and those that you didn’t.
+ # modified and those that you didn't.
#
# @option params [required, Types::ResponseHeadersPolicyConfig] :response_headers_policy_config
# A response headers policy configuration.
#
# @option params [required, String] :id
# The identifier for the response headers policy that you are updating.
#
# @option params [String] :if_match
# The version of the response headers policy that you are updating.
#
- # The version is returned in the cache policy’s `ETag` field in the
+ # The version is returned in the cache policy's `ETag` field in the
# response to `GetResponseHeadersPolicyConfig`.
#
# @return [Types::UpdateResponseHeadersPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateResponseHeadersPolicyResult#response_headers_policy #response_headers_policy} => Types::ResponseHeadersPolicy
@@ -8832,10 +8834,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-cloudfront'
- context[:gem_version] = '1.71.0'
+ context[:gem_version] = '1.72.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#