aws-sdk-rds 1.80.0 → 1.85.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 +5 -5
- data/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/account_quota.rb +13 -11
- data/lib/aws-sdk-rds/certificate.rb +13 -11
- data/lib/aws-sdk-rds/client.rb +280 -151
- data/lib/aws-sdk-rds/client_api.rb +18 -1
- data/lib/aws-sdk-rds/customizations/auth_token_generator.rb +6 -3
- data/lib/aws-sdk-rds/db_cluster.rb +41 -24
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +13 -11
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +14 -12
- data/lib/aws-sdk-rds/db_engine.rb +13 -11
- data/lib/aws-sdk-rds/db_engine_version.rb +20 -12
- data/lib/aws-sdk-rds/db_instance.rb +98 -76
- data/lib/aws-sdk-rds/db_log_file.rb +13 -11
- data/lib/aws-sdk-rds/db_parameter_group.rb +13 -11
- data/lib/aws-sdk-rds/db_parameter_group_family.rb +13 -11
- data/lib/aws-sdk-rds/db_security_group.rb +13 -11
- data/lib/aws-sdk-rds/db_snapshot.rb +13 -11
- data/lib/aws-sdk-rds/db_snapshot_attribute.rb +13 -11
- data/lib/aws-sdk-rds/db_subnet_group.rb +13 -11
- data/lib/aws-sdk-rds/event.rb +13 -11
- data/lib/aws-sdk-rds/event_category_map.rb +13 -11
- data/lib/aws-sdk-rds/event_subscription.rb +13 -11
- data/lib/aws-sdk-rds/option_group.rb +13 -11
- data/lib/aws-sdk-rds/option_group_option.rb +13 -11
- data/lib/aws-sdk-rds/parameter.rb +13 -11
- data/lib/aws-sdk-rds/pending_maintenance_action.rb +13 -11
- data/lib/aws-sdk-rds/reserved_db_instance.rb +13 -11
- data/lib/aws-sdk-rds/reserved_db_instances_offering.rb +13 -11
- data/lib/aws-sdk-rds/resource.rb +29 -20
- data/lib/aws-sdk-rds/resource_pending_maintenance_action_list.rb +13 -11
- data/lib/aws-sdk-rds/types.rb +261 -143
- data/lib/aws-sdk-rds/waiters.rb +66 -0
- metadata +3 -3
@@ -88,7 +88,8 @@ module Aws::RDS
|
|
88
88
|
# Waiter polls an API operation until a resource enters a desired
|
89
89
|
# state.
|
90
90
|
#
|
91
|
-
# @note The waiting operation is performed on a copy. The original resource
|
91
|
+
# @note The waiting operation is performed on a copy. The original resource
|
92
|
+
# remains unchanged.
|
92
93
|
#
|
93
94
|
# ## Basic Usage
|
94
95
|
#
|
@@ -101,13 +102,15 @@ module Aws::RDS
|
|
101
102
|
#
|
102
103
|
# ## Example
|
103
104
|
#
|
104
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
105
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
106
|
+
# instance.state.name == 'running'
|
107
|
+
# end
|
105
108
|
#
|
106
109
|
# ## Configuration
|
107
110
|
#
|
108
111
|
# You can configure the maximum number of polling attempts, and the
|
109
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
110
|
-
# by passing a block to {#wait_until}:
|
112
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
113
|
+
# set by passing a block to {#wait_until}:
|
111
114
|
#
|
112
115
|
# # poll for ~25 seconds
|
113
116
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -138,17 +141,16 @@ module Aws::RDS
|
|
138
141
|
# # resource did not enter the desired state in time
|
139
142
|
# end
|
140
143
|
#
|
144
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
141
145
|
#
|
142
|
-
# @
|
143
|
-
#
|
144
|
-
#
|
145
|
-
# because the waiter has entered a state that it will not transition
|
146
|
-
# out of, preventing success.
|
146
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
147
|
+
# terminates because the waiter has entered a state that it will not
|
148
|
+
# transition out of, preventing success.
|
147
149
|
#
|
148
150
|
# yet successful.
|
149
151
|
#
|
150
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
151
|
-
# while polling for a resource that is not expected.
|
152
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
153
|
+
# encountered while polling for a resource that is not expected.
|
152
154
|
#
|
153
155
|
# @raise [NotImplementedError] Raised when the resource does not
|
154
156
|
#
|
@@ -93,7 +93,8 @@ module Aws::RDS
|
|
93
93
|
# Waiter polls an API operation until a resource enters a desired
|
94
94
|
# state.
|
95
95
|
#
|
96
|
-
# @note The waiting operation is performed on a copy. The original resource
|
96
|
+
# @note The waiting operation is performed on a copy. The original resource
|
97
|
+
# remains unchanged.
|
97
98
|
#
|
98
99
|
# ## Basic Usage
|
99
100
|
#
|
@@ -106,13 +107,15 @@ module Aws::RDS
|
|
106
107
|
#
|
107
108
|
# ## Example
|
108
109
|
#
|
109
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
110
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
111
|
+
# instance.state.name == 'running'
|
112
|
+
# end
|
110
113
|
#
|
111
114
|
# ## Configuration
|
112
115
|
#
|
113
116
|
# You can configure the maximum number of polling attempts, and the
|
114
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
115
|
-
# by passing a block to {#wait_until}:
|
117
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
118
|
+
# set by passing a block to {#wait_until}:
|
116
119
|
#
|
117
120
|
# # poll for ~25 seconds
|
118
121
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -143,17 +146,16 @@ module Aws::RDS
|
|
143
146
|
# # resource did not enter the desired state in time
|
144
147
|
# end
|
145
148
|
#
|
149
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
146
150
|
#
|
147
|
-
# @
|
148
|
-
#
|
149
|
-
#
|
150
|
-
# because the waiter has entered a state that it will not transition
|
151
|
-
# out of, preventing success.
|
151
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
152
|
+
# terminates because the waiter has entered a state that it will not
|
153
|
+
# transition out of, preventing success.
|
152
154
|
#
|
153
155
|
# yet successful.
|
154
156
|
#
|
155
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
156
|
-
# while polling for a resource that is not expected.
|
157
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
158
|
+
# encountered while polling for a resource that is not expected.
|
157
159
|
#
|
158
160
|
# @raise [NotImplementedError] Raised when the resource does not
|
159
161
|
#
|
@@ -65,7 +65,8 @@ module Aws::RDS
|
|
65
65
|
# Waiter polls an API operation until a resource enters a desired
|
66
66
|
# state.
|
67
67
|
#
|
68
|
-
# @note The waiting operation is performed on a copy. The original resource
|
68
|
+
# @note The waiting operation is performed on a copy. The original resource
|
69
|
+
# remains unchanged.
|
69
70
|
#
|
70
71
|
# ## Basic Usage
|
71
72
|
#
|
@@ -78,13 +79,15 @@ module Aws::RDS
|
|
78
79
|
#
|
79
80
|
# ## Example
|
80
81
|
#
|
81
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
82
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
83
|
+
# instance.state.name == 'running'
|
84
|
+
# end
|
82
85
|
#
|
83
86
|
# ## Configuration
|
84
87
|
#
|
85
88
|
# You can configure the maximum number of polling attempts, and the
|
86
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
87
|
-
# by passing a block to {#wait_until}:
|
89
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
90
|
+
# set by passing a block to {#wait_until}:
|
88
91
|
#
|
89
92
|
# # poll for ~25 seconds
|
90
93
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -115,17 +118,16 @@ module Aws::RDS
|
|
115
118
|
# # resource did not enter the desired state in time
|
116
119
|
# end
|
117
120
|
#
|
121
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
118
122
|
#
|
119
|
-
# @
|
120
|
-
#
|
121
|
-
#
|
122
|
-
# because the waiter has entered a state that it will not transition
|
123
|
-
# out of, preventing success.
|
123
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
124
|
+
# terminates because the waiter has entered a state that it will not
|
125
|
+
# transition out of, preventing success.
|
124
126
|
#
|
125
127
|
# yet successful.
|
126
128
|
#
|
127
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
128
|
-
# while polling for a resource that is not expected.
|
129
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
130
|
+
# encountered while polling for a resource that is not expected.
|
129
131
|
#
|
130
132
|
# @raise [NotImplementedError] Raised when the resource does not
|
131
133
|
#
|
@@ -109,7 +109,8 @@ module Aws::RDS
|
|
109
109
|
# Waiter polls an API operation until a resource enters a desired
|
110
110
|
# state.
|
111
111
|
#
|
112
|
-
# @note The waiting operation is performed on a copy. The original resource
|
112
|
+
# @note The waiting operation is performed on a copy. The original resource
|
113
|
+
# remains unchanged.
|
113
114
|
#
|
114
115
|
# ## Basic Usage
|
115
116
|
#
|
@@ -122,13 +123,15 @@ module Aws::RDS
|
|
122
123
|
#
|
123
124
|
# ## Example
|
124
125
|
#
|
125
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
126
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
127
|
+
# instance.state.name == 'running'
|
128
|
+
# end
|
126
129
|
#
|
127
130
|
# ## Configuration
|
128
131
|
#
|
129
132
|
# You can configure the maximum number of polling attempts, and the
|
130
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
131
|
-
# by passing a block to {#wait_until}:
|
133
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
134
|
+
# set by passing a block to {#wait_until}:
|
132
135
|
#
|
133
136
|
# # poll for ~25 seconds
|
134
137
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -159,17 +162,16 @@ module Aws::RDS
|
|
159
162
|
# # resource did not enter the desired state in time
|
160
163
|
# end
|
161
164
|
#
|
165
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
162
166
|
#
|
163
|
-
# @
|
164
|
-
#
|
165
|
-
#
|
166
|
-
# because the waiter has entered a state that it will not transition
|
167
|
-
# out of, preventing success.
|
167
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
168
|
+
# terminates because the waiter has entered a state that it will not
|
169
|
+
# transition out of, preventing success.
|
168
170
|
#
|
169
171
|
# yet successful.
|
170
172
|
#
|
171
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
172
|
-
# while polling for a resource that is not expected.
|
173
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
174
|
+
# encountered while polling for a resource that is not expected.
|
173
175
|
#
|
174
176
|
# @raise [NotImplementedError] Raised when the resource does not
|
175
177
|
#
|
@@ -253,7 +253,8 @@ module Aws::RDS
|
|
253
253
|
# Waiter polls an API operation until a resource enters a desired
|
254
254
|
# state.
|
255
255
|
#
|
256
|
-
# @note The waiting operation is performed on a copy. The original resource
|
256
|
+
# @note The waiting operation is performed on a copy. The original resource
|
257
|
+
# remains unchanged.
|
257
258
|
#
|
258
259
|
# ## Basic Usage
|
259
260
|
#
|
@@ -266,13 +267,15 @@ module Aws::RDS
|
|
266
267
|
#
|
267
268
|
# ## Example
|
268
269
|
#
|
269
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
270
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
271
|
+
# instance.state.name == 'running'
|
272
|
+
# end
|
270
273
|
#
|
271
274
|
# ## Configuration
|
272
275
|
#
|
273
276
|
# You can configure the maximum number of polling attempts, and the
|
274
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
275
|
-
# by passing a block to {#wait_until}:
|
277
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
278
|
+
# set by passing a block to {#wait_until}:
|
276
279
|
#
|
277
280
|
# # poll for ~25 seconds
|
278
281
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -303,17 +306,16 @@ module Aws::RDS
|
|
303
306
|
# # resource did not enter the desired state in time
|
304
307
|
# end
|
305
308
|
#
|
309
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
306
310
|
#
|
307
|
-
# @
|
308
|
-
#
|
309
|
-
#
|
310
|
-
# because the waiter has entered a state that it will not transition
|
311
|
-
# out of, preventing success.
|
311
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
312
|
+
# terminates because the waiter has entered a state that it will not
|
313
|
+
# transition out of, preventing success.
|
312
314
|
#
|
313
315
|
# yet successful.
|
314
316
|
#
|
315
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
316
|
-
# while polling for a resource that is not expected.
|
317
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
318
|
+
# encountered while polling for a resource that is not expected.
|
317
319
|
#
|
318
320
|
# @raise [NotImplementedError] Raised when the resource does not
|
319
321
|
#
|
@@ -88,7 +88,8 @@ module Aws::RDS
|
|
88
88
|
# Waiter polls an API operation until a resource enters a desired
|
89
89
|
# state.
|
90
90
|
#
|
91
|
-
# @note The waiting operation is performed on a copy. The original resource
|
91
|
+
# @note The waiting operation is performed on a copy. The original resource
|
92
|
+
# remains unchanged.
|
92
93
|
#
|
93
94
|
# ## Basic Usage
|
94
95
|
#
|
@@ -101,13 +102,15 @@ module Aws::RDS
|
|
101
102
|
#
|
102
103
|
# ## Example
|
103
104
|
#
|
104
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
105
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
106
|
+
# instance.state.name == 'running'
|
107
|
+
# end
|
105
108
|
#
|
106
109
|
# ## Configuration
|
107
110
|
#
|
108
111
|
# You can configure the maximum number of polling attempts, and the
|
109
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
110
|
-
# by passing a block to {#wait_until}:
|
112
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
113
|
+
# set by passing a block to {#wait_until}:
|
111
114
|
#
|
112
115
|
# # poll for ~25 seconds
|
113
116
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -138,17 +141,16 @@ module Aws::RDS
|
|
138
141
|
# # resource did not enter the desired state in time
|
139
142
|
# end
|
140
143
|
#
|
144
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
141
145
|
#
|
142
|
-
# @
|
143
|
-
#
|
144
|
-
#
|
145
|
-
# because the waiter has entered a state that it will not transition
|
146
|
-
# out of, preventing success.
|
146
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
147
|
+
# terminates because the waiter has entered a state that it will not
|
148
|
+
# transition out of, preventing success.
|
147
149
|
#
|
148
150
|
# yet successful.
|
149
151
|
#
|
150
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
151
|
-
# while polling for a resource that is not expected.
|
152
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
153
|
+
# encountered while polling for a resource that is not expected.
|
152
154
|
#
|
153
155
|
# @raise [NotImplementedError] Raised when the resource does not
|
154
156
|
#
|
@@ -103,7 +103,8 @@ module Aws::RDS
|
|
103
103
|
# Waiter polls an API operation until a resource enters a desired
|
104
104
|
# state.
|
105
105
|
#
|
106
|
-
# @note The waiting operation is performed on a copy. The original resource
|
106
|
+
# @note The waiting operation is performed on a copy. The original resource
|
107
|
+
# remains unchanged.
|
107
108
|
#
|
108
109
|
# ## Basic Usage
|
109
110
|
#
|
@@ -116,13 +117,15 @@ module Aws::RDS
|
|
116
117
|
#
|
117
118
|
# ## Example
|
118
119
|
#
|
119
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
120
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
121
|
+
# instance.state.name == 'running'
|
122
|
+
# end
|
120
123
|
#
|
121
124
|
# ## Configuration
|
122
125
|
#
|
123
126
|
# You can configure the maximum number of polling attempts, and the
|
124
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
125
|
-
# by passing a block to {#wait_until}:
|
127
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
128
|
+
# set by passing a block to {#wait_until}:
|
126
129
|
#
|
127
130
|
# # poll for ~25 seconds
|
128
131
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -153,17 +156,16 @@ module Aws::RDS
|
|
153
156
|
# # resource did not enter the desired state in time
|
154
157
|
# end
|
155
158
|
#
|
159
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
156
160
|
#
|
157
|
-
# @
|
158
|
-
#
|
159
|
-
#
|
160
|
-
# because the waiter has entered a state that it will not transition
|
161
|
-
# out of, preventing success.
|
161
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
162
|
+
# terminates because the waiter has entered a state that it will not
|
163
|
+
# transition out of, preventing success.
|
162
164
|
#
|
163
165
|
# yet successful.
|
164
166
|
#
|
165
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
166
|
-
# while polling for a resource that is not expected.
|
167
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
168
|
+
# encountered while polling for a resource that is not expected.
|
167
169
|
#
|
168
170
|
# @raise [NotImplementedError] Raised when the resource does not
|
169
171
|
#
|
data/lib/aws-sdk-rds/event.rb
CHANGED
@@ -100,7 +100,8 @@ module Aws::RDS
|
|
100
100
|
# Waiter polls an API operation until a resource enters a desired
|
101
101
|
# state.
|
102
102
|
#
|
103
|
-
# @note The waiting operation is performed on a copy. The original resource
|
103
|
+
# @note The waiting operation is performed on a copy. The original resource
|
104
|
+
# remains unchanged.
|
104
105
|
#
|
105
106
|
# ## Basic Usage
|
106
107
|
#
|
@@ -113,13 +114,15 @@ module Aws::RDS
|
|
113
114
|
#
|
114
115
|
# ## Example
|
115
116
|
#
|
116
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
117
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
118
|
+
# instance.state.name == 'running'
|
119
|
+
# end
|
117
120
|
#
|
118
121
|
# ## Configuration
|
119
122
|
#
|
120
123
|
# You can configure the maximum number of polling attempts, and the
|
121
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
122
|
-
# by passing a block to {#wait_until}:
|
124
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
125
|
+
# set by passing a block to {#wait_until}:
|
123
126
|
#
|
124
127
|
# # poll for ~25 seconds
|
125
128
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -150,17 +153,16 @@ module Aws::RDS
|
|
150
153
|
# # resource did not enter the desired state in time
|
151
154
|
# end
|
152
155
|
#
|
156
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
153
157
|
#
|
154
|
-
# @
|
155
|
-
#
|
156
|
-
#
|
157
|
-
# because the waiter has entered a state that it will not transition
|
158
|
-
# out of, preventing success.
|
158
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
159
|
+
# terminates because the waiter has entered a state that it will not
|
160
|
+
# transition out of, preventing success.
|
159
161
|
#
|
160
162
|
# yet successful.
|
161
163
|
#
|
162
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
163
|
-
# while polling for a resource that is not expected.
|
164
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
165
|
+
# encountered while polling for a resource that is not expected.
|
164
166
|
#
|
165
167
|
# @raise [NotImplementedError] Raised when the resource does not
|
166
168
|
#
|
@@ -78,7 +78,8 @@ module Aws::RDS
|
|
78
78
|
# Waiter polls an API operation until a resource enters a desired
|
79
79
|
# state.
|
80
80
|
#
|
81
|
-
# @note The waiting operation is performed on a copy. The original resource
|
81
|
+
# @note The waiting operation is performed on a copy. The original resource
|
82
|
+
# remains unchanged.
|
82
83
|
#
|
83
84
|
# ## Basic Usage
|
84
85
|
#
|
@@ -91,13 +92,15 @@ module Aws::RDS
|
|
91
92
|
#
|
92
93
|
# ## Example
|
93
94
|
#
|
94
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
95
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
96
|
+
# instance.state.name == 'running'
|
97
|
+
# end
|
95
98
|
#
|
96
99
|
# ## Configuration
|
97
100
|
#
|
98
101
|
# You can configure the maximum number of polling attempts, and the
|
99
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
100
|
-
# by passing a block to {#wait_until}:
|
102
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
103
|
+
# set by passing a block to {#wait_until}:
|
101
104
|
#
|
102
105
|
# # poll for ~25 seconds
|
103
106
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -128,17 +131,16 @@ module Aws::RDS
|
|
128
131
|
# # resource did not enter the desired state in time
|
129
132
|
# end
|
130
133
|
#
|
134
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
131
135
|
#
|
132
|
-
# @
|
133
|
-
#
|
134
|
-
#
|
135
|
-
# because the waiter has entered a state that it will not transition
|
136
|
-
# out of, preventing success.
|
136
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
137
|
+
# terminates because the waiter has entered a state that it will not
|
138
|
+
# transition out of, preventing success.
|
137
139
|
#
|
138
140
|
# yet successful.
|
139
141
|
#
|
140
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
141
|
-
# while polling for a resource that is not expected.
|
142
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
143
|
+
# encountered while polling for a resource that is not expected.
|
142
144
|
#
|
143
145
|
# @raise [NotImplementedError] Raised when the resource does not
|
144
146
|
#
|