aws-sdk-elasticloadbalancingv2 1.0.0.rc11 → 1.0.0.rc12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8db9e1f7b2f2d13e0c94a3b42d00b4a08fcae859
4
- data.tar.gz: a2a46bb71c2b922ab2317c39a7d454ea9fde459e
3
+ metadata.gz: 222fecff60bd7f01d65605194fb20fefedd50bc3
4
+ data.tar.gz: 4af06466c18055fc13129ae2003ef48d5f50d278
5
5
  SHA512:
6
- metadata.gz: c86961a9f2c53ab1d5ebb1cb7d698e54ad5a8d0ecb8b5cdf6978e09c5453b88af76babb2eed894c4127cf805b97c660d85003e39eb5d511dcfd41d52572d970c
7
- data.tar.gz: e2f8fb793e5d475bffeef1c626817adeaa40816045312d6268dbe0f52610cf57a3545f784efc7d343d74ad5b5c04db287869d38bf4befab5f0e162044a325037
6
+ metadata.gz: 96d1c2bc2d1832da9c9ba20a3b107ebcf3931c9d4749695707a40bd2fa06da20028d120cb879573d0eab0e3b615a2ccd4f3e0b58bc6c8048c139bfd31c82540b
7
+ data.tar.gz: e71a7fd89b1ff62ee3337dc9125b399a86b8b797b2965776eacface58418c2dcb60df5653214ec3c9a766f9c1ec69d5e16eacf52066826be496194aa1d0334bc
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
43
43
  # @service
44
44
  module Aws::ElasticLoadBalancingV2
45
45
 
46
- GEM_VERSION = '1.0.0.rc11'
46
+ GEM_VERSION = '1.0.0.rc12'
47
47
 
48
48
  end
@@ -2954,7 +2954,7 @@ module Aws::ElasticLoadBalancingV2
2954
2954
  params: params,
2955
2955
  config: config)
2956
2956
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
2957
- context[:gem_version] = '1.0.0.rc11'
2957
+ context[:gem_version] = '1.0.0.rc12'
2958
2958
  Seahorse::Client::Request.new(handlers, context)
2959
2959
  end
2960
2960
 
@@ -3025,6 +3025,8 @@ module Aws::ElasticLoadBalancingV2
3025
3025
  # | load_balancer_available | {#describe_load_balancers} | 15 | 40 |
3026
3026
  # | load_balancer_exists | {#describe_load_balancers} | 15 | 40 |
3027
3027
  # | load_balancers_deleted | {#describe_load_balancers} | 15 | 40 |
3028
+ # | target_deregistered | {#describe_target_health} | 15 | 40 |
3029
+ # | target_in_service | {#describe_target_health} | 15 | 40 |
3028
3030
  #
3029
3031
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
3030
3032
  # because the waiter has entered a state that it will not transition
@@ -3077,7 +3079,9 @@ module Aws::ElasticLoadBalancingV2
3077
3079
  {
3078
3080
  load_balancer_available: Waiters::LoadBalancerAvailable,
3079
3081
  load_balancer_exists: Waiters::LoadBalancerExists,
3080
- load_balancers_deleted: Waiters::LoadBalancersDeleted
3082
+ load_balancers_deleted: Waiters::LoadBalancersDeleted,
3083
+ target_deregistered: Waiters::TargetDeregistered,
3084
+ target_in_service: Waiters::TargetInService
3081
3085
  }
3082
3086
  end
3083
3087
 
@@ -143,5 +143,91 @@ module Aws::ElasticLoadBalancingV2
143
143
  attr_reader :waiter
144
144
 
145
145
  end
146
+
147
+ class TargetDeregistered
148
+
149
+ # @param [Hash] options
150
+ # @option options [required, Client] :client
151
+ # @option options [Integer] :max_attempts (40)
152
+ # @option options [Integer] :delay (15)
153
+ # @option options [Proc] :before_attempt
154
+ # @option options [Proc] :before_wait
155
+ def initialize(options)
156
+ @client = options.fetch(:client)
157
+ @waiter = Aws::Waiters::Waiter.new({
158
+ max_attempts: 40,
159
+ delay: 15,
160
+ poller: Aws::Waiters::Poller.new(
161
+ operation_name: :describe_target_health,
162
+ acceptors: [
163
+ {
164
+ "matcher" => "error",
165
+ "expected" => "InvalidTarget",
166
+ "state" => "success"
167
+ },
168
+ {
169
+ "argument" => "target_health_descriptions[].target_health.state",
170
+ "expected" => "unused",
171
+ "matcher" => "pathAll",
172
+ "state" => "success"
173
+ }
174
+ ]
175
+ )
176
+ }.merge(options))
177
+ end
178
+
179
+ # @option (see Client#describe_target_health)
180
+ # @return (see Client#describe_target_health)
181
+ def wait(params = {})
182
+ @waiter.wait(client: @client, params: params)
183
+ end
184
+
185
+ # @api private
186
+ attr_reader :waiter
187
+
188
+ end
189
+
190
+ class TargetInService
191
+
192
+ # @param [Hash] options
193
+ # @option options [required, Client] :client
194
+ # @option options [Integer] :max_attempts (40)
195
+ # @option options [Integer] :delay (15)
196
+ # @option options [Proc] :before_attempt
197
+ # @option options [Proc] :before_wait
198
+ def initialize(options)
199
+ @client = options.fetch(:client)
200
+ @waiter = Aws::Waiters::Waiter.new({
201
+ max_attempts: 40,
202
+ delay: 15,
203
+ poller: Aws::Waiters::Poller.new(
204
+ operation_name: :describe_target_health,
205
+ acceptors: [
206
+ {
207
+ "argument" => "target_health_descriptions[].target_health.state",
208
+ "expected" => "healthy",
209
+ "matcher" => "pathAll",
210
+ "state" => "success"
211
+ },
212
+ {
213
+ "matcher" => "error",
214
+ "expected" => "InvalidInstance",
215
+ "state" => "retry"
216
+ }
217
+ ]
218
+ )
219
+ }.merge(options))
220
+ end
221
+
222
+ # @option (see Client#describe_target_health)
223
+ # @return (see Client#describe_target_health)
224
+ def wait(params = {})
225
+ @waiter.wait(client: @client, params: params)
226
+ end
227
+
228
+ # @api private
229
+ attr_reader :waiter
230
+
231
+ end
146
232
  end
147
233
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticloadbalancingv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc11
4
+ version: 1.0.0.rc12
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: 2017-07-27 00:00:00.000000000 Z
11
+ date: 2017-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc18
19
+ version: 3.0.0.rc19
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc18
26
+ version: 3.0.0.rc19
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement