aws-sdk-rds 1.248.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0798bc0beaf01094fc023d552ffe89abbe5d62635a49d8f778527031b7ca8a1
4
- data.tar.gz: 76b78d8dce60cbb5ffc7ed566ed2f6d2d91a46278d7b118f36877cbb9d66a66a
3
+ metadata.gz: 410f05e388c57b7bc034959b0c876ab209ac6baa7c87023686b80e190dcd7055
4
+ data.tar.gz: b79cf31acde265cedf37731d8241ff0a0934173e3ff2c2484ddb493876559bf3
5
5
  SHA512:
6
- metadata.gz: 179994d1196301d5513ca9ebf7e9c88d041d81c1929b753d59255750999e16d011e284d1f047fb372b45ba2223d6c389dd1b60534a4b17cef6a7ebc9f74e2303
7
- data.tar.gz: 371a71bc30bf35e353f9e3cb9f1c553296dcc4d52f1538da04b59c4f6a10477361b043fef143e5c8832b16faf0322de39120f82adfd9935d87b2204a0c41755f
6
+ metadata.gz: 6d328dfdbcf7a4c6b2854f47699215694d2cece3a062a31dd4855f022c7b4a16478b72062a0f866f892f6d327ec9d2c3415910dda1aebc6a72ed37316c13d9c1
7
+ data.tar.gz: edd917a58be1c4ced7f3a615935bf7828ecad0c43d879c9f331b6bb85b6f55219f4a0c1a8c90b582cf93c8b774a47a27e13eb1d0d0a289d4751f8a49f85f5e94
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.249.0 (2024-09-20)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.248.0 (2024-09-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.248.0
1
+ 1.250.0
@@ -132,13 +132,15 @@ module Aws::RDS
132
132
  # locations will be searched for credentials:
133
133
  #
134
134
  # * `Aws.config[:credentials]`
135
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
136
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
135
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
136
+ # `:account_id` options.
137
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
138
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
137
139
  # * `~/.aws/credentials`
138
140
  # * `~/.aws/config`
139
141
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
140
142
  # are very aggressive. Construct and pass an instance of
141
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
143
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
142
144
  # enable retries and extended timeouts. Instance profile credential
143
145
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
144
146
  # to true.
@@ -157,6 +159,8 @@ module Aws::RDS
157
159
  #
158
160
  # @option options [String] :access_key_id
159
161
  #
162
+ # @option options [String] :account_id
163
+ #
160
164
  # @option options [Boolean] :active_endpoint_cache (false)
161
165
  # When set to `true`, a thread polling for endpoints will be running in
162
166
  # the background every 60 secs (default). Defaults to `false`.
@@ -371,7 +375,9 @@ module Aws::RDS
371
375
  # sending the request.
372
376
  #
373
377
  # @option options [Aws::RDS::EndpointProvider] :endpoint_provider
374
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::RDS::EndpointParameters`
378
+ # The endpoint provider used to resolve endpoints. Any object that responds to
379
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
380
+ # `Aws::RDS::EndpointParameters`.
375
381
  #
376
382
  # @option options [Float] :http_continue_timeout (1)
377
383
  # The number of seconds to wait for a 100-continue response before sending the
@@ -6084,17 +6090,24 @@ module Aws::RDS
6084
6090
  # This setting doesn't apply to RDS Custom DB instances.
6085
6091
  #
6086
6092
  # @option params [String] :db_parameter_group_name
6087
- # The name of the DB parameter group to associate with this DB instance.
6093
+ # The name of the DB parameter group to associate with this read replica
6094
+ # DB instance.
6088
6095
  #
6089
- # If you don't specify a value for `DBParameterGroupName`, then Amazon
6090
- # RDS uses the `DBParameterGroup` of the source DB instance for a same
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
6091
6099
  # Region read replica, or the default `DBParameterGroup` for the
6092
6100
  # specified DB engine for a cross-Region read replica.
6093
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
+ #
6094
6106
  # Specifying a parameter group for this operation is only supported for
6095
- # MySQL DB instances for cross-Region read replicas and for Oracle DB
6096
- # instances. It isn't supported for MySQL DB instances for same Region
6097
- # read replicas or for RDS Custom.
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.
6098
6111
  #
6099
6112
  # Constraints:
6100
6113
  #
@@ -7372,18 +7385,17 @@ module Aws::RDS
7372
7385
  # The name of the primary DB cluster for the DB shard group.
7373
7386
  #
7374
7387
  # @option params [Integer] :compute_redundancy
7375
- # Specifies whether to create standby instances for the DB shard group.
7376
- # 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:
7377
7390
  #
7378
- # * 0 - Creates a single, primary DB instance for each physical shard.
7379
- # This is the default value, and the only one supported for the
7380
- # preview.
7391
+ # * 0 - Creates a DB shard group without a standby DB shard group. This
7392
+ # is the default value.
7381
7393
  #
7382
- # * 1 - Creates a primary DB instance and a standby instance in a
7383
- # different Availability Zone (AZ) for each physical shard.
7394
+ # * 1 - Creates a DB shard group with a standby DB shard group in a
7395
+ # different Availability Zone (AZ).
7384
7396
  #
7385
- # * 2 - Creates a primary DB instance and two standby instances in
7386
- # different AZs for each physical shard.
7397
+ # * 2 - Creates a DB shard group with two standby DB shard groups in two
7398
+ # different AZs.
7387
7399
  #
7388
7400
  # @option params [required, Float] :max_acu
7389
7401
  # The maximum capacity of the DB shard group in Aurora capacity units
@@ -7439,6 +7451,7 @@ module Aws::RDS
7439
7451
  # * {Types::DBShardGroup#status #status} => String
7440
7452
  # * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
7441
7453
  # * {Types::DBShardGroup#endpoint #endpoint} => String
7454
+ # * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
7442
7455
  #
7443
7456
  # @example Request syntax with placeholder values
7444
7457
  #
@@ -7462,6 +7475,7 @@ module Aws::RDS
7462
7475
  # resp.status #=> String
7463
7476
  # resp.publicly_accessible #=> Boolean
7464
7477
  # resp.endpoint #=> String
7478
+ # resp.db_shard_group_arn #=> String
7465
7479
  #
7466
7480
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBShardGroup AWS API Documentation
7467
7481
  #
@@ -10104,6 +10118,7 @@ module Aws::RDS
10104
10118
  # * {Types::DBShardGroup#status #status} => String
10105
10119
  # * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
10106
10120
  # * {Types::DBShardGroup#endpoint #endpoint} => String
10121
+ # * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
10107
10122
  #
10108
10123
  # @example Request syntax with placeholder values
10109
10124
  #
@@ -10122,6 +10137,7 @@ module Aws::RDS
10122
10137
  # resp.status #=> String
10123
10138
  # resp.publicly_accessible #=> Boolean
10124
10139
  # resp.endpoint #=> String
10140
+ # resp.db_shard_group_arn #=> String
10125
10141
  #
10126
10142
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBShardGroup AWS API Documentation
10127
10143
  #
@@ -14411,6 +14427,7 @@ module Aws::RDS
14411
14427
  # resp.db_shard_groups[0].status #=> String
14412
14428
  # resp.db_shard_groups[0].publicly_accessible #=> Boolean
14413
14429
  # resp.db_shard_groups[0].endpoint #=> String
14430
+ # resp.db_shard_groups[0].db_shard_group_arn #=> String
14414
14431
  # resp.marker #=> String
14415
14432
  #
14416
14433
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBShardGroups AWS API Documentation
@@ -21824,6 +21841,19 @@ module Aws::RDS
21824
21841
  # The minimum capacity of the DB shard group in Aurora capacity units
21825
21842
  # (ACUs).
21826
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
+ #
21827
21857
  # @return [Types::DBShardGroup] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
21828
21858
  #
21829
21859
  # * {Types::DBShardGroup#db_shard_group_resource_id #db_shard_group_resource_id} => String
@@ -21835,6 +21865,7 @@ module Aws::RDS
21835
21865
  # * {Types::DBShardGroup#status #status} => String
21836
21866
  # * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
21837
21867
  # * {Types::DBShardGroup#endpoint #endpoint} => String
21868
+ # * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
21838
21869
  #
21839
21870
  # @example Request syntax with placeholder values
21840
21871
  #
@@ -21842,6 +21873,7 @@ module Aws::RDS
21842
21873
  # db_shard_group_identifier: "DBShardGroupIdentifier", # required
21843
21874
  # max_acu: 1.0,
21844
21875
  # min_acu: 1.0,
21876
+ # compute_redundancy: 1,
21845
21877
  # })
21846
21878
  #
21847
21879
  # @example Response structure
@@ -21855,6 +21887,7 @@ module Aws::RDS
21855
21887
  # resp.status #=> String
21856
21888
  # resp.publicly_accessible #=> Boolean
21857
21889
  # resp.endpoint #=> String
21890
+ # resp.db_shard_group_arn #=> String
21858
21891
  #
21859
21892
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBShardGroup AWS API Documentation
21860
21893
  #
@@ -23889,6 +23922,7 @@ module Aws::RDS
23889
23922
  # * {Types::DBShardGroup#status #status} => String
23890
23923
  # * {Types::DBShardGroup#publicly_accessible #publicly_accessible} => Boolean
23891
23924
  # * {Types::DBShardGroup#endpoint #endpoint} => String
23925
+ # * {Types::DBShardGroup#db_shard_group_arn #db_shard_group_arn} => String
23892
23926
  #
23893
23927
  # @example Request syntax with placeholder values
23894
23928
  #
@@ -23907,6 +23941,7 @@ module Aws::RDS
23907
23941
  # resp.status #=> String
23908
23942
  # resp.publicly_accessible #=> Boolean
23909
23943
  # resp.endpoint #=> String
23944
+ # resp.db_shard_group_arn #=> String
23910
23945
  #
23911
23946
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBShardGroup AWS API Documentation
23912
23947
  #
@@ -26735,7 +26770,7 @@ module Aws::RDS
26735
26770
  #
26736
26771
  #
26737
26772
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-upgrade-snapshot.html
26738
- # [2]: https://docs.aws.amazon.com/USER_UpgradeDBSnapshot.PostgreSQL.html
26773
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBSnapshot.PostgreSQL.html
26739
26774
  #
26740
26775
  # @option params [required, String] :db_instance_identifier
26741
26776
  # The name of the DB instance to create from the DB snapshot. This
@@ -31433,7 +31468,7 @@ module Aws::RDS
31433
31468
  tracer: tracer
31434
31469
  )
31435
31470
  context[:gem_name] = 'aws-sdk-rds'
31436
- context[:gem_version] = '1.248.0'
31471
+ context[:gem_version] = '1.250.0'
31437
31472
  Seahorse::Client::Request.new(handlers, context)
31438
31473
  end
31439
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 DB instance.
2371
+ # The name of the DB parameter group to associate with this read replica
2372
+ # DB instance.
2372
2373
  #
2373
- # If you don't specify a value for `DBParameterGroupName`, then Amazon
2374
- # RDS uses the `DBParameterGroup` of the source DB instance for a same
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 and for Oracle DB
2380
- # instances. It isn't supported for MySQL DB instances for same Region
2381
- # read replicas or for RDS Custom.
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
  #
@@ -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
@@ -15,11 +15,11 @@ module Aws::RDS
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::RDS::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::RDS::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::RDS::EndpointParameters`.
22
+ DOCS
23
23
  Aws::RDS::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::RDS
51
51
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
52
  metrics << 'SIGV4A_SIGNING'
53
53
  end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
54
57
  Aws::Plugins::UserAgent.metric(*metrics, &block)
55
58
  end
56
59
 
@@ -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 DB
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
- # If you don't specify a value for `DBParameterGroupName`, then
4859
- # Amazon RDS uses the `DBParameterGroup` of the source DB instance for
4860
- # a same Region read replica, or the default `DBParameterGroup` for
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 and for Oracle
4865
- # DB instances. It isn't supported for MySQL DB instances for same
4866
- # Region read replicas or for RDS Custom.
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 instances for the DB shard
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 single, primary DB instance for each physical shard.
5876
- # This is the default value, and the only one supported for the
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 primary DB instance and a standby instance in a
5880
- # different Availability Zone (AZ) for each physical shard.
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 primary DB instance and two standby instances in
5883
- # different AZs for each physical shard.
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 instances for the DB shard
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 single, primary DB instance for each physical shard.
10570
- # This is the default value, and the only one supported for the
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 primary DB instance and a standby instance in a
10574
- # different Availability Zone (AZ) for each physical shard.
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 primary DB instance and two standby instances in
10577
- # different AZs for each physical shard.
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.248.0'
81
+ GEM_VERSION = '1.250.0'
82
82
 
83
83
  end
84
+
85
+ require_relative 'aws-sdk-rds/customizations'
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
@@ -754,6 +755,7 @@ module Aws
754
755
  def status: () -> ::String
755
756
  def publicly_accessible: () -> bool
756
757
  def endpoint: () -> ::String
758
+ def db_shard_group_arn: () -> ::String
757
759
  end
758
760
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Client.html#create_db_shard_group-instance_method
759
761
  def create_db_shard_group: (
@@ -1098,6 +1100,7 @@ module Aws
1098
1100
  def status: () -> ::String
1099
1101
  def publicly_accessible: () -> bool
1100
1102
  def endpoint: () -> ::String
1103
+ def db_shard_group_arn: () -> ::String
1101
1104
  end
1102
1105
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Client.html#delete_db_shard_group-instance_method
1103
1106
  def delete_db_shard_group: (
@@ -2552,12 +2555,14 @@ module Aws
2552
2555
  def status: () -> ::String
2553
2556
  def publicly_accessible: () -> bool
2554
2557
  def endpoint: () -> ::String
2558
+ def db_shard_group_arn: () -> ::String
2555
2559
  end
2556
2560
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Client.html#modify_db_shard_group-instance_method
2557
2561
  def modify_db_shard_group: (
2558
2562
  db_shard_group_identifier: ::String,
2559
2563
  ?max_acu: ::Float,
2560
- ?min_acu: ::Float
2564
+ ?min_acu: ::Float,
2565
+ ?compute_redundancy: ::Integer
2561
2566
  ) -> _ModifyDBShardGroupResponseSuccess
2562
2567
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyDBShardGroupResponseSuccess
2563
2568
 
@@ -2769,6 +2774,7 @@ module Aws
2769
2774
  def status: () -> ::String
2770
2775
  def publicly_accessible: () -> bool
2771
2776
  def endpoint: () -> ::String
2777
+ def db_shard_group_arn: () -> ::String
2772
2778
  end
2773
2779
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/Client.html#reboot_db_shard_group-instance_method
2774
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/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
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.248.0
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-18 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.205.0
22
+ version: 3.207.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.205.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement