aws-sdk-route53 1.30.0 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47c6e8db4024adf92e9a7734d5116fa5650a6000
4
- data.tar.gz: 75cfc6819bcbe2ba3e72bd93b5949cdfcfc49636
3
+ metadata.gz: 0c35d1a5e4b65cfc647b8f426bb0ca07f8c2446d
4
+ data.tar.gz: a9bee2f0b9c9105e6d1955e4a6219c7e5f1dcd05
5
5
  SHA512:
6
- metadata.gz: b59476dd6d6fe571a0d78ded8f36cd243af1138ae21af5b1ee484c47702f98823c52f234b3c4f593e92ecc257d155e3b5d745739642756209b3eaa9671ffe60b
7
- data.tar.gz: '0941301ab7d2636f2235bc6e96b83ae8897b0b20bf8273c5b638110148578ac1407f5959b7e447d378e0aa57044451db949903a4e6e42ff752b145c89ad7d7e3'
6
+ metadata.gz: 5252939d4f2f83d801921762c82441ca5c0a77b8912e09e72769ec82a51d0a277187b399b05050388432b15532b633e08566ceece740ea505ecccb1e9b020b51
7
+ data.tar.gz: a1652387b534b70d28704780ea78388428f9b868d06a2d32e5632969a4f956c58b342515bdb9e892d013daf32c98a9eebcc9cb2be757d69fcde321c17c8d05fd
@@ -25,17 +25,20 @@ require_relative 'aws-sdk-route53/customizations'
25
25
  # methods each accept a hash of request parameters and return a response
26
26
  # structure.
27
27
  #
28
+ # route_53 = Aws::Route53::Client.new
29
+ # resp = route_53.associate_vpc_with_hosted_zone(params)
30
+ #
28
31
  # See {Client} for more information.
29
32
  #
30
33
  # # Errors
31
34
  #
32
- # Errors returned from Amazon Route 53 all
33
- # extend {Errors::ServiceError}.
35
+ # Errors returned from Amazon Route 53 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::Route53::Errors::ServiceError
38
- # # rescues all service API errors
41
+ # # rescues all Amazon Route 53 API errors
39
42
  # end
40
43
  #
41
44
  # See {Errors} for more information.
@@ -43,6 +46,6 @@ require_relative 'aws-sdk-route53/customizations'
43
46
  # @service
44
47
  module Aws::Route53
45
48
 
46
- GEM_VERSION = '1.30.0'
49
+ GEM_VERSION = '1.31.0'
47
50
 
48
51
  end
@@ -31,6 +31,18 @@ require 'aws-sdk-route53/plugins/id_fix.rb'
31
31
  Aws::Plugins::GlobalConfiguration.add_identifier(:route53)
32
32
 
33
33
  module Aws::Route53
34
+ # An API client for Route53. To construct a client, you need to configure a `:region` and `:credentials`.
35
+ #
36
+ # client = Aws::Route53::Client.new(
37
+ # region: region_name,
38
+ # credentials: credentials,
39
+ # # ...
40
+ # )
41
+ #
42
+ # For details on configuring region and credentials see
43
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
44
+ #
45
+ # See {#initialize} for a full list of supported configuration options.
34
46
  class Client < Seahorse::Client::Base
35
47
 
36
48
  include Aws::ClientStubs
@@ -110,6 +122,12 @@ module Aws::Route53
110
122
  # When set to `true`, a thread polling for endpoints will be running in
111
123
  # the background every 60 secs (default). Defaults to `false`.
112
124
  #
125
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
126
+ # Used only in `adaptive` retry mode. When true, the request will sleep
127
+ # until there is sufficent client side capacity to retry the request.
128
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
129
+ # not retry instead of sleeping.
130
+ #
113
131
  # @option options [Boolean] :client_side_monitoring (false)
114
132
  # When `true`, client-side metrics will be collected for all API requests from
115
133
  # this client.
@@ -134,6 +152,10 @@ module Aws::Route53
134
152
  # When `true`, an attempt is made to coerce request parameters into
135
153
  # the required types.
136
154
  #
