aws-sdk-cloudfront 1.25.0 → 1.26.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 +7 -4
- data/lib/aws-sdk-cloudfront/client.rb +61 -10
- data/lib/aws-sdk-cloudfront/errors.rb +103 -81
- data/lib/aws-sdk-cloudfront/resource.rb +7 -0
- 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: b377334a0c36a314560f12962831526e96258b7d
|
4
|
+
data.tar.gz: fcd47dd54ef0430f24492dcc724f05b31446c327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d4e1ee11180bc758447383709255bb9cf25d73bd65e4332957d15084c9036f6f99f99137cf38ea4e778b13d071c259a742a850397e81c7102fa18b6f2a9b6a5
|
7
|
+
data.tar.gz: ce5429ab6a0cd7b9b3d36e16a07191c794483a7fd2d0ae26d41a9ca93a70ae20d9a49edc42cf7288b56dfcb6d6067498f75ac6859225460d1137b80b0e0f588e
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -25,17 +25,20 @@ require_relative 'aws-sdk-cloudfront/customizations'
|
|
25
25
|
# methods each accept a hash of request parameters and return a response
|
26
26
|
# structure.
|
27
27
|
#
|
28
|
+
# cloud_front = Aws::CloudFront::Client.new
|
29
|
+
# resp = cloud_front.create_cloud_front_origin_access_identity(params)
|
30
|
+
#
|
28
31
|
# See {Client} for more information.
|
29
32
|
#
|
30
33
|
# # Errors
|
31
34
|
#
|
32
|
-
# Errors returned from Amazon CloudFront
|
33
|
-
# extend {Errors::ServiceError}.
|
35
|
+
# Errors returned from Amazon CloudFront are defined in the
|
36
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
37
|
#
|
35
38
|
# begin
|
36
39
|
# # do stuff
|
37
40
|
# rescue Aws::CloudFront::Errors::ServiceError
|
38
|
-
# # rescues all
|
41
|
+
# # rescues all Amazon CloudFront API errors
|
39
42
|
# end
|
40
43
|
#
|
41
44
|
# See {Errors} for more information.
|
@@ -43,6 +46,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
|
|
43
46
|
# @service
|
44
47
|
module Aws::CloudFront
|
45
48
|
|
46
|
-
GEM_VERSION = '1.
|
49
|
+
GEM_VERSION = '1.26.0'
|
47
50
|
|
48
51
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/rest_xml.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:cloudfront)
|
31
31
|
|
32
32
|
module Aws::CloudFront
|
33
|
+
# An API client for CloudFront. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::CloudFront::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -108,6 +120,12 @@ module Aws::CloudFront
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::CloudFront
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -166,15 +188,29 @@ module Aws::CloudFront
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,26 @@ module Aws::CloudFront
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
233
|
+
# no retry mode is provided.
|
234
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
235
|
+
# This includes support for retry quotas, which limit the number of
|
236
|
+
# unsuccessful retries a client can make.
|
237
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
238
|
+
# functionality of `standard` mode along with automatic client side
|
239
|
+
# throttling. This is a provisional mode that may change behavior
|
240
|
+
# in the future.
|
190
241
|
#
|
191
242
|
# @option options [String] :secret_access_key
|
192
243
|
#
|
@@ -209,16 +260,16 @@ module Aws::CloudFront
|
|
209
260
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
261
|
#
|
211
262
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
263
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
264
|
# `Timeout::Error`.
|
214
265
|
#
|
215
266
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
267
|
# number of seconds to wait for response data. This value can
|
217
268
|
# safely be set
|
218
|
-
# per-request on the session
|
269
|
+
# per-request on the session yielded by {#session_for}.
|
219
270
|
#
|
220
271
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
272
|
+
# seconds a connection is allowed to sit idle before it is
|
222
273
|
# considered stale. Stale connections are closed and removed
|
223
274
|
# from the pool before making a request.
|
224
275
|
#
|
@@ -227,7 +278,7 @@ module Aws::CloudFront
|
|
227
278
|
# request body. This option has no effect unless the request has
|
228
279
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
280
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
281
|
+
# request on the session yielded by {#session_for}.
|
231
282
|
#
|
232
283
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
284
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -4081,7 +4132,7 @@ module Aws::CloudFront
|
|
4081
4132
|
params: params,
|
4082
4133
|
config: config)
|
4083
4134
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
4084
|
-
context[:gem_version] = '1.
|
4135
|
+
context[:gem_version] = '1.26.0'
|
4085
4136
|
Seahorse::Client::Request.new(handlers, context)
|
4086
4137
|
end
|
4087
4138
|
|
@@ -6,6 +6,109 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CloudFront
|
9
|
+
|
10
|
+
# When CloudFront returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::CloudFront::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all CloudFront errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::CloudFront::Errors::ServiceError
|
18
|
+
# # rescues all CloudFront API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {AccessDenied}
|
29
|
+
# * {BatchTooLarge}
|
30
|
+
# * {CNAMEAlreadyExists}
|
31
|
+
# * {CannotChangeImmutablePublicKeyFields}
|
32
|
+
# * {CloudFrontOriginAccessIdentityAlreadyExists}
|
33
|
+
# * {CloudFrontOriginAccessIdentityInUse}
|
34
|
+
# * {DistributionAlreadyExists}
|
35
|
+
# * {DistributionNotDisabled}
|
36
|
+
# * {FieldLevelEncryptionConfigAlreadyExists}
|
37
|
+
# * {FieldLevelEncryptionConfigInUse}
|
38
|
+
# * {FieldLevelEncryptionProfileAlreadyExists}
|
39
|
+
# * {FieldLevelEncryptionProfileInUse}
|
40
|
+
# * {FieldLevelEncryptionProfileSizeExceeded}
|
41
|
+
# * {IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior}
|
42
|
+
# * {IllegalUpdate}
|
43
|
+
# * {InconsistentQuantities}
|
44
|
+
# * {InvalidArgument}
|
45
|
+
# * {InvalidDefaultRootObject}
|
46
|
+
# * {InvalidErrorCode}
|
47
|
+
# * {InvalidForwardCookies}
|
48
|
+
# * {InvalidGeoRestrictionParameter}
|
49
|
+
# * {InvalidHeadersForS3Origin}
|
50
|
+
# * {InvalidIfMatchVersion}
|
51
|
+
# * {InvalidLambdaFunctionAssociation}
|
52
|
+
# * {InvalidLocationCode}
|
53
|
+
# * {InvalidMinimumProtocolVersion}
|
54
|
+
# * {InvalidOrigin}
|
55
|
+
# * {InvalidOriginAccessIdentity}
|
56
|
+
# * {InvalidOriginKeepaliveTimeout}
|
57
|
+
# * {InvalidOriginReadTimeout}
|
58
|
+
# * {InvalidProtocolSettings}
|
59
|
+
# * {InvalidQueryStringParameters}
|
60
|
+
# * {InvalidRelativePath}
|
61
|
+
# * {InvalidRequiredProtocol}
|
62
|
+
# * {InvalidResponseCode}
|
63
|
+
# * {InvalidTTLOrder}
|
64
|
+
# * {InvalidTagging}
|
65
|
+
# * {InvalidViewerCertificate}
|
66
|
+
# * {InvalidWebACLId}
|
67
|
+
# * {MissingBody}
|
68
|
+
# * {NoSuchCloudFrontOriginAccessIdentity}
|
69
|
+
# * {NoSuchDistribution}
|
70
|
+
# * {NoSuchFieldLevelEncryptionConfig}
|
71
|
+
# * {NoSuchFieldLevelEncryptionProfile}
|
72
|
+
# * {NoSuchInvalidation}
|
73
|
+
# * {NoSuchOrigin}
|
74
|
+
# * {NoSuchPublicKey}
|
75
|
+
# * {NoSuchResource}
|
76
|
+
# * {NoSuchStreamingDistribution}
|
77
|
+
# * {PreconditionFailed}
|
78
|
+
# * {PublicKeyAlreadyExists}
|
79
|
+
# * {PublicKeyInUse}
|
80
|
+
# * {QueryArgProfileEmpty}
|
81
|
+
# * {StreamingDistributionAlreadyExists}
|
82
|
+
# * {StreamingDistributionNotDisabled}
|
83
|
+
# * {TooManyCacheBehaviors}
|
84
|
+
# * {TooManyCertificates}
|
85
|
+
# * {TooManyCloudFrontOriginAccessIdentities}
|
86
|
+
# * {TooManyCookieNamesInWhiteList}
|
87
|
+
# * {TooManyDistributionCNAMEs}
|
88
|
+
# * {TooManyDistributions}
|
89
|
+
# * {TooManyDistributionsAssociatedToFieldLevelEncryptionConfig}
|
90
|
+
# * {TooManyDistributionsWithLambdaAssociations}
|
91
|
+
# * {TooManyFieldLevelEncryptionConfigs}
|
92
|
+
# * {TooManyFieldLevelEncryptionContentTypeProfiles}
|
93
|
+
# * {TooManyFieldLevelEncryptionEncryptionEntities}
|
94
|
+
# * {TooManyFieldLevelEncryptionFieldPatterns}
|
95
|
+
# * {TooManyFieldLevelEncryptionProfiles}
|
96
|
+
# * {TooManyFieldLevelEncryptionQueryArgProfiles}
|
97
|
+
# * {TooManyHeadersInForwardedValues}
|
98
|
+
# * {TooManyInvalidationsInProgress}
|
99
|
+
# * {TooManyLambdaFunctionAssociations}
|
100
|
+
# * {TooManyOriginCustomHeaders}
|
101
|
+
# * {TooManyOriginGroupsPerDistribution}
|
102
|
+
# * {TooManyOrigins}
|
103
|
+
# * {TooManyPublicKeys}
|
104
|
+
# * {TooManyQueryStringParameters}
|
105
|
+
# * {TooManyStreamingDistributionCNAMEs}
|
106
|
+
# * {TooManyStreamingDistributions}
|
107
|
+
# * {TooManyTrustedSigners}
|
108
|
+
# * {TrustedSignerDoesNotExist}
|
109
|
+
#
|
110
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
111
|
+
# if they are not defined above.
|
9
112
|
module Errors
|
10
113
|
|
11
114
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +126,6 @@ module Aws::CloudFront
|
|
23
126
|
def message
|
24
127
|
@message || @data[:message]
|
25
128
|
end
|
26
|
-
|
27
129
|
end
|
28
130
|
|
29
131
|
class BatchTooLarge < ServiceError
|
@@ -39,7 +141,6 @@ module Aws::CloudFront
|
|
39
141
|
def message
|
40
142
|
@message || @data[:message]
|
41
143
|
end
|
42
|
-
|
43
144
|
end
|
44
145
|
|
45
146
|
class CNAMEAlreadyExists < ServiceError
|
@@ -55,7 +156,6 @@ module Aws::CloudFront
|
|
55
156
|
def message
|
56
157
|
@message || @data[:message]
|
57
158
|
end
|
58
|
-
|
59
159
|
end
|
60
160
|
|
61
161
|
class CannotChangeImmutablePublicKeyFields < ServiceError
|
@@ -71,7 +171,6 @@ module Aws::CloudFront
|
|
71
171
|
def message
|
72
172
|
@message || @data[:message]
|
73
173
|
end
|
74
|
-
|
75
174
|
end
|
76
175
|
|
77
176
|
class CloudFrontOriginAccessIdentityAlreadyExists < ServiceError
|
@@ -87,7 +186,6 @@ module Aws::CloudFront
|
|
87
186
|
def message
|
88
187
|
@message || @data[:message]
|
89
188
|
end
|
90
|
-
|
91
189
|
end
|
92
190
|
|
93
191
|
class CloudFrontOriginAccessIdentityInUse < ServiceError
|
@@ -103,7 +201,6 @@ module Aws::CloudFront
|
|
103
201
|
def message
|
104
202
|
@message || @data[:message]
|
105
203
|
end
|
106
|
-
|
107
204
|
end
|
108
205
|
|
109
206
|
class DistributionAlreadyExists < ServiceError
|
@@ -119,7 +216,6 @@ module Aws::CloudFront
|
|
119
216
|
def message
|
120
217
|
@message || @data[:message]
|
121
218
|
end
|
122
|
-
|
123
219
|
end
|
124
220
|
|
125
221
|
class DistributionNotDisabled < ServiceError
|
@@ -135,7 +231,6 @@ module Aws::CloudFront
|
|
135
231
|
def message
|
136
232
|
@message || @data[:message]
|
137
233
|
end
|
138
|
-
|
139
234
|
end
|
140
235
|
|
141
236
|
class FieldLevelEncryptionConfigAlreadyExists < ServiceError
|
@@ -151,7 +246,6 @@ module Aws::CloudFront
|
|
151
246
|
def message
|
152
247
|
@message || @data[:message]
|
153
248
|
end
|
154
|
-
|
155
249
|
end
|
156
250
|
|
157
251
|
class FieldLevelEncryptionConfigInUse < ServiceError
|
@@ -167,7 +261,6 @@ module Aws::CloudFront
|
|
167
261
|
def message
|
168
262
|
@message || @data[:message]
|
169
263
|
end
|
170
|
-
|
171
264
|
end
|
172
265
|
|
173
266
|
class FieldLevelEncryptionProfileAlreadyExists < ServiceError
|
@@ -183,7 +276,6 @@ module Aws::CloudFront
|
|
183
276
|
def message
|
184
277
|
@message || @data[:message]
|
185
278
|
end
|
186
|
-
|
187
279
|
end
|
188
280
|
|
189
281
|
class FieldLevelEncryptionProfileInUse < ServiceError
|
@@ -199,7 +291,6 @@ module Aws::CloudFront
|
|
199
291
|
def message
|
200
292
|
@message || @data[:message]
|
201
293
|
end
|
202
|
-
|
203
294
|
end
|
204
295
|
|
205
296
|
class FieldLevelEncryptionProfileSizeExceeded < ServiceError
|
@@ -215,7 +306,6 @@ module Aws::CloudFront
|
|
215
306
|
def message
|
216
307
|
@message || @data[:message]
|
217
308
|
end
|
218
|
-
|
219
309
|
end
|
220
310
|
|
221
311
|
class IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior < ServiceError
|
@@ -231,7 +321,6 @@ module Aws::CloudFront
|
|
231
321
|
def message
|
232
322
|
@message || @data[:message]
|
233
323
|
end
|
234
|
-
|
235
324
|
end
|
236
325
|
|
237
326
|
class IllegalUpdate < ServiceError
|
@@ -247,7 +336,6 @@ module Aws::CloudFront
|
|
247
336
|
def message
|
248
337
|
@message || @data[:message]
|
249
338
|
end
|
250
|
-
|
251
339
|
end
|
252
340
|
|
253
341
|
class InconsistentQuantities < ServiceError
|
@@ -263,7 +351,6 @@ module Aws::CloudFront
|
|
263
351
|
def message
|
264
352
|
@message || @data[:message]
|
265
353
|
end
|
266
|
-
|
267
354
|
end
|
268
355
|
|
269
356
|
class InvalidArgument < ServiceError
|
@@ -279,7 +366,6 @@ module Aws::CloudFront
|
|
279
366
|
def message
|
280
367
|
@message || @data[:message]
|
281
368
|
end
|
282
|
-
|
283
369
|
end
|
284
370
|
|
285
371
|
class InvalidDefaultRootObject < ServiceError
|
@@ -295,7 +381,6 @@ module Aws::CloudFront
|
|
295
381
|
def message
|
296
382
|
@message || @data[:message]
|
297
383
|
end
|
298
|
-
|
299
384
|
end
|
300
385
|
|
301
386
|
class InvalidErrorCode < ServiceError
|
@@ -311,7 +396,6 @@ module Aws::CloudFront
|
|
311
396
|
def message
|
312
397
|
@message || @data[:message]
|
313
398
|
end
|
314
|
-
|
315
399
|
end
|
316
400
|
|
317
401
|
class InvalidForwardCookies < ServiceError
|
@@ -327,7 +411,6 @@ module Aws::CloudFront
|
|
327
411
|
def message
|
328
412
|
@message || @data[:message]
|
329
413
|
end
|
330
|
-
|
331
414
|
end
|
332
415
|
|
333
416
|
class InvalidGeoRestrictionParameter < ServiceError
|
@@ -343,7 +426,6 @@ module Aws::CloudFront
|
|
343
426
|
def message
|
344
427
|
@message || @data[:message]
|
345
428
|
end
|
346
|
-
|
347
429
|
end
|
348
430
|
|
349
431
|
class InvalidHeadersForS3Origin < ServiceError
|
@@ -359,7 +441,6 @@ module Aws::CloudFront
|
|
359
441
|
def message
|
360
442
|
@message || @data[:message]
|
361
443
|
end
|
362
|
-
|
363
444
|
end
|
364
445
|
|
365
446
|
class InvalidIfMatchVersion < ServiceError
|
@@ -375,7 +456,6 @@ module Aws::CloudFront
|
|
375
456
|
def message
|
376
457
|
@message || @data[:message]
|
377
458
|
end
|
378
|
-
|
379
459
|
end
|
380
460
|
|
381
461
|
class InvalidLambdaFunctionAssociation < ServiceError
|
@@ -391,7 +471,6 @@ module Aws::CloudFront
|
|
391
471
|
def message
|
392
472
|
@message || @data[:message]
|
393
473
|
end
|
394
|
-
|
395
474
|
end
|
396
475
|
|
397
476
|
class InvalidLocationCode < ServiceError
|
@@ -407,7 +486,6 @@ module Aws::CloudFront
|
|
407
486
|
def message
|
408
487
|
@message || @data[:message]
|
409
488
|
end
|
410
|
-
|
411
489
|
end
|
412
490
|
|
413
491
|
class InvalidMinimumProtocolVersion < ServiceError
|
@@ -423,7 +501,6 @@ module Aws::CloudFront
|
|
423
501
|
def message
|
424
502
|
@message || @data[:message]
|
425
503
|
end
|
426
|
-
|
427
504
|
end
|
428
505
|
|
429
506
|
class InvalidOrigin < ServiceError
|
@@ -439,7 +516,6 @@ module Aws::CloudFront
|
|
439
516
|
def message
|
440
517
|
@message || @data[:message]
|
441
518
|
end
|
442
|
-
|
443
519
|
end
|
444
520
|
|
445
521
|
class InvalidOriginAccessIdentity < ServiceError
|
@@ -455,7 +531,6 @@ module Aws::CloudFront
|
|
455
531
|
def message
|
456
532
|
@message || @data[:message]
|
457
533
|
end
|
458
|
-
|
459
534
|
end
|
460
535
|
|
461
536
|
class InvalidOriginKeepaliveTimeout < ServiceError
|
@@ -471,7 +546,6 @@ module Aws::CloudFront
|
|
471
546
|
def message
|
472
547
|
@message || @data[:message]
|
473
548
|
end
|
474
|
-
|
475
549
|
end
|
476
550
|
|
477
551
|
class InvalidOriginReadTimeout < ServiceError
|
@@ -487,7 +561,6 @@ module Aws::CloudFront
|
|
487
561
|
def message
|
488
562
|
@message || @data[:message]
|
489
563
|
end
|
490
|
-
|
491
564
|
end
|
492
565
|
|
493
566
|
class InvalidProtocolSettings < ServiceError
|
@@ -503,7 +576,6 @@ module Aws::CloudFront
|
|
503
576
|
def message
|
504
577
|
@message || @data[:message]
|
505
578
|
end
|
506
|
-
|
507
579
|
end
|
508
580
|
|
509
581
|
class InvalidQueryStringParameters < ServiceError
|
@@ -519,7 +591,6 @@ module Aws::CloudFront
|
|
519
591
|
def message
|
520
592
|
@message || @data[:message]
|
521
593
|
end
|
522
|
-
|
523
594
|
end
|
524
595
|
|
525
596
|
class InvalidRelativePath < ServiceError
|
@@ -535,7 +606,6 @@ module Aws::CloudFront
|
|
535
606
|
def message
|
536
607
|
@message || @data[:message]
|
537
608
|
end
|
538
|
-
|
539
609
|
end
|
540
610
|
|
541
611
|
class InvalidRequiredProtocol < ServiceError
|
@@ -551,7 +621,6 @@ module Aws::CloudFront
|
|
551
621
|
def message
|
552
622
|
@message || @data[:message]
|
553
623
|
end
|
554
|
-
|
555
624
|
end
|
556
625
|
|
557
626
|
class InvalidResponseCode < ServiceError
|
@@ -567,7 +636,6 @@ module Aws::CloudFront
|
|
567
636
|
def message
|
568
637
|
@message || @data[:message]
|
569
638
|
end
|
570
|
-
|
571
639
|
end
|
572
640
|
|
573
641
|
class InvalidTTLOrder < ServiceError
|
@@ -583,7 +651,6 @@ module Aws::CloudFront
|
|
583
651
|
def message
|
584
652
|
@message || @data[:message]
|
585
653
|
end
|
586
|
-
|
587
654
|
end
|
588
655
|
|
589
656
|
class InvalidTagging < ServiceError
|
@@ -599,7 +666,6 @@ module Aws::CloudFront
|
|
599
666
|
def message
|
600
667
|
@message || @data[:message]
|
601
668
|
end
|
602
|
-
|
603
669
|
end
|
604
670
|
|
605
671
|
class InvalidViewerCertificate < ServiceError
|
@@ -615,7 +681,6 @@ module Aws::CloudFront
|
|
615
681
|
def message
|
616
682
|
@message || @data[:message]
|
617
683
|
end
|
618
|
-
|
619
684
|
end
|
620
685
|
|
621
686
|
class InvalidWebACLId < ServiceError
|
@@ -631,7 +696,6 @@ module Aws::CloudFront
|
|
631
696
|
def message
|
632
697
|
@message || @data[:message]
|
633
698
|
end
|
634
|
-
|
635
699
|
end
|
636
700
|
|
637
701
|
class MissingBody < ServiceError
|
@@ -647,7 +711,6 @@ module Aws::CloudFront
|
|
647
711
|
def message
|
648
712
|
@message || @data[:message]
|
649
713
|
end
|
650
|
-
|
651
714
|
end
|
652
715
|
|
653
716
|
class NoSuchCloudFrontOriginAccessIdentity < ServiceError
|
@@ -663,7 +726,6 @@ module Aws::CloudFront
|
|
663
726
|
def message
|
664
727
|
@message || @data[:message]
|
665
728
|
end
|
666
|
-
|
667
729
|
end
|
668
730
|
|
669
731
|
class NoSuchDistribution < ServiceError
|
@@ -679,7 +741,6 @@ module Aws::CloudFront
|
|
679
741
|
def message
|
680
742
|
@message || @data[:message]
|
681
743
|
end
|
682
|
-
|
683
744
|
end
|
684
745
|
|
685
746
|
class NoSuchFieldLevelEncryptionConfig < ServiceError
|
@@ -695,7 +756,6 @@ module Aws::CloudFront
|
|
695
756
|
def message
|
696
757
|
@message || @data[:message]
|
697
758
|
end
|
698
|
-
|
699
759
|
end
|
700
760
|
|
701
761
|
class NoSuchFieldLevelEncryptionProfile < ServiceError
|
@@ -711,7 +771,6 @@ module Aws::CloudFront
|
|
711
771
|
def message
|
712
772
|
@message || @data[:message]
|
713
773
|
end
|
714
|
-
|
715
774
|
end
|
716
775
|
|
717
776
|
class NoSuchInvalidation < ServiceError
|
@@ -727,7 +786,6 @@ module Aws::CloudFront
|
|
727
786
|
def message
|
728
787
|
@message || @data[:message]
|
729
788
|
end
|
730
|
-
|
731
789
|
end
|
732
790
|
|
733
791
|
class NoSuchOrigin < ServiceError
|
@@ -743,7 +801,6 @@ module Aws::CloudFront
|
|
743
801
|
def message
|
744
802
|
@message || @data[:message]
|
745
803
|
end
|
746
|
-
|
747
804
|
end
|
748
805
|
|
749
806
|
class NoSuchPublicKey < ServiceError
|
@@ -759,7 +816,6 @@ module Aws::CloudFront
|
|
759
816
|
def message
|
760
817
|
@message || @data[:message]
|
761
818
|
end
|
762
|
-
|
763
819
|
end
|
764
820
|
|
765
821
|
class NoSuchResource < ServiceError
|
@@ -775,7 +831,6 @@ module Aws::CloudFront
|
|
775
831
|
def message
|
776
832
|
@message || @data[:message]
|
777
833
|
end
|
778
|
-
|
779
834
|
end
|
780
835
|
|
781
836
|
class NoSuchStreamingDistribution < ServiceError
|
@@ -791,7 +846,6 @@ module Aws::CloudFront
|
|
791
846
|
def message
|
792
847
|
@message || @data[:message]
|
793
848
|
end
|
794
|
-
|
795
849
|
end
|
796
850
|
|
797
851
|
class PreconditionFailed < ServiceError
|
@@ -807,7 +861,6 @@ module Aws::CloudFront
|
|
807
861
|
def message
|
808
862
|
@message || @data[:message]
|
809
863
|
end
|
810
|
-
|
811
864
|
end
|
812
865
|
|
813
866
|
class PublicKeyAlreadyExists < ServiceError
|
@@ -823,7 +876,6 @@ module Aws::CloudFront
|
|
823
876
|
def message
|
824
877
|
@message || @data[:message]
|
825
878
|
end
|
826
|
-
|
827
879
|
end
|
828
880
|
|
829
881
|
class PublicKeyInUse < ServiceError
|
@@ -839,7 +891,6 @@ module Aws::CloudFront
|
|
839
891
|
def message
|
840
892
|
@message || @data[:message]
|
841
893
|
end
|
842
|
-
|
843
894
|
end
|
844
895
|
|
845
896
|
class QueryArgProfileEmpty < ServiceError
|
@@ -855,7 +906,6 @@ module Aws::CloudFront
|
|
855
906
|
def message
|
856
907
|
@message || @data[:message]
|
857
908
|
end
|
858
|
-
|
859
909
|
end
|
860
910
|
|
861
911
|
class StreamingDistributionAlreadyExists < ServiceError
|
@@ -871,7 +921,6 @@ module Aws::CloudFront
|
|
871
921
|
def message
|
872
922
|
@message || @data[:message]
|
873
923
|
end
|
874
|
-
|
875
924
|
end
|
876
925
|
|
877
926
|
class StreamingDistributionNotDisabled < ServiceError
|
@@ -887,7 +936,6 @@ module Aws::CloudFront
|
|
887
936
|
def message
|
888
937
|
@message || @data[:message]
|
889
938
|
end
|
890
|
-
|
891
939
|
end
|
892
940
|
|
893
941
|
class TooManyCacheBehaviors < ServiceError
|
@@ -903,7 +951,6 @@ module Aws::CloudFront
|
|
903
951
|
def message
|
904
952
|
@message || @data[:message]
|
905
953
|
end
|
906
|
-
|
907
954
|
end
|
908
955
|
|
909
956
|
class TooManyCertificates < ServiceError
|
@@ -919,7 +966,6 @@ module Aws::CloudFront
|
|
919
966
|
def message
|
920
967
|
@message || @data[:message]
|
921
968
|
end
|
922
|
-
|
923
969
|
end
|
924
970
|
|
925
971
|
class TooManyCloudFrontOriginAccessIdentities < ServiceError
|
@@ -935,7 +981,6 @@ module Aws::CloudFront
|
|
935
981
|
def message
|
936
982
|
@message || @data[:message]
|
937
983
|
end
|
938
|
-
|
939
984
|
end
|
940
985
|
|
941
986
|
class TooManyCookieNamesInWhiteList < ServiceError
|
@@ -951,7 +996,6 @@ module Aws::CloudFront
|
|
951
996
|
def message
|
952
997
|
@message || @data[:message]
|
953
998
|
end
|
954
|
-
|
955
999
|
end
|
956
1000
|
|
957
1001
|
class TooManyDistributionCNAMEs < ServiceError
|
@@ -967,7 +1011,6 @@ module Aws::CloudFront
|
|
967
1011
|
def message
|
968
1012
|
@message || @data[:message]
|
969
1013
|
end
|
970
|
-
|
971
1014
|
end
|
972
1015
|
|
973
1016
|
class TooManyDistributions < ServiceError
|
@@ -983,7 +1026,6 @@ module Aws::CloudFront
|
|
983
1026
|
def message
|
984
1027
|
@message || @data[:message]
|
985
1028
|
end
|
986
|
-
|
987
1029
|
end
|
988
1030
|
|
989
1031
|
class TooManyDistributionsAssociatedToFieldLevelEncryptionConfig < ServiceError
|
@@ -999,7 +1041,6 @@ module Aws::CloudFront
|
|
999
1041
|
def message
|
1000
1042
|
@message || @data[:message]
|
1001
1043
|
end
|
1002
|
-
|
1003
1044
|
end
|
1004
1045
|
|
1005
1046
|
class TooManyDistributionsWithLambdaAssociations < ServiceError
|
@@ -1015,7 +1056,6 @@ module Aws::CloudFront
|
|
1015
1056
|
def message
|
1016
1057
|
@message || @data[:message]
|
1017
1058
|
end
|
1018
|
-
|
1019
1059
|
end
|
1020
1060
|
|
1021
1061
|
class TooManyFieldLevelEncryptionConfigs < ServiceError
|
@@ -1031,7 +1071,6 @@ module Aws::CloudFront
|
|
1031
1071
|
def message
|
1032
1072
|
@message || @data[:message]
|
1033
1073
|
end
|
1034
|
-
|
1035
1074
|
end
|
1036
1075
|
|
1037
1076
|
class TooManyFieldLevelEncryptionContentTypeProfiles < ServiceError
|
@@ -1047,7 +1086,6 @@ module Aws::CloudFront
|
|
1047
1086
|
def message
|
1048
1087
|
@message || @data[:message]
|
1049
1088
|
end
|
1050
|
-
|
1051
1089
|
end
|
1052
1090
|
|
1053
1091
|
class TooManyFieldLevelEncryptionEncryptionEntities < ServiceError
|
@@ -1063,7 +1101,6 @@ module Aws::CloudFront
|
|
1063
1101
|
def message
|
1064
1102
|
@message || @data[:message]
|
1065
1103
|
end
|
1066
|
-
|
1067
1104
|
end
|
1068
1105
|
|
1069
1106
|
class TooManyFieldLevelEncryptionFieldPatterns < ServiceError
|
@@ -1079,7 +1116,6 @@ module Aws::CloudFront
|
|
1079
1116
|
def message
|
1080
1117
|
@message || @data[:message]
|
1081
1118
|
end
|
1082
|
-
|
1083
1119
|
end
|
1084
1120
|
|
1085
1121
|
class TooManyFieldLevelEncryptionProfiles < ServiceError
|
@@ -1095,7 +1131,6 @@ module Aws::CloudFront
|
|
1095
1131
|
def message
|
1096
1132
|
@message || @data[:message]
|
1097
1133
|
end
|
1098
|
-
|
1099
1134
|
end
|
1100
1135
|
|
1101
1136
|
class TooManyFieldLevelEncryptionQueryArgProfiles < ServiceError
|
@@ -1111,7 +1146,6 @@ module Aws::CloudFront
|
|
1111
1146
|
def message
|
1112
1147
|
@message || @data[:message]
|
1113
1148
|
end
|
1114
|
-
|
1115
1149
|
end
|
1116
1150
|
|
1117
1151
|
class TooManyHeadersInForwardedValues < ServiceError
|
@@ -1127,7 +1161,6 @@ module Aws::CloudFront
|
|
1127
1161
|
def message
|
1128
1162
|
@message || @data[:message]
|
1129
1163
|
end
|
1130
|
-
|
1131
1164
|
end
|
1132
1165
|
|
1133
1166
|
class TooManyInvalidationsInProgress < ServiceError
|
@@ -1143,7 +1176,6 @@ module Aws::CloudFront
|
|
1143
1176
|
def message
|
1144
1177
|
@message || @data[:message]
|
1145
1178
|
end
|
1146
|
-
|
1147
1179
|
end
|
1148
1180
|
|
1149
1181
|
class TooManyLambdaFunctionAssociations < ServiceError
|
@@ -1159,7 +1191,6 @@ module Aws::CloudFront
|
|
1159
1191
|
def message
|
1160
1192
|
@message || @data[:message]
|
1161
1193
|
end
|
1162
|
-
|
1163
1194
|
end
|
1164
1195
|
|
1165
1196
|
class TooManyOriginCustomHeaders < ServiceError
|
@@ -1175,7 +1206,6 @@ module Aws::CloudFront
|
|
1175
1206
|
def message
|
1176
1207
|
@message || @data[:message]
|
1177
1208
|
end
|
1178
|
-
|
1179
1209
|
end
|
1180
1210
|
|
1181
1211
|
class TooManyOriginGroupsPerDistribution < ServiceError
|
@@ -1191,7 +1221,6 @@ module Aws::CloudFront
|
|
1191
1221
|
def message
|
1192
1222
|
@message || @data[:message]
|
1193
1223
|
end
|
1194
|
-
|
1195
1224
|
end
|
1196
1225
|
|
1197
1226
|
class TooManyOrigins < ServiceError
|
@@ -1207,7 +1236,6 @@ module Aws::CloudFront
|
|
1207
1236
|
def message
|
1208
1237
|
@message || @data[:message]
|
1209
1238
|
end
|
1210
|
-
|
1211
1239
|
end
|
1212
1240
|
|
1213
1241
|
class TooManyPublicKeys < ServiceError
|
@@ -1223,7 +1251,6 @@ module Aws::CloudFront
|
|
1223
1251
|
def message
|
1224
1252
|
@message || @data[:message]
|
1225
1253
|
end
|
1226
|
-
|
1227
1254
|
end
|
1228
1255
|
|
1229
1256
|
class TooManyQueryStringParameters < ServiceError
|
@@ -1239,7 +1266,6 @@ module Aws::CloudFront
|
|
1239
1266
|
def message
|
1240
1267
|
@message || @data[:message]
|
1241
1268
|
end
|
1242
|
-
|
1243
1269
|
end
|
1244
1270
|
|
1245
1271
|
class TooManyStreamingDistributionCNAMEs < ServiceError
|
@@ -1255,7 +1281,6 @@ module Aws::CloudFront
|
|
1255
1281
|
def message
|
1256
1282
|
@message || @data[:message]
|
1257
1283
|
end
|
1258
|
-
|
1259
1284
|
end
|
1260
1285
|
|
1261
1286
|
class TooManyStreamingDistributions < ServiceError
|
@@ -1271,7 +1296,6 @@ module Aws::CloudFront
|
|
1271
1296
|
def message
|
1272
1297
|
@message || @data[:message]
|
1273
1298
|
end
|
1274
|
-
|
1275
1299
|
end
|
1276
1300
|
|
1277
1301
|
class TooManyTrustedSigners < ServiceError
|
@@ -1287,7 +1311,6 @@ module Aws::CloudFront
|
|
1287
1311
|
def message
|
1288
1312
|
@message || @data[:message]
|
1289
1313
|
end
|
1290
|
-
|
1291
1314
|
end
|
1292
1315
|
|
1293
1316
|
class TrustedSignerDoesNotExist < ServiceError
|
@@ -1303,7 +1326,6 @@ module Aws::CloudFront
|
|
1303
1326
|
def message
|
1304
1327
|
@message || @data[:message]
|
1305
1328
|
end
|
1306
|
-
|
1307
1329
|
end
|
1308
1330
|
|
1309
1331
|
end
|
@@ -6,6 +6,13 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CloudFront
|
9
|
+
# This class provides a resource oriented interface for CloudFront.
|
10
|
+
# To create a resource object:
|
11
|
+
# resource = Aws::CloudFront::Resource.new(region: 'us-west-2')
|
12
|
+
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
+
# If you do not pass +:client+, a default client will be constructed.
|
14
|
+
# client = Aws::CloudFront::Client.new(region: 'us-west-2')
|
15
|
+
# resource = Aws::CloudFront::Resource.new(client: client)
|
9
16
|
class Resource
|
10
17
|
|
11
18
|
# @param options ({})
|
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.26.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: 2020-
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|