aws-sdk-rds 1.174.0 → 1.176.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2594,6 +2594,8 @@ module Aws::RDS
2594
2594
  ModifyDBClusterMessage.add_member(:manage_master_user_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterUserPassword"))
2595
2595
  ModifyDBClusterMessage.add_member(:rotate_master_user_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "RotateMasterUserPassword"))
2596
2596
  ModifyDBClusterMessage.add_member(:master_user_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserSecretKmsKeyId"))
2597
+ ModifyDBClusterMessage.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
2598
+ ModifyDBClusterMessage.add_member(:allow_engine_mode_change, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowEngineModeChange"))
2597
2599
  ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
2598
2600
 
2599
2601
  ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
@@ -4940,6 +4942,7 @@ module Aws::RDS
4940
4942
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBSecurityGroupStateFault)
4941
4943
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
4942
4944
  o.errors << Shapes::ShapeRef.new(shape: DBClusterAlreadyExistsFault)
4945
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceAlreadyExistsFault)
4943
4946
  o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
4944
4947
  end)
4945
4948
 
@@ -1783,6 +1783,8 @@ module Aws::RDS
1783
1783
  # manage_master_user_password: false,
1784
1784
  # rotate_master_user_password: false,
1785
1785
  # master_user_secret_kms_key_id: "String",
1786
+ # engine_mode: "String",
1787
+ # allow_engine_mode_change: false,
1786
1788
  # })
1787
1789
  # @param [Hash] options ({})
1788
1790
  # @option options [String] :new_db_cluster_identifier
@@ -1807,14 +1809,10 @@ module Aws::RDS
1807
1809
  # the DB cluster. If this parameter is disabled, changes to the DB
1808
1810
  # cluster are applied during the next maintenance window.
1809
1811
  #
1810
- # The `ApplyImmediately` parameter only affects the
1811
- # `EnableIAMDatabaseAuthentication`, `MasterUserPassword`, and
1812
- # `NewDBClusterIdentifier` values. If the `ApplyImmediately` parameter
1813
- # is disabled, then changes to the `EnableIAMDatabaseAuthentication`,
1814
- # `MasterUserPassword`, and `NewDBClusterIdentifier` values are applied
1815
- # during the next maintenance window. All other changes are applied
1816
- # immediately, regardless of the value of the `ApplyImmediately`
1817
- # parameter.
1812
+ # Most modifications can be applied immediately or during the next
1813
+ # scheduled maintenance window. Some modifications, such as turning on
1814
+ # deletion protection and changing the master password, are applied
1815
+ # immediately—regardless of when you choose to apply them.
1818
1816
  #
1819
1817
  # By default, this parameter is disabled.
1820
1818
  #
@@ -2132,8 +2130,6 @@ module Aws::RDS
2132
2130
  # The amount of storage in gibibytes (GiB) to allocate to each DB
2133
2131
  # instance in the Multi-AZ DB cluster.
2134
2132
  #
2135
- # Type: Integer
2136
- #
2137
2133
  # Valid for: Multi-AZ DB clusters only
2138
2134
  # @option options [String] :storage_type
2139
2135
  # Specifies the storage type to be associated with the DB cluster.
@@ -2360,6 +2356,31 @@ module Aws::RDS
2360
2356
  # Amazon Web Services Region.
2361
2357
  #
2362
2358
  # Valid for: Aurora DB clusters and Multi-AZ DB clusters
2359
+ # @option options [String] :engine_mode
2360
+ # The DB engine mode of the DB cluster, either `provisioned` or
2361
+ # `serverless`.
2362
+ #
2363
+ # <note markdown="1"> The DB engine mode can be modified only from `serverless` to
2364
+ # `provisioned`.
2365
+ #
2366
+ # </note>
2367
+ #
2368
+ # For more information, see [ CreateDBCluster][1].
2369
+ #
2370
+ # Valid for: Aurora DB clusters only
2371
+ #
2372
+ #
2373
+ #
2374
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html
2375
+ # @option options [Boolean] :allow_engine_mode_change
2376
+ # A value that indicates whether engine mode changes from `serverless`
2377
+ # to `provisioned` are allowed.
2378
+ #
2379
+ # Constraints: You must allow engine mode changes when specifying a
2380
+ # different value for the `EngineMode` parameter from the DB cluster's
2381
+ # current engine mode.
2382
+ #
2383
+ # Valid for: Aurora Serverless v1 DB clusters only
2363
2384
  # @return [DBCluster]