155
+ # @option options [Boolean] :correct_clock_skew (true)
156
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
157
+ # a clock skew correction and retry requests with skewed client clocks.
158
+ #
137
159
  # @option options [Boolean] :disable_host_prefix_injection (false)
138
160
  # Set to true to disable SDK automatically adding host prefix
139
161
  # to default service endpoint when available.
@@ -168,15 +190,29 @@ module Aws::Route53
168
190
  # The Logger instance to send log messages to. If this option
169
191
  # is not set, logging will be disabled.
170
192
  #
193
+ # @option options [Integer] :max_attempts (3)
194
+ # An integer representing the maximum number attempts that will be made for
195
+ # a single request, including the initial attempt. For example,
196
+ # setting this value to 5 will result in a request being retried up to
197
+ # 4 times. Used in `standard` and `adaptive` retry modes.
198
+ #
171
199
  # @option options [String] :profile ("default")
172
200
  # Used when loading credentials from the shared credentials file
173
201
  # at HOME/.aws/credentials. When not specified, 'default' is used.
174
202
  #
203
+ # @option options [Proc] :retry_backoff
204
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
205
+ # This option is only used in the `legacy` retry mode.
206
+ #
175
207
  # @option options [Float] :retry_base_delay (0.3)
176
- # The base delay in seconds used by the default backoff function.
208
+ # The base delay in seconds used by the default backoff function. This option
209
+ # is only used in the `legacy` retry mode.
177
210
  #
178
211
  # @option options [Symbol] :retry_jitter (:none)
179
- # 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.
212
+ # A delay randomiser function used by the default backoff function.
213
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
214
+ # otherwise a Proc that takes and returns a number. This option is only used
215
+ # in the `legacy` retry mode.
180
216
  #
181
217
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
182
218
  #
@@ -184,11 +220,26 @@ module Aws::Route53
184
220
  # The maximum number of times to retry failed requests. Only
185
221
  # ~ 500 level server errors and certain ~ 400 level client errors
186
222
  # are retried. Generally, these are throttling errors, data
187
- # checksum errors, networking errors, timeout errors and auth
188
- # errors from expired credentials.
223
+ # checksum errors, networking errors, timeout errors, auth errors,
224
+ # endpoint discovery, and errors from expired credentials.
225
+ # This option is only used in the `legacy` retry mode.
189
226
  #
190
227
  # @option options [Integer] :retry_max_delay (0)
191
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
228
+ # The maximum number of seconds to delay between retries (0 for no limit)
229
+ # used by the default backoff function. This option is only used in the
230
+ # `legacy` retry mode.
231
+ #
232
+ # @option options [String] :retry_mode ("legacy")
233
+ # Specifies which retry algorithm to use. Values are:
234
+ # * `legacy` - The pre-existing retry behavior. This is default value if
235
+ # no retry mode is provided.
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
+ # * `adaptive` - An experimental retry mode that includes all the
240
+ # functionality of `standard` mode along with automatic client side
241
+ # throttling. This is a provisional mode that may change behavior
242
+ # in the future.
192
243
  #
193
244
  # @option options [String] :secret_access_key
194
245
  #
@@ -211,16 +262,16 @@ module Aws::Route53
211
262
  # requests through. Formatted like 'http://proxy.com:123'.
212
263
  #
213
264
  # @option options [Float] :http_open_timeout (15) The number of
214
- # seconds to wait when opening a HTTP session before rasing a
265
+ # seconds to wait when opening a HTTP session before raising a
215
266
  # `Timeout::Error`.
216
267
  #
217
268
  # @option options [Integer] :http_read_timeout (60) The default
218
269
  # number of seconds to wait for response data. This value can
219
270
  # safely be set
220
- # per-request on the session yeidled by {#session_for}.
271
+ # per-request on the session yielded by {#session_for}.
221
272
  #
222
273
  # @option options [Float] :http_idle_timeout (5) The number of
223
- # seconds a connection is allowed to sit idble before it is
274
+ # seconds a connection is allowed to sit idle before it is
224
275
  # considered stale. Stale connections are closed and removed
225
276
  # from the pool before making a request.
226
277
  #
@@ -229,7 +280,7 @@ module Aws::Route53
229
280
  # request body. This option has no effect unless the request has
