aws-sdk-ec2 1.140.0 → 1.145.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +430 -331
- data/lib/aws-sdk-ec2/client_api.rb +385 -258
- data/lib/aws-sdk-ec2/dhcp_options.rb +43 -0
- data/lib/aws-sdk-ec2/image.rb +53 -8
- data/lib/aws-sdk-ec2/instance.rb +93 -2
- data/lib/aws-sdk-ec2/internet_gateway.rb +43 -0
- data/lib/aws-sdk-ec2/nat_gateway.rb +43 -0
- data/lib/aws-sdk-ec2/network_acl.rb +43 -0
- data/lib/aws-sdk-ec2/network_interface.rb +45 -2
- data/lib/aws-sdk-ec2/placement_group.rb +2 -1
- data/lib/aws-sdk-ec2/resource.rb +97 -41
- data/lib/aws-sdk-ec2/route.rb +2 -2
- data/lib/aws-sdk-ec2/route_table.rb +47 -4
- data/lib/aws-sdk-ec2/security_group.rb +46 -3
- data/lib/aws-sdk-ec2/snapshot.rb +45 -2
- data/lib/aws-sdk-ec2/subnet.rb +59 -12
- data/lib/aws-sdk-ec2/types.rb +585 -413
- data/lib/aws-sdk-ec2/volume.rb +52 -2
- data/lib/aws-sdk-ec2/vpc.rb +53 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32d8951baa36ccef8860a92cfc2bece595b33305
|
4
|
+
data.tar.gz: 7adc027e332290217ee7276bf0a9d413a48c3b49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da8725b7c682d7fdb9acdaad22fa4d27a1b7cd9f0f777bd66551a3b1c79857f7ccbed6136b0689580b9b21a0243bf81bed488f2fb7a7443a4495a7d5af398bbf
|
7
|
+
data.tar.gz: 0c8d489a0c4e379545df2e32824270ab69dc3fd6371825f66f2c72477154f2e583a57e8532c37055ba30022c864a85816f1b455bc76e0c2aa5d50ff1d5517dc9
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -283,11 +283,11 @@ module Aws::EC2
|
|
283
283
|
#
|
284
284
|
# resp = client.accept_reserved_instances_exchange_quote({
|
285
285
|
# dry_run: false,
|
286
|
-
# reserved_instance_ids: ["
|
286
|
+
# reserved_instance_ids: ["ReservationId"], # required
|
287
287
|
# target_configurations: [
|
288
288
|
# {
|
289
289
|
# instance_count: 1,
|
290
|
-
# offering_id: "
|
290
|
+
# offering_id: "ReservedInstancesOfferingId", # required
|
291
291
|
# },
|
292
292
|
# ],
|
293
293
|
# })
|
@@ -324,7 +324,7 @@ module Aws::EC2
|
|
324
324
|
# @example Request syntax with placeholder values
|
325
325
|
#
|
326
326
|
# resp = client.accept_transit_gateway_peering_attachment({
|
327
|
-
# transit_gateway_attachment_id: "
|
327
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
328
328
|
# dry_run: false,
|
329
329
|
# })
|
330
330
|
#
|
@@ -377,7 +377,7 @@ module Aws::EC2
|
|
377
377
|
# @example Request syntax with placeholder values
|
378
378
|
#
|
379
379
|
# resp = client.accept_transit_gateway_vpc_attachment({
|
380
|
-
# transit_gateway_attachment_id: "
|
380
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
381
381
|
# dry_run: false,
|
382
382
|
# })
|
383
383
|
#
|
@@ -429,8 +429,8 @@ module Aws::EC2
|
|
429
429
|
#
|
430
430
|
# resp = client.accept_vpc_endpoint_connections({
|
431
431
|
# dry_run: false,
|
432
|
-
# service_id: "
|
433
|
-
# vpc_endpoint_ids: ["
|
432
|
+
# service_id: "VpcEndpointServiceId", # required
|
433
|
+
# vpc_endpoint_ids: ["VpcEndpointId"], # required
|
434
434
|
# })
|
435
435
|
#
|
436
436
|
# @example Response structure
|
@@ -884,6 +884,9 @@ module Aws::EC2
|
|
884
884
|
# see [IP Addresses Per Network Interface Per Instance Type][1] in the
|
885
885
|
# *Amazon Elastic Compute Cloud User Guide*.
|
886
886
|
#
|
887
|
+
# You must specify either the IPv6 addresses or the IPv6 address count
|
888
|
+
# in the request.
|
889
|
+
#
|
887
890
|
#
|
888
891
|
#
|
889
892
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
@@ -951,6 +954,9 @@ module Aws::EC2
|
|
951
954
|
# `network/interfaces/macs/mac/local-ipv4s` in the instance metadata to
|
952
955
|
# confirm that the remapping is complete.
|
953
956
|
#
|
957
|
+
# You must specify either the IP addresses or the IP address count in
|
958
|
+
# the request.
|
959
|
+
#
|
954
960
|
#
|
955
961
|
#
|
956
962
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
@@ -1422,9 +1428,9 @@ module Aws::EC2
|
|
1422
1428
|
#
|
1423
1429
|
# resp = client.associate_route_table({
|
1424
1430
|
# dry_run: false,
|
1425
|
-
# route_table_id: "
|
1426
|
-
# subnet_id: "
|
1427
|
-
# gateway_id: "
|
1431
|
+
# route_table_id: "RouteTableId", # required
|
1432
|
+
# subnet_id: "SubnetId",
|
1433
|
+
# gateway_id: "RouteGatewayId",
|
1428
1434
|
# })
|
1429
1435
|
#
|
1430
1436
|
# @example Response structure
|
@@ -1517,8 +1523,8 @@ module Aws::EC2
|
|
1517
1523
|
# @example Request syntax with placeholder values
|
1518
1524
|
#
|
1519
1525
|
# resp = client.associate_transit_gateway_multicast_domain({
|
1520
|
-
# transit_gateway_multicast_domain_id: "
|
1521
|
-
# transit_gateway_attachment_id: "
|
1526
|
+
# transit_gateway_multicast_domain_id: "TransitGatewayMulticastDomainId",
|
1527
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId",
|
1522
1528
|
# subnet_ids: ["String"],
|
1523
1529
|
# dry_run: false,
|
1524
1530
|
# })
|
@@ -1565,8 +1571,8 @@ module Aws::EC2
|
|
1565
1571
|
# @example Request syntax with placeholder values
|
1566
1572
|
#
|
1567
1573
|
# resp = client.associate_transit_gateway_route_table({
|
1568
|
-
# transit_gateway_route_table_id: "
|
1569
|
-
# transit_gateway_attachment_id: "
|
1574
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
1575
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
1570
1576
|
# dry_run: false,
|
1571
1577
|
# })
|
1572
1578
|
#
|
@@ -1593,6 +1599,9 @@ module Aws::EC2
|
|
1593
1599
|
# your own IP addresses ([BYOIP][1]). The IPv6 CIDR block size is fixed
|
1594
1600
|
# at /56.
|
1595
1601
|
#
|
1602
|
+
# You must specify one of the following in the request: an IPv4 CIDR
|
1603
|
+
# block, an IPv6 pool, or an Amazon-provided IPv6 CIDR block.
|
1604
|
+
#
|
1596
1605
|
# For more information about associating CIDR blocks with your VPC and
|
1597
1606
|
# applicable restrictions, see [VPC and Subnet Sizing][2] in the *Amazon
|
1598
1607
|
# Virtual Private Cloud User Guide*.
|
@@ -1613,6 +1622,15 @@ module Aws::EC2
|
|
1613
1622
|
# @option params [required, String] :vpc_id
|
1614
1623
|
# The ID of the VPC.
|
1615
1624
|
#
|
1625
|
+
# @option params [String] :ipv_6_cidr_block_network_border_group
|
1626
|
+
# The name of the location from which we advertise the IPV6 CIDR block.
|
1627
|
+
# Use this parameter to limit the CiDR block to this location.
|
1628
|
+
#
|
1629
|
+
# You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
|
1630
|
+
# parameter.
|
1631
|
+
#
|
1632
|
+
# You can have one IPv6 CIDR block association per network border group.
|
1633
|
+
#
|
1616
1634
|
# @option params [String] :ipv_6_pool
|
1617
1635
|
# The ID of an IPv6 address pool from which to allocate the IPv6 CIDR
|
1618
1636
|
# block.
|
@@ -1623,15 +1641,6 @@ module Aws::EC2
|
|
1623
1641
|
#
|
1624
1642
|
# To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
|
1625
1643
|
#
|
1626
|
-
# @option params [String] :ipv_6_cidr_block_network_border_group
|
1627
|
-
# The name of the location from which we advertise the IPV6 CIDR block.
|
1628
|
-
# Use this parameter to limit the CiDR block to this location.
|
1629
|
-
#
|
1630
|
-
# You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
|
1631
|
-
# parameter.
|
1632
|
-
#
|
1633
|
-
# You can have one IPv6 CIDR block association per network border group.
|
1634
|
-
#
|
1635
1644
|
# @return [Types::AssociateVpcCidrBlockResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1636
1645
|
#
|
1637
1646
|
# * {Types::AssociateVpcCidrBlockResult#ipv_6_cidr_block_association #ipv_6_cidr_block_association} => Types::VpcIpv6CidrBlockAssociation
|
@@ -1644,9 +1653,9 @@ module Aws::EC2
|
|
1644
1653
|
# amazon_provided_ipv_6_cidr_block: false,
|
1645
1654
|
# cidr_block: "String",
|
1646
1655
|
# vpc_id: "VpcId", # required
|
1647
|
-
# ipv_6_pool: "String",
|
1648
|
-
# ipv_6_cidr_block: "String",
|
1649
1656
|
# ipv_6_cidr_block_network_border_group: "String",
|
1657
|
+
# ipv_6_pool: "Ipv6PoolEc2Id",
|
1658
|
+
# ipv_6_cidr_block: "String",
|
1650
1659
|
# })
|
1651
1660
|
#
|
1652
1661
|
# @example Response structure
|
@@ -1655,8 +1664,8 @@ module Aws::EC2
|
|
1655
1664
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block #=> String
|
1656
1665
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
1657
1666
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.status_message #=> String
|
1658
|
-
# resp.ipv_6_cidr_block_association.ipv_6_pool #=> String
|
1659
1667
|
# resp.ipv_6_cidr_block_association.network_border_group #=> String
|
1668
|
+
# resp.ipv_6_cidr_block_association.ipv_6_pool #=> String
|
1660
1669
|
# resp.cidr_block_association.association_id #=> String
|
1661
1670
|
# resp.cidr_block_association.cidr_block #=> String
|
1662
1671
|
# resp.cidr_block_association.cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
@@ -2173,7 +2182,7 @@ module Aws::EC2
|
|
2173
2182
|
#
|
2174
2183
|
# resp = client.authorize_security_group_egress({
|
2175
2184
|
# dry_run: false,
|
2176
|
-
# group_id: "
|
2185
|
+
# group_id: "SecurityGroupId", # required
|
2177
2186
|
# ip_permissions: [
|
2178
2187
|
# {
|
2179
2188
|
# from_port: 1,
|
@@ -2411,8 +2420,8 @@ module Aws::EC2
|
|
2411
2420
|
# resp = client.authorize_security_group_ingress({
|
2412
2421
|
# cidr_ip: "String",
|
2413
2422
|
# from_port: 1,
|
2414
|
-
# group_id: "
|
2415
|
-
# group_name: "
|
2423
|
+
# group_id: "SecurityGroupId",
|
2424
|
+
# group_name: "SecurityGroupName",
|
2416
2425
|
# ip_permissions: [
|
2417
2426
|
# {
|
2418
2427
|
# from_port: 1,
|
@@ -2877,7 +2886,7 @@ module Aws::EC2
|
|
2877
2886
|
#
|
2878
2887
|
# resp = client.cancel_spot_fleet_requests({
|
2879
2888
|
# dry_run: false,
|
2880
|
-
# spot_fleet_request_ids: ["
|
2889
|
+
# spot_fleet_request_ids: ["SpotFleetRequestId"], # required
|
2881
2890
|
# terminate_instances: false, # required
|
2882
2891
|
# })
|
2883
2892
|
#
|
@@ -2944,7 +2953,7 @@ module Aws::EC2
|
|
2944
2953
|
#
|
2945
2954
|
# resp = client.cancel_spot_instance_requests({
|
2946
2955
|
# dry_run: false,
|
2947
|
-
# spot_instance_request_ids: ["
|
2956
|
+
# spot_instance_request_ids: ["SpotInstanceRequestId"], # required
|
2948
2957
|
# })
|
2949
2958
|
#
|
2950
2959
|
# @example Response structure
|
@@ -3058,7 +3067,7 @@ module Aws::EC2
|
|
3058
3067
|
#
|
3059
3068
|
# resp = client.copy_fpga_image({
|
3060
3069
|
# dry_run: false,
|
3061
|
-
# source_fpga_image_id: "
|
3070
|
+
# source_fpga_image_id: "FpgaImageId", # required
|
3062
3071
|
# description: "String",
|
3063
3072
|
# name: "String",
|
3064
3073
|
# source_region: "String", # required
|
@@ -3374,7 +3383,7 @@ module Aws::EC2
|
|
3374
3383
|
# description: "String",
|
3375
3384
|
# destination_region: "String",
|
3376
3385
|
# encrypted: false,
|
3377
|
-
# kms_key_id: "
|
3386
|
+
# kms_key_id: "KmsKeyId",
|
3378
3387
|
# presigned_url: "String",
|
3379
3388
|
# source_region: "String", # required
|
3380
3389
|
# source_snapshot_id: "String", # required
|
@@ -4079,8 +4088,8 @@ module Aws::EC2
|
|
4079
4088
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
|
4080
4089
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
4081
4090
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
|
4082
|
-
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_pool #=> String
|
4083
4091
|
# resp.vpc.ipv_6_cidr_block_association_set[0].network_border_group #=> String
|
4092
|
+
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_pool #=> String
|
4084
4093
|
# resp.vpc.cidr_block_association_set #=> Array
|
4085
4094
|
# resp.vpc.cidr_block_association_set[0].association_id #=> String
|
4086
4095
|
# resp.vpc.cidr_block_association_set[0].cidr_block #=> String
|
@@ -4415,7 +4424,7 @@ module Aws::EC2
|
|
4415
4424
|
# launch_template_configs: [ # required
|
4416
4425
|
# {
|
4417
4426
|
# launch_template_specification: {
|
4418
|
-
# launch_template_id: "
|
4427
|
+
# launch_template_id: "LaunchTemplateId",
|
4419
4428
|
# launch_template_name: "LaunchTemplateName",
|
4420
4429
|
# version: "String",
|
4421
4430
|
# },
|
@@ -4423,7 +4432,7 @@ module Aws::EC2
|
|
4423
4432
|
# {
|
4424
4433
|
# 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, 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, 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, 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, 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, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, 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, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, 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
|
4425
4434
|
# max_price: "String",
|
4426
|
-
# subnet_id: "
|
4435
|
+
# subnet_id: "SubnetId",
|
4427
4436
|
# availability_zone: "String",
|
4428
4437
|
# weighted_capacity: 1.0,
|
4429
4438
|
# priority: 1.0,
|
@@ -4629,9 +4638,9 @@ module Aws::EC2
|
|
4629
4638
|
# captured and aggregated into a flow log record. You can specify 60
|
4630
4639
|
# seconds (1 minute) or 600 seconds (10 minutes).
|
4631
4640
|
#
|
4632
|
-
#
|
4633
|
-
# aggregation interval is always 60 seconds, regardless of
|
4634
|
-
# that you specify.
|
4641
|
+
# When a network interface is attached to a [Nitro-based instance][1],
|
4642
|
+
# the aggregation interval is always 60 seconds or less, regardless of
|
4643
|
+
# the value that you specify.
|
4635
4644
|
#
|
4636
4645
|
# Default: 600
|
4637
4646
|
#
|
@@ -4652,7 +4661,7 @@ module Aws::EC2
|
|
4652
4661
|
# client_token: "String",
|
4653
4662
|
# deliver_logs_permission_arn: "String",
|
4654
4663
|
# log_group_name: "String",
|
4655
|
-
# resource_ids: ["
|
4664
|
+
# resource_ids: ["FlowLogResourceId"], # required
|
4656
4665
|
# resource_type: "VPC", # required, accepts VPC, Subnet, NetworkInterface
|
4657
4666
|
# traffic_type: "ACCEPT", # required, accepts ACCEPT, REJECT, ALL
|
4658
4667
|
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
@@ -5074,7 +5083,7 @@ module Aws::EC2
|
|
5074
5083
|
# @example Request syntax with placeholder values
|
5075
5084
|
#
|
5076
5085
|
# resp = client.create_key_pair({
|
5077
|
-
# key_name: "
|
5086
|
+
# key_name: "String", # required
|
5078
5087
|
# dry_run: false,
|
5079
5088
|
# })
|
5080
5089
|
#
|
@@ -5186,7 +5195,7 @@ module Aws::EC2
|
|
5186
5195
|
# launch_template_name: "LaunchTemplateName", # required
|
5187
5196
|
# version_description: "VersionDescription",
|
5188
5197
|
# launch_template_data: { # required
|
5189
|
-
# kernel_id: "
|
5198
|
+
# kernel_id: "KernelId",
|
5190
5199
|
# ebs_optimized: false,
|
5191
5200
|
# iam_instance_profile: {
|
5192
5201
|
# arn: "String",
|
@@ -5201,7 +5210,7 @@ module Aws::EC2
|
|
5201
5210
|
# delete_on_termination: false,
|
5202
5211
|
# iops: 1,
|
5203
5212
|
# kms_key_id: "String",
|
5204
|
-
# snapshot_id: "
|
5213
|
+
# snapshot_id: "SnapshotId",
|
5205
5214
|
# volume_size: 1,
|
5206
5215
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
5207
5216
|
# },
|
@@ -5214,7 +5223,7 @@ module Aws::EC2
|
|
5214
5223
|
# delete_on_termination: false,
|
5215
5224
|
# description: "String",
|
5216
5225
|
# device_index: 1,
|
5217
|
-
# groups: ["
|
5226
|
+
# groups: ["SecurityGroupId"],
|
5218
5227
|
# interface_type: "String",
|
5219
5228
|
# ipv_6_address_count: 1,
|
5220
5229
|
# ipv_6_addresses: [
|
@@ -5222,7 +5231,7 @@ module Aws::EC2
|
|
5222
5231
|
# ipv_6_address: "String",
|
5223
5232
|
# },
|
5224
5233
|
# ],
|
5225
|
-
# network_interface_id: "
|
5234
|
+
# network_interface_id: "NetworkInterfaceId",
|
5226
5235
|
# private_ip_address: "String",
|
5227
5236
|
# private_ip_addresses: [
|
5228
5237
|
# {
|
@@ -5231,26 +5240,26 @@ module Aws::EC2
|
|
5231
5240
|
# },
|
5232
5241
|
# ],
|
5233
5242
|
# secondary_private_ip_address_count: 1,
|
5234
|
-
# subnet_id: "
|
5243
|
+
# subnet_id: "SubnetId",
|
5235
5244
|
# },
|
5236
5245
|
# ],
|
5237
|
-
# image_id: "
|
5246
|
+
# image_id: "ImageId",
|
5238
5247
|
# 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, 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, 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, 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, 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, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, 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, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, 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
|
5239
|
-
# key_name: "
|
5248
|
+
# key_name: "KeyPairName",
|
5240
5249
|
# monitoring: {
|
5241
5250
|
# enabled: false,
|
5242
5251
|
# },
|
5243
5252
|
# placement: {
|
5244
5253
|
# availability_zone: "String",
|
5245
5254
|
# affinity: "String",
|
5246
|
-
# group_name: "
|
5247
|
-
# host_id: "
|
5255
|
+
# group_name: "PlacementGroupName",
|
5256
|
+
# host_id: "DedicatedHostId",
|
5248
5257
|
# tenancy: "default", # accepts default, dedicated, host
|
5249
5258
|
# spread_domain: "String",
|
5250
5259
|
# host_resource_group_arn: "String",
|
5251
5260
|
# partition_number: 1,
|
5252
5261
|
# },
|
5253
|
-
# ram_disk_id: "
|
5262
|
+
# ram_disk_id: "RamdiskId",
|
5254
5263
|
# disable_api_termination: false,
|
5255
5264
|
# instance_initiated_shutdown_behavior: "stop", # accepts stop, terminate
|
5256
5265
|
# user_data: "String",
|
@@ -5276,8 +5285,8 @@ module Aws::EC2
|
|
5276
5285
|
# count: 1,
|
5277
5286
|
# },
|
5278
5287
|
# ],
|
5279
|
-
# security_group_ids: ["
|
5280
|
-
# security_groups: ["
|
5288
|
+
# security_group_ids: ["SecurityGroupId"],
|
5289
|
+
# security_groups: ["SecurityGroupName"],
|
5281
5290
|
# instance_market_options: {
|
5282
5291
|
# market_type: "spot", # accepts spot
|
5283
5292
|
# spot_options: {
|
@@ -5298,7 +5307,7 @@ module Aws::EC2
|
|
5298
5307
|
# capacity_reservation_specification: {
|
5299
5308
|
# capacity_reservation_preference: "open", # accepts open, none
|
5300
5309
|
# capacity_reservation_target: {
|
5301
|
-
# capacity_reservation_id: "
|
5310
|
+
# capacity_reservation_id: "CapacityReservationId",
|
5302
5311
|
# },
|
5303
5312
|
# },
|
5304
5313
|
# license_specifications: [
|
@@ -5454,7 +5463,7 @@ module Aws::EC2
|
|
5454
5463
|
# source_version: "String",
|
5455
5464
|
# version_description: "VersionDescription",
|
5456
5465
|
# launch_template_data: { # required
|
5457
|
-
# kernel_id: "
|
5466
|
+
# kernel_id: "KernelId",
|
5458
5467
|
# ebs_optimized: false,
|
5459
5468
|
# iam_instance_profile: {
|
5460
5469
|
# arn: "String",
|
@@ -5469,7 +5478,7 @@ module Aws::EC2
|
|
5469
5478
|
# delete_on_termination: false,
|
5470
5479
|
# iops: 1,
|
5471
5480
|
# kms_key_id: "String",
|
5472
|
-
# snapshot_id: "
|
5481
|
+
# snapshot_id: "SnapshotId",
|
5473
5482
|
# volume_size: 1,
|
5474
5483
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
5475
5484
|
# },
|
@@ -5482,7 +5491,7 @@ module Aws::EC2
|
|
5482
5491
|
# delete_on_termination: false,
|
5483
5492
|
# description: "String",
|
5484
5493
|
# device_index: 1,
|
5485
|
-
# groups: ["
|
5494
|
+
# groups: ["SecurityGroupId"],
|
5486
5495
|
# interface_type: "String",
|
5487
5496
|
# ipv_6_address_count: 1,
|
5488
5497
|
# ipv_6_addresses: [
|
@@ -5490,7 +5499,7 @@ module Aws::EC2
|
|
5490
5499
|
# ipv_6_address: "String",
|
5491
5500
|
# },
|
5492
5501
|
# ],
|
5493
|
-
# network_interface_id: "
|
5502
|
+
# network_interface_id: "NetworkInterfaceId",
|
5494
5503
|
# private_ip_address: "String",
|
5495
5504
|
# private_ip_addresses: [
|
5496
5505
|
# {
|
@@ -5499,26 +5508,26 @@ module Aws::EC2
|
|
5499
5508
|
# },
|
5500
5509
|
# ],
|
5501
5510
|
# secondary_private_ip_address_count: 1,
|
5502
|
-
# subnet_id: "
|
5511
|
+
# subnet_id: "SubnetId",
|
5503
5512
|
# },
|
5504
5513
|
# ],
|
5505
|
-
# image_id: "
|
5514
|
+
# image_id: "ImageId",
|
5506
5515
|
# 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, 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, 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, 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, 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, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, 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, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, 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
|
5507
|
-
# key_name: "
|
5516
|
+
# key_name: "KeyPairName",
|
5508
5517
|
# monitoring: {
|
5509
5518
|
# enabled: false,
|
5510
5519
|
# },
|
5511
5520
|
# placement: {
|
5512
5521
|
# availability_zone: "String",
|
5513
5522
|
# affinity: "String",
|
5514
|
-
# group_name: "
|
5515
|
-
# host_id: "
|
5523
|
+
# group_name: "PlacementGroupName",
|
5524
|
+
# host_id: "DedicatedHostId",
|
5516
5525
|
# tenancy: "default", # accepts default, dedicated, host
|
5517
5526
|
# spread_domain: "String",
|
5518
5527
|
# host_resource_group_arn: "String",
|
5519
5528
|
# partition_number: 1,
|
5520
5529
|
# },
|
5521
|
-
# ram_disk_id: "
|
5530
|
+
# ram_disk_id: "RamdiskId",
|
5522
5531
|
# disable_api_termination: false,
|
5523
5532
|
# instance_initiated_shutdown_behavior: "stop", # accepts stop, terminate
|
5524
5533
|
# user_data: "String",
|
@@ -5544,8 +5553,8 @@ module Aws::EC2
|
|
5544
5553
|
# count: 1,
|
5545
5554
|
# },
|
5546
5555
|
# ],
|
5547
|
-
# security_group_ids: ["
|
5548
|
-
# security_groups: ["
|
5556
|
+
# security_group_ids: ["SecurityGroupId"],
|
5557
|
+
# security_groups: ["SecurityGroupName"],
|
5549
5558
|
# instance_market_options: {
|
5550
5559
|
# market_type: "spot", # accepts spot
|
5551
5560
|
# spot_options: {
|
@@ -5566,7 +5575,7 @@ module Aws::EC2
|
|
5566
5575
|
# capacity_reservation_specification: {
|
5567
5576
|
# capacity_reservation_preference: "open", # accepts open, none
|
5568
5577
|
# capacity_reservation_target: {
|
5569
|
-
# capacity_reservation_id: "
|
5578
|
+
# capacity_reservation_id: "CapacityReservationId",
|
5570
5579
|
# },
|
5571
5580
|
# },
|
5572
5581
|
# license_specifications: [
|
@@ -5711,8 +5720,8 @@ module Aws::EC2
|
|
5711
5720
|
#
|
5712
5721
|
# resp = client.create_local_gateway_route({
|
5713
5722
|
# destination_cidr_block: "String", # required
|
5714
|
-
# local_gateway_route_table_id: "
|
5715
|
-
# local_gateway_virtual_interface_group_id: "
|
5723
|
+
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
5724
|
+
# local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
|
5716
5725
|
# dry_run: false,
|
5717
5726
|
# })
|
5718
5727
|
#
|
@@ -5755,8 +5764,8 @@ module Aws::EC2
|
|
5755
5764
|
# @example Request syntax with placeholder values
|
5756
5765
|
#
|
5757
5766
|
# resp = client.create_local_gateway_route_table_vpc_association({
|
5758
|
-
# local_gateway_route_table_id: "
|
5759
|
-
# vpc_id: "
|
5767
|
+
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
5768
|
+
# vpc_id: "VpcId", # required
|
5760
5769
|
# dry_run: false,
|
5761
5770
|
# })
|
5762
5771
|
#
|
@@ -6237,7 +6246,7 @@ module Aws::EC2
|
|
6237
6246
|
# resp = client.create_network_interface({
|
6238
6247
|
# description: "String",
|
6239
6248
|
# dry_run: false,
|
6240
|
-
# groups: ["
|
6249
|
+
# groups: ["SecurityGroupId"],
|
6241
6250
|
# ipv_6_address_count: 1,
|
6242
6251
|
# ipv_6_addresses: [
|
6243
6252
|
# {
|
@@ -6511,7 +6520,7 @@ module Aws::EC2
|
|
6511
6520
|
# term: 1,
|
6512
6521
|
# },
|
6513
6522
|
# ],
|
6514
|
-
# reserved_instances_id: "
|
6523
|
+
# reserved_instances_id: "ReservationId", # required
|
6515
6524
|
# })
|
6516
6525
|
#
|
6517
6526
|
# @example Response structure
|
@@ -6640,11 +6649,11 @@ module Aws::EC2
|
|
6640
6649
|
# destination_ipv_6_cidr_block: "String",
|
6641
6650
|
# dry_run: false,
|
6642
6651
|
# egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
|
6643
|
-
# gateway_id: "
|
6652
|
+
# gateway_id: "RouteGatewayId",
|
6644
6653
|
# instance_id: "InstanceId",
|
6645
6654
|
# nat_gateway_id: "NatGatewayId",
|
6646
6655
|
# transit_gateway_id: "TransitGatewayId",
|
6647
|
-
# local_gateway_id: "
|
6656
|
+
# local_gateway_id: "LocalGatewayId",
|
6648
6657
|
# network_interface_id: "NetworkInterfaceId",
|
6649
6658
|
# route_table_id: "RouteTableId", # required
|
6650
6659
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
@@ -7047,7 +7056,7 @@ module Aws::EC2
|
|
7047
7056
|
# resp = client.create_snapshots({
|
7048
7057
|
# description: "String",
|
7049
7058
|
# instance_specification: { # required
|
7050
|
-
# instance_id: "
|
7059
|
+
# instance_id: "InstanceId",
|
7051
7060
|
# exclude_boot_volume: false,
|
7052
7061
|
# },
|
7053
7062
|
# tag_specifications: [
|
@@ -7363,7 +7372,7 @@ module Aws::EC2
|
|
7363
7372
|
#
|
7364
7373
|
# resp = client.create_tags({
|
7365
7374
|
# dry_run: false,
|
7366
|
-
# resources: ["
|
7375
|
+
# resources: ["TaggableResourceId"], # required
|
7367
7376
|
# tags: [ # required
|
7368
7377
|
# {
|
7369
7378
|
# key: "String",
|
@@ -7969,7 +7978,7 @@ module Aws::EC2
|
|
7969
7978
|
# @example Request syntax with placeholder values
|
7970
7979
|
#
|
7971
7980
|
# resp = client.create_transit_gateway_multicast_domain({
|
7972
|
-
# transit_gateway_id: "
|
7981
|
+
# transit_gateway_id: "TransitGatewayId", # required
|
7973
7982
|
# tag_specifications: [
|
7974
7983
|
# {
|
7975
7984
|
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
@@ -8040,7 +8049,7 @@ module Aws::EC2
|
|
8040
8049
|
# @example Request syntax with placeholder values
|
8041
8050
|
#
|
8042
8051
|
# resp = client.create_transit_gateway_peering_attachment({
|
8043
|
-
# transit_gateway_id: "
|
8052
|
+
# transit_gateway_id: "TransitGatewayId", # required
|
8044
8053
|
# peer_transit_gateway_id: "String", # required
|
8045
8054
|
# peer_account_id: "String", # required
|
8046
8055
|
# peer_region: "String", # required
|
@@ -8113,8 +8122,8 @@ module Aws::EC2
|
|
8113
8122
|
#
|
8114
8123
|
# resp = client.create_transit_gateway_route({
|
8115
8124
|
# destination_cidr_block: "String", # required
|
8116
|
-
# transit_gateway_route_table_id: "
|
8117
|
-
# transit_gateway_attachment_id: "
|
8125
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
8126
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId",
|
8118
8127
|
# blackhole: false,
|
8119
8128
|
# dry_run: false,
|
8120
8129
|
# })
|
@@ -8159,7 +8168,7 @@ module Aws::EC2
|
|
8159
8168
|
# @example Request syntax with placeholder values
|
8160
8169
|
#
|
8161
8170
|
# resp = client.create_transit_gateway_route_table({
|
8162
|
-
# transit_gateway_id: "
|
8171
|
+
# transit_gateway_id: "TransitGatewayId", # required
|
8163
8172
|
# tag_specifications: [
|
8164
8173
|
# {
|
8165
8174
|
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
@@ -8235,9 +8244,9 @@ module Aws::EC2
|
|
8235
8244
|
# @example Request syntax with placeholder values
|
8236
8245
|
#
|
8237
8246
|
# resp = client.create_transit_gateway_vpc_attachment({
|
8238
|
-
# transit_gateway_id: "
|
8239
|
-
# vpc_id: "
|
8240
|
-
# subnet_ids: ["
|
8247
|
+
# transit_gateway_id: "TransitGatewayId", # required
|
8248
|
+
# vpc_id: "VpcId", # required
|
8249
|
+
# subnet_ids: ["SubnetId"], # required
|
8241
8250
|
# options: {
|
8242
8251
|
# dns_support: "enable", # accepts enable, disable
|
8243
8252
|
# ipv_6_support: "enable", # accepts enable, disable
|
@@ -8371,7 +8380,8 @@ module Aws::EC2
|
|
8371
8380
|
# The Amazon Resource Name (ARN) of the Outpost.
|
8372
8381
|
#
|
8373
8382
|
# @option params [Integer] :size
|
8374
|
-
# The size of the volume, in GiBs.
|
8383
|
+
# The size of the volume, in GiBs. You must specify either a snapshot ID
|
8384
|
+
# or a volume size.
|
8375
8385
|
#
|
8376
8386
|
# Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1`, 500-16,384 for
|
8377
8387
|
# `st1`, 500-16,384 for `sc1`, and 1-1,024 for `standard`. If you
|
@@ -8381,16 +8391,9 @@ module Aws::EC2
|
|
8381
8391
|
# Default: If you're creating the volume from a snapshot and don't
|
8382
8392
|
# specify a volume size, the default is the snapshot size.
|
8383
8393
|
#
|
8384
|
-
# <note markdown="1"> At least one of Size or SnapshotId is required.
|
8385
|
-
#
|
8386
|
-
# </note>
|
8387
|
-
#
|
8388
8394
|
# @option params [String] :snapshot_id
|
8389
|
-
# The snapshot from which to create the volume.
|
8390
|
-
#
|
8391
|
-
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
8392
|
-
#
|
8393
|
-
# </note>
|
8395
|
+
# The snapshot from which to create the volume. You must specify either
|
8396
|
+
# a snapshot ID or a volume size.
|
8394
8397
|
#
|
8395
8398
|
# @option params [String] :volume_type
|
8396
8399
|
# The volume type. This can be `gp2` for General Purpose SSD, `io1` for
|
@@ -8408,6 +8411,18 @@ module Aws::EC2
|
|
8408
8411
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
8409
8412
|
# The tags to apply to the volume during creation.
|
8410
8413
|
#
|
8414
|
+
# @option params [Boolean] :multi_attach_enabled
|
8415
|
+
# Specifies whether to enable Amazon EBS Multi-Attach. If you enable
|
8416
|
+
# Multi-Attach, you can attach the volume to up to 16 [Nitro-based
|
8417
|
+
# instances][1] in the same Availability Zone. For more information, see
|
8418
|
+
# [ Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute Cloud
|
8419
|
+
# User Guide*.
|
8420
|
+
#
|
8421
|
+
#
|
8422
|
+
#
|
8423
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
8424
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html
|
8425
|
+
#
|
8411
8426
|
# @return [Types::Volume] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8412
8427
|
#
|
8413
8428
|
# * {Types::Volume#attachments #attachments} => Array<Types::VolumeAttachment>
|
@@ -8424,6 +8439,7 @@ module Aws::EC2
|
|
8424
8439
|
# * {Types::Volume#tags #tags} => Array<Types::Tag>
|
8425
8440
|
# * {Types::Volume#volume_type #volume_type} => String
|
8426
8441
|
# * {Types::Volume#fast_restored #fast_restored} => Boolean
|
8442
|
+
# * {Types::Volume#multi_attach_enabled #multi_attach_enabled} => Boolean
|
8427
8443
|
#
|
8428
8444
|
#
|
8429
8445
|
# @example Example: To create a new volume
|
@@ -8500,6 +8516,7 @@ module Aws::EC2
|
|
8500
8516
|
# ],
|
8501
8517
|
# },
|
8502
8518
|
# ],
|
8519
|
+
# multi_attach_enabled: false,
|
8503
8520
|
# })
|
8504
8521
|
#
|
8505
8522
|
# @example Response structure
|
@@ -8526,6 +8543,7 @@ module Aws::EC2
|
|
8526
8543
|
# resp.tags[0].value #=> String
|
8527
8544
|
# resp.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
8528
8545
|
# resp.fast_restored #=> Boolean
|
8546
|
+
# resp.multi_attach_enabled #=> Boolean
|
8529
8547
|
#
|
8530
8548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolume AWS API Documentation
|
8531
8549
|
#
|
@@ -8638,7 +8656,7 @@ module Aws::EC2
|
|
8638
8656
|
# resp = client.create_vpc({
|
8639
8657
|
# cidr_block: "String", # required
|
8640
8658
|
# amazon_provided_ipv_6_cidr_block: false,
|
8641
|
-
# ipv_6_pool: "
|
8659
|
+
# ipv_6_pool: "Ipv6PoolEc2Id",
|
8642
8660
|
# ipv_6_cidr_block: "String",
|
8643
8661
|
# dry_run: false,
|
8644
8662
|
# instance_tenancy: "default", # accepts default, dedicated, host
|
@@ -8658,8 +8676,8 @@ module Aws::EC2
|
|
8658
8676
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
|
8659
8677
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
8660
8678
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
|
8661
|
-
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_pool #=> String
|
8662
8679
|
# resp.vpc.ipv_6_cidr_block_association_set[0].network_border_group #=> String
|
8680
|
+
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_pool #=> String
|
8663
8681
|
# resp.vpc.cidr_block_association_set #=> Array
|
8664
8682
|
# resp.vpc.cidr_block_association_set[0].association_id #=> String
|
8665
8683
|
# resp.vpc.cidr_block_association_set[0].cidr_block #=> String
|
@@ -8779,9 +8797,9 @@ module Aws::EC2
|
|
8779
8797
|
# vpc_id: "VpcId", # required
|
8780
8798
|
# service_name: "String", # required
|
8781
8799
|
# policy_document: "String",
|
8782
|
-
# route_table_ids: ["
|
8783
|
-
# subnet_ids: ["
|
8784
|
-
# security_group_ids: ["
|
8800
|
+
# route_table_ids: ["RouteTableId"],
|
8801
|
+
# subnet_ids: ["SubnetId"],
|
8802
|
+
# security_group_ids: ["SecurityGroupId"],
|
8785
8803
|
# client_token: "String",
|
8786
8804
|
# private_dns_enabled: false,
|
8787
8805
|
# tag_specifications: [
|
@@ -8886,7 +8904,7 @@ module Aws::EC2
|
|
8886
8904
|
#
|
8887
8905
|
# resp = client.create_vpc_endpoint_connection_notification({
|
8888
8906
|
# dry_run: false,
|
8889
|
-
# service_id: "
|
8907
|
+
# service_id: "VpcEndpointServiceId",
|
8890
8908
|
# vpc_endpoint_id: "VpcEndpointId",
|
8891
8909
|
# connection_notification_arn: "String", # required
|
8892
8910
|
# connection_events: ["String"], # required
|
@@ -9682,7 +9700,7 @@ module Aws::EC2
|
|
9682
9700
|
#
|
9683
9701
|
# resp = client.delete_flow_logs({
|
9684
9702
|
# dry_run: false,
|
9685
|
-
# flow_log_ids: ["
|
9703
|
+
# flow_log_ids: ["VpcFlowLogId"], # required
|
9686
9704
|
# })
|
9687
9705
|
#
|
9688
9706
|
# @example Response structure
|
@@ -9993,7 +10011,7 @@ module Aws::EC2
|
|
9993
10011
|
#
|
9994
10012
|
# resp = client.delete_local_gateway_route({
|
9995
10013
|
# destination_cidr_block: "String", # required
|
9996
|
-
# local_gateway_route_table_id: "
|
10014
|
+
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
9997
10015
|
# dry_run: false,
|
9998
10016
|
# })
|
9999
10017
|
#
|
@@ -10033,7 +10051,7 @@ module Aws::EC2
|
|
10033
10051
|
# @example Request syntax with placeholder values
|
10034
10052
|
#
|
10035
10053
|
# resp = client.delete_local_gateway_route_table_vpc_association({
|
10036
|
-
# local_gateway_route_table_vpc_association_id: "
|
10054
|
+
# local_gateway_route_table_vpc_association_id: "LocalGatewayRouteTableVpcAssociationId", # required
|
10037
10055
|
# dry_run: false,
|
10038
10056
|
# })
|
10039
10057
|
#
|
@@ -10255,7 +10273,7 @@ module Aws::EC2
|
|
10255
10273
|
# @example Request syntax with placeholder values
|
10256
10274
|
#
|
10257
10275
|
# resp = client.delete_network_interface_permission({
|
10258
|
-
# network_interface_permission_id: "
|
10276
|
+
# network_interface_permission_id: "NetworkInterfacePermissionId", # required
|
10259
10277
|
# force: false,
|
10260
10278
|
# dry_run: false,
|
10261
10279
|
# })
|
@@ -10310,7 +10328,7 @@ module Aws::EC2
|
|
10310
10328
|
#
|
10311
10329
|
# resp = client.delete_placement_group({
|
10312
10330
|
# dry_run: false,
|
10313
|
-
# group_name: "
|
10331
|
+
# group_name: "PlacementGroupName", # required
|
10314
10332
|
# })
|
10315
10333
|
#
|
10316
10334
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroup AWS API Documentation
|
@@ -10342,7 +10360,7 @@ module Aws::EC2
|
|
10342
10360
|
#
|
10343
10361
|
# resp = client.delete_queued_reserved_instances({
|
10344
10362
|
# dry_run: false,
|
10345
|
-
# reserved_instances_ids: ["
|
10363
|
+
# reserved_instances_ids: ["ReservationId"], # required
|
10346
10364
|
# })
|
10347
10365
|
#
|
10348
10366
|
# @example Response structure
|
@@ -10440,7 +10458,7 @@ module Aws::EC2
|
|
10440
10458
|
#
|
10441
10459
|
# resp = client.delete_route_table({
|
10442
10460
|
# dry_run: false,
|
10443
|
-
# route_table_id: "
|
10461
|
+
# route_table_id: "RouteTableId", # required
|
10444
10462
|
# })
|
10445
10463
|
#
|
10446
10464
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTable AWS API Documentation
|
@@ -10490,8 +10508,8 @@ module Aws::EC2
|
|
10490
10508
|
# @example Request syntax with placeholder values
|
10491
10509
|
#
|
10492
10510
|
# resp = client.delete_security_group({
|
10493
|
-
# group_id: "
|
10494
|
-
# group_name: "
|
10511
|
+
# group_id: "SecurityGroupId",
|
10512
|
+
# group_name: "SecurityGroupName",
|
10495
10513
|
# dry_run: false,
|
10496
10514
|
# })
|
10497
10515
|
#
|
@@ -10694,7 +10712,7 @@ module Aws::EC2
|
|
10694
10712
|
#
|
10695
10713
|
# resp = client.delete_tags({
|
10696
10714
|
# dry_run: false,
|
10697
|
-
# resources: ["
|
10715
|
+
# resources: ["TaggableResourceId"], # required
|
10698
10716
|
# tags: [
|
10699
10717
|
# {
|
10700
10718
|
# key: "String",
|
@@ -10876,7 +10894,7 @@ module Aws::EC2
|
|
10876
10894
|
# @example Request syntax with placeholder values
|
10877
10895
|
#
|
10878
10896
|
# resp = client.delete_transit_gateway({
|
10879
|
-
# transit_gateway_id: "
|
10897
|
+
# transit_gateway_id: "TransitGatewayId", # required
|
10880
10898
|
# dry_run: false,
|
10881
10899
|
# })
|
10882
10900
|
#
|
@@ -10928,7 +10946,7 @@ module Aws::EC2
|
|
10928
10946
|
# @example Request syntax with placeholder values
|
10929
10947
|
#
|
10930
10948
|
# resp = client.delete_transit_gateway_multicast_domain({
|
10931
|
-
# transit_gateway_multicast_domain_id: "
|
10949
|
+
# transit_gateway_multicast_domain_id: "TransitGatewayMulticastDomainId", # required
|
10932
10950
|
# dry_run: false,
|
10933
10951
|
# })
|
10934
10952
|
#
|
@@ -10969,7 +10987,7 @@ module Aws::EC2
|
|
10969
10987
|
# @example Request syntax with placeholder values
|
10970
10988
|
#
|
10971
10989
|
# resp = client.delete_transit_gateway_peering_attachment({
|
10972
|
-
# transit_gateway_attachment_id: "
|
10990
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
10973
10991
|
# dry_run: false,
|
10974
10992
|
# })
|
10975
10993
|
#
|
@@ -11022,7 +11040,7 @@ module Aws::EC2
|
|
11022
11040
|
# @example Request syntax with placeholder values
|
11023
11041
|
#
|
11024
11042
|
# resp = client.delete_transit_gateway_route({
|
11025
|
-
# transit_gateway_route_table_id: "
|
11043
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
11026
11044
|
# destination_cidr_block: "String", # required
|
11027
11045
|
# dry_run: false,
|
11028
11046
|
# })
|
@@ -11066,7 +11084,7 @@ module Aws::EC2
|
|
11066
11084
|
# @example Request syntax with placeholder values
|
11067
11085
|
#
|
11068
11086
|
# resp = client.delete_transit_gateway_route_table({
|
11069
|
-
# transit_gateway_route_table_id: "
|
11087
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
11070
11088
|
# dry_run: false,
|
11071
11089
|
# })
|
11072
11090
|
#
|
@@ -11109,7 +11127,7 @@ module Aws::EC2
|
|
11109
11127
|
# @example Request syntax with placeholder values
|
11110
11128
|
#
|
11111
11129
|
# resp = client.delete_transit_gateway_vpc_attachment({
|
11112
|
-
# transit_gateway_attachment_id: "
|
11130
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
11113
11131
|
# dry_run: false,
|
11114
11132
|
# })
|
11115
11133
|
#
|
@@ -11294,7 +11312,7 @@ module Aws::EC2
|
|
11294
11312
|
#
|
11295
11313
|
# resp = client.delete_vpc_endpoint_service_configurations({
|
11296
11314
|
# dry_run: false,
|
11297
|
-
# service_ids: ["
|
11315
|
+
# service_ids: ["VpcEndpointServiceId"], # required
|
11298
11316
|
# })
|
11299
11317
|
#
|
11300
11318
|
# @example Response structure
|
@@ -11335,7 +11353,7 @@ module Aws::EC2
|
|
11335
11353
|
#
|
11336
11354
|
# resp = client.delete_vpc_endpoints({
|
11337
11355
|
# dry_run: false,
|
11338
|
-
# vpc_endpoint_ids: ["
|
11356
|
+
# vpc_endpoint_ids: ["VpcEndpointId"], # required
|
11339
11357
|
# })
|
11340
11358
|
#
|
11341
11359
|
# @example Response structure
|
@@ -11604,9 +11622,9 @@ module Aws::EC2
|
|
11604
11622
|
# @example Request syntax with placeholder values
|
11605
11623
|
#
|
11606
11624
|
# resp = client.deregister_transit_gateway_multicast_group_members({
|
11607
|
-
# transit_gateway_multicast_domain_id: "
|
11625
|
+
# transit_gateway_multicast_domain_id: "TransitGatewayMulticastDomainId",
|
11608
11626
|
# group_ip_address: "String",
|
11609
|
-
# network_interface_ids: ["
|
11627
|
+
# network_interface_ids: ["NetworkInterfaceId"],
|
11610
11628
|
# dry_run: false,
|
11611
11629
|
# })
|
11612
11630
|
#
|
@@ -11651,9 +11669,9 @@ module Aws::EC2
|
|
11651
11669
|
# @example Request syntax with placeholder values
|
11652
11670
|
#
|
11653
11671
|
# resp = client.deregister_transit_gateway_multicast_group_sources({
|
11654
|
-
# transit_gateway_multicast_domain_id: "
|
11672
|
+
# transit_gateway_multicast_domain_id: "TransitGatewayMulticastDomainId",
|
11655
11673
|
# group_ip_address: "String",
|
11656
|
-
# network_interface_ids: ["
|
11674
|
+
# network_interface_ids: ["NetworkInterfaceId"],
|
11657
11675
|
# dry_run: false,
|
11658
11676
|
# })
|
11659
11677
|
#
|
@@ -12270,7 +12288,7 @@ module Aws::EC2
|
|
12270
12288
|
# @example Request syntax with placeholder values
|
12271
12289
|
#
|
12272
12290
|
# resp = client.describe_bundle_tasks({
|
12273
|
-
# bundle_ids: ["
|
12291
|
+
# bundle_ids: ["BundleId"],
|
12274
12292
|
# filters: [
|
12275
12293
|
# {
|
12276
12294
|
# name: "String",
|
@@ -12498,7 +12516,7 @@ module Aws::EC2
|
|
12498
12516
|
# },
|
12499
12517
|
# ],
|
12500
12518
|
# dry_run: false,
|
12501
|
-
# instance_ids: ["
|
12519
|
+
# instance_ids: ["InstanceId"],
|
12502
12520
|
# max_results: 1,
|
12503
12521
|
# next_token: "String",
|
12504
12522
|
# })
|
@@ -12563,7 +12581,7 @@ module Aws::EC2
|
|
12563
12581
|
# @example Request syntax with placeholder values
|
12564
12582
|
#
|
12565
12583
|
# resp = client.describe_client_vpn_authorization_rules({
|
12566
|
-
# client_vpn_endpoint_id: "
|
12584
|
+
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
12567
12585
|
# dry_run: false,
|
12568
12586
|
# next_token: "NextToken",
|
12569
12587
|
# filters: [
|
@@ -12633,7 +12651,7 @@ module Aws::EC2
|
|
12633
12651
|
# @example Request syntax with placeholder values
|
12634
12652
|
#
|
12635
12653
|
# resp = client.describe_client_vpn_connections({
|
12636
|
-
# client_vpn_endpoint_id: "
|
12654
|
+
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
12637
12655
|
# filters: [
|
12638
12656
|
# {
|
12639
12657
|
# name: "String",
|
@@ -12707,7 +12725,7 @@ module Aws::EC2
|
|
12707
12725
|
# @example Request syntax with placeholder values
|
12708
12726
|
#
|
12709
12727
|
# resp = client.describe_client_vpn_endpoints({
|
12710
|
-
# client_vpn_endpoint_ids: ["
|
12728
|
+
# client_vpn_endpoint_ids: ["ClientVpnEndpointId"],
|
12711
12729
|
# max_results: 1,
|
12712
12730
|
# next_token: "NextToken",
|
12713
12731
|
# filters: [
|
@@ -12799,7 +12817,7 @@ module Aws::EC2
|
|
12799
12817
|
# @example Request syntax with placeholder values
|
12800
12818
|
#
|
12801
12819
|
# resp = client.describe_client_vpn_routes({
|
12802
|
-
# client_vpn_endpoint_id: "
|
12820
|
+
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
12803
12821
|
# filters: [
|
12804
12822
|
# {
|
12805
12823
|
# name: "String",
|
@@ -12874,7 +12892,7 @@ module Aws::EC2
|
|
12874
12892
|
# @example Request syntax with placeholder values
|
12875
12893
|
#
|
12876
12894
|
# resp = client.describe_client_vpn_target_networks({
|
12877
|
-
# client_vpn_endpoint_id: "
|
12895
|
+
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
12878
12896
|
# association_ids: ["String"],
|
12879
12897
|
# max_results: 1,
|
12880
12898
|
# next_token: "NextToken",
|
@@ -13009,7 +13027,7 @@ module Aws::EC2
|
|
13009
13027
|
# @example Request syntax with placeholder values
|
13010
13028
|
#
|
13011
13029
|
# resp = client.describe_conversion_tasks({
|
13012
|
-
# conversion_task_ids: ["
|
13030
|
+
# conversion_task_ids: ["ConversionTaskId"],
|
13013
13031
|
# dry_run: false,
|
13014
13032
|
# })
|
13015
13033
|
#
|
@@ -13135,7 +13153,7 @@ module Aws::EC2
|
|
13135
13153
|
# @example Request syntax with placeholder values
|
13136
13154
|
#
|
13137
13155
|
# resp = client.describe_customer_gateways({
|
13138
|
-
# customer_gateway_ids: ["
|
13156
|
+
# customer_gateway_ids: ["CustomerGatewayId"],
|
13139
13157
|
# filters: [
|
13140
13158
|
# {
|
13141
13159
|
# name: "String",
|
@@ -13259,7 +13277,7 @@ module Aws::EC2
|
|
13259
13277
|
# @example Request syntax with placeholder values
|
13260
13278
|
#
|
13261
13279
|
# resp = client.describe_dhcp_options({
|
13262
|
-
# dhcp_options_ids: ["
|
13280
|
+
# dhcp_options_ids: ["DhcpOptionsId"],
|
13263
13281
|
# filters: [
|
13264
13282
|
# {
|
13265
13283
|
# name: "String",
|
@@ -13419,7 +13437,7 @@ module Aws::EC2
|
|
13419
13437
|
# @example Request syntax with placeholder values
|
13420
13438
|
#
|
13421
13439
|
# resp = client.describe_elastic_gpus({
|
13422
|
-
# elastic_gpu_ids: ["
|
13440
|
+
# elastic_gpu_ids: ["ElasticGpuId"],
|
13423
13441
|
# dry_run: false,
|
13424
13442
|
# filters: [
|
13425
13443
|
# {
|
@@ -13492,7 +13510,7 @@ module Aws::EC2
|
|
13492
13510
|
# values: ["String"],
|
13493
13511
|
# },
|
13494
13512
|
# ],
|
13495
|
-
# export_image_task_ids: ["
|
13513
|
+
# export_image_task_ids: ["ExportImageTaskId"],
|
13496
13514
|
# max_results: 1,
|
13497
13515
|
# next_token: "NextToken",
|
13498
13516
|
# })
|
@@ -13989,7 +14007,7 @@ module Aws::EC2
|
|
13989
14007
|
# values: ["String"],
|
13990
14008
|
# },
|
13991
14009
|
# ],
|
13992
|
-
# flow_log_ids: ["
|
14010
|
+
# flow_log_ids: ["VpcFlowLogId"],
|
13993
14011
|
# max_results: 1,
|
13994
14012
|
# next_token: "String",
|
13995
14013
|
# })
|
@@ -14044,7 +14062,7 @@ module Aws::EC2
|
|
14044
14062
|
#
|
14045
14063
|
# resp = client.describe_fpga_image_attribute({
|
14046
14064
|
# dry_run: false,
|
14047
|
-
# fpga_image_id: "
|
14065
|
+
# fpga_image_id: "FpgaImageId", # required
|
14048
14066
|
# attribute: "description", # required, accepts description, name, loadPermission, productCodes
|
14049
14067
|
# })
|
14050
14068
|
#
|
@@ -14135,7 +14153,7 @@ module Aws::EC2
|
|
14135
14153
|
#
|
14136
14154
|
# resp = client.describe_fpga_images({
|
14137
14155
|
# dry_run: false,
|
14138
|
-
# fpga_image_ids: ["
|
14156
|
+
# fpga_image_ids: ["FpgaImageId"],
|
14139
14157
|
# owners: ["String"],
|
14140
14158
|
# filters: [
|
14141
14159
|
# {
|
@@ -14253,7 +14271,7 @@ module Aws::EC2
|
|
14253
14271
|
# max_results: 1,
|
14254
14272
|
# min_duration: 1,
|
14255
14273
|
# next_token: "String",
|
14256
|
-
# offering_id: "
|
14274
|
+
# offering_id: "OfferingId",
|
14257
14275
|
# })
|
14258
14276
|
#
|
14259
14277
|
# @example Response structure
|
@@ -14328,7 +14346,7 @@ module Aws::EC2
|
|
14328
14346
|
# values: ["String"],
|
14329
14347
|
# },
|
14330
14348
|
# ],
|
14331
|
-
# host_reservation_id_set: ["
|
14349
|
+
# host_reservation_id_set: ["HostReservationId"],
|
14332
14350
|
# max_results: 1,
|
14333
14351
|
# next_token: "String",
|
14334
14352
|
# })
|
@@ -14427,7 +14445,7 @@ module Aws::EC2
|
|
14427
14445
|
# values: ["String"],
|
14428
14446
|
# },
|
14429
14447
|
# ],
|
14430
|
-
# host_ids: ["
|
14448
|
+
# host_ids: ["DedicatedHostId"],
|
14431
14449
|
# max_results: 1,
|
14432
14450
|
# next_token: "String",
|
14433
14451
|
# })
|
@@ -14531,7 +14549,7 @@ module Aws::EC2
|
|
14531
14549
|
# @example Request syntax with placeholder values
|
14532
14550
|
#
|
14533
14551
|
# resp = client.describe_iam_instance_profile_associations({
|
14534
|
-
# association_ids: ["
|
14552
|
+
# association_ids: ["IamInstanceProfileAssociationId"],
|
14535
14553
|
# filters: [
|
14536
14554
|
# {
|
14537
14555
|
# name: "String",
|
@@ -14751,7 +14769,7 @@ module Aws::EC2
|
|
14751
14769
|
#
|
14752
14770
|
# resp = client.describe_image_attribute({
|
14753
14771
|
# attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport
|
14754
|
-
# image_id: "
|
14772
|
+
# image_id: "ImageId", # required
|
14755
14773
|
# dry_run: false,
|
14756
14774
|
# })
|
14757
14775
|
#
|
@@ -14973,7 +14991,7 @@ module Aws::EC2
|
|
14973
14991
|
# values: ["String"],
|
14974
14992
|
# },
|
14975
14993
|
# ],
|
14976
|
-
# image_ids: ["
|
14994
|
+
# image_ids: ["ImageId"],
|
14977
14995
|
# owners: ["String"],
|
14978
14996
|
# dry_run: false,
|
14979
14997
|
# })
|
@@ -15069,7 +15087,7 @@ module Aws::EC2
|
|
15069
15087
|
# values: ["String"],
|
15070
15088
|
# },
|
15071
15089
|
# ],
|
15072
|
-
# import_task_ids: ["
|
15090
|
+
# import_task_ids: ["ImportImageTaskId"],
|
15073
15091
|
# max_results: 1,
|
15074
15092
|
# next_token: "String",
|
15075
15093
|
# })
|
@@ -15154,7 +15172,7 @@ module Aws::EC2
|
|
15154
15172
|
# values: ["String"],
|
15155
15173
|
# },
|
15156
15174
|
# ],
|
15157
|
-
# import_task_ids: ["
|
15175
|
+
# import_task_ids: ["ImportSnapshotTaskId"],
|
15158
15176
|
# max_results: 1,
|
15159
15177
|
# next_token: "String",
|
15160
15178
|
# })
|
@@ -15303,7 +15321,7 @@ module Aws::EC2
|
|
15303
15321
|
# resp = client.describe_instance_attribute({
|
15304
15322
|
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport
|
15305
15323
|
# dry_run: false,
|
15306
|
-
# instance_id: "
|
15324
|
+
# instance_id: "InstanceId", # required
|
15307
15325
|
# })
|
15308
15326
|
#
|
15309
15327
|
# @example Response structure
|
@@ -15417,7 +15435,7 @@ module Aws::EC2
|
|
15417
15435
|
# values: ["String"],
|
15418
15436
|
# },
|
15419
15437
|
# ],
|
15420
|
-
# instance_ids: ["
|
15438
|
+
# instance_ids: ["InstanceId"],
|
15421
15439
|
# max_results: 1,
|
15422
15440
|
# next_token: "String",
|
15423
15441
|
# })
|
@@ -15602,7 +15620,7 @@ module Aws::EC2
|
|
15602
15620
|
# values: ["String"],
|
15603
15621
|
# },
|
15604
15622
|
# ],
|
15605
|
-
# instance_ids: ["
|
15623
|
+
# instance_ids: ["InstanceId"],
|
15606
15624
|
# max_results: 1,
|
15607
15625
|
# next_token: "String",
|
15608
15626
|
# dry_run: false,
|
@@ -15969,6 +15987,7 @@ module Aws::EC2
|
|
15969
15987
|
# running, if applicable.
|
15970
15988
|
#
|
15971
15989
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
15990
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
15972
15991
|
#
|
15973
15992
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
15974
15993
|
# the instance. Specified as an ARN.
|
@@ -16295,7 +16314,7 @@ module Aws::EC2
|
|
16295
16314
|
# values: ["String"],
|
16296
16315
|
# },
|
16297
16316
|
# ],
|
16298
|
-
# instance_ids: ["
|
16317
|
+
# instance_ids: ["InstanceId"],
|
16299
16318
|
# dry_run: false,
|
16300
16319
|
# max_results: 1,
|
16301
16320
|
# next_token: "String",
|
@@ -16528,7 +16547,7 @@ module Aws::EC2
|
|
16528
16547
|
# },
|
16529
16548
|
# ],
|
16530
16549
|
# dry_run: false,
|
16531
|
-
# internet_gateway_ids: ["
|
16550
|
+
# internet_gateway_ids: ["InternetGatewayId"],
|
16532
16551
|
# next_token: "String",
|
16533
16552
|
# max_results: 1,
|
16534
16553
|
# })
|
@@ -16595,7 +16614,7 @@ module Aws::EC2
|
|
16595
16614
|
# @example Request syntax with placeholder values
|
16596
16615
|
#
|
16597
16616
|
# resp = client.describe_ipv_6_pools({
|
16598
|
-
# pool_ids: ["
|
16617
|
+
# pool_ids: ["Ipv6PoolEc2Id"],
|
16599
16618
|
# next_token: "NextToken",
|
16600
16619
|
# max_results: 1,
|
16601
16620
|
# dry_run: false,
|
@@ -16692,8 +16711,8 @@ module Aws::EC2
|
|
16692
16711
|
# values: ["String"],
|
16693
16712
|
# },
|
16694
16713
|
# ],
|
16695
|
-
# key_names: ["
|
16696
|
-
# key_pair_ids: ["
|
16714
|
+
# key_names: ["KeyPairName"],
|
16715
|
+
# key_pair_ids: ["KeyPairId"],
|
16697
16716
|
# dry_run: false,
|
16698
16717
|
# })
|
16699
16718
|
#
|
@@ -16842,7 +16861,7 @@ module Aws::EC2
|
|
16842
16861
|
#
|
16843
16862
|
# resp = client.describe_launch_template_versions({
|
16844
16863
|
# dry_run: false,
|
16845
|
-
# launch_template_id: "
|
16864
|
+
# launch_template_id: "LaunchTemplateId",
|
16846
16865
|
# launch_template_name: "LaunchTemplateName",
|
16847
16866
|
# versions: ["String"],
|
16848
16867
|
# min_version: "String",
|
@@ -17032,7 +17051,7 @@ module Aws::EC2
|
|
17032
17051
|
#
|
17033
17052
|
# resp = client.describe_launch_templates({
|
17034
17053
|
# dry_run: false,
|
17035
|
-
# launch_template_ids: ["
|
17054
|
+
# launch_template_ids: ["LaunchTemplateId"],
|
17036
17055
|
# launch_template_names: ["LaunchTemplateName"],
|
17037
17056
|
# filters: [
|
17038
17057
|
# {
|
@@ -17098,7 +17117,7 @@ module Aws::EC2
|
|
17098
17117
|
# @example Request syntax with placeholder values
|
17099
17118
|
#
|
17100
17119
|
# resp = client.describe_local_gateway_route_table_virtual_interface_group_associations({
|
17101
|
-
# local_gateway_route_table_virtual_interface_group_association_ids: ["
|
17120
|
+
# local_gateway_route_table_virtual_interface_group_association_ids: ["LocalGatewayRouteTableVirtualInterfaceGroupAssociationId"],
|
17102
17121
|
# filters: [
|
17103
17122
|
# {
|
17104
17123
|
# name: "String",
|
@@ -17163,7 +17182,7 @@ module Aws::EC2
|
|
17163
17182
|
# @example Request syntax with placeholder values
|
17164
17183
|
#
|
17165
17184
|
# resp = client.describe_local_gateway_route_table_vpc_associations({
|
17166
|
-
# local_gateway_route_table_vpc_association_ids: ["
|
17185
|
+
# local_gateway_route_table_vpc_association_ids: ["LocalGatewayRouteTableVpcAssociationId"],
|
17167
17186
|
# filters: [
|
17168
17187
|
# {
|
17169
17188
|
# name: "String",
|
@@ -17229,7 +17248,7 @@ module Aws::EC2
|
|
17229
17248
|
# @example Request syntax with placeholder values
|
17230
17249
|
#
|
17231
17250
|
# resp = client.describe_local_gateway_route_tables({
|
17232
|
-
# local_gateway_route_table_ids: ["
|
17251
|
+
# local_gateway_route_table_ids: ["LocalGatewayRoutetableId"],
|
17233
17252
|
# filters: [
|
17234
17253
|
# {
|
17235
17254
|
# name: "String",
|
@@ -17292,7 +17311,7 @@ module Aws::EC2
|
|
17292
17311
|
# @example Request syntax with placeholder values
|
17293
17312
|
#
|
17294
17313
|
# resp = client.describe_local_gateway_virtual_interface_groups({
|
17295
|
-
# local_gateway_virtual_interface_group_ids: ["
|
17314
|
+
# local_gateway_virtual_interface_group_ids: ["LocalGatewayVirtualInterfaceGroupId"],
|
17296
17315
|
# filters: [
|
17297
17316
|
# {
|
17298
17317
|
# name: "String",
|
@@ -17355,7 +17374,7 @@ module Aws::EC2
|
|
17355
17374
|
# @example Request syntax with placeholder values
|
17356
17375
|
#
|
17357
17376
|
# resp = client.describe_local_gateway_virtual_interfaces({
|
17358
|
-
# local_gateway_virtual_interface_ids: ["
|
17377
|
+
# local_gateway_virtual_interface_ids: ["LocalGatewayVirtualInterfaceId"],
|
17359
17378
|
# filters: [
|
17360
17379
|
# {
|
17361
17380
|
# name: "String",
|
@@ -17422,7 +17441,7 @@ module Aws::EC2
|
|
17422
17441
|
# @example Request syntax with placeholder values
|
17423
17442
|
#
|
17424
17443
|
# resp = client.describe_local_gateways({
|
17425
|
-
# local_gateway_ids: ["
|
17444
|
+
# local_gateway_ids: ["LocalGatewayId"],
|
17426
17445
|
# filters: [
|
17427
17446
|
# {
|
17428
17447
|
# name: "String",
|
@@ -17630,7 +17649,7 @@ module Aws::EC2
|
|
17630
17649
|
# },
|
17631
17650
|
# ],
|
17632
17651
|
# max_results: 1,
|
17633
|
-
# nat_gateway_ids: ["
|
17652
|
+
# nat_gateway_ids: ["NatGatewayId"],
|
17634
17653
|
# next_token: "String",
|
17635
17654
|
# })
|
17636
17655
|
#
|
@@ -17813,7 +17832,7 @@ module Aws::EC2
|
|
17813
17832
|
# },
|
17814
17833
|
# ],
|
17815
17834
|
# dry_run: false,
|
17816
|
-
# network_acl_ids: ["
|
17835
|
+
# network_acl_ids: ["NetworkAclId"],
|
17817
17836
|
# next_token: "String",
|
17818
17837
|
# max_results: 1,
|
17819
17838
|
# })
|
@@ -17960,7 +17979,7 @@ module Aws::EC2
|
|
17960
17979
|
# resp = client.describe_network_interface_attribute({
|
17961
17980
|
# attribute: "description", # accepts description, groupSet, sourceDestCheck, attachment
|
17962
17981
|
# dry_run: false,
|
17963
|
-
# network_interface_id: "
|
17982
|
+
# network_interface_id: "NetworkInterfaceId", # required
|
17964
17983
|
# })
|
17965
17984
|
#
|
17966
17985
|
# @example Response structure
|
@@ -18026,7 +18045,7 @@ module Aws::EC2
|
|
18026
18045
|
# @example Request syntax with placeholder values
|
18027
18046
|
#
|
18028
18047
|
# resp = client.describe_network_interface_permissions({
|
18029
|
-
# network_interface_permission_ids: ["
|
18048
|
+
# network_interface_permission_ids: ["NetworkInterfacePermissionId"],
|
18030
18049
|
# filters: [
|
18031
18050
|
# {
|
18032
18051
|
# name: "String",
|
@@ -18273,7 +18292,7 @@ module Aws::EC2
|
|
18273
18292
|
# },
|
18274
18293
|
# ],
|
18275
18294
|
# dry_run: false,
|
18276
|
-
# network_interface_ids: ["
|
18295
|
+
# network_interface_ids: ["NetworkInterfaceId"],
|
18277
18296
|
# next_token: "String",
|
18278
18297
|
# max_results: 1,
|
18279
18298
|
# })
|
@@ -18384,8 +18403,8 @@ module Aws::EC2
|
|
18384
18403
|
# },
|
18385
18404
|
# ],
|
18386
18405
|
# dry_run: false,
|
18387
|
-
# group_names: ["
|
18388
|
-
# group_ids: ["
|
18406
|
+
# group_names: ["PlacementGroupName"],
|
18407
|
+
# group_ids: ["PlacementGroupId"],
|
18389
18408
|
# })
|
18390
18409
|
#
|
18391
18410
|
# @example Response structure
|
@@ -18458,7 +18477,7 @@ module Aws::EC2
|
|
18458
18477
|
# ],
|
18459
18478
|
# max_results: 1,
|
18460
18479
|
# next_token: "String",
|
18461
|
-
# prefix_list_ids: ["
|
18480
|
+
# prefix_list_ids: ["PrefixListResourceId"],
|
18462
18481
|
# })
|
18463
18482
|
#
|
18464
18483
|
# @example Response structure
|
@@ -18572,6 +18591,19 @@ module Aws::EC2
|
|
18572
18591
|
# retrieve the remaining results, make another call with the returned
|
18573
18592
|
# `nextToken` value.
|
18574
18593
|
#
|
18594
|
+
# @option params [Array<Types::Filter>] :filters
|
18595
|
+
# One or more filters.
|
18596
|
+
#
|
18597
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
18598
|
+
# the resource. Use the tag key in the filter name and the tag value
|
18599
|
+
# as the filter value. For example, to find all resources that have a
|
18600
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
18601
|
+
# for the filter name and `TeamA` for the filter value.
|
18602
|
+
#
|
18603
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
18604
|
+
# filter to find all resources assigned a tag with a specific key,
|
18605
|
+
# regardless of the tag value.
|
18606
|
+
#
|
18575
18607
|
# @return [Types::DescribePublicIpv4PoolsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
18576
18608
|
#
|
18577
18609
|
# * {Types::DescribePublicIpv4PoolsResult#public_ipv_4_pools #public_ipv_4_pools} => Array<Types::PublicIpv4Pool>
|
@@ -18580,9 +18612,15 @@ module Aws::EC2
|
|
18580
18612
|
# @example Request syntax with placeholder values
|
18581
18613
|
#
|
18582
18614
|
# resp = client.describe_public_ipv_4_pools({
|
18583
|
-
# pool_ids: ["
|
18615
|
+
# pool_ids: ["Ipv4PoolEc2Id"],
|
18584
18616
|
# next_token: "NextToken",
|
18585
18617
|
# max_results: 1,
|
18618
|
+
# filters: [
|
18619
|
+
# {
|
18620
|
+
# name: "String",
|
18621
|
+
# values: ["String"],
|
18622
|
+
# },
|
18623
|
+
# ],
|
18586
18624
|
# })
|
18587
18625
|
#
|
18588
18626
|
# @example Response structure
|
@@ -18597,6 +18635,9 @@ module Aws::EC2
|
|
18597
18635
|
# resp.public_ipv_4_pools[0].pool_address_ranges[0].available_address_count #=> Integer
|
18598
18636
|
# resp.public_ipv_4_pools[0].total_address_count #=> Integer
|
18599
18637
|
# resp.public_ipv_4_pools[0].total_available_address_count #=> Integer
|
18638
|
+
# resp.public_ipv_4_pools[0].tags #=> Array
|
18639
|
+
# resp.public_ipv_4_pools[0].tags[0].key #=> String
|
18640
|
+
# resp.public_ipv_4_pools[0].tags[0].value #=> String
|
18600
18641
|
# resp.next_token #=> String
|
18601
18642
|
#
|
18602
18643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePublicIpv4Pools AWS API Documentation
|
@@ -18836,7 +18877,7 @@ module Aws::EC2
|
|
18836
18877
|
# },
|
18837
18878
|
# ],
|
18838
18879
|
# offering_class: "standard", # accepts standard, convertible
|
18839
|
-
# reserved_instances_ids: ["
|
18880
|
+
# reserved_instances_ids: ["ReservationId"],
|
18840
18881
|
# dry_run: false,
|
18841
18882
|
# offering_type: "Heavy Utilization", # accepts Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
|
18842
18883
|
# })
|
@@ -18936,8 +18977,8 @@ module Aws::EC2
|
|
18936
18977
|
# values: ["String"],
|
18937
18978
|
# },
|
18938
18979
|
# ],
|
18939
|
-
# reserved_instances_id: "
|
18940
|
-
# reserved_instances_listing_id: "
|
18980
|
+
# reserved_instances_id: "ReservationId",
|
18981
|
+
# reserved_instances_listing_id: "ReservedInstancesListingId",
|
18941
18982
|
# })
|
18942
18983
|
#
|
18943
18984
|
# @example Response structure
|
@@ -19042,7 +19083,7 @@ module Aws::EC2
|
|
19042
19083
|
# values: ["String"],
|
19043
19084
|
# },
|
19044
19085
|
# ],
|
19045
|
-
# reserved_instances_modification_ids: ["
|
19086
|
+
# reserved_instances_modification_ids: ["ReservedInstancesModificationId"],
|
19046
19087
|
# next_token: "String",
|
19047
19088
|
# })
|
19048
19089
|
#
|
@@ -19233,7 +19274,7 @@ module Aws::EC2
|
|
19233
19274
|
# min_duration: 1,
|
19234
19275
|
# offering_class: "standard", # accepts standard, convertible
|
19235
19276
|
# product_description: "Linux/UNIX", # accepts Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
|
19236
|
-
# reserved_instances_offering_ids: ["
|
19277
|
+
# reserved_instances_offering_ids: ["ReservedInstancesOfferingId"],
|
19237
19278
|
# dry_run: false,
|
19238
19279
|
# instance_tenancy: "default", # accepts default, dedicated, host
|
19239
19280
|
# max_results: 1,
|
@@ -19433,7 +19474,7 @@ module Aws::EC2
|
|
19433
19474
|
# },
|
19434
19475
|
# ],
|
19435
19476
|
# dry_run: false,
|
19436
|
-
# route_table_ids: ["
|
19477
|
+
# route_table_ids: ["RouteTableId"],
|
19437
19478
|
# next_token: "String",
|
19438
19479
|
# max_results: 1,
|
19439
19480
|
# })
|
@@ -19746,7 +19787,7 @@ module Aws::EC2
|
|
19746
19787
|
# ],
|
19747
19788
|
# max_results: 1,
|
19748
19789
|
# next_token: "String",
|
19749
|
-
# scheduled_instance_ids: ["
|
19790
|
+
# scheduled_instance_ids: ["ScheduledInstanceId"],
|
19750
19791
|
# slot_start_time_range: {
|
19751
19792
|
# earliest_time: Time.now,
|
19752
19793
|
# latest_time: Time.now,
|
@@ -19830,7 +19871,7 @@ module Aws::EC2
|
|
19830
19871
|
#
|
19831
19872
|
# resp = client.describe_security_group_references({
|
19832
19873
|
# dry_run: false,
|
19833
|
-
# group_id: ["
|
19874
|
+
# group_id: ["SecurityGroupId"], # required
|
19834
19875
|
# })
|
19835
19876
|
#
|
19836
19877
|
# @example Response structure
|
@@ -20021,7 +20062,7 @@ module Aws::EC2
|
|
20021
20062
|
# },
|
20022
20063
|
# ],
|
20023
20064
|
# group_ids: ["String"],
|
20024
|
-
# group_names: ["
|
20065
|
+
# group_names: ["SecurityGroupName"],
|
20025
20066
|
# dry_run: false,
|
20026
20067
|
# next_token: "String",
|
20027
20068
|
# max_results: 1,
|
@@ -20141,7 +20182,7 @@ module Aws::EC2
|
|
20141
20182
|
#
|
20142
20183
|
# resp = client.describe_snapshot_attribute({
|
20143
20184
|
# attribute: "productCodes", # required, accepts productCodes, createVolumePermission
|
20144
|
-
# snapshot_id: "
|
20185
|
+
# snapshot_id: "SnapshotId", # required
|
20145
20186
|
# dry_run: false,
|
20146
20187
|
# })
|
20147
20188
|
#
|
@@ -20183,7 +20224,7 @@ module Aws::EC2
|
|
20183
20224
|
# * *implicit*\: An AWS account has implicit create volume permissions
|
20184
20225
|
# for all snapshots it owns.
|
20185
20226
|
#
|
20186
|
-
# The list of snapshots returned can be
|
20227
|
+
# The list of snapshots returned can be filtered by specifying snapshot
|
20187
20228
|
# IDs, snapshot owners, or AWS accounts with create volume permissions.
|
20188
20229
|
# If no options are specified, Amazon EC2 returns all snapshots for
|
20189
20230
|
# which you have create volume permissions.
|
@@ -20212,6 +20253,9 @@ module Aws::EC2
|
|
20212
20253
|
# to a subsequent `DescribeSnapshots` request to retrieve the remaining
|
20213
20254
|
# results.
|
20214
20255
|
#
|
20256
|
+
# To get the state of fast snapshot restores for a snapshot, use
|
20257
|
+
# DescribeFastSnapshotRestores.
|
20258
|
+
#
|
20215
20259
|
# For more information about EBS snapshots, see [Amazon EBS
|
20216
20260
|
# Snapshots][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
20217
20261
|
#
|
@@ -20376,7 +20420,7 @@ module Aws::EC2
|
|
20376
20420
|
# next_token: "String",
|
20377
20421
|
# owner_ids: ["String"],
|
20378
20422
|
# restorable_by_user_ids: ["String"],
|
20379
|
-
# snapshot_ids: ["
|
20423
|
+
# snapshot_ids: ["SnapshotId"],
|
20380
20424
|
# dry_run: false,
|
20381
20425
|
# })
|
20382
20426
|
#
|
@@ -20523,7 +20567,7 @@ module Aws::EC2
|
|
20523
20567
|
# dry_run: false,
|
20524
20568
|
# max_results: 1,
|
20525
20569
|
# next_token: "String",
|
20526
|
-
# spot_fleet_request_id: "
|
20570
|
+
# spot_fleet_request_id: "SpotFleetRequestId", # required
|
20527
20571
|
# })
|
20528
20572
|
#
|
20529
20573
|
# @example Response structure
|
@@ -20642,7 +20686,7 @@ module Aws::EC2
|
|
20642
20686
|
# event_type: "instanceChange", # accepts instanceChange, fleetRequestChange, error, information
|
20643
20687
|
# max_results: 1,
|
20644
20688
|
# next_token: "String",
|
20645
|
-
# spot_fleet_request_id: "
|
20689
|
+
# spot_fleet_request_id: "SpotFleetRequestId", # required
|
20646
20690
|
# start_time: Time.now, # required
|
20647
20691
|
# })
|
20648
20692
|
#
|
@@ -20758,7 +20802,7 @@ module Aws::EC2
|
|
20758
20802
|
# dry_run: false,
|
20759
20803
|
# max_results: 1,
|
20760
20804
|
# next_token: "String",
|
20761
|
-
# spot_fleet_request_ids: ["
|
20805
|
+
# spot_fleet_request_ids: ["SpotFleetRequestId"],
|
20762
20806
|
# })
|
20763
20807
|
#
|
20764
20808
|
# @example Response structure
|
@@ -20856,8 +20900,16 @@ module Aws::EC2
|
|
20856
20900
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups #=> Array
|
20857
20901
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups[0].arn #=> String
|
20858
20902
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
|
20903
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications #=> Array
|
20904
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "elastic-ip", "fleet", "fpga-image", "host-reservation", "image", "instance", "internet-gateway", "key-pair", "launch-template", "natgateway", "network-acl", "network-interface", "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-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway"
|
20905
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags #=> Array
|
20906
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].key #=> String
|
20907
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].value #=> String
|
20859
20908
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_id #=> String
|
20860
20909
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_state #=> String, one of "submitted", "active", "cancelled", "failed", "cancelled_running", "cancelled_terminating", "modifying"
|
20910
|
+
# resp.spot_fleet_request_configs[0].tags #=> Array
|
20911
|
+
# resp.spot_fleet_request_configs[0].tags[0].key #=> String
|
20912
|
+
# resp.spot_fleet_request_configs[0].tags[0].value #=> String
|
20861
20913
|
#
|
20862
20914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests AWS API Documentation
|
20863
20915
|
#
|
@@ -21097,7 +21149,7 @@ module Aws::EC2
|
|
21097
21149
|
# },
|
21098
21150
|
# ],
|
21099
21151
|
# dry_run: false,
|
21100
|
-
# spot_instance_request_ids: ["
|
21152
|
+
# spot_instance_request_ids: ["SpotInstanceRequestId"],
|
21101
21153
|
# next_token: "String",
|
21102
21154
|
# max_results: 1,
|
21103
21155
|
# })
|
@@ -21545,7 +21597,7 @@ module Aws::EC2
|
|
21545
21597
|
# values: ["String"],
|
21546
21598
|
# },
|
21547
21599
|
# ],
|
21548
|
-
# subnet_ids: ["
|
21600
|
+
# subnet_ids: ["SubnetId"],
|
21549
21601
|
# dry_run: false,
|
21550
21602
|
# next_token: "String",
|
21551
21603
|
# max_results: 1,
|
@@ -21736,7 +21788,7 @@ module Aws::EC2
|
|
21736
21788
|
# @example Request syntax with placeholder values
|
21737
21789
|
#
|
21738
21790
|
# resp = client.describe_traffic_mirror_filters({
|
21739
|
-
# traffic_mirror_filter_ids: ["
|
21791
|
+
# traffic_mirror_filter_ids: ["TrafficMirrorFilterId"],
|
21740
21792
|
# dry_run: false,
|
21741
21793
|
# filters: [
|
21742
21794
|
# {
|
@@ -21850,7 +21902,7 @@ module Aws::EC2
|
|
21850
21902
|
# @example Request syntax with placeholder values
|
21851
21903
|
#
|
21852
21904
|
# resp = client.describe_traffic_mirror_sessions({
|
21853
|
-
# traffic_mirror_session_ids: ["
|
21905
|
+
# traffic_mirror_session_ids: ["TrafficMirrorSessionId"],
|
21854
21906
|
# dry_run: false,
|
21855
21907
|
# filters: [
|
21856
21908
|
# {
|
@@ -21931,7 +21983,7 @@ module Aws::EC2
|
|
21931
21983
|
# @example Request syntax with placeholder values
|
21932
21984
|
#
|
21933
21985
|
# resp = client.describe_traffic_mirror_targets({
|
21934
|
-
# traffic_mirror_target_ids: ["
|
21986
|
+
# traffic_mirror_target_ids: ["TrafficMirrorTargetId"],
|
21935
21987
|
# dry_run: false,
|
21936
21988
|
# filters: [
|
21937
21989
|
# {
|
@@ -22023,7 +22075,7 @@ module Aws::EC2
|
|
22023
22075
|
# @example Request syntax with placeholder values
|
22024
22076
|
#
|
22025
22077
|
# resp = client.describe_transit_gateway_attachments({
|
22026
|
-
# transit_gateway_attachment_ids: ["
|
22078
|
+
# transit_gateway_attachment_ids: ["TransitGatewayAttachmentId"],
|
22027
22079
|
# filters: [
|
22028
22080
|
# {
|
22029
22081
|
# name: "String",
|
@@ -22163,7 +22215,7 @@ module Aws::EC2
|
|
22163
22215
|
# @example Request syntax with placeholder values
|
22164
22216
|
#
|
22165
22217
|
# resp = client.describe_transit_gateway_peering_attachments({
|
22166
|
-
# transit_gateway_attachment_ids: ["
|
22218
|
+
# transit_gateway_attachment_ids: ["TransitGatewayAttachmentId"],
|
22167
22219
|
# filters: [
|
22168
22220
|
# {
|
22169
22221
|
# name: "String",
|
@@ -22328,7 +22380,7 @@ module Aws::EC2
|
|
22328
22380
|
# @example Request syntax with placeholder values
|
22329
22381
|
#
|
22330
22382
|
# resp = client.describe_transit_gateway_vpc_attachments({
|
22331
|
-
# transit_gateway_attachment_ids: ["
|
22383
|
+
# transit_gateway_attachment_ids: ["TransitGatewayAttachmentId"],
|
22332
22384
|
# filters: [
|
22333
22385
|
# {
|
22334
22386
|
# name: "String",
|
@@ -22434,7 +22486,7 @@ module Aws::EC2
|
|
22434
22486
|
# @example Request syntax with placeholder values
|
22435
22487
|
#
|
22436
22488
|
# resp = client.describe_transit_gateways({
|
22437
|
-
# transit_gateway_ids: ["
|
22489
|
+
# transit_gateway_ids: ["TransitGatewayId"],
|
22438
22490
|
# filters: [
|
22439
22491
|
# {
|
22440
22492
|
# name: "String",
|
@@ -22528,7 +22580,7 @@ module Aws::EC2
|
|
22528
22580
|
#
|
22529
22581
|
# resp = client.describe_volume_attribute({
|
22530
22582
|
# attribute: "autoEnableIO", # required, accepts autoEnableIO, productCodes
|
22531
|
-
# volume_id: "
|
22583
|
+
# volume_id: "VolumeId", # required
|
22532
22584
|
# dry_run: false,
|
22533
22585
|
# })
|
22534
22586
|
#
|
@@ -22734,7 +22786,7 @@ module Aws::EC2
|
|
22734
22786
|
# ],
|
22735
22787
|
# max_results: 1,
|
22736
22788
|
# next_token: "String",
|
22737
|
-
# volume_ids: ["
|
22789
|
+
# volume_ids: ["VolumeId"],
|
22738
22790
|
# dry_run: false,
|
22739
22791
|
# })
|
22740
22792
|
#
|
@@ -22755,11 +22807,15 @@ module Aws::EC2
|
|
22755
22807
|
# resp.volume_statuses[0].events[0].event_type #=> String
|
22756
22808
|
# resp.volume_statuses[0].events[0].not_after #=> Time
|
22757
22809
|
# resp.volume_statuses[0].events[0].not_before #=> Time
|
22810
|
+
# resp.volume_statuses[0].events[0].instance_id #=> String
|
22758
22811
|
# resp.volume_statuses[0].volume_id #=> String
|
22759
22812
|
# resp.volume_statuses[0].volume_status.details #=> Array
|
22760
22813
|
# resp.volume_statuses[0].volume_status.details[0].name #=> String, one of "io-enabled", "io-performance"
|
22761
22814
|
# resp.volume_statuses[0].volume_status.details[0].status #=> String
|
22762
22815
|
# resp.volume_statuses[0].volume_status.status #=> String, one of "ok", "impaired", "insufficient-data"
|
22816
|
+
# resp.volume_statuses[0].attachment_statuses #=> Array
|
22817
|
+
# resp.volume_statuses[0].attachment_statuses[0].io_performance #=> String
|
22818
|
+
# resp.volume_statuses[0].attachment_statuses[0].instance_id #=> String
|
22763
22819
|
#
|
22764
22820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatus AWS API Documentation
|
22765
22821
|
#
|
@@ -22813,6 +22869,13 @@ module Aws::EC2
|
|
22813
22869
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
22814
22870
|
# `false`)
|
22815
22871
|
#
|
22872
|
+
# * `multi-attach-enabled` - Indicates whether the volume is enabled for
|
22873
|
+
# Multi-Attach (`true` \| `false`)
|
22874
|
+
#
|
22875
|
+
# * `fast-restored` - Indicates whether the volume was created from a
|
22876
|
+
# snapshot that is enabled for fast snapshot restore (`true` \|
|
22877
|
+
# `false`).
|
22878
|
+
#
|
22816
22879
|
# * `size` - The size of the volume, in GiB.
|
22817
22880
|
#
|
22818
22881
|
# * `snapshot-id` - The snapshot from which the volume was created.
|
@@ -22960,7 +23023,7 @@ module Aws::EC2
|
|
22960
23023
|
# values: ["String"],
|
22961
23024
|
# },
|
22962
23025
|
# ],
|
22963
|
-
# volume_ids: ["
|
23026
|
+
# volume_ids: ["VolumeId"],
|
22964
23027
|
# dry_run: false,
|
22965
23028
|
# max_results: 1,
|
22966
23029
|
# next_token: "String",
|
@@ -22991,6 +23054,7 @@ module Aws::EC2
|
|
22991
23054
|
# resp.volumes[0].tags[0].value #=> String
|
22992
23055
|
# resp.volumes[0].volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
|
22993
23056
|
# resp.volumes[0].fast_restored #=> Boolean
|
23057
|
+
# resp.volumes[0].multi_attach_enabled #=> Boolean
|
22994
23058
|
# resp.next_token #=> String
|
22995
23059
|
#
|
22996
23060
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumes AWS API Documentation
|
@@ -23034,9 +23098,11 @@ module Aws::EC2
|
|
23034
23098
|
# described.
|
23035
23099
|
#
|
23036
23100
|
# @option params [Array<Types::Filter>] :filters
|
23037
|
-
# The filters. Supported filters: `volume-id
|
23038
|
-
# `target-size
|
23039
|
-
# `original-iops
|
23101
|
+
# The filters. Supported filters: `volume-id` \| `modification-state` \|
|
23102
|
+
# `target-size` \| `target-iops` \| `target-volume-type` \|
|
23103
|
+
# `original-size` \| `original-iops` \| `original-volume-type` \|
|
23104
|
+
# `start-time` \| `originalMultiAttachEnabled` \|
|
23105
|
+
# `targetMultiAttachEnabled`.
|
23040
23106
|
#
|
23041
23107
|
# @option params [String] :next_token
|
23042
23108
|
# The `nextToken` value returned by a previous paginated request.
|
@@ -23054,7 +23120,7 @@ module Aws::EC2
|
|
23054
23120
|
#
|
23055
23121
|
# resp = client.describe_volumes_modifications({
|
23056
23122
|
# dry_run: false,
|
23057
|
-
# volume_ids: ["
|
23123
|
+
# volume_ids: ["VolumeId"],
|
23058
23124
|
# filters: [
|
23059
23125
|
# {
|
23060
23126
|
# name: "String",
|
@@ -23215,7 +23281,7 @@ module Aws::EC2
|
|
23215
23281
|
# },
|
23216
23282
|
# ],
|
23217
23283
|
# dry_run: false,
|
23218
|
-
# vpc_ids: ["
|
23284
|
+
# vpc_ids: ["VpcId"],
|
23219
23285
|
# })
|
23220
23286
|
#
|
23221
23287
|
# @example Response structure
|
@@ -23269,7 +23335,7 @@ module Aws::EC2
|
|
23269
23335
|
# resp = client.describe_vpc_classic_link_dns_support({
|
23270
23336
|
# max_results: 1,
|
23271
23337
|
# next_token: "DescribeVpcClassicLinkDnsSupportNextToken",
|
23272
|
-
# vpc_ids: ["
|
23338
|
+
# vpc_ids: ["VpcId"],
|
23273
23339
|
# })
|
23274
23340
|
#
|
23275
23341
|
# @example Response structure
|
@@ -23334,7 +23400,7 @@ module Aws::EC2
|
|
23334
23400
|
#
|
23335
23401
|
# resp = client.describe_vpc_endpoint_connection_notifications({
|
23336
23402
|
# dry_run: false,
|
23337
|
-
# connection_notification_id: "
|
23403
|
+
# connection_notification_id: "ConnectionNotificationId",
|
23338
23404
|
# filters: [
|
23339
23405
|
# {
|
23340
23406
|
# name: "String",
|
@@ -23494,7 +23560,7 @@ module Aws::EC2
|
|
23494
23560
|
#
|
23495
23561
|
# resp = client.describe_vpc_endpoint_service_configurations({
|
23496
23562
|
# dry_run: false,
|
23497
|
-
# service_ids: ["
|
23563
|
+
# service_ids: ["VpcEndpointServiceId"],
|
23498
23564
|
# filters: [
|
23499
23565
|
# {
|
23500
23566
|
# name: "String",
|
@@ -23579,7 +23645,7 @@ module Aws::EC2
|
|
23579
23645
|
#
|
23580
23646
|
# resp = client.describe_vpc_endpoint_service_permissions({
|
23581
23647
|
# dry_run: false,
|
23582
|
-
# service_id: "
|
23648
|
+
# service_id: "VpcEndpointServiceId", # required
|
23583
23649
|
# filters: [
|
23584
23650
|
# {
|
23585
23651
|
# name: "String",
|
@@ -23753,7 +23819,7 @@ module Aws::EC2
|
|
23753
23819
|
#
|
23754
23820
|
# resp = client.describe_vpc_endpoints({
|
23755
23821
|
# dry_run: false,
|
23756
|
-
# vpc_endpoint_ids: ["
|
23822
|
+
# vpc_endpoint_ids: ["VpcEndpointId"],
|
23757
23823
|
# filters: [
|
23758
23824
|
# {
|
23759
23825
|
# name: "String",
|
@@ -23882,7 +23948,7 @@ module Aws::EC2
|
|
23882
23948
|
# },
|
23883
23949
|
# ],
|
23884
23950
|
# dry_run: false,
|
23885
|
-
# vpc_peering_connection_ids: ["
|
23951
|
+
# vpc_peering_connection_ids: ["VpcPeeringConnectionId"],
|
23886
23952
|
# next_token: "String",
|
23887
23953
|
# max_results: 1,
|
23888
23954
|
# })
|
@@ -24045,7 +24111,7 @@ module Aws::EC2
|
|
24045
24111
|
# values: ["String"],
|
24046
24112
|
# },
|
24047
24113
|
# ],
|
24048
|
-
# vpc_ids: ["
|
24114
|
+
# vpc_ids: ["VpcId"],
|
24049
24115
|
# dry_run: false,
|
24050
24116
|
# next_token: "String",
|
24051
24117
|
# max_results: 1,
|
@@ -24065,8 +24131,8 @@ module Aws::EC2
|
|
24065
24131
|
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
|
24066
24132
|
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
24067
24133
|
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
|
24068
|
-
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_pool #=> String
|
24069
24134
|
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].network_border_group #=> String
|
24135
|
+
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_pool #=> String
|
24070
24136
|
# resp.vpcs[0].cidr_block_association_set #=> Array
|
24071
24137
|
# resp.vpcs[0].cidr_block_association_set[0].association_id #=> String
|
24072
24138
|
# resp.vpcs[0].cidr_block_association_set[0].cidr_block #=> String
|
@@ -24163,7 +24229,7 @@ module Aws::EC2
|
|
24163
24229
|
# values: ["String"],
|
24164
24230
|
# },
|
24165
24231
|
# ],
|
24166
|
-
# vpn_connection_ids: ["
|
24232
|
+
# vpn_connection_ids: ["VpnConnectionId"],
|
24167
24233
|
# dry_run: false,
|
24168
24234
|
# })
|
24169
24235
|
#
|
@@ -24294,7 +24360,7 @@ module Aws::EC2
|
|
24294
24360
|
# values: ["String"],
|
24295
24361
|
# },
|
24296
24362
|
# ],
|
24297
|
-
# vpn_gateway_ids: ["
|
24363
|
+
# vpn_gateway_ids: ["VpnGatewayId"],
|
24298
24364
|
# dry_run: false,
|
24299
24365
|
# })
|
24300
24366
|
#
|
@@ -24504,7 +24570,8 @@ module Aws::EC2
|
|
24504
24570
|
# procedures.
|
24505
24571
|
#
|
24506
24572
|
# @option params [String] :instance_id
|
24507
|
-
# The ID of the instance.
|
24573
|
+
# The ID of the instance. If you are detaching a Multi-Attach enabled
|
24574
|
+
# volume, you must specify an instance ID.
|
24508
24575
|
#
|
24509
24576
|
# @option params [required, String] :volume_id
|
24510
24577
|
# The ID of the volume.
|
@@ -24681,7 +24748,7 @@ module Aws::EC2
|
|
24681
24748
|
#
|
24682
24749
|
# resp = client.disable_fast_snapshot_restores({
|
24683
24750
|
# availability_zones: ["String"], # required
|
24684
|
-
# source_snapshot_ids: ["
|
24751
|
+
# source_snapshot_ids: ["SnapshotId"], # required
|
24685
24752
|
# dry_run: false,
|
24686
24753
|
# })
|
24687
24754
|
#
|
@@ -24737,8 +24804,8 @@ module Aws::EC2
|
|
24737
24804
|
# @example Request syntax with placeholder values
|
24738
24805
|
#
|
24739
24806
|
# resp = client.disable_transit_gateway_route_table_propagation({
|
24740
|
-
# transit_gateway_route_table_id: "
|
24741
|
-
# transit_gateway_attachment_id: "
|
24807
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
24808
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
24742
24809
|
# dry_run: false,
|
24743
24810
|
# })
|
24744
24811
|
#
|
@@ -24768,6 +24835,8 @@ module Aws::EC2
|
|
24768
24835
|
# @option params [required, String] :route_table_id
|
24769
24836
|
# The ID of the route table.
|
24770
24837
|
#
|
24838
|
+
# @option params [Boolean] :dry_run
|
24839
|
+
#
|
24771
24840
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
24772
24841
|
#
|
24773
24842
|
#
|
@@ -24785,6 +24854,7 @@ module Aws::EC2
|
|
24785
24854
|
# resp = client.disable_vgw_route_propagation({
|
24786
24855
|
# gateway_id: "VpnGatewayId", # required
|
24787
24856
|
# route_table_id: "RouteTableId", # required
|
24857
|
+
# dry_run: false,
|
24788
24858
|
# })
|
24789
24859
|
#
|
24790
24860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagation AWS API Documentation
|
@@ -25020,7 +25090,7 @@ module Aws::EC2
|
|
25020
25090
|
# @example Request syntax with placeholder values
|
25021
25091
|
#
|
25022
25092
|
# resp = client.disassociate_iam_instance_profile({
|
25023
|
-
# association_id: "
|
25093
|
+
# association_id: "IamInstanceProfileAssociationId", # required
|
25024
25094
|
# })
|
25025
25095
|
#
|
25026
25096
|
# @example Response structure
|
@@ -25150,8 +25220,8 @@ module Aws::EC2
|
|
25150
25220
|
# @example Request syntax with placeholder values
|
25151
25221
|
#
|
25152
25222
|
# resp = client.disassociate_transit_gateway_multicast_domain({
|
25153
|
-
# transit_gateway_multicast_domain_id: "
|
25154
|
-
# transit_gateway_attachment_id: "
|
25223
|
+
# transit_gateway_multicast_domain_id: "TransitGatewayMulticastDomainId",
|
25224
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId",
|
25155
25225
|
# subnet_ids: ["String"],
|
25156
25226
|
# dry_run: false,
|
25157
25227
|
# })
|
@@ -25197,8 +25267,8 @@ module Aws::EC2
|
|
25197
25267
|
# @example Request syntax with placeholder values
|
25198
25268
|
#
|
25199
25269
|
# resp = client.disassociate_transit_gateway_route_table({
|
25200
|
-
# transit_gateway_route_table_id: "
|
25201
|
-
# transit_gateway_attachment_id: "
|
25270
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
25271
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
25202
25272
|
# dry_run: false,
|
25203
25273
|
# })
|
25204
25274
|
#
|
@@ -25249,8 +25319,8 @@ module Aws::EC2
|
|
25249
25319
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block #=> String
|
25250
25320
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
25251
25321
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.status_message #=> String
|
25252
|
-
# resp.ipv_6_cidr_block_association.ipv_6_pool #=> String
|
25253
25322
|
# resp.ipv_6_cidr_block_association.network_border_group #=> String
|
25323
|
+
# resp.ipv_6_cidr_block_association.ipv_6_pool #=> String
|
25254
25324
|
# resp.cidr_block_association.association_id #=> String
|
25255
25325
|
# resp.cidr_block_association.cidr_block #=> String
|
25256
25326
|
# resp.cidr_block_association.cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
@@ -25327,6 +25397,13 @@ module Aws::EC2
|
|
25327
25397
|
# restores, use DescribeFastSnapshotRestores. To disable fast snapshot
|
25328
25398
|
# restores, use DisableFastSnapshotRestores.
|
25329
25399
|
#
|
25400
|
+
# For more information, see [Amazon EBS Fast Snapshot Restore][1] in the
|
25401
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
25402
|
+
#
|
25403
|
+
#
|
25404
|
+
#
|
25405
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-fast-snapshot-restore.html
|
25406
|
+
#
|
25330
25407
|
# @option params [required, Array<String>] :availability_zones
|
25331
25408
|
# One or more Availability Zones. For example, `us-east-2a`.
|
25332
25409
|
#
|
@@ -25350,7 +25427,7 @@ module Aws::EC2
|
|
25350
25427
|
#
|
25351
25428
|
# resp = client.enable_fast_snapshot_restores({
|
25352
25429
|
# availability_zones: ["String"], # required
|
25353
|
-
# source_snapshot_ids: ["
|
25430
|
+
# source_snapshot_ids: ["SnapshotId"], # required
|
25354
25431
|
# dry_run: false,
|
25355
25432
|
# })
|
25356
25433
|
#
|
@@ -25406,8 +25483,8 @@ module Aws::EC2
|
|
25406
25483
|
# @example Request syntax with placeholder values
|
25407
25484
|
#
|
25408
25485
|
# resp = client.enable_transit_gateway_route_table_propagation({
|
25409
|
-
# transit_gateway_route_table_id: "
|
25410
|
-
# transit_gateway_attachment_id: "
|
25486
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
25487
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
25411
25488
|
# dry_run: false,
|
25412
25489
|
# })
|
25413
25490
|
#
|
@@ -25440,6 +25517,8 @@ module Aws::EC2
|
|
25440
25517
|
# The ID of the route table. The routing table must be associated with
|
25441
25518
|
# the same VPC that the virtual private gateway is attached to.
|
25442
25519
|
#
|
25520
|
+
# @option params [Boolean] :dry_run
|
25521
|
+
#
|
25443
25522
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
25444
25523
|
#
|
25445
25524
|
#
|
@@ -25457,6 +25536,7 @@ module Aws::EC2
|
|
25457
25536
|
# resp = client.enable_vgw_route_propagation({
|
25458
25537
|
# gateway_id: "VpnGatewayId", # required
|
25459
25538
|
# route_table_id: "RouteTableId", # required
|
25539
|
+
# dry_run: false,
|
25460
25540
|
# })
|
25461
25541
|
#
|
25462
25542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagation AWS API Documentation
|
@@ -25813,7 +25893,7 @@ module Aws::EC2
|
|
25813
25893
|
# @example Request syntax with placeholder values
|
25814
25894
|
#
|
25815
25895
|
# resp = client.export_transit_gateway_routes({
|
25816
|
-
# transit_gateway_route_table_id: "
|
25896
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
25817
25897
|
# filters: [
|
25818
25898
|
# {
|
25819
25899
|
# name: "String",
|
@@ -25865,7 +25945,7 @@ module Aws::EC2
|
|
25865
25945
|
# @example Request syntax with placeholder values
|
25866
25946
|
#
|
25867
25947
|
# resp = client.get_associated_ipv_6_pool_cidrs({
|
25868
|
-
# pool_id: "
|
25948
|
+
# pool_id: "Ipv6PoolEc2Id", # required
|
25869
25949
|
# next_token: "NextToken",
|
25870
25950
|
# max_results: 1,
|
25871
25951
|
# dry_run: false,
|
@@ -26003,7 +26083,7 @@ module Aws::EC2
|
|
26003
26083
|
# @example Request syntax with placeholder values
|
26004
26084
|
#
|
26005
26085
|
# resp = client.get_coip_pool_usage({
|
26006
|
-
# pool_id: "
|
26086
|
+
# pool_id: "CoipPoolId", # required
|
26007
26087
|
# filters: [
|
26008
26088
|
# {
|
26009
26089
|
# name: "String",
|
@@ -26615,11 +26695,11 @@ module Aws::EC2
|
|
26615
26695
|
#
|
26616
26696
|
# resp = client.get_reserved_instances_exchange_quote({
|
26617
26697
|
# dry_run: false,
|
26618
|
-
# reserved_instance_ids: ["
|
26698
|
+
# reserved_instance_ids: ["ReservationId"], # required
|
26619
26699
|
# target_configurations: [
|
26620
26700
|
# {
|
26621
26701
|
# instance_count: 1,
|
26622
|
-
# offering_id: "
|
26702
|
+
# offering_id: "ReservedInstancesOfferingId", # required
|
26623
26703
|
# },
|
26624
26704
|
# ],
|
26625
26705
|
# })
|
@@ -26694,7 +26774,7 @@ module Aws::EC2
|
|
26694
26774
|
# @example Request syntax with placeholder values
|
26695
26775
|
#
|
26696
26776
|
# resp = client.get_transit_gateway_attachment_propagations({
|
26697
|
-
# transit_gateway_attachment_id: "
|
26777
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
26698
26778
|
# filters: [
|
26699
26779
|
# {
|
26700
26780
|
# name: "String",
|
@@ -26766,7 +26846,7 @@ module Aws::EC2
|
|
26766
26846
|
# @example Request syntax with placeholder values
|
26767
26847
|
#
|
26768
26848
|
# resp = client.get_transit_gateway_multicast_domain_associations({
|
26769
|
-
# transit_gateway_multicast_domain_id: "
|
26849
|
+
# transit_gateway_multicast_domain_id: "TransitGatewayMulticastDomainId",
|
26770
26850
|
# filters: [
|
26771
26851
|
# {
|
26772
26852
|
# name: "String",
|
@@ -26834,7 +26914,7 @@ module Aws::EC2
|
|
26834
26914
|
# @example Request syntax with placeholder values
|
26835
26915
|
#
|
26836
26916
|
# resp = client.get_transit_gateway_route_table_associations({
|
26837
|
-
# transit_gateway_route_table_id: "
|
26917
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
26838
26918
|
# filters: [
|
26839
26919
|
# {
|
26840
26920
|
# name: "String",
|
@@ -26901,7 +26981,7 @@ module Aws::EC2
|
|
26901
26981
|
# @example Request syntax with placeholder values
|
26902
26982
|
#
|
26903
26983
|
# resp = client.get_transit_gateway_route_table_propagations({
|
26904
|
-
# transit_gateway_route_table_id: "
|
26984
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
26905
26985
|
# filters: [
|
26906
26986
|
# {
|
26907
26987
|
# name: "String",
|
@@ -27130,7 +27210,7 @@ module Aws::EC2
|
|
27130
27210
|
# description: "String",
|
27131
27211
|
# device_name: "String",
|
27132
27212
|
# format: "String",
|
27133
|
-
# snapshot_id: "
|
27213
|
+
# snapshot_id: "SnapshotId",
|
27134
27214
|
# url: "String",
|
27135
27215
|
# user_bucket: {
|
27136
27216
|
# s3_bucket: "String",
|
@@ -27246,8 +27326,8 @@ module Aws::EC2
|
|
27246
27326
|
# launch_specification: {
|
27247
27327
|
# additional_info: "String",
|
27248
27328
|
# architecture: "i386", # accepts i386, x86_64, arm64
|
27249
|
-
# group_ids: ["
|
27250
|
-
# group_names: ["
|
27329
|
+
# group_ids: ["SecurityGroupId"],
|
27330
|
+
# group_names: ["SecurityGroupName"],
|
27251
27331
|
# instance_initiated_shutdown_behavior: "stop", # accepts stop, terminate
|
27252
27332
|
# 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, 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, 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, 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, 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, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, 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, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, 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
|
27253
27333
|
# monitoring: false,
|
@@ -27349,7 +27429,7 @@ module Aws::EC2
|
|
27349
27429
|
#
|
27350
27430
|
# resp = client.import_key_pair({
|
27351
27431
|
# dry_run: false,
|
27352
|
-
# key_name: "
|
27432
|
+
# key_name: "String", # required
|
27353
27433
|
# public_key_material: "data", # required
|
27354
27434
|
# })
|
27355
27435
|
#
|
@@ -28126,7 +28206,7 @@ module Aws::EC2
|
|
28126
28206
|
#
|
28127
28207
|
# resp = client.modify_hosts({
|
28128
28208
|
# auto_placement: "on", # accepts on, off
|
28129
|
-
# host_ids: ["
|
28209
|
+
# host_ids: ["DedicatedHostId"], # required
|
28130
28210
|
# host_recovery: "on", # accepts on, off
|
28131
28211
|
# instance_type: "String",
|
28132
28212
|
# instance_family: "String",
|
@@ -28666,7 +28746,7 @@ module Aws::EC2
|
|
28666
28746
|
# capacity_reservation_specification: { # required
|
28667
28747
|
# capacity_reservation_preference: "open", # accepts open, none
|
28668
28748
|
# capacity_reservation_target: {
|
28669
|
-
# capacity_reservation_id: "
|
28749
|
+
# capacity_reservation_id: "CapacityReservationId",
|
28670
28750
|
# },
|
28671
28751
|
# },
|
28672
28752
|
# dry_run: false,
|
@@ -28726,7 +28806,7 @@ module Aws::EC2
|
|
28726
28806
|
# client_token: "String",
|
28727
28807
|
# instance_credit_specifications: [ # required
|
28728
28808
|
# {
|
28729
|
-
# instance_id: "
|
28809
|
+
# instance_id: "InstanceId",
|
28730
28810
|
# cpu_credits: "String",
|
28731
28811
|
# },
|
28732
28812
|
# ],
|
@@ -28863,7 +28943,7 @@ module Aws::EC2
|
|
28863
28943
|
# @example Request syntax with placeholder values
|
28864
28944
|
#
|
28865
28945
|
# resp = client.modify_instance_metadata_options({
|
28866
|
-
# instance_id: "
|
28946
|
+
# instance_id: "InstanceId", # required
|
28867
28947
|
# http_tokens: "optional", # accepts optional, required
|
28868
28948
|
# http_put_response_hop_limit: 1,
|
28869
28949
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
@@ -29154,12 +29234,12 @@ module Aws::EC2
|
|
29154
29234
|
#
|
29155
29235
|
# resp = client.modify_network_interface_attribute({
|
29156
29236
|
# attachment: {
|
29157
|
-
# attachment_id: "
|
29237
|
+
# attachment_id: "NetworkInterfaceAttachmentId",
|
29158
29238
|
# delete_on_termination: false,
|
29159
29239
|
# },
|
29160
29240
|
# description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
29161
29241
|
# dry_run: false,
|
29162
|
-
# groups: ["
|
29242
|
+
# groups: ["SecurityGroupId"],
|
29163
29243
|
# network_interface_id: "NetworkInterfaceId", # required
|
29164
29244
|
# source_dest_check: {
|
29165
29245
|
# value: false,
|
@@ -29209,7 +29289,7 @@ module Aws::EC2
|
|
29209
29289
|
# @example Request syntax with placeholder values
|
29210
29290
|
#
|
29211
29291
|
# resp = client.modify_reserved_instances({
|
29212
|
-
# reserved_instances_ids: ["
|
29292
|
+
# reserved_instances_ids: ["ReservationId"], # required
|
29213
29293
|
# client_token: "String",
|
29214
29294
|
# target_configurations: [ # required
|
29215
29295
|
# {
|
@@ -29335,7 +29415,7 @@ module Aws::EC2
|
|
29335
29415
|
# },
|
29336
29416
|
# ],
|
29337
29417
|
# },
|
29338
|
-
# group_names: ["
|
29418
|
+
# group_names: ["SecurityGroupName"],
|
29339
29419
|
# operation_type: "add", # accepts add, remove
|
29340
29420
|
# snapshot_id: "SnapshotId", # required
|
29341
29421
|
# user_ids: ["String"],
|
@@ -29829,9 +29909,9 @@ module Aws::EC2
|
|
29829
29909
|
# @example Request syntax with placeholder values
|
29830
29910
|
#
|
29831
29911
|
# resp = client.modify_transit_gateway_vpc_attachment({
|
29832
|
-
# transit_gateway_attachment_id: "
|
29833
|
-
# add_subnet_ids: ["
|
29834
|
-
# remove_subnet_ids: ["
|
29912
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
29913
|
+
# add_subnet_ids: ["SubnetId"],
|
29914
|
+
# remove_subnet_ids: ["SubnetId"],
|
29835
29915
|
# options: {
|
29836
29916
|
# dns_support: "enable", # accepts enable, disable
|
29837
29917
|
# ipv_6_support: "enable", # accepts enable, disable
|
@@ -30187,12 +30267,12 @@ module Aws::EC2
|
|
30187
30267
|
# vpc_endpoint_id: "VpcEndpointId", # required
|
30188
30268
|
# reset_policy: false,
|
30189
30269
|
# policy_document: "String",
|
30190
|
-
# add_route_table_ids: ["
|
30191
|
-
# remove_route_table_ids: ["
|
30192
|
-
# add_subnet_ids: ["
|
30193
|
-
# remove_subnet_ids: ["
|
30194
|
-
# add_security_group_ids: ["
|
30195
|
-
# remove_security_group_ids: ["
|
30270
|
+
# add_route_table_ids: ["RouteTableId"],
|
30271
|
+
# remove_route_table_ids: ["RouteTableId"],
|
30272
|
+
# add_subnet_ids: ["SubnetId"],
|
30273
|
+
# remove_subnet_ids: ["SubnetId"],
|
30274
|
+
# add_security_group_ids: ["SecurityGroupId"],
|
30275
|
+
# remove_security_group_ids: ["SecurityGroupId"],
|
30196
30276
|
# private_dns_enabled: false,
|
30197
30277
|
# })
|
30198
30278
|
#
|
@@ -30304,7 +30384,7 @@ module Aws::EC2
|
|
30304
30384
|
#
|
30305
30385
|
# resp = client.modify_vpc_endpoint_service_configuration({
|
30306
30386
|
# dry_run: false,
|
30307
|
-
# service_id: "
|
30387
|
+
# service_id: "VpcEndpointServiceId", # required
|
30308
30388
|
# private_dns_name: "String",
|
30309
30389
|
# remove_private_dns_name: false,
|
30310
30390
|
# acceptance_required: false,
|
@@ -30364,7 +30444,7 @@ module Aws::EC2
|
|
30364
30444
|
#
|
30365
30445
|
# resp = client.modify_vpc_endpoint_service_permissions({
|
30366
30446
|
# dry_run: false,
|
30367
|
-
# service_id: "
|
30447
|
+
# service_id: "VpcEndpointServiceId", # required
|
30368
30448
|
# add_allowed_principals: ["String"],
|
30369
30449
|
# remove_allowed_principals: ["String"],
|
30370
30450
|
# })
|
@@ -30912,7 +30992,7 @@ module Aws::EC2
|
|
30912
30992
|
# @example Request syntax with placeholder values
|
30913
30993
|
#
|
30914
30994
|
# resp = client.monitor_instances({
|
30915
|
-
# instance_ids: ["
|
30995
|
+
# instance_ids: ["InstanceId"], # required
|
30916
30996
|
# dry_run: false,
|
30917
30997
|
# })
|
30918
30998
|
#
|
@@ -31202,7 +31282,7 @@ module Aws::EC2
|
|
31202
31282
|
#
|
31203
31283
|
# resp = client.purchase_reserved_instances_offering({
|
31204
31284
|
# instance_count: 1, # required
|
31205
|
-
# reserved_instances_offering_id: "
|
31285
|
+
# reserved_instances_offering_id: "ReservedInstancesOfferingId", # required
|
31206
31286
|
# dry_run: false,
|
31207
31287
|
# limit_price: {
|
31208
31288
|
# amount: 1.0,
|
@@ -31395,7 +31475,7 @@ module Aws::EC2
|
|
31395
31475
|
# @example Request syntax with placeholder values
|
31396
31476
|
#
|
31397
31477
|
# resp = client.reboot_instances({
|
31398
|
-
# instance_ids: ["
|
31478
|
+
# instance_ids: ["InstanceId"], # required
|
31399
31479
|
# dry_run: false,
|
31400
31480
|
# })
|
31401
31481
|
#
|
@@ -31432,9 +31512,8 @@ module Aws::EC2
|
|
31432
31512
|
# (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing
|
31433
31513
|
# product code associated with an AMI to verify the subscription status
|
31434
31514
|
# for package updates. To create a new AMI for operating systems that
|
31435
|
-
# require a billing product code, instead of
|
31436
|
-
#
|
31437
|
-
# association:
|
31515
|
+
# require a billing product code, instead of registering the AMI, do the
|
31516
|
+
# following to preserve the billing product code association:
|
31438
31517
|
#
|
31439
31518
|
# 1. Launch an instance from an existing AMI with that billing product
|
31440
31519
|
# code.
|
@@ -31448,7 +31527,9 @@ module Aws::EC2
|
|
31448
31527
|
# that the Reserved Instance has the matching billing product code. If
|
31449
31528
|
# you purchase a Reserved Instance without the matching billing product
|
31450
31529
|
# code, the Reserved Instance will not be applied to the On-Demand
|
31451
|
-
# Instance.
|
31530
|
+
# Instance. For information about how to obtain the platform details and
|
31531
|
+
# billing information of an AMI, see [Obtaining Billing Information][3]
|
31532
|
+
# in the *Amazon Elastic Compute Cloud User Guide*.
|
31452
31533
|
#
|
31453
31534
|
# If needed, you can deregister an AMI at any time. Any modifications
|
31454
31535
|
# you make to an AMI backed by an instance store volume invalidates its
|
@@ -31459,6 +31540,7 @@ module Aws::EC2
|
|
31459
31540
|
#
|
31460
31541
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html
|
31461
31542
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-launch-snapshot.html
|
31543
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
|
31462
31544
|
#
|
31463
31545
|
# @option params [String] :image_location
|
31464
31546
|
# The full path to your AMI manifest in Amazon S3 storage. The specified
|
@@ -31619,9 +31701,9 @@ module Aws::EC2
|
|
31619
31701
|
# @example Request syntax with placeholder values
|
31620
31702
|
#
|
31621
31703
|
# resp = client.register_transit_gateway_multicast_group_members({
|
31622
|
-
# transit_gateway_multicast_domain_id: "
|
31704
|
+
# transit_gateway_multicast_domain_id: "TransitGatewayMulticastDomainId",
|
31623
31705
|
# group_ip_address: "String",
|
31624
|
-
# network_interface_ids: ["
|
31706
|
+
# network_interface_ids: ["NetworkInterfaceId"],
|
31625
31707
|
# dry_run: false,
|
31626
31708
|
# })
|
31627
31709
|
#
|
@@ -31680,9 +31762,9 @@ module Aws::EC2
|
|
31680
31762
|
# @example Request syntax with placeholder values
|
31681
31763
|
#
|
31682
31764
|
# resp = client.register_transit_gateway_multicast_group_sources({
|
31683
|
-
# transit_gateway_multicast_domain_id: "
|
31765
|
+
# transit_gateway_multicast_domain_id: "TransitGatewayMulticastDomainId",
|
31684
31766
|
# group_ip_address: "String",
|
31685
|
-
# network_interface_ids: ["
|
31767
|
+
# network_interface_ids: ["NetworkInterfaceId"],
|
31686
31768
|
# dry_run: false,
|
31687
31769
|
# })
|
31688
31770
|
#
|
@@ -31720,7 +31802,7 @@ module Aws::EC2
|
|
31720
31802
|
# @example Request syntax with placeholder values
|
31721
31803
|
#
|
31722
31804
|
# resp = client.reject_transit_gateway_peering_attachment({
|
31723
|
-
# transit_gateway_attachment_id: "
|
31805
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
31724
31806
|
# dry_run: false,
|
31725
31807
|
# })
|
31726
31808
|
#
|
@@ -31773,7 +31855,7 @@ module Aws::EC2
|
|
31773
31855
|
# @example Request syntax with placeholder values
|
31774
31856
|
#
|
31775
31857
|
# resp = client.reject_transit_gateway_vpc_attachment({
|
31776
|
-
# transit_gateway_attachment_id: "
|
31858
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
31777
31859
|
# dry_run: false,
|
31778
31860
|
# })
|
31779
31861
|
#
|
@@ -31825,8 +31907,8 @@ module Aws::EC2
|
|
31825
31907
|
#
|
31826
31908
|
# resp = client.reject_vpc_endpoint_connections({
|
31827
31909
|
# dry_run: false,
|
31828
|
-
# service_id: "
|
31829
|
-
# vpc_endpoint_ids: ["
|
31910
|
+
# service_id: "VpcEndpointServiceId", # required
|
31911
|
+
# vpc_endpoint_ids: ["VpcEndpointId"], # required
|
31830
31912
|
# })
|
31831
31913
|
#
|
31832
31914
|
# @example Response structure
|
@@ -31999,7 +32081,7 @@ module Aws::EC2
|
|
31999
32081
|
# @example Request syntax with placeholder values
|
32000
32082
|
#
|
32001
32083
|
# resp = client.release_hosts({
|
32002
|
-
# host_ids: ["
|
32084
|
+
# host_ids: ["DedicatedHostId"], # required
|
32003
32085
|
# })
|
32004
32086
|
#
|
32005
32087
|
# @example Response structure
|
@@ -32044,7 +32126,7 @@ module Aws::EC2
|
|
32044
32126
|
# arn: "String",
|
32045
32127
|
# name: "String",
|
32046
32128
|
# },
|
32047
|
-
# association_id: "
|
32129
|
+
# association_id: "IamInstanceProfileAssociationId", # required
|
32048
32130
|
# })
|
32049
32131
|
#
|
32050
32132
|
# @example Response structure
|
@@ -32314,12 +32396,12 @@ module Aws::EC2
|
|
32314
32396
|
# destination_ipv_6_cidr_block: "String",
|
32315
32397
|
# dry_run: false,
|
32316
32398
|
# egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
|
32317
|
-
# gateway_id: "
|
32399
|
+
# gateway_id: "RouteGatewayId",
|
32318
32400
|
# instance_id: "InstanceId",
|
32319
32401
|
# local_target: false,
|
32320
32402
|
# nat_gateway_id: "NatGatewayId",
|
32321
32403
|
# transit_gateway_id: "TransitGatewayId",
|
32322
|
-
# local_gateway_id: "
|
32404
|
+
# local_gateway_id: "LocalGatewayId",
|
32323
32405
|
# network_interface_id: "NetworkInterfaceId",
|
32324
32406
|
# route_table_id: "RouteTableId", # required
|
32325
32407
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
@@ -32433,8 +32515,8 @@ module Aws::EC2
|
|
32433
32515
|
#
|
32434
32516
|
# resp = client.replace_transit_gateway_route({
|
32435
32517
|
# destination_cidr_block: "String", # required
|
32436
|
-
# transit_gateway_route_table_id: "
|
32437
|
-
# transit_gateway_attachment_id: "
|
32518
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
32519
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId",
|
32438
32520
|
# blackhole: false,
|
32439
32521
|
# dry_run: false,
|
32440
32522
|
# })
|
@@ -32525,7 +32607,7 @@ module Aws::EC2
|
|
32525
32607
|
# description: "String",
|
32526
32608
|
# dry_run: false,
|
32527
32609
|
# end_time: Time.now,
|
32528
|
-
# instances: ["
|
32610
|
+
# instances: ["InstanceId"], # required
|
32529
32611
|
# reason_codes: ["instance-stuck-in-state"], # required, accepts instance-stuck-in-state, unresponsive, not-accepting-credentials, password-not-available, performance-network, performance-instance-store, performance-ebs-volume, performance-other, other
|
32530
32612
|
# start_time: Time.now,
|
32531
32613
|
# status: "ok", # required, accepts ok, impaired
|
@@ -32562,9 +32644,10 @@ module Aws::EC2
|
|
32562
32644
|
# are in different Spot pools, you can improve the availability of your
|
32563
32645
|
# fleet.
|
32564
32646
|
#
|
32565
|
-
# You can specify tags for the Spot
|
32566
|
-
# resource types in a Spot Fleet
|
32567
|
-
#
|
32647
|
+
# You can specify tags for the Spot Fleet request and instances launched
|
32648
|
+
# by the fleet. You cannot tag other resource types in a Spot Fleet
|
32649
|
+
# request because only the `spot-fleet-request` and `instance` resource
|
32650
|
+
# types are supported.
|
32568
32651
|
#
|
32569
32652
|
# For more information, see [Spot Fleet Requests][1] in the *Amazon EC2
|
32570
32653
|
# User Guide for Linux Instances*.
|
@@ -32792,7 +32875,7 @@ module Aws::EC2
|
|
32792
32875
|
# delete_on_termination: false,
|
32793
32876
|
# description: "String",
|
32794
32877
|
# device_index: 1,
|
32795
|
-
# groups: ["
|
32878
|
+
# groups: ["SecurityGroupId"],
|
32796
32879
|
# ipv_6_address_count: 1,
|
32797
32880
|
# ipv_6_addresses: [
|
32798
32881
|
# {
|
@@ -32882,6 +32965,17 @@ module Aws::EC2
|
|
32882
32965
|
# },
|
32883
32966
|
# },
|
32884
32967
|
# instance_pools_to_use_count: 1,
|
32968
|
+
# tag_specifications: [
|
32969
|
+
# {
|
32970
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, 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-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
32971
|
+
# tags: [
|
32972
|
+
# {
|
32973
|
+
# key: "String",
|
32974
|
+
# value: "String",
|
32975
|
+
# },
|
32976
|
+
# ],
|
32977
|
+
# },
|
32978
|
+
# ],
|
32885
32979
|
# },
|
32886
32980
|
# })
|
32887
32981
|
#
|
@@ -33069,8 +33163,8 @@ module Aws::EC2
|
|
33069
33163
|
# instance_count: 1,
|
33070
33164
|
# launch_group: "String",
|
33071
33165
|
# launch_specification: {
|
33072
|
-
# security_group_ids: ["
|
33073
|
-
# security_groups: ["
|
33166
|
+
# security_group_ids: ["SecurityGroupId"],
|
33167
|
+
# security_groups: ["SecurityGroupName"],
|
33074
33168
|
# addressing_type: "String",
|
33075
33169
|
# block_device_mappings: [
|
33076
33170
|
# {
|
@@ -33093,10 +33187,10 @@ module Aws::EC2
|
|
33093
33187
|
# arn: "String",
|
33094
33188
|
# name: "String",
|
33095
33189
|
# },
|
33096
|
-
# image_id: "
|
33190
|
+
# image_id: "ImageId",
|
33097
33191
|
# 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, 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, 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, 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, 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, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, 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, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, 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
|
33098
|
-
# kernel_id: "
|
33099
|
-
# key_name: "
|
33192
|
+
# kernel_id: "KernelId",
|
33193
|
+
# key_name: "KeyPairName",
|
33100
33194
|
# monitoring: {
|
33101
33195
|
# enabled: false, # required
|
33102
33196
|
# },
|
@@ -33106,7 +33200,7 @@ module Aws::EC2
|
|
33106
33200
|
# delete_on_termination: false,
|
33107
33201
|
# description: "String",
|
33108
33202
|
# device_index: 1,
|
33109
|
-
# groups: ["
|
33203
|
+
# groups: ["SecurityGroupId"],
|
33110
33204
|
# ipv_6_address_count: 1,
|
33111
33205
|
# ipv_6_addresses: [
|
33112
33206
|
# {
|
@@ -33131,8 +33225,8 @@ module Aws::EC2
|
|
33131
33225
|
# group_name: "String",
|
33132
33226
|
# tenancy: "default", # accepts default, dedicated, host
|
33133
33227
|
# },
|
33134
|
-
# ramdisk_id: "
|
33135
|
-
# subnet_id: "
|
33228
|
+
# ramdisk_id: "RamdiskId",
|
33229
|
+
# subnet_id: "SubnetId",
|
33136
33230
|
# user_data: "String",
|
33137
33231
|
# },
|
33138
33232
|
# spot_price: "String",
|
@@ -33675,7 +33769,7 @@ module Aws::EC2
|
|
33675
33769
|
#
|
33676
33770
|
# resp = client.revoke_security_group_egress({
|
33677
33771
|
# dry_run: false,
|
33678
|
-
# group_id: "
|
33772
|
+
# group_id: "SecurityGroupId", # required
|
33679
33773
|
# ip_permissions: [
|
33680
33774
|
# {
|
33681
33775
|
# from_port: 1,
|
@@ -33814,8 +33908,8 @@ module Aws::EC2
|
|
33814
33908
|
# resp = client.revoke_security_group_ingress({
|
33815
33909
|
# cidr_ip: "String",
|
33816
33910
|
# from_port: 1,
|
33817
|
-
# group_id: "
|
33818
|
-
# group_name: "
|
33911
|
+
# group_id: "SecurityGroupId",
|
33912
|
+
# group_name: "SecurityGroupName",
|
33819
33913
|
# ip_permissions: [
|
33820
33914
|
# {
|
33821
33915
|
# from_port: 1,
|
@@ -34090,11 +34184,17 @@ module Aws::EC2
|
|
34090
34184
|
#
|
34091
34185
|
# @option params [String] :client_token
|
34092
34186
|
# Unique, case-sensitive identifier you provide to ensure the
|
34093
|
-
# idempotency of the request.
|
34094
|
-
#
|
34187
|
+
# idempotency of the request. If you do not specify a client token, a
|
34188
|
+
# randomly generated token is used for the request to ensure
|
34189
|
+
# idempotency.
|
34190
|
+
#
|
34191
|
+
# For more information, see [Ensuring Idempotency][1].
|
34095
34192
|
#
|
34096
34193
|
# Constraints: Maximum 64 ASCII characters
|
34097
34194
|
#
|
34195
|
+
# **A suitable default value is auto-generated.** You should normally
|
34196
|
+
# not need to pass this option.**
|
34197
|
+
#
|
34098
34198
|
#
|
34099
34199
|
#
|
34100
34200
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
@@ -34324,7 +34424,7 @@ module Aws::EC2
|
|
34324
34424
|
# },
|
34325
34425
|
# ],
|
34326
34426
|
# kernel_id: "String",
|
34327
|
-
# key_name: "
|
34427
|
+
# key_name: "KeyPairName",
|
34328
34428
|
# max_count: 1, # required
|
34329
34429
|
# min_count: 1, # required
|
34330
34430
|
# monitoring: {
|
@@ -34341,8 +34441,8 @@ module Aws::EC2
|
|
34341
34441
|
# host_resource_group_arn: "String",
|
34342
34442
|
# },
|
34343
34443
|
# ramdisk_id: "String",
|
34344
|
-
# security_group_ids: ["
|
34345
|
-
# security_groups: ["
|
34444
|
+
# security_group_ids: ["SecurityGroupId"],
|
34445
|
+
# security_groups: ["SecurityGroupName"],
|
34346
34446
|
# subnet_id: "String",
|
34347
34447
|
# user_data: "String",
|
34348
34448
|
# additional_info: "String",
|
@@ -34361,7 +34461,7 @@ module Aws::EC2
|
|
34361
34461
|
# delete_on_termination: false,
|
34362
34462
|
# description: "String",
|
34363
34463
|
# device_index: 1,
|
34364
|
-
# groups: ["
|
34464
|
+
# groups: ["SecurityGroupId"],
|
34365
34465
|
# ipv_6_address_count: 1,
|
34366
34466
|
# ipv_6_addresses: [
|
34367
34467
|
# {
|
@@ -34405,7 +34505,7 @@ module Aws::EC2
|
|
34405
34505
|
# },
|
34406
34506
|
# ],
|
34407
34507
|
# launch_template: {
|
34408
|
-
# launch_template_id: "
|
34508
|
+
# launch_template_id: "LaunchTemplateId",
|
34409
34509
|
# launch_template_name: "String",
|
34410
34510
|
# version: "String",
|
34411
34511
|
# },
|
@@ -34429,7 +34529,7 @@ module Aws::EC2
|
|
34429
34529
|
# capacity_reservation_specification: {
|
34430
34530
|
# capacity_reservation_preference: "open", # accepts open, none
|
34431
34531
|
# capacity_reservation_target: {
|
34432
|
-
# capacity_reservation_id: "
|
34532
|
+
# capacity_reservation_id: "CapacityReservationId",
|
34433
34533
|
# },
|
34434
34534
|
# },
|
34435
34535
|
# hibernation_options: {
|
@@ -34708,7 +34808,7 @@ module Aws::EC2
|
|
34708
34808
|
# delete_on_termination: false,
|
34709
34809
|
# encrypted: false,
|
34710
34810
|
# iops: 1,
|
34711
|
-
# snapshot_id: "
|
34811
|
+
# snapshot_id: "SnapshotId",
|
34712
34812
|
# volume_size: 1,
|
34713
34813
|
# volume_type: "String",
|
34714
34814
|
# },
|
@@ -34721,10 +34821,10 @@ module Aws::EC2
|
|
34721
34821
|
# arn: "String",
|
34722
34822
|
# name: "String",
|
34723
34823
|
# },
|
34724
|
-
# image_id: "
|
34824
|
+
# image_id: "ImageId", # required
|
34725
34825
|
# instance_type: "String",
|
34726
|
-
# kernel_id: "
|
34727
|
-
# key_name: "
|
34826
|
+
# kernel_id: "KernelId",
|
34827
|
+
# key_name: "KeyPairName",
|
34728
34828
|
# monitoring: {
|
34729
34829
|
# enabled: false,
|
34730
34830
|
# },
|
@@ -34734,14 +34834,14 @@ module Aws::EC2
|
|
34734
34834
|
# delete_on_termination: false,
|
34735
34835
|
# description: "String",
|
34736
34836
|
# device_index: 1,
|
34737
|
-
# groups: ["
|
34837
|
+
# groups: ["SecurityGroupId"],
|
34738
34838
|
# ipv_6_address_count: 1,
|
34739
34839
|
# ipv_6_addresses: [
|
34740
34840
|
# {
|
34741
34841
|
# ipv_6_address: "Ipv6Address",
|
34742
34842
|
# },
|
34743
34843
|
# ],
|
34744
|
-
# network_interface_id: "
|
34844
|
+
# network_interface_id: "NetworkInterfaceId",
|
34745
34845
|
# private_ip_address: "String",
|
34746
34846
|
# private_ip_address_configs: [
|
34747
34847
|
# {
|
@@ -34750,16 +34850,16 @@ module Aws::EC2
|
|
34750
34850
|
# },
|
34751
34851
|
# ],
|
34752
34852
|
# secondary_private_ip_address_count: 1,
|
34753
|
-
# subnet_id: "
|
34853
|
+
# subnet_id: "SubnetId",
|
34754
34854
|
# },
|
34755
34855
|
# ],
|
34756
34856
|
# placement: {
|
34757
34857
|
# availability_zone: "String",
|
34758
|
-
# group_name: "
|
34858
|
+
# group_name: "PlacementGroupName",
|
34759
34859
|
# },
|
34760
|
-
# ramdisk_id: "
|
34761
|
-
# security_group_ids: ["
|
34762
|
-
# subnet_id: "
|
34860
|
+
# ramdisk_id: "RamdiskId",
|
34861
|
+
# security_group_ids: ["SecurityGroupId"],
|
34862
|
+
# subnet_id: "SubnetId",
|
34763
34863
|
# user_data: "String",
|
34764
34864
|
# },
|
34765
34865
|
# scheduled_instance_id: "ScheduledInstanceId", # required
|
@@ -34809,7 +34909,7 @@ module Aws::EC2
|
|
34809
34909
|
# @example Request syntax with placeholder values
|
34810
34910
|
#
|
34811
34911
|
# resp = client.search_local_gateway_routes({
|
34812
|
-
# local_gateway_route_table_id: "
|
34912
|
+
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
34813
34913
|
# filters: [ # required
|
34814
34914
|
# {
|
34815
34915
|
# name: "String",
|
@@ -34899,7 +34999,7 @@ module Aws::EC2
|
|
34899
34999
|
# @example Request syntax with placeholder values
|
34900
35000
|
#
|
34901
35001
|
# resp = client.search_transit_gateway_multicast_groups({
|
34902
|
-
# transit_gateway_multicast_domain_id: "
|
35002
|
+
# transit_gateway_multicast_domain_id: "TransitGatewayMulticastDomainId",
|
34903
35003
|
# filters: [
|
34904
35004
|
# {
|
34905
35005
|
# name: "String",
|
@@ -34988,7 +35088,7 @@ module Aws::EC2
|
|
34988
35088
|
# @example Request syntax with placeholder values
|
34989
35089
|
#
|
34990
35090
|
# resp = client.search_transit_gateway_routes({
|
34991
|
-
# transit_gateway_route_table_id: "
|
35091
|
+
# transit_gateway_route_table_id: "TransitGatewayRouteTableId", # required
|
34992
35092
|
# filters: [ # required
|
34993
35093
|
# {
|
34994
35094
|
# name: "String",
|
@@ -35149,7 +35249,7 @@ module Aws::EC2
|
|
35149
35249
|
# @example Request syntax with placeholder values
|
35150
35250
|
#
|
35151
35251
|
# resp = client.start_instances({
|
35152
|
-
# instance_ids: ["
|
35252
|
+
# instance_ids: ["InstanceId"], # required
|
35153
35253
|
# additional_info: "String",
|
35154
35254
|
# dry_run: false,
|
35155
35255
|
# })
|
@@ -35203,7 +35303,7 @@ module Aws::EC2
|
|
35203
35303
|
#
|
35204
35304
|
# resp = client.start_vpc_endpoint_service_private_dns_verification({
|
35205
35305
|
# dry_run: false,
|
35206
|
-
# service_id: "
|
35306
|
+
# service_id: "VpcEndpointServiceId", # required
|
35207
35307
|
# })
|
35208
35308
|
#
|
35209
35309
|
# @example Response structure
|
@@ -35237,11 +35337,10 @@ module Aws::EC2
|
|
35237
35337
|
# EC2 charges a one-minute minimum for instance usage, and thereafter
|
35238
35338
|
# charges per second for instance usage.
|
35239
35339
|
#
|
35240
|
-
# You can't
|
35241
|
-
#
|
35242
|
-
#
|
35243
|
-
#
|
35244
|
-
# User Guide*.
|
35340
|
+
# You can't hibernate Spot Instances, and you can't stop or hibernate
|
35341
|
+
# instance store-backed instances. For information about using
|
35342
|
+
# hibernation for Spot Instances, see [Hibernating Interrupted Spot
|
35343
|
+
# Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
|
35245
35344
|
#
|
35246
35345
|
# When you stop or hibernate an instance, we shut it down. You can
|
35247
35346
|
# restart your instance at any time. Before stopping or hibernating an
|
@@ -35338,7 +35437,7 @@ module Aws::EC2
|
|
35338
35437
|
# @example Request syntax with placeholder values
|
35339
35438
|
#
|
35340
35439
|
# resp = client.stop_instances({
|
35341
|
-
# instance_ids: ["
|
35440
|
+
# instance_ids: ["InstanceId"], # required
|
35342
35441
|
# hibernate: false,
|
35343
35442
|
# dry_run: false,
|
35344
35443
|
# force: false,
|
@@ -35499,7 +35598,7 @@ module Aws::EC2
|
|
35499
35598
|
# @example Request syntax with placeholder values
|
35500
35599
|
#
|
35501
35600
|
# resp = client.terminate_instances({
|
35502
|
-
# instance_ids: ["
|
35601
|
+
# instance_ids: ["InstanceId"], # required
|
35503
35602
|
# dry_run: false,
|
35504
35603
|
# })
|
35505
35604
|
#
|
@@ -35621,7 +35720,7 @@ module Aws::EC2
|
|
35621
35720
|
# @example Request syntax with placeholder values
|
35622
35721
|
#
|
35623
35722
|
# resp = client.unmonitor_instances({
|
35624
|
-
# instance_ids: ["
|
35723
|
+
# instance_ids: ["InstanceId"], # required
|
35625
35724
|
# dry_run: false,
|
35626
35725
|
# })
|
35627
35726
|
#
|
@@ -35701,8 +35800,8 @@ module Aws::EC2
|
|
35701
35800
|
#
|
35702
35801
|
# resp = client.update_security_group_rule_descriptions_egress({
|
35703
35802
|
# dry_run: false,
|
35704
|
-
# group_id: "
|
35705
|
-
# group_name: "
|
35803
|
+
# group_id: "SecurityGroupId",
|
35804
|
+
# group_name: "SecurityGroupName",
|
35706
35805
|
# ip_permissions: [ # required
|
35707
35806
|
# {
|
35708
35807
|
# from_port: 1,
|
@@ -35815,8 +35914,8 @@ module Aws::EC2
|
|
35815
35914
|
#
|
35816
35915
|
# resp = client.update_security_group_rule_descriptions_ingress({
|
35817
35916
|
# dry_run: false,
|
35818
|
-
# group_id: "
|
35819
|
-
# group_name: "
|
35917
|
+
# group_id: "SecurityGroupId",
|
35918
|
+
# group_name: "SecurityGroupName",
|
35820
35919
|
# ip_permissions: [ # required
|
35821
35920
|
# {
|
35822
35921
|
# from_port: 1,
|
@@ -35926,7 +36025,7 @@ module Aws::EC2
|
|
35926
36025
|
params: params,
|
35927
36026
|
config: config)
|
35928
36027
|
context[:gem_name] = 'aws-sdk-ec2'
|
35929
|
-
context[:gem_version] = '1.
|
36028
|
+
context[:gem_version] = '1.145.0'
|
35930
36029
|
Seahorse::Client::Request.new(handlers, context)
|
35931
36030
|
end
|
35932
36031
|
|