aws-sdk-cloudfront 1.25.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 18f551d3625a8d4fc592f416820df772ab86dae7
4
- data.tar.gz: 11f278ead4f265d0c5836f27fb29ad2b4375fc49
2
+ SHA256:
3
+ metadata.gz: deffbf7396293693f9b2aaafdb4e25cdcda3c4e3ddc81a391f561204f76922d4
4
+ data.tar.gz: 47a00b93dee637cf573f81cfbd3cec2e7befddd25aa390f86653a03a6f944755
5
5
  SHA512:
6
- metadata.gz: 2b430df798fd88ed2e7d62e2fa3edf147223a615341024f62925d25286b0e4e9c14a82a8fdf5ec57fe197616e1aab8c27a8b5c6954eb14c0206a860629bc222a
7
- data.tar.gz: 769ea5e2ef6d5f9efd6118b7ffc56f029d5dc0dfb74341ec68ead3232526b1f151a49aaf4af23abb24aa0b8120e8626be26be67e8e10957ccb8f881ff626103d
6
+ metadata.gz: 42817218a0b3e590bf3f905225195e50f23e02e1cef45814bab993bdc5344afd51909442e1d7a7207ec8fb5e32e6fb63f3657b02b784f9a73129543a6136b5cc
7
+ data.tar.gz: bfe60b24efa66ba95def2c29c500a213caf61d800985f58363ed19492e7434cb30db242f870b9512c1121b88204d2c7cbc68bfac12282464e9e4519626245989
@@ -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 all
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 service API errors
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.25.0'
49
+ GEM_VERSION = '1.29.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
@@ -93,7 +105,7 @@ module Aws::CloudFront
93
105
  # @option options [required, String] :region
94
106
  # The AWS region to connect to. The configured `:region` is
95
107
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
97
109
  #
98
110
  # * `Aws.config[:region]`
99
111
  # * `ENV['AWS_REGION']`
@@ -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.
@@ -139,7 +161,7 @@ module Aws::CloudFront
139
161
  # @option options [String] :endpoint
140
162
  # The client endpoint is normally constructed from the `:region`
141
163
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
143
165
  #
144
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +176,7 @@ module Aws::CloudFront
154
176
  # requests fetching endpoints information. Defaults to 60 sec.
155
177
  #
156
178
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
180
  #
159
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
182
  # The log formatter.
@@ -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. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
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,30 @@ 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 and auth
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) used by the default backoff function.
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
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
190
245
  #
191
246
  # @option options [String] :secret_access_key
192
247
  #
@@ -209,16 +264,15 @@ module Aws::CloudFront
209
264
  # requests through. Formatted like 'http://proxy.com:123'.
210
265
  #
211
266
  # @option options [Float] :http_open_timeout (15) The number of
212
- # seconds to wait when opening a HTTP session before rasing a
267
+ # seconds to wait when opening a HTTP session before raising a
213
268
  # `Timeout::Error`.
214
269
  #
215
270
  # @option options [Integer] :http_read_timeout (60) The default
216
271
  # number of seconds to wait for response data. This value can
217
- # safely be set
218
- # per-request on the session yeidled by {#session_for}.
272
+ # safely be set per-request on the session.
219
273
  #
220
274
  # @option options [Float] :http_idle_timeout (5) The number of
221
- # seconds a connection is allowed to sit idble before it is
275
+ # seconds a connection is allowed to sit idle before it is
222
276
  # considered stale. Stale connections are closed and removed
223
277
  # from the pool before making a request.
224
278
  #
@@ -227,7 +281,7 @@ module Aws::CloudFront
227
281
  # request body. This option has no effect unless the request has
228
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
229
283
  # disables this behaviour. This value can safely be set per
230
- # request on the session yeidled by {#session_for}.
284
+ # request on the session.
231
285
  #
232
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
233
287
  # HTTP debug output will be sent to the `:logger`.
@@ -370,6 +424,8 @@ module Aws::CloudFront
370
424
  # origin_read_timeout: 1,
371
425
  # origin_keepalive_timeout: 1,
372
426
  # },
427
+ # connection_attempts: 1,
428
+ # connection_timeout: 1,
373
429
  # },
374
430
  # ],
375
431
  # },
@@ -583,6 +639,8 @@ module Aws::CloudFront
583
639
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
584
640
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
585
641
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
642
+ # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
643
+ # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
586
644
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
587
645
  # resp.distribution.distribution_config.origin_groups.items #=> Array