2364
2385
  def modify(options = {})
2365
2386
  options = options.merge(db_cluster_identifier: @id)
@@ -1223,13 +1223,15 @@ module Aws::RDS
1223
1223
  #
1224
1224
  # * `aurora-postgresql`
1225
1225
  #
1226
- # * `custom-oracle-ee (for RDS Custom for Oracle instances)`
1226
+ # * `custom-oracle-ee (for RDS Custom for Oracle DB instances)`
1227
1227
  #
1228
- # * `custom-sqlserver-ee (for RDS Custom for SQL Server instances)`
1228
+ # * `custom-oracle-ee-cdb (for RDS Custom for Oracle DB instances)`
1229
1229
  #
1230
- # * `custom-sqlserver-se (for RDS Custom for SQL Server instances)`
1230
+ # * `custom-sqlserver-ee (for RDS Custom for SQL Server DB instances)`
1231
1231
  #
1232
- # * `custom-sqlserver-web (for RDS Custom for SQL Server instances)`
1232
+ # * `custom-sqlserver-se (for RDS Custom for SQL Server DB instances)`
1233
+ #
1234
+ # * `custom-sqlserver-web (for RDS Custom for SQL Server DB instances)`
1233
1235
  #
1234
1236
  # * `mariadb`
1235
1237
  #
@@ -2250,9 +2252,6 @@ module Aws::RDS
2250
2252
  #
2251
2253
  # Constraints:
2252
2254
  #
2253
- # * Can only be specified if the source DB instance identifier specifies
2254
- # a DB instance in another Amazon Web Services Region.
2255
- #
2256
2255
  # * If supplied, must match the name of an existing DBSubnetGroup.
2257
2256
  #
2258
2257
  # * The specified DB subnet group must be in the same Amazon Web
@@ -1285,13 +1285,15 @@ module Aws::RDS
1285
1285
  #
1286
1286
  # * `aurora-postgresql`
1287
1287
  #
1288
- # * `custom-oracle-ee (for RDS Custom for Oracle instances)`
1288
+ # * `custom-oracle-ee (for RDS Custom for Oracle DB instances)`
1289
1289
  #
1290
- # * `custom-sqlserver-ee (for RDS Custom for SQL Server instances)`
1290
+ # * `custom-oracle-ee-cdb (for RDS Custom for Oracle DB instances)`
1291
1291
  #
1292
- # * `custom-sqlserver-se (for RDS Custom for SQL Server instances)`
1292
+ # * `custom-sqlserver-ee (for RDS Custom for SQL Server DB instances)`
1293
1293
  #
1294
- # * `custom-sqlserver-web (for RDS Custom for SQL Server instances)`
1294
+ # * `custom-sqlserver-se (for RDS Custom for SQL Server DB instances)`
1295
+ #
1296
+ # * `custom-sqlserver-web (for RDS Custom for SQL Server DB instances)`
1295
1297
  #
1296
1298
  # * `mariadb`
1297
1299
  #
@@ -2672,6 +2674,10 @@ module Aws::RDS
2672
2674
  # Amazon Resource Names (ARNs). The results list only includes
2673
2675
  # information about the DB clusters identified by these ARNs.
2674
2676
  #
2677
+ # * `db-cluster-resource-id` - Accepts DB cluster resource identifiers.
2678
+ # The results list will only include information about the DB clusters
2679
+ # identified by these DB cluster resource identifiers.
2680
+ #
2675
2681
  # * `domain` - Accepts Active Directory directory IDs. The results list
