aws-sdk-rds 1.111.0 → 1.116.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 +692 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +424 -18
- data/lib/aws-sdk-rds/client_api.rb +169 -0
- data/lib/aws-sdk-rds/db_cluster.rb +27 -13
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +10 -2
- data/lib/aws-sdk-rds/db_instance.rb +9 -0
- data/lib/aws-sdk-rds/errors.rb +44 -0
- data/lib/aws-sdk-rds/resource.rb +14 -7
- data/lib/aws-sdk-rds/types.rb +548 -25
- metadata +8 -5
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.116.0
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -1260,6 +1260,7 @@ module Aws::RDS
|
|
1260
1260
|
# resp.db_cluster_snapshot.db_cluster_identifier #=> String
|
1261
1261
|
# resp.db_cluster_snapshot.snapshot_create_time #=> Time
|
1262
1262
|
# resp.db_cluster_snapshot.engine #=> String
|
1263
|
+
# resp.db_cluster_snapshot.engine_mode #=> String
|
1263
1264
|
# resp.db_cluster_snapshot.allocated_storage #=> Integer
|
1264
1265
|
# resp.db_cluster_snapshot.status #=> String
|
1265
1266
|
# resp.db_cluster_snapshot.port #=> Integer
|
@@ -2141,7 +2142,7 @@ module Aws::RDS
|
|
2141
2142
|
#
|
2142
2143
|
# **Aurora PostgreSQL**
|
2143
2144
|
#
|
2144
|
-
# Possible
|
2145
|
+
# Possible value is `postgresql`.
|
2145
2146
|
#
|
2146
2147
|
#
|
2147
2148
|
#
|
@@ -2236,12 +2237,19 @@ module Aws::RDS
|
|
2236
2237
|
# the Directory Service.
|
2237
2238
|
#
|
2238
2239
|
# @option params [Boolean] :enable_global_write_forwarding
|
2239
|
-
# A value that indicates whether to enable
|
2240
|
-
#
|
2241
|
-
#
|
2242
|
-
#
|
2243
|
-
#
|
2244
|
-
#
|
2240
|
+
# A value that indicates whether to enable this DB cluster to forward
|
2241
|
+
# write operations to the primary cluster of an Aurora global database
|
2242
|
+
# (GlobalCluster). By default, write operations are not allowed on
|
2243
|
+
# Aurora DB clusters that are secondary clusters in an Aurora global
|
2244
|
+
# database.
|
2245
|
+
#
|
2246
|
+
# You can set this value only on Aurora DB clusters that are members of
|
2247
|
+
# an Aurora global database. With this parameter enabled, a secondary
|
2248
|
+
# cluster can forward writes to the current primary cluster and the
|
2249
|
+
# resulting changes are replicated back to this cluster. For the primary
|
2250
|
+
# DB cluster of an Aurora global database, this value is used
|
2251
|
+
# immediately if the primary is demoted by the FailoverGlobalCluster API
|
2252
|
+
# operation, but it does nothing until then.
|
2245
2253
|
#
|
2246
2254
|
# @option params [String] :source_region
|
2247
2255
|
# The source region of the snapshot. This is only needed when the
|
@@ -2718,6 +2726,7 @@ module Aws::RDS
|
|
2718
2726
|
# resp.db_cluster_snapshot.db_cluster_identifier #=> String
|
2719
2727
|
# resp.db_cluster_snapshot.snapshot_create_time #=> Time
|
2720
2728
|
# resp.db_cluster_snapshot.engine #=> String
|
2729
|
+
# resp.db_cluster_snapshot.engine_mode #=> String
|
2721
2730
|
# resp.db_cluster_snapshot.allocated_storage #=> Integer
|
2722
2731
|
# resp.db_cluster_snapshot.status #=> String
|
2723
2732
|
# resp.db_cluster_snapshot.port #=> Integer
|
@@ -3865,6 +3874,7 @@ module Aws::RDS
|
|
3865
3874
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
3866
3875
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
3867
3876
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
3877
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
3868
3878
|
#
|
3869
3879
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
|
3870
3880
|
#
|
@@ -4522,6 +4532,7 @@ module Aws::RDS
|
|
4522
4532
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
4523
4533
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
4524
4534
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
4535
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
4525
4536
|
#
|
4526
4537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
|
4527
4538
|
#
|
@@ -4737,6 +4748,7 @@ module Aws::RDS
|
|
4737
4748
|
# resp.db_proxy.db_proxy_arn #=> String
|
4738
4749
|
# resp.db_proxy.status #=> String, one of "available", "modifying", "incompatible-network", "insufficient-resource-limits", "creating", "deleting", "suspended", "suspending", "reactivating"
|
4739
4750
|
# resp.db_proxy.engine_family #=> String
|
4751
|
+
# resp.db_proxy.vpc_id #=> String
|
4740
4752
|
# resp.db_proxy.vpc_security_group_ids #=> Array
|
4741
4753
|
# resp.db_proxy.vpc_security_group_ids[0] #=> String
|
4742
4754
|
# resp.db_proxy.vpc_subnet_ids #=> Array
|
@@ -4764,6 +4776,86 @@ module Aws::RDS
|
|
4764
4776
|
req.send_request(options)
|
4765
4777
|
end
|
4766
4778
|
|
4779
|
+
# Creates a `DBProxyEndpoint`. Only applies to proxies that are
|
4780
|
+
# associated with Aurora DB clusters. You can use DB proxy endpoints to
|
4781
|
+
# specify read/write or read-only access to the DB cluster. You can also
|
4782
|
+
# use DB proxy endpoints to access a DB proxy through a different VPC
|
4783
|
+
# than the proxy's default VPC.
|
4784
|
+
#
|
4785
|
+
# @option params [required, String] :db_proxy_name
|
4786
|
+
# The name of the DB proxy associated with the DB proxy endpoint that
|
4787
|
+
# you create.
|
4788
|
+
#
|
4789
|
+
# @option params [required, String] :db_proxy_endpoint_name
|
4790
|
+
# The name of the DB proxy endpoint to create.
|
4791
|
+
#
|
4792
|
+
# @option params [required, Array<String>] :vpc_subnet_ids
|
4793
|
+
# The VPC subnet IDs for the DB proxy endpoint that you create. You can
|
4794
|
+
# specify a different set of subnet IDs than for the original DB proxy.
|
4795
|
+
#
|
4796
|
+
# @option params [Array<String>] :vpc_security_group_ids
|
4797
|
+
# The VPC security group IDs for the DB proxy endpoint that you create.
|
4798
|
+
# You can specify a different set of security group IDs than for the
|
4799
|
+
# original DB proxy. The default is the default security group for the
|
4800
|
+
# VPC.
|
4801
|
+
#
|
4802
|
+
# @option params [String] :target_role
|
4803
|
+
# A value that indicates whether the DB proxy endpoint can be used for
|
4804
|
+
# read/write or read-only operations. The default is `READ_WRITE`.
|
4805
|
+
#
|
4806
|
+
# @option params [Array<Types::Tag>] :tags
|
4807
|
+
# A list of tags. For more information, see [Tagging Amazon RDS
|
4808
|
+
# Resources][1] in the *Amazon RDS User Guide.*
|
4809
|
+
#
|
4810
|
+
#
|
4811
|
+
#
|
4812
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
|
4813
|
+
#
|
4814
|
+
# @return [Types::CreateDBProxyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4815
|
+
#
|
4816
|
+
# * {Types::CreateDBProxyEndpointResponse#db_proxy_endpoint #db_proxy_endpoint} => Types::DBProxyEndpoint
|
4817
|
+
#
|
4818
|
+
# @example Request syntax with placeholder values
|
4819
|
+
#
|
4820
|
+
# resp = client.create_db_proxy_endpoint({
|
4821
|
+
# db_proxy_name: "DBProxyName", # required
|
4822
|
+
# db_proxy_endpoint_name: "DBProxyEndpointName", # required
|
4823
|
+
# vpc_subnet_ids: ["String"], # required
|
4824
|
+
# vpc_security_group_ids: ["String"],
|
4825
|
+
# target_role: "READ_WRITE", # accepts READ_WRITE, READ_ONLY
|
4826
|
+
# tags: [
|
4827
|
+
# {
|
4828
|
+
# key: "String",
|
4829
|
+
# value: "String",
|
4830
|
+
# },
|
4831
|
+
# ],
|
4832
|
+
# })
|
4833
|
+
#
|
4834
|
+
# @example Response structure
|
4835
|
+
#
|
4836
|
+
# resp.db_proxy_endpoint.db_proxy_endpoint_name #=> String
|
4837
|
+
# resp.db_proxy_endpoint.db_proxy_endpoint_arn #=> String
|
4838
|
+
# resp.db_proxy_endpoint.db_proxy_name #=> String
|
4839
|
+
# resp.db_proxy_endpoint.status #=> String, one of "available", "modifying", "incompatible-network", "insufficient-resource-limits", "creating", "deleting"
|
4840
|
+
# resp.db_proxy_endpoint.vpc_id #=> String
|
4841
|
+
# resp.db_proxy_endpoint.vpc_security_group_ids #=> Array
|
4842
|
+
# resp.db_proxy_endpoint.vpc_security_group_ids[0] #=> String
|
4843
|
+
# resp.db_proxy_endpoint.vpc_subnet_ids #=> Array
|
4844
|
+
# resp.db_proxy_endpoint.vpc_subnet_ids[0] #=> String
|
4845
|
+
# resp.db_proxy_endpoint.endpoint #=> String
|
4846
|
+
# resp.db_proxy_endpoint.created_date #=> Time
|
4847
|
+
# resp.db_proxy_endpoint.target_role #=> String, one of "READ_WRITE", "READ_ONLY"
|
4848
|
+
# resp.db_proxy_endpoint.is_default #=> Boolean
|
4849
|
+
#
|
4850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBProxyEndpoint AWS API Documentation
|
4851
|
+
#
|
4852
|
+
# @overload create_db_proxy_endpoint(params = {})
|
4853
|
+
# @param [Hash] params ({})
|
4854
|
+
def create_db_proxy_endpoint(params = {}, options = {})
|
4855
|
+
req = build_request(:create_db_proxy_endpoint, params)
|
4856
|
+
req.send_request(options)
|
4857
|
+
end
|
4858
|
+
|
4767
4859
|
# Creates a new DB security group. DB security groups control access to
|
4768
4860
|
# a DB instance.
|
4769
4861
|
#
|
@@ -5290,6 +5382,9 @@ module Aws::RDS
|
|
5290
5382
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
5291
5383
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
5292
5384
|
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
5385
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
5386
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
5387
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
5293
5388
|
#
|
5294
5389
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalCluster AWS API Documentation
|
5295
5390
|
#
|
@@ -5829,6 +5924,7 @@ module Aws::RDS
|
|
5829
5924
|
# resp.db_cluster_snapshot.db_cluster_identifier #=> String
|
5830
5925
|
# resp.db_cluster_snapshot.snapshot_create_time #=> Time
|
5831
5926
|
# resp.db_cluster_snapshot.engine #=> String
|
5927
|
+
# resp.db_cluster_snapshot.engine_mode #=> String
|
5832
5928
|
# resp.db_cluster_snapshot.allocated_storage #=> Integer
|
5833
5929
|
# resp.db_cluster_snapshot.status #=> String
|
5834
5930
|
# resp.db_cluster_snapshot.port #=> Integer
|
@@ -6095,6 +6191,7 @@ module Aws::RDS
|
|
6095
6191
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
6096
6192
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
6097
6193
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
6194
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
6098
6195
|
#
|
6099
6196
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
|
6100
6197
|
#
|
@@ -6209,7 +6306,7 @@ module Aws::RDS
|
|
6209
6306
|
req.send_request(options)
|
6210
6307
|
end
|
6211
6308
|
|
6212
|
-
# Deletes an existing proxy.
|
6309
|
+
# Deletes an existing DB proxy.
|
6213
6310
|
#
|
6214
6311
|
# @option params [required, String] :db_proxy_name
|
6215
6312
|
# The name of the DB proxy to delete.
|
@@ -6230,6 +6327,7 @@ module Aws::RDS
|
|
6230
6327
|
# resp.db_proxy.db_proxy_arn #=> String
|
6231
6328
|
# resp.db_proxy.status #=> String, one of "available", "modifying", "incompatible-network", "insufficient-resource-limits", "creating", "deleting", "suspended", "suspending", "reactivating"
|
6232
6329
|
# resp.db_proxy.engine_family #=> String
|
6330
|
+
# resp.db_proxy.vpc_id #=> String
|
6233
6331
|
# resp.db_proxy.vpc_security_group_ids #=> Array
|
6234
6332
|
# resp.db_proxy.vpc_security_group_ids[0] #=> String
|
6235
6333
|
# resp.db_proxy.vpc_subnet_ids #=> Array
|
@@ -6257,6 +6355,50 @@ module Aws::RDS
|
|
6257
6355
|
req.send_request(options)
|
6258
6356
|
end
|
6259
6357
|
|
6358
|
+
# Deletes a `DBProxyEndpoint`. Doing so removes the ability to access
|
6359
|
+
# the DB proxy using the endpoint that you defined. The endpoint that
|
6360
|
+
# you delete might have provided capabilities such as read/write or
|
6361
|
+
# read-only operations, or using a different VPC than the DB proxy's
|
6362
|
+
# default VPC.
|
6363
|
+
#
|
6364
|
+
# @option params [required, String] :db_proxy_endpoint_name
|
6365
|
+
# The name of the DB proxy endpoint to delete.
|
6366
|
+
#
|
6367
|
+
# @return [Types::DeleteDBProxyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6368
|
+
#
|
6369
|
+
# * {Types::DeleteDBProxyEndpointResponse#db_proxy_endpoint #db_proxy_endpoint} => Types::DBProxyEndpoint
|
6370
|
+
#
|
6371
|
+
# @example Request syntax with placeholder values
|
6372
|
+
#
|
6373
|
+
# resp = client.delete_db_proxy_endpoint({
|
6374
|
+
# db_proxy_endpoint_name: "DBProxyEndpointName", # required
|
6375
|
+
# })
|
6376
|
+
#
|
6377
|
+
# @example Response structure
|
6378
|
+
#
|
6379
|
+
# resp.db_proxy_endpoint.db_proxy_endpoint_name #=> String
|
6380
|
+
# resp.db_proxy_endpoint.db_proxy_endpoint_arn #=> String
|
6381
|
+
# resp.db_proxy_endpoint.db_proxy_name #=> String
|
6382
|
+
# resp.db_proxy_endpoint.status #=> String, one of "available", "modifying", "incompatible-network", "insufficient-resource-limits", "creating", "deleting"
|
6383
|
+
# resp.db_proxy_endpoint.vpc_id #=> String
|
6384
|
+
# resp.db_proxy_endpoint.vpc_security_group_ids #=> Array
|
6385
|
+
# resp.db_proxy_endpoint.vpc_security_group_ids[0] #=> String
|
6386
|
+
# resp.db_proxy_endpoint.vpc_subnet_ids #=> Array
|
6387
|
+
# resp.db_proxy_endpoint.vpc_subnet_ids[0] #=> String
|
6388
|
+
# resp.db_proxy_endpoint.endpoint #=> String
|
6389
|
+
# resp.db_proxy_endpoint.created_date #=> Time
|
6390
|
+
# resp.db_proxy_endpoint.target_role #=> String, one of "READ_WRITE", "READ_ONLY"
|
6391
|
+
# resp.db_proxy_endpoint.is_default #=> Boolean
|
6392
|
+
#
|
6393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBProxyEndpoint AWS API Documentation
|
6394
|
+
#
|
6395
|
+
# @overload delete_db_proxy_endpoint(params = {})
|
6396
|
+
# @param [Hash] params ({})
|
6397
|
+
def delete_db_proxy_endpoint(params = {}, options = {})
|
6398
|
+
req = build_request(:delete_db_proxy_endpoint, params)
|
6399
|
+
req.send_request(options)
|
6400
|
+
end
|
6401
|
+
|
6260
6402
|
# Deletes a DB security group.
|
6261
6403
|
#
|
6262
6404
|
# <note markdown="1"> The specified DB security group must not be associated with any DB
|
@@ -6529,6 +6671,9 @@ module Aws::RDS
|
|
6529
6671
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
6530
6672
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
6531
6673
|
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
6674
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
6675
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
6676
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
6532
6677
|
#
|
6533
6678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteGlobalCluster AWS API Documentation
|
6534
6679
|
#
|
@@ -7513,6 +7658,7 @@ module Aws::RDS
|
|
7513
7658
|
# resp.db_cluster_snapshots[0].db_cluster_identifier #=> String
|
7514
7659
|
# resp.db_cluster_snapshots[0].snapshot_create_time #=> Time
|
7515
7660
|
# resp.db_cluster_snapshots[0].engine #=> String
|
7661
|
+
# resp.db_cluster_snapshots[0].engine_mode #=> String
|
7516
7662
|
# resp.db_cluster_snapshots[0].allocated_storage #=> Integer
|
7517
7663
|
# resp.db_cluster_snapshots[0].status #=> String
|
7518
7664
|
# resp.db_cluster_snapshots[0].port #=> Integer
|
@@ -7901,6 +8047,10 @@ module Aws::RDS
|
|
7901
8047
|
# resp.db_engine_versions[0].valid_upgrade_target[0].description #=> String
|
7902
8048
|
# resp.db_engine_versions[0].valid_upgrade_target[0].auto_upgrade #=> Boolean
|
7903
8049
|
# resp.db_engine_versions[0].valid_upgrade_target[0].is_major_version_upgrade #=> Boolean
|
8050
|
+
# resp.db_engine_versions[0].valid_upgrade_target[0].supported_engine_modes #=> Array
|
8051
|
+
# resp.db_engine_versions[0].valid_upgrade_target[0].supported_engine_modes[0] #=> String
|
8052
|
+
# resp.db_engine_versions[0].valid_upgrade_target[0].supports_parallel_query #=> Boolean
|
8053
|
+
# resp.db_engine_versions[0].valid_upgrade_target[0].supports_global_databases #=> Boolean
|
7904
8054
|
# resp.db_engine_versions[0].supported_timezones #=> Array
|
7905
8055
|
# resp.db_engine_versions[0].supported_timezones[0].timezone_name #=> String
|
7906
8056
|
# resp.db_engine_versions[0].exportable_log_types #=> Array
|
@@ -8271,6 +8421,7 @@ module Aws::RDS
|
|
8271
8421
|
# resp.db_instances[0].db_instance_automated_backups_replications #=> Array
|
8272
8422
|
# resp.db_instances[0].db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
8273
8423
|
# resp.db_instances[0].customer_owned_ip_enabled #=> Boolean
|
8424
|
+
# resp.db_instances[0].aws_backup_recovery_point_arn #=> String
|
8274
8425
|
#
|
8275
8426
|
#
|
8276
8427
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -8572,7 +8723,9 @@ module Aws::RDS
|
|
8572
8723
|
# Returns information about DB proxies.
|
8573
8724
|
#
|
8574
8725
|
# @option params [String] :db_proxy_name
|
8575
|
-
# The name of the DB proxy.
|
8726
|
+
# The name of the DB proxy. If you omit this parameter, the output
|
8727
|
+
# includes information about all DB proxies owned by your AWS account
|
8728
|
+
# ID.
|
8576
8729
|
#
|
8577
8730
|
# @option params [Array<Types::Filter>] :filters
|
8578
8731
|
# This parameter is not currently supported.
|
@@ -8620,6 +8773,7 @@ module Aws::RDS
|
|
8620
8773
|
# resp.db_proxies[0].db_proxy_arn #=> String
|
8621
8774
|
# resp.db_proxies[0].status #=> String, one of "available", "modifying", "incompatible-network", "insufficient-resource-limits", "creating", "deleting", "suspended", "suspending", "reactivating"
|
8622
8775
|
# resp.db_proxies[0].engine_family #=> String
|
8776
|
+
# resp.db_proxies[0].vpc_id #=> String
|
8623
8777
|
# resp.db_proxies[0].vpc_security_group_ids #=> Array
|
8624
8778
|
# resp.db_proxies[0].vpc_security_group_ids[0] #=> String
|
8625
8779
|
# resp.db_proxies[0].vpc_subnet_ids #=> Array
|
@@ -8648,6 +8802,85 @@ module Aws::RDS
|
|
8648
8802
|
req.send_request(options)
|
8649
8803
|
end
|
8650
8804
|
|
8805
|
+
# Returns information about DB proxy endpoints.
|
8806
|
+
#
|
8807
|
+
# @option params [String] :db_proxy_name
|
8808
|
+
# The name of the DB proxy whose endpoints you want to describe. If you
|
8809
|
+
# omit this parameter, the output includes information about all DB
|
8810
|
+
# proxy endpoints associated with all your DB proxies.
|
8811
|
+
#
|
8812
|
+
# @option params [String] :db_proxy_endpoint_name
|
8813
|
+
# The name of a DB proxy endpoint to describe. If you omit this
|
8814
|
+
# parameter, the output includes information about all DB proxy
|
8815
|
+
# endpoints associated with the specified proxy.
|
8816
|
+
#
|
8817
|
+
# @option params [Array<Types::Filter>] :filters
|
8818
|
+
# This parameter is not currently supported.
|
8819
|
+
#
|
8820
|
+
# @option params [String] :marker
|
8821
|
+
# An optional pagination token provided by a previous request. If this
|
8822
|
+
# parameter is specified, the response includes only records beyond the
|
8823
|
+
# marker, up to the value specified by `MaxRecords`.
|
8824
|
+
#
|
8825
|
+
# @option params [Integer] :max_records
|
8826
|
+
# The maximum number of records to include in the response. If more
|
8827
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
8828
|
+
# token called a marker is included in the response so that the
|
8829
|
+
# remaining results can be retrieved.
|
8830
|
+
#
|
8831
|
+
# Default: 100
|
8832
|
+
#
|
8833
|
+
# Constraints: Minimum 20, maximum 100.
|
8834
|
+
#
|
8835
|
+
# @return [Types::DescribeDBProxyEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8836
|
+
#
|
8837
|
+
# * {Types::DescribeDBProxyEndpointsResponse#db_proxy_endpoints #db_proxy_endpoints} => Array<Types::DBProxyEndpoint>
|
8838
|
+
# * {Types::DescribeDBProxyEndpointsResponse#marker #marker} => String
|
8839
|
+
#
|
8840
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8841
|
+
#
|
8842
|
+
# @example Request syntax with placeholder values
|
8843
|
+
#
|
8844
|
+
# resp = client.describe_db_proxy_endpoints({
|
8845
|
+
# db_proxy_name: "DBProxyName",
|
8846
|
+
# db_proxy_endpoint_name: "DBProxyEndpointName",
|
8847
|
+
# filters: [
|
8848
|
+
# {
|
8849
|
+
# name: "String", # required
|
8850
|
+
# values: ["String"], # required
|
8851
|
+
# },
|
8852
|
+
# ],
|
8853
|
+
# marker: "String",
|
8854
|
+
# max_records: 1,
|
8855
|
+
# })
|
8856
|
+
#
|
8857
|
+
# @example Response structure
|
8858
|
+
#
|
8859
|
+
# resp.db_proxy_endpoints #=> Array
|
8860
|
+
# resp.db_proxy_endpoints[0].db_proxy_endpoint_name #=> String
|
8861
|
+
# resp.db_proxy_endpoints[0].db_proxy_endpoint_arn #=> String
|
8862
|
+
# resp.db_proxy_endpoints[0].db_proxy_name #=> String
|
8863
|
+
# resp.db_proxy_endpoints[0].status #=> String, one of "available", "modifying", "incompatible-network", "insufficient-resource-limits", "creating", "deleting"
|
8864
|
+
# resp.db_proxy_endpoints[0].vpc_id #=> String
|
8865
|
+
# resp.db_proxy_endpoints[0].vpc_security_group_ids #=> Array
|
8866
|
+
# resp.db_proxy_endpoints[0].vpc_security_group_ids[0] #=> String
|
8867
|
+
# resp.db_proxy_endpoints[0].vpc_subnet_ids #=> Array
|
8868
|
+
# resp.db_proxy_endpoints[0].vpc_subnet_ids[0] #=> String
|
8869
|
+
# resp.db_proxy_endpoints[0].endpoint #=> String
|
8870
|
+
# resp.db_proxy_endpoints[0].created_date #=> Time
|
8871
|
+
# resp.db_proxy_endpoints[0].target_role #=> String, one of "READ_WRITE", "READ_ONLY"
|
8872
|
+
# resp.db_proxy_endpoints[0].is_default #=> Boolean
|
8873
|
+
# resp.marker #=> String
|
8874
|
+
#
|
8875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxyEndpoints AWS API Documentation
|
8876
|
+
#
|
8877
|
+
# @overload describe_db_proxy_endpoints(params = {})
|
8878
|
+
# @param [Hash] params ({})
|
8879
|
+
def describe_db_proxy_endpoints(params = {}, options = {})
|
8880
|
+
req = build_request(:describe_db_proxy_endpoints, params)
|
8881
|
+
req.send_request(options)
|
8882
|
+
end
|
8883
|
+
|
8651
8884
|
# Returns information about DB proxy target groups, represented by
|
8652
8885
|
# `DBProxyTargetGroup` data structures.
|
8653
8886
|
#
|
@@ -8782,8 +9015,9 @@ module Aws::RDS
|
|
8782
9015
|
# resp.targets[0].rds_resource_id #=> String
|
8783
9016
|
# resp.targets[0].port #=> Integer
|
8784
9017
|
# resp.targets[0].type #=> String, one of "RDS_INSTANCE", "RDS_SERVERLESS_ENDPOINT", "TRACKED_CLUSTER"
|
9018
|
+
# resp.targets[0].role #=> String, one of "READ_WRITE", "READ_ONLY", "UNKNOWN"
|
8785
9019
|
# resp.targets[0].target_health.state #=> String, one of "REGISTERING", "AVAILABLE", "UNAVAILABLE"
|
8786
|
-
# resp.targets[0].target_health.reason #=> String, one of "UNREACHABLE", "CONNECTION_FAILED", "AUTH_FAILURE", "PENDING_PROXY_CAPACITY"
|
9020
|
+
# resp.targets[0].target_health.reason #=> String, one of "UNREACHABLE", "CONNECTION_FAILED", "AUTH_FAILURE", "PENDING_PROXY_CAPACITY", "INVALID_REPLICATION_STATE"
|
8787
9021
|
# resp.targets[0].target_health.description #=> String
|
8788
9022
|
# resp.marker #=> String
|
8789
9023
|
#
|
@@ -9926,6 +10160,9 @@ module Aws::RDS
|
|
9926
10160
|
# resp.global_clusters[0].global_cluster_members[0].readers[0] #=> String
|
9927
10161
|
# resp.global_clusters[0].global_cluster_members[0].is_writer #=> Boolean
|
9928
10162
|
# resp.global_clusters[0].global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
10163
|
+
# resp.global_clusters[0].failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
10164
|
+
# resp.global_clusters[0].failover_state.from_db_cluster_arn #=> String
|
10165
|
+
# resp.global_clusters[0].failover_state.to_db_cluster_arn #=> String
|
9929
10166
|
#
|
9930
10167
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeGlobalClusters AWS API Documentation
|
9931
10168
|
#
|
@@ -11254,6 +11491,93 @@ module Aws::RDS
|
|
11254
11491
|
req.send_request(options)
|
11255
11492
|
end
|
11256
11493
|
|
11494
|
+
# Initiates the failover process for an Aurora global database
|
11495
|
+
# (GlobalCluster).
|
11496
|
+
#
|
11497
|
+
# A failover for an Aurora global database promotes one of secondary
|
11498
|
+
# read-only DB clusters to be the primary DB cluster and demotes the
|
11499
|
+
# primary DB cluster to being a secondary (read-only) DB cluster. In
|
11500
|
+
# other words, the role of the current primary DB cluster and the
|
11501
|
+
# selected (target) DB cluster are switched. The selected secondary DB
|
11502
|
+
# cluster assumes full read/write capabilities for the Aurora global
|
11503
|
+
# database.
|
11504
|
+
#
|
11505
|
+
# For more information about failing over an Amazon Aurora global
|
11506
|
+
# database, see [Managed planned failover for Amazon Aurora global
|
11507
|
+
# databases][1] in the *Amazon Aurora User Guide.*
|
11508
|
+
#
|
11509
|
+
# <note markdown="1"> This action applies to GlobalCluster (Aurora global databases) only.
|
11510
|
+
# Use this action only on healthy Aurora global databases with running
|
11511
|
+
# Aurora DB clusters and no Region-wide outages, to test disaster
|
11512
|
+
# recovery scenarios or to reconfigure your Aurora global database
|
11513
|
+
# topology.
|
11514
|
+
#
|
11515
|
+
# </note>
|
11516
|
+
#
|
11517
|
+
#
|
11518
|
+
#
|
11519
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.managed-failover
|
11520
|
+
#
|
11521
|
+
# @option params [required, String] :global_cluster_identifier
|
11522
|
+
# Identifier of the Aurora global database (GlobalCluster) that should
|
11523
|
+
# be failed over. The identifier is the unique key assigned by the user
|
11524
|
+
# when the Aurora global database was created. In other words, it's the
|
11525
|
+
# name of the Aurora global database that you want to fail over.
|
11526
|
+
#
|
11527
|
+
# Constraints:
|
11528
|
+
#
|
11529
|
+
# * Must match the identifier of an existing GlobalCluster (Aurora
|
11530
|
+
# global database).
|
11531
|
+
#
|
11532
|
+
# ^
|
11533
|
+
#
|
11534
|
+
# @option params [required, String] :target_db_cluster_identifier
|
11535
|
+
# Identifier of the secondary Aurora DB cluster that you want to promote
|
11536
|
+
# to primary for the Aurora global database (GlobalCluster.) Use the
|
11537
|
+
# Amazon Resource Name (ARN) for the identifier so that Aurora can
|
11538
|
+
# locate the cluster in its AWS Region.
|
11539
|
+
#
|
11540
|
+
# @return [Types::FailoverGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11541
|
+
#
|
11542
|
+
# * {Types::FailoverGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
11543
|
+
#
|
11544
|
+
# @example Request syntax with placeholder values
|
11545
|
+
#
|
11546
|
+
# resp = client.failover_global_cluster({
|
11547
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
11548
|
+
# target_db_cluster_identifier: "DBClusterIdentifier", # required
|
11549
|
+
# })
|
11550
|
+
#
|
11551
|
+
# @example Response structure
|
11552
|
+
#
|
11553
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
11554
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
11555
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
11556
|
+
# resp.global_cluster.status #=> String
|
11557
|
+
# resp.global_cluster.engine #=> String
|
11558
|
+
# resp.global_cluster.engine_version #=> String
|
11559
|
+
# resp.global_cluster.database_name #=> String
|
11560
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
11561
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
11562
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
11563
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
11564
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
11565
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
11566
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
11567
|
+
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
11568
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
11569
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
11570
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
11571
|
+
#
|
11572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalCluster AWS API Documentation
|
11573
|
+
#
|
11574
|
+
# @overload failover_global_cluster(params = {})
|
11575
|
+
# @param [Hash] params ({})
|
11576
|
+
def failover_global_cluster(params = {}, options = {})
|
11577
|
+
req = build_request(:failover_global_cluster, params)
|
11578
|
+
req.send_request(options)
|
11579
|
+
end
|
11580
|
+
|
11257
11581
|
# Imports the installation media for a DB engine that requires an
|
11258
11582
|
# on-premises customer provided license, such as SQL Server.
|
11259
11583
|
#
|
@@ -11874,12 +12198,19 @@ module Aws::RDS
|
|
11874
12198
|
# snapshots of the DB cluster. The default is not to copy them.
|
11875
12199
|
#
|
11876
12200
|
# @option params [Boolean] :enable_global_write_forwarding
|
11877
|
-
# A value that indicates whether to enable
|
11878
|
-
#
|
11879
|
-
#
|
11880
|
-
#
|
11881
|
-
#
|
11882
|
-
#
|
12201
|
+
# A value that indicates whether to enable this DB cluster to forward
|
12202
|
+
# write operations to the primary cluster of an Aurora global database
|
12203
|
+
# (GlobalCluster). By default, write operations are not allowed on
|
12204
|
+
# Aurora DB clusters that are secondary clusters in an Aurora global
|
12205
|
+
# database.
|
12206
|
+
#
|
12207
|
+
# You can set this value only on Aurora DB clusters that are members of
|
12208
|
+
# an Aurora global database. With this parameter enabled, a secondary
|
12209
|
+
# cluster can forward writes to the current primary cluster and the
|
12210
|
+
# resulting changes are replicated back to this cluster. For the primary
|
12211
|
+
# DB cluster of an Aurora global database, this value is used
|
12212
|
+
# immediately if the primary is demoted by the FailoverGlobalCluster API
|
12213
|
+
# operation, but it does nothing until then.
|
11883
12214
|
#
|
11884
12215
|
# @return [Types::ModifyDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11885
12216
|
#
|
@@ -13011,6 +13342,9 @@ module Aws::RDS
|
|
13011
13342
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
|
13012
13343
|
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing
|
13013
13344
|
#
|
13345
|
+
# @option params [String] :aws_backup_recovery_point_arn
|
13346
|
+
# The Amazon Resource Name (ARN) of the recovery point in AWS Backup.
|
13347
|
+
#
|
13014
13348
|
# @return [Types::ModifyDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13015
13349
|
#
|
13016
13350
|
# * {Types::ModifyDBInstanceResult#db_instance #db_instance} => Types::DBInstance
|
@@ -13092,6 +13426,7 @@ module Aws::RDS
|
|
13092
13426
|
# certificate_rotation_restart: false,
|
13093
13427
|
# replica_mode: "open-read-only", # accepts open-read-only, mounted
|
13094
13428
|
# enable_customer_owned_ip: false,
|
13429
|
+
# aws_backup_recovery_point_arn: "AwsBackupRecoveryPointArn",
|
13095
13430
|
# })
|
13096
13431
|
#
|
13097
13432
|
# @example Response structure
|
@@ -13219,6 +13554,7 @@ module Aws::RDS
|
|
13219
13554
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
13220
13555
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
13221
13556
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
13557
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
13222
13558
|
#
|
13223
13559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
|
13224
13560
|
#
|
@@ -13410,6 +13746,7 @@ module Aws::RDS
|
|
13410
13746
|
# resp.db_proxy.db_proxy_arn #=> String
|
13411
13747
|
# resp.db_proxy.status #=> String, one of "available", "modifying", "incompatible-network", "insufficient-resource-limits", "creating", "deleting", "suspended", "suspending", "reactivating"
|
13412
13748
|
# resp.db_proxy.engine_family #=> String
|
13749
|
+
# resp.db_proxy.vpc_id #=> String
|
13413
13750
|
# resp.db_proxy.vpc_security_group_ids #=> Array
|
13414
13751
|
# resp.db_proxy.vpc_security_group_ids[0] #=> String
|
13415
13752
|
# resp.db_proxy.vpc_subnet_ids #=> Array
|
@@ -13437,6 +13774,61 @@ module Aws::RDS
|
|
13437
13774
|
req.send_request(options)
|
13438
13775
|
end
|
13439
13776
|
|
13777
|
+
# Changes the settings for an existing DB proxy endpoint.
|
13778
|
+
#
|
13779
|
+
# @option params [required, String] :db_proxy_endpoint_name
|
13780
|
+
# The name of the DB proxy sociated with the DB proxy endpoint that you
|
13781
|
+
# want to modify.
|
13782
|
+
#
|
13783
|
+
# @option params [String] :new_db_proxy_endpoint_name
|
13784
|
+
# The new identifier for the `DBProxyEndpoint`. An identifier must begin
|
13785
|
+
# with a letter and must contain only ASCII letters, digits, and
|
13786
|
+
# hyphens; it can't end with a hyphen or contain two consecutive
|
13787
|
+
# hyphens.
|
13788
|
+
#
|
13789
|
+
# @option params [Array<String>] :vpc_security_group_ids
|
13790
|
+
# The VPC security group IDs for the DB proxy endpoint. When the DB
|
13791
|
+
# proxy endpoint uses a different VPC than the original proxy, you also
|
13792
|
+
# specify a different set of security group IDs than for the original
|
13793
|
+
# proxy.
|
13794
|
+
#
|
13795
|
+
# @return [Types::ModifyDBProxyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13796
|
+
#
|
13797
|
+
# * {Types::ModifyDBProxyEndpointResponse#db_proxy_endpoint #db_proxy_endpoint} => Types::DBProxyEndpoint
|
13798
|
+
#
|
13799
|
+
# @example Request syntax with placeholder values
|
13800
|
+
#
|
13801
|
+
# resp = client.modify_db_proxy_endpoint({
|
13802
|
+
# db_proxy_endpoint_name: "DBProxyEndpointName", # required
|
13803
|
+
# new_db_proxy_endpoint_name: "DBProxyEndpointName",
|
13804
|
+
# vpc_security_group_ids: ["String"],
|
13805
|
+
# })
|
13806
|
+
#
|
13807
|
+
# @example Response structure
|
13808
|
+
#
|
13809
|
+
# resp.db_proxy_endpoint.db_proxy_endpoint_name #=> String
|
13810
|
+
# resp.db_proxy_endpoint.db_proxy_endpoint_arn #=> String
|
13811
|
+
# resp.db_proxy_endpoint.db_proxy_name #=> String
|
13812
|
+
# resp.db_proxy_endpoint.status #=> String, one of "available", "modifying", "incompatible-network", "insufficient-resource-limits", "creating", "deleting"
|
13813
|
+
# resp.db_proxy_endpoint.vpc_id #=> String
|
13814
|
+
# resp.db_proxy_endpoint.vpc_security_group_ids #=> Array
|
13815
|
+
# resp.db_proxy_endpoint.vpc_security_group_ids[0] #=> String
|
13816
|
+
# resp.db_proxy_endpoint.vpc_subnet_ids #=> Array
|
13817
|
+
# resp.db_proxy_endpoint.vpc_subnet_ids[0] #=> String
|
13818
|
+
# resp.db_proxy_endpoint.endpoint #=> String
|
13819
|
+
# resp.db_proxy_endpoint.created_date #=> Time
|
13820
|
+
# resp.db_proxy_endpoint.target_role #=> String, one of "READ_WRITE", "READ_ONLY"
|
13821
|
+
# resp.db_proxy_endpoint.is_default #=> Boolean
|
13822
|
+
#
|
13823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBProxyEndpoint AWS API Documentation
|
13824
|
+
#
|
13825
|
+
# @overload modify_db_proxy_endpoint(params = {})
|
13826
|
+
# @param [Hash] params ({})
|
13827
|
+
def modify_db_proxy_endpoint(params = {}, options = {})
|
13828
|
+
req = build_request(:modify_db_proxy_endpoint, params)
|
13829
|
+
req.send_request(options)
|
13830
|
+
end
|
13831
|
+
|
13440
13832
|
# Modifies the properties of a `DBProxyTargetGroup`.
|
13441
13833
|
#
|
13442
13834
|
# @option params [required, String] :target_group_name
|
@@ -14001,6 +14393,9 @@ module Aws::RDS
|
|
14001
14393
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
14002
14394
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
14003
14395
|
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
14396
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
14397
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
14398
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
14004
14399
|
#
|
14005
14400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyGlobalCluster AWS API Documentation
|
14006
14401
|
#
|
@@ -14352,6 +14747,7 @@ module Aws::RDS
|
|
14352
14747
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
14353
14748
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
14354
14749
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
14750
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
14355
14751
|
#
|
14356
14752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
|
14357
14753
|
#
|
@@ -14764,6 +15160,7 @@ module Aws::RDS
|
|
14764
15160
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
14765
15161
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
14766
15162
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
15163
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
14767
15164
|
#
|
14768
15165
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
|
14769
15166
|
#
|
@@ -14812,8 +15209,9 @@ module Aws::RDS
|
|
14812
15209
|
# resp.db_proxy_targets[0].rds_resource_id #=> String
|
14813
15210
|
# resp.db_proxy_targets[0].port #=> Integer
|
14814
15211
|
# resp.db_proxy_targets[0].type #=> String, one of "RDS_INSTANCE", "RDS_SERVERLESS_ENDPOINT", "TRACKED_CLUSTER"
|
15212
|
+
# resp.db_proxy_targets[0].role #=> String, one of "READ_WRITE", "READ_ONLY", "UNKNOWN"
|
14815
15213
|
# resp.db_proxy_targets[0].target_health.state #=> String, one of "REGISTERING", "AVAILABLE", "UNAVAILABLE"
|
14816
|
-
# resp.db_proxy_targets[0].target_health.reason #=> String, one of "UNREACHABLE", "CONNECTION_FAILED", "AUTH_FAILURE", "PENDING_PROXY_CAPACITY"
|
15214
|
+
# resp.db_proxy_targets[0].target_health.reason #=> String, one of "UNREACHABLE", "CONNECTION_FAILED", "AUTH_FAILURE", "PENDING_PROXY_CAPACITY", "INVALID_REPLICATION_STATE"
|
14817
15215
|
# resp.db_proxy_targets[0].target_health.description #=> String
|
14818
15216
|
#
|
14819
15217
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RegisterDBProxyTargets AWS API Documentation
|
@@ -14870,6 +15268,9 @@ module Aws::RDS
|
|
14870
15268
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
14871
15269
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
14872
15270
|
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
15271
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
15272
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
15273
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
14873
15274
|
#
|
14874
15275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveFromGlobalCluster AWS API Documentation
|
14875
15276
|
#
|
@@ -17101,6 +17502,7 @@ module Aws::RDS
|
|
17101
17502
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
17102
17503
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
17103
17504
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
17505
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
17104
17506
|
#
|
17105
17507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
|
17106
17508
|
#
|
@@ -17679,6 +18081,7 @@ module Aws::RDS
|
|
17679
18081
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
17680
18082
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
17681
18083
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
18084
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
17682
18085
|
#
|
17683
18086
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation
|
17684
18087
|
#
|
@@ -18305,6 +18708,7 @@ module Aws::RDS
|
|
18305
18708
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
18306
18709
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
18307
18710
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
18711
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
18308
18712
|
#
|
18309
18713
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
|
18310
18714
|
#
|
@@ -18749,6 +19153,7 @@ module Aws::RDS
|
|
18749
19153
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
18750
19154
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
18751
19155
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
19156
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
18752
19157
|
#
|
18753
19158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
|
18754
19159
|
#
|
@@ -19312,6 +19717,7 @@ module Aws::RDS
|
|
19312
19717
|
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
19313
19718
|
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
19314
19719
|
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
19720
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
19315
19721
|
#
|
19316
19722
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
|
19317
19723
|
#
|
@@ -19399,7 +19805,7 @@ module Aws::RDS
|
|
19399
19805
|
params: params,
|
19400
19806
|
config: config)
|
19401
19807
|
context[:gem_name] = 'aws-sdk-rds'
|
19402
|
-
context[:gem_version] = '1.
|
19808
|
+
context[:gem_version] = '1.116.0'
|
19403
19809
|
Seahorse::Client::Request.new(handlers, context)
|
19404
19810
|
end
|
19405
19811
|
|