aws-sdk-rds 1.179.0 → 1.180.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/account_quota.rb +3 -1
- data/lib/aws-sdk-rds/certificate.rb +6 -2
- data/lib/aws-sdk-rds/client.rb +58 -7
- data/lib/aws-sdk-rds/client_api.rb +2 -0
- data/lib/aws-sdk-rds/db_cluster.rb +40 -10
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +18 -6
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +21 -7
- data/lib/aws-sdk-rds/db_engine.rb +12 -4
- data/lib/aws-sdk-rds/db_engine_version.rb +12 -4
- data/lib/aws-sdk-rds/db_instance.rb +76 -16
- data/lib/aws-sdk-rds/db_log_file.rb +6 -2
- data/lib/aws-sdk-rds/db_parameter_group.rb +33 -11
- data/lib/aws-sdk-rds/db_parameter_group_family.rb +9 -3
- data/lib/aws-sdk-rds/db_security_group.rb +27 -9
- data/lib/aws-sdk-rds/db_snapshot.rb +30 -10
- data/lib/aws-sdk-rds/db_snapshot_attribute.rb +6 -2
- data/lib/aws-sdk-rds/db_subnet_group.rb +15 -5
- data/lib/aws-sdk-rds/event.rb +3 -1
- data/lib/aws-sdk-rds/event_category_map.rb +6 -2
- data/lib/aws-sdk-rds/event_subscription.rb +21 -7
- data/lib/aws-sdk-rds/option_group.rb +18 -6
- data/lib/aws-sdk-rds/option_group_option.rb +3 -1
- data/lib/aws-sdk-rds/parameter.rb +3 -1
- data/lib/aws-sdk-rds/pending_maintenance_action.rb +12 -4
- data/lib/aws-sdk-rds/reserved_db_instance.rb +6 -2
- data/lib/aws-sdk-rds/reserved_db_instances_offering.rb +9 -3
- data/lib/aws-sdk-rds/resource.rb +85 -25
- data/lib/aws-sdk-rds/resource_pending_maintenance_action_list.rb +3 -1
- data/lib/aws-sdk-rds/types.rb +48 -8
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +4 -4
@@ -54,7 +54,9 @@ module Aws::RDS
|
|
54
54
|
#
|
55
55
|
# @return [self]
|
56
56
|
def load
|
57
|
-
resp =
|
57
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
58
|
+
@client.describe_event_categories(source_type: @name)
|
59
|
+
end
|
58
60
|
@data = resp.event_categories_map_list[0]
|
59
61
|
self
|
60
62
|
end
|
@@ -169,7 +171,9 @@ module Aws::RDS
|
|
169
171
|
:retry
|
170
172
|
end
|
171
173
|
end
|
172
|
-
Aws::
|
174
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
175
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
176
|
+
end
|
173
177
|
end
|
174
178
|
|
175
179
|
# @deprecated
|
@@ -116,7 +116,9 @@ module Aws::RDS
|
|
116
116
|
#
|
117
117
|
# @return [self]
|
118
118
|
def load
|
119
|
-
resp =
|
119
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
120
|
+
@client.describe_event_subscriptions(subscription_name: @name)
|
121
|
+
end
|
120
122
|
@data = resp.event_subscriptions_list[0]
|
121
123
|
self
|
122
124
|
end
|
@@ -231,7 +233,9 @@ module Aws::RDS
|
|
231
233
|
:retry
|
232
234
|
end
|
233
235
|
end
|
234
|
-
Aws::
|
236
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
237
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
238
|
+
end
|
235
239
|
end
|
236
240
|
|
237
241
|
# @!group Actions
|
@@ -270,7 +274,9 @@ module Aws::RDS
|
|
270
274
|
# @return [EventSubscription]
|
271
275
|
def add_subscriber(options = {})
|
272
276
|
options = options.merge(subscription_name: @name)
|
273
|
-
resp =
|
277
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
278
|
+
@client.add_source_identifier_to_subscription(options)
|
279
|
+
end
|
274
280
|
EventSubscription.new(
|
275
281
|
name: resp.data.event_subscription.cust_subscription_id,
|
276
282
|
data: resp.data.event_subscription,
|
@@ -364,7 +370,9 @@ module Aws::RDS
|
|
364
370
|
# @return [EventSubscription]
|
365
371
|
def create(options = {})
|
366
372
|
options = options.merge(subscription_name: @name)
|
367
|
-
resp =
|
373
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
374
|
+
@client.create_event_subscription(options)
|
375
|
+
end
|
368
376
|
EventSubscription.new(
|
369
377
|
name: resp.data.event_subscription.cust_subscription_id,
|
370
378
|
data: resp.data.event_subscription,
|
@@ -379,7 +387,9 @@ module Aws::RDS
|
|
379
387
|
# @return [EventSubscription]
|
380
388
|
def delete(options = {})
|
381
389
|
options = options.merge(subscription_name: @name)
|
382
|
-
resp =
|
390
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
391
|
+
@client.delete_event_subscription(options)
|
392
|
+
end
|
383
393
|
EventSubscription.new(
|
384
394
|
name: resp.data.event_subscription.cust_subscription_id,
|
385
395
|
data: resp.data.event_subscription,
|
@@ -423,7 +433,9 @@ module Aws::RDS
|
|
423
433
|
# @return [EventSubscription]
|
424
434
|
def modify(options = {})
|
425
435
|
options = options.merge(subscription_name: @name)
|
426
|
-
resp =
|
436
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
437
|
+
@client.modify_event_subscription(options)
|
438
|
+
end
|
427
439
|
EventSubscription.new(
|
428
440
|
name: resp.data.event_subscription.cust_subscription_id,
|
429
441
|
data: resp.data.event_subscription,
|
@@ -444,7 +456,9 @@ module Aws::RDS
|
|
444
456
|
# @return [EventSubscription]
|
445
457
|
def remove_subscriber(options = {})
|
446
458
|
options = options.merge(subscription_name: @name)
|
447
|
-
resp =
|
459
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
460
|
+
@client.remove_source_identifier_from_subscription(options)
|
461
|
+
end
|
448
462
|
EventSubscription.new(
|
449
463
|
name: resp.data.event_subscription.cust_subscription_id,
|
450
464
|
data: resp.data.event_subscription,
|
@@ -119,7 +119,9 @@ module Aws::RDS
|
|
119
119
|
#
|
120
120
|
# @return [self]
|
121
121
|
def load
|
122
|
-
resp =
|
122
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
123
|
+
@client.describe_option_groups(option_group_name: @name)
|
124
|
+
end
|
123
125
|
@data = resp.option_groups_list[0]
|
124
126
|
self
|
125
127
|
end
|
@@ -234,7 +236,9 @@ module Aws::RDS
|
|
234
236
|
:retry
|
235
237
|
end
|
236
238
|
end
|
237
|
-
Aws::
|
239
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
240
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
241
|
+
end
|
238
242
|
end
|
239
243
|
|
240
244
|
# @!group Actions
|
@@ -290,7 +294,9 @@ module Aws::RDS
|
|
290
294
|
# @return [OptionGroup]
|
291
295
|
def create(options = {})
|
292
296
|
options = options.merge(option_group_name: @name)
|
293
|
-
resp =
|
297
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
298
|
+
@client.create_option_group(options)
|
299
|
+
end
|
294
300
|
OptionGroup.new(
|
295
301
|
name: resp.data.option_group.option_group_name,
|
296
302
|
data: resp.data.option_group,
|
@@ -337,7 +343,9 @@ module Aws::RDS
|
|
337
343
|
# @return [OptionGroup]
|
338
344
|
def copy(options = {})
|
339
345
|
options = options.merge(source_option_group_identifier: @name)
|
340
|
-
resp =
|
346
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
347
|
+
@client.copy_option_group(options)
|
348
|
+
end
|
341
349
|
OptionGroup.new(
|
342
350
|
name: resp.data.option_group.option_group_name,
|
343
351
|
data: resp.data.option_group,
|
@@ -352,7 +360,9 @@ module Aws::RDS
|
|
352
360
|
# @return [EmptyStructure]
|
353
361
|
def delete(options = {})
|
354
362
|
options = options.merge(option_group_name: @name)
|
355
|
-
resp =
|
363
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
364
|
+
@client.delete_option_group(options)
|
365
|
+
end
|
356
366
|
resp.data
|
357
367
|
end
|
358
368
|
|
@@ -398,7 +408,9 @@ module Aws::RDS
|
|
398
408
|
# @return [OptionGroup]
|
399
409
|
def modify(options = {})
|
400
410
|
options = options.merge(option_group_name: @name)
|
401
|
-
resp =
|
411
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
412
|
+
@client.modify_option_group(options)
|
413
|
+
end
|
402
414
|
OptionGroup.new(
|
403
415
|
name: resp.data.option_group.option_group_name,
|
404
416
|
data: resp.data.option_group,
|
@@ -210,7 +210,9 @@ module Aws::RDS
|
|
210
210
|
:retry
|
211
211
|
end
|
212
212
|
end
|
213
|
-
Aws::
|
213
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
214
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
215
|
+
end
|
214
216
|
end
|
215
217
|
|
216
218
|
# @!group Actions
|
@@ -226,7 +228,9 @@ module Aws::RDS
|
|
226
228
|
resource_identifier: @target_arn,
|
227
229
|
opt_in_type: "immediate"
|
228
230
|
)
|
229
|
-
resp =
|
231
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
232
|
+
@client.apply_pending_maintenance_action(options)
|
233
|
+
end
|
230
234
|
ResourcePendingMaintenanceActionList.new(
|
231
235
|
arn: resp.data.resource_pending_maintenance_actions.resource_identifier,
|
232
236
|
data: resp.data.resource_pending_maintenance_actions,
|
@@ -245,7 +249,9 @@ module Aws::RDS
|
|
245
249
|
resource_identifier: @target_arn,
|
246
250
|
opt_in_type: "undo-opt-in"
|
247
251
|
)
|
248
|
-
resp =
|
252
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
253
|
+
@client.apply_pending_maintenance_action(options)
|
254
|
+
end
|
249
255
|
ResourcePendingMaintenanceActionList.new(
|
250
256
|
arn: resp.data.resource_pending_maintenance_actions.resource_identifier,
|
251
257
|
data: resp.data.resource_pending_maintenance_actions,
|
@@ -264,7 +270,9 @@ module Aws::RDS
|
|
264
270
|
resource_identifier: @target_arn,
|
265
271
|
opt_in_type: "next-maintenance"
|
266
272
|
)
|
267
|
-
resp =
|
273
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
274
|
+
@client.apply_pending_maintenance_action(options)
|
275
|
+
end
|
268
276
|
ResourcePendingMaintenanceActionList.new(
|
269
277
|
arn: resp.data.resource_pending_maintenance_actions.resource_identifier,
|
270
278
|
data: resp.data.resource_pending_maintenance_actions,
|
@@ -145,7 +145,9 @@ module Aws::RDS
|
|
145
145
|
#
|
146
146
|
# @return [self]
|
147
147
|
def load
|
148
|
-
resp =
|
148
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
149
|
+
@client.describe_reserved_db_instances(reserved_db_instance_id: @id)
|
150
|
+
end
|
149
151
|
@data = resp.reserved_db_instances[0]
|
150
152
|
self
|
151
153
|
end
|
@@ -260,7 +262,9 @@ module Aws::RDS
|
|
260
262
|
:retry
|
261
263
|
end
|
262
264
|
end
|
263
|
-
Aws::
|
265
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
266
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
267
|
+
end
|
264
268
|
end
|
265
269
|
|
266
270
|
# @!group Associations
|
@@ -103,7 +103,9 @@ module Aws::RDS
|
|
103
103
|
#
|
104
104
|
# @return [self]
|
105
105
|
def load
|
106
|
-
resp =
|
106
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
107
|
+
@client.describe_reserved_db_instances_offerings(reserved_db_instances_offering_id: @id)
|
108
|
+
end
|
107
109
|
@data = resp.reserved_db_instances_offerings[0]
|
108
110
|
self
|
109
111
|
end
|
@@ -218,7 +220,9 @@ module Aws::RDS
|
|
218
220
|
:retry
|
219
221
|
end
|
220
222
|
end
|
221
|
-
Aws::
|
223
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
224
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
225
|
+
end
|
222
226
|
end
|
223
227
|
|
224
228
|
# @!group Actions
|
@@ -254,7 +258,9 @@ module Aws::RDS
|
|
254
258
|
# @return [ReservedDBInstance]
|
255
259
|
def purchase(options = {})
|
256
260
|
options = options.merge(reserved_db_instances_offering_id: @id)
|
257
|
-
resp =
|
261
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
262
|
+
@client.purchase_reserved_db_instances_offering(options)
|
263
|
+
end
|
258
264
|
ReservedDBInstance.new(
|
259
265
|
id: resp.data.reserved_db_instance.reserved_db_instance_id,
|
260
266
|
data: resp.data.reserved_db_instance,
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -637,6 +637,16 @@ module Aws::RDS
|
|
637
637
|
# Default: `aurora` (Aurora DB clusters); `io1` (Multi-AZ DB clusters)
|
638
638
|
#
|
639
639
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
640
|
+
#
|
641
|
+
# For more information on storage types for Aurora DB clusters, see
|
642
|
+
# [Storage configurations for Amazon Aurora DB clusters][1]. For more
|
643
|
+
# information on storage types for Multi-AZ DB clusters, see [Settings
|
644
|
+
# for creating Multi-AZ DB clusters][2].
|
645
|
+
#
|
646
|
+
#
|
647
|
+
#
|
648
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
|
649
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html#create-multi-az-db-cluster-settings
|
640
650
|
# @option options [Integer] :iops
|
641
651
|
# The amount of Provisioned IOPS (input/output operations per second) to
|
642
652
|
# be initially allocated for each DB instance in the Multi-AZ DB
|
@@ -856,7 +866,9 @@ module Aws::RDS
|
|
856
866
|
# shapshot is encrypted and in a different region.
|
857
867
|
# @return [DBCluster]
|
858
868
|
def create_db_cluster(options = {})
|
859
|
-
resp =
|
869
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
870
|
+
@client.create_db_cluster(options)
|
871
|
+
end
|
860
872
|
DBCluster.new(
|
861
873
|
id: options[:db_cluster][:db_cluster_identifier],
|
862
874
|
data: resp.data.db_cluster,
|
@@ -945,7 +957,9 @@ module Aws::RDS
|
|
945
957
|
# Tags to assign to the DB cluster parameter group.
|
946
958
|
# @return [DBClusterParameterGroup]
|
947
959
|
def create_db_cluster_parameter_group(options = {})
|
948
|
-
resp =
|
960
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
961
|
+
@client.create_db_cluster_parameter_group(options)
|
962
|
+
end
|
949
963
|
DBClusterParameterGroup.new(
|
950
964
|
name: resp.data.db_cluster_parameter_group.db_cluster_parameter_group_name,
|
951
965
|
data: resp.data.db_cluster_parameter_group,
|
@@ -2134,7 +2148,9 @@ module Aws::RDS
|
|
2134
2148
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
|
2135
2149
|
# @return [DBInstance]
|
2136
2150
|
def create_db_instance(options = {})
|
2137
|
-
resp =
|
2151
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2152
|
+
@client.create_db_instance(options)
|
2153
|
+
end
|
2138
2154
|
DBInstance.new(
|
2139
2155
|
id: resp.data.db_instance.db_instance_identifier,
|
2140
2156
|
data: resp.data.db_instance,
|
@@ -2225,7 +2241,9 @@ module Aws::RDS
|
|
2225
2241
|
# Tags to assign to the DB parameter group.
|
2226
2242
|
# @return [DBParameterGroup]
|
2227
2243
|
def create_db_parameter_group(options = {})
|
2228
|
-
resp =
|
2244
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2245
|
+
@client.create_db_parameter_group(options)
|
2246
|
+
end
|
2229
2247
|
DBParameterGroup.new(
|
2230
2248
|
name: resp.data.db_parameter_group.db_parameter_group_name,
|
2231
2249
|
data: resp.data.db_parameter_group,
|
@@ -2267,7 +2285,9 @@ module Aws::RDS
|
|
2267
2285
|
# Tags to assign to the DB security group.
|
2268
2286
|
# @return [DBSecurityGroup]
|
2269
2287
|
def create_db_security_group(options = {})
|
2270
|
-
resp =
|
2288
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2289
|
+
@client.create_db_security_group(options)
|
2290
|
+
end
|
2271
2291
|
DBSecurityGroup.new(
|
2272
2292
|
name: resp.data.db_security_group.db_security_group_name,
|
2273
2293
|
data: resp.data.db_security_group,
|
@@ -2311,7 +2331,9 @@ module Aws::RDS
|
|
2311
2331
|
# Tags to assign to the DB subnet group.
|
2312
2332
|
# @return [DBSubnetGroup]
|
2313
2333
|
def create_db_subnet_group(options = {})
|
2314
|
-
resp =
|
2334
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2335
|
+
@client.create_db_subnet_group(options)
|
2336
|
+
end
|
2315
2337
|
DBSubnetGroup.new(
|
2316
2338
|
name: resp.data.db_subnet_group.db_subnet_group_name,
|
2317
2339
|
data: resp.data.db_subnet_group,
|
@@ -2409,7 +2431,9 @@ module Aws::RDS
|
|
2409
2431
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
|
2410
2432
|
# @return [EventSubscription]
|
2411
2433
|
def create_event_subscription(options = {})
|
2412
|
-
resp =
|
2434
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2435
|
+
@client.create_event_subscription(options)
|
2436
|
+
end
|
2413
2437
|
EventSubscription.new(
|
2414
2438
|
name: resp.data.event_subscription.cust_subscription_id,
|
2415
2439
|
data: resp.data.event_subscription,
|
@@ -2480,7 +2504,9 @@ module Aws::RDS
|
|
2480
2504
|
# Tags to assign to the option group.
|
2481
2505
|
# @return [OptionGroup]
|
2482
2506
|
def create_option_group(options = {})
|
2483
|
-
resp =
|
2507
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2508
|
+
@client.create_option_group(options)
|
2509
|
+
end
|
2484
2510
|
OptionGroup.new(
|
2485
2511
|
name: resp.data.option_group.option_group_name,
|
2486
2512
|
data: resp.data.option_group,
|
@@ -2498,7 +2524,9 @@ module Aws::RDS
|
|
2498
2524
|
def account_quotas(options = {})
|
2499
2525
|
batches = Enumerator.new do |y|
|
2500
2526
|
batch = []
|
2501
|
-
resp =
|
2527
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2528
|
+
@client.describe_account_attributes(options)
|
2529
|
+
end
|
2502
2530
|
resp.data.account_quotas.each do |a|
|
2503
2531
|
batch << AccountQuota.new(
|
2504
2532
|
name: a.account_quota_name,
|
@@ -2547,7 +2575,9 @@ module Aws::RDS
|
|
2547
2575
|
# @return [Certificate::Collection]
|
2548
2576
|
def certificates(options = {})
|
2549
2577
|
batches = Enumerator.new do |y|
|
2550
|
-
resp =
|
2578
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2579
|
+
@client.describe_certificates(options)
|
2580
|
+
end
|
2551
2581
|
resp.each_page do |page|
|
2552
2582
|
batch = []
|
2553
2583
|
page.data.certificates.each do |c|
|
@@ -2608,7 +2638,9 @@ module Aws::RDS
|
|
2608
2638
|
# @return [DBClusterParameterGroup::Collection]
|
2609
2639
|
def db_cluster_parameter_groups(options = {})
|
2610
2640
|
batches = Enumerator.new do |y|
|
2611
|
-
resp =
|
2641
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2642
|
+
@client.describe_db_cluster_parameter_groups(options)
|
2643
|
+
end
|
2612
2644
|
resp.each_page do |page|
|
2613
2645
|
batch = []
|
2614
2646
|
page.data.db_cluster_parameter_groups.each do |d|
|
@@ -2678,7 +2710,9 @@ module Aws::RDS
|
|
2678
2710
|
# @return [DBCluster::Collection]
|
2679
2711
|
def db_clusters(options = {})
|
2680
2712
|
batches = Enumerator.new do |y|
|
2681
|
-
resp =
|
2713
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2714
|
+
@client.describe_db_clusters(options)
|
2715
|
+
end
|
2682
2716
|
resp.each_page do |page|
|
2683
2717
|
batch = []
|
2684
2718
|
page.data.db_clusters.each do |d|
|
@@ -2846,7 +2880,9 @@ module Aws::RDS
|
|
2846
2880
|
# @return [DBEngineVersion::Collection]
|
2847
2881
|
def db_engine_versions(options = {})
|
2848
2882
|
batches = Enumerator.new do |y|
|
2849
|
-
resp =
|
2883
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2884
|
+
@client.describe_db_engine_versions(options)
|
2885
|
+
end
|
2850
2886
|
resp.each_page do |page|
|
2851
2887
|
batch = []
|
2852
2888
|
page.data.db_engine_versions.each do |d|
|
@@ -2922,7 +2958,9 @@ module Aws::RDS
|
|
2922
2958
|
# @return [DBInstance::Collection]
|
2923
2959
|
def db_instances(options = {})
|
2924
2960
|
batches = Enumerator.new do |y|
|
2925
|
-
resp =
|
2961
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2962
|
+
@client.describe_db_instances(options)
|
2963
|
+
end
|
2926
2964
|
resp.each_page do |page|
|
2927
2965
|
batch = []
|
2928
2966
|
page.data.db_instances.each do |d|
|
@@ -2982,7 +3020,9 @@ module Aws::RDS
|
|
2982
3020
|
# @return [DBParameterGroup::Collection]
|
2983
3021
|
def db_parameter_groups(options = {})
|
2984
3022
|
batches = Enumerator.new do |y|
|
2985
|
-
resp =
|
3023
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3024
|
+
@client.describe_db_parameter_groups(options)
|
3025
|
+
end
|
2986
3026
|
resp.each_page do |page|
|
2987
3027
|
batch = []
|
2988
3028
|
page.data.db_parameter_groups.each do |d|
|
@@ -3026,7 +3066,9 @@ module Aws::RDS
|
|
3026
3066
|
# @return [DBSecurityGroup::Collection]
|
3027
3067
|
def db_security_groups(options = {})
|
3028
3068
|
batches = Enumerator.new do |y|
|
3029
|
-
resp =
|
3069
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3070
|
+
@client.describe_db_security_groups(options)
|
3071
|
+
end
|
3030
3072
|
resp.each_page do |page|
|
3031
3073
|
batch = []
|
3032
3074
|
page.data.db_security_groups.each do |d|
|
@@ -3157,7 +3199,9 @@ module Aws::RDS
|
|
3157
3199
|
# @return [DBSnapshot::Collection]
|
3158
3200
|
def db_snapshots(options = {})
|
3159
3201
|
batches = Enumerator.new do |y|
|
3160
|
-
resp =
|
3202
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3203
|
+
@client.describe_db_snapshots(options)
|
3204
|
+
end
|
3161
3205
|
resp.each_page do |page|
|
3162
3206
|
batch = []
|
3163
3207
|
page.data.db_snapshots.each do |d|
|
@@ -3202,7 +3246,9 @@ module Aws::RDS
|
|
3202
3246
|
# @return [DBSubnetGroup::Collection]
|
3203
3247
|
def db_subnet_groups(options = {})
|
3204
3248
|
batches = Enumerator.new do |y|
|
3205
|
-
resp =
|
3249
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3250
|
+
@client.describe_db_subnet_groups(options)
|
3251
|
+
end
|
3206
3252
|
resp.each_page do |page|
|
3207
3253
|
batch = []
|
3208
3254
|
page.data.db_subnet_groups.each do |d|
|
@@ -3252,7 +3298,9 @@ module Aws::RDS
|
|
3252
3298
|
def event_category_maps(options = {})
|
3253
3299
|
batches = Enumerator.new do |y|
|
3254
3300
|
batch = []
|
3255
|
-
resp =
|
3301
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3302
|
+
@client.describe_event_categories(options)
|
3303
|
+
end
|
3256
3304
|
resp.data.event_categories_map_list.each do |e|
|
3257
3305
|
batch << EventCategoryMap.new(
|
3258
3306
|
source_type: e.source_type,
|
@@ -3294,7 +3342,9 @@ module Aws::RDS
|
|
3294
3342
|
# @return [EventSubscription::Collection]
|
3295
3343
|
def event_subscriptions(options = {})
|
3296
3344
|
batches = Enumerator.new do |y|
|
3297
|
-
resp =
|
3345
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3346
|
+
@client.describe_event_subscriptions(options)
|
3347
|
+
end
|
3298
3348
|
resp.each_page do |page|
|
3299
3349
|
batch = []
|
3300
3350
|
page.data.event_subscriptions_list.each do |e|
|
@@ -3393,7 +3443,9 @@ module Aws::RDS
|
|
3393
3443
|
# @return [Event::Collection]
|
3394
3444
|
def events(options = {})
|
3395
3445
|
batches = Enumerator.new do |y|
|
3396
|
-
resp =
|
3446
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3447
|
+
@client.describe_events(options)
|
3448
|
+
end
|
3397
3449
|
resp.each_page do |page|
|
3398
3450
|
batch = []
|
3399
3451
|
page.data.events.each do |e|
|
@@ -3472,7 +3524,9 @@ module Aws::RDS
|
|
3472
3524
|
# @return [OptionGroup::Collection]
|
3473
3525
|
def option_groups(options = {})
|
3474
3526
|
batches = Enumerator.new do |y|
|
3475
|
-
resp =
|
3527
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3528
|
+
@client.describe_option_groups(options)
|
3529
|
+
end
|
3476
3530
|
resp.each_page do |page|
|
3477
3531
|
batch = []
|
3478
3532
|
page.data.option_groups_list.each do |o|
|
@@ -3567,7 +3621,9 @@ module Aws::RDS
|
|
3567
3621
|
# @return [ReservedDBInstance::Collection]
|
3568
3622
|
def reserved_db_instances(options = {})
|
3569
3623
|
batches = Enumerator.new do |y|
|
3570
|
-
resp =
|
3624
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3625
|
+
@client.describe_reserved_db_instances(options)
|
3626
|
+
end
|
3571
3627
|
resp.each_page do |page|
|
3572
3628
|
batch = []
|
3573
3629
|
page.data.reserved_db_instances.each do |r|
|
@@ -3644,7 +3700,9 @@ module Aws::RDS
|
|
3644
3700
|
# @return [ReservedDBInstancesOffering::Collection]
|
3645
3701
|
def reserved_db_instances_offerings(options = {})
|
3646
3702
|
batches = Enumerator.new do |y|
|
3647
|
-
resp =
|
3703
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3704
|
+
@client.describe_reserved_db_instances_offerings(options)
|
3705
|
+
end
|
3648
3706
|
resp.each_page do |page|
|
3649
3707
|
batch = []
|
3650
3708
|
page.data.reserved_db_instances_offerings.each do |r|
|
@@ -3699,7 +3757,9 @@ module Aws::RDS
|
|
3699
3757
|
# @return [ResourcePendingMaintenanceActionList::Collection]
|
3700
3758
|
def resources_with_pending_maintenance_actions(options = {})
|
3701
3759
|
batches = Enumerator.new do |y|
|
3702
|
-
resp =
|
3760
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3761
|
+
@client.describe_pending_maintenance_actions(options)
|
3762
|
+
end
|
3703
3763
|
resp.each_page do |page|
|
3704
3764
|
batch = []
|
3705
3765
|
page.data.pending_maintenance_actions.each do |p|
|