aws-sdk-ec2 1.243.0 → 1.248.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +794 -294
- data/lib/aws-sdk-ec2/client_api.rb +211 -4
- data/lib/aws-sdk-ec2/instance.rb +9 -7
- data/lib/aws-sdk-ec2/key_pair_info.rb +2 -2
- data/lib/aws-sdk-ec2/network_interface.rb +5 -4
- data/lib/aws-sdk-ec2/placement_group.rb +4 -4
- data/lib/aws-sdk-ec2/resource.rb +54 -45
- data/lib/aws-sdk-ec2/security_group.rb +50 -16
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +25 -19
- data/lib/aws-sdk-ec2/types.rb +1113 -238
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +21 -20
- data/lib/aws-sdk-ec2/vpc_address.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -296,7 +296,7 @@ module Aws::EC2
|
|
296
296
|
# outpost_arn: "String",
|
297
297
|
# tag_specifications: [
|
298
298
|
# {
|
299
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
299
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
300
300
|
# tags: [
|
301
301
|
# {
|
302
302
|
# key: "String",
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -346,7 +346,7 @@ module Aws::EC2
|
|
346
346
|
# dry_run: false,
|
347
347
|
# tag_specifications: [
|
348
348
|
# {
|
349
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
349
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
350
350
|
# tags: [
|
351
351
|
# {
|
352
352
|
# key: "String",
|
@@ -381,7 +381,7 @@ module Aws::EC2
|
|
381
381
|
# dry_run: false,
|
382
382
|
# tag_specifications: [
|
383
383
|
# {
|
384
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
384
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
385
385
|
# tags: [
|
386
386
|
# {
|
387
387
|
# key: "String",
|
@@ -417,7 +417,7 @@ module Aws::EC2
|
|
417
417
|
# group_name: "String", # required
|
418
418
|
# tag_specifications: [
|
419
419
|
# {
|
420
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
420
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
421
421
|
# tags: [
|
422
422
|
# {
|
423
423
|
# key: "String",
|
@@ -469,7 +469,7 @@ module Aws::EC2
|
|
469
469
|
# subnet = vpc.create_subnet({
|
470
470
|
# tag_specifications: [
|
471
471
|
# {
|
472
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
472
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
473
473
|
# tags: [
|
474
474
|
# {
|
475
475
|
# key: "String",
|
@@ -778,7 +778,7 @@ module Aws::EC2
|
|
778
778
|
# peer_region: "String",
|
779
779
|
# tag_specifications: [
|
780
780
|
# {
|
781
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
781
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
782
782
|
# tags: [
|
783
783
|
# {
|
784
784
|
# key: "String",
|
@@ -1111,7 +1111,7 @@ module Aws::EC2
|
|
1111
1111
|
# interface.
|
1112
1112
|
#
|
1113
1113
|
# * `network-interface.requester-managed` - Indicates whether the
|
1114
|
-
# network interface is being managed by
|
1114
|
+
# network interface is being managed by Amazon Web Services.
|
1115
1115
|
#
|
1116
1116
|
# * `network-interface.status` - The status of the network interface
|
1117
1117
|
# (`available`) \| `in-use`).
|
@@ -1130,7 +1130,7 @@ module Aws::EC2
|
|
1130
1130
|
#
|
1131
1131
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1132
1132
|
#
|
1133
|
-
# * `owner-id` - The
|
1133
|
+
# * `owner-id` - The account ID of the instance owner.
|
1134
1134
|
#
|
1135
1135
|
# * `placement-group-name` - The name of the placement group for the
|
1136
1136
|
# instance.
|
@@ -1158,8 +1158,8 @@ module Aws::EC2
|
|
1158
1158
|
# terminate the instance). Similar to the state-reason-code filter.
|
1159
1159
|
#
|
1160
1160
|
# * `requester-id` - The ID of the entity that launched the instance on
|
1161
|
-
# your behalf (for example,
|
1162
|
-
#
|
1161
|
+
# your behalf (for example, Management Console, Auto Scaling, and so
|
1162
|
+
# on).
|
1163
1163
|
#
|
1164
1164
|
# * `reservation-id` - The ID of the instance's reservation. A
|
1165
1165
|
# reservation ID is created any time you launch an instance. A
|
@@ -1489,7 +1489,7 @@ module Aws::EC2
|
|
1489
1489
|
#
|
1490
1490
|
# * `network-interface-id` - The ID of the network interface.
|
1491
1491
|
#
|
1492
|
-
# * `owner-id` - The
|
1492
|
+
# * `owner-id` - The account ID of the network interface owner.
|
1493
1493
|
#
|
1494
1494
|
# * `private-ip-address` - The private IPv4 address or addresses of the
|
1495
1495
|
# network interface.
|
@@ -1497,11 +1497,11 @@ module Aws::EC2
|
|
1497
1497
|
# * `private-dns-name` - The private DNS name of the network interface
|
1498
1498
|
# (IPv4).
|
1499
1499
|
#
|
1500
|
-
# * `requester-id` - The alias or
|
1501
|
-
#
|
1500
|
+
# * `requester-id` - The alias or account ID of the principal or service
|
1501
|
+
# that created the network interface.
|
1502
1502
|
#
|
1503
1503
|
# * `requester-managed` - Indicates whether the network interface is
|
1504
|
-
# being managed by an
|
1504
|
+
# being managed by an Amazon Web Service (for example, Management
|
1505
1505
|
# Console, Auto Scaling, and so on).
|
1506
1506
|
#
|
1507
1507
|
# * `source-dest-check` - Indicates whether the network interface
|
@@ -1805,8 +1805,8 @@ module Aws::EC2
|
|
1805
1805
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
1806
1806
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
1807
1807
|
#
|
1808
|
-
# * `egress.ip-permission.user-id` - The ID of an
|
1809
|
-
# been referenced in an outbound security group rule.
|
1808
|
+
# * `egress.ip-permission.user-id` - The ID of an Amazon Web Services
|
1809
|
+
# account that has been referenced in an outbound security group rule.
|
1810
1810
|
#
|
1811
1811
|
# * `group-id` - The ID of the security group.
|
1812
1812
|
#
|
@@ -1837,10 +1837,11 @@ module Aws::EC2
|
|
1837
1837
|
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
1838
1838
|
# for the TCP and UDP protocols, or an ICMP code.
|
1839
1839
|
#
|
1840
|
-
# * `ip-permission.user-id` - The ID of an
|
1841
|
-
# referenced in an inbound security group rule.
|
1840
|
+
# * `ip-permission.user-id` - The ID of an Amazon Web Services account
|
1841
|
+
# that has been referenced in an inbound security group rule.
|
1842
1842
|
#
|
1843
|
-
# * `owner-id` - The
|
1843
|
+
# * `owner-id` - The Amazon Web Services account ID of the owner of the
|
1844
|
+
# security group.
|
1844
1845
|
#
|
1845
1846
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1846
1847
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -1858,14 +1859,14 @@ module Aws::EC2
|
|
1858
1859
|
# The IDs of the security groups. Required for security groups in a
|
1859
1860
|
# nondefault VPC.
|
1860
1861
|
#
|
1861
|
-
# Default: Describes all your security groups.
|
1862
|
+
# Default: Describes all of your security groups.
|
1862
1863
|
# @option options [Array<String>] :group_names
|
1863
1864
|
# \[EC2-Classic and default VPC only\] The names of the security groups.
|
1864
1865
|
# You can specify either the security group name or the security group
|
1865
1866
|
# ID. For security groups in a nondefault VPC, use the `group-name`
|
1866
1867
|
# filter to describe security groups by name.
|
1867
1868
|
#
|
1868
|
-
# Default: Describes all your security groups.
|
1869
|
+
# Default: Describes all of your security groups.
|
1869
1870
|
# @option options [Boolean] :dry_run
|
1870
1871
|
# Checks whether you have the required permissions for the action,
|
1871
1872
|
# without actually making the request, and provides an error response.
|
@@ -66,7 +66,7 @@ module Aws::EC2
|
|
66
66
|
data[:network_interface_id]
|
67
67
|
end
|
68
68
|
|
69
|
-
# The ID of the
|
69
|
+
# The ID of the account that owns the network interface.
|
70
70
|
# @return [String]
|
71
71
|
def network_interface_owner_id
|
72
72
|
data[:network_interface_owner_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.248.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: 2021-
|
11
|
+
date: 2021-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|