230
281
  # "Expect" header set to "100-continue". Defaults to `nil` which
231
282
  # disables this behaviour. This value can safely be set per
232
- # request on the session yeidled by {#session_for}.
283
+ # request on the session yielded by {#session_for}.
233
284
  #
234
285
  # @option options [Boolean] :http_wire_trace (false) When `true`,
235
286
  # HTTP debug output will be sent to the `:logger`.
@@ -5028,7 +5079,7 @@ module Aws::Route53
5028
5079
  params: params,
5029
5080
  config: config)
5030
5081
  context[:gem_name] = 'aws-sdk-route53'
5031
- context[:gem_version] = '1.30.0'
5082
+ context[:gem_version] = '1.31.0'
5032
5083
  Seahorse::Client::Request.new(handlers, context)
5033
5084
  end
5034
5085
 
@@ -6,6 +6,79 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Route53
9
+
10
+ # When Route53 returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::Route53::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all Route53 errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::Route53::Errors::ServiceError
18
+ # # rescues all Route53 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
+ # * {ConcurrentModification}
29
+ # * {ConflictingDomainExists}
30
+ # * {ConflictingTypes}
31
+ # * {DelegationSetAlreadyCreated}
32
+ # * {DelegationSetAlreadyReusable}
33
+ # * {DelegationSetInUse}
34
+ # * {DelegationSetNotAvailable}
35
+ # * {DelegationSetNotReusable}
36
+ # * {HealthCheckAlreadyExists}
37
+ # * {HealthCheckInUse}
38
+ # * {HealthCheckVersionMismatch}
39
+ # * {HostedZoneAlreadyExists}
40
+ # * {HostedZoneNotEmpty}
41
+ # * {HostedZoneNotFound}
42
+ # * {HostedZoneNotPrivate}
43
+ # * {IncompatibleVersion}
44
+ # * {InsufficientCloudWatchLogsResourcePolicy}
45
+ # * {InvalidArgument}
46
+ # * {InvalidChangeBatch}
47
+ # * {InvalidDomainName}
48
+ # * {InvalidInput}
49
+ # * {InvalidPaginationToken}
50
+ # * {InvalidTrafficPolicyDocument}
51
+ # * {InvalidVPCId}
52
+ # * {LastVPCAssociation}
53
+ # * {LimitsExceeded}
54
+ # * {NoSuchChange}
55
+ # * {NoSuchCloudWatchLogsLogGroup}
56
+ # * {NoSuchDelegationSet}
57
+ # * {NoSuchGeoLocation}
58
+ # * {NoSuchHealthCheck}
59
+ # * {NoSuchHostedZone}
60
+ # * {NoSuchQueryLoggingConfig}
61
+ # * {NoSuchTrafficPolicy}
62
+ # * {NoSuchTrafficPolicyInstance}
63
+ # * {NotAuthorizedException}
64
+ # * {PriorRequestNotComplete}
65
+ # * {PublicZoneVPCAssociation}
66
+ # * {QueryLoggingConfigAlreadyExists}
67
+ # * {ThrottlingException}
68
+ # * {TooManyHealthChecks}
69
+ # * {TooManyHostedZones}
70
+ # * {TooManyTrafficPolicies}
71
+ # * {TooManyTrafficPolicyInstances}
72
+ # * {TooManyTrafficPolicyVersionsForCurrentPolicy}
73
+ # * {TooManyVPCAssociationAuthorizations}
74
+ # * {TrafficPolicyAlreadyExists}
75
+ # * {TrafficPolicyInUse}
76
+ # * {TrafficPolicyInstanceAlreadyExists}
77
+ # * {VPCAssociationAuthorizationNotFound}
78
+ # * {VPCAssociationNotFound}
79
+ #
80
+ # Additionally, error classes are dynamically generated for service errors based on the error code
81
+ # if they are not defined above.
9
82
  module Errors
10
83
 
11
84
  extend Aws::Errors::DynamicErrors
@@ -23,7 +96,6 @@ module Aws::Route53
23
96
  def message
24
97
  @message || @data[:message]
25
98
  end
26
-
27
99
  end
28
100
 
29
101
  class ConflictingDomainExists < ServiceError
