aws-sdk-docdb 1.25.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +163 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-docdb.rb +3 -3
- data/lib/aws-sdk-docdb/client.rb +425 -14
- data/lib/aws-sdk-docdb/client_api.rb +187 -1
- data/lib/aws-sdk-docdb/errors.rb +100 -1
- data/lib/aws-sdk-docdb/plugins/cross_region_copying.rb +67 -0
- data/lib/aws-sdk-docdb/resource.rb +1 -1
- data/lib/aws-sdk-docdb/types.rb +528 -15
- data/lib/aws-sdk-docdb/waiters.rb +1 -1
- metadata +11 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef51d22dcd47b94c5fade5a5dfe4ce3e4d7d4585078bc7b80152e674a5a9eb7c
|
4
|
+
data.tar.gz: 12389a846a9044e80cd07ff2026196558219f625f485cfb4122d31e5aa0fe31a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3196274150d93474fa61a2a814f5a495e503abc2272f6c2e48a6ec2a9c37de3b7b19d96cc59e29b01b6e64e9f824a35730394ecd7300d7676189aa409ada3fe1
|
7
|
+
data.tar.gz: b13aaf10d58211ba700adbc917e62f149aef202d47ca38c5a3e2bedd4dbc0f9d7a9efadd6f6be37936fb6cbbbffa1e3f911df8aecb99abe238cf70e81d8fbe3c
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,163 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.30.0 (2021-03-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Event Subscriptions to DocumentDB.
|
8
|
+
|
9
|
+
1.29.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.28.0 (2021-02-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.27.0 (2020-12-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Support `pre_signed_url` generation for `CopyDBClusterSnapshot` and `CreateDBCluster`.
|
23
|
+
|
24
|
+
1.26.0 (2020-10-19)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Documentation updates for docdb
|
28
|
+
|
29
|
+
1.25.0 (2020-09-30)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.24.0 (2020-09-25)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Documentation updates for docdb
|
38
|
+
|
39
|
+
1.23.0 (2020-09-15)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.22.0 (2020-09-14)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Updated API documentation and added paginators for DescribeCertificates, DescribeDBClusterParameterGroups, DescribeDBClusterParameters, DescribeDBClusterSnapshots and DescribePendingMaintenanceActions
|
48
|
+
|
49
|
+
1.21.0 (2020-08-25)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.20.0 (2020-07-02)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.19.0 (2020-06-23)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
63
|
+
|
64
|
+
1.18.1 (2020-06-11)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
68
|
+
|
69
|
+
1.18.0 (2020-06-10)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Issue - This version has been yanked. (#2327).
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.17.0 (2020-05-28)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.16.0 (2020-05-07)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.15.0 (2020-03-09)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.14.0 (2020-02-24)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Documentation updates for docdb
|
94
|
+
|
95
|
+
1.13.0 (2020-02-10)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Added clarifying information that Amazon DocumentDB shares operational technology with Amazon RDS and Amazon Neptune.
|
99
|
+
|
100
|
+
1.12.0 (2019-10-23)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.11.0 (2019-10-01)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - This release provides support for describe and modify CA certificates.
|
109
|
+
|
110
|
+
1.10.0 (2019-07-25)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
114
|
+
|
115
|
+
1.9.0 (2019-07-01)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - This release provides support for cluster delete protection and the ability to stop and start clusters.
|
119
|
+
|
120
|
+
1.8.0 (2019-06-17)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
124
|
+
|
125
|
+
1.7.0 (2019-05-21)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.6.0 (2019-05-15)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.5.0 (2019-05-14)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.4.0 (2019-03-22)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.3.0 (2019-03-21)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.2.0 (2019-03-18)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.1.0 (2019-03-14)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.0.0 (2019-01-09)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - Initial release of `aws-sdk-docdb`.
|
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.30.0
|
data/lib/aws-sdk-docdb.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -29,7 +29,7 @@ require_relative 'aws-sdk-docdb/customizations'
|
|
29
29
|
# structure.
|
30
30
|
#
|
31
31
|
# doc_db = Aws::DocDB::Client.new
|
32
|
-
# resp = doc_db.
|
32
|
+
# resp = doc_db.add_source_identifier_to_subscription(params)
|
33
33
|
#
|
34
34
|
# See {Client} for more information.
|
35
35
|
#
|
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-docdb/customizations'
|
|
49
49
|
# @!group service
|
50
50
|
module Aws::DocDB
|
51
51
|
|
52
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.30.0'
|
53
53
|
|
54
54
|
end
|
data/lib/aws-sdk-docdb/client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -29,6 +29,7 @@ require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
31
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
32
|
+
require 'aws-sdk-docdb/plugins/cross_region_copying.rb'
|
32
33
|
|
33
34
|
Aws::Plugins::GlobalConfiguration.add_identifier(:docdb)
|
34
35
|
|
@@ -75,6 +76,7 @@ module Aws::DocDB
|
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
76
77
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
78
|
add_plugin(Aws::Plugins::Protocols::Query)
|
79
|
+
add_plugin(Aws::DocDB::Plugins::CrossRegionCopying)
|
78
80
|
|
79
81
|
# @overload initialize(options)
|
80
82
|
# @param [Hash] options
|
@@ -327,6 +329,63 @@ module Aws::DocDB
|
|
327
329
|
|
328
330
|
# @!group API Operations
|
329
331
|
|
332
|
+
# Adds a source identifier to an existing event notification
|
333
|
+
# subscription.
|
334
|
+
#
|
335
|
+
# @option params [required, String] :subscription_name
|
336
|
+
# The name of the Amazon DocumentDB event notification subscription that
|
337
|
+
# you want to add a source identifier to.
|
338
|
+
#
|
339
|
+
# @option params [required, String] :source_identifier
|
340
|
+
# The identifier of the event source to be added:
|
341
|
+
#
|
342
|
+
# * If the source type is an instance, a `DBInstanceIdentifier` must be
|
343
|
+
# provided.
|
344
|
+
#
|
345
|
+
# * If the source type is a security group, a `DBSecurityGroupName` must
|
346
|
+
# be provided.
|
347
|
+
#
|
348
|
+
# * If the source type is a parameter group, a `DBParameterGroupName`
|
349
|
+
# must be provided.
|
350
|
+
#
|
351
|
+
# * If the source type is a snapshot, a `DBSnapshotIdentifier` must be
|
352
|
+
# provided.
|
353
|
+
#
|
354
|
+
# @return [Types::AddSourceIdentifierToSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
355
|
+
#
|
356
|
+
# * {Types::AddSourceIdentifierToSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
357
|
+
#
|
358
|
+
# @example Request syntax with placeholder values
|
359
|
+
#
|
360
|
+
# resp = client.add_source_identifier_to_subscription({
|
361
|
+
# subscription_name: "String", # required
|
362
|
+
# source_identifier: "String", # required
|
363
|
+
# })
|
364
|
+
#
|
365
|
+
# @example Response structure
|
366
|
+
#
|
367
|
+
# resp.event_subscription.customer_aws_id #=> String
|
368
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
369
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
370
|
+
# resp.event_subscription.status #=> String
|
371
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
372
|
+
# resp.event_subscription.source_type #=> String
|
373
|
+
# resp.event_subscription.source_ids_list #=> Array
|
374
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
375
|
+
# resp.event_subscription.event_categories_list #=> Array
|
376
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
377
|
+
# resp.event_subscription.enabled #=> Boolean
|
378
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
379
|
+
#
|
380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/AddSourceIdentifierToSubscription AWS API Documentation
|
381
|
+
#
|
382
|
+
# @overload add_source_identifier_to_subscription(params = {})
|
383
|
+
# @param [Hash] params ({})
|
384
|
+
def add_source_identifier_to_subscription(params = {}, options = {})
|
385
|
+
req = build_request(:add_source_identifier_to_subscription, params)
|
386
|
+
req.send_request(options)
|
387
|
+
end
|
388
|
+
|
330
389
|
# Adds metadata tags to an Amazon DocumentDB resource. You can use these
|
331
390
|
# tags with cost allocation reporting to track costs that are associated
|
332
391
|
# with Amazon DocumentDB resources. or in a `Condition` statement in an
|
@@ -599,6 +658,10 @@ module Aws::DocDB
|
|
599
658
|
# @option params [Array<Types::Tag>] :tags
|
600
659
|
# The tags to be assigned to the cluster snapshot.
|
601
660
|
#
|
661
|
+
# @option params [String] :source_region
|
662
|
+
# The source region of the snapshot. This is only needed when the
|
663
|
+
# shapshot is encrypted and in a different region.
|
664
|
+
#
|
602
665
|
# @return [Types::CopyDBClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
603
666
|
#
|
604
667
|
# * {Types::CopyDBClusterSnapshotResult#db_cluster_snapshot #db_cluster_snapshot} => Types::DBClusterSnapshot
|
@@ -617,6 +680,7 @@ module Aws::DocDB
|
|
617
680
|
# value: "String",
|
618
681
|
# },
|
619
682
|
# ],
|
683
|
+
# source_region: "String",
|
620
684
|
# })
|
621
685
|
#
|
622
686
|
# @example Response structure
|
@@ -778,24 +842,15 @@ module Aws::DocDB
|
|
778
842
|
#
|
779
843
|
# If an encryption key is not specified in `KmsKeyId`\:
|
780
844
|
#
|
781
|
-
# * If `
|
782
|
-
# then Amazon DocumentDB uses the encryption key that is used to
|
783
|
-
# encrypt the source. Otherwise, Amazon DocumentDB uses your default
|
784
|
-
# encryption key.
|
785
|
-
#
|
786
|
-
# * If the `StorageEncrypted` parameter is `true` and
|
787
|
-
# `ReplicationSourceIdentifier` is not specified, Amazon DocumentDB
|
845
|
+
# * If the `StorageEncrypted` parameter is `true`, Amazon DocumentDB
|
788
846
|
# uses your default encryption key.
|
789
847
|
#
|
848
|
+
# ^
|
849
|
+
#
|
790
850
|
# AWS KMS creates the default encryption key for your AWS account. Your
|
791
851
|
# AWS account has a different default encryption key for each AWS
|
792
852
|
# Region.
|
793
853
|
#
|
794
|
-
# If you create a replica of an encrypted cluster in another AWS Region,
|
795
|
-
# you must set `KmsKeyId` to a KMS key ID that is valid in the
|
796
|
-
# destination AWS Region. This key is used to encrypt the replica in
|
797
|
-
# that AWS Region.
|
798
|
-
#
|
799
854
|
# @option params [String] :pre_signed_url
|
800
855
|
# Not currently supported.
|
801
856
|
#
|
@@ -816,6 +871,10 @@ module Aws::DocDB
|
|
816
871
|
# `DeletionProtection` is disabled. `DeletionProtection` protects
|
817
872
|
# clusters from being accidentally deleted.
|
818
873
|
#
|
874
|
+
# @option params [String] :source_region
|
875
|
+
# The source region of the snapshot. This is only needed when the
|
876
|
+
# shapshot is encrypted and in a different region.
|
877
|
+
#
|
819
878
|
# @return [Types::CreateDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
820
879
|
#
|
821
880
|
# * {Types::CreateDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -847,6 +906,7 @@ module Aws::DocDB
|
|
847
906
|
# pre_signed_url: "String",
|
848
907
|
# enable_cloudwatch_logs_exports: ["String"],
|
849
908
|
# deletion_protection: false,
|
909
|
+
# source_region: "String",
|
850
910
|
# })
|
851
911
|
#
|
852
912
|
# @example Response structure
|
@@ -1281,6 +1341,129 @@ module Aws::DocDB
|
|
1281
1341
|
req.send_request(options)
|
1282
1342
|
end
|
1283
1343
|
|
1344
|
+
# Creates an Amazon DocumentDB event notification subscription. This
|
1345
|
+
# action requires a topic Amazon Resource Name (ARN) created by using
|
1346
|
+
# the Amazon DocumentDB console, the Amazon SNS console, or the Amazon
|
1347
|
+
# SNS API. To obtain an ARN with Amazon SNS, you must create a topic in
|
1348
|
+
# Amazon SNS and subscribe to the topic. The ARN is displayed in the
|
1349
|
+
# Amazon SNS console.
|
1350
|
+
#
|
1351
|
+
# You can specify the type of source (`SourceType`) that you want to be
|
1352
|
+
# notified of. You can also provide a list of Amazon DocumentDB sources
|
1353
|
+
# (`SourceIds`) that trigger the events, and you can provide a list of
|
1354
|
+
# event categories (`EventCategories`) for events that you want to be
|
1355
|
+
# notified of. For example, you can specify `SourceType = db-instance`,
|
1356
|
+
# `SourceIds = mydbinstance1, mydbinstance2` and `EventCategories =
|
1357
|
+
# Availability, Backup`.
|
1358
|
+
#
|
1359
|
+
# If you specify both the `SourceType` and `SourceIds` (such as
|
1360
|
+
# `SourceType = db-instance` and `SourceIdentifier = myDBInstance1`),
|
1361
|
+
# you are notified of all the `db-instance` events for the specified
|
1362
|
+
# source. If you specify a `SourceType` but do not specify a
|
1363
|
+
# `SourceIdentifier`, you receive notice of the events for that source
|
1364
|
+
# type for all your Amazon DocumentDB sources. If you do not specify
|
1365
|
+
# either the `SourceType` or the `SourceIdentifier`, you are notified of
|
1366
|
+
# events generated from all Amazon DocumentDB sources belonging to your
|
1367
|
+
# customer account.
|
1368
|
+
#
|
1369
|
+
# @option params [required, String] :subscription_name
|
1370
|
+
# The name of the subscription.
|
1371
|
+
#
|
1372
|
+
# Constraints: The name must be fewer than 255 characters.
|
1373
|
+
#
|
1374
|
+
# @option params [required, String] :sns_topic_arn
|
1375
|
+
# The Amazon Resource Name (ARN) of the SNS topic created for event
|
1376
|
+
# notification. Amazon SNS creates the ARN when you create a topic and
|
1377
|
+
# subscribe to it.
|
1378
|
+
#
|
1379
|
+
# @option params [String] :source_type
|
1380
|
+
# The type of source that is generating the events. For example, if you
|
1381
|
+
# want to be notified of events generated by an instance, you would set
|
1382
|
+
# this parameter to `db-instance`. If this value is not specified, all
|
1383
|
+
# events are returned.
|
1384
|
+
#
|
1385
|
+
# Valid values: `db-instance`, `db-cluster`, `db-parameter-group`,
|
1386
|
+
# `db-security-group`, `db-snapshot`, `db-cluster-snapshot`
|
1387
|
+
#
|
1388
|
+
# @option params [Array<String>] :event_categories
|
1389
|
+
# A list of event categories for a `SourceType` that you want to
|
1390
|
+
# subscribe to.
|
1391
|
+
#
|
1392
|
+
# @option params [Array<String>] :source_ids
|
1393
|
+
# The list of identifiers of the event sources for which events are
|
1394
|
+
# returned. If not specified, then all sources are included in the
|
1395
|
+
# response. An identifier must begin with a letter and must contain only
|
1396
|
+
# ASCII letters, digits, and hyphens; it can't end with a hyphen or
|
1397
|
+
# contain two consecutive hyphens.
|
1398
|
+
#
|
1399
|
+
# Constraints:
|
1400
|
+
#
|
1401
|
+
# * If `SourceIds` are provided, `SourceType` must also be provided.
|
1402
|
+
#
|
1403
|
+
# * If the source type is an instance, a `DBInstanceIdentifier` must be
|
1404
|
+
# provided.
|
1405
|
+
#
|
1406
|
+
# * If the source type is a security group, a `DBSecurityGroupName` must
|
1407
|
+
# be provided.
|
1408
|
+
#
|
1409
|
+
# * If the source type is a parameter group, a `DBParameterGroupName`
|
1410
|
+
# must be provided.
|
1411
|
+
#
|
1412
|
+
# * If the source type is a snapshot, a `DBSnapshotIdentifier` must be
|
1413
|
+
# provided.
|
1414
|
+
#
|
1415
|
+
# @option params [Boolean] :enabled
|
1416
|
+
# A Boolean value; set to `true` to activate the subscription, set to
|
1417
|
+
# `false` to create the subscription but not active it.
|
1418
|
+
#
|
1419
|
+
# @option params [Array<Types::Tag>] :tags
|
1420
|
+
# The tags to be assigned to the event subscription.
|
1421
|
+
#
|
1422
|
+
# @return [Types::CreateEventSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1423
|
+
#
|
1424
|
+
# * {Types::CreateEventSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
1425
|
+
#
|
1426
|
+
# @example Request syntax with placeholder values
|
1427
|
+
#
|
1428
|
+
# resp = client.create_event_subscription({
|
1429
|
+
# subscription_name: "String", # required
|
1430
|
+
# sns_topic_arn: "String", # required
|
1431
|
+
# source_type: "String",
|
1432
|
+
# event_categories: ["String"],
|
1433
|
+
# source_ids: ["String"],
|
1434
|
+
# enabled: false,
|
1435
|
+
# tags: [
|
1436
|
+
# {
|
1437
|
+
# key: "String",
|
1438
|
+
# value: "String",
|
1439
|
+
# },
|
1440
|
+
# ],
|
1441
|
+
# })
|
1442
|
+
#
|
1443
|
+
# @example Response structure
|
1444
|
+
#
|
1445
|
+
# resp.event_subscription.customer_aws_id #=> String
|
1446
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
1447
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
1448
|
+
# resp.event_subscription.status #=> String
|
1449
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
1450
|
+
# resp.event_subscription.source_type #=> String
|
1451
|
+
# resp.event_subscription.source_ids_list #=> Array
|
1452
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
1453
|
+
# resp.event_subscription.event_categories_list #=> Array
|
1454
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
1455
|
+
# resp.event_subscription.enabled #=> Boolean
|
1456
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
1457
|
+
#
|
1458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateEventSubscription AWS API Documentation
|
1459
|
+
#
|
1460
|
+
# @overload create_event_subscription(params = {})
|
1461
|
+
# @param [Hash] params ({})
|
1462
|
+
def create_event_subscription(params = {}, options = {})
|
1463
|
+
req = build_request(:create_event_subscription, params)
|
1464
|
+
req.send_request(options)
|
1465
|
+
end
|
1466
|
+
|
1284
1467
|
# Deletes a previously provisioned cluster. When you delete a cluster,
|
1285
1468
|
# all automated backups for that cluster are deleted and can't be
|
1286
1469
|
# recovered. Manual DB cluster snapshots of the specified cluster are
|
@@ -1604,6 +1787,46 @@ module Aws::DocDB
|
|
1604
1787
|
req.send_request(options)
|
1605
1788
|
end
|
1606
1789
|
|
1790
|
+
# Deletes an Amazon DocumentDB event notification subscription.
|
1791
|
+
#
|
1792
|
+
# @option params [required, String] :subscription_name
|
1793
|
+
# The name of the Amazon DocumentDB event notification subscription that
|
1794
|
+
# you want to delete.
|
1795
|
+
#
|
1796
|
+
# @return [Types::DeleteEventSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1797
|
+
#
|
1798
|
+
# * {Types::DeleteEventSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
1799
|
+
#
|
1800
|
+
# @example Request syntax with placeholder values
|
1801
|
+
#
|
1802
|
+
# resp = client.delete_event_subscription({
|
1803
|
+
# subscription_name: "String", # required
|
1804
|
+
# })
|
1805
|
+
#
|
1806
|
+
# @example Response structure
|
1807
|
+
#
|
1808
|
+
# resp.event_subscription.customer_aws_id #=> String
|
1809
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
1810
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
1811
|
+
# resp.event_subscription.status #=> String
|
1812
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
1813
|
+
# resp.event_subscription.source_type #=> String
|
1814
|
+
# resp.event_subscription.source_ids_list #=> Array
|
1815
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
1816
|
+
# resp.event_subscription.event_categories_list #=> Array
|
1817
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
1818
|
+
# resp.event_subscription.enabled #=> Boolean
|
1819
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
1820
|
+
#
|
1821
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteEventSubscription AWS API Documentation
|
1822
|
+
#
|
1823
|
+
# @overload delete_event_subscription(params = {})
|
1824
|
+
# @param [Hash] params ({})
|
1825
|
+
def delete_event_subscription(params = {}, options = {})
|
1826
|
+
req = build_request(:delete_event_subscription, params)
|
1827
|
+
req.send_request(options)
|
1828
|
+
end
|
1829
|
+
|
1607
1830
|
# Returns a list of certificate authority (CA) certificates provided by
|
1608
1831
|
# Amazon DocumentDB for this AWS account.
|
1609
1832
|
#
|
@@ -2565,6 +2788,83 @@ module Aws::DocDB
|
|
2565
2788
|
req.send_request(options)
|
2566
2789
|
end
|
2567
2790
|
|
2791
|
+
# Lists all the subscription descriptions for a customer account. The
|
2792
|
+
# description for a subscription includes `SubscriptionName`,
|
2793
|
+
# `SNSTopicARN`, `CustomerID`, `SourceType`, `SourceID`, `CreationTime`,
|
2794
|
+
# and `Status`.
|
2795
|
+
#
|
2796
|
+
# If you specify a `SubscriptionName`, lists the description for that
|
2797
|
+
# subscription.
|
2798
|
+
#
|
2799
|
+
# @option params [String] :subscription_name
|
2800
|
+
# The name of the Amazon DocumentDB event notification subscription that
|
2801
|
+
# you want to describe.
|
2802
|
+
#
|
2803
|
+
# @option params [Array<Types::Filter>] :filters
|
2804
|
+
# This parameter is not currently supported.
|
2805
|
+
#
|
2806
|
+
# @option params [Integer] :max_records
|
2807
|
+
# The maximum number of records to include in the response. If more
|
2808
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
2809
|
+
# token (marker) is included in the response so that the remaining
|
2810
|
+
# results can be retrieved.
|
2811
|
+
#
|
2812
|
+
# Default: 100
|
2813
|
+
#
|
2814
|
+
# Constraints: Minimum 20, maximum 100.
|
2815
|
+
#
|
2816
|
+
# @option params [String] :marker
|
2817
|
+
# An optional pagination token provided by a previous request. If this
|
2818
|
+
# parameter is specified, the response includes only records beyond the
|
2819
|
+
# marker, up to the value specified by `MaxRecords`.
|
2820
|
+
#
|
2821
|
+
# @return [Types::EventSubscriptionsMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2822
|
+
#
|
2823
|
+
# * {Types::EventSubscriptionsMessage#marker #marker} => String
|
2824
|
+
# * {Types::EventSubscriptionsMessage#event_subscriptions_list #event_subscriptions_list} => Array<Types::EventSubscription>
|
2825
|
+
#
|
2826
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2827
|
+
#
|
2828
|
+
# @example Request syntax with placeholder values
|
2829
|
+
#
|
2830
|
+
# resp = client.describe_event_subscriptions({
|
2831
|
+
# subscription_name: "String",
|
2832
|
+
# filters: [
|
2833
|
+
# {
|
2834
|
+
# name: "String", # required
|
2835
|
+
# values: ["String"], # required
|
2836
|
+
# },
|
2837
|
+
# ],
|
2838
|
+
# max_records: 1,
|
2839
|
+
# marker: "String",
|
2840
|
+
# })
|
2841
|
+
#
|
2842
|
+
# @example Response structure
|
2843
|
+
#
|
2844
|
+
# resp.marker #=> String
|
2845
|
+
# resp.event_subscriptions_list #=> Array
|
2846
|
+
# resp.event_subscriptions_list[0].customer_aws_id #=> String
|
2847
|
+
# resp.event_subscriptions_list[0].cust_subscription_id #=> String
|
2848
|
+
# resp.event_subscriptions_list[0].sns_topic_arn #=> String
|
2849
|
+
# resp.event_subscriptions_list[0].status #=> String
|
2850
|
+
# resp.event_subscriptions_list[0].subscription_creation_time #=> String
|
2851
|
+
# resp.event_subscriptions_list[0].source_type #=> String
|
2852
|
+
# resp.event_subscriptions_list[0].source_ids_list #=> Array
|
2853
|
+
# resp.event_subscriptions_list[0].source_ids_list[0] #=> String
|
2854
|
+
# resp.event_subscriptions_list[0].event_categories_list #=> Array
|
2855
|
+
# resp.event_subscriptions_list[0].event_categories_list[0] #=> String
|
2856
|
+
# resp.event_subscriptions_list[0].enabled #=> Boolean
|
2857
|
+
# resp.event_subscriptions_list[0].event_subscription_arn #=> String
|
2858
|
+
#
|
2859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeEventSubscriptions AWS API Documentation
|
2860
|
+
#
|
2861
|
+
# @overload describe_event_subscriptions(params = {})
|
2862
|
+
# @param [Hash] params ({})
|
2863
|
+
def describe_event_subscriptions(params = {}, options = {})
|
2864
|
+
req = build_request(:describe_event_subscriptions, params)
|
2865
|
+
req.send_request(options)
|
2866
|
+
end
|
2867
|
+
|
2568
2868
|
# Returns events related to instances, security groups, snapshots, and
|
2569
2869
|
# DB parameter groups for the past 14 days. You can obtain events
|
2570
2870
|
# specific to a particular DB instance, security group, snapshot, or
|
@@ -3553,6 +3853,71 @@ module Aws::DocDB
|
|
3553
3853
|
req.send_request(options)
|
3554
3854
|
end
|
3555
3855
|
|
3856
|
+
# Modifies an existing Amazon DocumentDB event notification
|
3857
|
+
# subscription.
|
3858
|
+
#
|
3859
|
+
# @option params [required, String] :subscription_name
|
3860
|
+
# The name of the Amazon DocumentDB event notification subscription.
|
3861
|
+
#
|
3862
|
+
# @option params [String] :sns_topic_arn
|
3863
|
+
# The Amazon Resource Name (ARN) of the SNS topic created for event
|
3864
|
+
# notification. The ARN is created by Amazon SNS when you create a topic
|
3865
|
+
# and subscribe to it.
|
3866
|
+
#
|
3867
|
+
# @option params [String] :source_type
|
3868
|
+
# The type of source that is generating the events. For example, if you
|
3869
|
+
# want to be notified of events generated by an instance, set this
|
3870
|
+
# parameter to `db-instance`. If this value is not specified, all events
|
3871
|
+
# are returned.
|
3872
|
+
#
|
3873
|
+
# Valid values: `db-instance`, `db-parameter-group`,
|
3874
|
+
# `db-security-group`, `db-snapshot`
|
3875
|
+
#
|
3876
|
+
# @option params [Array<String>] :event_categories
|
3877
|
+
# A list of event categories for a `SourceType` that you want to
|
3878
|
+
# subscribe to.
|
3879
|
+
#
|
3880
|
+
# @option params [Boolean] :enabled
|
3881
|
+
# A Boolean value; set to `true` to activate the subscription.
|
3882
|
+
#
|
3883
|
+
# @return [Types::ModifyEventSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3884
|
+
#
|
3885
|
+
# * {Types::ModifyEventSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
3886
|
+
#
|
3887
|
+
# @example Request syntax with placeholder values
|
3888
|
+
#
|
3889
|
+
# resp = client.modify_event_subscription({
|
3890
|
+
# subscription_name: "String", # required
|
3891
|
+
# sns_topic_arn: "String",
|
3892
|
+
# source_type: "String",
|
3893
|
+
# event_categories: ["String"],
|
3894
|
+
# enabled: false,
|
3895
|
+
# })
|
3896
|
+
#
|
3897
|
+
# @example Response structure
|
3898
|
+
#
|
3899
|
+
# resp.event_subscription.customer_aws_id #=> String
|
3900
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
3901
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
3902
|
+
# resp.event_subscription.status #=> String
|
3903
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
3904
|
+
# resp.event_subscription.source_type #=> String
|
3905
|
+
# resp.event_subscription.source_ids_list #=> Array
|
3906
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
3907
|
+
# resp.event_subscription.event_categories_list #=> Array
|
3908
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
3909
|
+
# resp.event_subscription.enabled #=> Boolean
|
3910
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
3911
|
+
#
|
3912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyEventSubscription AWS API Documentation
|
3913
|
+
#
|
3914
|
+
# @overload modify_event_subscription(params = {})
|
3915
|
+
# @param [Hash] params ({})
|
3916
|
+
def modify_event_subscription(params = {}, options = {})
|
3917
|
+
req = build_request(:modify_event_subscription, params)
|
3918
|
+
req.send_request(options)
|
3919
|
+
end
|
3920
|
+
|
3556
3921
|
# You might need to reboot your instance, usually for maintenance
|
3557
3922
|
# reasons. For example, if you make certain changes, or if you change
|
3558
3923
|
# the cluster parameter group that is associated with the instance, you
|
@@ -3660,6 +4025,52 @@ module Aws::DocDB
|
|
3660
4025
|
req.send_request(options)
|
3661
4026
|
end
|
3662
4027
|
|
4028
|
+
# Removes a source identifier from an existing Amazon DocumentDB event
|
4029
|
+
# notification subscription.
|
4030
|
+
#
|
4031
|
+
# @option params [required, String] :subscription_name
|
4032
|
+
# The name of the Amazon DocumentDB event notification subscription that
|
4033
|
+
# you want to remove a source identifier from.
|
4034
|
+
#
|
4035
|
+
# @option params [required, String] :source_identifier
|
4036
|
+
# The source identifier to be removed from the subscription, such as the
|
4037
|
+
# instance identifier for an instance, or the name of a security group.
|
4038
|
+
#
|
4039
|
+
# @return [Types::RemoveSourceIdentifierFromSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4040
|
+
#
|
4041
|
+
# * {Types::RemoveSourceIdentifierFromSubscriptionResult#event_subscription #event_subscription} => Types::EventSubscription
|
4042
|
+
#
|
4043
|
+
# @example Request syntax with placeholder values
|
4044
|
+
#
|
4045
|
+
# resp = client.remove_source_identifier_from_subscription({
|
4046
|
+
# subscription_name: "String", # required
|
4047
|
+
# source_identifier: "String", # required
|
4048
|
+
# })
|
4049
|
+
#
|
4050
|
+
# @example Response structure
|
4051
|
+
#
|
4052
|
+
# resp.event_subscription.customer_aws_id #=> String
|
4053
|
+
# resp.event_subscription.cust_subscription_id #=> String
|
4054
|
+
# resp.event_subscription.sns_topic_arn #=> String
|
4055
|
+
# resp.event_subscription.status #=> String
|
4056
|
+
# resp.event_subscription.subscription_creation_time #=> String
|
4057
|
+
# resp.event_subscription.source_type #=> String
|
4058
|
+
# resp.event_subscription.source_ids_list #=> Array
|
4059
|
+
# resp.event_subscription.source_ids_list[0] #=> String
|
4060
|
+
# resp.event_subscription.event_categories_list #=> Array
|
4061
|
+
# resp.event_subscription.event_categories_list[0] #=> String
|
4062
|
+
# resp.event_subscription.enabled #=> Boolean
|
4063
|
+
# resp.event_subscription.event_subscription_arn #=> String
|
4064
|
+
#
|
4065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveSourceIdentifierFromSubscription AWS API Documentation
|
4066
|
+
#
|
4067
|
+
# @overload remove_source_identifier_from_subscription(params = {})
|
4068
|
+
# @param [Hash] params ({})
|
4069
|
+
def remove_source_identifier_from_subscription(params = {}, options = {})
|
4070
|
+
req = build_request(:remove_source_identifier_from_subscription, params)
|
4071
|
+
req.send_request(options)
|
4072
|
+
end
|
4073
|
+
|
3663
4074
|
# Removes metadata tags from an Amazon DocumentDB resource.
|
3664
4075
|
#
|
3665
4076
|
# @option params [required, String] :resource_name
|
@@ -4279,7 +4690,7 @@ module Aws::DocDB
|
|
4279
4690
|
params: params,
|
4280
4691
|
config: config)
|
4281
4692
|
context[:gem_name] = 'aws-sdk-docdb'
|
4282
|
-
context[:gem_version] = '1.
|
4693
|
+
context[:gem_version] = '1.30.0'
|
4283
4694
|
Seahorse::Client::Request.new(handlers, context)
|
4284
4695
|
end
|
4285
4696
|
|