aws-sdk-ec2 1.239.0 → 1.249.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 +50 -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 +1567 -350
- data/lib/aws-sdk-ec2/client_api.rb +446 -5
- data/lib/aws-sdk-ec2/dhcp_options.rb +2 -2
- data/lib/aws-sdk-ec2/image.rb +10 -2
- data/lib/aws-sdk-ec2/instance.rb +13 -11
- 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 +9 -2
- data/lib/aws-sdk-ec2/network_acl.rb +2 -2
- data/lib/aws-sdk-ec2/network_interface.rb +7 -6
- data/lib/aws-sdk-ec2/placement_group.rb +4 -4
- data/lib/aws-sdk-ec2/resource.rb +88 -53
- 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 +37 -22
- data/lib/aws-sdk-ec2/tag.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +2013 -301
- data/lib/aws-sdk-ec2/volume.rb +3 -3
- data/lib/aws-sdk-ec2/vpc.rb +23 -22
- data/lib/aws-sdk-ec2/vpc_address.rb +1 -1
- metadata +2 -2
@@ -270,8 +270,8 @@ module Aws::EC2
|
|
270
270
|
# if its value is an empty string.
|
271
271
|
#
|
272
272
|
# If you omit this parameter, we delete all user-defined tags for the
|
273
|
-
# specified resources. We do not delete
|
274
|
-
# have the `aws:` prefix).
|
273
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
274
|
+
# tags (tags that have the `aws:` prefix).
|
275
275
|
# @return [Tag::Collection]
|
276
276
|
def delete_tags(options = {})
|
277
277
|
batch = []
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -222,6 +222,14 @@ module Aws::EC2
|
|
222
222
|
data[:boot_mode]
|
223
223
|
end
|
224
224
|
|
225
|
+
# The date and time to deprecate the AMI, in UTC, in the following
|
226
|
+
# format: *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z. If you specified a value
|
227
|
+
# for seconds, Amazon EC2 rounds the seconds to the nearest minute.
|
228
|
+
# @return [String]
|
229
|
+
def deprecation_time
|
230
|
+
data[:deprecation_time]
|
231
|
+
end
|
232
|
+
|
225
233
|
# @!endgroup
|
226
234
|
|
227
235
|
# @return [Client]
|
@@ -450,8 +458,8 @@ module Aws::EC2
|
|
450
458
|
# if its value is an empty string.
|
451
459
|
#
|
452
460
|
# If you omit this parameter, we delete all user-defined tags for the
|
453
|
-
# specified resources. We do not delete
|
454
|
-
# have the `aws:` prefix).
|
461
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
462
|
+
# tags (tags that have the `aws:` prefix).
|
455
463
|
# @return [Tag::Collection]
|
456
464
|
def delete_tags(options = {})
|
457
465
|
batch = []
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -331,7 +331,8 @@ module Aws::EC2
|
|
331
331
|
data[:metadata_options]
|
332
332
|
end
|
333
333
|
|
334
|
-
# Indicates whether the instance is enabled for
|
334
|
+
# Indicates whether the instance is enabled for Amazon Web Services
|
335
|
+
# Nitro Enclaves.
|
335
336
|
# @return [Types::EnclaveOptions]
|
336
337
|
def enclave_options
|
337
338
|
data[:enclave_options]
|
@@ -668,7 +669,7 @@ module Aws::EC2
|
|
668
669
|
# no_reboot: false,
|
669
670
|
# tag_specifications: [
|
670
671
|
# {
|
671
|
-
# 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
|
672
|
+
# 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
|
672
673
|
# tags: [
|
673
674
|
# {
|
674
675
|
# key: "String",
|
@@ -793,8 +794,8 @@ module Aws::EC2
|
|
793
794
|
# if its value is an empty string.
|
794
795
|
#
|
795
796
|
# If you omit this parameter, we delete all user-defined tags for the
|
796
|
-
# specified resources. We do not delete
|
797
|
-
# have the `aws:` prefix).
|
797
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
798
|
+
# tags (tags that have the `aws:` prefix).
|
798
799
|
# @return [Tag::Collection]
|
799
800
|
def delete_tags(options = {})
|
800
801
|
batch = []
|
@@ -1017,9 +1018,9 @@ module Aws::EC2
|
|
1017
1018
|
# option with a PV instance can make it unreachable.
|
1018
1019
|
# @option options [Types::BlobAttributeValue] :user_data
|
1019
1020
|
# Changes the instance's user data to the specified value. If you are
|
1020
|
-
# using an
|
1021
|
-
# for you, and you can load the text from a file.
|
1022
|
-
# provide base64-encoded text.
|
1021
|
+
# using an Amazon Web Services SDK or command line tool, base64-encoding
|
1022
|
+
# is performed for you, and you can load the text from a file.
|
1023
|
+
# Otherwise, you must provide base64-encoded text.
|
1023
1024
|
# @option options [String] :value
|
1024
1025
|
# A new value for the attribute. Use only with the `kernel`, `ramdisk`,
|
1025
1026
|
# `userData`, `disableApiTermination`, or
|
@@ -1538,12 +1539,13 @@ module Aws::EC2
|
|
1538
1539
|
# with, if any.
|
1539
1540
|
#
|
1540
1541
|
# * `network-border-group` - A unique set of Availability Zones, Local
|
1541
|
-
# Zones, or Wavelength Zones from where
|
1542
|
+
# Zones, or Wavelength Zones from where Amazon Web Services advertises
|
1543
|
+
# IP addresses.
|
1542
1544
|
#
|
1543
1545
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1544
1546
|
# that the address is associated with, if any.
|
1545
1547
|
#
|
1546
|
-
# * `network-interface-owner-id` - The
|
1548
|
+
# * `network-interface-owner-id` - The account ID of the owner.
|
1547
1549
|
#
|
1548
1550
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1549
1551
|
# with the Elastic IP address.
|
@@ -1701,8 +1703,8 @@ module Aws::EC2
|
|
1701
1703
|
# if its value is an empty string.
|
1702
1704
|
#
|
1703
1705
|
# If you omit this parameter, we delete all user-defined tags for the
|
1704
|
-
# specified resources. We do not delete
|
1705
|
-
# have the `aws:` prefix).
|
1706
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
1707
|
+
# tags (tags that have the `aws:` prefix).
|
1706
1708
|
# @return [void]
|
1707
1709
|
def batch_delete_tags!(options = {})
|
1708
1710
|
batch_enum.each do |batch|
|
@@ -270,8 +270,8 @@ module Aws::EC2
|
|
270
270
|
# if its value is an empty string.
|
271
271
|
#
|
272
272
|
# If you omit this parameter, we delete all user-defined tags for the
|
273
|
-
# specified resources. We do not delete
|
274
|
-
# have the `aws:` prefix).
|
273
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
274
|
+
# tags (tags that have the `aws:` prefix).
|
275
275
|
# @return [Tag::Collection]
|
276
276
|
def delete_tags(options = {})
|
277
277
|
batch = []
|
@@ -43,8 +43,8 @@ module Aws::EC2
|
|
43
43
|
|
44
44
|
# If you used CreateKeyPair to create the key pair, this is the SHA-1
|
45
45
|
# digest of the DER encoded private key. If you used ImportKeyPair to
|
46
|
-
# provide
|
47
|
-
# specified in section 4 of RFC4716.
|
46
|
+
# provide Amazon Web Services the public key, this is the MD5 public key
|
47
|
+
# fingerprint as specified in section 4 of RFC4716.
|
48
48
|
# @return [String]
|
49
49
|
def key_fingerprint
|
50
50
|
data[:key_fingerprint]
|
@@ -142,6 +142,13 @@ module Aws::EC2
|
|
142
142
|
data[:tags]
|
143
143
|
end
|
144
144
|
|
145
|
+
# Indicates whether the NAT gateway supports public or private
|
146
|
+
# connectivity.
|
147
|
+
# @return [String]
|
148
|
+
def connectivity_type
|
149
|
+
data[:connectivity_type]
|
150
|
+
end
|
151
|
+
|
145
152
|
# @!endgroup
|
146
153
|
|
147
154
|
# @return [Client]
|
@@ -338,8 +345,8 @@ module Aws::EC2
|
|
338
345
|
# if its value is an empty string.
|
339
346
|
#
|
340
347
|
# If you omit this parameter, we delete all user-defined tags for the
|
341
|
-
# specified resources. We do not delete
|
342
|
-
# have the `aws:` prefix).
|
348
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
349
|
+
# tags (tags that have the `aws:` prefix).
|
343
350
|
# @return [Tag::Collection]
|
344
351
|
def delete_tags(options = {})
|
345
352
|
batch = []
|
@@ -334,8 +334,8 @@ module Aws::EC2
|
|
334
334
|
# if its value is an empty string.
|
335
335
|
#
|
336
336
|
# If you omit this parameter, we delete all user-defined tags for the
|
337
|
-
# specified resources. We do not delete
|
338
|
-
# have the `aws:` prefix).
|
337
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
338
|
+
# tags (tags that have the `aws:` prefix).
|
339
339
|
# @return [Tag::Collection]
|
340
340
|
def delete_tags(options = {})
|
341
341
|
batch = []
|
@@ -83,7 +83,7 @@ module Aws::EC2
|
|
83
83
|
data[:outpost_arn]
|
84
84
|
end
|
85
85
|
|
86
|
-
# The
|
86
|
+
# The account ID of the owner of the network interface.
|
87
87
|
# @return [String]
|
88
88
|
def owner_id
|
89
89
|
data[:owner_id]
|
@@ -107,14 +107,15 @@ module Aws::EC2
|
|
107
107
|
data[:private_ip_addresses]
|
108
108
|
end
|
109
109
|
|
110
|
-
# The alias or
|
111
|
-
#
|
110
|
+
# The alias or account ID of the principal or service that created the
|
111
|
+
# network interface.
|
112
112
|
# @return [String]
|
113
113
|
def requester_id
|
114
114
|
data[:requester_id]
|
115
115
|
end
|
116
116
|
|
117
|
-
# Indicates whether the network interface is being managed by
|
117
|
+
# Indicates whether the network interface is being managed by Amazon Web
|
118
|
+
# Services.
|
118
119
|
# @return [Boolean]
|
119
120
|
def requester_managed
|
120
121
|
data[:requester_managed]
|
@@ -405,8 +406,8 @@ module Aws::EC2
|
|
405
406
|
# if its value is an empty string.
|
406
407
|
#
|
407
408
|
# If you omit this parameter, we delete all user-defined tags for the
|
408
|
-
# specified resources. We do not delete
|
409
|
-
# have the `aws:` prefix).
|
409
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
410
|
+
# tags (tags that have the `aws:` prefix).
|
410
411
|
# @return [Tag::Collection]
|
411
412
|
def delete_tags(options = {})
|
412
413
|
batch = []
|
@@ -413,7 +413,7 @@ module Aws::EC2
|
|
413
413
|
# interface.
|
414
414
|
#
|
415
415
|
# * `network-interface.requester-managed` - Indicates whether the
|
416
|
-
# network interface is being managed by
|
416
|
+
# network interface is being managed by Amazon Web Services.
|
417
417
|
#
|
418
418
|
# * `network-interface.status` - The status of the network interface
|
419
419
|
# (`available`) \| `in-use`).
|
@@ -432,7 +432,7 @@ module Aws::EC2
|
|
432
432
|
#
|
433
433
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
434
434
|
#
|
435
|
-
# * `owner-id` - The
|
435
|
+
# * `owner-id` - The account ID of the instance owner.
|
436
436
|
#
|
437
437
|
# * `placement-group-name` - The name of the placement group for the
|
438
438
|
# instance.
|
@@ -460,8 +460,8 @@ module Aws::EC2
|
|
460
460
|
# terminate the instance). Similar to the state-reason-code filter.
|
461
461
|
#
|
462
462
|
# * `requester-id` - The ID of the entity that launched the instance on
|
463
|
-
# your behalf (for example,
|
464
|
-
#
|
463
|
+
# your behalf (for example, Management Console, Auto Scaling, and so
|
464
|
+
# on).
|
465
465
|
#
|
466
466
|
# * `reservation-id` - The ID of the instance's reservation. A
|
467
467
|
# reservation ID is created any time you launch an instance. A
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -46,7 +46,7 @@ module Aws::EC2
|
|
46
46
|
# ],
|
47
47
|
# tag_specifications: [
|
48
48
|
# {
|
49
|
-
# 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
|
49
|
+
# 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
|
50
50
|
# tags: [
|
51
51
|
# {
|
52
52
|
# key: "String",
|
@@ -99,7 +99,7 @@ module Aws::EC2
|
|
99
99
|
# },
|
100
100
|
# ],
|
101
101
|
# image_id: "ImageId",
|
102
|
-
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal
|
102
|
+
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal
|
103
103
|
# ipv_6_address_count: 1,
|
104
104
|
# ipv_6_addresses: [
|
105
105
|
# {
|
@@ -180,7 +180,7 @@ module Aws::EC2
|
|
180
180
|
# ],
|
181
181
|
# tag_specifications: [
|
182
182
|
# {
|
183
|
-
# 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
|
183
|
+
# 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
|
184
184
|
# tags: [
|
185
185
|
# {
|
186
186
|
# key: "String",
|
@@ -326,7 +326,8 @@ module Aws::EC2
|
|
326
326
|
# The ID of the RAM disk to select. Some kernels require additional
|
327
327
|
# drivers at launch. Check the kernel requirements for information about
|
328
328
|
# whether you need to specify a RAM disk. To find kernel requirements,
|
329
|
-
# go to the
|
329
|
+
# go to the Amazon Web Services Resource Center and search for the
|
330
|
+
# kernel ID.
|
330
331
|
#
|
331
332
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
332
333
|
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
@@ -504,8 +505,8 @@ module Aws::EC2
|
|
504
505
|
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
505
506
|
# Guide*.
|
506
507
|
#
|
507
|
-
# You can't enable hibernation and
|
508
|
-
# instance.
|
508
|
+
# You can't enable hibernation and Amazon Web Services Nitro Enclaves
|
509
|
+
# on the same instance.
|
509
510
|
#
|
510
511
|
#
|
511
512
|
#
|
@@ -520,12 +521,13 @@ module Aws::EC2
|
|
520
521
|
#
|
521
522
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
522
523
|
# @option options [Types::EnclaveOptionsRequest] :enclave_options
|
523
|
-
# Indicates whether the instance is enabled for
|
524
|
-
# more information, see [ What is
|
525
|
-
# Nitro Enclaves
|
524
|
+
# Indicates whether the instance is enabled for Amazon Web Services
|
525
|
+
# Nitro Enclaves. For more information, see [ What is Amazon Web
|
526
|
+
# Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
|
527
|
+
# Enclaves User Guide*.
|
526
528
|
#
|
527
|
-
# You can't enable
|
528
|
-
# instance.
|
529
|
+
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
530
|
+
# on the same instance.
|
529
531
|
#
|
530
532
|
#
|
531
533
|
#
|
@@ -549,7 +551,7 @@ module Aws::EC2
|
|
549
551
|
# internetgateway = ec2.create_internet_gateway({
|
550
552
|
# tag_specifications: [
|
551
553
|
# {
|
552
|
-
# 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
|
554
|
+
# 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
|
553
555
|
# tags: [
|
554
556
|
# {
|
555
557
|
# key: "String",
|
@@ -585,7 +587,7 @@ module Aws::EC2
|
|
585
587
|
# dry_run: false,
|
586
588
|
# tag_specifications: [
|
587
589
|
# {
|
588
|
-
# 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
|
590
|
+
# 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
|
589
591
|
# tags: [
|
590
592
|
# {
|
591
593
|
# key: "String",
|
@@ -620,12 +622,13 @@ module Aws::EC2
|
|
620
622
|
# @example Request syntax with placeholder values
|
621
623
|
#
|
622
624
|
# natgateway = ec2.create_nat_gateway({
|
625
|
+
# allocation_id: "AllocationId",
|
623
626
|
# client_token: "String",
|
624
627
|
# dry_run: false,
|
625
628
|
# subnet_id: "SubnetId", # required
|
626
629
|
# tag_specifications: [
|
627
630
|
# {
|
628
|
-
# 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
|
631
|
+
# 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
|
629
632
|
# tags: [
|
630
633
|
# {
|
631
634
|
# key: "String",
|
@@ -634,9 +637,15 @@ module Aws::EC2
|
|
634
637
|
# ],
|
635
638
|
# },
|
636
639
|
# ],
|
637
|
-
#
|
640
|
+
# connectivity_type: "private", # accepts private, public
|
638
641
|
# })
|
639
642
|
# @param [Hash] options ({})
|
643
|
+
# @option options [String] :allocation_id
|
644
|
+
# \[Public NAT gateways only\] The allocation ID of an Elastic IP
|
645
|
+
# address to associate with the NAT gateway. You cannot specify an
|
646
|
+
# Elastic IP address with a private NAT gateway. If the Elastic IP
|
647
|
+
# address is associated with another resource, you must first
|
648
|
+
# disassociate it.
|
640
649
|
# @option options [String] :client_token
|
641
650
|
# Unique, case-sensitive identifier that you provide to ensure the
|
642
651
|
# idempotency of the request. For more information, see [How to Ensure
|
@@ -656,10 +665,9 @@ module Aws::EC2
|
|
656
665
|
# The subnet in which to create the NAT gateway.
|
657
666
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
658
667
|
# The tags to assign to the NAT gateway.
|
659
|
-
# @option options [
|
660
|
-
#
|
661
|
-
#
|
662
|
-
# resource, you must first disassociate it.
|
668
|
+
# @option options [String] :connectivity_type
|
669
|
+
# Indicates whether the NAT gateway supports public or private
|
670
|
+
# connectivity. The default is public connectivity.
|
663
671
|
# @return [NatGateway]
|
664
672
|
def create_nat_gateway(options = {})
|
665
673
|
resp = @client.create_nat_gateway(options)
|
@@ -677,7 +685,7 @@ module Aws::EC2
|
|
677
685
|
# vpc_id: "VpcId", # required
|
678
686
|
# tag_specifications: [
|
679
687
|
# {
|
680
|
-
# 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
|
688
|
+
# 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
|
681
689
|
# tags: [
|
682
690
|
# {
|
683
691
|
# key: "String",
|
@@ -727,11 +735,11 @@ module Aws::EC2
|
|
727
735
|
# },
|
728
736
|
# ],
|
729
737
|
# secondary_private_ip_address_count: 1,
|
730
|
-
# interface_type: "efa", # accepts efa
|
738
|
+
# interface_type: "efa", # accepts efa, branch, trunk
|
731
739
|
# subnet_id: "SubnetId", # required
|
732
740
|
# tag_specifications: [
|
733
741
|
# {
|
734
|
-
# 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
|
742
|
+
# 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
|
735
743
|
# tags: [
|
736
744
|
# {
|
737
745
|
# key: "String",
|
@@ -740,6 +748,7 @@ module Aws::EC2
|
|
740
748
|
# ],
|
741
749
|
# },
|
742
750
|
# ],
|
751
|
+
# client_token: "String",
|
743
752
|
# })
|
744
753
|
# @param [Hash] options ({})
|
745
754
|
# @option options [String] :description
|
@@ -788,14 +797,26 @@ module Aws::EC2
|
|
788
797
|
# Indicates the type of network interface. To create an Elastic Fabric
|
789
798
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
790
799
|
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
800
|
+
# To create a trunk network interface, specify `efa`. For more
|
801
|
+
# information, see [ Network interface trunking][2] in the *Amazon
|
802
|
+
# Elastic Compute Cloud User Guide*.
|
791
803
|
#
|
792
804
|
#
|
793
805
|
#
|
794
806
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
807
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/eni-trunking.html
|
795
808
|
# @option options [required, String] :subnet_id
|
796
809
|
# The ID of the subnet to associate with the network interface.
|
797
810
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
798
811
|
# The tags to apply to the new network interface.
|
812
|
+
# @option options [String] :client_token
|
813
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
814
|
+
# idempotency of the request. For more information, see [Ensuring
|
815
|
+
# Idempotency][1].
|
816
|
+
#
|
817
|
+
#
|
818
|
+
#
|
819
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
799
820
|
# @return [NetworkInterface]
|
800
821
|
def create_network_interface(options = {})
|
801
822
|
resp = @client.create_network_interface(options)
|
@@ -815,7 +836,7 @@ module Aws::EC2
|
|
815
836
|
# partition_count: 1,
|
816
837
|
# tag_specifications: [
|
817
838
|
# {
|
818
|
-
# 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
|
839
|
+
# 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
|
819
840
|
# tags: [
|
820
841
|
# {
|
821
842
|
# key: "String",
|
@@ -859,7 +880,7 @@ module Aws::EC2
|
|
859
880
|
# vpc_id: "VpcId", # required
|
860
881
|
# tag_specifications: [
|
861
882
|
# {
|
862
|
-
# 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
|
883
|
+
# 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
|
863
884
|
# tags: [
|
864
885
|
# {
|
865
886
|
# key: "String",
|
@@ -897,7 +918,7 @@ module Aws::EC2
|
|
897
918
|
# vpc_id: "VpcId",
|
898
919
|
# tag_specifications: [
|
899
920
|
# {
|
900
|
-
# 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
|
921
|
+
# 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
|
901
922
|
# tags: [
|
902
923
|
# {
|
903
924
|
# key: "String",
|
@@ -953,7 +974,7 @@ module Aws::EC2
|
|
953
974
|
# volume_id: "VolumeId", # required
|
954
975
|
# tag_specifications: [
|
955
976
|
# {
|
956
|
-
# 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
|
977
|
+
# 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
|
957
978
|
# tags: [
|
958
979
|
# {
|
959
980
|
# key: "String",
|
@@ -1012,7 +1033,7 @@ module Aws::EC2
|
|
1012
1033
|
# subnet = ec2.create_subnet({
|
1013
1034
|
# tag_specifications: [
|
1014
1035
|
# {
|
1015
|
-
# 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
|
1036
|
+
# 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
|
1016
1037
|
# tags: [
|
1017
1038
|
# {
|
1018
1039
|
# key: "String",
|
@@ -1145,8 +1166,8 @@ module Aws::EC2
|
|
1145
1166
|
# if its value is an empty string.
|
1146
1167
|
#
|
1147
1168
|
# If you omit this parameter, we delete all user-defined tags for the
|
1148
|
-
# specified resources. We do not delete
|
1149
|
-
# have the `aws:` prefix).
|
1169
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
1170
|
+
# tags (tags that have the `aws:` prefix).
|
1150
1171
|
# @return [EmptyStructure]
|
1151
1172
|
def delete_tags(options = {})
|
1152
1173
|
resp = @client.delete_tags(options)
|
@@ -1167,7 +1188,7 @@ module Aws::EC2
|
|
1167
1188
|
# dry_run: false,
|
1168
1189
|
# tag_specifications: [
|
1169
1190
|
# {
|
1170
|
-
# 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
|
1191
|
+
# 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
|
1171
1192
|
# tags: [
|
1172
1193
|
# {
|
1173
1194
|
# key: "String",
|
@@ -1334,7 +1355,7 @@ module Aws::EC2
|
|
1334
1355
|
# ipv_6_cidr_block_network_border_group: "String",
|
1335
1356
|
# tag_specifications: [
|
1336
1357
|
# {
|
1337
|
-
# 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
|
1358
|
+
# 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
|
1338
1359
|
# tags: [
|
1339
1360
|
# {
|
1340
1361
|
# key: "String",
|
@@ -1407,7 +1428,7 @@ module Aws::EC2
|
|
1407
1428
|
# peer_region: "String",
|
1408
1429
|
# tag_specifications: [
|
1409
1430
|
# {
|
1410
|
-
# 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
|
1431
|
+
# 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
|
1411
1432
|
# tags: [
|
1412
1433
|
# {
|
1413
1434
|
# key: "String",
|
@@ -1479,7 +1500,7 @@ module Aws::EC2
|
|
1479
1500
|
# public_key_material: "data", # required
|
1480
1501
|
# tag_specifications: [
|
1481
1502
|
# {
|
1482
|
-
# 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
|
1503
|
+
# 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
|
1483
1504
|
# tags: [
|
1484
1505
|
# {
|
1485
1506
|
# key: "String",
|
@@ -1665,12 +1686,13 @@ module Aws::EC2
|
|
1665
1686
|
# with, if any.
|
1666
1687
|
#
|
1667
1688
|
# * `network-border-group` - A unique set of Availability Zones, Local
|
1668
|
-
# Zones, or Wavelength Zones from where
|
1689
|
+
# Zones, or Wavelength Zones from where Amazon Web Services advertises
|
1690
|
+
# IP addresses.
|
1669
1691
|
#
|
1670
1692
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1671
1693
|
# that the address is associated with, if any.
|
1672
1694
|
#
|
1673
|
-
# * `network-interface-owner-id` - The
|
1695
|
+
# * `network-interface-owner-id` - The account ID of the owner.
|
1674
1696
|
#
|
1675
1697
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1676
1698
|
# with the Elastic IP address.
|
@@ -1810,6 +1832,7 @@ module Aws::EC2
|
|
1810
1832
|
# ],
|
1811
1833
|
# image_ids: ["ImageId"],
|
1812
1834
|
# owners: ["String"],
|
1835
|
+
# include_deprecated: false,
|
1813
1836
|
# dry_run: false,
|
1814
1837
|
# })
|
1815
1838
|
# @param [Hash] options ({})
|
@@ -1918,6 +1941,16 @@ module Aws::EC2
|
|
1918
1941
|
# specify a combination of AWS account IDs, `self`, `amazon`, and
|
1919
1942
|
# `aws-marketplace`. If you omit this parameter, the results include all
|
1920
1943
|
# images for which you have launch permissions, regardless of ownership.
|
1944
|
+
# @option options [Boolean] :include_deprecated
|
1945
|
+
# If `true`, all deprecated AMIs are included in the response. If
|
1946
|
+
# `false`, no deprecated AMIs are included in the response. If no value
|
1947
|
+
# is specified, the default value is `false`.
|
1948
|
+
#
|
1949
|
+
# <note markdown="1"> If you are the AMI owner, all deprecated AMIs appear in the response
|
1950
|
+
# regardless of the value (`true` or `false`) that you set for this
|
1951
|
+
# parameter.
|
1952
|
+
#
|
1953
|
+
# </note>
|
1921
1954
|
# @option options [Boolean] :dry_run
|
1922
1955
|
# Checks whether you have the required permissions for the action,
|
1923
1956
|
# without actually making the request, and provides an error response.
|
@@ -2142,7 +2175,7 @@ module Aws::EC2
|
|
2142
2175
|
# interface.
|
2143
2176
|
#
|
2144
2177
|
# * `network-interface.requester-managed` - Indicates whether the
|
2145
|
-
# network interface is being managed by
|
2178
|
+
# network interface is being managed by Amazon Web Services.
|
2146
2179
|
#
|
2147
2180
|
# * `network-interface.status` - The status of the network interface
|
2148
2181
|
# (`available`) \| `in-use`).
|
@@ -2161,7 +2194,7 @@ module Aws::EC2
|
|
2161
2194
|
#
|
2162
2195
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
2163
2196
|
#
|
2164
|
-
# * `owner-id` - The
|
2197
|
+
# * `owner-id` - The account ID of the instance owner.
|
2165
2198
|
#
|
2166
2199
|
# * `placement-group-name` - The name of the placement group for the
|
2167
2200
|
# instance.
|
@@ -2189,8 +2222,8 @@ module Aws::EC2
|
|
2189
2222
|
# terminate the instance). Similar to the state-reason-code filter.
|
2190
2223
|
#
|
2191
2224
|
# * `requester-id` - The ID of the entity that launched the instance on
|
2192
|
-
# your behalf (for example,
|
2193
|
-
#
|
2225
|
+
# your behalf (for example, Management Console, Auto Scaling, and so
|
2226
|
+
# on).
|
2194
2227
|
#
|
2195
2228
|
# * `reservation-id` - The ID of the instance's reservation. A
|
2196
2229
|
# reservation ID is created any time you launch an instance. A
|
@@ -2385,7 +2418,7 @@ module Aws::EC2
|
|
2385
2418
|
# @option options [Array<String>] :key_names
|
2386
2419
|
# The key pair names.
|
2387
2420
|
#
|
2388
|
-
# Default: Describes all your key pairs.
|
2421
|
+
# Default: Describes all of your key pairs.
|
2389
2422
|
# @option options [Array<String>] :key_pair_ids
|
2390
2423
|
# The IDs of the key pairs.
|
2391
2424
|
# @option options [Boolean] :dry_run
|
@@ -2673,7 +2706,7 @@ module Aws::EC2
|
|
2673
2706
|
#
|
2674
2707
|
# * `network-interface-id` - The ID of the network interface.
|
2675
2708
|
#
|
2676
|
-
# * `owner-id` - The
|
2709
|
+
# * `owner-id` - The account ID of the network interface owner.
|
2677
2710
|
#
|
2678
2711
|
# * `private-ip-address` - The private IPv4 address or addresses of the
|
2679
2712
|
# network interface.
|
@@ -2681,11 +2714,11 @@ module Aws::EC2
|
|
2681
2714
|
# * `private-dns-name` - The private DNS name of the network interface
|
2682
2715
|
# (IPv4).
|
2683
2716
|
#
|
2684
|
-
# * `requester-id` - The alias or
|
2685
|
-
#
|
2717
|
+
# * `requester-id` - The alias or account ID of the principal or service
|
2718
|
+
# that created the network interface.
|
2686
2719
|
#
|
2687
2720
|
# * `requester-managed` - Indicates whether the network interface is
|
2688
|
-
# being managed by an
|
2721
|
+
# being managed by an Amazon Web Service (for example, Management
|
2689
2722
|
# Console, Auto Scaling, and so on).
|
2690
2723
|
#
|
2691
2724
|
# * `source-dest-check` - Indicates whether the network interface
|
@@ -2995,8 +3028,8 @@ module Aws::EC2
|
|
2995
3028
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
2996
3029
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
2997
3030
|
#
|
2998
|
-
# * `egress.ip-permission.user-id` - The ID of an
|
2999
|
-
# been referenced in an outbound security group rule.
|
3031
|
+
# * `egress.ip-permission.user-id` - The ID of an Amazon Web Services
|
3032
|
+
# account that has been referenced in an outbound security group rule.
|
3000
3033
|
#
|
3001
3034
|
# * `group-id` - The ID of the security group.
|
3002
3035
|
#
|
@@ -3027,10 +3060,11 @@ module Aws::EC2
|
|
3027
3060
|
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
3028
3061
|
# for the TCP and UDP protocols, or an ICMP code.
|
3029
3062
|
#
|
3030
|
-
# * `ip-permission.user-id` - The ID of an
|
3031
|
-
# referenced in an inbound security group rule.
|
3063
|
+
# * `ip-permission.user-id` - The ID of an Amazon Web Services account
|
3064
|
+
# that has been referenced in an inbound security group rule.
|
3032
3065
|
#
|
3033
|
-
# * `owner-id` - The
|
3066
|
+
# * `owner-id` - The Amazon Web Services account ID of the owner of the
|
3067
|
+
# security group.
|
3034
3068
|
#
|
3035
3069
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
3036
3070
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -3048,14 +3082,14 @@ module Aws::EC2
|
|
3048
3082
|
# The IDs of the security groups. Required for security groups in a
|
3049
3083
|
# nondefault VPC.
|
3050
3084
|
#
|
3051
|
-
# Default: Describes all your security groups.
|
3085
|
+
# Default: Describes all of your security groups.
|
3052
3086
|
# @option options [Array<String>] :group_names
|
3053
3087
|
# \[EC2-Classic and default VPC only\] The names of the security groups.
|
3054
3088
|
# You can specify either the security group name or the security group
|
3055
3089
|
# ID. For security groups in a nondefault VPC, use the `group-name`
|
3056
3090
|
# filter to describe security groups by name.
|
3057
3091
|
#
|
3058
|
-
# Default: Describes all your security groups.
|
3092
|
+
# Default: Describes all of your security groups.
|
3059
3093
|
# @option options [Boolean] :dry_run
|
3060
3094
|
# Checks whether you have the required permissions for the action,
|
3061
3095
|
# without actually making the request, and provides an error response.
|
@@ -3417,12 +3451,13 @@ module Aws::EC2
|
|
3417
3451
|
# with, if any.
|
3418
3452
|
#
|
3419
3453
|
# * `network-border-group` - A unique set of Availability Zones, Local
|
3420
|
-
# Zones, or Wavelength Zones from where
|
3454
|
+
# Zones, or Wavelength Zones from where Amazon Web Services advertises
|
3455
|
+
# IP addresses.
|
3421
3456
|
#
|
3422
3457
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
3423
3458
|
# that the address is associated with, if any.
|
3424
3459
|
#
|
3425
|
-
# * `network-interface-owner-id` - The
|
3460
|
+
# * `network-interface-owner-id` - The account ID of the owner.
|
3426
3461
|
#
|
3427
3462
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
3428
3463
|
# with the Elastic IP address.
|