aws-sdk-rds 1.232.0 → 1.234.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/account_quota.rb +1 -1
- data/lib/aws-sdk-rds/certificate.rb +2 -2
- data/lib/aws-sdk-rds/client.rb +22 -14
- data/lib/aws-sdk-rds/db_cluster.rb +13 -13
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +6 -6
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +7 -7
- data/lib/aws-sdk-rds/db_engine.rb +4 -4
- data/lib/aws-sdk-rds/db_engine_version.rb +4 -4
- data/lib/aws-sdk-rds/db_instance.rb +21 -21
- data/lib/aws-sdk-rds/db_log_file.rb +2 -2
- data/lib/aws-sdk-rds/db_parameter_group.rb +11 -11
- data/lib/aws-sdk-rds/db_parameter_group_family.rb +3 -3
- data/lib/aws-sdk-rds/db_security_group.rb +9 -9
- data/lib/aws-sdk-rds/db_snapshot.rb +10 -10
- data/lib/aws-sdk-rds/db_snapshot_attribute.rb +2 -2
- data/lib/aws-sdk-rds/db_subnet_group.rb +5 -5
- data/lib/aws-sdk-rds/event.rb +1 -1
- data/lib/aws-sdk-rds/event_category_map.rb +2 -2
- data/lib/aws-sdk-rds/event_subscription.rb +7 -7
- data/lib/aws-sdk-rds/option_group.rb +6 -6
- data/lib/aws-sdk-rds/option_group_option.rb +1 -1
- data/lib/aws-sdk-rds/parameter.rb +1 -1
- data/lib/aws-sdk-rds/pending_maintenance_action.rb +4 -4
- data/lib/aws-sdk-rds/reserved_db_instance.rb +2 -2
- data/lib/aws-sdk-rds/reserved_db_instances_offering.rb +3 -3
- data/lib/aws-sdk-rds/resource.rb +33 -33
- data/lib/aws-sdk-rds/resource_pending_maintenance_action_list.rb +1 -1
- data/lib/aws-sdk-rds/types.rb +21 -11
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +4 -4
@@ -69,7 +69,7 @@ module Aws::RDS
|
|
69
69
|
#
|
70
70
|
# @return [self]
|
71
71
|
def load
|
72
|
-
resp = Aws::Plugins::UserAgent.
|
72
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
73
73
|
@client.describe_db_parameter_groups(db_parameter_group_name: @name)
|
74
74
|
end
|
75
75
|
@data = resp.db_parameter_groups[0]
|
@@ -186,7 +186,7 @@ module Aws::RDS
|
|
186
186
|
:retry
|
187
187
|
end
|
188
188
|
end
|
189
|
-
Aws::Plugins::UserAgent.
|
189
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
190
190
|
Aws::Waiters::Waiter.new(options).wait({})
|
191
191
|
end
|
192
192
|
end
|
@@ -264,7 +264,7 @@ module Aws::RDS
|
|
264
264
|
# @return [DBParameterGroup]
|
265
265
|
def create(options = {})
|
266
266
|
options = options.merge(db_parameter_group_name: @name)
|
267
|
-
resp = Aws::Plugins::UserAgent.
|
267
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
268
268
|
@client.create_db_parameter_group(options)
|
269
269
|
end
|
270
270
|
DBParameterGroup.new(
|
@@ -313,7 +313,7 @@ module Aws::RDS
|
|
313
313
|
# @return [DBParameterGroup]
|
314
314
|
def copy(options = {})
|
315
315
|
options = options.merge(source_db_parameter_group_identifier: @name)
|
316
|
-
resp = Aws::Plugins::UserAgent.
|
316
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
317
317
|
@client.copy_db_parameter_group(options)
|
318
318
|
end
|
319
319
|
DBParameterGroup.new(
|
@@ -330,7 +330,7 @@ module Aws::RDS
|
|
330
330
|
# @return [EmptyStructure]
|
331
331
|
def delete(options = {})
|
332
332
|
options = options.merge(db_parameter_group_name: @name)
|
333
|
-
resp = Aws::Plugins::UserAgent.
|
333
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
334
334
|
@client.delete_db_parameter_group(options)
|
335
335
|
end
|
336
336
|
resp.data
|
@@ -391,7 +391,7 @@ module Aws::RDS
|
|
391
391
|
# @return [DBParameterGroup]
|
392
392
|
def modify(options = {})
|
393
393
|
options = options.merge(db_parameter_group_name: @name)
|
394
|
-
resp = Aws::Plugins::UserAgent.
|
394
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
395
395
|
@client.modify_db_parameter_group(options)
|
396
396
|
end
|
397
397
|
DBParameterGroup.new(
|
@@ -454,7 +454,7 @@ module Aws::RDS
|
|
454
454
|
# @return [DBParameterGroup]
|
455
455
|
def reset(options = {})
|
456
456
|
options = options.merge(db_parameter_group_name: @name)
|
457
|
-
resp = Aws::Plugins::UserAgent.
|
457
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
458
458
|
@client.reset_db_parameter_group(options)
|
459
459
|
end
|
460
460
|
DBParameterGroup.new(
|
@@ -475,7 +475,7 @@ module Aws::RDS
|
|
475
475
|
# @return [EventSubscription]
|
476
476
|
def subscribe_to(options = {})
|
477
477
|
options = options.merge(source_identifier: @name)
|
478
|
-
resp = Aws::Plugins::UserAgent.
|
478
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
479
479
|
@client.add_source_identifier_to_subscription(options)
|
480
480
|
end
|
481
481
|
EventSubscription.new(
|
@@ -497,7 +497,7 @@ module Aws::RDS
|
|
497
497
|
# @return [EventSubscription]
|
498
498
|
def unsubscribe_from(options = {})
|
499
499
|
options = options.merge(source_identifier: @name)
|
500
|
-
resp = Aws::Plugins::UserAgent.
|
500
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
501
501
|
@client.remove_source_identifier_from_subscription(options)
|
502
502
|
end
|
503
503
|
EventSubscription.new(
|
@@ -560,7 +560,7 @@ module Aws::RDS
|
|
560
560
|
source_type: "db-parameter-group",
|
561
561
|
source_identifier: @name
|
562
562
|
)
|
563
|
-
resp = Aws::Plugins::UserAgent.
|
563
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
564
564
|
@client.describe_events(options)
|
565
565
|
end
|
566
566
|
resp.each_page do |page|
|
@@ -603,7 +603,7 @@ module Aws::RDS
|
|
603
603
|
def parameters(options = {})
|
604
604
|
batches = Enumerator.new do |y|
|
605
605
|
options = options.merge(db_parameter_group_name: @name)
|
606
|
-
resp = Aws::Plugins::UserAgent.
|
606
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
607
607
|
@client.describe_db_parameters(options)
|
608
608
|
end
|
609
609
|
resp.each_page do |page|
|
@@ -156,7 +156,7 @@ module Aws::RDS
|
|
156
156
|
:retry
|
157
157
|
end
|
158
158
|
end
|
159
|
-
Aws::Plugins::UserAgent.
|
159
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
160
160
|
Aws::Waiters::Waiter.new(options).wait({})
|
161
161
|
end
|
162
162
|
end
|
@@ -197,7 +197,7 @@ module Aws::RDS
|
|
197
197
|
batches = Enumerator.new do |y|
|
198
198
|
batch = []
|
199
199
|
options = options.merge(db_parameter_group_family: @name)
|
200
|
-
resp = Aws::Plugins::UserAgent.
|
200
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
201
201
|
@client.describe_engine_default_cluster_parameters(options)
|
202
202
|
end
|
203
203
|
resp.data.engine_defaults.parameters.each do |p|
|
@@ -229,7 +229,7 @@ module Aws::RDS
|
|
229
229
|
def engine_default_parameters(options = {})
|
230
230
|
batches = Enumerator.new do |y|
|
231
231
|
options = options.merge(db_parameter_group_family: @name)
|
232
|
-
resp = Aws::Plugins::UserAgent.
|
232
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
233
233
|
@client.describe_engine_default_parameters(options)
|
234
234
|
end
|
235
235
|
resp.each_page do |page|
|
@@ -86,7 +86,7 @@ module Aws::RDS
|
|
86
86
|
#
|
87
87
|
# @return [self]
|
88
88
|
def load
|
89
|
-
resp = Aws::Plugins::UserAgent.
|
89
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
90
90
|
@client.describe_db_security_groups(db_security_group_name: @name)
|
91
91
|
end
|
92
92
|
@data = resp.db_security_groups[0]
|
@@ -203,7 +203,7 @@ module Aws::RDS
|
|
203
203
|
:retry
|
204
204
|
end
|
205
205
|
end
|
206
|
-
Aws::Plugins::UserAgent.
|
206
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
207
207
|
Aws::Waiters::Waiter.new(options).wait({})
|
208
208
|
end
|
209
209
|
end
|
@@ -241,7 +241,7 @@ module Aws::RDS
|
|
241
241
|
# @return [DBSecurityGroup]
|
242
242
|
def authorize_ingress(options = {})
|
243
243
|
options = options.merge(db_security_group_name: @name)
|
244
|
-
resp = Aws::Plugins::UserAgent.
|
244
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
245
245
|
@client.authorize_db_security_group_ingress(options)
|
246
246
|
end
|
247
247
|
DBSecurityGroup.new(
|
@@ -270,7 +270,7 @@ module Aws::RDS
|
|
270
270
|
# @return [DBSecurityGroup]
|
271
271
|
def create(options = {})
|
272
272
|
options = options.merge(db_security_group_name: @name)
|
273
|
-
resp = Aws::Plugins::UserAgent.
|
273
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
274
274
|
@client.create_db_security_group(options)
|
275
275
|
end
|
276
276
|
DBSecurityGroup.new(
|
@@ -287,7 +287,7 @@ module Aws::RDS
|
|
287
287
|
# @return [EmptyStructure]
|
288
288
|
def delete(options = {})
|
289
289
|
options = options.merge(db_security_group_name: @name)
|
290
|
-
resp = Aws::Plugins::UserAgent.
|
290
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
291
291
|
@client.delete_db_security_group(options)
|
292
292
|
end
|
293
293
|
resp.data
|
@@ -326,7 +326,7 @@ module Aws::RDS
|
|
326
326
|
# @return [DBSecurityGroup]
|
327
327
|
def revoke_ingress(options = {})
|
328
328
|
options = options.merge(db_security_group_name: @name)
|
329
|
-
resp = Aws::Plugins::UserAgent.
|
329
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
330
330
|
@client.revoke_db_security_group_ingress(options)
|
331
331
|
end
|
332
332
|
DBSecurityGroup.new(
|
@@ -348,7 +348,7 @@ module Aws::RDS
|
|
348
348
|
# @return [EventSubscription]
|
349
349
|
def subscribe_to(options = {})
|
350
350
|
options = options.merge(source_identifier: @name)
|
351
|
-
resp = Aws::Plugins::UserAgent.
|
351
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
352
352
|
@client.add_source_identifier_to_subscription(options)
|
353
353
|
end
|
354
354
|
EventSubscription.new(
|
@@ -370,7 +370,7 @@ module Aws::RDS
|
|
370
370
|
# @return [EventSubscription]
|
371
371
|
def unsubscribe_from(options = {})
|
372
372
|
options = options.merge(source_identifier: @name)
|
373
|
-
resp = Aws::Plugins::UserAgent.
|
373
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
374
374
|
@client.remove_source_identifier_from_subscription(options)
|
375
375
|
end
|
376
376
|
EventSubscription.new(
|
@@ -433,7 +433,7 @@ module Aws::RDS
|
|
433
433
|
source_type: "db-security-group",
|
434
434
|
source_identifier: @name
|
435
435
|
)
|
436
|
-
resp = Aws::Plugins::UserAgent.
|
436
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
437
437
|
@client.describe_events(options)
|
438
438
|
end
|
439
439
|
resp.each_page do |page|
|
@@ -302,7 +302,7 @@ module Aws::RDS
|
|
302
302
|
#
|
303
303
|
# @return [self]
|
304
304
|
def load
|
305
|
-
resp = Aws::Plugins::UserAgent.
|
305
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
306
306
|
@client.describe_db_snapshots(db_snapshot_identifier: @snapshot_id)
|
307
307
|
end
|
308
308
|
@data = resp.db_snapshots[0]
|
@@ -419,7 +419,7 @@ module Aws::RDS
|
|
419
419
|
:retry
|
420
420
|
end
|
421
421
|
end
|
422
|
-
Aws::Plugins::UserAgent.
|
422
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
423
423
|
Aws::Waiters::Waiter.new(options).wait({})
|
424
424
|
end
|
425
425
|
end
|
@@ -450,7 +450,7 @@ module Aws::RDS
|
|
450
450
|
db_instance_identifier: @instance_id,
|
451
451
|
db_snapshot_identifier: @snapshot_id
|
452
452
|
)
|
453
|
-
resp = Aws::Plugins::UserAgent.
|
453
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
454
454
|
@client.create_db_snapshot(options)
|
455
455
|
end
|
456
456
|
DBSnapshot.new(
|
@@ -625,7 +625,7 @@ module Aws::RDS
|
|
625
625
|
# @return [DBSnapshot]
|
626
626
|
def copy(options = {})
|
627
627
|
options = options.merge(source_db_snapshot_identifier: @snapshot_id)
|
628
|
-
resp = Aws::Plugins::UserAgent.
|
628
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
629
629
|
@client.copy_db_snapshot(options)
|
630
630
|
end
|
631
631
|
DBSnapshot.new(
|
@@ -643,7 +643,7 @@ module Aws::RDS
|
|
643
643
|
# @return [DBSnapshot]
|
644
644
|
def delete(options = {})
|
645
645
|
options = options.merge(db_snapshot_identifier: @snapshot_id)
|
646
|
-
resp = Aws::Plugins::UserAgent.
|
646
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
647
647
|
@client.delete_db_snapshot(options)
|
648
648
|
end
|
649
649
|
DBSnapshot.new(
|
@@ -1230,7 +1230,7 @@ module Aws::RDS
|
|
1230
1230
|
# @return [DBInstance]
|
1231
1231
|
def restore(options = {})
|
1232
1232
|
options = options.merge(db_snapshot_identifier: @snapshot_id)
|
1233
|
-
resp = Aws::Plugins::UserAgent.
|
1233
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1234
1234
|
@client.restore_db_instance_from_db_snapshot(options)
|
1235
1235
|
end
|
1236
1236
|
DBInstance.new(
|
@@ -1252,7 +1252,7 @@ module Aws::RDS
|
|
1252
1252
|
# @return [EventSubscription]
|
1253
1253
|
def subscribe_to(options = {})
|
1254
1254
|
options = options.merge(source_identifier: @snapshot_id)
|
1255
|
-
resp = Aws::Plugins::UserAgent.
|
1255
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1256
1256
|
@client.add_source_identifier_to_subscription(options)
|
1257
1257
|
end
|
1258
1258
|
EventSubscription.new(
|
@@ -1274,7 +1274,7 @@ module Aws::RDS
|
|
1274
1274
|
# @return [EventSubscription]
|
1275
1275
|
def unsubscribe_from(options = {})
|
1276
1276
|
options = options.merge(source_identifier: @snapshot_id)
|
1277
|
-
resp = Aws::Plugins::UserAgent.
|
1277
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1278
1278
|
@client.remove_source_identifier_from_subscription(options)
|
1279
1279
|
end
|
1280
1280
|
EventSubscription.new(
|
@@ -1295,7 +1295,7 @@ module Aws::RDS
|
|
1295
1295
|
batches = Enumerator.new do |y|
|
1296
1296
|
batch = []
|
1297
1297
|
options = options.merge(db_snapshot_identifier: @snapshot_id)
|
1298
|
-
resp = Aws::Plugins::UserAgent.
|
1298
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1299
1299
|
@client.describe_db_snapshot_attributes(options)
|
1300
1300
|
end
|
1301
1301
|
resp.data.db_snapshot_attributes_result.db_snapshot_attributes.each do |d|
|
@@ -1362,7 +1362,7 @@ module Aws::RDS
|
|
1362
1362
|
source_type: "db-snapshot",
|
1363
1363
|
source_identifier: @snapshot_id
|
1364
1364
|
)
|
1365
|
-
resp = Aws::Plugins::UserAgent.
|
1365
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1366
1366
|
@client.describe_events(options)
|
1367
1367
|
end
|
1368
1368
|
resp.each_page do |page|
|
@@ -179,7 +179,7 @@ module Aws::RDS
|
|
179
179
|
:retry
|
180
180
|
end
|
181
181
|
end
|
182
|
-
Aws::Plugins::UserAgent.
|
182
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
183
183
|
Aws::Waiters::Waiter.new(options).wait({})
|
184
184
|
end
|
185
185
|
end
|
@@ -220,7 +220,7 @@ module Aws::RDS
|
|
220
220
|
attribute_name: @name,
|
221
221
|
db_snapshot_identifier: @snapshot_id
|
222
222
|
)
|
223
|
-
resp = Aws::Plugins::UserAgent.
|
223
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
224
224
|
@client.modify_db_snapshot_attribute(options)
|
225
225
|
end
|
226
226
|
resp.data
|
@@ -101,7 +101,7 @@ module Aws::RDS
|
|
101
101
|
#
|
102
102
|
# @return [self]
|
103
103
|
def load
|
104
|
-
resp = Aws::Plugins::UserAgent.
|
104
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
105
105
|
@client.describe_db_subnet_groups(db_subnet_group_name: @name)
|
106
106
|
end
|
107
107
|
@data = resp.db_subnet_groups[0]
|
@@ -218,7 +218,7 @@ module Aws::RDS
|
|
218
218
|
:retry
|
219
219
|
end
|
220
220
|
end
|
221
|
-
Aws::Plugins::UserAgent.
|
221
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
222
222
|
Aws::Waiters::Waiter.new(options).wait({})
|
223
223
|
end
|
224
224
|
end
|
@@ -247,7 +247,7 @@ module Aws::RDS
|
|
247
247
|
# @return [DBSubnetGroup]
|
248
248
|
def create(options = {})
|
249
249
|
options = options.merge(db_subnet_group_name: @name)
|
250
|
-
resp = Aws::Plugins::UserAgent.
|
250
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
251
251
|
@client.create_db_subnet_group(options)
|
252
252
|
end
|
253
253
|
DBSubnetGroup.new(
|
@@ -264,7 +264,7 @@ module Aws::RDS
|
|
264
264
|
# @return [EmptyStructure]
|
265
265
|
def delete(options = {})
|
266
266
|
options = options.merge(db_subnet_group_name: @name)
|
267
|
-
resp = Aws::Plugins::UserAgent.
|
267
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
268
268
|
@client.delete_db_subnet_group(options)
|
269
269
|
end
|
270
270
|
resp.data
|
@@ -284,7 +284,7 @@ module Aws::RDS
|
|
284
284
|
# @return [DBSubnetGroup]
|
285
285
|
def modify(options = {})
|
286
286
|
options = options.merge(db_subnet_group_name: @name)
|
287
|
-
resp = Aws::Plugins::UserAgent.
|
287
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
288
288
|
@client.modify_db_subnet_group(options)
|
289
289
|
end
|
290
290
|
DBSubnetGroup.new(
|
data/lib/aws-sdk-rds/event.rb
CHANGED
@@ -54,7 +54,7 @@ module Aws::RDS
|
|
54
54
|
#
|
55
55
|
# @return [self]
|
56
56
|
def load
|
57
|
-
resp = Aws::Plugins::UserAgent.
|
57
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
58
58
|
@client.describe_event_categories(source_type: @name)
|
59
59
|
end
|
60
60
|
@data = resp.event_categories_map_list[0]
|
@@ -171,7 +171,7 @@ module Aws::RDS
|
|
171
171
|
:retry
|
172
172
|
end
|
173
173
|
end
|
174
|
-
Aws::Plugins::UserAgent.
|
174
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
175
175
|
Aws::Waiters::Waiter.new(options).wait({})
|
176
176
|
end
|
177
177
|
end
|
@@ -116,7 +116,7 @@ module Aws::RDS
|
|
116
116
|
#
|
117
117
|
# @return [self]
|
118
118
|
def load
|
119
|
-
resp = Aws::Plugins::UserAgent.
|
119
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
120
120
|
@client.describe_event_subscriptions(subscription_name: @name)
|
121
121
|
end
|
122
122
|
@data = resp.event_subscriptions_list[0]
|
@@ -233,7 +233,7 @@ module Aws::RDS
|
|
233
233
|
:retry
|
234
234
|
end
|
235
235
|
end
|
236
|
-
Aws::Plugins::UserAgent.
|
236
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
237
237
|
Aws::Waiters::Waiter.new(options).wait({})
|
238
238
|
end
|
239
239
|
end
|
@@ -274,7 +274,7 @@ module Aws::RDS
|
|
274
274
|
# @return [EventSubscription]
|
275
275
|
def add_subscriber(options = {})
|
276
276
|
options = options.merge(subscription_name: @name)
|
277
|
-
resp = Aws::Plugins::UserAgent.
|
277
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
278
278
|
@client.add_source_identifier_to_subscription(options)
|
279
279
|
end
|
280
280
|
EventSubscription.new(
|
@@ -380,7 +380,7 @@ module Aws::RDS
|
|
380
380
|
# @return [EventSubscription]
|
381
381
|
def create(options = {})
|
382
382
|
options = options.merge(subscription_name: @name)
|
383
|
-
resp = Aws::Plugins::UserAgent.
|
383
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
384
384
|
@client.create_event_subscription(options)
|
385
385
|
end
|
386
386
|
EventSubscription.new(
|
@@ -397,7 +397,7 @@ module Aws::RDS
|
|
397
397
|
# @return [EventSubscription]
|
398
398
|
def delete(options = {})
|
399
399
|
options = options.merge(subscription_name: @name)
|
400
|
-
resp = Aws::Plugins::UserAgent.
|
400
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
401
401
|
@client.delete_event_subscription(options)
|
402
402
|
end
|
403
403
|
EventSubscription.new(
|
@@ -443,7 +443,7 @@ module Aws::RDS
|
|
443
443
|
# @return [EventSubscription]
|
444
444
|
def modify(options = {})
|
445
445
|
options = options.merge(subscription_name: @name)
|
446
|
-
resp = Aws::Plugins::UserAgent.
|
446
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
447
447
|
@client.modify_event_subscription(options)
|
448
448
|
end
|
449
449
|
EventSubscription.new(
|
@@ -466,7 +466,7 @@ module Aws::RDS
|
|
466
466
|
# @return [EventSubscription]
|
467
467
|
def remove_subscriber(options = {})
|
468
468
|
options = options.merge(subscription_name: @name)
|
469
|
-
resp = Aws::Plugins::UserAgent.
|
469
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
470
470
|
@client.remove_source_identifier_from_subscription(options)
|
471
471
|
end
|
472
472
|
EventSubscription.new(
|
@@ -119,7 +119,7 @@ module Aws::RDS
|
|
119
119
|
#
|
120
120
|
# @return [self]
|
121
121
|
def load
|
122
|
-
resp = Aws::Plugins::UserAgent.
|
122
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
123
123
|
@client.describe_option_groups(option_group_name: @name)
|
124
124
|
end
|
125
125
|
@data = resp.option_groups_list[0]
|
@@ -236,7 +236,7 @@ module Aws::RDS
|
|
236
236
|
:retry
|
237
237
|
end
|
238
238
|
end
|
239
|
-
Aws::Plugins::UserAgent.
|
239
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
240
240
|
Aws::Waiters::Waiter.new(options).wait({})
|
241
241
|
end
|
242
242
|
end
|
@@ -297,7 +297,7 @@ module Aws::RDS
|
|
297
297
|
# @return [OptionGroup]
|
298
298
|
def create(options = {})
|
299
299
|
options = options.merge(option_group_name: @name)
|
300
|
-
resp = Aws::Plugins::UserAgent.
|
300
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
301
301
|
@client.create_option_group(options)
|
302
302
|
end
|
303
303
|
OptionGroup.new(
|
@@ -346,7 +346,7 @@ module Aws::RDS
|
|
346
346
|
# @return [OptionGroup]
|
347
347
|
def copy(options = {})
|
348
348
|
options = options.merge(source_option_group_identifier: @name)
|
349
|
-
resp = Aws::Plugins::UserAgent.
|
349
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
350
350
|
@client.copy_option_group(options)
|
351
351
|
end
|
352
352
|
OptionGroup.new(
|
@@ -363,7 +363,7 @@ module Aws::RDS
|
|
363
363
|
# @return [EmptyStructure]
|
364
364
|
def delete(options = {})
|
365
365
|
options = options.merge(option_group_name: @name)
|
366
|
-
resp = Aws::Plugins::UserAgent.
|
366
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
367
367
|
@client.delete_option_group(options)
|
368
368
|
end
|
369
369
|
resp.data
|
@@ -410,7 +410,7 @@ module Aws::RDS
|
|
410
410
|
# @return [OptionGroup]
|
411
411
|
def modify(options = {})
|
412
412
|
options = options.merge(option_group_name: @name)
|
413
|
-
resp = Aws::Plugins::UserAgent.
|
413
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
414
414
|
@client.modify_option_group(options)
|
415
415
|
end
|
416
416
|
OptionGroup.new(
|
@@ -210,7 +210,7 @@ module Aws::RDS
|
|
210
210
|
:retry
|
211
211
|
end
|
212
212
|
end
|
213
|
-
Aws::Plugins::UserAgent.
|
213
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
214
214
|
Aws::Waiters::Waiter.new(options).wait({})
|
215
215
|
end
|
216
216
|
end
|
@@ -228,7 +228,7 @@ module Aws::RDS
|
|
228
228
|
resource_identifier: @target_arn,
|
229
229
|
opt_in_type: "immediate"
|
230
230
|
)
|
231
|
-
resp = Aws::Plugins::UserAgent.
|
231
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
232
232
|
@client.apply_pending_maintenance_action(options)
|
233
233
|
end
|
234
234
|
ResourcePendingMaintenanceActionList.new(
|
@@ -249,7 +249,7 @@ module Aws::RDS
|
|
249
249
|
resource_identifier: @target_arn,
|
250
250
|
opt_in_type: "undo-opt-in"
|
251
251
|
)
|
252
|
-
resp = Aws::Plugins::UserAgent.
|
252
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
253
253
|
@client.apply_pending_maintenance_action(options)
|
254
254
|
end
|
255
255
|
ResourcePendingMaintenanceActionList.new(
|
@@ -270,7 +270,7 @@ module Aws::RDS
|
|
270
270
|
resource_identifier: @target_arn,
|
271
271
|
opt_in_type: "next-maintenance"
|
272
272
|
)
|
273
|
-
resp = Aws::Plugins::UserAgent.
|
273
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
274
274
|
@client.apply_pending_maintenance_action(options)
|
275
275
|
end
|
276
276
|
ResourcePendingMaintenanceActionList.new(
|
@@ -145,7 +145,7 @@ module Aws::RDS
|
|
145
145
|
#
|
146
146
|
# @return [self]
|
147
147
|
def load
|
148
|
-
resp = Aws::Plugins::UserAgent.
|
148
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
149
149
|
@client.describe_reserved_db_instances(reserved_db_instance_id: @id)
|
150
150
|
end
|
151
151
|
@data = resp.reserved_db_instances[0]
|
@@ -262,7 +262,7 @@ module Aws::RDS
|
|
262
262
|
:retry
|
263
263
|
end
|
264
264
|
end
|
265
|
-
Aws::Plugins::UserAgent.
|
265
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
266
266
|
Aws::Waiters::Waiter.new(options).wait({})
|
267
267
|
end
|
268
268
|
end
|
@@ -103,7 +103,7 @@ module Aws::RDS
|
|
103
103
|
#
|
104
104
|
# @return [self]
|
105
105
|
def load
|
106
|
-
resp = Aws::Plugins::UserAgent.
|
106
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
107
107
|
@client.describe_reserved_db_instances_offerings(reserved_db_instances_offering_id: @id)
|
108
108
|
end
|
109
109
|
@data = resp.reserved_db_instances_offerings[0]
|
@@ -220,7 +220,7 @@ module Aws::RDS
|
|
220
220
|
:retry
|
221
221
|
end
|
222
222
|
end
|
223
|
-
Aws::Plugins::UserAgent.
|
223
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
224
224
|
Aws::Waiters::Waiter.new(options).wait({})
|
225
225
|
end
|
226
226
|
end
|
@@ -258,7 +258,7 @@ module Aws::RDS
|
|
258
258
|
# @return [ReservedDBInstance]
|
259
259
|
def purchase(options = {})
|
260
260
|
options = options.merge(reserved_db_instances_offering_id: @id)
|
261
|
-
resp = Aws::Plugins::UserAgent.
|
261
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
262
262
|
@client.purchase_reserved_db_instances_offering(options)
|
263
263
|
end
|
264
264
|
ReservedDBInstance.new(
|