@@ -39,7 +111,6 @@ module Aws::Route53
39
111
  def message
40
112
  @message || @data[:message]
41
113
  end
42
-
43
114
  end
44
115
 
45
116
  class ConflictingTypes < ServiceError
@@ -55,7 +126,6 @@ module Aws::Route53
55
126
  def message
56
127
  @message || @data[:message]
57
128
  end
58
-
59
129
  end
60
130
 
61
131
  class DelegationSetAlreadyCreated < ServiceError
@@ -71,7 +141,6 @@ module Aws::Route53
71
141
  def message
72
142
  @message || @data[:message]
73
143
  end
74
-
75
144
  end
76
145
 
77
146
  class DelegationSetAlreadyReusable < ServiceError
@@ -87,7 +156,6 @@ module Aws::Route53
87
156
  def message
88
157
  @message || @data[:message]
89
158
  end
90
-
91
159
  end
92
160
 
93
161
  class DelegationSetInUse < ServiceError
@@ -103,7 +171,6 @@ module Aws::Route53
103
171
  def message
104
172
  @message || @data[:message]
105
173
  end
106
-
107
174
  end
108
175
 
109
176
  class DelegationSetNotAvailable < ServiceError
@@ -119,7 +186,6 @@ module Aws::Route53
119
186
  def message
120
187
  @message || @data[:message]
121
188
  end
122
-
123
189
  end
124
190
 
125
191
  class DelegationSetNotReusable < ServiceError
@@ -135,7 +201,6 @@ module Aws::Route53
135
201
  def message
136
202
  @message || @data[:message]
137
203
  end
138
-
139
204
  end
140
205
 
141
206
  class HealthCheckAlreadyExists < ServiceError
@@ -151,7 +216,6 @@ module Aws::Route53
151
216
  def message
152
217
  @message || @data[:message]
153
218
  end
154
-
155
219
  end
156
220
 
157
221
  class HealthCheckInUse < ServiceError
@@ -167,7 +231,6 @@ module Aws::Route53
167
231
  def message
168
232
  @message || @data[:message]
169
233
  end
170
-
171
234
  end
172
235
 
173
236
  class HealthCheckVersionMismatch < ServiceError
@@ -183,7 +246,6 @@ module Aws::Route53
183
246
  def message
184
247
  @message || @data[:message]
185
248
  end
186
-
187
249
  end
188
250
 
189
251
  class HostedZoneAlreadyExists < ServiceError
@@ -199,7 +261,6 @@ module Aws::Route53
199
261
  def message
200
262
  @message || @data[:message]
201
263
  end
202
-
203
264
  end
204
265
 
205
266
  class HostedZoneNotEmpty < ServiceError
@@ -215,7 +276,6 @@ module Aws::Route53
215
276
  def message
216
277
  @message || @data[:message]
217
278
  end
218
-
219
279
  end
220
280
 
221
281
  class HostedZoneNotFound < ServiceError
@@ -231,7 +291,6 @@ module Aws::Route53
231
291
  def message
232
292
  @message || @data[:message]
233
293
  end
234
-
235
294
  end
236
295
 
237
296
  class HostedZoneNotPrivate < ServiceError
@@ -247,7 +306,6 @@ module Aws::Route53
247
306
  def message
248
307
  @message || @data[:message]
249
308
  end
250
-
251
309
  end
252
310
 
253
311
  class IncompatibleVersion < ServiceError
@@ -263,7 +321,6 @@ module Aws::Route53
263
321
  def message
264
322
  @message || @data[:message]
265
323
  end
266
-
267
324
  end
268
325
 
269
326
  class InsufficientCloudWatchLogsResourcePolicy < ServiceError
@@ -279,7 +336,6 @@ module Aws::Route53
279
336
  def message
280
337
  @message || @data[:message]
281
338
  end
282
-
283
339
  end
284
340
 
285
341
  class InvalidArgument < ServiceError
@@ -295,7 +351,6 @@ module Aws::Route53
295
351
  def message
296
352
  @message || @data[:message]
297
353
  end
298
-
299
354
  end
300
355
 
301
356
  class InvalidChangeBatch < ServiceError
@@ -316,7 +371,6 @@ module Aws::Route53
316
371
  def message
