aws-sdk-ec2 1.271.0 → 1.296.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 +125 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +5106 -186
- data/lib/aws-sdk-ec2/client_api.rb +1812 -9
- data/lib/aws-sdk-ec2/dhcp_options.rb +2 -0
- data/lib/aws-sdk-ec2/image.rb +18 -2
- data/lib/aws-sdk-ec2/instance.rb +19 -3
- data/lib/aws-sdk-ec2/internet_gateway.rb +2 -0
- data/lib/aws-sdk-ec2/nat_gateway.rb +2 -0
- data/lib/aws-sdk-ec2/network_acl.rb +2 -0
- data/lib/aws-sdk-ec2/network_interface.rb +26 -0
- data/lib/aws-sdk-ec2/network_interface_association.rb +6 -0
- data/lib/aws-sdk-ec2/placement_group.rb +10 -1
- data/lib/aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb +7 -1
- data/lib/aws-sdk-ec2/resource.rb +104 -36
- data/lib/aws-sdk-ec2/route.rb +9 -0
- data/lib/aws-sdk-ec2/route_table.rb +5 -0
- data/lib/aws-sdk-ec2/security_group.rb +4 -2
- data/lib/aws-sdk-ec2/snapshot.rb +20 -1
- data/lib/aws-sdk-ec2/subnet.rb +57 -16
- data/lib/aws-sdk-ec2/tag.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +8769 -546
- data/lib/aws-sdk-ec2/volume.rb +6 -1
- data/lib/aws-sdk-ec2/vpc.rb +25 -10
- data/lib/aws-sdk-ec2/waiters.rb +44 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +4 -4
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: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
49
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, 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: "
|
102
|
+
# instance_type: "a1.medium", # accepts a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, 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.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6g.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gd.metal, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, c6i.large, c6i.xlarge, c6i.2xlarge, c6i.4xlarge, c6i.8xlarge, c6i.12xlarge, c6i.16xlarge, c6i.24xlarge, c6i.32xlarge, c6i.metal, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge, 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, dl1.24xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, g5.xlarge, g5.2xlarge, g5.4xlarge, g5.8xlarge, g5.12xlarge, g5.16xlarge, g5.24xlarge, g5.48xlarge, g5g.xlarge, g5g.2xlarge, g5g.4xlarge, g5g.8xlarge, g5g.16xlarge, g5g.metal, hi1.4xlarge, hpc6a.48xlarge, hs1.8xlarge, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, 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, im4gn.large, im4gn.xlarge, im4gn.2xlarge, im4gn.4xlarge, im4gn.8xlarge, im4gn.16xlarge, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, is4gen.medium, is4gen.large, is4gen.xlarge, is4gen.2xlarge, is4gen.4xlarge, is4gen.8xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.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, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.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, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, m6a.large, m6a.xlarge, m6a.2xlarge, m6a.4xlarge, m6a.8xlarge, m6a.12xlarge, m6a.16xlarge, m6a.24xlarge, m6a.32xlarge, m6a.48xlarge, 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, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, m6i.metal, mac1.metal, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, 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, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.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, 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, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6g.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, r6gd.metal, r6i.large, r6i.xlarge, r6i.2xlarge, r6i.4xlarge, r6i.8xlarge, r6i.12xlarge, r6i.16xlarge, r6i.24xlarge, r6i.32xlarge, r6i.metal, 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, 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, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, x2iezn.2xlarge, x2iezn.4xlarge, x2iezn.6xlarge, x2iezn.8xlarge, x2iezn.12xlarge, x2iezn.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal
|
103
103
|
# ipv_6_address_count: 1,
|
104
104
|
# ipv_6_addresses: [
|
105
105
|
# {
|
@@ -192,7 +192,7 @@ module Aws::EC2
|
|
192
192
|
# ],
|
193
193
|
# tag_specifications: [
|
194
194
|
# {
|
195
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
195
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
196
196
|
# tags: [
|
197
197
|
# {
|
198
198
|
# key: "String",
|
@@ -243,10 +243,16 @@ module Aws::EC2
|
|
243
243
|
# http_put_response_hop_limit: 1,
|
244
244
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
245
245
|
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
246
|
+
# instance_metadata_tags: "disabled", # accepts disabled, enabled
|
246
247
|
# },
|
247
248
|
# enclave_options: {
|
248
249
|
# enabled: false,
|
249
250
|
# },
|
251
|
+
# private_dns_name_options: {
|
252
|
+
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
253
|
+
# enable_resource_name_dns_a_record: false,
|
254
|
+
# enable_resource_name_dns_aaaa_record: false,
|
255
|
+
# },
|
250
256
|
# })
|
251
257
|
# @param [Hash] options ({})
|
252
258
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
@@ -379,16 +385,16 @@ module Aws::EC2
|
|
379
385
|
# part of the network interface.
|
380
386
|
# @option options [String] :user_data
|
381
387
|
# The user data to make available to the instance. For more information,
|
382
|
-
# see [
|
383
|
-
#
|
384
|
-
# base64-encoding is performed for you, and you can
|
385
|
-
# file. Otherwise, you must provide base64-encoded
|
386
|
-
# limited to 16 KB.
|
388
|
+
# see [Run commands on your Linux instance at launch][1] and [Run
|
389
|
+
# commands on your Windows instance at launch][2]. If you are using a
|
390
|
+
# command line tool, base64-encoding is performed for you, and you can
|
391
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
392
|
+
# text. User data is limited to 16 KB.
|
387
393
|
#
|
388
394
|
#
|
389
395
|
#
|
390
396
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
391
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-
|
397
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-user-data.html
|
392
398
|
# @option options [String] :additional_info
|
393
399
|
# Reserved.
|
394
400
|
# @option options [String] :client_token
|
@@ -508,8 +514,8 @@ module Aws::EC2
|
|
508
514
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html
|
509
515
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
510
516
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
511
|
-
# The CPU options for the instance. For more information, see
|
512
|
-
#
|
517
|
+
# The CPU options for the instance. For more information, see [Optimize
|
518
|
+
# CPU options][1] in the *Amazon EC2 User Guide*.
|
513
519
|
#
|
514
520
|
#
|
515
521
|
#
|
@@ -552,6 +558,9 @@ module Aws::EC2
|
|
552
558
|
#
|
553
559
|
#
|
554
560
|
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
|
561
|
+
# @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
562
|
+
# The options for the instance hostname. The default values are
|
563
|
+
# inherited from the subnet.
|
555
564
|
# @return [Instance::Collection]
|
556
565
|
def create_instances(options = {})
|
557
566
|
batch = []
|
@@ -571,7 +580,7 @@ module Aws::EC2
|
|
571
580
|
# internetgateway = ec2.create_internet_gateway({
|
572
581
|
# tag_specifications: [
|
573
582
|
# {
|
574
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
583
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
575
584
|
# tags: [
|
576
585
|
# {
|
577
586
|
# key: "String",
|
@@ -608,7 +617,7 @@ module Aws::EC2
|
|
608
617
|
# key_type: "rsa", # accepts rsa, ed25519
|
609
618
|
# tag_specifications: [
|
610
619
|
# {
|
611
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
620
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
612
621
|
# tags: [
|
613
622
|
# {
|
614
623
|
# key: "String",
|
@@ -654,7 +663,7 @@ module Aws::EC2
|
|
654
663
|
# subnet_id: "SubnetId", # required
|
655
664
|
# tag_specifications: [
|
656
665
|
# {
|
657
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
666
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
658
667
|
# tags: [
|
659
668
|
# {
|
660
669
|
# key: "String",
|
@@ -711,7 +720,7 @@ module Aws::EC2
|
|
711
720
|
# vpc_id: "VpcId", # required
|
712
721
|
# tag_specifications: [
|
713
722
|
# {
|
714
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
723
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
715
724
|
# tags: [
|
716
725
|
# {
|
717
726
|
# key: "String",
|
@@ -777,7 +786,7 @@ module Aws::EC2
|
|
777
786
|
# subnet_id: "SubnetId", # required
|
778
787
|
# tag_specifications: [
|
779
788
|
# {
|
780
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
789
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
781
790
|
# tags: [
|
782
791
|
# {
|
783
792
|
# key: "String",
|
@@ -849,14 +858,11 @@ module Aws::EC2
|
|
849
858
|
# Indicates the type of network interface. To create an Elastic Fabric
|
850
859
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
851
860
|
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
852
|
-
# To create a trunk network interface, specify `
|
853
|
-
# information, see [ Network interface trunking][2] in the *Amazon
|
854
|
-
# Elastic Compute Cloud User Guide*.
|
861
|
+
# To create a trunk network interface, specify `trunk`.
|
855
862
|
#
|
856
863
|
#
|
857
864
|
#
|
858
865
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
859
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/eni-trunking.html
|
860
866
|
# @option options [required, String] :subnet_id
|
861
867
|
# The ID of the subnet to associate with the network interface.
|
862
868
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -888,7 +894,7 @@ module Aws::EC2
|
|
888
894
|
# partition_count: 1,
|
889
895
|
# tag_specifications: [
|
890
896
|
# {
|
891
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
897
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
892
898
|
# tags: [
|
893
899
|
# {
|
894
900
|
# key: "String",
|
@@ -932,7 +938,7 @@ module Aws::EC2
|
|
932
938
|
# vpc_id: "VpcId", # required
|
933
939
|
# tag_specifications: [
|
934
940
|
# {
|
935
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
941
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
936
942
|
# tags: [
|
937
943
|
# {
|
938
944
|
# key: "String",
|
@@ -970,7 +976,7 @@ module Aws::EC2
|
|
970
976
|
# vpc_id: "VpcId",
|
971
977
|
# tag_specifications: [
|
972
978
|
# {
|
973
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
979
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
974
980
|
# tags: [
|
975
981
|
# {
|
976
982
|
# key: "String",
|
@@ -1026,7 +1032,7 @@ module Aws::EC2
|
|
1026
1032
|
# volume_id: "VolumeId", # required
|
1027
1033
|
# tag_specifications: [
|
1028
1034
|
# {
|
1029
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1035
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1030
1036
|
# tags: [
|
1031
1037
|
# {
|
1032
1038
|
# key: "String",
|
@@ -1085,7 +1091,7 @@ module Aws::EC2
|
|
1085
1091
|
# subnet = ec2.create_subnet({
|
1086
1092
|
# tag_specifications: [
|
1087
1093
|
# {
|
1088
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1094
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1089
1095
|
# tags: [
|
1090
1096
|
# {
|
1091
1097
|
# key: "String",
|
@@ -1096,11 +1102,12 @@ module Aws::EC2
|
|
1096
1102
|
# ],
|
1097
1103
|
# availability_zone: "String",
|
1098
1104
|
# availability_zone_id: "String",
|
1099
|
-
# cidr_block: "String",
|
1105
|
+
# cidr_block: "String",
|
1100
1106
|
# ipv_6_cidr_block: "String",
|
1101
1107
|
# outpost_arn: "String",
|
1102
1108
|
# vpc_id: "VpcId", # required
|
1103
1109
|
# dry_run: false,
|
1110
|
+
# ipv_6_native: false,
|
1104
1111
|
# })
|
1105
1112
|
# @param [Hash] options ({})
|
1106
1113
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1125,14 +1132,18 @@ module Aws::EC2
|
|
1125
1132
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
1126
1133
|
# @option options [String] :availability_zone_id
|
1127
1134
|
# The AZ ID or the Local Zone ID of the subnet.
|
1128
|
-
# @option options [
|
1135
|
+
# @option options [String] :cidr_block
|
1129
1136
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1130
1137
|
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1131
1138
|
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1132
1139
|
# `100.68.0.0/18`.
|
1140
|
+
#
|
1141
|
+
# This parameter is not supported for an IPv6 only subnet.
|
1133
1142
|
# @option options [String] :ipv_6_cidr_block
|
1134
1143
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
1135
1144
|
# size must use a /64 prefix length.
|
1145
|
+
#
|
1146
|
+
# This parameter is required for an IPv6 only subnet.
|
1136
1147
|
# @option options [String] :outpost_arn
|
1137
1148
|
# The Amazon Resource Name (ARN) of the Outpost. If you specify an
|
1138
1149
|
# Outpost ARN, you must also specify the Availability Zone of the
|
@@ -1144,6 +1155,8 @@ module Aws::EC2
|
|
1144
1155
|
# without actually making the request, and provides an error response.
|
1145
1156
|
# If you have the required permissions, the error response is
|
1146
1157
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1158
|
+
# @option options [Boolean] :ipv_6_native
|
1159
|
+
# Indicates whether to create an IPv6 only subnet.
|
1147
1160
|
# @return [Subnet]
|
1148
1161
|
def create_subnet(options = {})
|
1149
1162
|
resp = @client.create_subnet(options)
|
@@ -1220,6 +1233,8 @@ module Aws::EC2
|
|
1220
1233
|
# If you omit this parameter, we delete all user-defined tags for the
|
1221
1234
|
# specified resources. We do not delete Amazon Web Services-generated
|
1222
1235
|
# tags (tags that have the `aws:` prefix).
|
1236
|
+
#
|
1237
|
+
# Constraints: Up to 1000 tags.
|
1223
1238
|
# @return [EmptyStructure]
|
1224
1239
|
def delete_tags(options = {})
|
1225
1240
|
resp = @client.delete_tags(options)
|
@@ -1240,7 +1255,7 @@ module Aws::EC2
|
|
1240
1255
|
# dry_run: false,
|
1241
1256
|
# tag_specifications: [
|
1242
1257
|
# {
|
1243
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1258
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1244
1259
|
# tags: [
|
1245
1260
|
# {
|
1246
1261
|
# key: "String",
|
@@ -1407,16 +1422,20 @@ module Aws::EC2
|
|
1407
1422
|
# @example Request syntax with placeholder values
|
1408
1423
|
#
|
1409
1424
|
# vpc = ec2.create_vpc({
|
1410
|
-
# cidr_block: "String",
|
1425
|
+
# cidr_block: "String",
|
1411
1426
|
# amazon_provided_ipv_6_cidr_block: false,
|
1412
1427
|
# ipv_6_pool: "Ipv6PoolEc2Id",
|
1413
1428
|
# ipv_6_cidr_block: "String",
|
1429
|
+
# ipv_4_ipam_pool_id: "IpamPoolId",
|
1430
|
+
# ipv_4_netmask_length: 1,
|
1431
|
+
# ipv_6_ipam_pool_id: "IpamPoolId",
|
1432
|
+
# ipv_6_netmask_length: 1,
|
1414
1433
|
# dry_run: false,
|
1415
1434
|
# instance_tenancy: "default", # accepts default, dedicated, host
|
1416
1435
|
# ipv_6_cidr_block_network_border_group: "String",
|
1417
1436
|
# tag_specifications: [
|
1418
1437
|
# {
|
1419
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1438
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1420
1439
|
# tags: [
|
1421
1440
|
# {
|
1422
1441
|
# key: "String",
|
@@ -1427,7 +1446,7 @@ module Aws::EC2
|
|
1427
1446
|
# ],
|
1428
1447
|
# })
|
1429
1448
|
# @param [Hash] options ({})
|
1430
|
-
# @option options [
|
1449
|
+
# @option options [String] :cidr_block
|
1431
1450
|
# The IPv4 network range for the VPC, in CIDR notation. For example,
|
1432
1451
|
# `10.0.0.0/16`. We modify the specified CIDR block to its canonical
|
1433
1452
|
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
@@ -1444,6 +1463,32 @@ module Aws::EC2
|
|
1444
1463
|
# `Ipv6Pool` in the request.
|
1445
1464
|
#
|
1446
1465
|
# To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
|
1466
|
+
# @option options [String] :ipv_4_ipam_pool_id
|
1467
|
+
# The ID of an IPv4 IPAM pool you want to use for allocating this VPC's
|
1468
|
+
# CIDR. For more information, see [What is
|
1469
|
+
# IPAM?](/vpc/latest/ipam/what-is-it-ipam.html) in the *Amazon VPC IPAM
|
1470
|
+
# User Guide*.
|
1471
|
+
# @option options [Integer] :ipv_4_netmask_length
|
1472
|
+
# The netmask length of the IPv4 CIDR you want to allocate to this VPC
|
1473
|
+
# from an Amazon VPC IP Address Manager (IPAM) pool. For more
|
1474
|
+
# information about IPAM, see [What is
|
1475
|
+
# IPAM?](/vpc/latest/ipam/what-is-it-ipam.html) in the *Amazon VPC IPAM
|
1476
|
+
# User Guide*.
|
1477
|
+
# @option options [String] :ipv_6_ipam_pool_id
|
1478
|
+
# The ID of an IPv6 IPAM pool which will be used to allocate this VPC an
|
1479
|
+
# IPv6 CIDR. IPAM is a VPC feature that you can use to automate your IP
|
1480
|
+
# address management workflows including assigning, tracking,
|
1481
|
+
# troubleshooting, and auditing IP addresses across Amazon Web Services
|
1482
|
+
# Regions and accounts throughout your Amazon Web Services Organization.
|
1483
|
+
# For more information, see [What is
|
1484
|
+
# IPAM?](/vpc/latest/ipam/what-is-it-ipam.html) in the *Amazon VPC IPAM
|
1485
|
+
# User Guide*.
|
1486
|
+
# @option options [Integer] :ipv_6_netmask_length
|
1487
|
+
# The netmask length of the IPv6 CIDR you want to allocate to this VPC
|
1488
|
+
# from an Amazon VPC IP Address Manager (IPAM) pool. For more
|
1489
|
+
# information about IPAM, see [What is
|
1490
|
+
# IPAM?](/vpc/latest/ipam/what-is-it-ipam.html) in the *Amazon VPC IPAM
|
1491
|
+
# User Guide*.
|
1447
1492
|
# @option options [Boolean] :dry_run
|
1448
1493
|
# Checks whether you have the required permissions for the action,
|
1449
1494
|
# without actually making the request, and provides an error response.
|
@@ -1489,7 +1534,7 @@ module Aws::EC2
|
|
1489
1534
|
# peer_region: "String",
|
1490
1535
|
# tag_specifications: [
|
1491
1536
|
# {
|
1492
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1537
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1493
1538
|
# tags: [
|
1494
1539
|
# {
|
1495
1540
|
# key: "String",
|
@@ -1561,7 +1606,7 @@ module Aws::EC2
|
|
1561
1606
|
# public_key_material: "data", # required
|
1562
1607
|
# tag_specifications: [
|
1563
1608
|
# {
|
1564
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1609
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1565
1610
|
# tags: [
|
1566
1611
|
# {
|
1567
1612
|
# key: "String",
|
@@ -1902,6 +1947,18 @@ module Aws::EC2
|
|
1902
1947
|
# Scopes the images by users with explicit launch permissions. Specify
|
1903
1948
|
# an Amazon Web Services account ID, `self` (the sender of the request),
|
1904
1949
|
# or `all` (public AMIs).
|
1950
|
+
#
|
1951
|
+
# * If you specify an Amazon Web Services account ID that is not your
|
1952
|
+
# own, only AMIs shared with that specific Amazon Web Services account
|
1953
|
+
# ID are returned. However, AMIs that are shared with the account’s
|
1954
|
+
# organization or organizational unit (OU) are not returned.
|
1955
|
+
#
|
1956
|
+
# * If you specify `self` or your own Amazon Web Services account ID,
|
1957
|
+
# AMIs shared with your account are returned. In addition, AMIs that
|
1958
|
+
# are shared with the organization or OU of which you are member are
|
1959
|
+
# also returned.
|
1960
|
+
#
|
1961
|
+
# * If you specify `all`, all public AMIs are returned.
|
1905
1962
|
# @option options [Array<Types::Filter>] :filters
|
1906
1963
|
# The filters.
|
1907
1964
|
#
|
@@ -2144,7 +2201,10 @@ module Aws::EC2
|
|
2144
2201
|
# index for the instance in the launch group (for example, 0, 1, 2,
|
2145
2202
|
# and so on).
|
2146
2203
|
#
|
2147
|
-
# * `launch-time` - The time when the instance was launched
|
2204
|
+
# * `launch-time` - The time when the instance was launched, in the ISO
|
2205
|
+
# 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for
|
2206
|
+
# example, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`),
|
2207
|
+
# for example, `2021-09-29T*`, which matches an entire day.
|
2148
2208
|
#
|
2149
2209
|
# * `metadata-options.http-tokens` - The metadata request authorization
|
2150
2210
|
# state (`optional` \| `required`)
|
@@ -2868,6 +2928,8 @@ module Aws::EC2
|
|
2868
2928
|
#
|
2869
2929
|
# * `group-name` - The name of the placement group.
|
2870
2930
|
#
|
2931
|
+
# * `group-arn` - The Amazon Resource Name (ARN) of the placement group.
|
2932
|
+
#
|
2871
2933
|
# * `state` - The state of the placement group (`pending` \| `available`
|
2872
2934
|
# \| `deleting` \| `deleted`).
|
2873
2935
|
#
|
@@ -3232,6 +3294,9 @@ module Aws::EC2
|
|
3232
3294
|
# * `status` - The status of the snapshot (`pending` \| `completed` \|
|
3233
3295
|
# `error`).
|
3234
3296
|
#
|
3297
|
+
# * `storage-tier` - The storage tier of the snapshot (`archive` \|
|
3298
|
+
# `standard`).
|
3299
|
+
#
|
3235
3300
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
3236
3301
|
# the resource. Use the tag key in the filter name and the tag value
|
3237
3302
|
# as the filter value. For example, to find all resources that have a
|
@@ -3321,8 +3386,8 @@ module Aws::EC2
|
|
3321
3386
|
# `cidrBlock` as the filter names.
|
3322
3387
|
#
|
3323
3388
|
# * `default-for-az` - Indicates whether this is the default subnet for
|
3324
|
-
# the Availability Zone. You can also use
|
3325
|
-
# name.
|
3389
|
+
# the Availability Zone (`true` \| `false`). You can also use
|
3390
|
+
# `defaultForAz` as the filter name.
|
3326
3391
|
#
|
3327
3392
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
3328
3393
|
# associated with the subnet.
|
@@ -3333,6 +3398,9 @@ module Aws::EC2
|
|
3333
3398
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
3334
3399
|
# block associated with the subnet.
|
3335
3400
|
#
|
3401
|
+
# * `ipv6-native` - Indicates whether this is an IPv6 only subnet
|
3402
|
+
# (`true` \| `false`).
|
3403
|
+
#
|
3336
3404
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
3337
3405
|
#
|
3338
3406
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
data/lib/aws-sdk-ec2/route.rb
CHANGED
@@ -137,6 +137,12 @@ module Aws::EC2
|
|
137
137
|
data[:vpc_peering_connection_id]
|
138
138
|
end
|
139
139
|
|
140
|
+
# The Amazon Resource Name (ARN) of the core network.
|
141
|
+
# @return [String]
|
142
|
+
def core_network_arn
|
143
|
+
data[:core_network_arn]
|
144
|
+
end
|
145
|
+
|
140
146
|
# @!endgroup
|
141
147
|
|
142
148
|
# @return [Client]
|
@@ -311,6 +317,7 @@ module Aws::EC2
|
|
311
317
|
# carrier_gateway_id: "CarrierGatewayId",
|
312
318
|
# network_interface_id: "NetworkInterfaceId",
|
313
319
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
320
|
+
# core_network_arn: "CoreNetworkArn",
|
314
321
|
# })
|
315
322
|
# @param [Hash] options ({})
|
316
323
|
# @option options [String] :destination_ipv_6_cidr_block
|
@@ -348,6 +355,8 @@ module Aws::EC2
|
|
348
355
|
# The ID of a network interface.
|
349
356
|
# @option options [String] :vpc_peering_connection_id
|
350
357
|
# The ID of a VPC peering connection.
|
358
|
+
# @option options [String] :core_network_arn
|
359
|
+
# The Amazon Resource Name (ARN) of the core network.
|
351
360
|
# @return [EmptyStructure]
|
352
361
|
def replace(options = {})
|
353
362
|
options = options.merge(
|
@@ -237,6 +237,7 @@ module Aws::EC2
|
|
237
237
|
# carrier_gateway_id: "CarrierGatewayId",
|
238
238
|
# network_interface_id: "NetworkInterfaceId",
|
239
239
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
240
|
+
# core_network_arn: "CoreNetworkArn",
|
240
241
|
# })
|
241
242
|
# @param [Hash] options ({})
|
242
243
|
# @option options [String] :destination_cidr_block
|
@@ -281,6 +282,8 @@ module Aws::EC2
|
|
281
282
|
# The ID of a network interface.
|
282
283
|
# @option options [String] :vpc_peering_connection_id
|
283
284
|
# The ID of a VPC peering connection.
|
285
|
+
# @option options [String] :core_network_arn
|
286
|
+
# The Amazon Resource Name (ARN) of the core network.
|
284
287
|
# @return [Route]
|
285
288
|
def create_route(options = {})
|
286
289
|
options = options.merge(route_table_id: @id)
|
@@ -356,6 +359,8 @@ module Aws::EC2
|
|
356
359
|
# If you omit this parameter, we delete all user-defined tags for the
|
357
360
|
# specified resources. We do not delete Amazon Web Services-generated
|
358
361
|
# tags (tags that have the `aws:` prefix).
|
362
|
+
#
|
363
|
+
# Constraints: Up to 1000 tags.
|
359
364
|
# @return [Tag::Collection]
|
360
365
|
def delete_tags(options = {})
|
361
366
|
batch = []
|
@@ -253,7 +253,7 @@ module Aws::EC2
|
|
253
253
|
# ],
|
254
254
|
# tag_specifications: [
|
255
255
|
# {
|
256
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
256
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
257
257
|
# tags: [
|
258
258
|
# {
|
259
259
|
# key: "String",
|
@@ -351,7 +351,7 @@ module Aws::EC2
|
|
351
351
|
# dry_run: false,
|
352
352
|
# tag_specifications: [
|
353
353
|
# {
|
354
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
354
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, 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-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
355
355
|
# tags: [
|
356
356
|
# {
|
357
357
|
# key: "String",
|
@@ -498,6 +498,8 @@ module Aws::EC2
|
|
498
498
|
# If you omit this parameter, we delete all user-defined tags for the
|
499
499
|
# specified resources. We do not delete Amazon Web Services-generated
|
500
500
|
# tags (tags that have the `aws:` prefix).
|
501
|
+
#
|
502
|
+
# Constraints: Up to 1000 tags.
|
501
503
|
# @return [Tag::Collection]
|
502
504
|
def delete_tags(options = {})
|
503
505
|
batch = []
|