aws-sdk-ec2 1.24.0 → 1.25.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 +58 -11
- data/lib/aws-sdk-ec2/instance.rb +14 -0
- data/lib/aws-sdk-ec2/resource.rb +31 -1
- data/lib/aws-sdk-ec2/subnet.rb +3 -1
- data/lib/aws-sdk-ec2/types.rb +51 -10
- 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: 385ecdae6c5618f1c5c453082b21123a4f56c4e1
|
4
|
+
data.tar.gz: 6fbdaadfa0143893dd944b97b625295ad5722b33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5846bcc77d4b51873d4012fff584f75088c9ed872da4a6de6252da112f55d5fec111fa12cdfbeac0473fbe52bf1cb53b11c4bca0202cbdcc057a7d86df6c83ba
|
7
|
+
data.tar.gz: 9a64c660c13a5d5b52eb6bc600a7c3a53e932461059ab87b4a34ec80ded7951b122afabcea6c6421e9cc60fc66d2eb99833f42952b666438dfb5508f2f4c4337
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -5526,7 +5526,8 @@ module Aws::EC2
|
|
5526
5526
|
#
|
5527
5527
|
# @option params [required, String] :service_name
|
5528
5528
|
# The service name. To get a list of available services, use the
|
5529
|
-
# DescribeVpcEndpointServices request
|
5529
|
+
# DescribeVpcEndpointServices request, or get the name from the service
|
5530
|
+
# provider.
|
5530
5531
|
#
|
5531
5532
|
# @option params [String] :policy_document
|
5532
5533
|
# (Gateway endpoint) A policy to attach to the endpoint that controls
|
@@ -5784,6 +5785,12 @@ module Aws::EC2
|
|
5784
5785
|
# different region to the requester VPC. The requester VPC and accepter
|
5785
5786
|
# VPC cannot have overlapping CIDR blocks.
|
5786
5787
|
#
|
5788
|
+
# <note markdown="1"> Limitations and rules apply to a VPC peering connection. For more
|
5789
|
+
# information, see the [limitations][1] section in the *VPC Peering
|
5790
|
+
# Guide*.
|
5791
|
+
#
|
5792
|
+
# </note>
|
5793
|
+
#
|
5787
5794
|
# The owner of the accepter VPC must accept the peering request to
|
5788
5795
|
# activate the peering connection. The VPC peering connection request
|
5789
5796
|
# expires after 7 days, after which it cannot be accepted or rejected.
|
@@ -5792,6 +5799,10 @@ module Aws::EC2
|
|
5792
5799
|
# overlapping CIDR blocks, the VPC peering connection has a status of
|
5793
5800
|
# `failed`.
|
5794
5801
|
#
|
5802
|
+
#
|
5803
|
+
#
|
5804
|
+
# [1]: http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/vpc-peering-basics.html#vpc-peering-limitations
|
5805
|
+
#
|
5795
5806
|
# @option params [Boolean] :dry_run
|
5796
5807
|
# Checks whether you have the required permissions for the action,
|
5797
5808
|
# without actually making the request, and provides an error response.
|
@@ -7616,6 +7627,20 @@ module Aws::EC2
|
|
7616
7627
|
#
|
7617
7628
|
# * `public-ip` - The Elastic IP address.
|
7618
7629
|
#
|
7630
|
+
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
7631
|
+
# to the resource. Specify the key of the tag in the filter name and
|
7632
|
+
# the value of the tag in the filter value. For example, for the tag
|
7633
|
+
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
7634
|
+
# filter value.
|
7635
|
+
#
|
7636
|
+
# * `tag-key` - The key of a tag assigned to the resource. This filter
|
7637
|
+
# is independent of the `tag-value` filter. For example, if you use
|
7638
|
+
# both the filter "tag-key=Purpose" and the filter "tag-value=X",
|
7639
|
+
# you get any resources assigned both the tag key Purpose (regardless
|
7640
|
+
# of what the tag's value is), and the tag value X (regardless of the
|
7641
|
+
# tag's key). If you want to list only resources where Purpose is X,
|
7642
|
+
# see the `tag`\:*key*=*value* filter.
|
7643
|
+
#
|
7619
7644
|
# @option params [Array<String>] :public_ips
|
7620
7645
|
# \[EC2-Classic\] One or more Elastic IP addresses.
|
7621
7646
|
#
|
@@ -10842,6 +10867,20 @@ module Aws::EC2
|
|
10842
10867
|
#
|
10843
10868
|
# * `launch-template-name` - The name of the launch template.
|
10844
10869
|
#
|
10870
|
+
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
10871
|
+
# to the resource. Specify the key of the tag in the filter name and
|
10872
|
+
# the value of the tag in the filter value. For example, for the tag
|
10873
|
+
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
10874
|
+
# filter value.
|
10875
|
+
#
|
10876
|
+
# * `tag-key` - The key of a tag assigned to the resource. This filter
|
10877
|
+
# is independent of the `tag-value` filter. For example, if you use
|
10878
|
+
# both the filter "tag-key=Purpose" and the filter "tag-value=X",
|
10879
|
+
# you get any resources assigned both the tag key Purpose (regardless
|
10880
|
+
# of what the tag's value is), and the tag value X (regardless of the
|
10881
|
+
# tag's key). If you want to list only resources where Purpose is X,
|
10882
|
+
# see the `tag`\:*key*=*value* filter.
|
10883
|
+
#
|
10845
10884
|
# @option params [String] :next_token
|
10846
10885
|
# The token to request the next page of results.
|
10847
10886
|
#
|
@@ -14789,11 +14828,13 @@ module Aws::EC2
|
|
14789
14828
|
# * `resource-id` - The resource ID.
|
14790
14829
|
#
|
14791
14830
|
# * `resource-type` - The resource type (`customer-gateway` \|
|
14792
|
-
# `dhcp-options` \| `
|
14793
|
-
# `
|
14794
|
-
# `
|
14795
|
-
# `
|
14796
|
-
# `
|
14831
|
+
# `dhcp-options` \| `elastic-ip` \| `fpga-image` \| `image` \|
|
14832
|
+
# `instance` \| `internet-gateway` \| `launch-template` \|
|
14833
|
+
# `natgateway` \| `network-acl` \| `network-interface` \|
|
14834
|
+
# `reserved-instances` \| `route-table` \| `security-group` \|
|
14835
|
+
# `snapshot` \| `spot-instances-request` \| `subnet` \| `volume` \|
|
14836
|
+
# `vpc` \| `vpc-peering-connection` \| `vpn-connection` \|
|
14837
|
+
# `vpn-gateway`).
|
14797
14838
|
#
|
14798
14839
|
# * `value` - The tag value.
|
14799
14840
|
#
|
@@ -19884,9 +19925,13 @@ module Aws::EC2
|
|
19884
19925
|
req.send_request(options)
|
19885
19926
|
end
|
19886
19927
|
|
19887
|
-
# Modifies the permissions for your VPC endpoint service. You can
|
19888
|
-
# remove permissions for service consumers (IAM users, IAM roles,
|
19889
|
-
# AWS accounts) to
|
19928
|
+
# Modifies the permissions for your [VPC endpoint service][1]. You can
|
19929
|
+
# add or remove permissions for service consumers (IAM users, IAM roles,
|
19930
|
+
# and AWS accounts) to connect to your endpoint service.
|
19931
|
+
#
|
19932
|
+
#
|
19933
|
+
#
|
19934
|
+
# [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/endpoint-service.html
|
19890
19935
|
#
|
19891
19936
|
# @option params [Boolean] :dry_run
|
19892
19937
|
# Checks whether you have the required permissions for the action,
|
@@ -22544,7 +22589,9 @@ module Aws::EC2
|
|
22544
22589
|
# volume encryption status.
|
22545
22590
|
#
|
22546
22591
|
# @option params [String] :image_id
|
22547
|
-
# The ID of the AMI, which you can get by calling DescribeImages.
|
22592
|
+
# The ID of the AMI, which you can get by calling DescribeImages. An AMI
|
22593
|
+
# is required to launch an instance and must be specified here or in a
|
22594
|
+
# launch template.
|
22548
22595
|
#
|
22549
22596
|
# @option params [String] :instance_type
|
22550
22597
|
# The instance type. For more information, see [Instance Types][1] in
|
@@ -23735,7 +23782,7 @@ module Aws::EC2
|
|
23735
23782
|
params: params,
|
23736
23783
|
config: config)
|
23737
23784
|
context[:gem_name] = 'aws-sdk-ec2'
|
23738
|
-
context[:gem_version] = '1.
|
23785
|
+
context[:gem_version] = '1.25.0'
|
23739
23786
|
Seahorse::Client::Request.new(handlers, context)
|
23740
23787
|
end
|
23741
23788
|
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1384,6 +1384,20 @@ module Aws::EC2
|
|
1384
1384
|
# with the Elastic IP address.
|
1385
1385
|
#
|
1386
1386
|
# * `public-ip` - The Elastic IP address.
|
1387
|
+
#
|
1388
|
+
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
1389
|
+
# to the resource. Specify the key of the tag in the filter name and
|
1390
|
+
# the value of the tag in the filter value. For example, for the tag
|
1391
|
+
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1392
|
+
# filter value.
|
1393
|
+
#
|
1394
|
+
# * `tag-key` - The key of a tag assigned to the resource. This filter
|
1395
|
+
# is independent of the `tag-value` filter. For example, if you use
|
1396
|
+
# both the filter "tag-key=Purpose" and the filter "tag-value=X",
|
1397
|
+
# you get any resources assigned both the tag key Purpose (regardless
|
1398
|
+
# of what the tag's value is), and the tag value X (regardless of the
|
1399
|
+
# tag's key). If you want to list only resources where Purpose is X,
|
1400
|
+
# see the `tag`\:*key*=*value* filter.
|
1387
1401
|
# @option options [Array<String>] :public_ips
|
1388
1402
|
# \[EC2-Classic\] One or more Elastic IP addresses.
|
1389
1403
|
#
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -176,7 +176,9 @@ module Aws::EC2
|
|
176
176
|
# volume, it is not blank and its encryption status is used for the
|
177
177
|
# volume encryption status.
|
178
178
|
# @option options [String] :image_id
|
179
|
-
# The ID of the AMI, which you can get by calling DescribeImages.
|
179
|
+
# The ID of the AMI, which you can get by calling DescribeImages. An AMI
|
180
|
+
# is required to launch an instance and must be specified here or in a
|
181
|
+
# launch template.
|
180
182
|
# @option options [String] :instance_type
|
181
183
|
# The instance type. For more information, see [Instance Types][1] in
|
182
184
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
@@ -1065,6 +1067,20 @@ module Aws::EC2
|
|
1065
1067
|
# with the Elastic IP address.
|
1066
1068
|
#
|
1067
1069
|
# * `public-ip` - The Elastic IP address.
|
1070
|
+
#
|
1071
|
+
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
1072
|
+
# to the resource. Specify the key of the tag in the filter name and
|
1073
|
+
# the value of the tag in the filter value. For example, for the tag
|
1074
|
+
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
1075
|
+
# filter value.
|
1076
|
+
#
|
1077
|
+
# * `tag-key` - The key of a tag assigned to the resource. This filter
|
1078
|
+
# is independent of the `tag-value` filter. For example, if you use
|
1079
|
+
# both the filter "tag-key=Purpose" and the filter "tag-value=X",
|
1080
|
+
# you get any resources assigned both the tag key Purpose (regardless
|
1081
|
+
# of what the tag's value is), and the tag value X (regardless of the
|
1082
|
+
# tag's key). If you want to list only resources where Purpose is X,
|
1083
|
+
# see the `tag`\:*key*=*value* filter.
|
1068
1084
|
# @option options [Array<String>] :public_ips
|
1069
1085
|
# \[EC2-Classic\] One or more Elastic IP addresses.
|
1070
1086
|
#
|
@@ -2715,6 +2731,20 @@ module Aws::EC2
|
|
2715
2731
|
# with the Elastic IP address.
|
2716
2732
|
#
|
2717
2733
|
# * `public-ip` - The Elastic IP address.
|
2734
|
+
#
|
2735
|
+
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
2736
|
+
# to the resource. Specify the key of the tag in the filter name and
|
2737
|
+
# the value of the tag in the filter value. For example, for the tag
|
2738
|
+
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for the
|
2739
|
+
# filter value.
|
2740
|
+
#
|
2741
|
+
# * `tag-key` - The key of a tag assigned to the resource. This filter
|
2742
|
+
# is independent of the `tag-value` filter. For example, if you use
|
2743
|
+
# both the filter "tag-key=Purpose" and the filter "tag-value=X",
|
2744
|
+
# you get any resources assigned both the tag key Purpose (regardless
|
2745
|
+
# of what the tag's value is), and the tag value X (regardless of the
|
2746
|
+
# tag's key). If you want to list only resources where Purpose is X,
|
2747
|
+
# see the `tag`\:*key*=*value* filter.
|
2718
2748
|
# @option options [Array<String>] :public_ips
|
2719
2749
|
# \[EC2-Classic\] One or more Elastic IP addresses.
|
2720
2750
|
#
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -354,7 +354,9 @@ module Aws::EC2
|
|
354
354
|
# volume, it is not blank and its encryption status is used for the
|
355
355
|
# volume encryption status.
|
356
356
|
# @option options [String] :image_id
|
357
|
-
# The ID of the AMI, which you can get by calling DescribeImages.
|
357
|
+
# The ID of the AMI, which you can get by calling DescribeImages. An AMI
|
358
|
+
# is required to launch an instance and must be specified here or in a
|
359
|
+
# launch template.
|
358
360
|
# @option options [String] :instance_type
|
359
361
|
# The instance type. For more information, see [Instance Types][1] in
|
360
362
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -4701,7 +4701,8 @@ module Aws::EC2
|
|
4701
4701
|
#
|
4702
4702
|
# @!attribute [rw] service_name
|
4703
4703
|
# The service name. To get a list of available services, use the
|
4704
|
-
# DescribeVpcEndpointServices request
|
4704
|
+
# DescribeVpcEndpointServices request, or get the name from the
|
4705
|
+
# service provider.
|
4705
4706
|
# @return [String]
|
4706
4707
|
#
|
4707
4708
|
# @!attribute [rw] policy_document
|
@@ -6461,6 +6462,20 @@ module Aws::EC2
|
|
6461
6462
|
# associated with the Elastic IP address.
|
6462
6463
|
#
|
6463
6464
|
# * `public-ip` - The Elastic IP address.
|
6465
|
+
#
|
6466
|
+
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
6467
|
+
# to the resource. Specify the key of the tag in the filter name and
|
6468
|
+
# the value of the tag in the filter value. For example, for the tag
|
6469
|
+
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
6470
|
+
# the filter value.
|
6471
|
+
#
|
6472
|
+
# * `tag-key` - The key of a tag assigned to the resource. This filter
|
6473
|
+
# is independent of the `tag-value` filter. For example, if you use
|
6474
|
+
# both the filter "tag-key=Purpose" and the filter
|
6475
|
+
# "tag-value=X", you get any resources assigned both the tag key
|
6476
|
+
# Purpose (regardless of what the tag's value is), and the tag
|
6477
|
+
# value X (regardless of the tag's key). If you want to list only
|
6478
|
+
# resources where Purpose is X, see the `tag`\:*key*=*value* filter.
|
6464
6479
|
# @return [Array<Types::Filter>]
|
6465
6480
|
#
|
6466
6481
|
# @!attribute [rw] public_ips
|
@@ -9000,6 +9015,20 @@ module Aws::EC2
|
|
9000
9015
|
# * `create-time` - The time the launch template was created.
|
9001
9016
|
#
|
9002
9017
|
# * `launch-template-name` - The name of the launch template.
|
9018
|
+
#
|
9019
|
+
# * `tag`\:*key*=*value* - The key/value combination of a tag assigned
|
9020
|
+
# to the resource. Specify the key of the tag in the filter name and
|
9021
|
+
# the value of the tag in the filter value. For example, for the tag
|
9022
|
+
# Purpose=X, specify `tag:Purpose` for the filter name and `X` for
|
9023
|
+
# the filter value.
|
9024
|
+
#
|
9025
|
+
# * `tag-key` - The key of a tag assigned to the resource. This filter
|
9026
|
+
# is independent of the `tag-value` filter. For example, if you use
|
9027
|
+
# both the filter "tag-key=Purpose" and the filter
|
9028
|
+
# "tag-value=X", you get any resources assigned both the tag key
|
9029
|
+
# Purpose (regardless of what the tag's value is), and the tag
|
9030
|
+
# value X (regardless of the tag's key). If you want to list only
|
9031
|
+
# resources where Purpose is X, see the `tag`\:*key*=*value* filter.
|
9003
9032
|
# @return [Array<Types::Filter>]
|
9004
9033
|
#
|
9005
9034
|
# @!attribute [rw] next_token
|
@@ -11838,11 +11867,13 @@ module Aws::EC2
|
|
11838
11867
|
# * `resource-id` - The resource ID.
|
11839
11868
|
#
|
11840
11869
|
# * `resource-type` - The resource type (`customer-gateway` \|
|
11841
|
-
# `dhcp-options` \| `
|
11842
|
-
# `
|
11843
|
-
# `
|
11844
|
-
# `
|
11845
|
-
# `
|
11870
|
+
# `dhcp-options` \| `elastic-ip` \| `fpga-image` \| `image` \|
|
11871
|
+
# `instance` \| `internet-gateway` \| `launch-template` \|
|
11872
|
+
# `natgateway` \| `network-acl` \| `network-interface` \|
|
11873
|
+
# `reserved-instances` \| `route-table` \| `security-group` \|
|
11874
|
+
# `snapshot` \| `spot-instances-request` \| `subnet` \| `volume` \|
|
11875
|
+
# `vpc` \| `vpc-peering-connection` \| `vpn-connection` \|
|
11876
|
+
# `vpn-gateway`).
|
11846
11877
|
#
|
11847
11878
|
# * `value` - The tag value.
|
11848
11879
|
# @return [Array<Types::Filter>]
|
@@ -17779,7 +17810,9 @@ module Aws::EC2
|
|
17779
17810
|
# egress-only Internet gateway.
|
17780
17811
|
#
|
17781
17812
|
# @!attribute [rw] state
|
17782
|
-
# The current state of the attachment.
|
17813
|
+
# The current state of the attachment. For an Internet gateway, the
|
17814
|
+
# state is `available` when attached to a VPC; otherwise, this value
|
17815
|
+
# is not returned.
|
17783
17816
|
# @return [String]
|
17784
17817
|
#
|
17785
17818
|
# @!attribute [rw] vpc_id
|
@@ -25303,7 +25336,9 @@ module Aws::EC2
|
|
25303
25336
|
# @return [Array<Types::BlockDeviceMapping>]
|
25304
25337
|
#
|
25305
25338
|
# @!attribute [rw] image_id
|
25306
|
-
# The ID of the AMI, which you can get by calling DescribeImages.
|
25339
|
+
# The ID of the AMI, which you can get by calling DescribeImages. An
|
25340
|
+
# AMI is required to launch an instance and must be specified here or
|
25341
|
+
# in a launch template.
|
25307
25342
|
# @return [String]
|
25308
25343
|
#
|
25309
25344
|
# @!attribute [rw] instance_type
|
@@ -29092,6 +29127,9 @@ module Aws::EC2
|
|
29092
29127
|
# The name of the security group. In a request, use this parameter for
|
29093
29128
|
# a security group in EC2-Classic or a default VPC only. For a
|
29094
29129
|
# security group in a nondefault VPC, use the security group ID.
|
29130
|
+
#
|
29131
|
+
# For a referenced security group in another VPC, this value is not
|
29132
|
+
# returned if the referenced security group is deleted.
|
29095
29133
|
# @return [String]
|
29096
29134
|
#
|
29097
29135
|
# @!attribute [rw] peering_status
|
@@ -29099,8 +29137,11 @@ module Aws::EC2
|
|
29099
29137
|
# @return [String]
|
29100
29138
|
#
|
29101
29139
|
# @!attribute [rw] user_id
|
29102
|
-
# The ID of an AWS account.
|
29103
|
-
#
|
29140
|
+
# The ID of an AWS account.
|
29141
|
+
#
|
29142
|
+
# For a referenced security group in another VPC, the account ID of
|
29143
|
+
# the referenced security group is returned in the response. If the
|
29144
|
+
# referenced security group is deleted, this value is not returned.
|
29104
29145
|
#
|
29105
29146
|
# \[EC2-Classic\] Required when adding or removing rules that
|
29106
29147
|
# reference a security group in another AWS account.
|
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.25.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:
|
11
|
+
date: 2018-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|