aws-sdk-ec2 1.246.0 → 1.250.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 +1185 -349
- data/lib/aws-sdk-ec2/client_api.rb +317 -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 +5 -5
- 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/resource.rb +58 -48
- 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 +40 -37
- data/lib/aws-sdk-ec2/subnet.rb +4 -4
- data/lib/aws-sdk-ec2/tag.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +1475 -245
- data/lib/aws-sdk-ec2/volume.rb +15 -16
- data/lib/aws-sdk-ec2/vpc.rb +15 -14
- metadata +2 -2
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -59,9 +59,8 @@ module Aws::EC2
|
|
59
59
|
data[:encrypted]
|
60
60
|
end
|
61
61
|
|
62
|
-
# The Amazon Resource Name (ARN) of the
|
63
|
-
#
|
64
|
-
# encryption key for the volume.
|
62
|
+
# The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS
|
63
|
+
# key that was used to protect the volume encryption key for the volume.
|
65
64
|
# @return [String]
|
66
65
|
def kms_key_id
|
67
66
|
data[:kms_key_id]
|
@@ -296,7 +295,7 @@ module Aws::EC2
|
|
296
295
|
# outpost_arn: "String",
|
297
296
|
# tag_specifications: [
|
298
297
|
# {
|
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-
|
298
|
+
# 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
299
|
# tags: [
|
301
300
|
# {
|
302
301
|
# key: "String",
|
@@ -311,7 +310,7 @@ module Aws::EC2
|
|
311
310
|
# @option options [String] :description
|
312
311
|
# A description for the snapshot.
|
313
312
|
# @option options [String] :outpost_arn
|
314
|
-
# The Amazon Resource Name (ARN) of the
|
313
|
+
# The Amazon Resource Name (ARN) of the Outpost on which to create a
|
315
314
|
# local snapshot.
|
316
315
|
#
|
317
316
|
# * To create a snapshot of a volume in a Region, omit this parameter.
|
@@ -325,8 +324,8 @@ module Aws::EC2
|
|
325
324
|
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
326
325
|
# The snapshot must be created on the same Outpost as the volume.
|
327
326
|
#
|
328
|
-
# For more information, see [
|
329
|
-
#
|
327
|
+
# For more information, see [Create local snapshots from volumes on an
|
328
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
330
329
|
#
|
331
330
|
#
|
332
331
|
#
|
@@ -411,8 +410,8 @@ module Aws::EC2
|
|
411
410
|
# if its value is an empty string.
|
412
411
|
#
|
413
412
|
# 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).
|
413
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
414
|
+
# tags (tags that have the `aws:` prefix).
|
416
415
|
# @return [Tag::Collection]
|
417
416
|
def delete_tags(options = {})
|
418
417
|
batch = []
|
@@ -647,12 +646,12 @@ module Aws::EC2
|
|
647
646
|
# `false`)
|
648
647
|
#
|
649
648
|
# * `owner-alias` - The owner alias, from an Amazon-maintained list
|
650
|
-
# (`amazon`). This is not the user-configured
|
651
|
-
#
|
652
|
-
#
|
649
|
+
# (`amazon`). This is not the user-configured account alias set using
|
650
|
+
# the IAM console. We recommend that you use the related parameter
|
651
|
+
# instead of this filter.
|
653
652
|
#
|
654
|
-
# * `owner-id` - The
|
655
|
-
#
|
653
|
+
# * `owner-id` - The account ID of the owner. We recommend that you use
|
654
|
+
# the related parameter instead of this filter.
|
656
655
|
#
|
657
656
|
# * `progress` - The progress of the snapshot, as a percentage (for
|
658
657
|
# example, 80%).
|
@@ -679,9 +678,9 @@ module Aws::EC2
|
|
679
678
|
# * `volume-size` - The size of the volume, in GiB.
|
680
679
|
# @option options [Array<String>] :owner_ids
|
681
680
|
# Scopes the results to snapshots with the specified owners. You can
|
682
|
-
# specify a combination of
|
681
|
+
# specify a combination of account IDs, `self`, and `amazon`.
|
683
682
|
# @option options [Array<String>] :restorable_by_user_ids
|
684
|
-
# The IDs of the
|
683
|
+
# The IDs of the accounts that can create volumes from the snapshot.
|
685
684
|
# @option options [Array<String>] :snapshot_ids
|
686
685
|
# The snapshot IDs.
|
687
686
|
#
|
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-
|
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-
|
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-
|
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-
|
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-
|
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",
|
@@ -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.250.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-07-
|
11
|
+
date: 2021-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|