aws-sdk-iam 1.33.0 → 1.38.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-iam.rb +7 -4
- data/lib/aws-sdk-iam/access_key.rb +14 -11
- data/lib/aws-sdk-iam/access_key_pair.rb +14 -11
- data/lib/aws-sdk-iam/account_password_policy.rb +14 -11
- data/lib/aws-sdk-iam/account_summary.rb +14 -11
- data/lib/aws-sdk-iam/assume_role_policy.rb +14 -11
- data/lib/aws-sdk-iam/client.rb +154 -21
- data/lib/aws-sdk-iam/current_user.rb +14 -11
- data/lib/aws-sdk-iam/errors.rb +49 -27
- data/lib/aws-sdk-iam/group.rb +16 -13
- data/lib/aws-sdk-iam/group_policy.rb +14 -11
- data/lib/aws-sdk-iam/instance_profile.rb +19 -14
- data/lib/aws-sdk-iam/login_profile.rb +14 -11
- data/lib/aws-sdk-iam/mfa_device.rb +14 -11
- data/lib/aws-sdk-iam/policy.rb +14 -11
- data/lib/aws-sdk-iam/policy_version.rb +14 -11
- data/lib/aws-sdk-iam/resource.rb +14 -2
- data/lib/aws-sdk-iam/role.rb +14 -11
- data/lib/aws-sdk-iam/role_policy.rb +14 -11
- data/lib/aws-sdk-iam/saml_provider.rb +14 -11
- data/lib/aws-sdk-iam/server_certificate.rb +15 -12
- data/lib/aws-sdk-iam/signing_certificate.rb +14 -11
- data/lib/aws-sdk-iam/types.rb +11 -5
- data/lib/aws-sdk-iam/user.rb +22 -17
- data/lib/aws-sdk-iam/user_policy.rb +14 -11
- data/lib/aws-sdk-iam/virtual_mfa_device.rb +14 -11
- data/lib/aws-sdk-iam/waiters.rb +64 -0
- metadata +3 -3
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class InstanceProfile
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -144,7 +145,8 @@ module Aws::IAM
|
|
144
145
|
# Waiter polls an API operation until a resource enters a desired
|
145
146
|
# state.
|
146
147
|
#
|
147
|
-
# @note The waiting operation is performed on a copy. The original resource
|
148
|
+
# @note The waiting operation is performed on a copy. The original resource
|
149
|
+
# remains unchanged.
|
148
150
|
#
|
149
151
|
# ## Basic Usage
|
150
152
|
#
|
@@ -157,13 +159,15 @@ module Aws::IAM
|
|
157
159
|
#
|
158
160
|
# ## Example
|
159
161
|
#
|
160
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
162
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
163
|
+
# instance.state.name == 'running'
|
164
|
+
# end
|
161
165
|
#
|
162
166
|
# ## Configuration
|
163
167
|
#
|
164
168
|
# You can configure the maximum number of polling attempts, and the
|
165
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
166
|
-
# by passing a block to {#wait_until}:
|
169
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
170
|
+
# set by passing a block to {#wait_until}:
|
167
171
|
#
|
168
172
|
# # poll for ~25 seconds
|
169
173
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -194,17 +198,16 @@ module Aws::IAM
|
|
194
198
|
# # resource did not enter the desired state in time
|
195
199
|
# end
|
196
200
|
#
|
201
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
197
202
|
#
|
198
|
-
# @
|
199
|
-
#
|
200
|
-
#
|
201
|
-
# because the waiter has entered a state that it will not transition
|
202
|
-
# out of, preventing success.
|
203
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
204
|
+
# terminates because the waiter has entered a state that it will not
|
205
|
+
# transition out of, preventing success.
|
203
206
|
#
|
204
207
|
# yet successful.
|
205
208
|
#
|
206
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
207
|
-
# while polling for a resource that is not expected.
|
209
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
210
|
+
# encountered while polling for a resource that is not expected.
|
208
211
|
#
|
209
212
|
# @raise [NotImplementedError] Raised when the resource does not
|
210
213
|
#
|
@@ -332,8 +335,8 @@ module Aws::IAM
|
|
332
335
|
|
333
336
|
def yield_waiter_and_warn(waiter, &block)
|
334
337
|
if !@waiter_block_warned
|
335
|
-
msg = "pass options to configure the waiter; "
|
336
|
-
|
338
|
+
msg = "pass options to configure the waiter; "\
|
339
|
+
"yielding the waiter is deprecated"
|
337
340
|
warn(msg)
|
338
341
|
@waiter_block_warned = true
|
339
342
|
end
|
@@ -341,7 +344,9 @@ module Aws::IAM
|
|
341
344
|
end
|
342
345
|
|
343
346
|
def separate_params_and_options(options)
|
344
|
-
opts = Set.new(
|
347
|
+
opts = Set.new(
|
348
|
+
[:client, :max_attempts, :delay, :before_attempt, :before_wait]
|
349
|
+
)
|
345
350
|
waiter_opts = {}
|
346
351
|
waiter_params = {}
|
347
352
|
options.each_pair do |key, value|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class LoginProfile
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -84,7 +85,8 @@ module Aws::IAM
|
|
84
85
|
# Waiter polls an API operation until a resource enters a desired
|
85
86
|
# state.
|
86
87
|
#
|
87
|
-
# @note The waiting operation is performed on a copy. The original resource
|
88
|
+
# @note The waiting operation is performed on a copy. The original resource
|
89
|
+
# remains unchanged.
|
88
90
|
#
|
89
91
|
# ## Basic Usage
|
90
92
|
#
|
@@ -97,13 +99,15 @@ module Aws::IAM
|
|
97
99
|
#
|
98
100
|
# ## Example
|
99
101
|
#
|
100
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
102
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
103
|
+
# instance.state.name == 'running'
|
104
|
+
# end
|
101
105
|
#
|
102
106
|
# ## Configuration
|
103
107
|
#
|
104
108
|
# You can configure the maximum number of polling attempts, and the
|
105
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
106
|
-
# by passing a block to {#wait_until}:
|
109
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
110
|
+
# set by passing a block to {#wait_until}:
|
107
111
|
#
|
108
112
|
# # poll for ~25 seconds
|
109
113
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -134,17 +138,16 @@ module Aws::IAM
|
|
134
138
|
# # resource did not enter the desired state in time
|
135
139
|
# end
|
136
140
|
#
|
141
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
137
142
|
#
|
138
|
-
# @
|
139
|
-
#
|
140
|
-
#
|
141
|
-
# because the waiter has entered a state that it will not transition
|
142
|
-
# out of, preventing success.
|
143
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
144
|
+
# terminates because the waiter has entered a state that it will not
|
145
|
+
# transition out of, preventing success.
|
143
146
|
#
|
144
147
|
# yet successful.
|
145
148
|
#
|
146
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
147
|
-
# while polling for a resource that is not expected.
|
149
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
150
|
+
# encountered while polling for a resource that is not expected.
|
148
151
|
#
|
149
152
|
# @raise [NotImplementedError] Raised when the resource does not
|
150
153
|
#
|
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class MfaDevice
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -80,7 +81,8 @@ module Aws::IAM
|
|
80
81
|
# Waiter polls an API operation until a resource enters a desired
|
81
82
|
# state.
|
82
83
|
#
|
83
|
-
# @note The waiting operation is performed on a copy. The original resource
|
84
|
+
# @note The waiting operation is performed on a copy. The original resource
|
85
|
+
# remains unchanged.
|
84
86
|
#
|
85
87
|
# ## Basic Usage
|
86
88
|
#
|
@@ -93,13 +95,15 @@ module Aws::IAM
|
|
93
95
|
#
|
94
96
|
# ## Example
|
95
97
|
#
|
96
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
98
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
99
|
+
# instance.state.name == 'running'
|
100
|
+
# end
|
97
101
|
#
|
98
102
|
# ## Configuration
|
99
103
|
#
|
100
104
|
# You can configure the maximum number of polling attempts, and the
|
101
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
102
|
-
# by passing a block to {#wait_until}:
|
105
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
106
|
+
# set by passing a block to {#wait_until}:
|
103
107
|
#
|
104
108
|
# # poll for ~25 seconds
|
105
109
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -130,17 +134,16 @@ module Aws::IAM
|
|
130
134
|
# # resource did not enter the desired state in time
|
131
135
|
# end
|
132
136
|
#
|
137
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
133
138
|
#
|
134
|
-
# @
|
135
|
-
#
|
136
|
-
#
|
137
|
-
# because the waiter has entered a state that it will not transition
|
138
|
-
# out of, preventing success.
|
139
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
140
|
+
# terminates because the waiter has entered a state that it will not
|
141
|
+
# transition out of, preventing success.
|
139
142
|
#
|
140
143
|
# yet successful.
|
141
144
|
#
|
142
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
143
|
-
# while polling for a resource that is not expected.
|
145
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
146
|
+
# encountered while polling for a resource that is not expected.
|
144
147
|
#
|
145
148
|
# @raise [NotImplementedError] Raised when the resource does not
|
146
149
|
#
|
data/lib/aws-sdk-iam/policy.rb
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class Policy
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -174,7 +175,8 @@ module Aws::IAM
|
|
174
175
|
# Waiter polls an API operation until a resource enters a desired
|
175
176
|
# state.
|
176
177
|
#
|
177
|
-
# @note The waiting operation is performed on a copy. The original resource
|
178
|
+
# @note The waiting operation is performed on a copy. The original resource
|
179
|
+
# remains unchanged.
|
178
180
|
#
|
179
181
|
# ## Basic Usage
|
180
182
|
#
|
@@ -187,13 +189,15 @@ module Aws::IAM
|
|
187
189
|
#
|
188
190
|
# ## Example
|
189
191
|
#
|
190
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
192
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
193
|
+
# instance.state.name == 'running'
|
194
|
+
# end
|
191
195
|
#
|
192
196
|
# ## Configuration
|
193
197
|
#
|
194
198
|
# You can configure the maximum number of polling attempts, and the
|
195
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
196
|
-
# by passing a block to {#wait_until}:
|
199
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
200
|
+
# set by passing a block to {#wait_until}:
|
197
201
|
#
|
198
202
|
# # poll for ~25 seconds
|
199
203
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -224,17 +228,16 @@ module Aws::IAM
|
|
224
228
|
# # resource did not enter the desired state in time
|
225
229
|
# end
|
226
230
|
#
|
231
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
227
232
|
#
|
228
|
-
# @
|
229
|
-
#
|
230
|
-
#
|
231
|
-
# because the waiter has entered a state that it will not transition
|
232
|
-
# out of, preventing success.
|
233
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
234
|
+
# terminates because the waiter has entered a state that it will not
|
235
|
+
# transition out of, preventing success.
|
233
236
|
#
|
234
237
|
# yet successful.
|
235
238
|
#
|
236
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
237
|
-
# while polling for a resource that is not expected.
|
239
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
240
|
+
# encountered while polling for a resource that is not expected.
|
238
241
|
#
|
239
242
|
# @raise [NotImplementedError] Raised when the resource does not
|
240
243
|
#
|
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class PolicyVersion
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -122,7 +123,8 @@ module Aws::IAM
|
|
122
123
|
# Waiter polls an API operation until a resource enters a desired
|
123
124
|
# state.
|
124
125
|
#
|
125
|
-
# @note The waiting operation is performed on a copy. The original resource
|
126
|
+
# @note The waiting operation is performed on a copy. The original resource
|
127
|
+
# remains unchanged.
|
126
128
|
#
|
127
129
|
# ## Basic Usage
|
128
130
|
#
|
@@ -135,13 +137,15 @@ module Aws::IAM
|
|
135
137
|
#
|
136
138
|
# ## Example
|
137
139
|
#
|
138
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
140
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
141
|
+
# instance.state.name == 'running'
|
142
|
+
# end
|
139
143
|
#
|
140
144
|
# ## Configuration
|
141
145
|
#
|
142
146
|
# You can configure the maximum number of polling attempts, and the
|
143
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
144
|
-
# by passing a block to {#wait_until}:
|
147
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
148
|
+
# set by passing a block to {#wait_until}:
|
145
149
|
#
|
146
150
|
# # poll for ~25 seconds
|
147
151
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -172,17 +176,16 @@ module Aws::IAM
|
|
172
176
|
# # resource did not enter the desired state in time
|
173
177
|
# end
|
174
178
|
#
|
179
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
175
180
|
#
|
176
|
-
# @
|
177
|
-
#
|
178
|
-
#
|
179
|
-
# because the waiter has entered a state that it will not transition
|
180
|
-
# out of, preventing success.
|
181
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
182
|
+
# terminates because the waiter has entered a state that it will not
|
183
|
+
# transition out of, preventing success.
|
181
184
|
#
|
182
185
|
# yet successful.
|
183
186
|
#
|
184
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
185
|
-
# while polling for a resource that is not expected.
|
187
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
188
|
+
# encountered while polling for a resource that is not expected.
|
186
189
|
#
|
187
190
|
# @raise [NotImplementedError] Raised when the resource does not
|
188
191
|
#
|
data/lib/aws-sdk-iam/resource.rb
CHANGED
@@ -6,6 +6,18 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
10
|
+
# This class provides a resource oriented interface for IAM.
|
11
|
+
# To create a resource object:
|
12
|
+
#
|
13
|
+
# resource = Aws::IAM::Resource.new(region: 'us-west-2')
|
14
|
+
#
|
15
|
+
# You can supply a client object with custom configuration that will be used for all resource operations.
|
16
|
+
# If you do not pass `:client`, a default client will be constructed.
|
17
|
+
#
|
18
|
+
# client = Aws::IAM::Client.new(region: 'us-west-2')
|
19
|
+
# resource = Aws::IAM::Resource.new(client: client)
|
20
|
+
#
|
9
21
|
class Resource
|
10
22
|
|
11
23
|
# @param options ({})
|
@@ -161,7 +173,7 @@ module Aws::IAM
|
|
161
173
|
# the user.
|
162
174
|
# @return [AccountPasswordPolicy]
|
163
175
|
def create_account_password_policy(options = {})
|
164
|
-
|
176
|
+
@client.update_account_password_policy(options)
|
165
177
|
AccountPasswordPolicy.new(client: @client)
|
166
178
|
end
|
167
179
|
|
@@ -592,7 +604,7 @@ module Aws::IAM
|
|
592
604
|
# [1]: http://wikipedia.org/wiki/regex
|
593
605
|
# @return [ServerCertificate]
|
594
606
|
def create_server_certificate(options = {})
|
595
|
-
|
607
|
+
@client.upload_server_certificate(options)
|
596
608
|
ServerCertificate.new(
|
597
609
|
name: options[:server_certificate_name],
|
598
610
|
client: @client
|
data/lib/aws-sdk-iam/role.rb
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class Role
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -181,7 +182,8 @@ module Aws::IAM
|
|
181
182
|
# Waiter polls an API operation until a resource enters a desired
|
182
183
|
# state.
|
183
184
|
#
|
184
|
-
# @note The waiting operation is performed on a copy. The original resource
|
185
|
+
# @note The waiting operation is performed on a copy. The original resource
|
186
|
+
# remains unchanged.
|
185
187
|
#
|
186
188
|
# ## Basic Usage
|
187
189
|
#
|
@@ -194,13 +196,15 @@ module Aws::IAM
|
|
194
196
|
#
|
195
197
|
# ## Example
|
196
198
|
#
|
197
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
199
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
200
|
+
# instance.state.name == 'running'
|
201
|
+
# end
|
198
202
|
#
|
199
203
|
# ## Configuration
|
200
204
|
#
|
201
205
|
# You can configure the maximum number of polling attempts, and the
|
202
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
203
|
-
# by passing a block to {#wait_until}:
|
206
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
207
|
+
# set by passing a block to {#wait_until}:
|
204
208
|
#
|
205
209
|
# # poll for ~25 seconds
|
206
210
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -231,17 +235,16 @@ module Aws::IAM
|
|
231
235
|
# # resource did not enter the desired state in time
|
232
236
|
# end
|
233
237
|
#
|
238
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
234
239
|
#
|
235
|
-
# @
|
236
|
-
#
|
237
|
-
#
|
238
|
-
# because the waiter has entered a state that it will not transition
|
239
|
-
# out of, preventing success.
|
240
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
241
|
+
# terminates because the waiter has entered a state that it will not
|
242
|
+
# transition out of, preventing success.
|
240
243
|
#
|
241
244
|
# yet successful.
|
242
245
|
#
|
243
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
244
|
-
# while polling for a resource that is not expected.
|
246
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
247
|
+
# encountered while polling for a resource that is not expected.
|
245
248
|
#
|
246
249
|
# @raise [NotImplementedError] Raised when the resource does not
|
247
250
|
#
|
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class RolePolicy
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -94,7 +95,8 @@ module Aws::IAM
|
|
94
95
|
# Waiter polls an API operation until a resource enters a desired
|
95
96
|
# state.
|
96
97
|
#
|
97
|
-
# @note The waiting operation is performed on a copy. The original resource
|
98
|
+
# @note The waiting operation is performed on a copy. The original resource
|
99
|
+
# remains unchanged.
|
98
100
|
#
|
99
101
|
# ## Basic Usage
|
100
102
|
#
|
@@ -107,13 +109,15 @@ module Aws::IAM
|
|
107
109
|
#
|
108
110
|
# ## Example
|
109
111
|
#
|
110
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
112
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
113
|
+
# instance.state.name == 'running'
|
114
|
+
# end
|
111
115
|
#
|
112
116
|
# ## Configuration
|
113
117
|
#
|
114
118
|
# You can configure the maximum number of polling attempts, and the
|
115
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
116
|
-
# by passing a block to {#wait_until}:
|
119
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
120
|
+
# set by passing a block to {#wait_until}:
|
117
121
|
#
|
118
122
|
# # poll for ~25 seconds
|
119
123
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -144,17 +148,16 @@ module Aws::IAM
|
|
144
148
|
# # resource did not enter the desired state in time
|
145
149
|
# end
|
146
150
|
#
|
151
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
147
152
|
#
|
148
|
-
# @
|
149
|
-
#
|
150
|
-
#
|
151
|
-
# because the waiter has entered a state that it will not transition
|
152
|
-
# out of, preventing success.
|
153
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
154
|
+
# terminates because the waiter has entered a state that it will not
|
155
|
+
# transition out of, preventing success.
|
153
156
|
#
|
154
157
|
# yet successful.
|
155
158
|
#
|
156
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
157
|
-
# while polling for a resource that is not expected.
|
159
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
160
|
+
# encountered while polling for a resource that is not expected.
|
158
161
|
#
|
159
162
|
# @raise [NotImplementedError] Raised when the resource does not
|
160
163
|
#
|