aws-sdk-elasticloadbalancingv2 1.0.0.rc2 → 1.0.0.rc3

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
  SHA1:
3
- metadata.gz: af5c053bcc0272f80625c9c68bebf6d7aeb0290c
4
- data.tar.gz: 14a797c248f598786f0ff103c1c3c811aaa9622f
3
+ metadata.gz: c18f0db5c10dc0281b5469ff82e2e9e37f3edb64
4
+ data.tar.gz: 44a3329aa749df6888386dbe9abad796f8690486
5
5
  SHA512:
6
- metadata.gz: 124c9ee14b89f932e604f0398bb489a2f9e773039332099e5a9ed7c2a397d558529519b5569389d1ffcfc22a622979b3d3681a1c23919c7af3a3b822b6babf1f
7
- data.tar.gz: d4ba145deda9be880ad2053aba1deeba45ce571e5a59fae0c6da7058a20d87459b906a4899d382d2454c7692efb0ecc138b442eedda2dd38c9fa6cb2207afb0a
6
+ metadata.gz: 4038263c275bc13e0052c17f53a1b25b5990325f56c53679de0fb45a413156eeaed0547920dd68e2e01727ff5faf0657cc792e0e0074c13c37ff4950ece0a0c1
7
+ data.tar.gz: 78d9c4953b75edcaaf82f04f429f13f3a11bc6ae6934052e18ea4ae6c58bd6702a3276d0513efe147a1614e94ff12b628f830386d221bd838abff988cab3a5a9
@@ -12,6 +12,7 @@ require_relative 'aws-sdk-elasticloadbalancingv2/types'
12
12
  require_relative 'aws-sdk-elasticloadbalancingv2/client_api'
13
13
  require_relative 'aws-sdk-elasticloadbalancingv2/client'
14
14
  require_relative 'aws-sdk-elasticloadbalancingv2/errors'
15
+ require_relative 'aws-sdk-elasticloadbalancingv2/waiters'
15
16
  require_relative 'aws-sdk-elasticloadbalancingv2/resource'
16
17
  require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
17
18
 
@@ -42,6 +43,6 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
42
43
  # @service
43
44
  module Aws::ElasticLoadBalancingV2
44
45
 
45
- GEM_VERSION = '1.0.0.rc2'
46
+ GEM_VERSION = '1.0.0.rc3'
46
47
 
47
48
  end
@@ -18,6 +18,7 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
18
  require 'aws-sdk-core/plugins/response_paging.rb'
19
19
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
20
  require 'aws-sdk-core/plugins/idempotency_token.rb'
21
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
21
22
  require 'aws-sdk-core/plugins/signature_v4.rb'
22
23
  require 'aws-sdk-core/plugins/protocols/query.rb'
23
24
 
@@ -45,6 +46,7 @@ module Aws::ElasticLoadBalancingV2
45
46
  add_plugin(Aws::Plugins::ResponsePaging)
46
47
  add_plugin(Aws::Plugins::StubResponses)
47
48
  add_plugin(Aws::Plugins::IdempotencyToken)
49
+ add_plugin(Aws::Plugins::JsonvalueConverter)
48
50
  add_plugin(Aws::Plugins::SignatureV4)
49
51
  add_plugin(Aws::Plugins::Protocols::Query)
50
52
 
@@ -291,9 +293,9 @@ module Aws::ElasticLoadBalancingV2
291
293
  # @option params [required, String] :name
292
294
  # The name of the load balancer.
293
295
  #
294
- # This name must be unique within your AWS account, can have a maximum
295
- # of 32 characters, must contain only alphanumeric characters or
296
- # hyphens, and must not begin or end with a hyphen.
296
+ # This name must be unique per region per account, can have a maximum of
297
+ # 32 characters, must contain only alphanumeric characters or hyphens,
298
+ # and must not begin or end with a hyphen.
297
299
  #
298
300
  # @option params [required, Array<String>] :subnets
299
301
  # The IDs of the subnets to attach to the load balancer. You can specify
@@ -397,11 +399,25 @@ module Aws::ElasticLoadBalancingV2
397
399
  # The Amazon Resource Name (ARN) of the listener.
398
400
  #
399
401
  # @option params [required, Array<Types::RuleCondition>] :conditions
400
- # A condition. Each condition has the field `path-pattern` and specifies
401
- # one path pattern. A path pattern is case sensitive, can be up to 128
402
- # characters in length, and can contain any of the following characters.
403
- # Note that you can include up to three wildcard characters in a path
404
- # pattern.
402
+ # A condition. Each condition specifies a field name and a single value.
403
+ #
404
+ # If the field name is `host-header`, you can specify a single host name
405
+ # (for example, my.example.com). A host name is case insensitive, can be
406
+ # up to 128 characters in length, and can contain any of the following
407
+ # characters. Note that you can include up to three wildcard characters.
408
+ #
409
+ # * A-Z, a-z, 0-9
410
+ #
411
+ # * \- .
412
+ #
413
+ # * * (matches 0 or more characters)
414
+ #
415
+ # * ? (matches exactly 1 character)
416
+ #
417
+ # If the field name is `path-pattern`, you can specify a single path
418
+ # pattern. A path pattern is case sensitive, can be up to 128 characters
419
+ # in length, and can contain any of the following characters. Note that
420
+ # you can include up to three wildcard characters.
405
421
  #
406
422
  # * A-Z, a-z, 0-9
407
423
  #
@@ -489,6 +505,10 @@ module Aws::ElasticLoadBalancingV2
489
505
  # @option params [required, String] :name
490
506
  # The name of the target group.
491
507
  #
508
+ # This name must be unique per region per account, can have a maximum of
509
+ # 32 characters, must contain only alphanumeric characters or hyphens,
510
+ # and must not begin or end with a hyphen.
511
+ #
492
512
  # @option params [required, String] :protocol
493
513
  # The protocol to use for routing traffic to the targets.
494
514
  #
@@ -815,7 +835,8 @@ module Aws::ElasticLoadBalancingV2
815
835
  # DescribeLoadBalancerAttributes.
816
836
  #
817
837
  # @option params [Array<String>] :load_balancer_arns
818
- # The Amazon Resource Names (ARN) of the load balancers.
838
+ # The Amazon Resource Names (ARN) of the load balancers. You can specify
839
+ # up to 20 load balancers in a single call.
819
840
  #
820
841
  # @option params [Array<String>] :names
821
842
  # The names of the load balancers.
@@ -917,8 +938,12 @@ module Aws::ElasticLoadBalancingV2
917
938
  # Describes the specified policies or all policies used for SSL
918
939
  # negotiation.
919
940
  #
920
- # Note that the only supported policy at this time is
921
- # ELBSecurityPolicy-2015-05.
941
+ # For more information, see [Security Policies][1] in the *Application
942
+ # Load Balancers Guide*.
943
+ #
944
+ #
945
+ #
946
+ # [1]: http://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
922
947
  #
923
948
  # @option params [Array<String>] :names
924
949
  # The names of the policies.
@@ -963,7 +988,8 @@ module Aws::ElasticLoadBalancingV2
963
988
  req.send_request(options)
964
989
  end
965
990
 
966
- # Describes the tags for the specified resources.
991
+ # Describes the tags for the specified resources. You can describe the
992
+ # tags for one or more Application Load Balancers and target groups.
967
993
  #
968
994
  # @option params [required, Array<String>] :resource_arns
969
995
  # The Amazon Resource Names (ARN) of the resources.
@@ -1143,7 +1169,8 @@ module Aws::ElasticLoadBalancingV2
1143
1169
  # Any properties that you do not specify retain their current values.
1144
1170
  # However, changing the protocol from HTTPS to HTTP removes the security
1145
1171
  # policy and SSL certificate properties. If you change the protocol from
1146
- # HTTP to HTTPS, you must add the security policy.
1172
+ # HTTP to HTTPS, you must add the security policy and server
1173
+ # certificate.
1147
1174
  #
1148
1175
  # @option params [required, String] :listener_arn
1149
1176
  # The Amazon Resource Name (ARN) of the listener.
@@ -1155,8 +1182,13 @@ module Aws::ElasticLoadBalancingV2
1155
1182
  # The protocol for connections from clients to the load balancer.
1156
1183
  #
1157
1184
  # @option params [String] :ssl_policy
1158
- # The security policy that defines which ciphers and protocols are
1159
- # supported.
1185
+ # The security policy that defines which protocols and ciphers are
1186
+ # supported. For more information, see [Security Policies][1] in the
1187
+ # *Application Load Balancers Guide*.
1188
+ #
1189
+ #
1190
+ #
1191
+ # [1]: http://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
1160
1192
  #
1161
1193
  # @option params [Array<Types::Certificate>] :certificates
1162
1194
  # The SSL server certificate.
@@ -1679,14 +1711,131 @@ module Aws::ElasticLoadBalancingV2
1679
1711
  params: params,
1680
1712
  config: config)
1681
1713
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
1682
- context[:gem_version] = '1.0.0.rc2'
1714
+ context[:gem_version] = '1.0.0.rc3'
1683
1715
  Seahorse::Client::Request.new(handlers, context)
1684
1716
  end
1685
1717
 
1718
+ # Polls an API operation until a resource enters a desired state.
1719
+ #
1720
+ # ## Basic Usage
1721
+ #
1722
+ # A waiter will call an API operation until:
1723
+ #
1724
+ # * It is successful
1725
+ # * It enters a terminal state
1726
+ # * It makes the maximum number of attempts
1727
+ #
1728
+ # In between attempts, the waiter will sleep.
1729
+ #
1730
+ # # polls in a loop, sleeping between attempts
1731
+ # client.waiter_until(waiter_name, params)
1732
+ #
1733
+ # ## Configuration
1734
+ #
1735
+ # You can configure the maximum number of polling attempts, and the
1736
+ # delay (in seconds) between each polling attempt. You can pass
1737
+ # configuration as the final arguments hash.
1738
+ #
1739
+ # # poll for ~25 seconds
1740
+ # client.wait_until(waiter_name, params, {
1741
+ # max_attempts: 5,
1742
+ # delay: 5,
1743
+ # })
1744
+ #
1745
+ # ## Callbacks
1746
+ #
1747
+ # You can be notified before each polling attempt and before each
1748
+ # delay. If you throw `:success` or `:failure` from these callbacks,
1749
+ # it will terminate the waiter.
1750
+ #
1751
+ # started_at = Time.now
1752
+ # client.wait_until(waiter_name, params, {
1753
+ #
1754
+ # # disable max attempts
1755
+ # max_attempts: nil,
1756
+ #
1757
+ # # poll for 1 hour, instead of a number of attempts
1758
+ # before_wait: -> (attempts, response) do
1759
+ # throw :failure if Time.now - started_at > 3600
1760
+ # end
1761
+ # })
1762
+ #
1763
+ # ## Handling Errors
1764
+ #
1765
+ # When a waiter is unsuccessful, it will raise an error.
1766
+ # All of the failure errors extend from
1767
+ # {Aws::Waiters::Errors::WaiterFailed}.
1768
+ #
1769
+ # begin
1770
+ # client.wait_until(...)
1771
+ # rescue Aws::Waiters::Errors::WaiterFailed
1772
+ # # resource did not enter the desired state in time
1773
+ # end
1774
+ #
1775
+ # ## Valid Waiters
1776
+ #
1777
+ # The following table lists the valid waiter names, the operations they call,
1778
+ # and the default `:delay` and `:max_attempts` values.
1779
+ #
1780
+ # | waiter_name | params | :delay | :max_attempts |
1781
+ # | ----------------------- | -------------------------- | -------- | ------------- |
1782
+ # | load_balancer_available | {#describe_load_balancers} | 15 | 40 |
1783
+ # | load_balancer_exists | {#describe_load_balancers} | 15 | 40 |
1784
+ # | load_balancers_deleted | {#describe_load_balancers} | 15 | 40 |
1785
+ #
1786
+ # @raise [Errors::FailureStateError] Raised when the waiter terminates
1787
+ # because the waiter has entered a state that it will not transition
1788
+ # out of, preventing success.
1789
+ #
1790
+ # @raise [Errors::TooManyAttemptsError] Raised when the configured
1791
+ # maximum number of attempts have been made, and the waiter is not
1792
+ # yet successful.
1793
+ #
1794
+ # @raise [Errors::UnexpectedError] Raised when an error is encounted
1795
+ # while polling for a resource that is not expected.
1796
+ #
1797
+ # @raise [Errors::NoSuchWaiterError] Raised when you request to wait
1798
+ # for an unknown state.
1799
+ #
1800
+ # @return [Boolean] Returns `true` if the waiter was successful.
1801
+ # @param [Symbol] waiter_name
1802
+ # @param [Hash] params ({})
1803
+ # @param [Hash] options ({})
1804
+ # @option options [Integer] :max_attempts
1805
+ # @option options [Integer] :delay
1806
+ # @option options [Proc] :before_attempt
1807
+ # @option options [Proc] :before_wait
1808
+ def wait_until(waiter_name, params = {}, options = {})
1809
+ w = waiter(waiter_name, options)
1810
+ yield(w.waiter) if block_given? # deprecated
1811
+ w.wait(params)
1812
+ end
1813
+
1686
1814
  # @api private
1687
1815
  # @deprecated
1688
1816
  def waiter_names
1689
- []
1817
+ waiters.keys
1818
+ end
1819
+
1820
+ private
1821
+
1822
+ # @param [Symbol] waiter_name
1823
+ # @param [Hash] options ({})
1824
+ def waiter(waiter_name, options = {})
1825
+ waiter_class = waiters[waiter_name]
1826
+ if waiter_class
1827
+ waiter_class.new(options.merge(client: self))
1828
+ else
1829
+ raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
1830
+ end
1831
+ end
1832
+
1833
+ def waiters
1834
+ {
1835
+ load_balancer_available: Waiters::LoadBalancerAvailable,
1836
+ load_balancer_exists: Waiters::LoadBalancerExists,
1837
+ load_balancers_deleted: Waiters::LoadBalancersDeleted
1838
+ }
1690
1839
  end
1691
1840
 
1692
1841
  class << self
@@ -214,7 +214,7 @@ module Aws::ElasticLoadBalancingV2
214
214
  # @!attribute [rw] name
215
215
  # The name of the load balancer.
216
216
  #
217
- # This name must be unique within your AWS account, can have a maximum
217
+ # This name must be unique per region per account, can have a maximum
218
218
  # of 32 characters, must contain only alphanumeric characters or
219
219
  # hyphens, and must not begin or end with a hyphen.
220
220
  # @return [String]
@@ -304,11 +304,28 @@ module Aws::ElasticLoadBalancingV2
304
304
  # @return [String]
305
305
  #
306
306
  # @!attribute [rw] conditions
307
- # A condition. Each condition has the field `path-pattern` and
308
- # specifies one path pattern. A path pattern is case sensitive, can be
309
- # up to 128 characters in length, and can contain any of the following
307
+ # A condition. Each condition specifies a field name and a single
308
+ # value.
309
+ #
310
+ # If the field name is `host-header`, you can specify a single host
311
+ # name (for example, my.example.com). A host name is case insensitive,
312
+ # can be up to 128 characters in length, and can contain any of the
313
+ # following characters. Note that you can include up to three wildcard
314
+ # characters.
315
+ #
316
+ # * A-Z, a-z, 0-9
317
+ #
318
+ # * \- .
319
+ #
320
+ # * * (matches 0 or more characters)
321
+ #
322
+ # * ? (matches exactly 1 character)
323
+ #
324
+ # If the field name is `path-pattern`, you can specify a single path
325
+ # pattern. A path pattern is case sensitive, can be up to 128
326
+ # characters in length, and can contain any of the following
310
327
  # characters. Note that you can include up to three wildcard
311
- # characters in a path pattern.
328
+ # characters.
312
329
  #
313
330
  # * A-Z, a-z, 0-9
314
331
  #
@@ -374,6 +391,10 @@ module Aws::ElasticLoadBalancingV2
374
391
  #
375
392
  # @!attribute [rw] name
376
393
  # The name of the target group.
394
+ #
395
+ # This name must be unique per region per account, can have a maximum
396
+ # of 32 characters, must contain only alphanumeric characters or
397
+ # hyphens, and must not begin or end with a hyphen.
377
398
  # @return [String]
378
399
  #
379
400
  # @!attribute [rw] protocol
@@ -676,7 +697,8 @@ module Aws::ElasticLoadBalancingV2
676
697
  # }
677
698
  #
678
699
  # @!attribute [rw] load_balancer_arns
679
- # The Amazon Resource Names (ARN) of the load balancers.
700
+ # The Amazon Resource Names (ARN) of the load balancers. You can
701
+ # specify up to 20 load balancers in a single call.
680
702
  # @return [Array<String>]
681
703
  #
682
704
  # @!attribute [rw] names
@@ -1163,9 +1185,9 @@ module Aws::ElasticLoadBalancingV2
1163
1185
  # }
1164
1186
  #
1165
1187
  # @!attribute [rw] http_code
1166
- # The HTTP codes. The default value is 200. You can specify multiple
1167
- # values (for example, "200,202") or a range of values (for example,
1168
- # "200-299").
1188
+ # The HTTP codes. You can specify values between 200 and 499. The
1189
+ # default value is 200. You can specify multiple values (for example,
1190
+ # "200,202") or a range of values (for example, "200-299").
1169
1191
  # @return [String]
1170
1192
  #
1171
1193
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Matcher AWS API Documentation
@@ -1209,8 +1231,13 @@ module Aws::ElasticLoadBalancingV2
1209
1231
  # @return [String]
1210
1232
  #
1211
1233
  # @!attribute [rw] ssl_policy
1212
- # The security policy that defines which ciphers and protocols are
1213
- # supported.
1234
+ # The security policy that defines which protocols and ciphers are
1235
+ # supported. For more information, see [Security Policies][1] in the
1236
+ # *Application Load Balancers Guide*.
1237
+ #
1238
+ #
1239
+ #
1240
+ # [1]: http://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
1214
1241
  # @return [String]
1215
1242
  #
1216
1243
  # @!attribute [rw] certificates
@@ -1567,15 +1594,32 @@ module Aws::ElasticLoadBalancingV2
1567
1594
  # }
1568
1595
  #
1569
1596
  # @!attribute [rw] field
1570
- # The only possible value is `path-pattern`.
1597
+ # The name of the field. The possible values are `host-header` and
1598
+ # `path-pattern`.
1571
1599
  # @return [String]
1572
1600
  #
1573
1601
  # @!attribute [rw] values
1574
- # The path pattern. You can specify a single path pattern.
1602
+ # The condition value.
1603
+ #
1604
+ # If the field name is `host-header`, you can specify a single host
1605
+ # name (for example, my.example.com). A host name is case insensitive,
1606
+ # can be up to 128 characters in length, and can contain any of the
1607
+ # following characters. Note that you can include up to three wildcard
1608
+ # characters.
1609
+ #
1610
+ # * A-Z, a-z, 0-9
1611
+ #
1612
+ # * \- .
1613
+ #
1614
+ # * * (matches 0 or more characters)
1615
+ #
1616
+ # * ? (matches exactly 1 character)
1575
1617
  #
1576
- # A path pattern is case sensitive, can be up to 128 characters in
1577
- # length, and can contain any of the following characters. Note that
1578
- # you can include up to three wildcard characters in a path pattern.
1618
+ # If the field name is `path-pattern`, you can specify a single path
1619
+ # pattern (for example, /img/*). A path pattern is case sensitive,
1620
+ # can be up to 128 characters in length, and can contain any of the
1621
+ # following characters. Note that you can include up to three wildcard
1622
+ # characters.
1579
1623
  #
1580
1624
  # * A-Z, a-z, 0-9
1581
1625
  #
