aws-sdk-ec2 1.12.0 → 1.13.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 +13 -1
- data/lib/aws-sdk-ec2/client_api.rb +3 -0
- data/lib/aws-sdk-ec2/resource.rb +8 -0
- data/lib/aws-sdk-ec2/types.rb +22 -8
- data/lib/aws-sdk-ec2/vpc.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bc748333b5757d2cebd37555229804a70aa28c1
|
4
|
+
data.tar.gz: 844eebe3b3ccbe0433b2f50f48163fb22c3118c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 669958ab27f1ec376aa57708b7f2010c467529bdc98f57238ef84b0b7714b579481731fa77a3f65261e1e38885278bf0cfc21ca2c02927d41435123da12b0151
|
7
|
+
data.tar.gz: 4437f46131e0995fafb6e37a7e5cd6747cbef0bc179dee5d1f826a6bb3380254fc009f67a4b45fd74deefdfd50cf85d87ba2b40b4948b508cd2641c332986219
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -11922,9 +11922,18 @@ module Aws::EC2
|
|
11922
11922
|
# If you have the required permissions, the error response is
|
11923
11923
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
11924
11924
|
#
|
11925
|
+
# @option params [String] :next_token
|
11926
|
+
# The token to request the next page of results.
|
11927
|
+
#
|
11928
|
+
# @option params [Integer] :max_results
|
11929
|
+
# The maximum number of results to return in a single call. To retrieve
|
11930
|
+
# the remaining results, make another request with the returned
|
11931
|
+
# `NextToken` value. This value can be between 5 and 1000.
|
11932
|
+
#
|
11925
11933
|
# @return [Types::DescribeSecurityGroupsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11926
11934
|
#
|
11927
11935
|
# * {Types::DescribeSecurityGroupsResult#security_groups #security_groups} => Array<Types::SecurityGroup>
|
11936
|
+
# * {Types::DescribeSecurityGroupsResult#next_token #next_token} => String
|
11928
11937
|
#
|
11929
11938
|
# @example Request syntax with placeholder values
|
11930
11939
|
#
|
@@ -11938,6 +11947,8 @@ module Aws::EC2
|
|
11938
11947
|
# group_ids: ["String"],
|
11939
11948
|
# group_names: ["String"],
|
11940
11949
|
# dry_run: false,
|
11950
|
+
# next_token: "String",
|
11951
|
+
# max_results: 1,
|
11941
11952
|
# })
|
11942
11953
|
#
|
11943
11954
|
# @example Response structure
|
@@ -11993,6 +12004,7 @@ module Aws::EC2
|
|
11993
12004
|
# resp.security_groups[0].tags[0].key #=> String
|
11994
12005
|
# resp.security_groups[0].tags[0].value #=> String
|
11995
12006
|
# resp.security_groups[0].vpc_id #=> String
|
12007
|
+
# resp.next_token #=> String
|
11996
12008
|
#
|
11997
12009
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroups AWS API Documentation
|
11998
12010
|
#
|
@@ -21550,7 +21562,7 @@ module Aws::EC2
|
|
21550
21562
|
params: params,
|
21551
21563
|
config: config)
|
21552
21564
|
context[:gem_name] = 'aws-sdk-ec2'
|
21553
|
-
context[:gem_version] = '1.
|
21565
|
+
context[:gem_version] = '1.13.0'
|
21554
21566
|
Seahorse::Client::Request.new(handlers, context)
|
21555
21567
|
end
|
21556
21568
|
|
@@ -2284,9 +2284,12 @@ module Aws::EC2
|
|
2284
2284
|
DescribeSecurityGroupsRequest.add_member(:group_ids, Shapes::ShapeRef.new(shape: GroupIdStringList, location_name: "GroupId"))
|
2285
2285
|
DescribeSecurityGroupsRequest.add_member(:group_names, Shapes::ShapeRef.new(shape: GroupNameStringList, location_name: "GroupName"))
|
2286
2286
|
DescribeSecurityGroupsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2287
|
+
DescribeSecurityGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
2288
|
+
DescribeSecurityGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
2287
2289
|
DescribeSecurityGroupsRequest.struct_class = Types::DescribeSecurityGroupsRequest
|
2288
2290
|
|
2289
2291
|
DescribeSecurityGroupsResult.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroupList, location_name: "securityGroupInfo"))
|
2292
|
+
DescribeSecurityGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
2290
2293
|
DescribeSecurityGroupsResult.struct_class = Types::DescribeSecurityGroupsResult
|
2291
2294
|
|
2292
2295
|
DescribeSnapshotAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: SnapshotAttributeName, required: true, location_name: "Attribute"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -2208,6 +2208,8 @@ module Aws::EC2
|
|
2208
2208
|
# group_ids: ["String"],
|
2209
2209
|
# group_names: ["String"],
|
2210
2210
|
# dry_run: false,
|
2211
|
+
# next_token: "String",
|
2212
|
+
# max_results: 1,
|
2211
2213
|
# })
|
2212
2214
|
# @param [Hash] options ({})
|
2213
2215
|
# @option options [Array<Types::Filter>] :filters
|
@@ -2273,6 +2275,12 @@ module Aws::EC2
|
|
2273
2275
|
# without actually making the request, and provides an error response.
|
2274
2276
|
# If you have the required permissions, the error response is
|
2275
2277
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2278
|
+
# @option options [String] :next_token
|
2279
|
+
# The token to request the next page of results.
|
2280
|
+
# @option options [Integer] :max_results
|
2281
|
+
# The maximum number of results to return in a single call. To retrieve
|
2282
|
+
# the remaining results, make another request with the returned
|
2283
|
+
# `NextToken` value. This value can be between 5 and 1000.
|
2276
2284
|
# @return [SecurityGroup::Collection]
|
2277
2285
|
def security_groups(options = {})
|
2278
2286
|
batches = Enumerator.new do |y|
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -9461,6 +9461,8 @@ module Aws::EC2
|
|
9461
9461
|
# group_ids: ["String"],
|
9462
9462
|
# group_names: ["String"],
|
9463
9463
|
# dry_run: false,
|
9464
|
+
# next_token: "String",
|
9465
|
+
# max_results: 1,
|
9464
9466
|
# }
|
9465
9467
|
#
|
9466
9468
|
# @!attribute [rw] filters
|
@@ -9535,13 +9537,25 @@ module Aws::EC2
|
|
9535
9537
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9536
9538
|
# @return [Boolean]
|
9537
9539
|
#
|
9540
|
+
# @!attribute [rw] next_token
|
9541
|
+
# The token to request the next page of results.
|
9542
|
+
# @return [String]
|
9543
|
+
#
|
9544
|
+
# @!attribute [rw] max_results
|
9545
|
+
# The maximum number of results to return in a single call. To
|
9546
|
+
# retrieve the remaining results, make another request with the
|
9547
|
+
# returned `NextToken` value. This value can be between 5 and 1000.
|
9548
|
+
# @return [Integer]
|
9549
|
+
#
|
9538
9550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupsRequest AWS API Documentation
|
9539
9551
|
#
|
9540
9552
|
class DescribeSecurityGroupsRequest < Struct.new(
|
9541
9553
|
:filters,
|
9542
9554
|
:group_ids,
|
9543
9555
|
:group_names,
|
9544
|
-
:dry_run
|
9556
|
+
:dry_run,
|
9557
|
+
:next_token,
|
9558
|
+
:max_results)
|
9545
9559
|
include Aws::Structure
|
9546
9560
|
end
|
9547
9561
|
|
@@ -9551,10 +9565,16 @@ module Aws::EC2
|
|
9551
9565
|
# Information about one or more security groups.
|
9552
9566
|
# @return [Array<Types::SecurityGroup>]
|
9553
9567
|
#
|
9568
|
+
# @!attribute [rw] next_token
|
9569
|
+
# The token to use to retrieve the next page of results. This value is
|
9570
|
+
# `null` when there are no more results to return.
|
9571
|
+
# @return [String]
|
9572
|
+
#
|
9554
9573
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupsResult AWS API Documentation
|
9555
9574
|
#
|
9556
9575
|
class DescribeSecurityGroupsResult < Struct.new(
|
9557
|
-
:security_groups
|
9576
|
+
:security_groups,
|
9577
|
+
:next_token)
|
9558
9578
|
include Aws::Structure
|
9559
9579
|
end
|
9560
9580
|
|
@@ -16216,9 +16236,6 @@ module Aws::EC2
|
|
16216
16236
|
#
|
16217
16237
|
# @!attribute [rw] block_device_mappings
|
16218
16238
|
# One or more block device mapping entries.
|
16219
|
-
#
|
16220
|
-
# Although you can specify encrypted EBS volumes in this block device
|
16221
|
-
# mapping for your Spot Instances, these volumes are not encrypted.
|
16222
16239
|
# @return [Array<Types::BlockDeviceMapping>]
|
16223
16240
|
#
|
16224
16241
|
# @!attribute [rw] ebs_optimized
|
@@ -20241,9 +20258,6 @@ module Aws::EC2
|
|
20241
20258
|
#
|
20242
20259
|
# @!attribute [rw] block_device_mappings
|
20243
20260
|
# One or more block device mapping entries.
|
20244
|
-
#
|
20245
|
-
# Although you can specify encrypted EBS volumes in this block device
|
20246
|
-
# mapping for your Spot Instances, these volumes are not encrypted.
|
20247
20261
|
# @return [Array<Types::BlockDeviceMapping>]
|
20248
20262
|
#
|
20249
20263
|
# @!attribute [rw] ebs_optimized
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1638,6 +1638,8 @@ module Aws::EC2
|
|
1638
1638
|
# group_ids: ["String"],
|
1639
1639
|
# group_names: ["String"],
|
1640
1640
|
# dry_run: false,
|
1641
|
+
# next_token: "String",
|
1642
|
+
# max_results: 1,
|
1641
1643
|
# })
|
1642
1644
|
# @param [Hash] options ({})
|
1643
1645
|
# @option options [Array<Types::Filter>] :filters
|
@@ -1703,6 +1705,12 @@ module Aws::EC2
|
|
1703
1705
|
# without actually making the request, and provides an error response.
|
1704
1706
|
# If you have the required permissions, the error response is
|
1705
1707
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1708
|
+
# @option options [String] :next_token
|
1709
|
+
# The token to request the next page of results.
|
1710
|
+
# @option options [Integer] :max_results
|
1711
|
+
# The maximum number of results to return in a single call. To retrieve
|
1712
|
+
# the remaining results, make another request with the returned
|
1713
|
+
# `NextToken` value. This value can be between 5 and 1000.
|
1706
1714
|
# @return [SecurityGroup::Collection]
|
1707
1715
|
def security_groups(options = {})
|
1708
1716
|
batches = Enumerator.new do |y|
|
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.13.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: 2017-10-
|
11
|
+
date: 2017-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|