aws-sdk-ec2 1.1.0 → 1.2.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 +24 -1
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +24 -1
- 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: 107a048869cc609b6c771635698923267156aaaa
|
4
|
+
data.tar.gz: 9db33365d10e8f760e7da1dc07a5c47867e2696b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4031d9d9b5b18465d6c11af6f88262a6ebc8faf686b470be002d6d16d3a40c41a54cbe75b0975d8dd1d0dcf526a3f86b4f1dfe271b1a03cd602b8b113ea24fa
|
7
|
+
data.tar.gz: 45b211e5e02d7d2c51ae6b5d7bca6bf9baae96d9fe4b418d9b4ed4f8bceb10447e999511ff2055724f6baf3a2b18d2ad53dd5bdcd379c1a93c80250a0c0ddc7c
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3248,6 +3248,9 @@ module Aws::EC2
|
|
3248
3248
|
# resp.nat_gateway.state #=> String, one of "pending", "failed", "available", "deleting", "deleted"
|
3249
3249
|
# resp.nat_gateway.subnet_id #=> String
|
3250
3250
|
# resp.nat_gateway.vpc_id #=> String
|
3251
|
+
# resp.nat_gateway.tags #=> Array
|
3252
|
+
# resp.nat_gateway.tags[0].key #=> String
|
3253
|
+
# resp.nat_gateway.tags[0].value #=> String
|
3251
3254
|
#
|
3252
3255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGateway AWS API Documentation
|
3253
3256
|
#
|
@@ -9581,6 +9584,23 @@ module Aws::EC2
|
|
9581
9584
|
#
|
9582
9585
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
9583
9586
|
#
|
9587
|
+
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
9588
|
+
# to the resource. Specify the key of the tag in the filter name and
|
9589
|
+
# the value of the tag in the filter value. For example, for the tag
|
9590
|
+
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
9591
|
+
# filter value.
|
9592
|
+
#
|
9593
|
+
# * `tag-key` - The key of a tag assigned to the resource. This filter
|
9594
|
+
# is independent of the `tag-value` filter. For example, if you use
|
9595
|
+
# both the filter "tag-key=Purpose" and the filter "tag-value=X",
|
9596
|
+
# you get any resources assigned both the tag key Purpose (regardless
|
9597
|
+
# of what the tag's value is), and the tag value X (regardless of
|
9598
|
+
# what the tag's key is). If you want to list only resources where
|
9599
|
+
# Purpose is X, see the `tag`\:*key*=*value* filter.
|
9600
|
+
#
|
9601
|
+
# * `tag-value` - The value of a tag assigned to the resource. This
|
9602
|
+
# filter is independent of the `tag-key` filter.
|
9603
|
+
#
|
9584
9604
|
# * `vpc-id` - The ID of the VPC in which the NAT gateway resides.
|
9585
9605
|
#
|
9586
9606
|
# @option params [Integer] :max_results
|
@@ -9674,6 +9694,9 @@ module Aws::EC2
|
|
9674
9694
|
# resp.nat_gateways[0].state #=> String, one of "pending", "failed", "available", "deleting", "deleted"
|
9675
9695
|
# resp.nat_gateways[0].subnet_id #=> String
|
9676
9696
|
# resp.nat_gateways[0].vpc_id #=> String
|
9697
|
+
# resp.nat_gateways[0].tags #=> Array
|
9698
|
+
# resp.nat_gateways[0].tags[0].key #=> String
|
9699
|
+
# resp.nat_gateways[0].tags[0].value #=> String
|
9677
9700
|
# resp.next_token #=> String
|
9678
9701
|
#
|
9679
9702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGateways AWS API Documentation
|
@@ -21133,7 +21156,7 @@ module Aws::EC2
|
|
21133
21156
|
params: params,
|
21134
21157
|
config: config)
|
21135
21158
|
context[:gem_name] = 'aws-sdk-ec2'
|
21136
|
-
context[:gem_version] = '1.
|
21159
|
+
context[:gem_version] = '1.2.0'
|
21137
21160
|
Seahorse::Client::Request.new(handlers, context)
|
21138
21161
|
end
|
21139
21162
|
|
@@ -3530,6 +3530,7 @@ module Aws::EC2
|
|
3530
3530
|
NatGateway.add_member(:state, Shapes::ShapeRef.new(shape: NatGatewayState, location_name: "state"))
|
3531
3531
|
NatGateway.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
3532
3532
|
NatGateway.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
3533
|
+
NatGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
3533
3534
|
NatGateway.struct_class = Types::NatGateway
|
3534
3535
|
|
3535
3536
|
NatGatewayAddress.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -7728,6 +7728,24 @@ module Aws::EC2
|
|
7728
7728
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway
|
7729
7729
|
# resides.
|
7730
7730
|
#
|
7731
|
+
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
7732
|
+
# to the resource. Specify the key of the tag in the filter name and
|
7733
|
+
# the value of the tag in the filter value. For example, for the tag
|
7734
|
+
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
7735
|
+
# the filter value.
|
7736
|
+
#
|
7737
|
+
# * `tag-key` - The key of a tag assigned to the resource. This filter
|
7738
|
+
# is independent of the `tag-value` filter. For example, if you use
|
7739
|
+
# both the filter "tag-key=Purpose" and the filter
|
7740
|
+
# "tag-value=X", you get any resources assigned both the tag key
|
7741
|
+
# Purpose (regardless of what the tag's value is), and the tag
|
7742
|
+
# value X (regardless of what the tag's key is). If you want to
|
7743
|
+
# list only resources where Purpose is X, see the
|
7744
|
+
# `tag`\:*key*=*value* filter.
|
7745
|
+
#
|
7746
|
+
# * `tag-value` - The value of a tag assigned to the resource. This
|
7747
|
+
# filter is independent of the `tag-key` filter.
|
7748
|
+
#
|
7731
7749
|
# * `vpc-id` - The ID of the VPC in which the NAT gateway resides.
|
7732
7750
|
# @return [Array<Types::Filter>]
|
7733
7751
|
#
|
@@ -17348,6 +17366,10 @@ module Aws::EC2
|
|
17348
17366
|
# The ID of the VPC in which the NAT gateway is located.
|
17349
17367
|
# @return [String]
|
17350
17368
|
#
|
17369
|
+
# @!attribute [rw] tags
|
17370
|
+
# The tags for the NAT gateway.
|
17371
|
+
# @return [Array<Types::Tag>]
|
17372
|
+
#
|
17351
17373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatGateway AWS API Documentation
|
17352
17374
|
#
|
17353
17375
|
class NatGateway < Struct.new(
|
@@ -17360,7 +17382,8 @@ module Aws::EC2
|
|
17360
17382
|
:provisioned_bandwidth,
|
17361
17383
|
:state,
|
17362
17384
|
:subnet_id,
|
17363
|
-
:vpc_id
|
17385
|
+
:vpc_id,
|
17386
|
+
:tags)
|
17364
17387
|
include Aws::Structure
|
17365
17388
|
end
|
17366
17389
|
|
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.2.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-
|
11
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|