aws-sdk-ec2 1.245.0 → 1.249.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/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +1101 -246
- data/lib/aws-sdk-ec2/client_api.rb +321 -4
- data/lib/aws-sdk-ec2/dhcp_options.rb +2 -2
- data/lib/aws-sdk-ec2/image.rb +2 -2
- data/lib/aws-sdk-ec2/instance.rb +10 -9
- data/lib/aws-sdk-ec2/internet_gateway.rb +2 -2
- data/lib/aws-sdk-ec2/key_pair_info.rb +2 -2
- data/lib/aws-sdk-ec2/nat_gateway.rb +2 -2
- data/lib/aws-sdk-ec2/network_acl.rb +2 -2
- data/lib/aws-sdk-ec2/network_interface.rb +2 -2
- data/lib/aws-sdk-ec2/placement_group.rb +4 -4
- data/lib/aws-sdk-ec2/resource.rb +41 -38
- data/lib/aws-sdk-ec2/route_table.rb +2 -2
- data/lib/aws-sdk-ec2/security_group.rb +52 -18
- data/lib/aws-sdk-ec2/snapshot.rb +3 -3
- data/lib/aws-sdk-ec2/subnet.rb +18 -16
- data/lib/aws-sdk-ec2/tag.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +1502 -226
- data/lib/aws-sdk-ec2/volume.rb +3 -3
- data/lib/aws-sdk-ec2/vpc.rb +19 -18
- 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, instance-event-window, 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",
|
@@ -411,8 +411,8 @@ module Aws::EC2
|
|
411
411
|
# if its value is an empty string.
|
412
412
|
#
|
413
413
|
# If you omit this parameter, we delete all user-defined tags for the
|
414
|
-
# specified resources. We do not delete
|
415
|
-
# have the `aws:` prefix).
|
414
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
415
|
+
# tags (tags that have the `aws:` prefix).
|
416
416
|
# @return [Tag::Collection]
|
417
417
|
def delete_tags(options = {})
|
418
418
|
batch = []
|
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, instance-event-window, 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, instance-event-window, 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, instance-event-window, 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, instance-event-window, 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",
|
@@ -598,8 +598,8 @@ module Aws::EC2
|
|
598
598
|
# if its value is an empty string.
|
599
599
|
#
|
600
600
|
# If you omit this parameter, we delete all user-defined tags for the
|
601
|
-
# specified resources. We do not delete
|
602
|
-
# have the `aws:` prefix).
|
601
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
602
|
+
# tags (tags that have the `aws:` prefix).
|
603
603
|
# @return [Tag::Collection]
|
604
604
|
def delete_tags(options = {})
|
605
605
|
batch = []
|
@@ -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, instance-event-window, 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
|
@@ -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.
|
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.249.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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|