aws-sdk-ec2 1.238.0 → 1.243.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +309 -502
- data/lib/aws-sdk-ec2/client_api.rb +47 -129
- data/lib/aws-sdk-ec2/image.rb +8 -0
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/nat_gateway.rb +7 -0
- data/lib/aws-sdk-ec2/resource.rb +51 -25
- data/lib/aws-sdk-ec2/security_group.rb +3 -51
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +12 -3
- data/lib/aws-sdk-ec2/types.rb +276 -711
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +7 -7
- metadata +2 -2
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,
|
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
|
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,
|
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
|
184
184
|
# tags: [
|
185
185
|
# {
|
186
186
|
# key: "String",
|
@@ -549,7 +549,7 @@ module Aws::EC2
|
|
549
549
|
# internetgateway = ec2.create_internet_gateway({
|
550
550
|
# tag_specifications: [
|
551
551
|
# {
|
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,
|
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
|
553
553
|
# tags: [
|
554
554
|
# {
|
555
555
|
# key: "String",
|
@@ -585,7 +585,7 @@ module Aws::EC2
|
|
585
585
|
# dry_run: false,
|
586
586
|
# tag_specifications: [
|
587
587
|
# {
|
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,
|
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
|
589
589
|
# tags: [
|
590
590
|
# {
|
591
591
|
# key: "String",
|
@@ -620,12 +620,13 @@ module Aws::EC2
|
|
620
620
|
# @example Request syntax with placeholder values
|
621
621
|
#
|
622
622
|
# natgateway = ec2.create_nat_gateway({
|
623
|
+
# allocation_id: "AllocationId",
|
623
624
|
# client_token: "String",
|
624
625
|
# dry_run: false,
|
625
626
|
# subnet_id: "SubnetId", # required
|
626
627
|
# tag_specifications: [
|
627
628
|
# {
|
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,
|
629
|
+
# 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
|
629
630
|
# tags: [
|
630
631
|
# {
|
631
632
|
# key: "String",
|
@@ -634,9 +635,15 @@ module Aws::EC2
|
|
634
635
|
# ],
|
635
636
|
# },
|
636
637
|
# ],
|
637
|
-
#
|
638
|
+
# connectivity_type: "private", # accepts private, public
|
638
639
|
# })
|
639
640
|
# @param [Hash] options ({})
|
641
|
+
# @option options [String] :allocation_id
|
642
|
+
# \[Public NAT gateways only\] The allocation ID of an Elastic IP
|
643
|
+
# address to associate with the NAT gateway. You cannot specify an
|
644
|
+
# Elastic IP address with a private NAT gateway. If the Elastic IP
|
645
|
+
# address is associated with another resource, you must first
|
646
|
+
# disassociate it.
|
640
647
|
# @option options [String] :client_token
|
641
648
|
# Unique, case-sensitive identifier that you provide to ensure the
|
642
649
|
# idempotency of the request. For more information, see [How to Ensure
|
@@ -656,10 +663,9 @@ module Aws::EC2
|
|
656
663
|
# The subnet in which to create the NAT gateway.
|
657
664
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
658
665
|
# The tags to assign to the NAT gateway.
|
659
|
-
# @option options [
|
660
|
-
#
|
661
|
-
#
|
662
|
-
# resource, you must first disassociate it.
|
666
|
+
# @option options [String] :connectivity_type
|
667
|
+
# Indicates whether the NAT gateway supports public or private
|
668
|
+
# connectivity. The default is public connectivity.
|
663
669
|
# @return [NatGateway]
|
664
670
|
def create_nat_gateway(options = {})
|
665
671
|
resp = @client.create_nat_gateway(options)
|
@@ -677,7 +683,7 @@ module Aws::EC2
|
|
677
683
|
# vpc_id: "VpcId", # required
|
678
684
|
# tag_specifications: [
|
679
685
|
# {
|
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,
|
686
|
+
# 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
|
681
687
|
# tags: [
|
682
688
|
# {
|
683
689
|
# key: "String",
|
@@ -731,7 +737,7 @@ module Aws::EC2
|
|
731
737
|
# subnet_id: "SubnetId", # required
|
732
738
|
# tag_specifications: [
|
733
739
|
# {
|
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,
|
740
|
+
# 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
|
735
741
|
# tags: [
|
736
742
|
# {
|
737
743
|
# key: "String",
|
@@ -740,6 +746,7 @@ module Aws::EC2
|
|
740
746
|
# ],
|
741
747
|
# },
|
742
748
|
# ],
|
749
|
+
# client_token: "String",
|
743
750
|
# })
|
744
751
|
# @param [Hash] options ({})
|
745
752
|
# @option options [String] :description
|
@@ -796,6 +803,14 @@ module Aws::EC2
|
|
796
803
|
# The ID of the subnet to associate with the network interface.
|
797
804
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
798
805
|
# The tags to apply to the new network interface.
|
806
|
+
# @option options [String] :client_token
|
807
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
808
|
+
# idempotency of the request. For more information, see [Ensuring
|
809
|
+
# Idempotency][1].
|
810
|
+
#
|
811
|
+
#
|
812
|
+
#
|
813
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
799
814
|
# @return [NetworkInterface]
|
800
815
|
def create_network_interface(options = {})
|
801
816
|
resp = @client.create_network_interface(options)
|
@@ -815,7 +830,7 @@ module Aws::EC2
|
|
815
830
|
# partition_count: 1,
|
816
831
|
# tag_specifications: [
|
817
832
|
# {
|
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,
|
833
|
+
# 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
|
819
834
|
# tags: [
|
820
835
|
# {
|
821
836
|
# key: "String",
|
@@ -859,7 +874,7 @@ module Aws::EC2
|
|
859
874
|
# vpc_id: "VpcId", # required
|
860
875
|
# tag_specifications: [
|
861
876
|
# {
|
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,
|
877
|
+
# 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
|
863
878
|
# tags: [
|
864
879
|
# {
|
865
880
|
# key: "String",
|
@@ -897,7 +912,7 @@ module Aws::EC2
|
|
897
912
|
# vpc_id: "VpcId",
|
898
913
|
# tag_specifications: [
|
899
914
|
# {
|
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,
|
915
|
+
# 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
|
901
916
|
# tags: [
|
902
917
|
# {
|
903
918
|
# key: "String",
|
@@ -953,7 +968,7 @@ module Aws::EC2
|
|
953
968
|
# volume_id: "VolumeId", # required
|
954
969
|
# tag_specifications: [
|
955
970
|
# {
|
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,
|
971
|
+
# 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
|
957
972
|
# tags: [
|
958
973
|
# {
|
959
974
|
# key: "String",
|
@@ -1012,7 +1027,7 @@ module Aws::EC2
|
|
1012
1027
|
# subnet = ec2.create_subnet({
|
1013
1028
|
# tag_specifications: [
|
1014
1029
|
# {
|
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,
|
1030
|
+
# 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
|
1016
1031
|
# tags: [
|
1017
1032
|
# {
|
1018
1033
|
# key: "String",
|
@@ -1167,7 +1182,7 @@ module Aws::EC2
|
|
1167
1182
|
# dry_run: false,
|
1168
1183
|
# tag_specifications: [
|
1169
1184
|
# {
|
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,
|
1185
|
+
# 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
|
1171
1186
|
# tags: [
|
1172
1187
|
# {
|
1173
1188
|
# key: "String",
|
@@ -1334,7 +1349,7 @@ module Aws::EC2
|
|
1334
1349
|
# ipv_6_cidr_block_network_border_group: "String",
|
1335
1350
|
# tag_specifications: [
|
1336
1351
|
# {
|
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,
|
1352
|
+
# 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
|
1338
1353
|
# tags: [
|
1339
1354
|
# {
|
1340
1355
|
# key: "String",
|
@@ -1407,7 +1422,7 @@ module Aws::EC2
|
|
1407
1422
|
# peer_region: "String",
|
1408
1423
|
# tag_specifications: [
|
1409
1424
|
# {
|
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,
|
1425
|
+
# 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
|
1411
1426
|
# tags: [
|
1412
1427
|
# {
|
1413
1428
|
# key: "String",
|
@@ -1479,7 +1494,7 @@ module Aws::EC2
|
|
1479
1494
|
# public_key_material: "data", # required
|
1480
1495
|
# tag_specifications: [
|
1481
1496
|
# {
|
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,
|
1497
|
+
# 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
|
1483
1498
|
# tags: [
|
1484
1499
|
# {
|
1485
1500
|
# key: "String",
|
@@ -1810,6 +1825,7 @@ module Aws::EC2
|
|
1810
1825
|
# ],
|
1811
1826
|
# image_ids: ["ImageId"],
|
1812
1827
|
# owners: ["String"],
|
1828
|
+
# include_deprecated: false,
|
1813
1829
|
# dry_run: false,
|
1814
1830
|
# })
|
1815
1831
|
# @param [Hash] options ({})
|
@@ -1918,6 +1934,16 @@ module Aws::EC2
|
|
1918
1934
|
# specify a combination of AWS account IDs, `self`, `amazon`, and
|
1919
1935
|
# `aws-marketplace`. If you omit this parameter, the results include all
|
1920
1936
|
# images for which you have launch permissions, regardless of ownership.
|
1937
|
+
# @option options [Boolean] :include_deprecated
|
1938
|
+
# If `true`, all deprecated AMIs are included in the response. If
|
1939
|
+
# `false`, no deprecated AMIs are included in the response. If no value
|
1940
|
+
# is specified, the default value is `false`.
|
1941
|
+
#
|
1942
|
+
# <note markdown="1"> If you are the AMI owner, all deprecated AMIs appear in the response
|
1943
|
+
# regardless of the value (`true` or `false`) that you set for this
|
1944
|
+
# parameter.
|
1945
|
+
#
|
1946
|
+
# </note>
|
1921
1947
|
# @option options [Boolean] :dry_run
|
1922
1948
|
# Checks whether you have the required permissions for the action,
|
1923
1949
|
# without actually making the request, and provides an error response.
|
@@ -2385,7 +2411,7 @@ module Aws::EC2
|
|
2385
2411
|
# @option options [Array<String>] :key_names
|
2386
2412
|
# The key pair names.
|
2387
2413
|
#
|
2388
|
-
# Default: Describes all
|
2414
|
+
# Default: Describes all your key pairs.
|
2389
2415
|
# @option options [Array<String>] :key_pair_ids
|
2390
2416
|
# The IDs of the key pairs.
|
2391
2417
|
# @option options [Boolean] :dry_run
|
@@ -3048,14 +3074,14 @@ module Aws::EC2
|
|
3048
3074
|
# The IDs of the security groups. Required for security groups in a
|
3049
3075
|
# nondefault VPC.
|
3050
3076
|
#
|
3051
|
-
# Default: Describes all
|
3077
|
+
# Default: Describes all your security groups.
|
3052
3078
|
# @option options [Array<String>] :group_names
|
3053
3079
|
# \[EC2-Classic and default VPC only\] The names of the security groups.
|
3054
3080
|
# You can specify either the security group name or the security group
|
3055
3081
|
# ID. For security groups in a nondefault VPC, use the `group-name`
|
3056
3082
|
# filter to describe security groups by name.
|
3057
3083
|
#
|
3058
|
-
# Default: Describes all
|
3084
|
+
# Default: Describes all your security groups.
|
3059
3085
|
# @option options [Boolean] :dry_run
|
3060
3086
|
# Checks whether you have the required permissions for the action,
|
3061
3087
|
# without actually making the request, and provides an error response.
|
@@ -223,21 +223,18 @@ module Aws::EC2
|
|
223
223
|
# {
|
224
224
|
# cidr_ip: "String",
|
225
225
|
# description: "String",
|
226
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
227
226
|
# },
|
228
227
|
# ],
|
229
228
|
# ipv_6_ranges: [
|
230
229
|
# {
|
231
230
|
# cidr_ipv_6: "String",
|
232
231
|
# description: "String",
|
233
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
234
232
|
# },
|
235
233
|
# ],
|
236
234
|
# prefix_list_ids: [
|
237
235
|
# {
|
238
236
|
# description: "String",
|
239
237
|
# prefix_list_id: "String",
|
240
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
241
238
|
# },
|
242
239
|
# ],
|
243
240
|
# to_port: 1,
|
@@ -250,18 +247,6 @@ module Aws::EC2
|
|
250
247
|
# user_id: "String",
|
251
248
|
# vpc_id: "String",
|
252
249
|
# vpc_peering_connection_id: "String",
|
253
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
254
|
-
# },
|
255
|
-
# ],
|
256
|
-
# },
|
257
|
-
# ],
|
258
|
-
# tag_specifications: [
|
259
|
-
# {
|
260
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
261
|
-
# tags: [
|
262
|
-
# {
|
263
|
-
# key: "String",
|
264
|
-
# value: "String",
|
265
250
|
# },
|
266
251
|
# ],
|
267
252
|
# },
|
@@ -282,8 +267,6 @@ module Aws::EC2
|
|
282
267
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
283
268
|
# The sets of IP permissions. You can't specify a destination security
|
284
269
|
# group and a CIDR IP address range in the same set of permissions.
|
285
|
-
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
286
|
-
# The tags applied to the security group rule.
|
287
270
|
# @option options [String] :cidr_ip
|
288
271
|
# Not supported. Use a set of IP permissions to specify the CIDR.
|
289
272
|
# @option options [Integer] :from_port
|
@@ -299,7 +282,7 @@ module Aws::EC2
|
|
299
282
|
# @option options [String] :source_security_group_owner_id
|
300
283
|
# Not supported. Use a set of IP permissions to specify a destination
|
301
284
|
# security group.
|
302
|
-
# @return [
|
285
|
+
# @return [EmptyStructure]
|
303
286
|
def authorize_egress(options = {})
|
304
287
|
options = options.merge(group_id: @id)
|
305
288
|
resp = @client.authorize_security_group_egress(options)
|
@@ -320,21 +303,18 @@ module Aws::EC2
|
|
320
303
|
# {
|
321
304
|
# cidr_ip: "String",
|
322
305
|
# description: "String",
|
323
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
324
306
|
# },
|
325
307
|
# ],
|
326
308
|
# ipv_6_ranges: [
|
327
309
|
# {
|
328
310
|
# cidr_ipv_6: "String",
|
329
311
|
# description: "String",
|
330
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
331
312
|
# },
|
332
313
|
# ],
|
333
314
|
# prefix_list_ids: [
|
334
315
|
# {
|
335
316
|
# description: "String",
|
336
317
|
# prefix_list_id: "String",
|
337
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
338
318
|
# },
|
339
319
|
# ],
|
340
320
|
# to_port: 1,
|
@@ -347,7 +327,6 @@ module Aws::EC2
|
|
347
327
|
# user_id: "String",
|
348
328
|
# vpc_id: "String",
|
349
329
|
# vpc_peering_connection_id: "String",
|
350
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
351
330
|
# },
|
352
331
|
# ],
|
353
332
|
# },
|
@@ -357,17 +336,6 @@ module Aws::EC2
|
|
357
336
|
# source_security_group_owner_id: "String",
|
358
337
|
# to_port: 1,
|
359
338
|
# dry_run: false,
|
360
|
-
# tag_specifications: [
|
361
|
-
# {
|
362
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
363
|
-
# tags: [
|
364
|
-
# {
|
365
|
-
# key: "String",
|
366
|
-
# value: "String",
|
367
|
-
# },
|
368
|
-
# ],
|
369
|
-
# },
|
370
|
-
# ],
|
371
339
|
# })
|
372
340
|
# @param [Hash] options ({})
|
373
341
|
# @option options [String] :cidr_ip
|
@@ -396,7 +364,7 @@ module Aws::EC2
|
|
396
364
|
#
|
397
365
|
# \[VPC only\] Use `-1` to specify all protocols. If you specify `-1` or
|
398
366
|
# a protocol other than `tcp`, `udp`, or `icmp`, traffic on all ports is
|
399
|
-
# allowed, regardless of any ports
|
367
|
+
# allowed, regardless of any ports you specify.
|
400
368
|
#
|
401
369
|
# Alternatively, use a set of IP permissions to specify multiple rules
|
402
370
|
# and a description for the rule.
|
@@ -432,9 +400,7 @@ module Aws::EC2
|
|
432
400
|
# without actually making the request, and provides an error response.
|
433
401
|
# If you have the required permissions, the error response is
|
434
402
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
435
|
-
# @
|
436
|
-
# \[VPC Only\] The tags applied to the security group rule.
|
437
|
-
# @return [Types::AuthorizeSecurityGroupIngressResult]
|
403
|
+
# @return [EmptyStructure]
|
438
404
|
def authorize_ingress(options = {})
|
439
405
|
options = options.merge(group_id: @id)
|
440
406
|
resp = @client.authorize_security_group_ingress(options)
|
@@ -555,21 +521,18 @@ module Aws::EC2
|
|
555
521
|
# {
|
556
522
|
# cidr_ip: "String",
|
557
523
|
# description: "String",
|
558
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
559
524
|
# },
|
560
525
|
# ],
|
561
526
|
# ipv_6_ranges: [
|
562
527
|
# {
|
563
528
|
# cidr_ipv_6: "String",
|
564
529
|
# description: "String",
|
565
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
566
530
|
# },
|
567
531
|
# ],
|
568
532
|
# prefix_list_ids: [
|
569
533
|
# {
|
570
534
|
# description: "String",
|
571
535
|
# prefix_list_id: "String",
|
572
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
573
536
|
# },
|
574
537
|
# ],
|
575
538
|
# to_port: 1,
|
@@ -582,12 +545,10 @@ module Aws::EC2
|
|
582
545
|
# user_id: "String",
|
583
546
|
# vpc_id: "String",
|
584
547
|
# vpc_peering_connection_id: "String",
|
585
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
586
548
|
# },
|
587
549
|
# ],
|
588
550
|
# },
|
589
551
|
# ],
|
590
|
-
# security_group_rule_ids: ["String"],
|
591
552
|
# cidr_ip: "String",
|
592
553
|
# from_port: 1,
|
593
554
|
# ip_protocol: "String",
|
@@ -604,8 +565,6 @@ module Aws::EC2
|
|
604
565
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
605
566
|
# The sets of IP permissions. You can't specify a destination security
|
606
567
|
# group and a CIDR IP address range in the same set of permissions.
|
607
|
-
# @option options [Array<String>] :security_group_rule_ids
|
608
|
-
# The IDs of the security group rules.
|
609
568
|
# @option options [String] :cidr_ip
|
610
569
|
# Not supported. Use a set of IP permissions to specify the CIDR.
|
611
570
|
# @option options [Integer] :from_port
|
@@ -642,21 +601,18 @@ module Aws::EC2
|
|
642
601
|
# {
|
643
602
|
# cidr_ip: "String",
|
644
603
|
# description: "String",
|
645
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
646
604
|
# },
|
647
605
|
# ],
|
648
606
|
# ipv_6_ranges: [
|
649
607
|
# {
|
650
608
|
# cidr_ipv_6: "String",
|
651
609
|
# description: "String",
|
652
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
653
610
|
# },
|
654
611
|
# ],
|
655
612
|
# prefix_list_ids: [
|
656
613
|
# {
|
657
614
|
# description: "String",
|
658
615
|
# prefix_list_id: "String",
|
659
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
660
616
|
# },
|
661
617
|
# ],
|
662
618
|
# to_port: 1,
|
@@ -669,7 +625,6 @@ module Aws::EC2
|
|
669
625
|
# user_id: "String",
|
670
626
|
# vpc_id: "String",
|
671
627
|
# vpc_peering_connection_id: "String",
|
672
|
-
# security_group_rule_id: "SecurityGroupRuleId",
|
673
628
|
# },
|
674
629
|
# ],
|
675
630
|
# },
|
@@ -679,7 +634,6 @@ module Aws::EC2
|
|
679
634
|
# source_security_group_owner_id: "String",
|
680
635
|
# to_port: 1,
|
681
636
|
# dry_run: false,
|
682
|
-
# security_group_rule_ids: ["String"],
|
683
637
|
# })
|
684
638
|
# @param [Hash] options ({})
|
685
639
|
# @option options [String] :cidr_ip
|
@@ -726,8 +680,6 @@ module Aws::EC2
|
|
726
680
|
# without actually making the request, and provides an error response.
|
727
681
|
# If you have the required permissions, the error response is
|
728
682
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
729
|
-
# @option options [Array<String>] :security_group_rule_ids
|
730
|
-
# The IDs of the security group rules.
|
731
683
|
# @return [Types::RevokeSecurityGroupIngressResult]
|
732
684
|
def revoke_ingress(options = {})
|
733
685
|
options = options.merge(group_id: @id)
|