588
646
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -757,6 +815,8 @@ module Aws::CloudFront
757
815
  # origin_read_timeout: 1,
758
816
  # origin_keepalive_timeout: 1,
759
817
  # },
818
+ # connection_attempts: 1,
819
+ # connection_timeout: 1,
760
820
  # },
761
821
  # ],
762
822
  # },
@@ -979,6 +1039,8 @@ module Aws::CloudFront
979
1039
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
980
1040
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
981
1041
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
1042
+ # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
1043
+ # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
982
1044
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
983
1045
  # resp.distribution.distribution_config.origin_groups.items #=> Array
984
1046
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -1856,6 +1918,8 @@ module Aws::CloudFront
1856
1918
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
1857
1919
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
1858
1920
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
1921
+ # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
1922
+ # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
1859
1923
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
1860
1924
  # resp.distribution.distribution_config.origin_groups.items #=> Array
1861
1925
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -1968,6 +2032,11 @@ module Aws::CloudFront
1968
2032
  # resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
1969
2033
  # resp.etag #=> String
1970
2034
  #
2035
+ #
2036
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2037
+ #
2038
+ # * distribution_deployed
2039
+ #
1971
2040
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetDistribution2019_03_26 AWS API Documentation
1972
2041
  #
1973
2042
  # @overload get_distribution(params = {})
@@ -2019,6 +2088,8 @@ module Aws::CloudFront
2019
2088
  # resp.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
2020
2089
  # resp.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
2021
2090
  # resp.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
2091
+ # resp.distribution_config.origins.items[0].connection_attempts #=> Integer
2092
+ # resp.distribution_config.origins.items[0].connection_timeout #=> Integer
2022
2093
  # resp.distribution_config.origin_groups.quantity #=> Integer
2023
2094
  # resp.distribution_config.origin_groups.items #=> Array
2024
2095
  # resp.distribution_config.origin_groups.items[0].id #=> String
@@ -2336,6 +2407,11 @@ module Aws::CloudFront
2336
2407
  # resp.invalidation.invalidation_batch.paths.items[0] #=> String
2337
2408
  # resp.invalidation.invalidation_batch.caller_reference #=> String
2338
2409
  #
2410
+ #
2411
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2412
+ #
2413
+ # * invalidation_completed
2414
+ #
2339
2415
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetInvalidation2019_03_26 AWS API Documentation
2340
2416
  #
2341
2417
  # @overload get_invalidation(params = {})
@@ -2462,6 +2538,11 @@ module Aws::CloudFront
2462
2538
  # resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
2463
2539
  # resp.etag #=> String
2464
2540
  #
2541
+ #
2542
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2543
+ #
2544
+ # * streaming_distribution_deployed
2545
+ #
2465
2546
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2019-03-26/GetStreamingDistribution2019_03_26 AWS API Documentation
2466
2547
  #
2467
2548
  # @overload get_streaming_distribution(params = {})
@@ -2534,6 +2615,8 @@ module Aws::CloudFront
2534
2615
  #
2535
2616
  # * {Types::ListCloudFrontOriginAccessIdentitiesResult#cloud_front_origin_access_identity_list #cloud_front_origin_access_identity_list} => Types::CloudFrontOriginAccessIdentityList
2536
2617
  #
2618
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2619
+ #
2537
2620
  # @example Request syntax with placeholder values
2538
2621
  #
2539
2622
  # resp = client.list_cloud_front_origin_access_identities({
@@ -2578,6 +2661,8 @@ module Aws::CloudFront
2578
2661
  #
2579
2662
  # * {Types::ListDistributionsResult#distribution_list #distribution_list} => Types::DistributionList
2580
2663
  #
2664
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2665
+ #
2581
2666
  # @example Request syntax with placeholder values
2582
2667
  #
2583
2668
  # resp = client.list_distributions({
@@ -2619,6 +2704,8 @@ module Aws::CloudFront
2619
2704
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
2620
2705
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
2621
2706
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
2707
+ # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
2708
+ # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
2622
2709
  # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
2623
2710
  # resp.distribution_list.items[0].origin_groups.items #=> Array
2624
2711
  # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
@@ -2801,6 +2888,8 @@ module Aws::CloudFront
2801
2888
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
2802
2889
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
2803
2890
  # resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
2891
+ # resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
2892
+ # resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
2804
2893
  # resp.distribution_list.items[0].origin_groups.quantity #=> Integer
2805
2894
  # resp.distribution_list.items[0].origin_groups.items #=> Array