317
372
  @message || @data[:message]
318
373
  end
319
-
320
374
  end
321
375
 
322
376
  class InvalidDomainName < ServiceError
@@ -332,7 +386,6 @@ module Aws::Route53
332
386
  def message
333
387
  @message || @data[:message]
334
388
  end
335
-
336
389
  end
337
390
 
338
391
  class InvalidInput < ServiceError
@@ -348,7 +401,6 @@ module Aws::Route53
348
401
  def message
349
402
  @message || @data[:message]
350
403
  end
351
-
352
404
  end
353
405
 
354
406
  class InvalidPaginationToken < ServiceError
@@ -364,7 +416,6 @@ module Aws::Route53
364
416
  def message
365
417
  @message || @data[:message]
366
418
  end
367
-
368
419
  end
369
420
 
370
421
  class InvalidTrafficPolicyDocument < ServiceError
@@ -380,7 +431,6 @@ module Aws::Route53
380
431
  def message
381
432
  @message || @data[:message]
382
433
  end
383
-
384
434
  end
385
435
 
386
436
  class InvalidVPCId < ServiceError
@@ -396,7 +446,6 @@ module Aws::Route53
396
446
  def message
397
447
  @message || @data[:message]
398
448
  end
399
-
400
449
  end
401
450
 
402
451
  class LastVPCAssociation < ServiceError
@@ -412,7 +461,6 @@ module Aws::Route53
412
461
  def message
413
462
  @message || @data[:message]
414
463
  end
415
-
416
464
  end
417
465
 
418
466
  class LimitsExceeded < ServiceError
@@ -428,7 +476,6 @@ module Aws::Route53
428
476
  def message
429
477
  @message || @data[:message]
430
478
  end
431
-
432
479
  end
433
480
 
434
481
  class NoSuchChange < ServiceError
@@ -444,7 +491,6 @@ module Aws::Route53
444
491
  def message
445
492
  @message || @data[:message]
446
493
  end
447
-
448
494
  end
449
495
 
450
496
  class NoSuchCloudWatchLogsLogGroup < ServiceError
@@ -460,7 +506,6 @@ module Aws::Route53
460
506
  def message
461
507
  @message || @data[:message]
462
508
  end
463
-
464
509
  end
465
510
 
466
511
  class NoSuchDelegationSet < ServiceError
@@ -476,7 +521,6 @@ module Aws::Route53
476
521
  def message
477
522
  @message || @data[:message]
478
523
  end
479
-
480
524
  end
481
525
 
482
526
  class NoSuchGeoLocation < ServiceError
@@ -492,7 +536,6 @@ module Aws::Route53
492
536
  def message
493
537
  @message || @data[:message]
494
538
  end
495
-
496
539
  end
497
540
 
498
541
  class NoSuchHealthCheck < ServiceError
@@ -508,7 +551,6 @@ module Aws::Route53
508
551
  def message
509
552
  @message || @data[:message]
510
553
  end
511
-
512
554
  end
513
555
 
514
556
  class NoSuchHostedZone < ServiceError
@@ -524,7 +566,6 @@ module Aws::Route53
524
566
  def message
525
567
  @message || @data[:message]
526
568
  end
527
-
528
569
  end
529
570
 
530
571
  class NoSuchQueryLoggingConfig < ServiceError
@@ -540,7 +581,6 @@ module Aws::Route53
540
581
  def message
541
582
  @message || @data[:message]
542
583
  end
543
-
544
584
  end
545
585
 
546
586
  class NoSuchTrafficPolicy < ServiceError
@@ -556,7 +596,6 @@ module Aws::Route53
556
596
  def message
557
597
  @message || @data[:message]
558
598
  end
559
-
560
599
  end
561
600
 
562
601
  class NoSuchTrafficPolicyInstance < ServiceError
@@ -572,7 +611,6 @@ module Aws::Route53
572
611
  def message
573
612
  @message || @data[:message]
574
613
  end
575
-
576
614
  end
577
615
 
578
616
  class NotAuthorizedException < ServiceError
@@ -588,7 +626,6 @@ module Aws::Route53
588
626
  def message
589
627
  @message || @data[:message]
