aws-sdk-rds 1.249.0 → 1.250.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 +46 -17
- data/lib/aws-sdk-rds/client_api.rb +3 -5
- data/lib/aws-sdk-rds/db_instance.rb +13 -6
- data/lib/aws-sdk-rds/errors.rb +0 -11
- data/lib/aws-sdk-rds/types.rb +52 -34
- data/lib/aws-sdk-rds.rb +40 -38
- data/sig/client.rbs +6 -1
- data/sig/errors.rbs +0 -2
- data/sig/types.rbs +2 -3
- 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: 410f05e388c57b7bc034959b0c876ab209ac6baa7c87023686b80e190dcd7055
|
4
|
+
data.tar.gz: b79cf31acde265cedf37731d8241ff0a0934173e3ff2c2484ddb493876559bf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d328dfdbcf7a4c6b2854f47699215694d2cece3a062a31dd4855f022c7b4a16478b72062a0f866f892f6d327ec9d2c3415910dda1aebc6a72ed37316c13d9c1
|
7
|
+
data.tar.gz: edd917a58be1c4ced7f3a615935bf7828ecad0c43d879c9f331b6bb85b6f55219f4a0c1a8c90b582cf93c8b774a47a27e13eb1d0d0a289d4751f8a49f85f5e94
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.250.0 (2024-09-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Support ComputeRedundancy parameter in ModifyDBShardGroup API. Add DBShardGroupArn in DBShardGroup API response. Remove InvalidMaxAcuFault from CreateDBShardGroup and ModifyDBShardGroup API. Both API will throw InvalidParameterValueException for invalid ACU configuration.
|
8
|
+
|
4
9
|
1.249.0 (2024-09-20)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.250.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -6090,17 +6090,24 @@ module Aws::RDS
|
|
6090
6090
|
# This setting doesn't apply to RDS Custom DB instances.
|
6091
6091
|
#
|
6092
6092
|
# @option params [String] :db_parameter_group_name
|
6093
|
-
# The name of the DB parameter group to associate with this
|
6093
|
+
# The name of the DB parameter group to associate with this read replica
|
6094
|
+
# DB instance.
|
6094
6095
|
#
|
6095
|
-
#
|
6096
|
-
#
|
6096
|
+
# For Single-AZ or Multi-AZ DB instance read replica instances, if you
|
6097
|
+
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
6098
|
+
# uses the `DBParameterGroup` of the source DB instance for a same
|
6097
6099
|
# Region read replica, or the default `DBParameterGroup` for the
|
6098
6100
|
# specified DB engine for a cross-Region read replica.
|
6099
6101
|
#
|
6102
|
+
# For Multi-AZ DB cluster same Region read replica instances, if you
|
6103
|
+
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
6104
|
+
# uses the default `DBParameterGroup`.
|
6105
|
+
#
|
6100
6106
|
# Specifying a parameter group for this operation is only supported for
|
6101
|
-
# MySQL DB instances for cross-Region read replicas
|
6102
|
-
#
|
6103
|
-
# read replicas or for
|
6107
|
+
# MySQL DB instances for cross-Region read replicas, for Multi-AZ DB
|
6108
|
+
# cluster read replica instances, and for Oracle DB instances. It isn't
|
6109
|
+
# supported for MySQL DB instances for same Region read replicas or for
|
6110
|
+
# RDS Custom.
|
6104
6111
|
#
|
6105
6112
|
# Constraints:
|
6106
6113
|
#
|
@@ -7378,18 +7385,17 @@ module Aws::RDS
|
|
7378
7385
|
# The name of the primary DB cluster for the DB shard group.
|
7379
7386
|
#
|
7380
7387
|
# @option params [Integer] :compute_redundancy
|
7381
|
-
# Specifies whether to create standby
|
7382
|
-
# Valid values are the following:
|
7388
|
+
# Specifies whether to create standby DB shard groups for the DB shard
|
7389
|
+
# group. Valid values are the following:
|
7383
7390
|
#
|
7384
|
-
# * 0 - Creates a
|
7385
|
-
#
|
7386
|
-
# preview.
|
7391
|
+
# * 0 - Creates a DB shard group without a standby DB shard group. This
|
7392
|
+
# is the default value.
|
7387
7393
|
#
|
7388
|
-
# * 1 - Creates a
|
7389
|
-
# different Availability Zone (AZ)
|
7394
|
+
# * 1 - Creates a DB shard group with a standby DB shard group in a
|
7395
|
+
# different Availability Zone (AZ).
|
7390
7396
|
#
|
7391
|
-
# * 2 - Creates a
|
7392
|
-
# different AZs
|
7397
|
+
# * 2 - Creates a DB shard group with two standby DB shard groups in two
|
7398
|
+
# different AZs.
|
7393
7399
|
#
|
7394
7400
|
# @option params [required, Float] :max_acu
|
7395
7401
|
# The maximum capacity of the DB shard group in Aurora capacity units
|
@@ -7445,6 +7451,7 @@ module Aws::RDS
|
|
7445
7451
|
# * {Types::DBShardGroup#status #status} => String
|
7446
7452
|
# * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
|
7447
7453
|
# * {Types::DBShardGroup#endpoint #endpoint} => String
|
7454
|
+
# * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
|
7448
7455
|
#
|
7449
7456
|
# @example Request syntax with placeholder values
|
7450
7457
|
#
|
@@ -7468,6 +7475,7 @@ module Aws::RDS
|
|
7468
7475
|
# resp.status #=> String
|
7469
7476
|
# resp.publicly_accessible #=> Boolean
|
7470
7477
|
# resp.endpoint #=> String
|
7478
|
+
# resp.db_shard_group_arn #=> String
|
7471
7479
|
#
|
7472
7480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBShardGroup AWS API Documentation
|
7473
7481
|
#
|
@@ -10110,6 +10118,7 @@ module Aws::RDS
|
|
10110
10118
|
# * {Types::DBShardGroup#status #status} => String
|
10111
10119
|
# * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
|
10112
10120
|
# * {Types::DBShardGroup#endpoint #endpoint} => String
|
10121
|
+
# * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
|
10113
10122
|
#
|
10114
10123
|
# @example Request syntax with placeholder values
|
10115
10124
|
#
|
@@ -10128,6 +10137,7 @@ module Aws::RDS
|
|
10128
10137
|
# resp.status #=> String
|
10129
10138
|
# resp.publicly_accessible #=> Boolean
|
10130
10139
|
# resp.endpoint #=> String
|
10140
|
+
# resp.db_shard_group_arn #=> String
|
10131
10141
|
#
|
10132
10142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBShardGroup AWS API Documentation
|
10133
10143
|
#
|
@@ -14417,6 +14427,7 @@ module Aws::RDS
|
|
14417
14427
|
# resp.db_shard_groups[0].status #=> String
|
14418
14428
|
# resp.db_shard_groups[0].publicly_accessible #=> Boolean
|
14419
14429
|
# resp.db_shard_groups[0].endpoint #=> String
|
14430
|
+
# resp.db_shard_groups[0].db_shard_group_arn #=> String
|
14420
14431
|
# resp.marker #=> String
|
14421
14432
|
#
|
14422
14433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBShardGroups AWS API Documentation
|
@@ -21830,6 +21841,19 @@ module Aws::RDS
|
|
21830
21841
|
# The minimum capacity of the DB shard group in Aurora capacity units
|
21831
21842
|
# (ACUs).
|
21832
21843
|
#
|
21844
|
+
# @option params [Integer] :compute_redundancy
|
21845
|
+
# Specifies whether to create standby DB shard groups for the DB shard
|
21846
|
+
# group. Valid values are the following:
|
21847
|
+
#
|
21848
|
+
# * 0 - Creates a DB shard group without a standby DB shard group. This
|
21849
|
+
# is the default value.
|
21850
|
+
#
|
21851
|
+
# * 1 - Creates a DB shard group with a standby DB shard group in a
|
21852
|
+
# different Availability Zone (AZ).
|
21853
|
+
#
|
21854
|
+
# * 2 - Creates a DB shard group with two standby DB shard groups in two
|
21855
|
+
# different AZs.
|
21856
|
+
#
|
21833
21857
|
# @return [Types::DBShardGroup] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21834
21858
|
#
|
21835
21859
|
# * {Types::DBShardGroup#db_shard_group_resource_id #db_shard_group_resource_id} => String
|
@@ -21841,6 +21865,7 @@ module Aws::RDS
|
|
21841
21865
|
# * {Types::DBShardGroup#status #status} => String
|
21842
21866
|
# * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
|
21843
21867
|
# * {Types::DBShardGroup#endpoint #endpoint} => String
|
21868
|
+
# * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
|
21844
21869
|
#
|
21845
21870
|
# @example Request syntax with placeholder values
|
21846
21871
|
#
|
@@ -21848,6 +21873,7 @@ module Aws::RDS
|
|
21848
21873
|
# db_shard_group_identifier: "DBShardGroupIdentifier", # required
|
21849
21874
|
# max_acu: 1.0,
|
21850
21875
|
# min_acu: 1.0,
|
21876
|
+
# compute_redundancy: 1,
|
21851
21877
|
# })
|
21852
21878
|
#
|
21853
21879
|
# @example Response structure
|
@@ -21861,6 +21887,7 @@ module Aws::RDS
|
|
21861
21887
|
# resp.status #=> String
|
21862
21888
|
# resp.publicly_accessible #=> Boolean
|
21863
21889
|
# resp.endpoint #=> String
|
21890
|
+
# resp.db_shard_group_arn #=> String
|
21864
21891
|
#
|
21865
21892
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBShardGroup AWS API Documentation
|
21866
21893
|
#
|
@@ -23895,6 +23922,7 @@ module Aws::RDS
|
|
23895
23922
|
# * {Types::DBShardGroup#status #status} => String
|
23896
23923
|
# * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
|
23897
23924
|
# * {Types::DBShardGroup#endpoint #endpoint} => String
|
23925
|
+
# * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
|
23898
23926
|
#
|
23899
23927
|
# @example Request syntax with placeholder values
|
23900
23928
|
#
|
@@ -23913,6 +23941,7 @@ module Aws::RDS
|
|
23913
23941
|
# resp.status #=> String
|
23914
23942
|
# resp.publicly_accessible #=> Boolean
|
23915
23943
|
# resp.endpoint #=> String
|
23944
|
+
# resp.db_shard_group_arn #=> String
|
23916
23945
|
#
|
23917
23946
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBShardGroup AWS API Documentation
|
23918
23947
|
#
|
@@ -26741,7 +26770,7 @@ module Aws::RDS
|
|
26741
26770
|
#
|
26742
26771
|
#
|
26743
26772
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-upgrade-snapshot.html
|
26744
|
-
# [2]: https://docs.aws.amazon.com/USER_UpgradeDBSnapshot.PostgreSQL.html
|
26773
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBSnapshot.PostgreSQL.html
|
26745
26774
|
#
|
26746
26775
|
# @option params [required, String] :db_instance_identifier
|
26747
26776
|
# The name of the DB instance to create from the DB snapshot. This
|
@@ -31439,7 +31468,7 @@ module Aws::RDS
|
|
31439
31468
|
tracer: tracer
|
31440
31469
|
)
|
31441
31470
|
context[:gem_name] = 'aws-sdk-rds'
|
31442
|
-
context[:gem_version] = '1.
|
31471
|
+
context[:gem_version] = '1.250.0'
|
31443
31472
|
Seahorse::Client::Request.new(handlers, context)
|
31444
31473
|
end
|
31445
31474
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
module Aws::RDS
|
11
12
|
# @api private
|
12
13
|
module ClientApi
|
@@ -481,7 +482,6 @@ module Aws::RDS
|
|
481
482
|
InvalidExportTaskStateFault = Shapes::StructureShape.new(name: 'InvalidExportTaskStateFault', error: {"code"=>"InvalidExportTaskStateFault", "httpStatusCode"=>400, "senderFault"=>true})
|
482
483
|
InvalidGlobalClusterStateFault = Shapes::StructureShape.new(name: 'InvalidGlobalClusterStateFault', error: {"code"=>"InvalidGlobalClusterStateFault", "httpStatusCode"=>400, "senderFault"=>true})
|
483
484
|
InvalidIntegrationStateFault = Shapes::StructureShape.new(name: 'InvalidIntegrationStateFault', error: {"code"=>"InvalidIntegrationStateFault", "httpStatusCode"=>400, "senderFault"=>true})
|
484
|
-
InvalidMaxAcuFault = Shapes::StructureShape.new(name: 'InvalidMaxAcuFault', error: {"code"=>"InvalidMaxAcu", "httpStatusCode"=>400, "senderFault"=>true})
|
485
485
|
InvalidOptionGroupStateFault = Shapes::StructureShape.new(name: 'InvalidOptionGroupStateFault', error: {"code"=>"InvalidOptionGroupStateFault", "httpStatusCode"=>400, "senderFault"=>true})
|
486
486
|
InvalidResourceStateFault = Shapes::StructureShape.new(name: 'InvalidResourceStateFault', error: {"code"=>"InvalidResourceStateFault", "httpStatusCode"=>400, "senderFault"=>true})
|
487
487
|
InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault', error: {"code"=>"InvalidRestoreFault", "httpStatusCode"=>400, "senderFault"=>true})
|
@@ -2025,6 +2025,7 @@ module Aws::RDS
|
|
2025
2025
|
DBShardGroup.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
2026
2026
|
DBShardGroup.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PubliclyAccessible"))
|
2027
2027
|
DBShardGroup.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "Endpoint"))
|
2028
|
+
DBShardGroup.add_member(:db_shard_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBShardGroupArn"))
|
2028
2029
|
DBShardGroup.struct_class = Types::DBShardGroup
|
2029
2030
|
|
2030
2031
|
DBShardGroupAlreadyExistsFault.struct_class = Types::DBShardGroupAlreadyExistsFault
|
@@ -2948,8 +2949,6 @@ module Aws::RDS
|
|
2948
2949
|
|
2949
2950
|
InvalidIntegrationStateFault.struct_class = Types::InvalidIntegrationStateFault
|
2950
2951
|
|
2951
|
-
InvalidMaxAcuFault.struct_class = Types::InvalidMaxAcuFault
|
2952
|
-
|
2953
2952
|
InvalidOptionGroupStateFault.struct_class = Types::InvalidOptionGroupStateFault
|
2954
2953
|
|
2955
2954
|
InvalidResourceStateFault.struct_class = Types::InvalidResourceStateFault
|
@@ -3217,6 +3216,7 @@ module Aws::RDS
|
|
3217
3216
|
ModifyDBShardGroupMessage.add_member(:db_shard_group_identifier, Shapes::ShapeRef.new(shape: DBShardGroupIdentifier, required: true, location_name: "DBShardGroupIdentifier"))
|
3218
3217
|
ModifyDBShardGroupMessage.add_member(:max_acu, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxACU"))
|
3219
3218
|
ModifyDBShardGroupMessage.add_member(:min_acu, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinACU"))
|
3219
|
+
ModifyDBShardGroupMessage.add_member(:compute_redundancy, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ComputeRedundancy"))
|
3220
3220
|
ModifyDBShardGroupMessage.struct_class = Types::ModifyDBShardGroupMessage
|
3221
3221
|
|
3222
3222
|
ModifyDBSnapshotAttributeMessage.add_member(:db_snapshot_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBSnapshotIdentifier"))
|
@@ -4707,7 +4707,6 @@ module Aws::RDS
|
|
4707
4707
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
4708
4708
|
o.errors << Shapes::ShapeRef.new(shape: MaxDBShardGroupLimitReached)
|
4709
4709
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
4710
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxAcuFault)
|
4711
4710
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedDBEngineVersionFault)
|
4712
4711
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
4713
4712
|
end)
|
@@ -5932,7 +5931,6 @@ module Aws::RDS
|
|
5932
5931
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
5933
5932
|
o.errors << Shapes::ShapeRef.new(shape: DBShardGroupAlreadyExistsFault)
|
5934
5933
|
o.errors << Shapes::ShapeRef.new(shape: DBShardGroupNotFoundFault)
|
5935
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxAcuFault)
|
5936
5934
|
end)
|
5937
5935
|
|
5938
5936
|
api.add_operation(:modify_db_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2368,17 +2368,24 @@ module Aws::RDS
|
|
2368
2368
|
#
|
2369
2369
|
# This setting doesn't apply to RDS Custom DB instances.
|
2370
2370
|
# @option options [String] :db_parameter_group_name
|
2371
|
-
# The name of the DB parameter group to associate with this
|
2371
|
+
# The name of the DB parameter group to associate with this read replica
|
2372
|
+
# DB instance.
|
2372
2373
|
#
|
2373
|
-
#
|
2374
|
-
#
|
2374
|
+
# For Single-AZ or Multi-AZ DB instance read replica instances, if you
|
2375
|
+
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
2376
|
+
# uses the `DBParameterGroup` of the source DB instance for a same
|
2375
2377
|
# Region read replica, or the default `DBParameterGroup` for the
|
2376
2378
|
# specified DB engine for a cross-Region read replica.
|
2377
2379
|
#
|
2380
|
+
# For Multi-AZ DB cluster same Region read replica instances, if you
|
2381
|
+
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
2382
|
+
# uses the default `DBParameterGroup`.
|
2383
|
+
#
|
2378
2384
|
# Specifying a parameter group for this operation is only supported for
|
2379
|
-
# MySQL DB instances for cross-Region read replicas
|
2380
|
-
#
|
2381
|
-
# read replicas or for
|
2385
|
+
# MySQL DB instances for cross-Region read replicas, for Multi-AZ DB
|
2386
|
+
# cluster read replica instances, and for Oracle DB instances. It isn't
|
2387
|
+
# supported for MySQL DB instances for same Region read replicas or for
|
2388
|
+
# RDS Custom.
|
2382
2389
|
#
|
2383
2390
|
# Constraints:
|
2384
2391
|
#
|
data/lib/aws-sdk-rds/errors.rb
CHANGED
@@ -133,7 +133,6 @@ module Aws::RDS
|
|
133
133
|
# * {InvalidExportTaskStateFault}
|
134
134
|
# * {InvalidGlobalClusterStateFault}
|
135
135
|
# * {InvalidIntegrationStateFault}
|
136
|
-
# * {InvalidMaxAcuFault}
|
137
136
|
# * {InvalidOptionGroupStateFault}
|
138
137
|
# * {InvalidResourceStateFault}
|
139
138
|
# * {InvalidRestoreFault}
|
@@ -1239,16 +1238,6 @@ module Aws::RDS
|
|
1239
1238
|
end
|
1240
1239
|
end
|
1241
1240
|
|
1242
|
-
class InvalidMaxAcuFault < ServiceError
|
1243
|
-
|
1244
|
-
# @param [Seahorse::Client::RequestContext] context
|
1245
|
-
# @param [String] message
|
1246
|
-
# @param [Aws::RDS::Types::InvalidMaxAcuFault] data
|
1247
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1248
|
-
super(context, message, data)
|
1249
|
-
end
|
1250
|
-
end
|
1251
|
-
|
1252
1241
|
class InvalidOptionGroupStateFault < ServiceError
|
1253
1242
|
|
1254
1243
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -4852,18 +4852,24 @@ module Aws::RDS
|
|
4852
4852
|
# @return [String]
|
4853
4853
|
#
|
4854
4854
|
# @!attribute [rw] db_parameter_group_name
|
4855
|
-
# The name of the DB parameter group to associate with this
|
4856
|
-
# instance.
|
4855
|
+
# The name of the DB parameter group to associate with this read
|
4856
|
+
# replica DB instance.
|
4857
|
+
#
|
4858
|
+
# For Single-AZ or Multi-AZ DB instance read replica instances, if you
|
4859
|
+
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
4860
|
+
# uses the `DBParameterGroup` of the source DB instance for a same
|
4861
|
+
# Region read replica, or the default `DBParameterGroup` for the
|
4862
|
+
# specified DB engine for a cross-Region read replica.
|
4857
4863
|
#
|
4858
|
-
#
|
4859
|
-
#
|
4860
|
-
#
|
4861
|
-
# the specified DB engine for a cross-Region read replica.
|
4864
|
+
# For Multi-AZ DB cluster same Region read replica instances, if you
|
4865
|
+
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
4866
|
+
# uses the default `DBParameterGroup`.
|
4862
4867
|
#
|
4863
4868
|
# Specifying a parameter group for this operation is only supported
|
4864
|
-
# for MySQL DB instances for cross-Region read replicas
|
4865
|
-
# DB
|
4866
|
-
#
|
4869
|
+
# for MySQL DB instances for cross-Region read replicas, for Multi-AZ
|
4870
|
+
# DB cluster read replica instances, and for Oracle DB instances. It
|
4871
|
+
# isn't supported for MySQL DB instances for same Region read
|
4872
|
+
# replicas or for RDS Custom.
|
4867
4873
|
#
|
4868
4874
|
# Constraints:
|
4869
4875
|
#
|
@@ -5869,18 +5875,17 @@ module Aws::RDS
|
|
5869
5875
|
# @return [String]
|
5870
5876
|
#
|
5871
5877
|
# @!attribute [rw] compute_redundancy
|
5872
|
-
# Specifies whether to create standby
|
5878
|
+
# Specifies whether to create standby DB shard groups for the DB shard
|
5873
5879
|
# group. Valid values are the following:
|
5874
5880
|
#
|
5875
|
-
# * 0 - Creates a
|
5876
|
-
# This is the default value
|
5877
|
-
# preview.
|
5881
|
+
# * 0 - Creates a DB shard group without a standby DB shard group.
|
5882
|
+
# This is the default value.
|
5878
5883
|
#
|
5879
|
-
# * 1 - Creates a
|
5880
|
-
# different Availability Zone (AZ)
|
5884
|
+
# * 1 - Creates a DB shard group with a standby DB shard group in a
|
5885
|
+
# different Availability Zone (AZ).
|
5881
5886
|
#
|
5882
|
-
# * 2 - Creates a
|
5883
|
-
# different AZs
|
5887
|
+
# * 2 - Creates a DB shard group with two standby DB shard groups in
|
5888
|
+
# two different AZs.
|
5884
5889
|
# @return [Integer]
|
5885
5890
|
#
|
5886
5891
|
# @!attribute [rw] max_acu
|
@@ -10563,18 +10568,17 @@ module Aws::RDS
|
|
10563
10568
|
# @return [Float]
|
10564
10569
|
#
|
10565
10570
|
# @!attribute [rw] compute_redundancy
|
10566
|
-
# Specifies whether to create standby
|
10571
|
+
# Specifies whether to create standby DB shard groups for the DB shard
|
10567
10572
|
# group. Valid values are the following:
|
10568
10573
|
#
|
10569
|
-
# * 0 - Creates a
|
10570
|
-
# This is the default value
|
10571
|
-
# preview.
|
10574
|
+
# * 0 - Creates a DB shard group without a standby DB shard group.
|
10575
|
+
# This is the default value.
|
10572
10576
|
#
|
10573
|
-
# * 1 - Creates a
|
10574
|
-
# different Availability Zone (AZ)
|
10577
|
+
# * 1 - Creates a DB shard group with a standby DB shard group in a
|
10578
|
+
# different Availability Zone (AZ).
|
10575
10579
|
#
|
10576
|
-
# * 2 - Creates a
|
10577
|
-
# different AZs
|
10580
|
+
# * 2 - Creates a DB shard group with two standby DB shard groups in
|
10581
|
+
# two different AZs.
|
10578
10582
|
# @return [Integer]
|
10579
10583
|
#
|
10580
10584
|
# @!attribute [rw] status
|
@@ -10605,6 +10609,10 @@ module Aws::RDS
|
|
10605
10609
|
# The connection endpoint for the DB shard group.
|
10606
10610
|
# @return [String]
|
10607
10611
|
#
|
10612
|
+
# @!attribute [rw] db_shard_group_arn
|
10613
|
+
# The Amazon Resource Name (ARN) for the DB shard group.
|
10614
|
+
# @return [String]
|
10615
|
+
#
|
10608
10616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBShardGroup AWS API Documentation
|
10609
10617
|
#
|
10610
10618
|
class DBShardGroup < Struct.new(
|
@@ -10616,7 +10624,8 @@ module Aws::RDS
|
|
10616
10624
|
:compute_redundancy,
|
10617
10625
|
:status,
|
10618
10626
|
:publicly_accessible,
|
10619
|
-
:endpoint
|
10627
|
+
:endpoint,
|
10628
|
+
:db_shard_group_arn)
|
10620
10629
|
SENSITIVE = []
|
10621
10630
|
include Aws::Structure
|
10622
10631
|
end
|
@@ -16584,13 +16593,6 @@ module Aws::RDS
|
|
16584
16593
|
#
|
16585
16594
|
class InvalidIntegrationStateFault < Aws::EmptyStructure; end
|
16586
16595
|
|
16587
|
-
# The maximum capacity of the DB shard group must be 48-7168 Aurora
|
16588
|
-
# capacity units (ACUs).
|
16589
|
-
#
|
16590
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/InvalidMaxAcuFault AWS API Documentation
|
16591
|
-
#
|
16592
|
-
class InvalidMaxAcuFault < Aws::EmptyStructure; end
|
16593
|
-
|
16594
16596
|
# The option group isn't in the *available* state.
|
16595
16597
|
#
|
16596
16598
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/InvalidOptionGroupStateFault AWS API Documentation
|
@@ -19542,12 +19544,27 @@ module Aws::RDS
|
|
19542
19544
|
# (ACUs).
|
19543
19545
|
# @return [Float]
|
19544
19546
|
#
|
19547
|
+
# @!attribute [rw] compute_redundancy
|
19548
|
+
# Specifies whether to create standby DB shard groups for the DB shard
|
19549
|
+
# group. Valid values are the following:
|
19550
|
+
#
|
19551
|
+
# * 0 - Creates a DB shard group without a standby DB shard group.
|
19552
|
+
# This is the default value.
|
19553
|
+
#
|
19554
|
+
# * 1 - Creates a DB shard group with a standby DB shard group in a
|
19555
|
+
# different Availability Zone (AZ).
|
19556
|
+
#
|
19557
|
+
# * 2 - Creates a DB shard group with two standby DB shard groups in
|
19558
|
+
# two different AZs.
|
19559
|
+
# @return [Integer]
|
19560
|
+
#
|
19545
19561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBShardGroupMessage AWS API Documentation
|
19546
19562
|
#
|
19547
19563
|
class ModifyDBShardGroupMessage < Struct.new(
|
19548
19564
|
:db_shard_group_identifier,
|
19549
19565
|
:max_acu,
|
19550
|
-
:min_acu
|
19566
|
+
:min_acu,
|
19567
|
+
:compute_redundancy)
|
19551
19568
|
SENSITIVE = []
|
19552
19569
|
include Aws::Structure
|
19553
19570
|
end
|
@@ -27931,3 +27948,4 @@ module Aws::RDS
|
|
27931
27948
|
|
27932
27949
|
end
|
27933
27950
|
end
|
27951
|
+
|
data/lib/aws-sdk-rds.rb
CHANGED
@@ -11,43 +11,6 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
require_relative 'aws-sdk-rds/types'
|
15
|
-
require_relative 'aws-sdk-rds/client_api'
|
16
|
-
require_relative 'aws-sdk-rds/plugins/endpoints.rb'
|
17
|
-
require_relative 'aws-sdk-rds/client'
|
18
|
-
require_relative 'aws-sdk-rds/errors'
|
19
|
-
require_relative 'aws-sdk-rds/waiters'
|
20
|
-
require_relative 'aws-sdk-rds/resource'
|
21
|
-
require_relative 'aws-sdk-rds/endpoint_parameters'
|
22
|
-
require_relative 'aws-sdk-rds/endpoint_provider'
|
23
|
-
require_relative 'aws-sdk-rds/endpoints'
|
24
|
-
require_relative 'aws-sdk-rds/account_quota'
|
25
|
-
require_relative 'aws-sdk-rds/certificate'
|
26
|
-
require_relative 'aws-sdk-rds/db_cluster'
|
27
|
-
require_relative 'aws-sdk-rds/db_cluster_parameter_group'
|
28
|
-
require_relative 'aws-sdk-rds/db_cluster_snapshot'
|
29
|
-
require_relative 'aws-sdk-rds/db_engine'
|
30
|
-
require_relative 'aws-sdk-rds/db_engine_version'
|
31
|
-
require_relative 'aws-sdk-rds/db_instance'
|
32
|
-
require_relative 'aws-sdk-rds/db_log_file'
|
33
|
-
require_relative 'aws-sdk-rds/db_parameter_group'
|
34
|
-
require_relative 'aws-sdk-rds/db_parameter_group_family'
|
35
|
-
require_relative 'aws-sdk-rds/db_security_group'
|
36
|
-
require_relative 'aws-sdk-rds/db_snapshot'
|
37
|
-
require_relative 'aws-sdk-rds/db_snapshot_attribute'
|
38
|
-
require_relative 'aws-sdk-rds/db_subnet_group'
|
39
|
-
require_relative 'aws-sdk-rds/event_category_map'
|
40
|
-
require_relative 'aws-sdk-rds/event'
|
41
|
-
require_relative 'aws-sdk-rds/event_subscription'
|
42
|
-
require_relative 'aws-sdk-rds/option_group'
|
43
|
-
require_relative 'aws-sdk-rds/option_group_option'
|
44
|
-
require_relative 'aws-sdk-rds/parameter'
|
45
|
-
require_relative 'aws-sdk-rds/pending_maintenance_action'
|
46
|
-
require_relative 'aws-sdk-rds/reserved_db_instance'
|
47
|
-
require_relative 'aws-sdk-rds/reserved_db_instances_offering'
|
48
|
-
require_relative 'aws-sdk-rds/resource_pending_maintenance_action_list'
|
49
|
-
require_relative 'aws-sdk-rds/customizations'
|
50
|
-
|
51
14
|
# This module provides support for Amazon Relational Database Service. This module is available in the
|
52
15
|
# `aws-sdk-rds` gem.
|
53
16
|
#
|
@@ -77,7 +40,46 @@ require_relative 'aws-sdk-rds/customizations'
|
|
77
40
|
#
|
78
41
|
# @!group service
|
79
42
|
module Aws::RDS
|
43
|
+
autoload :Types, 'aws-sdk-rds/types'
|
44
|
+
autoload :ClientApi, 'aws-sdk-rds/client_api'
|
45
|
+
module Plugins
|
46
|
+
autoload :Endpoints, 'aws-sdk-rds/plugins/endpoints.rb'
|
47
|
+
end
|
48
|
+
autoload :Client, 'aws-sdk-rds/client'
|
49
|
+
autoload :Errors, 'aws-sdk-rds/errors'
|
50
|
+
autoload :Waiters, 'aws-sdk-rds/waiters'
|
51
|
+
autoload :Resource, 'aws-sdk-rds/resource'
|
52
|
+
autoload :EndpointParameters, 'aws-sdk-rds/endpoint_parameters'
|
53
|
+
autoload :EndpointProvider, 'aws-sdk-rds/endpoint_provider'
|
54
|
+
autoload :Endpoints, 'aws-sdk-rds/endpoints'
|
55
|
+
autoload :AccountQuota, 'aws-sdk-rds/account_quota'
|
56
|
+
autoload :Certificate, 'aws-sdk-rds/certificate'
|
57
|
+
autoload :DBCluster, 'aws-sdk-rds/db_cluster'
|
58
|
+
autoload :DBClusterParameterGroup, 'aws-sdk-rds/db_cluster_parameter_group'
|
59
|
+
autoload :DBClusterSnapshot, 'aws-sdk-rds/db_cluster_snapshot'
|
60
|
+
autoload :DBEngine, 'aws-sdk-rds/db_engine'
|
61
|
+
autoload :DBEngineVersion, 'aws-sdk-rds/db_engine_version'
|
62
|
+
autoload :DBInstance, 'aws-sdk-rds/db_instance'
|
63
|
+
autoload :DBLogFile, 'aws-sdk-rds/db_log_file'
|
64
|
+
autoload :DBParameterGroup, 'aws-sdk-rds/db_parameter_group'
|
65
|
+
autoload :DBParameterGroupFamily, 'aws-sdk-rds/db_parameter_group_family'
|
66
|
+
autoload :DBSecurityGroup, 'aws-sdk-rds/db_security_group'
|
67
|
+
autoload :DBSnapshot, 'aws-sdk-rds/db_snapshot'
|
68
|
+
autoload :DBSnapshotAttribute, 'aws-sdk-rds/db_snapshot_attribute'
|
69
|
+
autoload :DBSubnetGroup, 'aws-sdk-rds/db_subnet_group'
|
70
|
+
autoload :EventCategoryMap, 'aws-sdk-rds/event_category_map'
|
71
|
+
autoload :Event, 'aws-sdk-rds/event'
|
72
|
+
autoload :EventSubscription, 'aws-sdk-rds/event_subscription'
|
73
|
+
autoload :OptionGroup, 'aws-sdk-rds/option_group'
|
74
|
+
autoload :OptionGroupOption, 'aws-sdk-rds/option_group_option'
|
75
|
+
autoload :Parameter, 'aws-sdk-rds/parameter'
|
76
|
+
autoload :PendingMaintenanceAction, 'aws-sdk-rds/pending_maintenance_action'
|
77
|
+
autoload :ReservedDBInstance, 'aws-sdk-rds/reserved_db_instance'
|
78
|
+
autoload :ReservedDBInstancesOffering, 'aws-sdk-rds/reserved_db_instances_offering'
|
79
|
+
autoload :ResourcePendingMaintenanceActionList, 'aws-sdk-rds/resource_pending_maintenance_action_list'
|
80
80
|
|
81
|
-
GEM_VERSION = '1.
|
81
|
+
GEM_VERSION = '1.250.0'
|
82
82
|
|
83
83
|
end
|
84
|
+
|
85
|
+
require_relative 'aws-sdk-rds/customizations'
|
data/sig/client.rbs
CHANGED
@@ -755,6 +755,7 @@ module Aws
|
|
755
755
|
def status: () -> ::String
|
756
756
|
def publicly_accessible: () -> bool
|
757
757
|
def endpoint: () -> ::String
|
758
|
+
def db_shard_group_arn: () -> ::String
|
758
759
|
end
|
759
760
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Client.html#create_db_shard_group-instance_method
|
760
761
|
def create_db_shard_group: (
|
@@ -1099,6 +1100,7 @@ module Aws
|
|
1099
1100
|
def status: () -> ::String
|
1100
1101
|
def publicly_accessible: () -> bool
|
1101
1102
|
def endpoint: () -> ::String
|
1103
|
+
def db_shard_group_arn: () -> ::String
|
1102
1104
|
end
|
1103
1105
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Client.html#delete_db_shard_group-instance_method
|
1104
1106
|
def delete_db_shard_group: (
|
@@ -2553,12 +2555,14 @@ module Aws
|
|
2553
2555
|
def status: () -> ::String
|
2554
2556
|
def publicly_accessible: () -> bool
|
2555
2557
|
def endpoint: () -> ::String
|
2558
|
+
def db_shard_group_arn: () -> ::String
|
2556
2559
|
end
|
2557
2560
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Client.html#modify_db_shard_group-instance_method
|
2558
2561
|
def modify_db_shard_group: (
|
2559
2562
|
db_shard_group_identifier: ::String,
|
2560
2563
|
?max_acu: ::Float,
|
2561
|
-
?min_acu: ::Float
|
2564
|
+
?min_acu: ::Float,
|
2565
|
+
?compute_redundancy: ::Integer
|
2562
2566
|
) -> _ModifyDBShardGroupResponseSuccess
|
2563
2567
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyDBShardGroupResponseSuccess
|
2564
2568
|
|
@@ -2770,6 +2774,7 @@ module Aws
|
|
2770
2774
|
def status: () -> ::String
|
2771
2775
|
def publicly_accessible: () -> bool
|
2772
2776
|
def endpoint: () -> ::String
|
2777
|
+
def db_shard_group_arn: () -> ::String
|
2773
2778
|
end
|
2774
2779
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Client.html#reboot_db_shard_group-instance_method
|
2775
2780
|
def reboot_db_shard_group: (
|
data/sig/errors.rbs
CHANGED
@@ -223,8 +223,6 @@ module Aws
|
|
223
223
|
end
|
224
224
|
class InvalidIntegrationStateFault < ::Aws::Errors::ServiceError
|
225
225
|
end
|
226
|
-
class InvalidMaxAcuFault < ::Aws::Errors::ServiceError
|
227
|
-
end
|
228
226
|
class InvalidOptionGroupStateFault < ::Aws::Errors::ServiceError
|
229
227
|
end
|
230
228
|
class InvalidResourceStateFault < ::Aws::Errors::ServiceError
|
data/sig/types.rbs
CHANGED
@@ -1490,6 +1490,7 @@ module Aws::RDS
|
|
1490
1490
|
attr_accessor status: ::String
|
1491
1491
|
attr_accessor publicly_accessible: bool
|
1492
1492
|
attr_accessor endpoint: ::String
|
1493
|
+
attr_accessor db_shard_group_arn: ::String
|
1493
1494
|
SENSITIVE: []
|
1494
1495
|
end
|
1495
1496
|
|
@@ -2684,9 +2685,6 @@ module Aws::RDS
|
|
2684
2685
|
class InvalidIntegrationStateFault < Aws::EmptyStructure
|
2685
2686
|
end
|
2686
2687
|
|
2687
|
-
class InvalidMaxAcuFault < Aws::EmptyStructure
|
2688
|
-
end
|
2689
|
-
|
2690
2688
|
class InvalidOptionGroupStateFault < Aws::EmptyStructure
|
2691
2689
|
end
|
2692
2690
|
|
@@ -3013,6 +3011,7 @@ module Aws::RDS
|
|
3013
3011
|
attr_accessor db_shard_group_identifier: ::String
|
3014
3012
|
attr_accessor max_acu: ::Float
|
3015
3013
|
attr_accessor min_acu: ::Float
|
3014
|
+
attr_accessor compute_redundancy: ::Integer
|
3016
3015
|
SENSITIVE: []
|
3017
3016
|
end
|
3018
3017
|
|
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.250.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: 2024-09-
|
11
|
+
date: 2024-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|