aws-sdk-rds 1.175.0 → 1.176.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: da1f706193e5e4358b9ff9243909174b8f235ffc9f14e58dee306564ef6cc610
4
- data.tar.gz: 014d6045c12f3dbb39234c937ded9b138fd735e9d80692b14126fcc4026d7cd1
3
+ metadata.gz: cb40d9ae99d5dad283015f33b2b43cc753eb73fa9dd3c0e959d0528af7082e03
4
+ data.tar.gz: 5d801710053d20c9d30b6e987a3642e89562f9e78a44ac309b6e18b527b97936
5
5
  SHA512:
6
- metadata.gz: ce861126e4114a6018a347e8fca399a249617116d95932da8b5e246a12353847e797914245713a3af30dcc97cd145bae8298303ae7a558f591d593d950bfccfb
7
- data.tar.gz: 727f31d2a5b8f70818073a1d1df0ebee2225475a3a939c1bc1c1a9587ca4910510fb4d089f6e7b0e35725ecb38407eabe61c51868118d2232d9b8752aabeaea7
6
+ metadata.gz: 6572acc4b9fbfe51e9506fedb69078d83aee36668bfaf378a4fd72252b85b8a3de2ab1ac73a8efdd2bd672ba2c11b395e2800f7d162a967ff6fedcabb8207a4c
7
+ data.tar.gz: d65a3b5745b0bc28334f30ac10b66266ae467aea964bcb6be53ad4c29a7aec141a8a7835ab0b4179f38c19369e5399e5196dbf35bf3c594c6510314399200205
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.176.0 (2023-04-14)
5
+ ------------------
6
+
7
+ * Feature - This release adds support of modifying the engine mode of database clusters.
8
+
4
9
  1.175.0 (2023-04-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.175.0
1
+ 1.176.0
@@ -16586,8 +16586,6 @@ module Aws::RDS
16586
16586
  # The amount of storage in gibibytes (GiB) to allocate to each DB
16587
16587
  # instance in the Multi-AZ DB cluster.
16588
16588
  #
16589
- # Type: Integer
16590
- #
16591
16589
  # Valid for: Multi-AZ DB clusters only
16592
16590
  #
16593
16591
  # @option params [String] :storage_type
@@ -16828,6 +16826,33 @@ module Aws::RDS
16828
16826
  #
16829
16827
  # Valid for: Aurora DB clusters and Multi-AZ DB clusters
16830
16828
  #
16829
+ # @option params [String] :engine_mode
16830
+ # The DB engine mode of the DB cluster, either `provisioned` or
16831
+ # `serverless`.
16832
+ #
16833
+ # <note markdown="1"> The DB engine mode can be modified only from `serverless` to
16834
+ # `provisioned`.
16835
+ #
16836
+ # </note>
16837
+ #
16838
+ # For more information, see [ CreateDBCluster][1].
16839
+ #
16840
+ # Valid for: Aurora DB clusters only
16841
+ #
16842
+ #
16843
+ #
16844
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html
16845
+ #
16846
+ # @option params [Boolean] :allow_engine_mode_change
16847
+ # A value that indicates whether engine mode changes from `serverless`
16848
+ # to `provisioned` are allowed.
16849
+ #
16850
+ # Constraints: You must allow engine mode changes when specifying a
16851
+ # different value for the `EngineMode` parameter from the DB cluster's
16852
+ # current engine mode.
16853
+ #
16854
+ # Valid for: Aurora Serverless v1 DB clusters only
16855
+ #
16831
16856
  # @return [Types::ModifyDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
16832
16857
  #
16833
16858
  # * {Types::ModifyDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
@@ -16962,6 +16987,8 @@ module Aws::RDS
16962
16987
  # manage_master_user_password: false,
16963
16988
  # rotate_master_user_password: false,
16964
16989
  # master_user_secret_kms_key_id: "String",
16990
+ # engine_mode: "String",
16991
+ # allow_engine_mode_change: false,
16965
16992
  # })
16966
16993
  #
16967
16994
  # @example Response structure
@@ -27367,7 +27394,7 @@ module Aws::RDS
27367
27394
  params: params,
27368
27395
  config: config)
27369
27396
  context[:gem_name] = 'aws-sdk-rds'
27370
- context[:gem_version] = '1.175.0'
27397
+ context[:gem_version] = '1.176.0'
27371
27398
  Seahorse::Client::Request.new(handlers, context)
27372
27399
  end
27373
27400
 
@@ -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
@@ -2128,8 +2130,6 @@ module Aws::RDS
2128
2130
  # The amount of storage in gibibytes (GiB) to allocate to each DB
2129
2131
  # instance in the Multi-AZ DB cluster.
2130
2132
  #
2131
- # Type: Integer
2132
- #
2133
2133
  # Valid for: Multi-AZ DB clusters only
2134
2134
  # @option options [String] :storage_type
2135
2135
  # Specifies the storage type to be associated with the DB cluster.
@@ -2356,6 +2356,31 @@ module Aws::RDS
2356
2356
  # Amazon Web Services Region.
2357
2357
  #
2358
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
2359
2384
  # @return [DBCluster]
2360
2385
  def modify(options = {})
2361
2386
  options = options.merge(db_cluster_identifier: @id)
@@ -14773,8 +14773,6 @@ module Aws::RDS
14773
14773
  # The amount of storage in gibibytes (GiB) to allocate to each DB
14774
14774
  # instance in the Multi-AZ DB cluster.
14775
14775
  #
14776
- # Type: Integer
14777
- #
14778
14776
  # Valid for: Multi-AZ DB clusters only
14779
14777
  # @return [Integer]
14780
14778
  #
@@ -15030,6 +15028,35 @@ module Aws::RDS
15030
15028
  # Valid for: Aurora DB clusters and Multi-AZ DB clusters
15031
15029
  # @return [String]
15032
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
+ #
15033
15060
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage AWS API Documentation
15034
15061
  #
15035
15062
  class ModifyDBClusterMessage < Struct.new(
@@ -15071,7 +15098,9 @@ module Aws::RDS
15071
15098
  :network_type,
15072
15099
  :manage_master_user_password,
15073
15100
  :rotate_master_user_password,
15074
- :master_user_secret_kms_key_id)
15101
+ :master_user_secret_kms_key_id,
15102
+ :engine_mode,
15103
+ :allow_engine_mode_change)
15075
15104
  SENSITIVE = []
15076
15105
  include Aws::Structure
15077
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.175.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.175.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-04-06 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