@@ -0,0 +1,147 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ require 'aws-sdk-core/waiters'
9
+
10
+ module Aws::ElasticLoadBalancingV2
11
+ module Waiters
12
+
13
+ class LoadBalancerAvailable
14
+
15
+ # @param [Hash] options
16
+ # @option options [required, Client] :client
17
+ # @option options [Integer] :max_attempts (40)
18
+ # @option options [Integer] :delay (15)
19
+ # @option options [Proc] :before_attempt
20
+ # @option options [Proc] :before_wait
21
+ def initialize(options)
22
+ @client = options.fetch(:client)
23
+ @waiter = Aws::Waiters::Waiter.new({
24
+ max_attempts: 40,
25
+ delay: 15,
26
+ poller: Aws::Waiters::Poller.new(
27
+ operation_name: :describe_load_balancers,
28
+ acceptors: [
29
+ {
30
+ "state" => "success",
31
+ "matcher" => "pathAll",
32
+ "argument" => "load_balancers[].state.code",
33
+ "expected" => "active"
34
+ },
35
+ {
36
+ "state" => "retry",
37
+ "matcher" => "pathAny",
38
+ "argument" => "load_balancers[].state.code",
39
+ "expected" => "provisioning"
40
+ },
41
+ {
42
+ "state" => "retry",
43
+ "matcher" => "error",
44
+ "expected" => "LoadBalancerNotFound"
45
+ }
46
+ ]
47
+ )
48
+ }.merge(options))
49
+ end
50
+
51
+ # @option (see Client#describe_load_balancers)
52
+ # @return (see Client#describe_load_balancers)
53
+ def wait(params = {})
54
+ @waiter.wait(client: @client, params: params)
55
+ end
56
+
57
+ # @api private
58
+ attr_reader :waiter
59
+
60
+ end
61
+
62
+ class LoadBalancerExists
63
+
64
+ # @param [Hash] options
65
+ # @option options [required, Client] :client
66
+ # @option options [Integer] :max_attempts (40)
67
+ # @option options [Integer] :delay (15)
68
+ # @option options [Proc] :before_attempt
69
+ # @option options [Proc] :before_wait
70
+ def initialize(options)
71
+ @client = options.fetch(:client)
72
+ @waiter = Aws::Waiters::Waiter.new({
73
+ max_attempts: 40,
74
+ delay: 15,
75
+ poller: Aws::Waiters::Poller.new(
76
+ operation_name: :describe_load_balancers,
77
+ acceptors: [
78
+ {
79
+ "matcher" => "status",
80
+ "expected" => 200,
81
+ "state" => "success"
82
+ },
83
+ {
84
+ "matcher" => "error",
85
+ "expected" => "LoadBalancerNotFound",
86
+ "state" => "retry"
87
+ }
88
+ ]
89
+ )
90
+ }.merge(options))
91
+ end
92
+
93
+ # @option (see Client#describe_load_balancers)
94
+ # @return (see Client#describe_load_balancers)
95
+ def wait(params = {})
96
+ @waiter.wait(client: @client, params: params)
97
+ end
98
+
99
+ # @api private
100
+ attr_reader :waiter
101
+
102
+ end
103
+
104
+ class LoadBalancersDeleted
105
+
106
+ # @param [Hash] options
107
+ # @option options [required, Client] :client
108
+ # @option options [Integer] :max_attempts (40)
109
+ # @option options [Integer] :delay (15)
110
+ # @option options [Proc] :before_attempt
111
+ # @option options [Proc] :before_wait
112
+ def initialize(options)
113
+ @client = options.fetch(:client)
114
+ @waiter = Aws::Waiters::Waiter.new({
115
+ max_attempts: 40,
116
+ delay: 15,
117
+ poller: Aws::Waiters::Poller.new(
118
+ operation_name: :describe_load_balancers,
119
+ acceptors: [
120
+ {
121
+ "state" => "retry",
122
+ "matcher" => "pathAll",
123
+ "argument" => "load_balancers[].state.code",
124
+ "expected" => "active"
125
+ },
126
+ {
127
+ "matcher" => "error",
128
+ "expected" => "LoadBalancerNotFound",
129
+ "state" => "success"
130
+ }
131
+ ]
132
+ )
133
+ }.merge(options))
134
+ end
135
+
136
+ # @option (see Client#describe_load_balancers)
137
+ # @return (see Client#describe_load_balancers)
138
+ def wait(params = {})
139
+ @waiter.wait(client: @client, params: params)
140
+ end
141
+
142
+ # @api private
143
+ attr_reader :waiter
144
+
145
+ end
146
+ end
147
+ 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.rc2
4
+ version: 1.0.0.rc3
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-03-07 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -53,6 +53,7 @@ files:
53
53
  - lib/aws-sdk-elasticloadbalancingv2/errors.rb
54
54
  - lib/aws-sdk-elasticloadbalancingv2/resource.rb
55
55
  - lib/aws-sdk-elasticloadbalancingv2/types.rb
56
+ - lib/aws-sdk-elasticloadbalancingv2/waiters.rb
56
57
  homepage: http://github.com/aws/aws-sdk-ruby
57
58
  licenses:
58
59
  - Apache-2.0