aws-sdk-rds 1.188.0 → 1.189.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/client.rb +194 -9
- data/lib/aws-sdk-rds/client_api.rb +85 -1
- data/lib/aws-sdk-rds/db_cluster.rb +12 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +8 -1
- data/lib/aws-sdk-rds/endpoints.rb +28 -0
- data/lib/aws-sdk-rds/errors.rb +33 -0
- data/lib/aws-sdk-rds/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-rds/types.rb +329 -19
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb9e966f7e62628d895d5d096661b01a63557528cc37d8c3a50cd290e17ac3a9
|
4
|
+
data.tar.gz: 5c8c5ffcc4cba0508227b6ff9204d55f3e39a47016e81a639f69bb0bae9f7baf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71199d494672776b7c7f20199faca1684f0a6781a50c838237972b2ff779b075e7d3540c32253619d371bbb8e144bb3c8b163ddd1759bf010fad9c07ad9a56a4
|
7
|
+
data.tar.gz: 1455d70144f0f87b37705cc7c37561764f78aaa0f5a7ea6960d7cd44ff3211046b50f4e762e9284494184682560ac96a1b3926eed08a31f7e35769bc85c2895d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.189.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -1410,6 +1410,7 @@ module Aws::RDS
|
|
1410
1410
|
# resp.db_cluster_snapshot.tag_list[0].value #=> String
|
1411
1411
|
# resp.db_cluster_snapshot.db_system_id #=> String
|
1412
1412
|
# resp.db_cluster_snapshot.storage_type #=> String
|
1413
|
+
# resp.db_cluster_snapshot.db_cluster_resource_id #=> String
|
1413
1414
|
#
|
1414
1415
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshot AWS API Documentation
|
1415
1416
|
#
|
@@ -3991,6 +3992,7 @@ module Aws::RDS
|
|
3991
3992
|
# resp.db_cluster_snapshot.tag_list[0].value #=> String
|
3992
3993
|
# resp.db_cluster_snapshot.db_system_id #=> String
|
3993
3994
|
# resp.db_cluster_snapshot.storage_type #=> String
|
3995
|
+
# resp.db_cluster_snapshot.db_cluster_resource_id #=> String
|
3994
3996
|
#
|
3995
3997
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshot AWS API Documentation
|
3996
3998
|
#
|
@@ -8090,6 +8092,12 @@ module Aws::RDS
|
|
8090
8092
|
#
|
8091
8093
|
# * Can't end with a hyphen or contain two consecutive hyphens
|
8092
8094
|
#
|
8095
|
+
# @option params [Boolean] :delete_automated_backups
|
8096
|
+
# A value that indicates whether to remove automated backups immediately
|
8097
|
+
# after the DB cluster is deleted. This parameter isn't case-sensitive.
|
8098
|
+
# The default is to remove automated backups immediately after the DB
|
8099
|
+
# cluster is deleted.
|
8100
|
+
#
|
8093
8101
|
# @return [Types::DeleteDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8094
8102
|
#
|
8095
8103
|
# * {Types::DeleteDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -8129,6 +8137,7 @@ module Aws::RDS
|
|
8129
8137
|
# db_cluster_identifier: "String", # required
|
8130
8138
|
# skip_final_snapshot: false,
|
8131
8139
|
# final_db_snapshot_identifier: "String",
|
8140
|
+
# delete_automated_backups: false,
|
8132
8141
|
# })
|
8133
8142
|
#
|
8134
8143
|
# @example Response structure
|
@@ -8260,6 +8269,61 @@ module Aws::RDS
|
|
8260
8269
|
req.send_request(options)
|
8261
8270
|
end
|
8262
8271
|
|
8272
|
+
# Deletes automated backups using the `DbClusterResourceId` value of the
|
8273
|
+
# source DB cluster or the Amazon Resource Name (ARN) of the automated
|
8274
|
+
# backups.
|
8275
|
+
#
|
8276
|
+
# @option params [required, String] :db_cluster_resource_id
|
8277
|
+
# The identifier for the source DB cluster, which can't be changed and
|
8278
|
+
# which is unique to an Amazon Web Services Region.
|
8279
|
+
#
|
8280
|
+
# @return [Types::DeleteDBClusterAutomatedBackupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8281
|
+
#
|
8282
|
+
# * {Types::DeleteDBClusterAutomatedBackupResult#db_cluster_automated_backup #db_cluster_automated_backup} => Types::DBClusterAutomatedBackup
|
8283
|
+
#
|
8284
|
+
# @example Request syntax with placeholder values
|
8285
|
+
#
|
8286
|
+
# resp = client.delete_db_cluster_automated_backup({
|
8287
|
+
# db_cluster_resource_id: "String", # required
|
8288
|
+
# })
|
8289
|
+
#
|
8290
|
+
# @example Response structure
|
8291
|
+
#
|
8292
|
+
# resp.db_cluster_automated_backup.engine #=> String
|
8293
|
+
# resp.db_cluster_automated_backup.vpc_id #=> String
|
8294
|
+
# resp.db_cluster_automated_backup.db_cluster_automated_backups_arn #=> String
|
8295
|
+
# resp.db_cluster_automated_backup.db_cluster_identifier #=> String
|
8296
|
+
# resp.db_cluster_automated_backup.restore_window.earliest_time #=> Time
|
8297
|
+
# resp.db_cluster_automated_backup.restore_window.latest_time #=> Time
|
8298
|
+
# resp.db_cluster_automated_backup.master_username #=> String
|
8299
|
+
# resp.db_cluster_automated_backup.db_cluster_resource_id #=> String
|
8300
|
+
# resp.db_cluster_automated_backup.region #=> String
|
8301
|
+
# resp.db_cluster_automated_backup.license_model #=> String
|
8302
|
+
# resp.db_cluster_automated_backup.status #=> String
|
8303
|
+
# resp.db_cluster_automated_backup.iam_database_authentication_enabled #=> Boolean
|
8304
|
+
# resp.db_cluster_automated_backup.cluster_create_time #=> Time
|
8305
|
+
# resp.db_cluster_automated_backup.storage_encrypted #=> Boolean
|
8306
|
+
# resp.db_cluster_automated_backup.allocated_storage #=> Integer
|
8307
|
+
# resp.db_cluster_automated_backup.engine_version #=> String
|
8308
|
+
# resp.db_cluster_automated_backup.db_cluster_arn #=> String
|
8309
|
+
# resp.db_cluster_automated_backup.backup_retention_period #=> Integer
|
8310
|
+
# resp.db_cluster_automated_backup.engine_mode #=> String
|
8311
|
+
# resp.db_cluster_automated_backup.availability_zones #=> Array
|
8312
|
+
# resp.db_cluster_automated_backup.availability_zones[0] #=> String
|
8313
|
+
# resp.db_cluster_automated_backup.port #=> Integer
|
8314
|
+
# resp.db_cluster_automated_backup.kms_key_id #=> String
|
8315
|
+
# resp.db_cluster_automated_backup.storage_type #=> String
|
8316
|
+
# resp.db_cluster_automated_backup.iops #=> Integer
|
8317
|
+
#
|
8318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterAutomatedBackup AWS API Documentation
|
8319
|
+
#
|
8320
|
+
# @overload delete_db_cluster_automated_backup(params = {})
|
8321
|
+
# @param [Hash] params ({})
|
8322
|
+
def delete_db_cluster_automated_backup(params = {}, options = {})
|
8323
|
+
req = build_request(:delete_db_cluster_automated_backup, params)
|
8324
|
+
req.send_request(options)
|
8325
|
+
end
|
8326
|
+
|
8263
8327
|
# Deletes a custom endpoint and removes it from an Amazon Aurora DB
|
8264
8328
|
# cluster.
|
8265
8329
|
#
|
@@ -8494,6 +8558,7 @@ module Aws::RDS
|
|
8494
8558
|
# resp.db_cluster_snapshot.tag_list[0].value #=> String
|
8495
8559
|
# resp.db_cluster_snapshot.db_system_id #=> String
|
8496
8560
|
# resp.db_cluster_snapshot.storage_type #=> String
|
8561
|
+
# resp.db_cluster_snapshot.db_cluster_resource_id #=> String
|
8497
8562
|
#
|
8498
8563
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshot AWS API Documentation
|
8499
8564
|
#
|
@@ -10050,6 +10115,117 @@ module Aws::RDS
|
|
10050
10115
|
req.send_request(options)
|
10051
10116
|
end
|
10052
10117
|
|
10118
|
+
# Displays backups for both current and deleted DB clusters. For
|
10119
|
+
# example, use this operation to find details about automated backups
|
10120
|
+
# for previously deleted clusters. Current clusters are returned for
|
10121
|
+
# both the `DescribeDBClusterAutomatedBackups` and `DescribeDBClusters`
|
10122
|
+
# operations.
|
10123
|
+
#
|
10124
|
+
# All parameters are optional.
|
10125
|
+
#
|
10126
|
+
# @option params [String] :db_cluster_resource_id
|
10127
|
+
# The resource ID of the DB cluster that is the source of the automated
|
10128
|
+
# backup. This parameter isn't case-sensitive.
|
10129
|
+
#
|
10130
|
+
# @option params [String] :db_cluster_identifier
|
10131
|
+
# (Optional) The user-supplied DB cluster identifier. If this parameter
|
10132
|
+
# is specified, it must match the identifier of an existing DB cluster.
|
10133
|
+
# It returns information from the specific DB cluster's automated
|
10134
|
+
# backup. This parameter isn't case-sensitive.
|
10135
|
+
#
|
10136
|
+
# @option params [Array<Types::Filter>] :filters
|
10137
|
+
# A filter that specifies which resources to return based on status.
|
10138
|
+
#
|
10139
|
+
# Supported filters are the following:
|
10140
|
+
#
|
10141
|
+
# * `status`
|
10142
|
+
#
|
10143
|
+
# * `retained` - Automated backups for deleted clusters and after
|
10144
|
+
# backup replication is stopped.
|
10145
|
+
#
|
10146
|
+
# ^
|
10147
|
+
#
|
10148
|
+
# * `db-cluster-id` - Accepts DB cluster identifiers and Amazon Resource
|
10149
|
+
# Names (ARNs). The results list includes only information about the
|
10150
|
+
# DB cluster automated backups identified by these ARNs.
|
10151
|
+
#
|
10152
|
+
# * `db-cluster-resource-id` - Accepts DB resource identifiers and
|
10153
|
+
# Amazon Resource Names (ARNs). The results list includes only
|
10154
|
+
# information about the DB cluster resources identified by these ARNs.
|
10155
|
+
#
|
10156
|
+
# Returns all resources by default. The status for each resource is
|
10157
|
+
# specified in the response.
|
10158
|
+
#
|
10159
|
+
# @option params [Integer] :max_records
|
10160
|
+
# The maximum number of records to include in the response. If more
|
10161
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
10162
|
+
# token called a marker is included in the response so that you can
|
10163
|
+
# retrieve the remaining results.
|
10164
|
+
#
|
10165
|
+
# @option params [String] :marker
|
10166
|
+
# The pagination token provided in the previous request. If this
|
10167
|
+
# parameter is specified the response includes only records beyond the
|
10168
|
+
# marker, up to `MaxRecords`.
|
10169
|
+
#
|
10170
|
+
# @return [Types::DBClusterAutomatedBackupMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10171
|
+
#
|
10172
|
+
# * {Types::DBClusterAutomatedBackupMessage#marker #marker} => String
|
10173
|
+
# * {Types::DBClusterAutomatedBackupMessage#db_cluster_automated_backups #db_cluster_automated_backups} => Array<Types::DBClusterAutomatedBackup>
|
10174
|
+
#
|
10175
|
+
# @example Request syntax with placeholder values
|
10176
|
+
#
|
10177
|
+
# resp = client.describe_db_cluster_automated_backups({
|
10178
|
+
# db_cluster_resource_id: "String",
|
10179
|
+
# db_cluster_identifier: "String",
|
10180
|
+
# filters: [
|
10181
|
+
# {
|
10182
|
+
# name: "String", # required
|
10183
|
+
# values: ["String"], # required
|
10184
|
+
# },
|
10185
|
+
# ],
|
10186
|
+
# max_records: 1,
|
10187
|
+
# marker: "String",
|
10188
|
+
# })
|
10189
|
+
#
|
10190
|
+
# @example Response structure
|
10191
|
+
#
|
10192
|
+
# resp.marker #=> String
|
10193
|
+
# resp.db_cluster_automated_backups #=> Array
|
10194
|
+
# resp.db_cluster_automated_backups[0].engine #=> String
|
10195
|
+
# resp.db_cluster_automated_backups[0].vpc_id #=> String
|
10196
|
+
# resp.db_cluster_automated_backups[0].db_cluster_automated_backups_arn #=> String
|
10197
|
+
# resp.db_cluster_automated_backups[0].db_cluster_identifier #=> String
|
10198
|
+
# resp.db_cluster_automated_backups[0].restore_window.earliest_time #=> Time
|
10199
|
+
# resp.db_cluster_automated_backups[0].restore_window.latest_time #=> Time
|
10200
|
+
# resp.db_cluster_automated_backups[0].master_username #=> String
|
10201
|
+
# resp.db_cluster_automated_backups[0].db_cluster_resource_id #=> String
|
10202
|
+
# resp.db_cluster_automated_backups[0].region #=> String
|
10203
|
+
# resp.db_cluster_automated_backups[0].license_model #=> String
|
10204
|
+
# resp.db_cluster_automated_backups[0].status #=> String
|
10205
|
+
# resp.db_cluster_automated_backups[0].iam_database_authentication_enabled #=> Boolean
|
10206
|
+
# resp.db_cluster_automated_backups[0].cluster_create_time #=> Time
|
10207
|
+
# resp.db_cluster_automated_backups[0].storage_encrypted #=> Boolean
|
10208
|
+
# resp.db_cluster_automated_backups[0].allocated_storage #=> Integer
|
10209
|
+
# resp.db_cluster_automated_backups[0].engine_version #=> String
|
10210
|
+
# resp.db_cluster_automated_backups[0].db_cluster_arn #=> String
|
10211
|
+
# resp.db_cluster_automated_backups[0].backup_retention_period #=> Integer
|
10212
|
+
# resp.db_cluster_automated_backups[0].engine_mode #=> String
|
10213
|
+
# resp.db_cluster_automated_backups[0].availability_zones #=> Array
|
10214
|
+
# resp.db_cluster_automated_backups[0].availability_zones[0] #=> String
|
10215
|
+
# resp.db_cluster_automated_backups[0].port #=> Integer
|
10216
|
+
# resp.db_cluster_automated_backups[0].kms_key_id #=> String
|
10217
|
+
# resp.db_cluster_automated_backups[0].storage_type #=> String
|
10218
|
+
# resp.db_cluster_automated_backups[0].iops #=> Integer
|
10219
|
+
#
|
10220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterAutomatedBackups AWS API Documentation
|
10221
|
+
#
|
10222
|
+
# @overload describe_db_cluster_automated_backups(params = {})
|
10223
|
+
# @param [Hash] params ({})
|
10224
|
+
def describe_db_cluster_automated_backups(params = {}, options = {})
|
10225
|
+
req = build_request(:describe_db_cluster_automated_backups, params)
|
10226
|
+
req.send_request(options)
|
10227
|
+
end
|
10228
|
+
|
10053
10229
|
# Returns information about backtracks for a DB cluster.
|
10054
10230
|
#
|
10055
10231
|
# For more information on Amazon Aurora, see [ What is Amazon
|
@@ -10811,6 +10987,9 @@ module Aws::RDS
|
|
10811
10987
|
# You can share a manual DB cluster snapshot as public by using the
|
10812
10988
|
# ModifyDBClusterSnapshotAttribute API action.
|
10813
10989
|
#
|
10990
|
+
# @option params [String] :db_cluster_resource_id
|
10991
|
+
# A specific DB cluster resource ID to describe.
|
10992
|
+
#
|
10814
10993
|
# @return [Types::DBClusterSnapshotMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10815
10994
|
#
|
10816
10995
|
# * {Types::DBClusterSnapshotMessage#marker #marker} => String
|
@@ -10899,6 +11078,7 @@ module Aws::RDS
|
|
10899
11078
|
# marker: "String",
|
10900
11079
|
# include_shared: false,
|
10901
11080
|
# include_public: false,
|
11081
|
+
# db_cluster_resource_id: "String",
|
10902
11082
|
# })
|
10903
11083
|
#
|
10904
11084
|
# @example Response structure
|
@@ -10932,6 +11112,7 @@ module Aws::RDS
|
|
10932
11112
|
# resp.db_cluster_snapshots[0].tag_list[0].value #=> String
|
10933
11113
|
# resp.db_cluster_snapshots[0].db_system_id #=> String
|
10934
11114
|
# resp.db_cluster_snapshots[0].storage_type #=> String
|
11115
|
+
# resp.db_cluster_snapshots[0].db_cluster_resource_id #=> String
|
10935
11116
|
#
|
10936
11117
|
#
|
10937
11118
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -11565,7 +11746,7 @@ module Aws::RDS
|
|
11565
11746
|
# @option params [String] :db_instance_identifier
|
11566
11747
|
# (Optional) The user-supplied instance identifier. If this parameter is
|
11567
11748
|
# specified, it must match the identifier of an existing DB instance. It
|
11568
|
-
# returns information from the specific DB instance' automated backup.
|
11749
|
+
# returns information from the specific DB instance's automated backup.
|
11569
11750
|
# This parameter isn't case-sensitive.
|
11570
11751
|
#
|
11571
11752
|
# @option params [Array<Types::Filter>] :filters
|
@@ -11575,13 +11756,13 @@ module Aws::RDS
|
|
11575
11756
|
#
|
11576
11757
|
# * `status`
|
11577
11758
|
#
|
11578
|
-
# * `active` -
|
11759
|
+
# * `active` - Automated backups for current instances.
|
11579
11760
|
#
|
11580
|
-
# * `
|
11581
|
-
#
|
11761
|
+
# * `creating` - Automated backups that are waiting for the first
|
11762
|
+
# automated snapshot to be available.
|
11582
11763
|
#
|
11583
|
-
# * `
|
11584
|
-
#
|
11764
|
+
# * `retained` - Automated backups for deleted instances and after
|
11765
|
+
# backup replication is stopped.
|
11585
11766
|
#
|
11586
11767
|
# * `db-instance-id` - Accepts DB instance identifiers and Amazon
|
11587
11768
|
# Resource Names (ARNs). The results list includes only information
|
@@ -23040,7 +23221,7 @@ module Aws::RDS
|
|
23040
23221
|
#
|
23041
23222
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
23042
23223
|
#
|
23043
|
-
# @option params [
|
23224
|
+
# @option params [String] :source_db_cluster_identifier
|
23044
23225
|
# The identifier of the source DB cluster from which to restore.
|
23045
23226
|
#
|
23046
23227
|
# Constraints:
|
@@ -23401,6 +23582,9 @@ module Aws::RDS
|
|
23401
23582
|
#
|
23402
23583
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
23403
23584
|
#
|
23585
|
+
# @option params [String] :source_db_cluster_resource_id
|
23586
|
+
# The resource ID of the source DB cluster from which to restore.
|
23587
|
+
#
|
23404
23588
|
# @return [Types::RestoreDBClusterToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
23405
23589
|
#
|
23406
23590
|
# * {Types::RestoreDBClusterToPointInTimeResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -23475,7 +23659,7 @@ module Aws::RDS
|
|
23475
23659
|
# resp = client.restore_db_cluster_to_point_in_time({
|
23476
23660
|
# db_cluster_identifier: "String", # required
|
23477
23661
|
# restore_type: "String",
|
23478
|
-
# source_db_cluster_identifier: "String",
|
23662
|
+
# source_db_cluster_identifier: "String",
|
23479
23663
|
# restore_to_time: Time.now,
|
23480
23664
|
# use_latest_restorable_time: false,
|
23481
23665
|
# port: 1,
|
@@ -23515,6 +23699,7 @@ module Aws::RDS
|
|
23515
23699
|
# max_capacity: 1.0,
|
23516
23700
|
# },
|
23517
23701
|
# network_type: "String",
|
23702
|
+
# source_db_cluster_resource_id: "String",
|
23518
23703
|
# })
|
23519
23704
|
#
|
23520
23705
|
# @example Response structure
|
@@ -27916,7 +28101,7 @@ module Aws::RDS
|
|
27916
28101
|
params: params,
|
27917
28102
|
config: config)
|
27918
28103
|
context[:gem_name] = 'aws-sdk-rds'
|
27919
|
-
context[:gem_version] = '1.
|
28104
|
+
context[:gem_version] = '1.189.0'
|
27920
28105
|
Seahorse::Client::Request.new(handlers, context)
|
27921
28106
|
end
|
27922
28107
|
|
@@ -127,6 +127,11 @@ module Aws::RDS
|
|
127
127
|
CustomEngineVersionStatus = Shapes::StringShape.new(name: 'CustomEngineVersionStatus')
|
128
128
|
DBCluster = Shapes::StructureShape.new(name: 'DBCluster')
|
129
129
|
DBClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBClusterAlreadyExistsFault')
|
130
|
+
DBClusterAutomatedBackup = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackup')
|
131
|
+
DBClusterAutomatedBackupList = Shapes::ListShape.new(name: 'DBClusterAutomatedBackupList')
|
132
|
+
DBClusterAutomatedBackupMessage = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackupMessage')
|
133
|
+
DBClusterAutomatedBackupNotFoundFault = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackupNotFoundFault')
|
134
|
+
DBClusterAutomatedBackupQuotaExceededFault = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackupQuotaExceededFault')
|
130
135
|
DBClusterBacktrack = Shapes::StructureShape.new(name: 'DBClusterBacktrack')
|
131
136
|
DBClusterBacktrackList = Shapes::ListShape.new(name: 'DBClusterBacktrackList')
|
132
137
|
DBClusterBacktrackMessage = Shapes::StructureShape.new(name: 'DBClusterBacktrackMessage')
|
@@ -251,6 +256,8 @@ module Aws::RDS
|
|
251
256
|
DeleteBlueGreenDeploymentRequest = Shapes::StructureShape.new(name: 'DeleteBlueGreenDeploymentRequest')
|
252
257
|
DeleteBlueGreenDeploymentResponse = Shapes::StructureShape.new(name: 'DeleteBlueGreenDeploymentResponse')
|
253
258
|
DeleteCustomDBEngineVersionMessage = Shapes::StructureShape.new(name: 'DeleteCustomDBEngineVersionMessage')
|
259
|
+
DeleteDBClusterAutomatedBackupMessage = Shapes::StructureShape.new(name: 'DeleteDBClusterAutomatedBackupMessage')
|
260
|
+
DeleteDBClusterAutomatedBackupResult = Shapes::StructureShape.new(name: 'DeleteDBClusterAutomatedBackupResult')
|
254
261
|
DeleteDBClusterEndpointMessage = Shapes::StructureShape.new(name: 'DeleteDBClusterEndpointMessage')
|
255
262
|
DeleteDBClusterMessage = Shapes::StructureShape.new(name: 'DeleteDBClusterMessage')
|
256
263
|
DeleteDBClusterParameterGroupMessage = Shapes::StructureShape.new(name: 'DeleteDBClusterParameterGroupMessage')
|
@@ -281,6 +288,7 @@ module Aws::RDS
|
|
281
288
|
DescribeBlueGreenDeploymentsRequest = Shapes::StructureShape.new(name: 'DescribeBlueGreenDeploymentsRequest')
|
282
289
|
DescribeBlueGreenDeploymentsResponse = Shapes::StructureShape.new(name: 'DescribeBlueGreenDeploymentsResponse')
|
283
290
|
DescribeCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeCertificatesMessage')
|
291
|
+
DescribeDBClusterAutomatedBackupsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterAutomatedBackupsMessage')
|
284
292
|
DescribeDBClusterBacktracksMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterBacktracksMessage')
|
285
293
|
DescribeDBClusterEndpointsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterEndpointsMessage')
|
286
294
|
DescribeDBClusterParameterGroupsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParameterGroupsMessage')
|
@@ -396,6 +404,7 @@ module Aws::RDS
|
|
396
404
|
IntegerOptional = Shapes::IntegerShape.new(name: 'IntegerOptional')
|
397
405
|
InvalidBlueGreenDeploymentStateFault = Shapes::StructureShape.new(name: 'InvalidBlueGreenDeploymentStateFault')
|
398
406
|
InvalidCustomDBEngineVersionStateFault = Shapes::StructureShape.new(name: 'InvalidCustomDBEngineVersionStateFault')
|
407
|
+
InvalidDBClusterAutomatedBackupStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterAutomatedBackupStateFault')
|
399
408
|
InvalidDBClusterCapacityFault = Shapes::StructureShape.new(name: 'InvalidDBClusterCapacityFault')
|
400
409
|
InvalidDBClusterEndpointStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterEndpointStateFault')
|
401
410
|
InvalidDBClusterSnapshotStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterSnapshotStateFault')
|
@@ -1271,6 +1280,41 @@ module Aws::RDS
|
|
1271
1280
|
|
1272
1281
|
DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
|
1273
1282
|
|
1283
|
+
DBClusterAutomatedBackup.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
1284
|
+
DBClusterAutomatedBackup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
|
1285
|
+
DBClusterAutomatedBackup.add_member(:db_cluster_automated_backups_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterAutomatedBackupsArn"))
|
1286
|
+
DBClusterAutomatedBackup.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
1287
|
+
DBClusterAutomatedBackup.add_member(:restore_window, Shapes::ShapeRef.new(shape: RestoreWindow, location_name: "RestoreWindow"))
|
1288
|
+
DBClusterAutomatedBackup.add_member(:master_username, Shapes::ShapeRef.new(shape: String, location_name: "MasterUsername"))
|
1289
|
+
DBClusterAutomatedBackup.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
|
1290
|
+
DBClusterAutomatedBackup.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
|
1291
|
+
DBClusterAutomatedBackup.add_member(:license_model, Shapes::ShapeRef.new(shape: String, location_name: "LicenseModel"))
|
1292
|
+
DBClusterAutomatedBackup.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
1293
|
+
DBClusterAutomatedBackup.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
|
1294
|
+
DBClusterAutomatedBackup.add_member(:cluster_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ClusterCreateTime"))
|
1295
|
+
DBClusterAutomatedBackup.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "StorageEncrypted"))
|
1296
|
+
DBClusterAutomatedBackup.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: Integer, location_name: "AllocatedStorage"))
|
1297
|
+
DBClusterAutomatedBackup.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
1298
|
+
DBClusterAutomatedBackup.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
|
1299
|
+
DBClusterAutomatedBackup.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
1300
|
+
DBClusterAutomatedBackup.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
1301
|
+
DBClusterAutomatedBackup.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
1302
|
+
DBClusterAutomatedBackup.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
|
1303
|
+
DBClusterAutomatedBackup.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
1304
|
+
DBClusterAutomatedBackup.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
|
1305
|
+
DBClusterAutomatedBackup.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Iops"))
|
1306
|
+
DBClusterAutomatedBackup.struct_class = Types::DBClusterAutomatedBackup
|
1307
|
+
|
1308
|
+
DBClusterAutomatedBackupList.member = Shapes::ShapeRef.new(shape: DBClusterAutomatedBackup, location_name: "DBClusterAutomatedBackup")
|
1309
|
+
|
1310
|
+
DBClusterAutomatedBackupMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1311
|
+
DBClusterAutomatedBackupMessage.add_member(:db_cluster_automated_backups, Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupList, location_name: "DBClusterAutomatedBackups"))
|
1312
|
+
DBClusterAutomatedBackupMessage.struct_class = Types::DBClusterAutomatedBackupMessage
|
1313
|
+
|
1314
|
+
DBClusterAutomatedBackupNotFoundFault.struct_class = Types::DBClusterAutomatedBackupNotFoundFault
|
1315
|
+
|
1316
|
+
DBClusterAutomatedBackupQuotaExceededFault.struct_class = Types::DBClusterAutomatedBackupQuotaExceededFault
|
1317
|
+
|
1274
1318
|
DBClusterBacktrack.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
1275
1319
|
DBClusterBacktrack.add_member(:backtrack_identifier, Shapes::ShapeRef.new(shape: String, location_name: "BacktrackIdentifier"))
|
1276
1320
|
DBClusterBacktrack.add_member(:backtrack_to, Shapes::ShapeRef.new(shape: TStamp, location_name: "BacktrackTo"))
|
@@ -1400,6 +1444,7 @@ module Aws::RDS
|
|
1400
1444
|
DBClusterSnapshot.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
1401
1445
|
DBClusterSnapshot.add_member(:db_system_id, Shapes::ShapeRef.new(shape: String, location_name: "DBSystemId"))
|
1402
1446
|
DBClusterSnapshot.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
|
1447
|
+
DBClusterSnapshot.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
|
1403
1448
|
DBClusterSnapshot.struct_class = Types::DBClusterSnapshot
|
1404
1449
|
|
1405
1450
|
DBClusterSnapshotAlreadyExistsFault.struct_class = Types::DBClusterSnapshotAlreadyExistsFault
|
@@ -1854,12 +1899,19 @@ module Aws::RDS
|
|
1854
1899
|
DeleteCustomDBEngineVersionMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: CustomEngineVersion, required: true, location_name: "EngineVersion"))
|
1855
1900
|
DeleteCustomDBEngineVersionMessage.struct_class = Types::DeleteCustomDBEngineVersionMessage
|
1856
1901
|
|
1902
|
+
DeleteDBClusterAutomatedBackupMessage.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DbClusterResourceId"))
|
1903
|
+
DeleteDBClusterAutomatedBackupMessage.struct_class = Types::DeleteDBClusterAutomatedBackupMessage
|
1904
|
+
|
1905
|
+
DeleteDBClusterAutomatedBackupResult.add_member(:db_cluster_automated_backup, Shapes::ShapeRef.new(shape: DBClusterAutomatedBackup, location_name: "DBClusterAutomatedBackup"))
|
1906
|
+
DeleteDBClusterAutomatedBackupResult.struct_class = Types::DeleteDBClusterAutomatedBackupResult
|
1907
|
+
|
1857
1908
|
DeleteDBClusterEndpointMessage.add_member(:db_cluster_endpoint_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterEndpointIdentifier"))
|
1858
1909
|
DeleteDBClusterEndpointMessage.struct_class = Types::DeleteDBClusterEndpointMessage
|
1859
1910
|
|
1860
1911
|
DeleteDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1861
1912
|
DeleteDBClusterMessage.add_member(:skip_final_snapshot, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipFinalSnapshot"))
|
1862
1913
|
DeleteDBClusterMessage.add_member(:final_db_snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "FinalDBSnapshotIdentifier"))
|
1914
|
+
DeleteDBClusterMessage.add_member(:delete_automated_backups, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeleteAutomatedBackups"))
|
1863
1915
|
DeleteDBClusterMessage.struct_class = Types::DeleteDBClusterMessage
|
1864
1916
|
|
1865
1917
|
DeleteDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
|
@@ -1958,6 +2010,13 @@ module Aws::RDS
|
|
1958
2010
|
DescribeCertificatesMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1959
2011
|
DescribeCertificatesMessage.struct_class = Types::DescribeCertificatesMessage
|
1960
2012
|
|
2013
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
|
2014
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
2015
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
2016
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
2017
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
2018
|
+
DescribeDBClusterAutomatedBackupsMessage.struct_class = Types::DescribeDBClusterAutomatedBackupsMessage
|
2019
|
+
|
1961
2020
|
DescribeDBClusterBacktracksMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1962
2021
|
DescribeDBClusterBacktracksMessage.add_member(:backtrack_identifier, Shapes::ShapeRef.new(shape: String, location_name: "BacktrackIdentifier"))
|
1963
2022
|
DescribeDBClusterBacktracksMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
@@ -1999,6 +2058,7 @@ module Aws::RDS
|
|
1999
2058
|
DescribeDBClusterSnapshotsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
2000
2059
|
DescribeDBClusterSnapshotsMessage.add_member(:include_shared, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeShared"))
|
2001
2060
|
DescribeDBClusterSnapshotsMessage.add_member(:include_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludePublic"))
|
2061
|
+
DescribeDBClusterSnapshotsMessage.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
|
2002
2062
|
DescribeDBClusterSnapshotsMessage.struct_class = Types::DescribeDBClusterSnapshotsMessage
|
2003
2063
|
|
2004
2064
|
DescribeDBClustersMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
@@ -2471,6 +2531,8 @@ module Aws::RDS
|
|
2471
2531
|
|
2472
2532
|
InvalidCustomDBEngineVersionStateFault.struct_class = Types::InvalidCustomDBEngineVersionStateFault
|
2473
2533
|
|
2534
|
+
InvalidDBClusterAutomatedBackupStateFault.struct_class = Types::InvalidDBClusterAutomatedBackupStateFault
|
2535
|
+
|
2474
2536
|
InvalidDBClusterCapacityFault.struct_class = Types::InvalidDBClusterCapacityFault
|
2475
2537
|
|
2476
2538
|
InvalidDBClusterEndpointStateFault.struct_class = Types::InvalidDBClusterEndpointStateFault
|
@@ -3257,7 +3319,7 @@ module Aws::RDS
|
|
3257
3319
|
|
3258
3320
|
RestoreDBClusterToPointInTimeMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
3259
3321
|
RestoreDBClusterToPointInTimeMessage.add_member(:restore_type, Shapes::ShapeRef.new(shape: String, location_name: "RestoreType"))
|
3260
|
-
RestoreDBClusterToPointInTimeMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String,
|
3322
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterIdentifier"))
|
3261
3323
|
RestoreDBClusterToPointInTimeMessage.add_member(:restore_to_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "RestoreToTime"))
|
3262
3324
|
RestoreDBClusterToPointInTimeMessage.add_member(:use_latest_restorable_time, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseLatestRestorableTime"))
|
3263
3325
|
RestoreDBClusterToPointInTimeMessage.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
|
@@ -3282,6 +3344,7 @@ module Aws::RDS
|
|
3282
3344
|
RestoreDBClusterToPointInTimeMessage.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Iops"))
|
3283
3345
|
RestoreDBClusterToPointInTimeMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
|
3284
3346
|
RestoreDBClusterToPointInTimeMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
3347
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:source_db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "SourceDbClusterResourceId"))
|
3285
3348
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
3286
3349
|
|
3287
3350
|
RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
@@ -4164,6 +4227,17 @@ module Aws::RDS
|
|
4164
4227
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterSnapshotAlreadyExistsFault)
|
4165
4228
|
o.errors << Shapes::ShapeRef.new(shape: SnapshotQuotaExceededFault)
|
4166
4229
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterSnapshotStateFault)
|
4230
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupQuotaExceededFault)
|
4231
|
+
end)
|
4232
|
+
|
4233
|
+
api.add_operation(:delete_db_cluster_automated_backup, Seahorse::Model::Operation.new.tap do |o|
|
4234
|
+
o.name = "DeleteDBClusterAutomatedBackup"
|
4235
|
+
o.http_method = "POST"
|
4236
|
+
o.http_request_uri = "/"
|
4237
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDBClusterAutomatedBackupMessage)
|
4238
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteDBClusterAutomatedBackupResult)
|
4239
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterAutomatedBackupStateFault)
|
4240
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupNotFoundFault)
|
4167
4241
|
end)
|
4168
4242
|
|
4169
4243
|
api.add_operation(:delete_db_cluster_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4362,6 +4436,15 @@ module Aws::RDS
|
|
4362
4436
|
)
|
4363
4437
|
end)
|
4364
4438
|
|
4439
|
+
api.add_operation(:describe_db_cluster_automated_backups, Seahorse::Model::Operation.new.tap do |o|
|
4440
|
+
o.name = "DescribeDBClusterAutomatedBackups"
|
4441
|
+
o.http_method = "POST"
|
4442
|
+
o.http_request_uri = "/"
|
4443
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeDBClusterAutomatedBackupsMessage)
|
4444
|
+
o.output = Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupMessage)
|
4445
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupNotFoundFault)
|
4446
|
+
end)
|
4447
|
+
|
4365
4448
|
api.add_operation(:describe_db_cluster_backtracks, Seahorse::Model::Operation.new.tap do |o|
|
4366
4449
|
o.name = "DescribeDBClusterBacktracks"
|
4367
4450
|
o.http_method = "POST"
|
@@ -5385,6 +5468,7 @@ module Aws::RDS
|
|
5385
5468
|
o.errors << Shapes::ShapeRef.new(shape: StorageQuotaExceededFault)
|
5386
5469
|
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
5387
5470
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterParameterGroupNotFoundFault)
|
5471
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupNotFoundFault)
|
5388
5472
|
end)
|
5389
5473
|
|
5390
5474
|
api.add_operation(:restore_db_instance_from_db_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1661,6 +1661,7 @@ module Aws::RDS
|
|
1661
1661
|
# dbcluster = db_cluster.delete({
|
1662
1662
|
# skip_final_snapshot: false,
|
1663
1663
|
# final_db_snapshot_identifier: "String",
|
1664
|
+
# delete_automated_backups: false,
|
1664
1665
|
# })
|
1665
1666
|
# @param [Hash] options ({})
|
1666
1667
|
# @option options [Boolean] :skip_final_snapshot
|
@@ -1692,6 +1693,11 @@ module Aws::RDS
|
|
1692
1693
|
# * First character must be a letter
|
1693
1694
|
#
|
1694
1695
|
# * Can't end with a hyphen or contain two consecutive hyphens
|
1696
|
+
# @option options [Boolean] :delete_automated_backups
|
1697
|
+
# A value that indicates whether to remove automated backups immediately
|
1698
|
+
# after the DB cluster is deleted. This parameter isn't case-sensitive.
|
1699
|
+
# The default is to remove automated backups immediately after the DB
|
1700
|
+
# cluster is deleted.
|
1695
1701
|
# @return [DBCluster]
|
1696
1702
|
def delete(options = {})
|
1697
1703
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -2460,6 +2466,7 @@ module Aws::RDS
|
|
2460
2466
|
# max_capacity: 1.0,
|
2461
2467
|
# },
|
2462
2468
|
# network_type: "String",
|
2469
|
+
# source_db_cluster_resource_id: "String",
|
2463
2470
|
# })
|
2464
2471
|
# @param [Hash] options ({})
|
2465
2472
|
# @option options [required, String] :db_cluster_identifier
|
@@ -2814,6 +2821,8 @@ module Aws::RDS
|
|
2814
2821
|
#
|
2815
2822
|
#
|
2816
2823
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
2824
|
+
# @option options [String] :source_db_cluster_resource_id
|
2825
|
+
# The resource ID of the source DB cluster from which to restore.
|
2817
2826
|
# @return [DBCluster]
|
2818
2827
|
def restore(options = {})
|
2819
2828
|
options = options.merge(source_db_cluster_identifier: @id)
|
@@ -2950,6 +2959,7 @@ module Aws::RDS
|
|
2950
2959
|
# ],
|
2951
2960
|
# include_shared: false,
|
2952
2961
|
# include_public: false,
|
2962
|
+
# db_cluster_resource_id: "String",
|
2953
2963
|
# })
|
2954
2964
|
# @param [Hash] options ({})
|
2955
2965
|
# @option options [String] :db_cluster_snapshot_identifier
|
@@ -3021,6 +3031,8 @@ module Aws::RDS
|
|
3021
3031
|
#
|
3022
3032
|
# You can share a manual DB cluster snapshot as public by using the
|
3023
3033
|
# ModifyDBClusterSnapshotAttribute API action.
|
3034
|
+
# @option options [String] :db_cluster_resource_id
|
3035
|
+
# A specific DB cluster resource ID to describe.
|
3024
3036
|
# @return [DBClusterSnapshot::Collection]
|
3025
3037
|
def snapshots(options = {})
|
3026
3038
|
batches = Enumerator.new do |y|
|
@@ -159,7 +159,7 @@ module Aws::RDS
|
|
159
159
|
data[:kms_key_id]
|
160
160
|
end
|
161
161
|
|
162
|
-
#
|
162
|
+
# Specifies the Amazon Resource Name (ARN) for the DB cluster snapshot.
|
163
163
|
# @return [String]
|
164
164
|
def db_cluster_snapshot_arn
|
165
165
|
data[:db_cluster_snapshot_arn]
|
@@ -205,6 +205,13 @@ module Aws::RDS
|
|
205
205
|
data[:storage_type]
|
206
206
|
end
|
207
207
|
|
208
|
+
# Specifies the resource ID of the DB cluster that this DB cluster
|
209
|
+
# snapshot was created from.
|
210
|
+
# @return [String]
|
211
|
+
def db_cluster_resource_id
|
212
|
+
data[:db_cluster_resource_id]
|
213
|
+
end
|
214
|
+
|
208
215
|
# @!endgroup
|
209
216
|
|
210
217
|
# @return [Client]
|
@@ -474,6 +474,20 @@ module Aws::RDS
|
|
474
474
|
end
|
475
475
|
end
|
476
476
|
|
477
|
+
class DeleteDBClusterAutomatedBackup
|
478
|
+
def self.build(context)
|
479
|
+
unless context.config.regional_endpoint
|
480
|
+
endpoint = context.config.endpoint.to_s
|
481
|
+
end
|
482
|
+
Aws::RDS::EndpointParameters.new(
|
483
|
+
region: context.config.region,
|
484
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
485
|
+
use_fips: context.config.use_fips_endpoint,
|
486
|
+
endpoint: endpoint,
|
487
|
+
)
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
477
491
|
class DeleteDBClusterEndpoint
|
478
492
|
def self.build(context)
|
479
493
|
unless context.config.regional_endpoint
|
@@ -726,6 +740,20 @@ module Aws::RDS
|
|
726
740
|
end
|
727
741
|
end
|
728
742
|
|
743
|
+
class DescribeDBClusterAutomatedBackups
|
744
|
+
def self.build(context)
|
745
|
+
unless context.config.regional_endpoint
|
746
|
+
endpoint = context.config.endpoint.to_s
|
747
|
+
end
|
748
|
+
Aws::RDS::EndpointParameters.new(
|
749
|
+
region: context.config.region,
|
750
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
751
|
+
use_fips: context.config.use_fips_endpoint,
|
752
|
+
endpoint: endpoint,
|
753
|
+
)
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
729
757
|
class DescribeDBClusterBacktracks
|
730
758
|
def self.build(context)
|
731
759
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-rds/errors.rb
CHANGED
@@ -40,6 +40,8 @@ module Aws::RDS
|
|
40
40
|
# * {CustomDBEngineVersionNotFoundFault}
|
41
41
|
# * {CustomDBEngineVersionQuotaExceededFault}
|
42
42
|
# * {DBClusterAlreadyExistsFault}
|
43
|
+
# * {DBClusterAutomatedBackupNotFoundFault}
|
44
|
+
# * {DBClusterAutomatedBackupQuotaExceededFault}
|
43
45
|
# * {DBClusterBacktrackNotFoundFault}
|
44
46
|
# * {DBClusterEndpointAlreadyExistsFault}
|
45
47
|
# * {DBClusterEndpointNotFoundFault}
|
@@ -102,6 +104,7 @@ module Aws::RDS
|
|
102
104
|
# * {InsufficientStorageClusterCapacityFault}
|
103
105
|
# * {InvalidBlueGreenDeploymentStateFault}
|
104
106
|
# * {InvalidCustomDBEngineVersionStateFault}
|
107
|
+
# * {InvalidDBClusterAutomatedBackupStateFault}
|
105
108
|
# * {InvalidDBClusterCapacityFault}
|
106
109
|
# * {InvalidDBClusterEndpointStateFault}
|
107
110
|
# * {InvalidDBClusterSnapshotStateFault}
|
@@ -290,6 +293,26 @@ module Aws::RDS
|
|
290
293
|
end
|
291
294
|
end
|
292
295
|
|
296
|
+
class DBClusterAutomatedBackupNotFoundFault < ServiceError
|
297
|
+
|
298
|
+
# @param [Seahorse::Client::RequestContext] context
|
299
|
+
# @param [String] message
|
300
|
+
# @param [Aws::RDS::Types::DBClusterAutomatedBackupNotFoundFault] data
|
301
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
302
|
+
super(context, message, data)
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
class DBClusterAutomatedBackupQuotaExceededFault < ServiceError
|
307
|
+
|
308
|
+
# @param [Seahorse::Client::RequestContext] context
|
309
|
+
# @param [String] message
|
310
|
+
# @param [Aws::RDS::Types::DBClusterAutomatedBackupQuotaExceededFault] data
|
311
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
312
|
+
super(context, message, data)
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
293
316
|
class DBClusterBacktrackNotFoundFault < ServiceError
|
294
317
|
|
295
318
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -910,6 +933,16 @@ module Aws::RDS
|
|
910
933
|
end
|
911
934
|
end
|
912
935
|
|
936
|
+
class InvalidDBClusterAutomatedBackupStateFault < ServiceError
|
937
|
+
|
938
|
+
# @param [Seahorse::Client::RequestContext] context
|
939
|
+
# @param [String] message
|
940
|
+
# @param [Aws::RDS::Types::InvalidDBClusterAutomatedBackupStateFault] data
|
941
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
942
|
+
super(context, message, data)
|
943
|
+
end
|
944
|
+
end
|
945
|
+
|
913
946
|
class InvalidDBClusterCapacityFault < ServiceError
|
914
947
|
|
915
948
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -122,6 +122,8 @@ module Aws::RDS
|
|
122
122
|
Aws::RDS::Endpoints::DeleteCustomDBEngineVersion.build(context)
|
123
123
|
when :delete_db_cluster
|
124
124
|
Aws::RDS::Endpoints::DeleteDBCluster.build(context)
|
125
|
+
when :delete_db_cluster_automated_backup
|
126
|
+
Aws::RDS::Endpoints::DeleteDBClusterAutomatedBackup.build(context)
|
125
127
|
when :delete_db_cluster_endpoint
|
126
128
|
Aws::RDS::Endpoints::DeleteDBClusterEndpoint.build(context)
|
127
129
|
when :delete_db_cluster_parameter_group
|
@@ -158,6 +160,8 @@ module Aws::RDS
|
|
158
160
|
Aws::RDS::Endpoints::DescribeBlueGreenDeployments.build(context)
|
159
161
|
when :describe_certificates
|
160
162
|
Aws::RDS::Endpoints::DescribeCertificates.build(context)
|
163
|
+
when :describe_db_cluster_automated_backups
|
164
|
+
Aws::RDS::Endpoints::DescribeDBClusterAutomatedBackups.build(context)
|
161
165
|
when :describe_db_cluster_backtracks
|
162
166
|
Aws::RDS::Endpoints::DescribeDBClusterBacktracks.build(context)
|
163
167
|
when :describe_db_cluster_endpoints
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -6514,6 +6514,195 @@ module Aws::RDS
|
|
6514
6514
|
#
|
6515
6515
|
class DBClusterAlreadyExistsFault < Aws::EmptyStructure; end
|
6516
6516
|
|
6517
|
+
# An automated backup of a DB cluster. It consists of system backups,
|
6518
|
+
# transaction logs, and the database cluster properties that existed at
|
6519
|
+
# the time you deleted the source cluster.
|
6520
|
+
#
|
6521
|
+
# @!attribute [rw] engine
|
6522
|
+
# The name of the database engine for this automated backup.
|
6523
|
+
# @return [String]
|
6524
|
+
#
|
6525
|
+
# @!attribute [rw] vpc_id
|
6526
|
+
# The VPC ID associated with the DB cluster.
|
6527
|
+
# @return [String]
|
6528
|
+
#
|
6529
|
+
# @!attribute [rw] db_cluster_automated_backups_arn
|
6530
|
+
# The Amazon Resource Name (ARN) for the automated backups.
|
6531
|
+
# @return [String]
|
6532
|
+
#
|
6533
|
+
# @!attribute [rw] db_cluster_identifier
|
6534
|
+
# The identifier for the source DB cluster, which can't be changed
|
6535
|
+
# and which is unique to an Amazon Web Services Region.
|
6536
|
+
# @return [String]
|
6537
|
+
#
|
6538
|
+
# @!attribute [rw] restore_window
|
6539
|
+
# Earliest and latest time an instance can be restored to:
|
6540
|
+
# @return [Types::RestoreWindow]
|
6541
|
+
#
|
6542
|
+
# @!attribute [rw] master_username
|
6543
|
+
# The master user name of the automated backup.
|
6544
|
+
# @return [String]
|
6545
|
+
#
|
6546
|
+
# @!attribute [rw] db_cluster_resource_id
|
6547
|
+
# The resource ID for the source DB cluster, which can't be changed
|
6548
|
+
# and which is unique to an Amazon Web Services Region.
|
6549
|
+
# @return [String]
|
6550
|
+
#
|
6551
|
+
# @!attribute [rw] region
|
6552
|
+
# The Amazon Web Services Region associated with the automated backup.
|
6553
|
+
# @return [String]
|
6554
|
+
#
|
6555
|
+
# @!attribute [rw] license_model
|
6556
|
+
# The license model information for this DB cluster automated backup.
|
6557
|
+
# @return [String]
|
6558
|
+
#
|
6559
|
+
# @!attribute [rw] status
|
6560
|
+
# A list of status information for an automated backup:
|
6561
|
+
#
|
6562
|
+
# * `retained` - Automated backups for deleted clusters.
|
6563
|
+
#
|
6564
|
+
# ^
|
6565
|
+
# @return [String]
|
6566
|
+
#
|
6567
|
+
# @!attribute [rw] iam_database_authentication_enabled
|
6568
|
+
# True if mapping of Amazon Web Services Identity and Access
|
6569
|
+
# Management (IAM) accounts to database accounts is enabled, and
|
6570
|
+
# otherwise false.
|
6571
|
+
# @return [Boolean]
|
6572
|
+
#
|
6573
|
+
# @!attribute [rw] cluster_create_time
|
6574
|
+
# The time when the DB cluster was created, in Universal Coordinated
|
6575
|
+
# Time (UTC).
|
6576
|
+
# @return [Time]
|
6577
|
+
#
|
6578
|
+
# @!attribute [rw] storage_encrypted
|
6579
|
+
# Specifies whether the source DB cluster is encrypted.
|
6580
|
+
# @return [Boolean]
|
6581
|
+
#
|
6582
|
+
# @!attribute [rw] allocated_storage
|
6583
|
+
# For all database engines except Amazon Aurora, `AllocatedStorage`
|
6584
|
+
# specifies the allocated storage size in gibibytes (GiB). For Aurora,
|
6585
|
+
# `AllocatedStorage` always returns 1, because Aurora DB cluster
|
6586
|
+
# storage size isn't fixed, but instead automatically adjusts as
|
6587
|
+
# needed.
|
6588
|
+
# @return [Integer]
|
6589
|
+
#
|
6590
|
+
# @!attribute [rw] engine_version
|
6591
|
+
# The version of the database engine for the automated backup.
|
6592
|
+
# @return [String]
|
6593
|
+
#
|
6594
|
+
# @!attribute [rw] db_cluster_arn
|
6595
|
+
# The Amazon Resource Name (ARN) for the source DB cluster.
|
6596
|
+
# @return [String]
|
6597
|
+
#
|
6598
|
+
# @!attribute [rw] backup_retention_period
|
6599
|
+
# The retention period for the automated backups.
|
6600
|
+
# @return [Integer]
|
6601
|
+
#
|
6602
|
+
# @!attribute [rw] engine_mode
|
6603
|
+
# The engine mode of the database engine for the automated backup.
|
6604
|
+
# @return [String]
|
6605
|
+
#
|
6606
|
+
# @!attribute [rw] availability_zones
|
6607
|
+
# The Availability Zones where instances in the DB cluster can be
|
6608
|
+
# created. For information on Amazon Web Services Regions and
|
6609
|
+
# Availability Zones, see [Regions and Availability Zones][1].
|
6610
|
+
#
|
6611
|
+
#
|
6612
|
+
#
|
6613
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html
|
6614
|
+
# @return [Array<String>]
|
6615
|
+
#
|
6616
|
+
# @!attribute [rw] port
|
6617
|
+
# The port number that the automated backup used for connections.
|
6618
|
+
#
|
6619
|
+
# Default: Inherits from the source DB cluster
|
6620
|
+
#
|
6621
|
+
# Valid Values: `1150-65535`
|
6622
|
+
# @return [Integer]
|
6623
|
+
#
|
6624
|
+
# @!attribute [rw] kms_key_id
|
6625
|
+
# The Amazon Web Services KMS key ID for an automated backup.
|
6626
|
+
#
|
6627
|
+
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
6628
|
+
# alias ARN, or alias name for the KMS key.
|
6629
|
+
# @return [String]
|
6630
|
+
#
|
6631
|
+
# @!attribute [rw] storage_type
|
6632
|
+
# The storage type associated with the DB cluster.
|
6633
|
+
#
|
6634
|
+
# This setting is only for non-Aurora Multi-AZ DB clusters.
|
6635
|
+
# @return [String]
|
6636
|
+
#
|
6637
|
+
# @!attribute [rw] iops
|
6638
|
+
# The IOPS (I/O operations per second) value for the automated backup.
|
6639
|
+
#
|
6640
|
+
# This setting is only for non-Aurora Multi-AZ DB clusters.
|
6641
|
+
# @return [Integer]
|
6642
|
+
#
|
6643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterAutomatedBackup AWS API Documentation
|
6644
|
+
#
|
6645
|
+
class DBClusterAutomatedBackup < Struct.new(
|
6646
|
+
:engine,
|
6647
|
+
:vpc_id,
|
6648
|
+
:db_cluster_automated_backups_arn,
|
6649
|
+
:db_cluster_identifier,
|
6650
|
+
:restore_window,
|
6651
|
+
:master_username,
|
6652
|
+
:db_cluster_resource_id,
|
6653
|
+
:region,
|
6654
|
+
:license_model,
|
6655
|
+
:status,
|
6656
|
+
:iam_database_authentication_enabled,
|
6657
|
+
:cluster_create_time,
|
6658
|
+
:storage_encrypted,
|
6659
|
+
:allocated_storage,
|
6660
|
+
:engine_version,
|
6661
|
+
:db_cluster_arn,
|
6662
|
+
:backup_retention_period,
|
6663
|
+
:engine_mode,
|
6664
|
+
:availability_zones,
|
6665
|
+
:port,
|
6666
|
+
:kms_key_id,
|
6667
|
+
:storage_type,
|
6668
|
+
:iops)
|
6669
|
+
SENSITIVE = []
|
6670
|
+
include Aws::Structure
|
6671
|
+
end
|
6672
|
+
|
6673
|
+
# @!attribute [rw] marker
|
6674
|
+
# The pagination token provided in the previous request. If this
|
6675
|
+
# parameter is specified the response includes only records beyond the
|
6676
|
+
# marker, up to `MaxRecords`.
|
6677
|
+
# @return [String]
|
6678
|
+
#
|
6679
|
+
# @!attribute [rw] db_cluster_automated_backups
|
6680
|
+
# A list of `DBClusterAutomatedBackup` backups.
|
6681
|
+
# @return [Array<Types::DBClusterAutomatedBackup>]
|
6682
|
+
#
|
6683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterAutomatedBackupMessage AWS API Documentation
|
6684
|
+
#
|
6685
|
+
class DBClusterAutomatedBackupMessage < Struct.new(
|
6686
|
+
:marker,
|
6687
|
+
:db_cluster_automated_backups)
|
6688
|
+
SENSITIVE = []
|
6689
|
+
include Aws::Structure
|
6690
|
+
end
|
6691
|
+
|
6692
|
+
# No automated backup for this DB cluster was found.
|
6693
|
+
#
|
6694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterAutomatedBackupNotFoundFault AWS API Documentation
|
6695
|
+
#
|
6696
|
+
class DBClusterAutomatedBackupNotFoundFault < Aws::EmptyStructure; end
|
6697
|
+
|
6698
|
+
# The quota for retained automated backups was exceeded. This prevents
|
6699
|
+
# you from retaining any additional automated backups. The retained
|
6700
|
+
# automated backups quota is the same as your DB cluster quota.
|
6701
|
+
#
|
6702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterAutomatedBackupQuotaExceededFault AWS API Documentation
|
6703
|
+
#
|
6704
|
+
class DBClusterAutomatedBackupQuotaExceededFault < Aws::EmptyStructure; end
|
6705
|
+
|
6517
6706
|
# This data type is used as a response element in the
|
6518
6707
|
# `DescribeDBClusterBacktracks` action.
|
6519
6708
|
#
|
@@ -7112,7 +7301,8 @@ module Aws::RDS
|
|
7112
7301
|
# @return [String]
|
7113
7302
|
#
|
7114
7303
|
# @!attribute [rw] db_cluster_snapshot_arn
|
7115
|
-
#
|
7304
|
+
# Specifies the Amazon Resource Name (ARN) for the DB cluster
|
7305
|
+
# snapshot.
|
7116
7306
|
# @return [String]
|
7117
7307
|
#
|
7118
7308
|
# @!attribute [rw] source_db_cluster_snapshot_arn
|
@@ -7146,6 +7336,11 @@ module Aws::RDS
|
|
7146
7336
|
# This setting is only for Aurora DB clusters.
|
7147
7337
|
# @return [String]
|
7148
7338
|
#
|
7339
|
+
# @!attribute [rw] db_cluster_resource_id
|
7340
|
+
# Specifies the resource ID of the DB cluster that this DB cluster
|
7341
|
+
# snapshot was created from.
|
7342
|
+
# @return [String]
|
7343
|
+
#
|
7149
7344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshot AWS API Documentation
|
7150
7345
|
#
|
7151
7346
|
class DBClusterSnapshot < Struct.new(
|
@@ -7172,7 +7367,8 @@ module Aws::RDS
|
|
7172
7367
|
:iam_database_authentication_enabled,
|
7173
7368
|
:tag_list,
|
7174
7369
|
:db_system_id,
|
7175
|
-
:storage_type
|
7370
|
+
:storage_type,
|
7371
|
+
:db_cluster_resource_id)
|
7176
7372
|
SENSITIVE = []
|
7177
7373
|
include Aws::Structure
|
7178
7374
|
end
|
@@ -8220,7 +8416,7 @@ module Aws::RDS
|
|
8220
8416
|
# @return [String]
|
8221
8417
|
#
|
8222
8418
|
# @!attribute [rw] dbi_resource_id
|
8223
|
-
# The
|
8419
|
+
# The resource ID for the source DB instance, which can't be changed
|
8224
8420
|
# and which is unique to an Amazon Web Services Region.
|
8225
8421
|
# @return [String]
|
8226
8422
|
#
|
@@ -8229,8 +8425,8 @@ module Aws::RDS
|
|
8229
8425
|
# @return [String]
|
8230
8426
|
#
|
8231
8427
|
# @!attribute [rw] db_instance_identifier
|
8232
|
-
# The
|
8233
|
-
#
|
8428
|
+
# The identifier for the source DB instance, which can't be changed
|
8429
|
+
# and which is unique to an Amazon Web Services Region.
|
8234
8430
|
# @return [String]
|
8235
8431
|
#
|
8236
8432
|
# @!attribute [rw] restore_window
|
@@ -8244,11 +8440,11 @@ module Aws::RDS
|
|
8244
8440
|
# @!attribute [rw] status
|
8245
8441
|
# Provides a list of status information for an automated backup:
|
8246
8442
|
#
|
8247
|
-
# * `active` -
|
8443
|
+
# * `active` - Automated backups for current instances.
|
8248
8444
|
#
|
8249
|
-
# * `retained` -
|
8445
|
+
# * `retained` - Automated backups for deleted instances.
|
8250
8446
|
#
|
8251
|
-
# * `creating` -
|
8447
|
+
# * `creating` - Automated backups that are waiting for the first
|
8252
8448
|
# automated snapshot to be available.
|
8253
8449
|
# @return [String]
|
8254
8450
|
#
|
@@ -8279,7 +8475,7 @@ module Aws::RDS
|
|
8279
8475
|
# @return [Time]
|
8280
8476
|
#
|
8281
8477
|
# @!attribute [rw] master_username
|
8282
|
-
# The
|
8478
|
+
# The master user name of an automated backup.
|
8283
8479
|
# @return [String]
|
8284
8480
|
#
|
8285
8481
|
# @!attribute [rw] engine
|
@@ -8422,7 +8618,7 @@ module Aws::RDS
|
|
8422
8618
|
|
8423
8619
|
# The quota for retained automated backups was exceeded. This prevents
|
8424
8620
|
# you from retaining any additional automated backups. The retained
|
8425
|
-
# automated backups quota is the same as your DB
|
8621
|
+
# automated backups quota is the same as your DB instance quota.
|
8426
8622
|
#
|
8427
8623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceAutomatedBackupQuotaExceededFault AWS API Documentation
|
8428
8624
|
#
|
@@ -9754,6 +9950,33 @@ module Aws::RDS
|
|
9754
9950
|
include Aws::Structure
|
9755
9951
|
end
|
9756
9952
|
|
9953
|
+
# @!attribute [rw] db_cluster_resource_id
|
9954
|
+
# The identifier for the source DB cluster, which can't be changed
|
9955
|
+
# and which is unique to an Amazon Web Services Region.
|
9956
|
+
# @return [String]
|
9957
|
+
#
|
9958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterAutomatedBackupMessage AWS API Documentation
|
9959
|
+
#
|
9960
|
+
class DeleteDBClusterAutomatedBackupMessage < Struct.new(
|
9961
|
+
:db_cluster_resource_id)
|
9962
|
+
SENSITIVE = []
|
9963
|
+
include Aws::Structure
|
9964
|
+
end
|
9965
|
+
|
9966
|
+
# @!attribute [rw] db_cluster_automated_backup
|
9967
|
+
# An automated backup of a DB cluster. It consists of system backups,
|
9968
|
+
# transaction logs, and the database cluster properties that existed
|
9969
|
+
# at the time you deleted the source cluster.
|
9970
|
+
# @return [Types::DBClusterAutomatedBackup]
|
9971
|
+
#
|
9972
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterAutomatedBackupResult AWS API Documentation
|
9973
|
+
#
|
9974
|
+
class DeleteDBClusterAutomatedBackupResult < Struct.new(
|
9975
|
+
:db_cluster_automated_backup)
|
9976
|
+
SENSITIVE = []
|
9977
|
+
include Aws::Structure
|
9978
|
+
end
|
9979
|
+
|
9757
9980
|
# @!attribute [rw] db_cluster_endpoint_identifier
|
9758
9981
|
# The identifier associated with the custom endpoint. This parameter
|
9759
9982
|
# is stored as a lowercase string.
|
@@ -9811,12 +10034,20 @@ module Aws::RDS
|
|
9811
10034
|
# * Can't end with a hyphen or contain two consecutive hyphens
|
9812
10035
|
# @return [String]
|
9813
10036
|
#
|
10037
|
+
# @!attribute [rw] delete_automated_backups
|
10038
|
+
# A value that indicates whether to remove automated backups
|
10039
|
+
# immediately after the DB cluster is deleted. This parameter isn't
|
10040
|
+
# case-sensitive. The default is to remove automated backups
|
10041
|
+
# immediately after the DB cluster is deleted.
|
10042
|
+
# @return [Boolean]
|
10043
|
+
#
|
9814
10044
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterMessage AWS API Documentation
|
9815
10045
|
#
|
9816
10046
|
class DeleteDBClusterMessage < Struct.new(
|
9817
10047
|
:db_cluster_identifier,
|
9818
10048
|
:skip_final_snapshot,
|
9819
|
-
:final_db_snapshot_identifier
|
10049
|
+
:final_db_snapshot_identifier,
|
10050
|
+
:delete_automated_backups)
|
9820
10051
|
SENSITIVE = []
|
9821
10052
|
include Aws::Structure
|
9822
10053
|
end
|
@@ -10426,6 +10657,68 @@ module Aws::RDS
|
|
10426
10657
|
include Aws::Structure
|
10427
10658
|
end
|
10428
10659
|
|
10660
|
+
# @!attribute [rw] db_cluster_resource_id
|
10661
|
+
# The resource ID of the DB cluster that is the source of the
|
10662
|
+
# automated backup. This parameter isn't case-sensitive.
|
10663
|
+
# @return [String]
|
10664
|
+
#
|
10665
|
+
# @!attribute [rw] db_cluster_identifier
|
10666
|
+
# (Optional) The user-supplied DB cluster identifier. If this
|
10667
|
+
# parameter is specified, it must match the identifier of an existing
|
10668
|
+
# DB cluster. It returns information from the specific DB cluster's
|
10669
|
+
# automated backup. This parameter isn't case-sensitive.
|
10670
|
+
# @return [String]
|
10671
|
+
#
|
10672
|
+
# @!attribute [rw] filters
|
10673
|
+
# A filter that specifies which resources to return based on status.
|
10674
|
+
#
|
10675
|
+
# Supported filters are the following:
|
10676
|
+
#
|
10677
|
+
# * `status`
|
10678
|
+
#
|
10679
|
+
# * `retained` - Automated backups for deleted clusters and after
|
10680
|
+
# backup replication is stopped.
|
10681
|
+
#
|
10682
|
+
# ^
|
10683
|
+
#
|
10684
|
+
# * `db-cluster-id` - Accepts DB cluster identifiers and Amazon
|
10685
|
+
# Resource Names (ARNs). The results list includes only information
|
10686
|
+
# about the DB cluster automated backups identified by these ARNs.
|
10687
|
+
#
|
10688
|
+
# * `db-cluster-resource-id` - Accepts DB resource identifiers and
|
10689
|
+
# Amazon Resource Names (ARNs). The results list includes only
|
10690
|
+
# information about the DB cluster resources identified by these
|
10691
|
+
# ARNs.
|
10692
|
+
#
|
10693
|
+
# Returns all resources by default. The status for each resource is
|
10694
|
+
# specified in the response.
|
10695
|
+
# @return [Array<Types::Filter>]
|
10696
|
+
#
|
10697
|
+
# @!attribute [rw] max_records
|
10698
|
+
# The maximum number of records to include in the response. If more
|
10699
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
10700
|
+
# token called a marker is included in the response so that you can
|
10701
|
+
# retrieve the remaining results.
|
10702
|
+
# @return [Integer]
|
10703
|
+
#
|
10704
|
+
# @!attribute [rw] marker
|
10705
|
+
# The pagination token provided in the previous request. If this
|
10706
|
+
# parameter is specified the response includes only records beyond the
|
10707
|
+
# marker, up to `MaxRecords`.
|
10708
|
+
# @return [String]
|
10709
|
+
#
|
10710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterAutomatedBackupsMessage AWS API Documentation
|
10711
|
+
#
|
10712
|
+
class DescribeDBClusterAutomatedBackupsMessage < Struct.new(
|
10713
|
+
:db_cluster_resource_id,
|
10714
|
+
:db_cluster_identifier,
|
10715
|
+
:filters,
|
10716
|
+
:max_records,
|
10717
|
+
:marker)
|
10718
|
+
SENSITIVE = []
|
10719
|
+
include Aws::Structure
|
10720
|
+
end
|
10721
|
+
|
10429
10722
|
# @!attribute [rw] db_cluster_identifier
|
10430
10723
|
# The DB cluster identifier of the DB cluster to be described. This
|
10431
10724
|
# parameter is stored as a lowercase string.
|
@@ -10811,6 +11104,10 @@ module Aws::RDS
|
|
10811
11104
|
# ModifyDBClusterSnapshotAttribute API action.
|
10812
11105
|
# @return [Boolean]
|
10813
11106
|
#
|
11107
|
+
# @!attribute [rw] db_cluster_resource_id
|
11108
|
+
# A specific DB cluster resource ID to describe.
|
11109
|
+
# @return [String]
|
11110
|
+
#
|
10814
11111
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotsMessage AWS API Documentation
|
10815
11112
|
#
|
10816
11113
|
class DescribeDBClusterSnapshotsMessage < Struct.new(
|
@@ -10821,7 +11118,8 @@ module Aws::RDS
|
|
10821
11118
|
:max_records,
|
10822
11119
|
:marker,
|
10823
11120
|
:include_shared,
|
10824
|
-
:include_public
|
11121
|
+
:include_public,
|
11122
|
+
:db_cluster_resource_id)
|
10825
11123
|
SENSITIVE = []
|
10826
11124
|
include Aws::Structure
|
10827
11125
|
end
|
@@ -11072,7 +11370,7 @@ module Aws::RDS
|
|
11072
11370
|
# @!attribute [rw] db_instance_identifier
|
11073
11371
|
# (Optional) The user-supplied instance identifier. If this parameter
|
11074
11372
|
# is specified, it must match the identifier of an existing DB
|
11075
|
-
# instance. It returns information from the specific DB instance'
|
11373
|
+
# instance. It returns information from the specific DB instance's
|
11076
11374
|
# automated backup. This parameter isn't case-sensitive.
|
11077
11375
|
# @return [String]
|
11078
11376
|
#
|
@@ -11083,13 +11381,13 @@ module Aws::RDS
|
|
11083
11381
|
#
|
11084
11382
|
# * `status`
|
11085
11383
|
#
|
11086
|
-
# * `active` -
|
11384
|
+
# * `active` - Automated backups for current instances.
|
11087
11385
|
#
|
11088
|
-
# * `
|
11089
|
-
#
|
11386
|
+
# * `creating` - Automated backups that are waiting for the first
|
11387
|
+
# automated snapshot to be available.
|
11090
11388
|
#
|
11091
|
-
# * `
|
11092
|
-
#
|
11389
|
+
# * `retained` - Automated backups for deleted instances and after
|
11390
|
+
# backup replication is stopped.
|
11093
11391
|
#
|
11094
11392
|
# * `db-instance-id` - Accepts DB instance identifiers and Amazon
|
11095
11393
|
# Resource Names (ARNs). The results list includes only information
|
@@ -13993,6 +14291,13 @@ module Aws::RDS
|
|
13993
14291
|
#
|
13994
14292
|
class InvalidCustomDBEngineVersionStateFault < Aws::EmptyStructure; end
|
13995
14293
|
|
14294
|
+
# The automated backup is in an invalid state. For example, this
|
14295
|
+
# automated backup is associated with an active cluster.
|
14296
|
+
#
|
14297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/InvalidDBClusterAutomatedBackupStateFault AWS API Documentation
|
14298
|
+
#
|
14299
|
+
class InvalidDBClusterAutomatedBackupStateFault < Aws::EmptyStructure; end
|
14300
|
+
|
13996
14301
|
# `Capacity` isn't a valid Aurora Serverless DB cluster capacity. Valid
|
13997
14302
|
# capacity values are `2`, `4`, `8`, `16`, `32`, `64`, `128`, and `256`.
|
13998
14303
|
#
|
@@ -20631,6 +20936,10 @@ module Aws::RDS
|
|
20631
20936
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
20632
20937
|
# @return [String]
|
20633
20938
|
#
|
20939
|
+
# @!attribute [rw] source_db_cluster_resource_id
|
20940
|
+
# The resource ID of the source DB cluster from which to restore.
|
20941
|
+
# @return [String]
|
20942
|
+
#
|
20634
20943
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage AWS API Documentation
|
20635
20944
|
#
|
20636
20945
|
class RestoreDBClusterToPointInTimeMessage < Struct.new(
|
@@ -20660,7 +20969,8 @@ module Aws::RDS
|
|
20660
20969
|
:publicly_accessible,
|
20661
20970
|
:iops,
|
20662
20971
|
:serverless_v2_scaling_configuration,
|
20663
|
-
:network_type
|
20972
|
+
:network_type,
|
20973
|
+
:source_db_cluster_resource_id)
|
20664
20974
|
SENSITIVE = []
|
20665
20975
|
include Aws::Structure
|
20666
20976
|
end
|
data/lib/aws-sdk-rds.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.189.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|