2676
2682
  # only includes information about the DB clusters associated with
2677
2683
  # these domains.
@@ -3310,13 +3310,16 @@ module Aws::RDS
3310
3310
  #
3311
3311
  # * `aurora-postgresql`
3312
3312
  #
3313
- # * `custom-oracle-ee (for RDS Custom for Oracle instances)`
3313
+ # * `custom-oracle-ee (for RDS Custom for Oracle DB instances)`
3314
3314
  #
3315
- # * `custom-sqlserver-ee (for RDS Custom for SQL Server instances)`
3315
+ # * `custom-oracle-ee-cdb (for RDS Custom for Oracle DB instances)`
3316
3316
  #
3317
- # * `custom-sqlserver-se (for RDS Custom for SQL Server instances)`
3317
+ # * `custom-sqlserver-ee (for RDS Custom for SQL Server DB instances)`
3318
3318
  #
3319
- # * `custom-sqlserver-web (for RDS Custom for SQL Server instances)`
3319
+ # * `custom-sqlserver-se (for RDS Custom for SQL Server DB instances)`
3320
+ #
3321
+ # * `custom-sqlserver-web (for RDS Custom for SQL Server DB
3322
+ # instances)`
3320
3323
  #
3321
3324
  # * `mariadb`
3322
3325
  #
@@ -4510,9 +4513,6 @@ module Aws::RDS
4510
4513
  #
4511
4514
  # Constraints:
4512
4515
  #
4513
- # * Can only be specified if the source DB instance identifier
4514
- # specifies a DB instance in another Amazon Web Services Region.
4515
- #
4516
4516
  # * If supplied, must match the name of an existing DBSubnetGroup.
4517
4517
  #
4518
4518
  # * The specified DB subnet group must be in the same Amazon Web
@@ -5607,7 +5607,8 @@ module Aws::RDS
5607
5607
  end
5608
5608
 
5609
5609
  # @!attribute [rw] global_cluster_identifier
5610
- # The cluster identifier of the new global database cluster.
5610
+ # The cluster identifier of the new global database cluster. This
5611
+ # parameter is stored as a lowercase string.
5611
5612
  # @return [String]
5612
5613
  #
5613
5614
  # @!attribute [rw] source_db_cluster_identifier
@@ -9620,8 +9621,8 @@ module Aws::RDS
9620
9621
  end
9621
9622
 
9622
9623
  # @!attribute [rw] engine
9623
- # The database engine. The only supported engine is
9624
- # `custom-oracle-ee`.
9624
+ # The database engine. The only supported engines are
9625
+ # `custom-oracle-ee` and `custom-oracle-ee-cdb`.
9625
9626
  # @return [String]
9626
9627
  #
9627
9628
  # @!attribute [rw] engine_version
@@ -10734,6 +10735,11 @@ module Aws::RDS
10734
10735
  # Amazon Resource Names (ARNs). The results list only includes
10735
10736
  # information about the DB clusters identified by these ARNs.
10736
10737
  #
10738
+ # * `db-cluster-resource-id` - Accepts DB cluster resource
10739
+ # identifiers. The results list will only include information about
10740
+ # the DB clusters identified by these DB cluster resource
10741
+ # identifiers.
10742
+ #
10737
10743
  # * `domain` - Accepts Active Directory directory IDs. The results
10738
10744
  # list only includes information about the DB clusters associated
10739
10745
  # with these domains.
@@ -14282,7 +14288,8 @@ module Aws::RDS
14282
14288
  end
14283
14289
 
14284
14290
  # @!attribute [rw] engine
14285
- # The DB engine. The only supported value is `custom-oracle-ee`.
14291
+ # The DB engine. The only supported values are `custom-oracle-ee` and
14292
+ # `custom-oracle-ee-cdb`.
14286
14293
  # @return [String]
14287
14294
  #
14288
14295
  # @!attribute [rw] engine_version
