aws-sdk-cloudfront 1.0.0.rc6 → 1.0.0.rc7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +64 -2
- data/lib/aws-sdk-cloudfront/types.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f14c99fcf5051984fb9f7df24fb2eb844d91092b
|
4
|
+
data.tar.gz: a0f6862e761c597ca5a2456fa93a2c1e1c0703f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fa1c37eff36bd65c6103c6fa2b2750aebb2b4a5a4ca00846ac4e36cceb547de7cbb15fedcaeec317a461f819e5f1bec5fc2eebe0974425f63b2f75d0664093b
|
7
|
+
data.tar.gz: c0efbd2ef31a838f8c87c520e493b62383921161c596dc6ec91d7440758dc13bd241cd17e467375e5c68121772913e7865c552ae7bc632375d5bbb9e44b9b204
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -2390,7 +2390,69 @@ module Aws::CloudFront
|
|
2390
2390
|
req.send_request(options)
|
2391
2391
|
end
|
2392
2392
|
|
2393
|
-
#
|
2393
|
+
# Updates the configuration for a web distribution. Perform the
|
2394
|
+
# following steps.
|
2395
|
+
#
|
2396
|
+
# For information about updating a distribution using the CloudFront
|
2397
|
+
# console, see [Creating or Updating a Web Distribution Using the
|
2398
|
+
# CloudFront Console ][1] in the *Amazon CloudFront Developer Guide*.
|
2399
|
+
#
|
2400
|
+
# **To update a web distribution using the CloudFront API**
|
2401
|
+
#
|
2402
|
+
# 1. Submit a GetDistributionConfig request to get the current
|
2403
|
+
# configuration and an `Etag` header for the distribution.
|
2404
|
+
#
|
2405
|
+
# <note markdown="1"> If you update the distribution again, you need to get a new `Etag`
|
2406
|
+
# header.
|
2407
|
+
#
|
2408
|
+
# </note>
|
2409
|
+
#
|
2410
|
+
# 2. Update the XML document that was returned in the response to your
|
2411
|
+
# `GetDistributionConfig` request to include the desired changes.
|
2412
|
+
# You can't change the value of `CallerReference`. If you try to
|
2413
|
+
# change this value, CloudFront returns an `IllegalUpdate` error.
|
2414
|
+
#
|
2415
|
+
# The new configuration replaces the existing configuration; the
|
2416
|
+
# values that you specify in an `UpdateDistribution` request are not
|
2417
|
+
# merged into the existing configuration. When you add, delete, or
|
2418
|
+
# replace values in an element that allows multiple values (for
|
2419
|
+
# example, `CNAME`), you must specify all of the values that you
|
2420
|
+
# want to appear in the updated distribution. In addition, you must
|
2421
|
+
# update the corresponding `Quantity` element.
|
2422
|
+
#
|
2423
|
+
# 3. Submit an `UpdateDistribution` request to update the configuration
|
2424
|
+
# for your distribution:
|
2425
|
+
#
|
2426
|
+
# * In the request body, include the XML document that you updated
|
2427
|
+
# in Step 2. The request body must include an XML document with a
|
2428
|
+
# `DistributionConfig` element.
|
2429
|
+
#
|
2430
|
+
# * Set the value of the HTTP `If-Match` header to the value of the
|
2431
|
+
# `ETag` header that CloudFront returned when you submitted the
|
2432
|
+
# `GetDistributionConfig` request in Step 1.
|
2433
|
+
#
|
2434
|
+
# 4. Review the response to the `UpdateDistribution` request to confirm
|
2435
|
+
# that the configuration was successfully updated.
|
2436
|
+
#
|
2437
|
+
# 5. Optional: Submit a GetDistribution request to confirm that your
|
2438
|
+
# changes have propagated. When propagation is complete, the value
|
2439
|
+
# of `Status` is `Deployed`.
|
2440
|
+
#
|
2441
|
+
# Beginning with the 2012-05-05 version of the CloudFront API, we
|
2442
|
+
# made substantial changes to the format of the XML document that
|
2443
|
+
# you include in the request body when you create or update a
|
2444
|
+
# distribution. With previous versions of the API, we discovered
|
2445
|
+
# that it was too easy to accidentally delete one or more values for
|
2446
|
+
# an element that accepts multiple values, for example, CNAMEs and
|
2447
|
+
# trusted signers. Our changes for the 2012-05-05 release are
|
2448
|
+
# intended to prevent these accidental deletions and to notify you
|
2449
|
+
# when there's a mismatch between the number of values you say
|
2450
|
+
# you're specifying in the `Quantity` element and the number of
|
2451
|
+
# values you're actually specifying.
|
2452
|
+
#
|
2453
|
+
#
|
2454
|
+
#
|
2455
|
+
# [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html
|
2394
2456
|
#
|
2395
2457
|
# @option params [required, Types::DistributionConfig] :distribution_config
|
2396
2458
|
# The distribution's configuration information.
|
@@ -2844,7 +2906,7 @@ module Aws::CloudFront
|
|
2844
2906
|
params: params,
|
2845
2907
|
config: config)
|
2846
2908
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
2847
|
-
context[:gem_version] = '1.0.0.
|
2909
|
+
context[:gem_version] = '1.0.0.rc7'
|
2848
2910
|
Seahorse::Client::Request.new(handlers, context)
|
2849
2911
|
end
|
2850
2912
|
|
@@ -4567,7 +4567,7 @@ module Aws::CloudFront
|
|
4567
4567
|
# viewers can *only* access objects in an Amazon S3 bucket through
|
4568
4568
|
# CloudFront. The format of the value is:
|
4569
4569
|
#
|
4570
|
-
# origin-access-identity/
|
4570
|
+
# origin-access-identity/cloudfront/*ID-of-origin-access-identity*
|
4571
4571
|
#
|
4572
4572
|
# where ` ID-of-origin-access-identity ` is the value that CloudFront
|
4573
4573
|
# returned in the `ID` element when you created the origin access
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudfront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc13
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc13
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|