aws-sdk-rds 1.145.0 → 1.148.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ebc70156196b0d7d76cee331c6fe31b3f949d7f0ccca7ed338a94e964253125
4
- data.tar.gz: fa5665b8059a0f6c67851e2b223ca8397f903f42b6518ff6b0d03b8c34a4a358
3
+ metadata.gz: f7581e83973dd04bfe5fde12fca8518adedb01076364554629812b47a1bd83c4
4
+ data.tar.gz: 8f97ed472e5c13d7a34944307fdc668b9274f48dca3cdf4e878becdce3641455
5
5
  SHA512:
6
- metadata.gz: 3346479d4cca68e1beef39807302e263a57dd912dcc8eac18de5f7a0d9a44aeb5d4dc9fb3ed64cb9c0e13950c57c512def31ca1e93cc003485e72f8345d216e7
7
- data.tar.gz: 493b146148f8b0e2418d9b320ed407884290feccf0fd97194a4d6dcf282bb009e0355d8338285a245e5a77f8c5573cb929360fecdaa55fc409abc15922dc3dfa
6
+ metadata.gz: 73860116dfde064a9c5fdddb5717bef5f5c4ccbfa1e6095f0bbc80e9d72b08db5c6a4233e5f45286ff40ac4964ec851accba9635882e5fa1ea37c1ad99cb239a
7
+ data.tar.gz: 900409b673c7ef6bf33d48767f4d3707a7de1ff61e52b27c565ccd628c47c8ee19a32049e214133be49371202b4e5c036fa72eca810a23b239e7af04b048ccc8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.148.0 (2022-07-05)
5
+ ------------------
6
+
7
+ * Feature - Adds waiters support for DBCluster.
8
+
9
+ 1.147.0 (2022-07-01)
10
+ ------------------
11
+
12
+ * Feature - Adds support for additional retention periods to Performance Insights.
13
+
14
+ 1.146.0 (2022-05-06)
15
+ ------------------
16
+
17
+ * Feature - Various documentation improvements.
18
+
4
19
  1.145.0 (2022-04-29)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.145.0
1
+ 1.148.0
@@ -3738,19 +3738,9 @@ module Aws::RDS
3738
3738
  # Zone must be in the same Amazon Web Services Region as the current
3739
3739
  # endpoint.
3740
3740
  #
3741
- # <note markdown="1"> If you're creating a DB instance in an RDS on VMware environment,
3742
- # specify the identifier of the custom Availability Zone to create the
3743
- # DB instance in.
3744
- #
3745
- # For more information about RDS on VMware, see the [ RDS on VMware User
3746
- # Guide.][2]
3747
- #
3748
- # </note>
3749
- #
3750
3741
  #
3751
3742
  #
3752
3743
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
3753
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html
3754
3744
  #
3755
3745
  # @option params [String] :db_subnet_group_name
3756
3746
  # A DB subnet group to associate with this DB instance.
@@ -8836,6 +8826,12 @@ module Aws::RDS
8836
8826
  # resp.db_clusters[0].serverless_v2_scaling_configuration.min_capacity #=> Float
8837
8827
  # resp.db_clusters[0].serverless_v2_scaling_configuration.max_capacity #=> Float
8838
8828
  #
8829
+ #
8830
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
8831
+ #
8832
+ # * db_cluster_available
8833
+ # * db_cluster_deleted
8834
+ #
8839
8835
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters AWS API Documentation
8840
8836
  #
8841
8837
  # @overload describe_db_clusters(params = {})
@@ -22391,7 +22387,7 @@ module Aws::RDS
22391
22387
  params: params,
22392
22388
  config: config)
22393
22389
  context[:gem_name] = 'aws-sdk-rds'
22394
- context[:gem_version] = '1.145.0'
22390
+ context[:gem_version] = '1.148.0'
22395
22391
  Seahorse::Client::Request.new(handlers, context)
22396
22392
  end
22397
22393
 
@@ -22459,6 +22455,8 @@ module Aws::RDS
22459
22455
  #
22460
22456
  # | waiter_name | params | :delay | :max_attempts |
22461
22457
  # | ----------------------------- | -------------------------------------- | -------- | ------------- |
22458
+ # | db_cluster_available | {Client#describe_db_clusters} | 30 | 60 |
22459
+ # | db_cluster_deleted | {Client#describe_db_clusters} | 30 | 60 |
22462
22460
  # | db_cluster_snapshot_available | {Client#describe_db_cluster_snapshots} | 30 | 60 |