590
628
  end
591
-
592
629
  end
593
630
 
594
631
  class PriorRequestNotComplete < ServiceError
@@ -604,7 +641,6 @@ module Aws::Route53
604
641
  def message
605
642
  @message || @data[:message]
606
643
  end
607
-
608
644
  end
609
645
 
610
646
  class PublicZoneVPCAssociation < ServiceError
@@ -620,7 +656,6 @@ module Aws::Route53
620
656
  def message
621
657
  @message || @data[:message]
622
658
  end
623
-
624
659
  end
625
660
 
626
661
  class QueryLoggingConfigAlreadyExists < ServiceError
@@ -636,7 +671,6 @@ module Aws::Route53
636
671
  def message
637
672
  @message || @data[:message]
638
673
  end
639
-
640
674
  end
641
675
 
642
676
  class ThrottlingException < ServiceError
@@ -652,7 +686,6 @@ module Aws::Route53
652
686
  def message
653
687
  @message || @data[:message]
654
688
  end
655
-
656
689
  end
657
690
 
658
691
  class TooManyHealthChecks < ServiceError
@@ -668,7 +701,6 @@ module Aws::Route53
668
701
  def message
669
702
  @message || @data[:message]
670
703
  end
671
-
672
704
  end
673
705
 
674
706
  class TooManyHostedZones < ServiceError
@@ -684,7 +716,6 @@ module Aws::Route53
684
716
  def message
685
717
  @message || @data[:message]
686
718
  end
687
-
688
719
  end
689
720
 
690
721
  class TooManyTrafficPolicies < ServiceError
@@ -700,7 +731,6 @@ module Aws::Route53
700
731
  def message
701
732
  @message || @data[:message]
702
733
  end
703
-
704
734
  end
705
735
 
706
736
  class TooManyTrafficPolicyInstances < ServiceError
@@ -716,7 +746,6 @@ module Aws::Route53
716
746
  def message
717
747
  @message || @data[:message]
718
748
  end
719
-
720
749
  end
721
750
 
722
751
  class TooManyTrafficPolicyVersionsForCurrentPolicy < ServiceError
@@ -732,7 +761,6 @@ module Aws::Route53
732
761
  def message
733
762
  @message || @data[:message]
734
763
  end
735
-
736
764
  end
737
765
 
738
766
  class TooManyVPCAssociationAuthorizations < ServiceError
@@ -748,7 +776,6 @@ module Aws::Route53
748
776
  def message
749
777
  @message || @data[:message]
750
778
  end
751
-
752
779
  end
753
780
 
754
781
  class TrafficPolicyAlreadyExists < ServiceError
@@ -764,7 +791,6 @@ module Aws::Route53
764
791
  def message
765
792
  @message || @data[:message]
766
793
  end
767
-
768
794
  end
769
795
 
770
796
  class TrafficPolicyInUse < ServiceError
@@ -780,7 +806,6 @@ module Aws::Route53
780
806
  def message
781
807
  @message || @data[:message]
782
808
  end
783
-
784
809
  end
785
810
 
786
811
  class TrafficPolicyInstanceAlreadyExists < ServiceError
@@ -796,7 +821,6 @@ module Aws::Route53
796
821
  def message
797
822
  @message || @data[:message]
798
823
  end
799
-
800
824
  end
801
825
 
802
826
  class VPCAssociationAuthorizationNotFound < ServiceError
@@ -812,7 +836,6 @@ module Aws::Route53
812
836
  def message
813
837
  @message || @data[:message]
814
838
  end
815
-
816
839
  end
817
840
 
818
841
  class VPCAssociationNotFound < ServiceError
@@ -828,7 +851,6 @@ module Aws::Route53
828
851
  def message
829
852
  @message || @data[:message]
830
853
  end
831
-
832
854
  end
833
855
 
834
856
  end
@@ -6,6 +6,13 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Route53
9
+ # This class provides a resource oriented interface for Route53.
10
+ # To create a resource object:
11
+ # resource = Aws::Route53::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::Route53::Client.new(region: 'us-west-2')
15
+ # resource = Aws::Route53::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-route53
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.31.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: 2019-10-23 00:00:00.000000000 Z
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