@@ -14396,14 +14403,10 @@ module Aws::RDS
14396
14403
  # the DB cluster. If this parameter is disabled, changes to the DB
14397
14404
  # cluster are applied during the next maintenance window.
14398
14405
  #
14399
- # The `ApplyImmediately` parameter only affects the
14400
- # `EnableIAMDatabaseAuthentication`, `MasterUserPassword`, and
14401
- # `NewDBClusterIdentifier` values. If the `ApplyImmediately` parameter
14402
- # is disabled, then changes to the `EnableIAMDatabaseAuthentication`,
14403
- # `MasterUserPassword`, and `NewDBClusterIdentifier` values are
14404
- # applied during the next maintenance window. All other changes are
14405
- # applied immediately, regardless of the value of the
14406
- # `ApplyImmediately` parameter.
14406
+ # Most modifications can be applied immediately or during the next
14407
+ # scheduled maintenance window. Some modifications, such as turning on
14408
+ # deletion protection and changing the master password, are applied
14409
+ # immediately—regardless of when you choose to apply them.
14407
14410
  #
14408
14411
  # By default, this parameter is disabled.
14409
14412
  #
@@ -14770,8 +14773,6 @@ module Aws::RDS
14770
14773
  # The amount of storage in gibibytes (GiB) to allocate to each DB
14771
14774
  # instance in the Multi-AZ DB cluster.
14772
14775
  #
14773
- # Type: Integer
14774
- #
14775
14776
  # Valid for: Multi-AZ DB clusters only
14776
14777
  # @return [Integer]
14777
14778
  #
@@ -15027,6 +15028,35 @@ module Aws::RDS
15027
15028
  # Valid for: Aurora DB clusters and Multi-AZ DB clusters
15028
15029
  # @return [String]
15029
15030
  #
15031
+ # @!attribute [rw] engine_mode
15032
+ # The DB engine mode of the DB cluster, either `provisioned` or
15033
+ # `serverless`.
15034
+ #
15035
+ # <note markdown="1"> The DB engine mode can be modified only from `serverless` to
15036
+ # `provisioned`.
15037
+ #
15038
+ # </note>
15039
+ #
15040
+ # For more information, see [ CreateDBCluster][1].
15041
+ #
15042
+ # Valid for: Aurora DB clusters only
15043
+ #
15044
+ #
15045
+ #
15046
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html
15047
+ # @return [String]
15048
+ #
15049
+ # @!attribute [rw] allow_engine_mode_change
15050
+ # A value that indicates whether engine mode changes from `serverless`
15051
+ # to `provisioned` are allowed.
15052
+ #
15053
+ # Constraints: You must allow engine mode changes when specifying a
15054
+ # different value for the `EngineMode` parameter from the DB
15055
+ # cluster's current engine mode.
15056
+ #
15057
+ # Valid for: Aurora Serverless v1 DB clusters only
15058
+ # @return [Boolean]
15059
+ #
15030
15060
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage AWS API Documentation
15031
15061
  #
15032
15062
  class ModifyDBClusterMessage < Struct.new(
@@ -15068,7 +15098,9 @@ module Aws::RDS
15068
15098
  :network_type,
15069
15099
  :manage_master_user_password,
15070
15100
  :rotate_master_user_password,
15071
- :master_user_secret_kms_key_id)
15101
+ :master_user_secret_kms_key_id,
15102
+ :engine_mode,
15103
+ :allow_engine_mode_change)
15072
15104
  SENSITIVE = []
15073
15105
  include Aws::Structure
15074
15106
  end
data/lib/aws-sdk-rds.rb CHANGED
@@ -78,6 +78,6 @@ require_relative 'aws-sdk-rds/customizations'
78
78
  # @!group service
79
79
  module Aws::RDS
80
80
 
81
- GEM_VERSION = '1.174.0'
81
+ GEM_VERSION = '1.176.0'
82
82
 
83
83
  end
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.174.0
4
+ version: 1.176.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-29 00:00:00.000000000 Z
11
+ date: 2023-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4