aws-sdk-rds 1.249.0 → 1.251.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +46 -19
- 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 +41 -37
- 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: aac1571be1c666a2470474e4c280b5c742c892fe16a88e128c6dc10096fb6c3d
|
4
|
+
data.tar.gz: '09abaa4cf387c5e31b7ddf76554376a5da94f03ae2c1373d5a779da47a9560f3'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b05afd6e8a30409c0a393babf35e8990ec2affe3f9e9e0cbe6d8b692fa647186943e072179c12abd1e849fc2650d4ab9787910e2b85c757feb7c72086f187c41
|
7
|
+
data.tar.gz: d8cbce4ef70da6ef63ac16b9a463f297a73adf91eda1d392aa1630f5145a5c6299aca099864563f75c85566daa1c9da5c7c776b0568f122398b3a2131b046c4a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.251.0 (2024-09-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.250.0 (2024-09-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.249.0 (2024-09-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.251.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -37,8 +37,6 @@ require 'aws-sdk-core/plugins/sign.rb'
|
|
37
37
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
38
38
|
require 'aws-sdk-rds/plugins/cross_region_copying.rb'
|
39
39
|
|
40
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:rds)
|
41
|
-
|
42
40
|
module Aws::RDS
|
43
41
|
# An API client for RDS. To construct a client, you need to configure a `:region` and `:credentials`.
|
44
42
|
#
|
@@ -6090,17 +6088,24 @@ module Aws::RDS
|
|
6090
6088
|
# This setting doesn't apply to RDS Custom DB instances.
|
6091
6089
|
#
|
6092
6090
|
# @option params [String] :db_parameter_group_name
|
6093
|
-
# The name of the DB parameter group to associate with this
|
6091
|
+
# The name of the DB parameter group to associate with this read replica
|
6092
|
+
# DB instance.
|
6094
6093
|
#
|
6095
|
-
#
|
6096
|
-
#
|
6094
|
+
# For Single-AZ or Multi-AZ DB instance read replica instances, if you
|
6095
|
+
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
6096
|
+
# uses the `DBParameterGroup` of the source DB instance for a same
|
6097
6097
|
# Region read replica, or the default `DBParameterGroup` for the
|
6098
6098
|
# specified DB engine for a cross-Region read replica.
|
6099
6099
|
#
|
6100
|
+
# For Multi-AZ DB cluster same Region read replica instances, if you
|
6101
|
+
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
6102
|
+
# uses the default `DBParameterGroup`.
|
6103
|
+
#
|
6100
6104
|
# 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
|
6105
|
+
# MySQL DB instances for cross-Region read replicas, for Multi-AZ DB
|
6106
|
+
# cluster read replica instances, and for Oracle DB instances. It isn't
|
6107
|
+
# supported for MySQL DB instances for same Region read replicas or for
|
6108
|
+
# RDS Custom.
|
6104
6109
|
#
|
6105
6110
|
# Constraints:
|
6106
6111
|
#
|
@@ -7378,18 +7383,17 @@ module Aws::RDS
|
|
7378
7383
|
# The name of the primary DB cluster for the DB shard group.
|
7379
7384
|
#
|
7380
7385
|
# @option params [Integer] :compute_redundancy
|
7381
|
-
# Specifies whether to create standby
|
7382
|
-
# Valid values are the following:
|
7386
|
+
# Specifies whether to create standby DB shard groups for the DB shard
|
7387
|
+
# group. Valid values are the following:
|
7383
7388
|
#
|
7384
|
-
# * 0 - Creates a
|
7385
|
-
#
|
7386
|
-
# preview.
|
7389
|
+
# * 0 - Creates a DB shard group without a standby DB shard group. This
|
7390
|
+
# is the default value.
|
7387
7391
|
#
|
7388
|
-
# * 1 - Creates a
|
7389
|
-
# different Availability Zone (AZ)
|
7392
|
+
# * 1 - Creates a DB shard group with a standby DB shard group in a
|
7393
|
+
# different Availability Zone (AZ).
|
7390
7394
|
#
|
7391
|
-
# * 2 - Creates a
|
7392
|
-
# different AZs
|
7395
|
+
# * 2 - Creates a DB shard group with two standby DB shard groups in two
|
7396
|
+
# different AZs.
|
7393
7397
|
#
|
7394
7398
|
# @option params [required, Float] :max_acu
|
7395
7399
|
# The maximum capacity of the DB shard group in Aurora capacity units
|
@@ -7445,6 +7449,7 @@ module Aws::RDS
|
|
7445
7449
|
# * {Types::DBShardGroup#status #status} => String
|
7446
7450
|
# * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
|
7447
7451
|
# * {Types::DBShardGroup#endpoint #endpoint} => String
|
7452
|
+
# * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
|
7448
7453
|
#
|
7449
7454
|
# @example Request syntax with placeholder values
|
7450
7455
|
#
|
@@ -7468,6 +7473,7 @@ module Aws::RDS
|
|
7468
7473
|
# resp.status #=> String
|
7469
7474
|
# resp.publicly_accessible #=> Boolean
|
7470
7475
|
# resp.endpoint #=> String
|
7476
|
+
# resp.db_shard_group_arn #=> String
|
7471
7477
|
#
|
7472
7478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBShardGroup AWS API Documentation
|
7473
7479
|
#
|
@@ -10110,6 +10116,7 @@ module Aws::RDS
|
|
10110
10116
|
# * {Types::DBShardGroup#status #status} => String
|
10111
10117
|
# * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
|
10112
10118
|
# * {Types::DBShardGroup#endpoint #endpoint} => String
|
10119
|
+
# * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
|
10113
10120
|
#
|
10114
10121
|
# @example Request syntax with placeholder values
|
10115
10122
|
#
|
@@ -10128,6 +10135,7 @@ module Aws::RDS
|
|
10128
10135
|
# resp.status #=> String
|
10129
10136
|
# resp.publicly_accessible #=> Boolean
|
10130
10137
|
# resp.endpoint #=> String
|
10138
|
+
# resp.db_shard_group_arn #=> String
|
10131
10139
|
#
|
10132
10140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBShardGroup AWS API Documentation
|
10133
10141
|
#
|
@@ -14417,6 +14425,7 @@ module Aws::RDS
|
|
14417
14425
|
# resp.db_shard_groups[0].status #=> String
|
14418
14426
|
# resp.db_shard_groups[0].publicly_accessible #=> Boolean
|
14419
14427
|
# resp.db_shard_groups[0].endpoint #=> String
|
14428
|
+
# resp.db_shard_groups[0].db_shard_group_arn #=> String
|
14420
14429
|
# resp.marker #=> String
|
14421
14430
|
#
|
14422
14431
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBShardGroups AWS API Documentation
|
@@ -21830,6 +21839,19 @@ module Aws::RDS
|
|
21830
21839
|
# The minimum capacity of the DB shard group in Aurora capacity units
|
21831
21840
|
# (ACUs).
|
21832
21841
|
#
|
21842
|
+
# @option params [Integer] :compute_redundancy
|
21843
|
+
# Specifies whether to create standby DB shard groups for the DB shard
|
21844
|
+
# group. Valid values are the following:
|
21845
|
+
#
|
21846
|
+
# * 0 - Creates a DB shard group without a standby DB shard group. This
|
21847
|
+
# is the default value.
|
21848
|
+
#
|
21849
|
+
# * 1 - Creates a DB shard group with a standby DB shard group in a
|
21850
|
+
# different Availability Zone (AZ).
|
21851
|
+
#
|
21852
|
+
# * 2 - Creates a DB shard group with two standby DB shard groups in two
|
21853
|
+
# different AZs.
|
21854
|
+
#
|
21833
21855
|
# @return [Types::DBShardGroup] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21834
21856
|
#
|
21835
21857
|
# * {Types::DBShardGroup#db_shard_group_resource_id #db_shard_group_resource_id} => String
|
@@ -21841,6 +21863,7 @@ module Aws::RDS
|
|
21841
21863
|
# * {Types::DBShardGroup#status #status} => String
|
21842
21864
|
# * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
|
21843
21865
|
# * {Types::DBShardGroup#endpoint #endpoint} => String
|
21866
|
+
# * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
|
21844
21867
|
#
|
21845
21868
|
# @example Request syntax with placeholder values
|
21846
21869
|
#
|
@@ -21848,6 +21871,7 @@ module Aws::RDS
|
|
21848
21871
|
# db_shard_group_identifier: "DBShardGroupIdentifier", # required
|
21849
21872
|
# max_acu: 1.0,
|
21850
21873
|
# min_acu: 1.0,
|
21874
|
+
# compute_redundancy: 1,
|
21851
21875
|
# })
|
21852
21876
|
#
|
21853
21877
|
# @example Response structure
|
@@ -21861,6 +21885,7 @@ module Aws::RDS
|
|
21861
21885
|
# resp.status #=> String
|
21862
21886
|
# resp.publicly_accessible #=> Boolean
|
21863
21887
|
# resp.endpoint #=> String
|
21888
|
+
# resp.db_shard_group_arn #=> String
|
21864
21889
|
#
|
21865
21890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBShardGroup AWS API Documentation
|
21866
21891
|
#
|
@@ -23895,6 +23920,7 @@ module Aws::RDS
|
|
23895
23920
|
# * {Types::DBShardGroup#status #status} => String
|
23896
23921
|
# * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
|
23897
23922
|
# * {Types::DBShardGroup#endpoint #endpoint} => String
|
23923
|
+
# * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
|
23898
23924
|
#
|
23899
23925
|
# @example Request syntax with placeholder values
|
23900
23926
|
#
|
@@ -23913,6 +23939,7 @@ module Aws::RDS
|
|
23913
23939
|
# resp.status #=> String
|
23914
23940
|
# resp.publicly_accessible #=> Boolean
|
23915
23941
|
# resp.endpoint #=> String
|
23942
|
+
# resp.db_shard_group_arn #=> String
|
23916
23943
|
#
|
23917
23944
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBShardGroup AWS API Documentation
|
23918
23945
|
#
|
@@ -26741,7 +26768,7 @@ module Aws::RDS
|
|
26741
26768
|
#
|
26742
26769
|
#
|
26743
26770
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-upgrade-snapshot.html
|
26744
|
-
# [2]: https://docs.aws.amazon.com/USER_UpgradeDBSnapshot.PostgreSQL.html
|
26771
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBSnapshot.PostgreSQL.html
|
26745
26772
|
#
|
26746
26773
|
# @option params [required, String] :db_instance_identifier
|
26747
26774
|
# The name of the DB instance to create from the DB snapshot. This
|
@@ -31439,7 +31466,7 @@ module Aws::RDS
|
|
31439
31466
|
tracer: tracer
|
31440
31467
|
)
|
31441
31468
|
context[:gem_name] = 'aws-sdk-rds'
|
31442
|
-
context[:gem_version] = '1.
|
31469
|
+
context[:gem_version] = '1.251.0'
|
31443
31470
|
Seahorse::Client::Request.new(handlers, context)
|
31444
31471
|
end
|
31445
31472
|
|
@@ -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,42 +11,7 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
|
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'
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:rds)
|
50
15
|
|
51
16
|
# This module provides support for Amazon Relational Database Service. This module is available in the
|
52
17
|
# `aws-sdk-rds` gem.
|
@@ -77,7 +42,46 @@ require_relative 'aws-sdk-rds/customizations'
|
|
77
42
|
#
|
78
43
|
# @!group service
|
79
44
|
module Aws::RDS
|
45
|
+
autoload :Types, 'aws-sdk-rds/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-rds/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-rds/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-rds/client'
|
51
|
+
autoload :Errors, 'aws-sdk-rds/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-rds/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-rds/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-rds/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-rds/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-rds/endpoints'
|
57
|
+
autoload :AccountQuota, 'aws-sdk-rds/account_quota'
|
58
|
+
autoload :Certificate, 'aws-sdk-rds/certificate'
|
59
|
+
autoload :DBCluster, 'aws-sdk-rds/db_cluster'
|
60
|
+
autoload :DBClusterParameterGroup, 'aws-sdk-rds/db_cluster_parameter_group'
|
61
|
+
autoload :DBClusterSnapshot, 'aws-sdk-rds/db_cluster_snapshot'
|
62
|
+
autoload :DBEngine, 'aws-sdk-rds/db_engine'
|
63
|
+
autoload :DBEngineVersion, 'aws-sdk-rds/db_engine_version'
|
64
|
+
autoload :DBInstance, 'aws-sdk-rds/db_instance'
|
65
|
+
autoload :DBLogFile, 'aws-sdk-rds/db_log_file'
|
66
|
+
autoload :DBParameterGroup, 'aws-sdk-rds/db_parameter_group'
|
67
|
+
autoload :DBParameterGroupFamily, 'aws-sdk-rds/db_parameter_group_family'
|
68
|
+
autoload :DBSecurityGroup, 'aws-sdk-rds/db_security_group'
|
69
|
+
autoload :DBSnapshot, 'aws-sdk-rds/db_snapshot'
|
70
|
+
autoload :DBSnapshotAttribute, 'aws-sdk-rds/db_snapshot_attribute'
|
71
|
+
autoload :DBSubnetGroup, 'aws-sdk-rds/db_subnet_group'
|
72
|
+
autoload :EventCategoryMap, 'aws-sdk-rds/event_category_map'
|
73
|
+
autoload :Event, 'aws-sdk-rds/event'
|
74
|
+
autoload :EventSubscription, 'aws-sdk-rds/event_subscription'
|
75
|
+
autoload :OptionGroup, 'aws-sdk-rds/option_group'
|
76
|
+
autoload :OptionGroupOption, 'aws-sdk-rds/option_group_option'
|
77
|
+
autoload :Parameter, 'aws-sdk-rds/parameter'
|
78
|
+
autoload :PendingMaintenanceAction, 'aws-sdk-rds/pending_maintenance_action'
|
79
|
+
autoload :ReservedDBInstance, 'aws-sdk-rds/reserved_db_instance'
|
80
|
+
autoload :ReservedDBInstancesOffering, 'aws-sdk-rds/reserved_db_instances_offering'
|
81
|
+
autoload :ResourcePendingMaintenanceActionList, 'aws-sdk-rds/resource_pending_maintenance_action_list'
|
80
82
|
|
81
|
-
GEM_VERSION = '1.
|
83
|
+
GEM_VERSION = '1.251.0'
|
82
84
|
|
83
85
|
end
|
86
|
+
|
87
|
+
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.251.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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|