aws-sdk-rds 1.179.0 → 1.180.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 +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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1515935fa65cb033169fd5852e8a22c371cedef587f96022b779e0c68c08c3d9
|
4
|
+
data.tar.gz: f0c955132722f4dfa1a2fdecc98af43ad38488363516f24dbd0f2ff4a80da0f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99282bea612011268f2ddf74ece7027276b20ce0a8de7df528e7c5aa8e21688aa8d9284deb02792df73f61ad182328d3cee4f26157b6ad6653be1f1600603e1d
|
7
|
+
data.tar.gz: da5c29806692b13fb1cd7d13ce9c0584267ddf6ec4de989c92711929aa211ffe3033ef98beb709f4c65f98c7f56e8b47703da0ba10b263dac873d0304824e56f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.180.0
|
@@ -92,7 +92,9 @@ module Aws::RDS
|
|
92
92
|
#
|
93
93
|
# @return [self]
|
94
94
|
def load
|
95
|
-
resp =
|
95
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
96
|
+
@client.describe_certificates(certificate_identifier: @id)
|
97
|
+
end
|
96
98
|
@data = resp.certificates[0]
|
97
99
|
self
|
98
100
|
end
|
@@ -207,7 +209,9 @@ module Aws::RDS
|
|
207
209
|
:retry
|
208
210
|
end
|
209
211
|
end
|
210
|
-
Aws::
|
212
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
213
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
214
|
+
end
|
211
215
|
end
|
212
216
|
|
213
217
|
# @deprecated
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -277,6 +277,11 @@ module Aws::RDS
|
|
277
277
|
# in the future.
|
278
278
|
#
|
279
279
|
#
|
280
|
+
# @option options [String] :sdk_ua_app_id
|
281
|
+
# A unique and opaque application ID that is appended to the
|
282
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
283
|
+
# maximum length of 50.
|
284
|
+
#
|
280
285
|
# @option options [String] :secret_access_key
|
281
286
|
#
|
282
287
|
# @option options [String] :session_token
|
@@ -2989,6 +2994,16 @@ module Aws::RDS
|
|
2989
2994
|
#
|
2990
2995
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
2991
2996
|
#
|
2997
|
+
# For more information on storage types for Aurora DB clusters, see
|
2998
|
+
# [Storage configurations for Amazon Aurora DB clusters][1]. For more
|
2999
|
+
# information on storage types for Multi-AZ DB clusters, see [Settings
|
3000
|
+
# for creating Multi-AZ DB clusters][2].
|
3001
|
+
#
|
3002
|
+
#
|
3003
|
+
#
|
3004
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
|
3005
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html#create-multi-az-db-cluster-settings
|
3006
|
+
#
|
2992
3007
|
# @option params [Integer] :iops
|
2993
3008
|
# The amount of Provisioned IOPS (input/output operations per second) to
|
2994
3009
|
# be initially allocated for each DB instance in the Multi-AZ DB
|
@@ -5401,6 +5416,7 @@ module Aws::RDS
|
|
5401
5416
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
5402
5417
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
5403
5418
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
5419
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
5404
5420
|
# resp.db_instance.latest_restorable_time #=> Time
|
5405
5421
|
# resp.db_instance.multi_az #=> Boolean
|
5406
5422
|
# resp.db_instance.engine_version #=> String
|
@@ -6255,6 +6271,7 @@ module Aws::RDS
|
|
6255
6271
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
6256
6272
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
6257
6273
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
6274
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
6258
6275
|
# resp.db_instance.latest_restorable_time #=> Time
|
6259
6276
|
# resp.db_instance.multi_az #=> Boolean
|
6260
6277
|
# resp.db_instance.engine_version #=> String
|
@@ -8533,6 +8550,7 @@ module Aws::RDS
|
|
8533
8550
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
8534
8551
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
8535
8552
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
8553
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
8536
8554
|
# resp.db_instance.latest_restorable_time #=> Time
|
8537
8555
|
# resp.db_instance.multi_az #=> Boolean
|
8538
8556
|
# resp.db_instance.engine_version #=> String
|
@@ -11720,6 +11738,7 @@ module Aws::RDS
|
|
11720
11738
|
# resp.db_instances[0].pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
11721
11739
|
# resp.db_instances[0].pending_modified_values.resume_full_automation_mode_time #=> Time
|
11722
11740
|
# resp.db_instances[0].pending_modified_values.storage_throughput #=> Integer
|
11741
|
+
# resp.db_instances[0].pending_modified_values.engine #=> String
|
11723
11742
|
# resp.db_instances[0].latest_restorable_time #=> Time
|
11724
11743
|
# resp.db_instances[0].multi_az #=> Boolean
|
11725
11744
|
# resp.db_instances[0].engine_version #=> String
|
@@ -18402,6 +18421,34 @@ module Aws::RDS
|
|
18402
18421
|
# Amazon Web Services account has a different default KMS key for each
|
18403
18422
|
# Amazon Web Services Region.
|
18404
18423
|
#
|
18424
|
+
# @option params [String] :engine
|
18425
|
+
# The target Oracle DB engine when you convert a non-CDB to a CDB. This
|
18426
|
+
# intermediate step is necessary to upgrade an Oracle Database 19c
|
18427
|
+
# non-CDB to an Oracle Database 21c CDB.
|
18428
|
+
#
|
18429
|
+
# Note the following requirements:
|
18430
|
+
#
|
18431
|
+
# * Make sure that you specify `oracle-ee-cdb` or `oracle-se2-cdb`.
|
18432
|
+
#
|
18433
|
+
# * Make sure that your DB engine runs Oracle Database 19c with an April
|
18434
|
+
# 2021 or later RU.
|
18435
|
+
#
|
18436
|
+
# Note the following limitations:
|
18437
|
+
#
|
18438
|
+
# * You can't convert a CDB to a non-CDB.
|
18439
|
+
#
|
18440
|
+
# * You can't convert a replica database.
|
18441
|
+
#
|
18442
|
+
# * You can't convert a non-CDB to a CDB and upgrade the engine version
|
18443
|
+
# in the same command.
|
18444
|
+
#
|
18445
|
+
# * You can't convert the existing custom parameter or option group
|
18446
|
+
# when it has options or parameters that are permanent or persistent.
|
18447
|
+
# In this situation, the DB instance reverts to the default option and
|
18448
|
+
# parameter group. To avoid reverting to the default, specify a new
|
18449
|
+
# parameter group with `--db-parameter-group-name` and a new option
|
18450
|
+
# group with `--option-group-name`.
|
18451
|
+
#
|
18405
18452
|
# @return [Types::ModifyDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
18406
18453
|
#
|
18407
18454
|
# * {Types::ModifyDBInstanceResult#db_instance #db_instance} => Types::DBInstance
|
@@ -18520,6 +18567,7 @@ module Aws::RDS
|
|
18520
18567
|
# manage_master_user_password: false,
|
18521
18568
|
# rotate_master_user_password: false,
|
18522
18569
|
# master_user_secret_kms_key_id: "String",
|
18570
|
+
# engine: "String",
|
18523
18571
|
# })
|
18524
18572
|
#
|
18525
18573
|
# @example Response structure
|
@@ -18585,6 +18633,7 @@ module Aws::RDS
|
|
18585
18633
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
18586
18634
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
18587
18635
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
18636
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
18588
18637
|
# resp.db_instance.latest_restorable_time #=> Time
|
18589
18638
|
# resp.db_instance.multi_az #=> Boolean
|
18590
18639
|
# resp.db_instance.engine_version #=> String
|
@@ -19048,12 +19097,6 @@ module Aws::RDS
|
|
19048
19097
|
#
|
19049
19098
|
# **Oracle**
|
19050
19099
|
#
|
19051
|
-
# * `19.0.0.0.ru-2022-01.rur-2022-01.r1` (supported for 12.2.0.1 DB
|
19052
|
-
# snapshots)
|
19053
|
-
#
|
19054
|
-
# * `19.0.0.0.ru-2022-07.rur-2022-07.r1` (supported for 12.1.0.2 DB
|
19055
|
-
# snapshots)
|
19056
|
-
#
|
19057
19100
|
# * `12.1.0.2.v8` (supported for 12.1.0.1 DB snapshots)
|
19058
19101
|
#
|
19059
19102
|
# * `11.2.0.4.v12` (supported for 11.2.0.2 DB snapshots)
|
@@ -19990,6 +20033,7 @@ module Aws::RDS
|
|
19990
20033
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
19991
20034
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
19992
20035
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
20036
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
19993
20037
|
# resp.db_instance.latest_restorable_time #=> Time
|
19994
20038
|
# resp.db_instance.multi_az #=> Boolean
|
19995
20039
|
# resp.db_instance.engine_version #=> String
|
@@ -20644,6 +20688,7 @@ module Aws::RDS
|
|
20644
20688
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
20645
20689
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
20646
20690
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
20691
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
20647
20692
|
# resp.db_instance.latest_restorable_time #=> Time
|
20648
20693
|
# resp.db_instance.multi_az #=> Boolean
|
20649
20694
|
# resp.db_instance.engine_version #=> String
|
@@ -23924,6 +23969,7 @@ module Aws::RDS
|
|
23924
23969
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
23925
23970
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
23926
23971
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
23972
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
23927
23973
|
# resp.db_instance.latest_restorable_time #=> Time
|
23928
23974
|
# resp.db_instance.multi_az #=> Boolean
|
23929
23975
|
# resp.db_instance.engine_version #=> String
|
@@ -24651,6 +24697,7 @@ module Aws::RDS
|
|
24651
24697
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
24652
24698
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
24653
24699
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
24700
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
24654
24701
|
# resp.db_instance.latest_restorable_time #=> Time
|
24655
24702
|
# resp.db_instance.multi_az #=> Boolean
|
24656
24703
|
# resp.db_instance.engine_version #=> String
|
@@ -25417,6 +25464,7 @@ module Aws::RDS
|
|
25417
25464
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
25418
25465
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
25419
25466
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
25467
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
25420
25468
|
# resp.db_instance.latest_restorable_time #=> Time
|
25421
25469
|
# resp.db_instance.multi_az #=> Boolean
|
25422
25470
|
# resp.db_instance.engine_version #=> String
|
@@ -25999,6 +26047,7 @@ module Aws::RDS
|
|
25999
26047
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
26000
26048
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
26001
26049
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
26050
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
26002
26051
|
# resp.db_instance.latest_restorable_time #=> Time
|
26003
26052
|
# resp.db_instance.multi_az #=> Boolean
|
26004
26053
|
# resp.db_instance.engine_version #=> String
|
@@ -26808,6 +26857,7 @@ module Aws::RDS
|
|
26808
26857
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
26809
26858
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
26810
26859
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
26860
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
26811
26861
|
# resp.db_instance.latest_restorable_time #=> Time
|
26812
26862
|
# resp.db_instance.multi_az #=> Boolean
|
26813
26863
|
# resp.db_instance.engine_version #=> String
|
@@ -27307,6 +27357,7 @@ module Aws::RDS
|
|
27307
27357
|
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
27308
27358
|
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
27309
27359
|
# resp.db_instance.pending_modified_values.storage_throughput #=> Integer
|
27360
|
+
# resp.db_instance.pending_modified_values.engine #=> String
|
27310
27361
|
# resp.db_instance.latest_restorable_time #=> Time
|
27311
27362
|
# resp.db_instance.multi_az #=> Boolean
|
27312
27363
|
# resp.db_instance.engine_version #=> String
|
@@ -27418,7 +27469,7 @@ module Aws::RDS
|
|
27418
27469
|
params: params,
|
27419
27470
|
config: config)
|
27420
27471
|
context[:gem_name] = 'aws-sdk-rds'
|
27421
|
-
context[:gem_version] = '1.
|
27472
|
+
context[:gem_version] = '1.180.0'
|
27422
27473
|
Seahorse::Client::Request.new(handlers, context)
|
27423
27474
|
end
|
27424
27475
|
|
@@ -2670,6 +2670,7 @@ module Aws::RDS
|
|
2670
2670
|
ModifyDBInstanceMessage.add_member(:manage_master_user_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterUserPassword"))
|
2671
2671
|
ModifyDBInstanceMessage.add_member(:rotate_master_user_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "RotateMasterUserPassword"))
|
2672
2672
|
ModifyDBInstanceMessage.add_member(:master_user_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserSecretKmsKeyId"))
|
2673
|
+
ModifyDBInstanceMessage.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
2673
2674
|
ModifyDBInstanceMessage.struct_class = Types::ModifyDBInstanceMessage
|
2674
2675
|
|
2675
2676
|
ModifyDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -2983,6 +2984,7 @@ module Aws::RDS
|
|
2983
2984
|
PendingModifiedValues.add_member(:automation_mode, Shapes::ShapeRef.new(shape: AutomationMode, location_name: "AutomationMode"))
|
2984
2985
|
PendingModifiedValues.add_member(:resume_full_automation_mode_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ResumeFullAutomationModeTime"))
|
2985
2986
|
PendingModifiedValues.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
2987
|
+
PendingModifiedValues.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
2986
2988
|
PendingModifiedValues.struct_class = Types::PendingModifiedValues
|
2987
2989
|
|
2988
2990
|
PointInTimeRestoreNotEnabledFault.struct_class = Types::PointInTimeRestoreNotEnabledFault
|
@@ -687,7 +687,9 @@ module Aws::RDS
|
|
687
687
|
#
|
688
688
|
# @return [self]
|
689
689
|
def load
|
690
|
-
resp =
|
690
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
691
|
+
@client.describe_db_clusters(db_cluster_identifier: @id)
|
692
|
+
end
|
691
693
|
@data = resp.db_clusters[0]
|
692
694
|
self
|
693
695
|
end
|
@@ -802,7 +804,9 @@ module Aws::RDS
|
|
802
804
|
:retry
|
803
805
|
end
|
804
806
|
end
|
805
|
-
Aws::
|
807
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
808
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
809
|
+
end
|
806
810
|
end
|
807
811
|
|
808
812
|
# @!group Actions
|
@@ -1393,6 +1397,16 @@ module Aws::RDS
|
|
1393
1397
|
# Default: `aurora` (Aurora DB clusters); `io1` (Multi-AZ DB clusters)
|
1394
1398
|
#
|
1395
1399
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
1400
|
+
#
|
1401
|
+
# For more information on storage types for Aurora DB clusters, see
|
1402
|
+
# [Storage configurations for Amazon Aurora DB clusters][1]. For more
|
1403
|
+
# information on storage types for Multi-AZ DB clusters, see [Settings
|
1404
|
+
# for creating Multi-AZ DB clusters][2].
|
1405
|
+
#
|
1406
|
+
#
|
1407
|
+
#
|
1408
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
|
1409
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html#create-multi-az-db-cluster-settings
|
1396
1410
|
# @option options [Integer] :iops
|
1397
1411
|
# The amount of Provisioned IOPS (input/output operations per second) to
|
1398
1412
|
# be initially allocated for each DB instance in the Multi-AZ DB
|
@@ -1613,7 +1627,9 @@ module Aws::RDS
|
|
1613
1627
|
# @return [DBCluster]
|
1614
1628
|
def create(options = {})
|
1615
1629
|
options = options.merge(db_cluster_identifier: @id)
|
1616
|
-
resp =
|
1630
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1631
|
+
@client.create_db_cluster(options)
|
1632
|
+
end
|
1617
1633
|
DBCluster.new(
|
1618
1634
|
id: resp.data.db_cluster.db_cluster_identifier,
|
1619
1635
|
data: resp.data.db_cluster,
|
@@ -1651,7 +1667,9 @@ module Aws::RDS
|
|
1651
1667
|
# @return [DBClusterSnapshot]
|
1652
1668
|
def create_snapshot(options = {})
|
1653
1669
|
options = options.merge(db_cluster_identifier: @id)
|
1654
|
-
resp =
|
1670
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1671
|
+
@client.create_db_cluster_snapshot(options)
|
1672
|
+
end
|
1655
1673
|
DBClusterSnapshot.new(
|
1656
1674
|
cluster_id: resp.data.db_cluster_snapshot.db_cluster_identifier,
|
1657
1675
|
snapshot_id: resp.data.db_cluster_snapshot.db_cluster_snapshot_identifier,
|
@@ -1699,7 +1717,9 @@ module Aws::RDS
|
|
1699
1717
|
# @return [DBCluster]
|
1700
1718
|
def delete(options = {})
|
1701
1719
|
options = options.merge(db_cluster_identifier: @id)
|
1702
|
-
resp =
|
1720
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1721
|
+
@client.delete_db_cluster(options)
|
1722
|
+
end
|
1703
1723
|
DBCluster.new(
|
1704
1724
|
id: resp.data.db_cluster.db_cluster_identifier,
|
1705
1725
|
data: resp.data.db_cluster,
|
@@ -1724,7 +1744,9 @@ module Aws::RDS
|
|
1724
1744
|
# @return [DBCluster]
|
1725
1745
|
def failover(options = {})
|
1726
1746
|
options = options.merge(db_cluster_identifier: @id)
|
1727
|
-
resp =
|
1747
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1748
|
+
@client.failover_db_cluster(options)
|
1749
|
+
end
|
1728
1750
|
DBCluster.new(
|
1729
1751
|
id: resp.data.db_cluster.db_cluster_identifier,
|
1730
1752
|
data: resp.data.db_cluster,
|
@@ -2382,7 +2404,9 @@ module Aws::RDS
|
|
2382
2404
|
# @return [DBCluster]
|
2383
2405
|
def modify(options = {})
|
2384
2406
|
options = options.merge(db_cluster_identifier: @id)
|
2385
|
-
resp =
|
2407
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2408
|
+
@client.modify_db_cluster(options)
|
2409
|
+
end
|
2386
2410
|
DBCluster.new(
|
2387
2411
|
id: resp.data.db_cluster.db_cluster_identifier,
|
2388
2412
|
data: resp.data.db_cluster,
|
@@ -2791,7 +2815,9 @@ module Aws::RDS
|
|
2791
2815
|
# @return [DBCluster]
|
2792
2816
|
def restore(options = {})
|
2793
2817
|
options = options.merge(source_db_cluster_identifier: @id)
|
2794
|
-
resp =
|
2818
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2819
|
+
@client.restore_db_cluster_to_point_in_time(options)
|
2820
|
+
end
|
2795
2821
|
DBCluster.new(
|
2796
2822
|
id: resp.data.db_cluster.db_cluster_identifier,
|
2797
2823
|
data: resp.data.db_cluster,
|
@@ -2852,7 +2878,9 @@ module Aws::RDS
|
|
2852
2878
|
source_type: "db-cluster",
|
2853
2879
|
source_identifier: @id
|
2854
2880
|
)
|
2855
|
-
resp =
|
2881
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2882
|
+
@client.describe_events(options)
|
2883
|
+
end
|
2856
2884
|
resp.each_page do |page|
|
2857
2885
|
batch = []
|
2858
2886
|
page.data.events.each do |e|
|
@@ -2995,7 +3023,9 @@ module Aws::RDS
|
|
2995
3023
|
def snapshots(options = {})
|
2996
3024
|
batches = Enumerator.new do |y|
|
2997
3025
|
options = options.merge(db_cluster_identifier: @id)
|
2998
|
-
resp =
|
3026
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
3027
|
+
@client.describe_db_cluster_snapshots(options)
|
3028
|
+
end
|
2999
3029
|
resp.each_page do |page|
|
3000
3030
|
batch = []
|
3001
3031
|
page.data.db_cluster_snapshots.each do |d|
|
@@ -69,7 +69,9 @@ module Aws::RDS
|
|
69
69
|
#
|
70
70
|
# @return [self]
|
71
71
|
def load
|
72
|
-
resp =
|
72
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
73
|
+
@client.describe_db_cluster_parameter_groups(db_cluster_parameter_group_name: @name)
|
74
|
+
end
|
73
75
|
@data = resp.db_cluster_parameter_groups[0]
|
74
76
|
self
|
75
77
|
end
|
@@ -184,7 +186,9 @@ module Aws::RDS
|
|
184
186
|
:retry
|
185
187
|
end
|
186
188
|
end
|
187
|
-
Aws::
|
189
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
190
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
191
|
+
end
|
188
192
|
end
|
189
193
|
|
190
194
|
# @!group Actions
|
@@ -258,7 +262,9 @@ module Aws::RDS
|
|
258
262
|
# @return [DBClusterParameterGroup]
|
259
263
|
def create(options = {})
|
260
264
|
options = options.merge(db_cluster_parameter_group_name: @name)
|
261
|
-
resp =
|
265
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
266
|
+
@client.create_db_cluster_parameter_group(options)
|
267
|
+
end
|
262
268
|
DBClusterParameterGroup.new(
|
263
269
|
name: resp.data.db_cluster_parameter_group.db_cluster_parameter_group_name,
|
264
270
|
data: resp.data.db_cluster_parameter_group,
|
@@ -273,7 +279,9 @@ module Aws::RDS
|
|
273
279
|
# @return [EmptyStructure]
|
274
280
|
def delete(options = {})
|
275
281
|
options = options.merge(db_cluster_parameter_group_name: @name)
|
276
|
-
resp =
|
282
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
283
|
+
@client.delete_db_cluster_parameter_group(options)
|
284
|
+
end
|
277
285
|
resp.data
|
278
286
|
end
|
279
287
|
|
@@ -318,7 +326,9 @@ module Aws::RDS
|
|
318
326
|
# @return [DBClusterParameterGroup]
|
319
327
|
def modify(options = {})
|
320
328
|
options = options.merge(db_cluster_parameter_group_name: @name)
|
321
|
-
resp =
|
329
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
330
|
+
@client.modify_db_cluster_parameter_group(options)
|
331
|
+
end
|
322
332
|
DBClusterParameterGroup.new(
|
323
333
|
name: resp.data.db_cluster_parameter_group_name,
|
324
334
|
client: @client
|
@@ -358,7 +368,9 @@ module Aws::RDS
|
|
358
368
|
# @return [DBClusterParameterGroup]
|
359
369
|
def reset(options = {})
|
360
370
|
options = options.merge(db_cluster_parameter_group_name: @name)
|
361
|
-
resp =
|
371
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
372
|
+
@client.reset_db_cluster_parameter_group(options)
|
373
|
+
end
|
362
374
|
DBClusterParameterGroup.new(
|
363
375
|
name: resp.data.db_cluster_parameter_group_name,
|
364
376
|
client: @client
|
@@ -219,7 +219,9 @@ module Aws::RDS
|
|
219
219
|
#
|
220
220
|
# @return [self]
|
221
221
|
def load
|
222
|
-
resp =
|
222
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
223
|
+
@client.describe_db_cluster_snapshots(db_cluster_snapshot_identifier: @snapshot_id)
|
224
|
+
end
|
223
225
|
@data = resp.db_cluster_snapshots[0]
|
224
226
|
self
|
225
227
|
end
|
@@ -334,7 +336,9 @@ module Aws::RDS
|
|
334
336
|
:retry
|
335
337
|
end
|
336
338
|
end
|
337
|
-
Aws::
|
339
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
340
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
341
|
+
end
|
338
342
|
end
|
339
343
|
|
340
344
|
# @!group Actions
|
@@ -358,7 +362,9 @@ module Aws::RDS
|
|
358
362
|
db_cluster_identifier: @cluster_id,
|
359
363
|
db_cluster_snapshot_identifier: @snapshot_id
|
360
364
|
)
|
361
|
-
resp =
|
365
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
366
|
+
@client.create_db_cluster_snapshot(options)
|
367
|
+
end
|
362
368
|
DBClusterSnapshot.new(
|
363
369
|
cluster_id: resp.data.db_cluster_snapshot.db_cluster_identifier,
|
364
370
|
snapshot_id: resp.data.db_cluster_snapshot.db_cluster_snapshot_identifier,
|
@@ -493,7 +499,9 @@ module Aws::RDS
|
|
493
499
|
# @return [DBClusterSnapshot]
|
494
500
|
def copy(options = {})
|
495
501
|
options = options.merge(source_db_cluster_snapshot_identifier: @snapshot_id)
|
496
|
-
resp =
|
502
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
503
|
+
@client.copy_db_cluster_snapshot(options)
|
504
|
+
end
|
497
505
|
DBClusterSnapshot.new(
|
498
506
|
cluster_id: resp.data.db_cluster_snapshot.db_cluster_identifier,
|
499
507
|
snapshot_id: resp.data.db_cluster_snapshot.db_cluster_snapshot_identifier,
|
@@ -509,7 +517,9 @@ module Aws::RDS
|
|
509
517
|
# @return [DBClusterSnapshot]
|
510
518
|
def delete(options = {})
|
511
519
|
options = options.merge(db_cluster_snapshot_identifier: @snapshot_id)
|
512
|
-
resp =
|
520
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
521
|
+
@client.delete_db_cluster_snapshot(options)
|
522
|
+
end
|
513
523
|
DBClusterSnapshot.new(
|
514
524
|
cluster_id: resp.data.db_cluster_snapshot.db_cluster_identifier,
|
515
525
|
snapshot_id: resp.data.db_cluster_snapshot.db_cluster_snapshot_identifier,
|
@@ -945,7 +955,9 @@ module Aws::RDS
|
|
945
955
|
# @return [DBCluster]
|
946
956
|
def restore(options = {})
|
947
957
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
948
|
-
resp =
|
958
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
959
|
+
@client.restore_db_cluster_from_snapshot(options)
|
960
|
+
end
|
949
961
|
DBCluster.new(
|
950
962
|
id: resp.data.db_cluster.db_cluster_identifier,
|
951
963
|
data: resp.data.db_cluster,
|
@@ -1014,7 +1026,9 @@ module Aws::RDS
|
|
1014
1026
|
source_type: "db-cluster-snapshot",
|
1015
1027
|
source_identifier: @snapshot_id
|
1016
1028
|
)
|
1017
|
-
resp =
|
1029
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1030
|
+
@client.describe_events(options)
|
1031
|
+
end
|
1018
1032
|
resp.each_page do |page|
|
1019
1033
|
batch = []
|
1020
1034
|
page.data.events.each do |e|
|
@@ -156,7 +156,9 @@ module Aws::RDS
|
|
156
156
|
:retry
|
157
157
|
end
|
158
158
|
end
|
159
|
-
Aws::
|
159
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
160
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
161
|
+
end
|
160
162
|
end
|
161
163
|
|
162
164
|
# @!group Associations
|
@@ -182,7 +184,9 @@ module Aws::RDS
|
|
182
184
|
def option_group_options(options = {})
|
183
185
|
batches = Enumerator.new do |y|
|
184
186
|
options = options.merge(engine_name: @name)
|
185
|
-
resp =
|
187
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
188
|
+
@client.describe_option_group_options(options)
|
189
|
+
end
|
186
190
|
resp.each_page do |page|
|
187
191
|
batch = []
|
188
192
|
page.data.option_group_options.each do |o|
|
@@ -224,7 +228,9 @@ module Aws::RDS
|
|
224
228
|
def option_groups(options = {})
|
225
229
|
batches = Enumerator.new do |y|
|
226
230
|
options = options.merge(engine_name: @name)
|
227
|
-
resp =
|
231
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
232
|
+
@client.describe_option_groups(options)
|
233
|
+
end
|
228
234
|
resp.each_page do |page|
|
229
235
|
batch = []
|
230
236
|
page.data.option_groups_list.each do |o|
|
@@ -350,7 +356,9 @@ module Aws::RDS
|
|
350
356
|
def versions(options = {})
|
351
357
|
batches = Enumerator.new do |y|
|
352
358
|
options = options.merge(engine: @name)
|
353
|
-
resp =
|
359
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
360
|
+
@client.describe_db_engine_versions(options)
|
361
|
+
end
|
354
362
|
resp.each_page do |page|
|
355
363
|
batch = []
|
356
364
|
page.data.db_engine_versions.each do |d|
|
@@ -291,10 +291,12 @@ module Aws::RDS
|
|
291
291
|
#
|
292
292
|
# @return [self]
|
293
293
|
def load
|
294
|
-
resp =
|
294
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
295
|
+
@client.describe_db_engine_versions(
|
295
296
|
engine: @engine_name,
|
296
297
|
engine_version: @version
|
297
298
|
)
|
299
|
+
end
|
298
300
|
@data = resp.db_engine_versions[0]
|
299
301
|
self
|
300
302
|
end
|
@@ -409,7 +411,9 @@ module Aws::RDS
|
|
409
411
|
:retry
|
410
412
|
end
|
411
413
|
end
|
412
|
-
Aws::
|
414
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
415
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
416
|
+
end
|
413
417
|
end
|
414
418
|
|
415
419
|
# @!group Associations
|
@@ -442,7 +446,9 @@ module Aws::RDS
|
|
442
446
|
engine_name: @engine,
|
443
447
|
major_engine_version: @version
|
444
448
|
)
|
445
|
-
resp =
|
449
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
450
|
+
@client.describe_option_group_options(options)
|
451
|
+
end
|
446
452
|
resp.each_page do |page|
|
447
453
|
batch = []
|
448
454
|
page.data.option_group_options.each do |o|
|
@@ -482,7 +488,9 @@ module Aws::RDS
|
|
482
488
|
engine_name: @engine,
|
483
489
|
major_engine_version: @version
|
484
490
|
)
|
485
|
-
resp =
|
491
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
492
|
+
@client.describe_option_groups(options)
|
493
|
+
end
|
486
494
|
resp.each_page do |page|
|
487
495
|
batch = []
|
488
496
|
page.data.option_groups_list.each do |o|
|