aws-sdk-rds 1.233.0 → 1.235.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 +6 -3
- data/lib/aws-sdk-rds/db_cluster.rb +10 -10
- 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 +16 -16
- 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 +25 -25
- data/lib/aws-sdk-rds/resource_pending_maintenance_action_list.rb +1 -1
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fe2ceffe48afdf991e9be0b271b286804c3b114244c819511daf57b24dd69df
|
4
|
+
data.tar.gz: 75eeb8519cc8fdcab40688e717c89bc9e344f8ac337a7897298d01ca0fb63de6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88dc9c31f7de0ab0974ecc49573a3ee55cf329410c18488458ab6f3f0aa62f812e062dce1f0b1399153a67597d392b4546fc0caac023e0e42f8f8e506219a964
|
7
|
+
data.tar.gz: 7f8bc7526363b5604c2f474b99437c137c662f307d5bfc143aa3a45ed3aaa78468be6383282eb5dbbeb3e98151921aa9e65904939b1b7429bc85373f8ab02218
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.235.0 (2024-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.234.0 (2024-06-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.233.0 (2024-05-30)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.235.0
|
@@ -93,7 +93,7 @@ module Aws::RDS
|
|
93
93
|
#
|
94
94
|
# @return [self]
|
95
95
|
def load
|
96
|
-
resp = Aws::Plugins::UserAgent.
|
96
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
97
97
|
@client.describe_certificates(certificate_identifier: @id)
|
98
98
|
end
|
99
99
|
@data = resp.certificates[0]
|
@@ -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
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -91,6 +91,11 @@ module Aws::RDS
|
|
91
91
|
|
92
92
|
# @overload initialize(options)
|
93
93
|
# @param [Hash] options
|
94
|
+
#
|
95
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
96
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
97
|
+
# class name or an instance of a plugin class.
|
98
|
+
#
|
94
99
|
# @option options [required, Aws::CredentialProvider] :credentials
|
95
100
|
# Your AWS credentials. This can be an instance of any one of the
|
96
101
|
# following classes:
|
@@ -211,7 +216,6 @@ module Aws::RDS
|
|
211
216
|
# 'https://example.com'
|
212
217
|
# 'http://example.com:123'
|
213
218
|
#
|
214
|
-
#
|
215
219
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
216
220
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
217
221
|
# for endpoint discovery enabled operations. Defaults to 1000.
|
@@ -300,7 +304,6 @@ module Aws::RDS
|
|
300
304
|
# throttling. This is a provisional mode that may change behavior
|
301
305
|
# in the future.
|
302
306
|
#
|
303
|
-
#
|
304
307
|
# @option options [String] :sdk_ua_app_id
|
305
308
|
# A unique and opaque application ID that is appended to the
|
306
309
|
# User-Agent header as app/sdk_ua_app_id. It should have a
|
@@ -31252,7 +31255,7 @@ module Aws::RDS
|
|
31252
31255
|
params: params,
|
31253
31256
|
config: config)
|
31254
31257
|
context[:gem_name] = 'aws-sdk-rds'
|
31255
|
-
context[:gem_version] = '1.
|
31258
|
+
context[:gem_version] = '1.235.0'
|
31256
31259
|
Seahorse::Client::Request.new(handlers, context)
|
31257
31260
|
end
|
31258
31261
|
|
@@ -734,7 +734,7 @@ module Aws::RDS
|
|
734
734
|
#
|
735
735
|
# @return [self]
|
736
736
|
def load
|
737
|
-
resp = Aws::Plugins::UserAgent.
|
737
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
738
738
|
@client.describe_db_clusters(db_cluster_identifier: @id)
|
739
739
|
end
|
740
740
|
@data = resp.db_clusters[0]
|
@@ -851,7 +851,7 @@ module Aws::RDS
|
|
851
851
|
:retry
|
852
852
|
end
|
853
853
|
end
|
854
|
-
Aws::Plugins::UserAgent.
|
854
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
855
855
|
Aws::Waiters::Waiter.new(options).wait({})
|
856
856
|
end
|
857
857
|
end
|
@@ -1759,7 +1759,7 @@ module Aws::RDS
|
|
1759
1759
|
# @return [DBCluster]
|
1760
1760
|
def create(options = {})
|
1761
1761
|
options = options.merge(db_cluster_identifier: @id)
|
1762
|
-
resp = Aws::Plugins::UserAgent.
|
1762
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1763
1763
|
@client.create_db_cluster(options)
|
1764
1764
|
end
|
1765
1765
|
DBCluster.new(
|
@@ -1799,7 +1799,7 @@ module Aws::RDS
|
|
1799
1799
|
# @return [DBClusterSnapshot]
|
1800
1800
|
def create_snapshot(options = {})
|
1801
1801
|
options = options.merge(db_cluster_identifier: @id)
|
1802
|
-
resp = Aws::Plugins::UserAgent.
|
1802
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1803
1803
|
@client.create_db_cluster_snapshot(options)
|
1804
1804
|
end
|
1805
1805
|
DBClusterSnapshot.new(
|
@@ -1855,7 +1855,7 @@ module Aws::RDS
|
|
1855
1855
|
# @return [DBCluster]
|
1856
1856
|
def delete(options = {})
|
1857
1857
|
options = options.merge(db_cluster_identifier: @id)
|
1858
|
-
resp = Aws::Plugins::UserAgent.
|
1858
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1859
1859
|
@client.delete_db_cluster(options)
|
1860
1860
|
end
|
1861
1861
|
DBCluster.new(
|
@@ -1882,7 +1882,7 @@ module Aws::RDS
|
|
1882
1882
|
# @return [DBCluster]
|
1883
1883
|
def failover(options = {})
|
1884
1884
|
options = options.merge(db_cluster_identifier: @id)
|
1885
|
-
resp = Aws::Plugins::UserAgent.
|
1885
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1886
1886
|
@client.failover_db_cluster(options)
|
1887
1887
|
end
|
1888
1888
|
DBCluster.new(
|
@@ -2596,7 +2596,7 @@ module Aws::RDS
|
|
2596
2596
|
# @return [DBCluster]
|
2597
2597
|
def modify(options = {})
|
2598
2598
|
options = options.merge(db_cluster_identifier: @id)
|
2599
|
-
resp = Aws::Plugins::UserAgent.
|
2599
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
2600
2600
|
@client.modify_db_cluster(options)
|
2601
2601
|
end
|
2602
2602
|
DBCluster.new(
|
@@ -3055,7 +3055,7 @@ module Aws::RDS
|
|
3055
3055
|
# @return [DBCluster]
|
3056
3056
|
def restore(options = {})
|
3057
3057
|
options = options.merge(source_db_cluster_identifier: @id)
|
3058
|
-
resp = Aws::Plugins::UserAgent.
|
3058
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
3059
3059
|
@client.restore_db_cluster_to_point_in_time(options)
|
3060
3060
|
end
|
3061
3061
|
DBCluster.new(
|
@@ -3118,7 +3118,7 @@ module Aws::RDS
|
|
3118
3118
|
source_type: "db-cluster",
|
3119
3119
|
source_identifier: @id
|
3120
3120
|
)
|
3121
|
-
resp = Aws::Plugins::UserAgent.
|
3121
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
3122
3122
|
@client.describe_events(options)
|
3123
3123
|
end
|
3124
3124
|
resp.each_page do |page|
|
@@ -3266,7 +3266,7 @@ module Aws::RDS
|
|
3266
3266
|
def snapshots(options = {})
|
3267
3267
|
batches = Enumerator.new do |y|
|
3268
3268
|
options = options.merge(db_cluster_identifier: @id)
|
3269
|
-
resp = Aws::Plugins::UserAgent.
|
3269
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
3270
3270
|
@client.describe_db_cluster_snapshots(options)
|
3271
3271
|
end
|
3272
3272
|
resp.each_page do |page|
|
@@ -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_cluster_parameter_groups(db_cluster_parameter_group_name: @name)
|
74
74
|
end
|
75
75
|
@data = resp.db_cluster_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
|
@@ -262,7 +262,7 @@ module Aws::RDS
|
|
262
262
|
# @return [DBClusterParameterGroup]
|
263
263
|
def create(options = {})
|
264
264
|
options = options.merge(db_cluster_parameter_group_name: @name)
|
265
|
-
resp = Aws::Plugins::UserAgent.
|
265
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
266
266
|
@client.create_db_cluster_parameter_group(options)
|
267
267
|
end
|
268
268
|
DBClusterParameterGroup.new(
|
@@ -279,7 +279,7 @@ module Aws::RDS
|
|
279
279
|
# @return [EmptyStructure]
|
280
280
|
def delete(options = {})
|
281
281
|
options = options.merge(db_cluster_parameter_group_name: @name)
|
282
|
-
resp = Aws::Plugins::UserAgent.
|
282
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
283
283
|
@client.delete_db_cluster_parameter_group(options)
|
284
284
|
end
|
285
285
|
resp.data
|
@@ -326,7 +326,7 @@ module Aws::RDS
|
|
326
326
|
# @return [DBClusterParameterGroup]
|
327
327
|
def modify(options = {})
|
328
328
|
options = options.merge(db_cluster_parameter_group_name: @name)
|
329
|
-
resp = Aws::Plugins::UserAgent.
|
329
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
330
330
|
@client.modify_db_cluster_parameter_group(options)
|
331
331
|
end
|
332
332
|
DBClusterParameterGroup.new(
|
@@ -367,7 +367,7 @@ module Aws::RDS
|
|
367
367
|
# @return [DBClusterParameterGroup]
|
368
368
|
def reset(options = {})
|
369
369
|
options = options.merge(db_cluster_parameter_group_name: @name)
|
370
|
-
resp = Aws::Plugins::UserAgent.
|
370
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
371
371
|
@client.reset_db_cluster_parameter_group(options)
|
372
372
|
end
|
373
373
|
DBClusterParameterGroup.new(
|
@@ -233,7 +233,7 @@ module Aws::RDS
|
|
233
233
|
#
|
234
234
|
# @return [self]
|
235
235
|
def load
|
236
|
-
resp = Aws::Plugins::UserAgent.
|
236
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
237
237
|
@client.describe_db_cluster_snapshots(db_cluster_snapshot_identifier: @snapshot_id)
|
238
238
|
end
|
239
239
|
@data = resp.db_cluster_snapshots[0]
|
@@ -350,7 +350,7 @@ module Aws::RDS
|
|
350
350
|
:retry
|
351
351
|
end
|
352
352
|
end
|
353
|
-
Aws::Plugins::UserAgent.
|
353
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
354
354
|
Aws::Waiters::Waiter.new(options).wait({})
|
355
355
|
end
|
356
356
|
end
|
@@ -376,7 +376,7 @@ module Aws::RDS
|
|
376
376
|
db_cluster_identifier: @cluster_id,
|
377
377
|
db_cluster_snapshot_identifier: @snapshot_id
|
378
378
|
)
|
379
|
-
resp = Aws::Plugins::UserAgent.
|
379
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
380
380
|
@client.create_db_cluster_snapshot(options)
|
381
381
|
end
|
382
382
|
DBClusterSnapshot.new(
|
@@ -512,7 +512,7 @@ module Aws::RDS
|
|
512
512
|
# @return [DBClusterSnapshot]
|
513
513
|
def copy(options = {})
|
514
514
|
options = options.merge(source_db_cluster_snapshot_identifier: @snapshot_id)
|
515
|
-
resp = Aws::Plugins::UserAgent.
|
515
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
516
516
|
@client.copy_db_cluster_snapshot(options)
|
517
517
|
end
|
518
518
|
DBClusterSnapshot.new(
|
@@ -530,7 +530,7 @@ module Aws::RDS
|
|
530
530
|
# @return [DBClusterSnapshot]
|
531
531
|
def delete(options = {})
|
532
532
|
options = options.merge(db_cluster_snapshot_identifier: @snapshot_id)
|
533
|
-
resp = Aws::Plugins::UserAgent.
|
533
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
534
534
|
@client.delete_db_cluster_snapshot(options)
|
535
535
|
end
|
536
536
|
DBClusterSnapshot.new(
|
@@ -1011,7 +1011,7 @@ module Aws::RDS
|
|
1011
1011
|
# @return [DBCluster]
|
1012
1012
|
def restore(options = {})
|
1013
1013
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
1014
|
-
resp = Aws::Plugins::UserAgent.
|
1014
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1015
1015
|
@client.restore_db_cluster_from_snapshot(options)
|
1016
1016
|
end
|
1017
1017
|
DBCluster.new(
|
@@ -1082,7 +1082,7 @@ module Aws::RDS
|
|
1082
1082
|
source_type: "db-cluster-snapshot",
|
1083
1083
|
source_identifier: @snapshot_id
|
1084
1084
|
)
|
1085
|
-
resp = Aws::Plugins::UserAgent.
|
1085
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1086
1086
|
@client.describe_events(options)
|
1087
1087
|
end
|
1088
1088
|
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
|
@@ -184,7 +184,7 @@ module Aws::RDS
|
|
184
184
|
def option_group_options(options = {})
|
185
185
|
batches = Enumerator.new do |y|
|
186
186
|
options = options.merge(engine_name: @name)
|
187
|
-
resp = Aws::Plugins::UserAgent.
|
187
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
188
188
|
@client.describe_option_group_options(options)
|
189
189
|
end
|
190
190
|
resp.each_page do |page|
|
@@ -228,7 +228,7 @@ module Aws::RDS
|
|
228
228
|
def option_groups(options = {})
|
229
229
|
batches = Enumerator.new do |y|
|
230
230
|
options = options.merge(engine_name: @name)
|
231
|
-
resp = Aws::Plugins::UserAgent.
|
231
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
232
232
|
@client.describe_option_groups(options)
|
233
233
|
end
|
234
234
|
resp.each_page do |page|
|
@@ -353,7 +353,7 @@ module Aws::RDS
|
|
353
353
|
def versions(options = {})
|
354
354
|
batches = Enumerator.new do |y|
|
355
355
|
options = options.merge(engine: @name)
|
356
|
-
resp = Aws::Plugins::UserAgent.
|
356
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
357
357
|
@client.describe_db_engine_versions(options)
|
358
358
|
end
|
359
359
|
resp.each_page do |page|
|
@@ -316,7 +316,7 @@ module Aws::RDS
|
|
316
316
|
#
|
317
317
|
# @return [self]
|
318
318
|
def load
|
319
|
-
resp = Aws::Plugins::UserAgent.
|
319
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
320
320
|
@client.describe_db_engine_versions(
|
321
321
|
engine: @engine_name,
|
322
322
|
engine_version: @version
|
@@ -436,7 +436,7 @@ module Aws::RDS
|
|
436
436
|
:retry
|
437
437
|
end
|
438
438
|
end
|
439
|
-
Aws::Plugins::UserAgent.
|
439
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
440
440
|
Aws::Waiters::Waiter.new(options).wait({})
|
441
441
|
end
|
442
442
|
end
|
@@ -471,7 +471,7 @@ module Aws::RDS
|
|
471
471
|
engine_name: @engine,
|
472
472
|
major_engine_version: @version
|
473
473
|
)
|
474
|
-
resp = Aws::Plugins::UserAgent.
|
474
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
475
475
|
@client.describe_option_group_options(options)
|
476
476
|
end
|
477
477
|
resp.each_page do |page|
|
@@ -513,7 +513,7 @@ module Aws::RDS
|
|
513
513
|
engine_name: @engine,
|
514
514
|
major_engine_version: @version
|
515
515
|
)
|
516
|
-
resp = Aws::Plugins::UserAgent.
|
516
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
517
517
|
@client.describe_option_groups(options)
|
518
518
|
end
|
519
519
|
resp.each_page do |page|
|
@@ -808,7 +808,7 @@ module Aws::RDS
|
|
808
808
|
#
|
809
809
|
# @return [self]
|
810
810
|
def load
|
811
|
-
resp = Aws::Plugins::UserAgent.
|
811
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
812
812
|
@client.describe_db_instances(db_instance_identifier: @id)
|
813
813
|
end
|
814
814
|
@data = resp.db_instances[0]
|
@@ -925,7 +925,7 @@ module Aws::RDS
|
|
925
925
|
:retry
|
926
926
|
end
|
927
927
|
end
|
928
|
-
Aws::Plugins::UserAgent.
|
928
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
929
929
|
Aws::Waiters::Waiter.new(options).wait({})
|
930
930
|
end
|
931
931
|
end
|
@@ -2227,7 +2227,7 @@ module Aws::RDS
|
|
2227
2227
|
# @return [DBInstance]
|
2228
2228
|
def create(options = {})
|
2229
2229
|
options = options.merge(db_instance_identifier: @id)
|
2230
|
-
resp = Aws::Plugins::UserAgent.
|
2230
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
2231
2231
|
@client.create_db_instance(options)
|
2232
2232
|
end
|
2233
2233
|
DBInstance.new(
|
@@ -2873,7 +2873,7 @@ module Aws::RDS
|
|
2873
2873
|
# @return [DBInstance]
|
2874
2874
|
def create_read_replica(options = {})
|
2875
2875
|
options = options.merge(source_db_instance_identifier: @id)
|
2876
|
-
resp = Aws::Plugins::UserAgent.
|
2876
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
2877
2877
|
@client.create_db_instance_read_replica(options)
|
2878
2878
|
end
|
2879
2879
|
DBInstance.new(
|
@@ -2919,7 +2919,7 @@ module Aws::RDS
|
|
2919
2919
|
# @return [DBSnapshot]
|
2920
2920
|
def create_snapshot(options = {})
|
2921
2921
|
options = options.merge(db_instance_identifier: @id)
|
2922
|
-
resp = Aws::Plugins::UserAgent.
|
2922
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
2923
2923
|
@client.create_db_snapshot(options)
|
2924
2924
|
end
|
2925
2925
|
DBSnapshot.new(
|
@@ -2986,7 +2986,7 @@ module Aws::RDS
|
|
2986
2986
|
# @return [DBInstance]
|
2987
2987
|
def delete(options = {})
|
2988
2988
|
options = options.merge(db_instance_identifier: @id)
|
2989
|
-
resp = Aws::Plugins::UserAgent.
|
2989
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
2990
2990
|
@client.delete_db_instance(options)
|
2991
2991
|
end
|
2992
2992
|
DBInstance.new(
|
@@ -4082,7 +4082,7 @@ module Aws::RDS
|
|
4082
4082
|
# @return [DBInstance]
|
4083
4083
|
def modify(options = {})
|
4084
4084
|
options = options.merge(db_instance_identifier: @id)
|
4085
|
-
resp = Aws::Plugins::UserAgent.
|
4085
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
4086
4086
|
@client.modify_db_instance(options)
|
4087
4087
|
end
|
4088
4088
|
DBInstance.new(
|
@@ -4137,7 +4137,7 @@ module Aws::RDS
|
|
4137
4137
|
# @return [DBInstance]
|
4138
4138
|
def promote(options = {})
|
4139
4139
|
options = options.merge(db_instance_identifier: @id)
|
4140
|
-
resp = Aws::Plugins::UserAgent.
|
4140
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
4141
4141
|
@client.promote_read_replica(options)
|
4142
4142
|
end
|
4143
4143
|
DBInstance.new(
|
@@ -4161,7 +4161,7 @@ module Aws::RDS
|
|
4161
4161
|
# @return [DBInstance]
|
4162
4162
|
def reboot(options = {})
|
4163
4163
|
options = options.merge(db_instance_identifier: @id)
|
4164
|
-
resp = Aws::Plugins::UserAgent.
|
4164
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
4165
4165
|
@client.reboot_db_instance(options)
|
4166
4166
|
end
|
4167
4167
|
DBInstance.new(
|
@@ -4777,7 +4777,7 @@ module Aws::RDS
|
|
4777
4777
|
# @return [DBInstance]
|
4778
4778
|
def restore(options = {})
|
4779
4779
|
options = options.merge(source_db_instance_identifier: @id)
|
4780
|
-
resp = Aws::Plugins::UserAgent.
|
4780
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
4781
4781
|
@client.restore_db_instance_to_point_in_time(options)
|
4782
4782
|
end
|
4783
4783
|
DBInstance.new(
|
@@ -4799,7 +4799,7 @@ module Aws::RDS
|
|
4799
4799
|
# @return [EventSubscription]
|
4800
4800
|
def subscribe_to(options = {})
|
4801
4801
|
options = options.merge(source_identifier: @id)
|
4802
|
-
resp = Aws::Plugins::UserAgent.
|
4802
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
4803
4803
|
@client.add_source_identifier_to_subscription(options)
|
4804
4804
|
end
|
4805
4805
|
EventSubscription.new(
|
@@ -4821,7 +4821,7 @@ module Aws::RDS
|
|
4821
4821
|
# @return [EventSubscription]
|
4822
4822
|
def unsubscribe_from(options = {})
|
4823
4823
|
options = options.merge(source_identifier: @id)
|
4824
|
-
resp = Aws::Plugins::UserAgent.
|
4824
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
4825
4825
|
@client.remove_source_identifier_from_subscription(options)
|
4826
4826
|
end
|
4827
4827
|
EventSubscription.new(
|
@@ -4908,7 +4908,7 @@ module Aws::RDS
|
|
4908
4908
|
source_type: "db-instance",
|
4909
4909
|
source_identifier: @id
|
4910
4910
|
)
|
4911
|
-
resp = Aws::Plugins::UserAgent.
|
4911
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
4912
4912
|
@client.describe_events(options)
|
4913
4913
|
end
|
4914
4914
|
resp.each_page do |page|
|
@@ -4956,7 +4956,7 @@ module Aws::RDS
|
|
4956
4956
|
def log_files(options = {})
|
4957
4957
|
batches = Enumerator.new do |y|
|
4958
4958
|
options = options.merge(db_instance_identifier: @id)
|
4959
|
-
resp = Aws::Plugins::UserAgent.
|
4959
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
4960
4960
|
@client.describe_db_log_files(options)
|
4961
4961
|
end
|
4962
4962
|
resp.each_page do |page|
|
@@ -5033,7 +5033,7 @@ module Aws::RDS
|
|
5033
5033
|
name: "db-instance-id",
|
5034
5034
|
values: [@id]
|
5035
5035
|
}])
|
5036
|
-
resp = Aws::Plugins::UserAgent.
|
5036
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
5037
5037
|
@client.describe_pending_maintenance_actions(options)
|
5038
5038
|
end
|
5039
5039
|
resp.each_page do |page|
|
@@ -5182,7 +5182,7 @@ module Aws::RDS
|
|
5182
5182
|
def snapshots(options = {})
|
5183
5183
|
batches = Enumerator.new do |y|
|
5184
5184
|
options = options.merge(db_instance_identifier: @id)
|
5185
|
-
resp = Aws::Plugins::UserAgent.
|
5185
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
5186
5186
|
@client.describe_db_snapshots(options)
|
5187
5187
|
end
|
5188
5188
|
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
|
@@ -228,7 +228,7 @@ module Aws::RDS
|
|
228
228
|
db_instance_identifier: @instance_id,
|
229
229
|
log_file_name: @name
|
230
230
|
)
|
231
|
-
resp = Aws::Plugins::UserAgent.
|
231
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
232
232
|
@client.download_db_log_file_portion(options)
|
233
233
|
end
|
234
234
|
resp.data
|
@@ -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|
|