aws-sdk-rds 1.160.0 → 1.161.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +381 -6
- data/lib/aws-sdk-rds/client_api.rb +158 -0
- data/lib/aws-sdk-rds/db_instance.rb +1 -1
- data/lib/aws-sdk-rds/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-rds/endpoint_provider.rb +101 -101
- data/lib/aws-sdk-rds/endpoints.rb +56 -0
- data/lib/aws-sdk-rds/errors.rb +55 -0
- data/lib/aws-sdk-rds/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-rds/resource.rb +1 -1
- data/lib/aws-sdk-rds/types.rb +553 -4
- data/lib/aws-sdk-rds.rb +1 -1
- 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: 9a5ff376334c53aa1e598813e8b02ce09166f63f16d9040df9580844529cf2bc
|
4
|
+
data.tar.gz: e556360e8d4354f01b3647e1a7cf8534de605272eddfa1b89eb92573d935dd83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be7ea75e16d7f4f8cb02d0afd5420d0ff24eae24389893ad5d3327e298754961db5a4d848192d55d3cff311acd09819d248b7cf3404ac342e7f69c2489b8f7d8
|
7
|
+
data.tar.gz: c0199e5c1840c43ed84ce422f25ed048fb64385f109d32f0e8c955f8e5ede655c5377111b90b4ce5783b7eb82db919543ef0617975cbf18deced22d58d6016fd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.161.0 (2022-11-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables new Aurora and RDS feature called Blue/Green Deployments that makes updates to databases safer, simpler and faster.
|
8
|
+
|
4
9
|
1.160.0 (2022-11-16)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.161.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -1790,6 +1790,124 @@ module Aws::RDS
|
|
1790
1790
|
req.send_request(options)
|
1791
1791
|
end
|
1792
1792
|
|
1793
|
+
# Creates a blue/green deployment.
|
1794
|
+
#
|
1795
|
+
# A blue/green deployment creates a staging environment that copies the
|
1796
|
+
# production environment. In a blue/green deployment, the blue
|
1797
|
+
# environment is the current production environment. The green
|
1798
|
+
# environment is the staging environment. The staging environment stays
|
1799
|
+
# in sync with the current production environment using logical
|
1800
|
+
# replication.
|
1801
|
+
#
|
1802
|
+
# You can make changes to the databases in the green environment without
|
1803
|
+
# affecting production workloads. For example, you can upgrade the major
|
1804
|
+
# or minor DB engine version, change database parameters, or make schema
|
1805
|
+
# changes in the staging environment. You can thoroughly test changes in
|
1806
|
+
# the green environment. When ready, you can switch over the
|
1807
|
+
# environments to promote the green environment to be the new production
|
1808
|
+
# environment. The switchover typically takes under a minute.
|
1809
|
+
#
|
1810
|
+
# For more information, see [Using Amazon RDS Blue/Green Deployments for
|
1811
|
+
# database updates][1] in the *Amazon RDS User Guide* and [ Using Amazon
|
1812
|
+
# RDS Blue/Green Deployments for database updates][2] in the *Amazon
|
1813
|
+
# Aurora User Guide*.
|
1814
|
+
#
|
1815
|
+
#
|
1816
|
+
#
|
1817
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
|
1818
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
|
1819
|
+
#
|
1820
|
+
# @option params [required, String] :blue_green_deployment_name
|
1821
|
+
# The name of the blue/green deployment.
|
1822
|
+
#
|
1823
|
+
# Constraints:
|
1824
|
+
#
|
1825
|
+
# * Can't be the same as an existing blue/green deployment name in the
|
1826
|
+
# same account and Amazon Web Services Region.
|
1827
|
+
#
|
1828
|
+
# ^
|
1829
|
+
#
|
1830
|
+
# @option params [required, String] :source
|
1831
|
+
# The Amazon Resource Name (ARN) of the source production database.
|
1832
|
+
#
|
1833
|
+
# Specify the database that you want to clone. The blue/green deployment
|
1834
|
+
# creates this database in the green environment. You can make updates
|
1835
|
+
# to the database in the green environment, such as an engine version
|
1836
|
+
# upgrade. When you are ready, you can switch the database in the green
|
1837
|
+
# environment to be the production database.
|
1838
|
+
#
|
1839
|
+
# @option params [String] :target_engine_version
|
1840
|
+
# The engine version of the database in the green environment.
|
1841
|
+
#
|
1842
|
+
# Specify the engine version to upgrade to in the green environment.
|
1843
|
+
#
|
1844
|
+
# @option params [String] :target_db_parameter_group_name
|
1845
|
+
# The DB parameter group associated with the DB instance in the green
|
1846
|
+
# environment.
|
1847
|
+
#
|
1848
|
+
# To test parameter changes, specify a DB parameter group that is
|
1849
|
+
# different from the one associated with the source DB instance.
|
1850
|
+
#
|
1851
|
+
# @option params [String] :target_db_cluster_parameter_group_name
|
1852
|
+
# The DB cluster parameter group associated with the Aurora DB cluster
|
1853
|
+
# in the green environment.
|
1854
|
+
#
|
1855
|
+
# To test parameter changes, specify a DB cluster parameter group that
|
1856
|
+
# is different from the one associated with the source DB cluster.
|
1857
|
+
#
|
1858
|
+
# @option params [Array<Types::Tag>] :tags
|
1859
|
+
# Tags to assign to the blue/green deployment.
|
1860
|
+
#
|
1861
|
+
# @return [Types::CreateBlueGreenDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1862
|
+
#
|
1863
|
+
# * {Types::CreateBlueGreenDeploymentResponse#blue_green_deployment #blue_green_deployment} => Types::BlueGreenDeployment
|
1864
|
+
#
|
1865
|
+
# @example Request syntax with placeholder values
|
1866
|
+
#
|
1867
|
+
# resp = client.create_blue_green_deployment({
|
1868
|
+
# blue_green_deployment_name: "BlueGreenDeploymentName", # required
|
1869
|
+
# source: "DatabaseArn", # required
|
1870
|
+
# target_engine_version: "TargetEngineVersion",
|
1871
|
+
# target_db_parameter_group_name: "TargetDBParameterGroupName",
|
1872
|
+
# target_db_cluster_parameter_group_name: "TargetDBClusterParameterGroupName",
|
1873
|
+
# tags: [
|
1874
|
+
# {
|
1875
|
+
# key: "String",
|
1876
|
+
# value: "String",
|
1877
|
+
# },
|
1878
|
+
# ],
|
1879
|
+
# })
|
1880
|
+
#
|
1881
|
+
# @example Response structure
|
1882
|
+
#
|
1883
|
+
# resp.blue_green_deployment.blue_green_deployment_identifier #=> String
|
1884
|
+
# resp.blue_green_deployment.blue_green_deployment_name #=> String
|
1885
|
+
# resp.blue_green_deployment.source #=> String
|
1886
|
+
# resp.blue_green_deployment.target #=> String
|
1887
|
+
# resp.blue_green_deployment.switchover_details #=> Array
|
1888
|
+
# resp.blue_green_deployment.switchover_details[0].source_member #=> String
|
1889
|
+
# resp.blue_green_deployment.switchover_details[0].target_member #=> String
|
1890
|
+
# resp.blue_green_deployment.switchover_details[0].status #=> String
|
1891
|
+
# resp.blue_green_deployment.tasks #=> Array
|
1892
|
+
# resp.blue_green_deployment.tasks[0].name #=> String
|
1893
|
+
# resp.blue_green_deployment.tasks[0].status #=> String
|
1894
|
+
# resp.blue_green_deployment.status #=> String
|
1895
|
+
# resp.blue_green_deployment.status_details #=> String
|
1896
|
+
# resp.blue_green_deployment.create_time #=> Time
|
1897
|
+
# resp.blue_green_deployment.delete_time #=> Time
|
1898
|
+
# resp.blue_green_deployment.tag_list #=> Array
|
1899
|
+
# resp.blue_green_deployment.tag_list[0].key #=> String
|
1900
|
+
# resp.blue_green_deployment.tag_list[0].value #=> String
|
1901
|
+
#
|
1902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateBlueGreenDeployment AWS API Documentation
|
1903
|
+
#
|
1904
|
+
# @overload create_blue_green_deployment(params = {})
|
1905
|
+
# @param [Hash] params ({})
|
1906
|
+
def create_blue_green_deployment(params = {}, options = {})
|
1907
|
+
req = build_request(:create_blue_green_deployment, params)
|
1908
|
+
req.send_request(options)
|
1909
|
+
end
|
1910
|
+
|
1793
1911
|
# Creates a custom DB engine version (CEV). A CEV is a binary volume
|
1794
1912
|
# snapshot of a database engine and specific AMI. The supported engines
|
1795
1913
|
# are the following:
|
@@ -1844,10 +1962,11 @@ module Aws::RDS
|
|
1844
1962
|
# only supported value is `custom-oracle-ee`.
|
1845
1963
|
#
|
1846
1964
|
# @option params [required, String] :engine_version
|
1847
|
-
# The name of your CEV. The name format is
|
1848
|
-
# example, a valid name is `19.my_cev1`. This setting is required
|
1849
|
-
# RDS Custom for Oracle, but optional for Amazon RDS. The
|
1850
|
-
# `Engine` and `EngineVersion` is unique per customer per
|
1965
|
+
# The name of your CEV. The name format is 19.*customized\_string*. For
|
1966
|
+
# example, a valid CEV name is `19.my_cev1`. This setting is required
|
1967
|
+
# for RDS Custom for Oracle, but optional for Amazon RDS. The
|
1968
|
+
# combination of `Engine` and `EngineVersion` is unique per customer per
|
1969
|
+
# Region.
|
1851
1970
|
#
|
1852
1971
|
# @option params [required, String] :database_installation_files_s3_bucket_name
|
1853
1972
|
# The name of an Amazon S3 bucket that contains database installation
|
@@ -3982,7 +4101,7 @@ module Aws::RDS
|
|
3982
4101
|
#
|
3983
4102
|
# A custom engine version (CEV) that you have previously created. This
|
3984
4103
|
# setting is required for RDS Custom for Oracle. The CEV name has the
|
3985
|
-
# following format:
|
4104
|
+
# following format: 19.*customized\_string*. A valid CEV name is
|
3986
4105
|
# `19.my_cev1`. For more information, see [ Creating an RDS Custom for
|
3987
4106
|
# Oracle DB instance][1] in the *Amazon RDS User Guide*.
|
3988
4107
|
#
|
@@ -6649,6 +6768,73 @@ module Aws::RDS
|
|
6649
6768
|
req.send_request(options)
|
6650
6769
|
end
|
6651
6770
|
|
6771
|
+
# Deletes a blue/green deployment.
|
6772
|
+
#
|
6773
|
+
# For more information, see [Using Amazon RDS Blue/Green Deployments for
|
6774
|
+
# database updates][1] in the *Amazon RDS User Guide* and [ Using Amazon
|
6775
|
+
# RDS Blue/Green Deployments for database updates][2] in the *Amazon
|
6776
|
+
# Aurora User Guide*.
|
6777
|
+
#
|
6778
|
+
#
|
6779
|
+
#
|
6780
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
|
6781
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
|
6782
|
+
#
|
6783
|
+
# @option params [required, String] :blue_green_deployment_identifier
|
6784
|
+
# The blue/green deployment identifier of the deployment to be deleted.
|
6785
|
+
# This parameter isn't case-sensitive.
|
6786
|
+
#
|
6787
|
+
# Constraints:
|
6788
|
+
#
|
6789
|
+
# * Must match an existing blue/green deployment identifier.
|
6790
|
+
#
|
6791
|
+
# ^
|
6792
|
+
#
|
6793
|
+
# @option params [Boolean] :delete_target
|
6794
|
+
# A value that indicates whether to delete the resources in the green
|
6795
|
+
# environment.
|
6796
|
+
#
|
6797
|
+
# @return [Types::DeleteBlueGreenDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6798
|
+
#
|
6799
|
+
# * {Types::DeleteBlueGreenDeploymentResponse#blue_green_deployment #blue_green_deployment} => Types::BlueGreenDeployment
|
6800
|
+
#
|
6801
|
+
# @example Request syntax with placeholder values
|
6802
|
+
#
|
6803
|
+
# resp = client.delete_blue_green_deployment({
|
6804
|
+
# blue_green_deployment_identifier: "BlueGreenDeploymentIdentifier", # required
|
6805
|
+
# delete_target: false,
|
6806
|
+
# })
|
6807
|
+
#
|
6808
|
+
# @example Response structure
|
6809
|
+
#
|
6810
|
+
# resp.blue_green_deployment.blue_green_deployment_identifier #=> String
|
6811
|
+
# resp.blue_green_deployment.blue_green_deployment_name #=> String
|
6812
|
+
# resp.blue_green_deployment.source #=> String
|
6813
|
+
# resp.blue_green_deployment.target #=> String
|
6814
|
+
# resp.blue_green_deployment.switchover_details #=> Array
|
6815
|
+
# resp.blue_green_deployment.switchover_details[0].source_member #=> String
|
6816
|
+
# resp.blue_green_deployment.switchover_details[0].target_member #=> String
|
6817
|
+
# resp.blue_green_deployment.switchover_details[0].status #=> String
|
6818
|
+
# resp.blue_green_deployment.tasks #=> Array
|
6819
|
+
# resp.blue_green_deployment.tasks[0].name #=> String
|
6820
|
+
# resp.blue_green_deployment.tasks[0].status #=> String
|
6821
|
+
# resp.blue_green_deployment.status #=> String
|
6822
|
+
# resp.blue_green_deployment.status_details #=> String
|
6823
|
+
# resp.blue_green_deployment.create_time #=> Time
|
6824
|
+
# resp.blue_green_deployment.delete_time #=> Time
|
6825
|
+
# resp.blue_green_deployment.tag_list #=> Array
|
6826
|
+
# resp.blue_green_deployment.tag_list[0].key #=> String
|
6827
|
+
# resp.blue_green_deployment.tag_list[0].value #=> String
|
6828
|
+
#
|
6829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteBlueGreenDeployment AWS API Documentation
|
6830
|
+
#
|
6831
|
+
# @overload delete_blue_green_deployment(params = {})
|
6832
|
+
# @param [Hash] params ({})
|
6833
|
+
def delete_blue_green_deployment(params = {}, options = {})
|
6834
|
+
req = build_request(:delete_blue_green_deployment, params)
|
6835
|
+
req.send_request(options)
|
6836
|
+
end
|
6837
|
+
|
6652
6838
|
# Deletes a custom engine version. To run this command, make sure you
|
6653
6839
|
# meet the following prerequisites:
|
6654
6840
|
#
|
@@ -8070,6 +8256,122 @@ module Aws::RDS
|
|
8070
8256
|
req.send_request(options)
|
8071
8257
|
end
|
8072
8258
|
|
8259
|
+
# Returns information about blue/green deployments.
|
8260
|
+
#
|
8261
|
+
# For more information, see [Using Amazon RDS Blue/Green Deployments for
|
8262
|
+
# database updates][1] in the *Amazon RDS User Guide* and [ Using Amazon
|
8263
|
+
# RDS Blue/Green Deployments for database updates][2] in the *Amazon
|
8264
|
+
# Aurora User Guide*.
|
8265
|
+
#
|
8266
|
+
#
|
8267
|
+
#
|
8268
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
|
8269
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
|
8270
|
+
#
|
8271
|
+
# @option params [String] :blue_green_deployment_identifier
|
8272
|
+
# The blue/green deployment identifier. If this parameter is specified,
|
8273
|
+
# information from only the specific blue/green deployment is returned.
|
8274
|
+
# This parameter isn't case-sensitive.
|
8275
|
+
#
|
8276
|
+
# Constraints:
|
8277
|
+
#
|
8278
|
+
# * If supplied, must match an existing blue/green deployment
|
8279
|
+
# identifier.
|
8280
|
+
#
|
8281
|
+
# ^
|
8282
|
+
#
|
8283
|
+
# @option params [Array<Types::Filter>] :filters
|
8284
|
+
# A filter that specifies one or more blue/green deployments to
|
8285
|
+
# describe.
|
8286
|
+
#
|
8287
|
+
# Supported filters:
|
8288
|
+
#
|
8289
|
+
# * `blue-green-deployment-identifier` - Accepts system-generated
|
8290
|
+
# identifiers for blue/green deployments. The results list only
|
8291
|
+
# includes information about the blue/green deployments with the
|
8292
|
+
# specified identifiers.
|
8293
|
+
#
|
8294
|
+
# * `blue-green-deployment-name` - Accepts user-supplied names for
|
8295
|
+
# blue/green deployments. The results list only includes information
|
8296
|
+
# about the blue/green deployments with the specified names.
|
8297
|
+
#
|
8298
|
+
# * `source` - Accepts source databases for a blue/green deployment. The
|
8299
|
+
# results list only includes information about the blue/green
|
8300
|
+
# deployments with the specified source databases.
|
8301
|
+
#
|
8302
|
+
# * `target` - Accepts target databases for a blue/green deployment. The
|
8303
|
+
# results list only includes information about the blue/green
|
8304
|
+
# deployments with the specified target databases.
|
8305
|
+
#
|
8306
|
+
# @option params [String] :marker
|
8307
|
+
# An optional pagination token provided by a previous
|
8308
|
+
# `DescribeBlueGreenDeployments` request. If this parameter is
|
8309
|
+
# specified, the response includes only records beyond the marker, up to
|
8310
|
+
# the value specified by `MaxRecords`.
|
8311
|
+
#
|
8312
|
+
# @option params [Integer] :max_records
|
8313
|
+
# The maximum number of records to include in the response. If more
|
8314
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
8315
|
+
# token called a marker is included in the response so you can retrieve
|
8316
|
+
# the remaining results.
|
8317
|
+
#
|
8318
|
+
# Default: 100
|
8319
|
+
#
|
8320
|
+
# Constraints: Minimum 20, maximum 100.
|
8321
|
+
#
|
8322
|
+
# @return [Types::DescribeBlueGreenDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8323
|
+
#
|
8324
|
+
# * {Types::DescribeBlueGreenDeploymentsResponse#blue_green_deployments #blue_green_deployments} => Array<Types::BlueGreenDeployment>
|
8325
|
+
# * {Types::DescribeBlueGreenDeploymentsResponse#marker #marker} => String
|
8326
|
+
#
|
8327
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8328
|
+
#
|
8329
|
+
# @example Request syntax with placeholder values
|
8330
|
+
#
|
8331
|
+
# resp = client.describe_blue_green_deployments({
|
8332
|
+
# blue_green_deployment_identifier: "BlueGreenDeploymentIdentifier",
|
8333
|
+
# filters: [
|
8334
|
+
# {
|
8335
|
+
# name: "String", # required
|
8336
|
+
# values: ["String"], # required
|
8337
|
+
# },
|
8338
|
+
# ],
|
8339
|
+
# marker: "String",
|
8340
|
+
# max_records: 1,
|
8341
|
+
# })
|
8342
|
+
#
|
8343
|
+
# @example Response structure
|
8344
|
+
#
|
8345
|
+
# resp.blue_green_deployments #=> Array
|
8346
|
+
# resp.blue_green_deployments[0].blue_green_deployment_identifier #=> String
|
8347
|
+
# resp.blue_green_deployments[0].blue_green_deployment_name #=> String
|
8348
|
+
# resp.blue_green_deployments[0].source #=> String
|
8349
|
+
# resp.blue_green_deployments[0].target #=> String
|
8350
|
+
# resp.blue_green_deployments[0].switchover_details #=> Array
|
8351
|
+
# resp.blue_green_deployments[0].switchover_details[0].source_member #=> String
|
8352
|
+
# resp.blue_green_deployments[0].switchover_details[0].target_member #=> String
|
8353
|
+
# resp.blue_green_deployments[0].switchover_details[0].status #=> String
|
8354
|
+
# resp.blue_green_deployments[0].tasks #=> Array
|
8355
|
+
# resp.blue_green_deployments[0].tasks[0].name #=> String
|
8356
|
+
# resp.blue_green_deployments[0].tasks[0].status #=> String
|
8357
|
+
# resp.blue_green_deployments[0].status #=> String
|
8358
|
+
# resp.blue_green_deployments[0].status_details #=> String
|
8359
|
+
# resp.blue_green_deployments[0].create_time #=> Time
|
8360
|
+
# resp.blue_green_deployments[0].delete_time #=> Time
|
8361
|
+
# resp.blue_green_deployments[0].tag_list #=> Array
|
8362
|
+
# resp.blue_green_deployments[0].tag_list[0].key #=> String
|
8363
|
+
# resp.blue_green_deployments[0].tag_list[0].value #=> String
|
8364
|
+
# resp.marker #=> String
|
8365
|
+
#
|
8366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeBlueGreenDeployments AWS API Documentation
|
8367
|
+
#
|
8368
|
+
# @overload describe_blue_green_deployments(params = {})
|
8369
|
+
# @param [Hash] params ({})
|
8370
|
+
def describe_blue_green_deployments(params = {}, options = {})
|
8371
|
+
req = build_request(:describe_blue_green_deployments, params)
|
8372
|
+
req.send_request(options)
|
8373
|
+
end
|
8374
|
+
|
8073
8375
|
# Lists the set of CA certificates provided by Amazon RDS for this
|
8074
8376
|
# Amazon Web Services account.
|
8075
8377
|
#
|
@@ -23072,6 +23374,79 @@ module Aws::RDS
|
|
23072
23374
|
req.send_request(options)
|
23073
23375
|
end
|
23074
23376
|
|
23377
|
+
# Switches over a blue/green deployment.
|
23378
|
+
#
|
23379
|
+
# Before you switch over, production traffic is routed to the databases
|
23380
|
+
# in the blue environment. After you switch over, production traffic is
|
23381
|
+
# routed to the databases in the green environment.
|
23382
|
+
#
|
23383
|
+
# For more information, see [Using Amazon RDS Blue/Green Deployments for
|
23384
|
+
# database updates][1] in the *Amazon RDS User Guide* and [ Using Amazon
|
23385
|
+
# RDS Blue/Green Deployments for database updates][2] in the *Amazon
|
23386
|
+
# Aurora User Guide*.
|
23387
|
+
#
|
23388
|
+
#
|
23389
|
+
#
|
23390
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html
|
23391
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html
|
23392
|
+
#
|
23393
|
+
# @option params [required, String] :blue_green_deployment_identifier
|
23394
|
+
# The blue/green deployment identifier.
|
23395
|
+
#
|
23396
|
+
# Constraints:
|
23397
|
+
#
|
23398
|
+
# * Must match an existing blue/green deployment identifier.
|
23399
|
+
#
|
23400
|
+
# ^
|
23401
|
+
#
|
23402
|
+
# @option params [Integer] :switchover_timeout
|
23403
|
+
# The amount of time, in seconds, for the switchover to complete. The
|
23404
|
+
# default is 300.
|
23405
|
+
#
|
23406
|
+
# If the switchover takes longer than the specified duration, then any
|
23407
|
+
# changes are rolled back, and no changes are made to the environments.
|
23408
|
+
#
|
23409
|
+
# @return [Types::SwitchoverBlueGreenDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
23410
|
+
#
|
23411
|
+
# * {Types::SwitchoverBlueGreenDeploymentResponse#blue_green_deployment #blue_green_deployment} => Types::BlueGreenDeployment
|
23412
|
+
#
|
23413
|
+
# @example Request syntax with placeholder values
|
23414
|
+
#
|
23415
|
+
# resp = client.switchover_blue_green_deployment({
|
23416
|
+
# blue_green_deployment_identifier: "BlueGreenDeploymentIdentifier", # required
|
23417
|
+
# switchover_timeout: 1,
|
23418
|
+
# })
|
23419
|
+
#
|
23420
|
+
# @example Response structure
|
23421
|
+
#
|
23422
|
+
# resp.blue_green_deployment.blue_green_deployment_identifier #=> String
|
23423
|
+
# resp.blue_green_deployment.blue_green_deployment_name #=> String
|
23424
|
+
# resp.blue_green_deployment.source #=> String
|
23425
|
+
# resp.blue_green_deployment.target #=> String
|
23426
|
+
# resp.blue_green_deployment.switchover_details #=> Array
|
23427
|
+
# resp.blue_green_deployment.switchover_details[0].source_member #=> String
|
23428
|
+
# resp.blue_green_deployment.switchover_details[0].target_member #=> String
|
23429
|
+
# resp.blue_green_deployment.switchover_details[0].status #=> String
|
23430
|
+
# resp.blue_green_deployment.tasks #=> Array
|
23431
|
+
# resp.blue_green_deployment.tasks[0].name #=> String
|
23432
|
+
# resp.blue_green_deployment.tasks[0].status #=> String
|
23433
|
+
# resp.blue_green_deployment.status #=> String
|
23434
|
+
# resp.blue_green_deployment.status_details #=> String
|
23435
|
+
# resp.blue_green_deployment.create_time #=> Time
|
23436
|
+
# resp.blue_green_deployment.delete_time #=> Time
|
23437
|
+
# resp.blue_green_deployment.tag_list #=> Array
|
23438
|
+
# resp.blue_green_deployment.tag_list[0].key #=> String
|
23439
|
+
# resp.blue_green_deployment.tag_list[0].value #=> String
|
23440
|
+
#
|
23441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverBlueGreenDeployment AWS API Documentation
|
23442
|
+
#
|
23443
|
+
# @overload switchover_blue_green_deployment(params = {})
|
23444
|
+
# @param [Hash] params ({})
|
23445
|
+
def switchover_blue_green_deployment(params = {}, options = {})
|
23446
|
+
req = build_request(:switchover_blue_green_deployment, params)
|
23447
|
+
req.send_request(options)
|
23448
|
+
end
|
23449
|
+
|
23075
23450
|
# Switches over an Oracle standby database in an Oracle Data Guard
|
23076
23451
|
# environment, making it the new primary database. Issue this command in
|
23077
23452
|
# the Region that hosts the current standby database.
|
@@ -23265,7 +23640,7 @@ module Aws::RDS
|
|
23265
23640
|
params: params,
|
23266
23641
|
config: config)
|
23267
23642
|
context[:gem_name] = 'aws-sdk-rds'
|
23268
|
-
context[:gem_version] = '1.
|
23643
|
+
context[:gem_version] = '1.161.0'
|
23269
23644
|
Seahorse::Client::Request.new(handlers, context)
|
23270
23645
|
end
|
23271
23646
|
|