2806
2895
  # resp.distribution_list.items[0].origin_groups.items[0].id #=> String
@@ -3048,6 +3137,8 @@ module Aws::CloudFront
3048
3137
  #
3049
3138
  # * {Types::ListInvalidationsResult#invalidation_list #invalidation_list} => Types::InvalidationList
3050
3139
  #
3140
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3141
+ #
3051
3142
  # @example Request syntax with placeholder values
3052
3143
  #
3053
3144
  # resp = client.list_invalidations({
@@ -3134,6 +3225,8 @@ module Aws::CloudFront
3134
3225
  #
3135
3226
  # * {Types::ListStreamingDistributionsResult#streaming_distribution_list #streaming_distribution_list} => Types::StreamingDistributionList
3136
3227
  #
3228
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3229
+ #
3137
3230
  # @example Request syntax with placeholder values
3138
3231
  #
3139
3232
  # resp = client.list_streaming_distributions({
@@ -3444,6 +3537,8 @@ module Aws::CloudFront
3444
3537
  # origin_read_timeout: 1,
3445
3538
  # origin_keepalive_timeout: 1,
3446
3539
  # },
3540
+ # connection_attempts: 1,
3541
+ # connection_timeout: 1,
3447
3542
  # },
3448
3543
  # ],
3449
3544
  # },
@@ -3659,6 +3754,8 @@ module Aws::CloudFront
3659
3754
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
3660
3755
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
3661
3756
  # resp.distribution.distribution_config.origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
3757
+ # resp.distribution.distribution_config.origins.items[0].connection_attempts #=> Integer
3758
+ # resp.distribution.distribution_config.origins.items[0].connection_timeout #=> Integer
3662
3759
  # resp.distribution.distribution_config.origin_groups.quantity #=> Integer
3663
3760
  # resp.distribution.distribution_config.origin_groups.items #=> Array
3664
3761
  # resp.distribution.distribution_config.origin_groups.items[0].id #=> String
@@ -4081,7 +4178,7 @@ module Aws::CloudFront
4081
4178
  params: params,
4082
4179
  config: config)
4083
4180
  context[:gem_name] = 'aws-sdk-cloudfront'
4084
- context[:gem_version] = '1.25.0'
4181
+ context[:gem_version] = '1.29.0'
4085
4182
  Seahorse::Client::Request.new(handlers, context)
4086
4183
  end
4087
4184
 
@@ -4147,11 +4244,11 @@ module Aws::CloudFront
4147
4244
  # The following table lists the valid waiter names, the operations they call,
4148
4245
  # and the default `:delay` and `:max_attempts` values.
4149
4246
  #
4150
- # | waiter_name | params | :delay | :max_attempts |
4151
- # | ------------------------------- | ----------------------------- | -------- | ------------- |
4152
- # | distribution_deployed | {#get_distribution} | 60 | 35 |
4153
- # | invalidation_completed | {#get_invalidation} | 20 | 30 |
4154
- # | streaming_distribution_deployed | {#get_streaming_distribution} | 60 | 25 |
4247
+ # | waiter_name | params | :delay | :max_attempts |
4248
+ # | ------------------------------- | ----------------------------------- | -------- | ------------- |
4249
+ # | distribution_deployed | {Client#get_distribution} | 60 | 35 |
4250
+ # | invalidation_completed | {Client#get_invalidation} | 20 | 30 |
4251
+ # | streaming_distribution_deployed | {Client#get_streaming_distribution} | 60 | 25 |
4155
4252
  #
4156
4253
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
4157
4254
  # because the waiter has entered a state that it will not transition
@@ -1138,6 +1138,8 @@ module Aws::CloudFront
1138
1138
  Origin.add_member(:custom_headers, Shapes::ShapeRef.new(shape: CustomHeaders, location_name: "CustomHeaders"))
1139
1139
  Origin.add_member(:s3_origin_config, Shapes::ShapeRef.new(shape: S3OriginConfig, location_name: "S3OriginConfig"))
1140
1140
  Origin.add_member(:custom_origin_config, Shapes::ShapeRef.new(shape: CustomOriginConfig, location_name: "CustomOriginConfig"))
1141
+ Origin.add_member(:connection_attempts, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionAttempts"))
1142
+ Origin.add_member(:connection_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "ConnectionTimeout"))
1141
1143
  Origin.struct_class = Types::Origin
1142
1144
 
1143
1145
  OriginCustomHeader.add_member(:header_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "HeaderName"))
@@ -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