aws-sdk-ec2 1.45.0 → 1.46.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1170,9 +1170,6 @@ module Aws::EC2
1170
1170
  #
1171
1171
  # * `entry.cidr` - The IPv4 CIDR range specified in the entry.
1172
1172
  #
1173
- # * `entry.egress` - Indicates whether the entry applies to egress
1174
- # traffic.
1175
- #
1176
1173
  # * `entry.icmp.code` - The ICMP code specified in the entry, if any.
1177
1174
  #
1178
1175
  # * `entry.icmp.type` - The ICMP type specified in the entry, if any.
@@ -1192,7 +1189,7 @@ module Aws::EC2
1192
1189
  # \| `deny`).
1193
1190
  #
1194
1191
  # * `entry.rule-number` - The number of an entry (in other words, rule)
1195
- # in the ACL's set of entries.
1192
+ # in the set of ACL entries.
1196
1193
  #
1197
1194
  # * `network-acl-id` - The ID of the network ACL.
1198
1195
  #
@@ -1374,20 +1371,22 @@ module Aws::EC2
1374
1371
  # @return [NetworkInterface::Collection]
1375
1372
  def network_interfaces(options = {})
1376
1373
  batches = Enumerator.new do |y|
1377
- batch = []
1378
1374
  options = Aws::Util.deep_merge(options, filters: [{
1379
1375
  name: "vpc-id",
1380
1376
  values: [@id]
1381
1377
  }])
1382
1378
  resp = @client.describe_network_interfaces(options)
1383
- resp.data.network_interfaces.each do |n|
1384
- batch << NetworkInterface.new(
1385
- id: n.network_interface_id,
1386
- data: n,
1387
- client: @client
1388
- )
1379
+ resp.each_page do |page|
1380
+ batch = []
1381
+ page.data.network_interfaces.each do |n|
1382
+ batch << NetworkInterface.new(
1383
+ id: n.network_interface_id,
1384
+ data: n,
1385
+ client: @client
1386
+ )
1387
+ end
1388
+ y.yield(batch)
1389
1389
  end
1390
- y.yield(batch)
1391
1390
  end
1392
1391
  NetworkInterface::Collection.new(batches)
1393
1392
  end
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.45.0
4
+ version: 1.46.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: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4