aws-sdk-ec2 1.88.0 → 1.89.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 +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +32 -32
- data/lib/aws-sdk-ec2/image.rb +2 -2
- data/lib/aws-sdk-ec2/instance.rb +8 -8
- data/lib/aws-sdk-ec2/resource.rb +1 -1
- data/lib/aws-sdk-ec2/snapshot.rb +2 -2
- data/lib/aws-sdk-ec2/subnet.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +22 -22
- data/lib/aws-sdk-ec2/vpc.rb +4 -4
- data/lib/aws-sdk-ec2/vpc_peering_connection.rb +2 -2
- metadata +2 -2
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -141,10 +141,10 @@ module Aws::EC2
|
|
141
141
|
# @option options [Proc] :before_attempt
|
142
142
|
# @option options [Proc] :before_wait
|
143
143
|
# @return [Vpc]
|
144
|
-
def wait_until_available(options = {})
|
144
|
+
def wait_until_available(options = {}, &block)
|
145
145
|
options, params = separate_params_and_options(options)
|
146
146
|
waiter = Waiters::VpcAvailable.new(options)
|
147
|
-
yield_waiter_and_warn(waiter, &
|
147
|
+
yield_waiter_and_warn(waiter, &block) if block_given?
|
148
148
|
waiter.wait(params.merge(vpc_ids: [@id]))
|
149
149
|
Vpc.new({
|
150
150
|
id: @id,
|
@@ -158,10 +158,10 @@ module Aws::EC2
|
|
158
158
|
# @option options [Proc] :before_attempt
|
159
159
|
# @option options [Proc] :before_wait
|
160
160
|
# @return [Vpc]
|
161
|
-
def wait_until_exists(options = {})
|
161
|
+
def wait_until_exists(options = {}, &block)
|
162
162
|
options, params = separate_params_and_options(options)
|
163
163
|
waiter = Waiters::VpcExists.new(options)
|
164
|
-
yield_waiter_and_warn(waiter, &
|
164
|
+
yield_waiter_and_warn(waiter, &block) if block_given?
|
165
165
|
waiter.wait(params.merge(vpc_ids: [@id]))
|
166
166
|
Vpc.new({
|
167
167
|
id: @id,
|
@@ -118,10 +118,10 @@ module Aws::EC2
|
|
118
118
|
# @option options [Proc] :before_attempt
|
119
119
|
# @option options [Proc] :before_wait
|
120
120
|
# @return [VpcPeeringConnection]
|
121
|
-
def wait_until_exists(options = {})
|
121
|
+
def wait_until_exists(options = {}, &block)
|
122
122
|
options, params = separate_params_and_options(options)
|
123
123
|
waiter = Waiters::VpcPeeringConnectionExists.new(options)
|
124
|
-
yield_waiter_and_warn(waiter, &
|
124
|
+
yield_waiter_and_warn(waiter, &block) if block_given?
|
125
125
|
resp = waiter.wait(params.merge(vpc_peering_connection_ids: [@id]))
|
126
126
|
VpcPeeringConnection.new({
|
127
127
|
id: @id,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.89.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: 2019-
|
11
|
+
date: 2019-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|