aws-sdk-cloudfront 1.7.0 → 1.8.0
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 +63 -33
- data/lib/aws-sdk-cloudfront/types.rb +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e426203d5d4ce6ffcc250a81c514cc6bc91ce6c
|
4
|
+
data.tar.gz: 9827edc6406e838e2579e7e3b2c551e4b78f3c1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91a5fce867929b8d91540f500c474e85f495c053c272b3244cf77cacd97094f08d8240ce1e187dd65eb98abb4787fc0796522594646383fa8d761aa9eeda1645
|
7
|
+
data.tar.gz: f91e2c77dda0bacbf8eaeaaa3b3e4862659a670237f4f932e792688e079472181cc756e206be708fc3f6558180566af983cb0ac25b49d92a4ef97296b8d4d47b
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -223,8 +223,28 @@ module Aws::CloudFront
|
|
223
223
|
req.send_request(options)
|
224
224
|
end
|
225
225
|
|
226
|
-
# Creates a new web distribution.
|
227
|
-
#
|
226
|
+
# Creates a new web distribution. You create a CloudFront distribution
|
227
|
+
# to tell CloudFront where you want content to be delivered from, and
|
228
|
+
# the details about how to track and manage content delivery. Send a
|
229
|
+
# `POST` request to the `/CloudFront API
|
230
|
+
# version/distribution`/`distribution ID` resource.
|
231
|
+
#
|
232
|
+
# When you update a distribution, there are more required fields than
|
233
|
+
# when you create a distribution. When you update your distribution by
|
234
|
+
# using UpdateDistribution, follow the steps included in the
|
235
|
+
# documentation to get the current configuration and then make your
|
236
|
+
# updates. This helps to make sure that you include all of the required
|
237
|
+
# fields. To view a summary, see [Required Fields for Create
|
238
|
+
# Distribution and Update Distribution][1] in the *Amazon CloudFront
|
239
|
+
# Developer Guide*.
|
240
|
+
#
|
241
|
+
# If you are using Adobe Flash Media Server's RTMP protocol, you set up
|
242
|
+
# a different kind of CloudFront distribution. For more information, see
|
243
|
+
# CreateStreamingDistribution.
|
244
|
+
#
|
245
|
+
#
|
246
|
+
#
|
247
|
+
# [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html
|
228
248
|
#
|
229
249
|
# @option params [required, Types::DistributionConfig] :distribution_config
|
230
250
|
# The distribution's configuration information.
|
@@ -3102,36 +3122,57 @@ module Aws::CloudFront
|
|
3102
3122
|
req.send_request(options)
|
3103
3123
|
end
|
3104
3124
|
|
3105
|
-
# Updates the configuration for a web distribution.
|
3106
|
-
#
|
3125
|
+
# Updates the configuration for a web distribution.
|
3126
|
+
#
|
3127
|
+
# When you update a distribution, there are more required fields than
|
3128
|
+
# when you create a distribution. When you update your distribution by
|
3129
|
+
# using this API action, follow the steps here to get the current
|
3130
|
+
# configuration and then make your updates, to make sure that you
|
3131
|
+
# include all of the required fields. To view a summary, see [Required
|
3132
|
+
# Fields for Create Distribution and Update Distribution][1] in the
|
3133
|
+
# *Amazon CloudFront Developer Guide*.
|
3134
|
+
#
|
3135
|
+
# The update process includes getting the current distribution
|
3136
|
+
# configuration, updating the XML document that is returned to make your
|
3137
|
+
# changes, and then submitting an `UpdateDistribution` request to make
|
3138
|
+
# the updates.
|
3107
3139
|
#
|
3108
3140
|
# For information about updating a distribution using the CloudFront
|
3109
|
-
# console, see [Creating
|
3110
|
-
# CloudFront
|
3141
|
+
# console instead, see [Creating a Distribution][2] in the *Amazon
|
3142
|
+
# CloudFront Developer Guide*.
|
3111
3143
|
#
|
3112
3144
|
# **To update a web distribution using the CloudFront API**
|
3113
3145
|
#
|
3114
3146
|
# 1. Submit a GetDistributionConfig request to get the current
|
3115
3147
|
# configuration and an `Etag` header for the distribution.
|
3116
3148
|
#
|
3117
|
-
# <note markdown="1"> If you update the distribution again, you
|
3149
|
+
# <note markdown="1"> If you update the distribution again, you must get a new `Etag`
|
3118
3150
|
# header.
|
3119
3151
|
#
|
3120
3152
|
# </note>
|
3121
3153
|
#
|
3122
3154
|
# 2. Update the XML document that was returned in the response to your
|
3123
|
-
# `GetDistributionConfig` request to include
|
3124
|
-
#
|
3125
|
-
#
|
3126
|
-
#
|
3127
|
-
#
|
3128
|
-
#
|
3129
|
-
#
|
3130
|
-
#
|
3131
|
-
#
|
3132
|
-
#
|
3133
|
-
#
|
3134
|
-
#
|
3155
|
+
# `GetDistributionConfig` request to include your changes.
|
3156
|
+
#
|
3157
|
+
# When you edit the XML file, be aware of the following:
|
3158
|
+
#
|
3159
|
+
# * You must strip out the ETag parameter that is returned.
|
3160
|
+
#
|
3161
|
+
# * Additional fields are required when you update a distribution.
|
3162
|
+
# There may be fields included in the XML file for features that
|
3163
|
+
# you haven't configured for your distribution. This is expected
|
3164
|
+
# and required to successfully update the distribution.
|
3165
|
+
#
|
3166
|
+
# * You can't change the value of `CallerReference`. If you try to
|
3167
|
+
# change this value, CloudFront returns an `IllegalUpdate` error.
|
3168
|
+
#
|
3169
|
+
# * The new configuration replaces the existing configuration; the
|
3170
|
+
# values that you specify in an `UpdateDistribution` request are
|
3171
|
+
# not merged into your existing configuration. When you add,
|
3172
|
+
# delete, or replace values in an element that allows multiple
|
3173
|
+
# values (for example, `CNAME`), you must specify all of the
|
3174
|
+
# values that you want to appear in the updated distribution. In
|
3175
|
+
# addition, you must update the corresponding `Quantity` element.
|
3135
3176
|
#
|
3136
3177
|
# 3. Submit an `UpdateDistribution` request to update the configuration
|
3137
3178
|
# for your distribution:
|
@@ -3151,21 +3192,10 @@ module Aws::CloudFront
|
|
3151
3192
|
# changes have propagated. When propagation is complete, the value
|
3152
3193
|
# of `Status` is `Deployed`.
|
3153
3194
|
#
|
3154
|
-
# Beginning with the 2012-05-05 version of the CloudFront API, we
|
3155
|
-
# made substantial changes to the format of the XML document that
|
3156
|
-
# you include in the request body when you create or update a
|
3157
|
-
# distribution. With previous versions of the API, we discovered
|
3158
|
-
# that it was too easy to accidentally delete one or more values for
|
3159
|
-
# an element that accepts multiple values, for example, CNAMEs and
|
3160
|
-
# trusted signers. Our changes for the 2012-05-05 release are
|
3161
|
-
# intended to prevent these accidental deletions and to notify you
|
3162
|
-
# when there's a mismatch between the number of values you say
|
3163
|
-
# you're specifying in the `Quantity` element and the number of
|
3164
|
-
# values you're actually specifying.
|
3165
|
-
#
|
3166
3195
|
#
|
3167
3196
|
#
|
3168
|
-
# [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-
|
3197
|
+
# [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html
|
3198
|
+
# [2]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html
|
3169
3199
|
#
|
3170
3200
|
# @option params [required, Types::DistributionConfig] :distribution_config
|
3171
3201
|
# The distribution's configuration information.
|
@@ -3825,7 +3855,7 @@ module Aws::CloudFront
|
|
3825
3855
|
params: params,
|
3826
3856
|
config: config)
|
3827
3857
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
3828
|
-
context[:gem_version] = '1.
|
3858
|
+
context[:gem_version] = '1.8.0'
|
3829
3859
|
Seahorse::Client::Request.new(handlers, context)
|
3830
3860
|
end
|
3831
3861
|
|
@@ -4988,12 +4988,13 @@ module Aws::CloudFront
|
|
4988
4988
|
#
|
4989
4989
|
# @!attribute [rw] include_body
|
4990
4990
|
# A flag that allows a Lambda function to have read access to the body
|
4991
|
-
# content. For more information, see [Accessing Body
|
4992
|
-
# the Amazon CloudFront
|
4991
|
+
# content. For more information, see [Accessing the Request Body by
|
4992
|
+
# Choosing the Include Body Option][1] in the Amazon CloudFront
|
4993
|
+
# Developer Guide.
|
4993
4994
|
#
|
4994
4995
|
#
|
4995
4996
|
#
|
4996
|
-
# [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/
|
4997
|
+
# [1]: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html
|
4997
4998
|
# @return [Boolean]
|
4998
4999
|
#
|
4999
5000
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-06-18/LambdaFunctionAssociation AWS API Documentation
|
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.
|
4
|
+
version: 1.8.0
|
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: 2018-09-
|
11
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|