22463
22461
  # | db_cluster_snapshot_deleted | {Client#describe_db_cluster_snapshots} | 30 | 60 |
22464
22462
  # | db_instance_available | {Client#describe_db_instances} | 30 | 60 |
@@ -22515,6 +22513,8 @@ module Aws::RDS
22515
22513
 
22516
22514
  def waiters
22517
22515
  {
22516
+ db_cluster_available: Waiters::DBClusterAvailable,
22517
+ db_cluster_deleted: Waiters::DBClusterDeleted,
22518
22518
  db_cluster_snapshot_available: Waiters::DBClusterSnapshotAvailable,
22519
22519
  db_cluster_snapshot_deleted: Waiters::DBClusterSnapshotDeleted,
22520
22520
  db_instance_available: Waiters::DBInstanceAvailable,
@@ -1255,19 +1255,9 @@ module Aws::RDS
1255
1255
  # Zone must be in the same Amazon Web Services Region as the current
1256
1256
  # endpoint.
1257
1257
  #
1258
- # <note markdown="1"> If you're creating a DB instance in an RDS on VMware environment,
1259
- # specify the identifier of the custom Availability Zone to create the
1260
- # DB instance in.
1261
- #
1262
- # For more information about RDS on VMware, see the [ RDS on VMware User
1263
- # Guide.][2]
1264
- #
1265
- # </note>
1266
- #
1267
1258
  #
1268
1259
  #
1269
1260
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
1270
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html
1271
1261
  # @option options [String] :db_subnet_group_name
1272
1262
  # A DB subnet group to associate with this DB instance.
1273
1263
  #
@@ -1315,19 +1315,9 @@ module Aws::RDS
1315
1315
  # Zone must be in the same Amazon Web Services Region as the current
1316
1316
  # endpoint.
1317
1317
  #
1318
- # <note markdown="1"> If you're creating a DB instance in an RDS on VMware environment,
1319
- # specify the identifier of the custom Availability Zone to create the
1320
- # DB instance in.
1321
- #
1322
- # For more information about RDS on VMware, see the [ RDS on VMware User
1323
- # Guide.][2]
1324
- #
1325
- # </note>
1326
- #
1327
1318
  #
1328
1319
  #
1329
1320
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
1330
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html
1331
1321
  # @option options [String] :db_subnet_group_name
1332
1322
  # A DB subnet group to associate with this DB instance.
1333
1323
  #
@@ -3377,19 +3377,9 @@ module Aws::RDS
3377
3377
  # Zone must be in the same Amazon Web Services Region as the current
3378
3378
  # endpoint.
3379
3379
  #
3380
- # <note markdown="1"> If you're creating a DB instance in an RDS on VMware environment,
3381
- # specify the identifier of the custom Availability Zone to create the
3382
- # DB instance in.
3383
- #
3384
- # For more information about RDS on VMware, see the [ RDS on VMware
3385
- # User Guide.][2]
3386
- #
3387
- # </note>
3388
- #
3389
3380
  #
3390
3381
  #
3391
3382
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
3392
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html
3393
3383
  # @return [String]
3394
3384
  #
3395
3385
  # @!attribute [rw] db_subnet_group_name
@@ -69,6 +69,8 @@ module Aws::RDS
69
69
  #
70
70
  # | waiter_name | params | :delay | :max_attempts |
71
71
  # | ----------------------------- | -------------------------------------- | -------- | ------------- |
72
+ # | db_cluster_available | {Client#describe_db_clusters} | 30 | 60 |
73
+ # | db_cluster_deleted | {Client#describe_db_clusters} | 30 | 60 |
72
74
  # | db_cluster_snapshot_available | {Client#describe_db_cluster_snapshots} | 30 | 60 |
73
75
  # | db_cluster_snapshot_deleted | {Client#describe_db_cluster_snapshots} | 30 | 60 |
74
76
  # | db_instance_available | {Client#describe_db_instances} | 30 | 60 |
@@ -78,6 +80,141 @@ module Aws::RDS
78
80
  #
79
81
  module Waiters
80
82
 
83
+ class DBClusterAvailable
84
+
85
+ # @param [Hash] options
86
+ # @option options [required, Client] :client
87
+ # @option options [Integer] :max_attempts (60)
88
+ # @option options [Integer] :delay (30)
89
+ # @option options [Proc] :before_attempt
90
+ # @option options [Proc] :before_wait
91
+ def initialize(options)
92
+ @client = options.fetch(:client)
93
+ @waiter = Aws::Waiters::Waiter.new({
94
+ max_attempts: 60,
95
+ delay: 30,
96
+ poller: Aws::Waiters::Poller.new(
97
+ operation_name: :describe_db_clusters,
98
+ acceptors: [
99
+ {
100
+ "expected" => "available",
101
+ "matcher" => "pathAll",
102
+ "state" => "success",
103
+ "argument" => "db_clusters[].status"
104
+ },
105
+ {
106
+ "expected" => "deleted",
107
+ "matcher" => "pathAny",
108
+ "state" => "failure",
109
+ "argument" => "db_clusters[].status"
110
+ },
111
+ {
112
+ "expected" => "deleting",
113
+ "matcher" => "pathAny",
114
+ "state" => "failure",
115
+ "argument" => "db_clusters[].status"
116
+ },
117
+ {
118
+ "expected" => "failed",
119
+ "matcher" => "pathAny",
120
+ "state" => "failure",
121
+ "argument" => "db_clusters[].status"
122
+ },
123
+ {
124
+ "expected" => "incompatible-restore",
125
+ "matcher" => "pathAny",
126
+ "state" => "failure",
127
+ "argument" => "db_clusters[].status"
128
+ },
129
+ {
130
+ "expected" => "incompatible-parameters",
131
+ "matcher" => "pathAny",
132
+ "state" => "failure",
133
+ "argument" => "db_clusters[].status"
134
+ }
135
+ ]
136
+ )
137
+ }.merge(options))
138
+ end
139
+
140
+ # @option (see Client#describe_db_clusters)
141
+ # @return (see Client#describe_db_clusters)
142
+ def wait(params = {})
143
+ @waiter.wait(client: @client, params: params)
144
+ end
145
+
146
+ # @api private
147
+ attr_reader :waiter
148
+
149
+ end
150
+
151
+ class DBClusterDeleted
152
+
153
+ # @param [Hash] options
154
+ # @option options [required, Client] :client
155
+ # @option options [Integer] :max_attempts (60)
156
+ # @option options [Integer] :delay (30)
157
+ # @option options [Proc] :before_attempt
158
+ # @option options [Proc] :before_wait
159
+ def initialize(options)
160
+ @client = options.fetch(:client)
161
+ @waiter = Aws::Waiters::Waiter.new({
162
+ max_attempts: 60,
163
+ delay: 30,
164
+ poller: Aws::Waiters::Poller.new(
165
+ operation_name: :describe_db_clusters,
166
+ acceptors: [
167
+ {
168
+ "expected" => true,
169
+ "matcher" => "path",
170
+ "state" => "success",
171
+ "argument" => "length(db_clusters) == `0`"
172
+ },
173
+ {
174
+ "expected" => "DBClusterNotFoundFault",
175
+ "matcher" => "error",
176
+ "state" => "success"
177
+ },
178
+ {
179
+ "expected" => "creating",
180
+ "matcher" => "pathAny",
181
+ "state" => "failure",
182
+ "argument" => "db_clusters[].status"
183
+ },
184
+ {
185
+ "expected" => "modifying",
186
+ "matcher" => "pathAny",
187
+ "state" => "failure",
188
+ "argument" => "db_clusters[].status"
189
+ },
190
+ {
191
+ "expected" => "rebooting",
192
+ "matcher" => "pathAny",
193
+ "state" => "failure",
194
+ "argument" => "db_clusters[].status"
195
+ },
196
+ {
197
+ "expected" => "resetting-master-credentials",
198
+ "matcher" => "pathAny",
199
+ "state" => "failure",
200
+ "argument" => "db_clusters[].status"
201
+ }
202
+ ]
203
+ )
204
+ }.merge(options))
205
+ end
206
+
207
+ # @option (see Client#describe_db_clusters)
208
+ # @return (see Client#describe_db_clusters)
209
+ def wait(params = {})
210
+ @waiter.wait(client: @client, params: params)
211
+ end
212
+
213
+ # @api private
214
+ attr_reader :waiter
215
+
216
+ end
217
+
81
218
  class DBClusterSnapshotAvailable
82
219
 
83
220
  # @param [Hash] options
data/lib/aws-sdk-rds.rb CHANGED
@@ -74,6 +74,6 @@ require_relative 'aws-sdk-rds/customizations'
74
74
  # @!group service
75
75
  module Aws::RDS
76
76
 
77
- GEM_VERSION = '1.145.0'
77
+ GEM_VERSION = '1.148.0'
78
78
 
79
79
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.145.0
4
+ version: 1.148.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-29 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4