aws-sdk-ec2 1.391.0 → 1.392.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +266 -469
- data/lib/aws-sdk-ec2/dhcp_options.rb +1 -1
- data/lib/aws-sdk-ec2/instance.rb +17 -16
- data/lib/aws-sdk-ec2/network_acl.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +32 -47
- data/lib/aws-sdk-ec2/security_group.rb +27 -35
- data/lib/aws-sdk-ec2/subnet.rb +4 -12
- data/lib/aws-sdk-ec2/types.rb +259 -273
- data/lib/aws-sdk-ec2/vpc.rb +21 -29
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -1489,14 +1489,14 @@ module Aws::EC2
|
|
1489
1489
|
|
1490
1490
|
# Assigns one or more private IPv4 addresses to a private NAT gateway.
|
1491
1491
|
# For more information, see [Work with NAT gateways][1] in the *Amazon
|
1492
|
-
#
|
1492
|
+
# VPC User Guide*.
|
1493
1493
|
#
|
1494
1494
|
#
|
1495
1495
|
#
|
1496
1496
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with
|
1497
1497
|
#
|
1498
1498
|
# @option params [required, String] :nat_gateway_id
|
1499
|
-
# The NAT gateway
|
1499
|
+
# The ID of the NAT gateway.
|
1500
1500
|
#
|
1501
1501
|
# @option params [Array<String>] :private_ip_addresses
|
1502
1502
|
# The private IPv4 addresses you want to assign to the private NAT
|
@@ -1744,8 +1744,8 @@ module Aws::EC2
|
|
1744
1744
|
# the instance renews its DHCP lease. You can explicitly renew the lease
|
1745
1745
|
# using the operating system on the instance.
|
1746
1746
|
#
|
1747
|
-
# For more information, see [DHCP options sets][1] in the *Amazon
|
1748
|
-
#
|
1747
|
+
# For more information, see [DHCP options sets][1] in the *Amazon VPC
|
1748
|
+
# User Guide*.
|
1749
1749
|
#
|
1750
1750
|
#
|
1751
1751
|
#
|
@@ -2088,12 +2088,12 @@ module Aws::EC2
|
|
2088
2088
|
|
2089
2089
|
# Associates Elastic IP addresses (EIPs) and private IPv4 addresses with
|
2090
2090
|
# a public NAT gateway. For more information, see [Work with NAT
|
2091
|
-
# gateways][1] in the *Amazon
|
2091
|
+
# gateways][1] in the *Amazon VPC User Guide*.
|
2092
2092
|
#
|
2093
2093
|
# By default, you can associate up to 2 Elastic IP addresses per public
|
2094
2094
|
# NAT gateway. You can increase the limit by requesting a quota
|
2095
2095
|
# adjustment. For more information, see [Elastic IP address quotas][2]
|
2096
|
-
# in the *Amazon
|
2096
|
+
# in the *Amazon VPC User Guide*.
|
2097
2097
|
#
|
2098
2098
|
#
|
2099
2099
|
#
|
@@ -2101,7 +2101,7 @@ module Aws::EC2
|
|
2101
2101
|
# [2]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-eips
|
2102
2102
|
#
|
2103
2103
|
# @option params [required, String] :nat_gateway_id
|
2104
|
-
# The NAT gateway
|
2104
|
+
# The ID of the NAT gateway.
|
2105
2105
|
#
|
2106
2106
|
# @option params [required, Array<String>] :allocation_ids
|
2107
2107
|
# The allocation IDs of EIPs that you want to associate with your NAT
|
@@ -2159,8 +2159,8 @@ module Aws::EC2
|
|
2159
2159
|
# an association ID, which you need in order to disassociate the route
|
2160
2160
|
# table later. A route table can be associated with multiple subnets.
|
2161
2161
|
#
|
2162
|
-
# For more information, see [Route tables][1] in the *Amazon
|
2163
|
-
#
|
2162
|
+
# For more information, see [Route tables][1] in the *Amazon VPC User
|
2163
|
+
# Guide*.
|
2164
2164
|
#
|
2165
2165
|
#
|
2166
2166
|
#
|
@@ -2512,13 +2512,13 @@ module Aws::EC2
|
|
2512
2512
|
# block, an IPv6 pool, or an Amazon-provided IPv6 CIDR block.
|
2513
2513
|
#
|
2514
2514
|
# For more information about associating CIDR blocks with your VPC and
|
2515
|
-
# applicable restrictions, see [
|
2516
|
-
#
|
2515
|
+
# applicable restrictions, see [IP addressing for your VPCs and
|
2516
|
+
# subnets][2] in the *Amazon VPC User Guide*.
|
2517
2517
|
#
|
2518
2518
|
#
|
2519
2519
|
#
|
2520
2520
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
2521
|
-
# [2]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
2521
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html
|
2522
2522
|
#
|
2523
2523
|
# @option params [Boolean] :amazon_provided_ipv_6_cidr_block
|
2524
2524
|
# Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
|
@@ -2632,15 +2632,12 @@ module Aws::EC2
|
|
2632
2632
|
req.send_request(options)
|
2633
2633
|
end
|
2634
2634
|
|
2635
|
-
# <note markdown="1">
|
2636
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
2637
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
2638
|
-
# Guide*.
|
2635
|
+
# <note markdown="1"> This action is deprecated.
|
2639
2636
|
#
|
2640
2637
|
# </note>
|
2641
2638
|
#
|
2642
2639
|
# Links an EC2-Classic instance to a ClassicLink-enabled VPC through one
|
2643
|
-
# or more of the VPC
|
2640
|
+
# or more of the VPC security groups. You cannot link an EC2-Classic
|
2644
2641
|
# instance to more than one VPC at a time. You can only link an instance
|
2645
2642
|
# that's in the `running` state. An instance is automatically unlinked
|
2646
2643
|
# from a VPC when it's stopped - you can link it to the VPC again when
|
@@ -2653,10 +2650,6 @@ module Aws::EC2
|
|
2653
2650
|
# Linking your instance to a VPC is sometimes referred to as *attaching*
|
2654
2651
|
# your instance.
|
2655
2652
|
#
|
2656
|
-
#
|
2657
|
-
#
|
2658
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
2659
|
-
#
|
2660
2653
|
# @option params [Boolean] :dry_run
|
2661
2654
|
# Checks whether you have the required permissions for the action,
|
2662
2655
|
# without actually making the request, and provides an error response.
|
@@ -2664,15 +2657,14 @@ module Aws::EC2
|
|
2664
2657
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2665
2658
|
#
|
2666
2659
|
# @option params [required, Array<String>] :groups
|
2667
|
-
# The
|
2668
|
-
#
|
2660
|
+
# The IDs of the security groups. You cannot specify security groups
|
2661
|
+
# from a different VPC.
|
2669
2662
|
#
|
2670
2663
|
# @option params [required, String] :instance_id
|
2671
|
-
# The ID of
|
2672
|
-
# VPC.
|
2664
|
+
# The ID of the EC2-Classic instance.
|
2673
2665
|
#
|
2674
2666
|
# @option params [required, String] :vpc_id
|
2675
|
-
# The ID of
|
2667
|
+
# The ID of the ClassicLink-enabled VPC.
|
2676
2668
|
#
|
2677
2669
|
# @return [Types::AttachClassicLinkVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2678
2670
|
#
|
@@ -2702,12 +2694,12 @@ module Aws::EC2
|
|
2702
2694
|
|
2703
2695
|
# Attaches an internet gateway or a virtual private gateway to a VPC,
|
2704
2696
|
# enabling connectivity between the internet and the VPC. For more
|
2705
|
-
# information
|
2706
|
-
#
|
2697
|
+
# information, see [Internet gateways][1] in the *Amazon VPC User
|
2698
|
+
# Guide*.
|
2707
2699
|
#
|
2708
2700
|
#
|
2709
2701
|
#
|
2710
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
2702
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
|
2711
2703
|
#
|
2712
2704
|
# @option params [Boolean] :dry_run
|
2713
2705
|
# Checks whether you have the required permissions for the action,
|
@@ -3140,8 +3132,8 @@ module Aws::EC2
|
|
3140
3132
|
req.send_request(options)
|
3141
3133
|
end
|
3142
3134
|
|
3143
|
-
#
|
3144
|
-
#
|
3135
|
+
# Adds the specified outbound (egress) rules to a security group for use
|
3136
|
+
# with a VPC.
|
3145
3137
|
#
|
3146
3138
|
# An outbound rule permits instances to send traffic to the specified
|
3147
3139
|
# IPv4 or IPv6 CIDR address ranges, or to the instances that are
|
@@ -3368,17 +3360,9 @@ module Aws::EC2
|
|
3368
3360
|
# For more information about VPC security group quotas, see [Amazon VPC
|
3369
3361
|
# quotas][1].
|
3370
3362
|
#
|
3371
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
3372
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
3373
|
-
# EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
|
3374
|
-
# Guide*.
|
3375
|
-
#
|
3376
|
-
# </note>
|
3377
|
-
#
|
3378
3363
|
#
|
3379
3364
|
#
|
3380
3365
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
3381
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
3382
3366
|
#
|
3383
3367
|
# @option params [String] :cidr_ip
|
3384
3368
|
# The IPv4 address range, in CIDR format. You can't specify this
|
@@ -3403,8 +3387,8 @@ module Aws::EC2
|
|
3403
3387
|
# groups in a nondefault VPC, you must specify the security group ID.
|
3404
3388
|
#
|
3405
3389
|
# @option params [String] :group_name
|
3406
|
-
# \[
|
3407
|
-
#
|
3390
|
+
# \[Default VPC\] The name of the security group. You must specify
|
3391
|
+
# either the security group ID or the security group name in the
|
3408
3392
|
# request. For security groups in a nondefault VPC, you must specify the
|
3409
3393
|
# security group ID.
|
3410
3394
|
#
|
@@ -3415,9 +3399,9 @@ module Aws::EC2
|
|
3415
3399
|
# The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
|
3416
3400
|
# Numbers][1]). To specify `icmpv6`, use a set of IP permissions.
|
3417
3401
|
#
|
3418
|
-
#
|
3419
|
-
#
|
3420
|
-
#
|
3402
|
+
# Use `-1` to specify all protocols. If you specify `-1` or a protocol
|
3403
|
+
# other than `tcp`, `udp`, or `icmp`, traffic on all ports is allowed,
|
3404
|
+
# regardless of any ports you specify.
|
3421
3405
|
#
|
3422
3406
|
# Alternatively, use a set of IP permissions to specify multiple rules
|
3423
3407
|
# and a description for the rule.
|
@@ -3427,16 +3411,16 @@ module Aws::EC2
|
|
3427
3411
|
# [1]: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
|
3428
3412
|
#
|
3429
3413
|
# @option params [String] :source_security_group_name
|
3430
|
-
# \[
|
3431
|
-
#
|
3432
|
-
#
|
3433
|
-
#
|
3434
|
-
#
|
3435
|
-
#
|
3436
|
-
#
|
3414
|
+
# \[Default VPC\] The name of the source security group. You can't
|
3415
|
+
# specify this parameter in combination with the following parameters:
|
3416
|
+
# the CIDR IP address range, the start of the port range, the IP
|
3417
|
+
# protocol, and the end of the port range. Creates rules that grant full
|
3418
|
+
# ICMP, UDP, and TCP access. To create a rule with a specific IP
|
3419
|
+
# protocol and port range, use a set of IP permissions instead. The
|
3420
|
+
# source security group must be in the same VPC.
|
3437
3421
|
#
|
3438
3422
|
# @option params [String] :source_security_group_owner_id
|
3439
|
-
# \[
|
3423
|
+
# \[Nondefault VPC\] The Amazon Web Services account ID for the source
|
3440
3424
|
# security group, if the source security group is in a different
|
3441
3425
|
# account. You can't specify this parameter in combination with the
|
3442
3426
|
# following parameters: the CIDR IP address range, the IP protocol, the
|
@@ -5744,8 +5728,7 @@ module Aws::EC2
|
|
5744
5728
|
# Creates a default subnet with a size `/20` IPv4 CIDR block in the
|
5745
5729
|
# specified Availability Zone in your default VPC. You can have only one
|
5746
5730
|
# default subnet per Availability Zone. For more information, see
|
5747
|
-
# [
|
5748
|
-
# User Guide*.
|
5731
|
+
# [Create a default subnet][1] in the *Amazon VPC User Guide*.
|
5749
5732
|
#
|
5750
5733
|
#
|
5751
5734
|
#
|
@@ -5820,31 +5803,16 @@ module Aws::EC2
|
|
5820
5803
|
|
5821
5804
|
# Creates a default VPC with a size `/16` IPv4 CIDR block and a default
|
5822
5805
|
# subnet in each Availability Zone. For more information about the
|
5823
|
-
# components of a default VPC, see [Default
|
5824
|
-
#
|
5825
|
-
#
|
5806
|
+
# components of a default VPC, see [Default VPCs][1] in the *Amazon VPC
|
5807
|
+
# User Guide*. You cannot specify the components of the default VPC
|
5808
|
+
# yourself.
|
5826
5809
|
#
|
5827
5810
|
# If you deleted your previous default VPC, you can create a default
|
5828
5811
|
# VPC. You cannot have more than one default VPC per Region.
|
5829
5812
|
#
|
5830
|
-
# If your account supports EC2-Classic, you cannot use this action to
|
5831
|
-
# create a default VPC in a Region that supports EC2-Classic. If you
|
5832
|
-
# want a default VPC in a Region that supports EC2-Classic, see "I
|
5833
|
-
# really want a default VPC for my existing EC2 account. Is that
|
5834
|
-
# possible?" in the [Default VPCs FAQ][2].
|
5835
|
-
#
|
5836
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
5837
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
5838
|
-
# EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
|
5839
|
-
# Guide*.
|
5840
|
-
#
|
5841
|
-
# </note>
|
5842
|
-
#
|
5843
5813
|
#
|
5844
5814
|
#
|
5845
5815
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html
|
5846
|
-
# [2]: http://aws.amazon.com/vpc/faqs/#Default_VPCs
|
5847
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
5848
5816
|
#
|
5849
5817
|
# @option params [Boolean] :dry_run
|
5850
5818
|
# Checks whether you have the required permissions for the action,
|
@@ -5938,8 +5906,8 @@ module Aws::EC2
|
|
5938
5906
|
# create a set of options, and if your VPC has an internet gateway, make
|
5939
5907
|
# sure to set the `domain-name-servers` option either to
|
5940
5908
|
# `AmazonProvidedDNS` or to a domain name server of your choice. For
|
5941
|
-
# more information, see [DHCP options sets][2] in the *Amazon
|
5942
|
-
#
|
5909
|
+
# more information, see [DHCP options sets][2] in the *Amazon VPC User
|
5910
|
+
# Guide*.
|
5943
5911
|
#
|
5944
5912
|
#
|
5945
5913
|
#
|
@@ -6794,18 +6762,6 @@ module Aws::EC2
|
|
6794
6762
|
# Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance
|
6795
6763
|
# that is either running or stopped.
|
6796
6764
|
#
|
6797
|
-
# By default, when Amazon EC2 creates the new AMI, it reboots the
|
6798
|
-
# instance so that it can take snapshots of the attached volumes while
|
6799
|
-
# data is at rest, in order to ensure a consistent state. You can set
|
6800
|
-
# the `NoReboot` parameter to `true` in the API request, or use the
|
6801
|
-
# `--no-reboot` option in the CLI to prevent Amazon EC2 from shutting
|
6802
|
-
# down and rebooting the instance.
|
6803
|
-
#
|
6804
|
-
# If you choose to bypass the shutdown and reboot process by setting the
|
6805
|
-
# `NoReboot` parameter to `true` in the API request, or by using the
|
6806
|
-
# `--no-reboot` option in the CLI, we can't guarantee the file system
|
6807
|
-
# integrity of the created image.
|
6808
|
-
#
|
6809
6765
|
# If you customized your instance with instance store volumes or Amazon
|
6810
6766
|
# EBS volumes in addition to the root device volume, the new AMI
|
6811
6767
|
# contains block device mapping information for those volumes. When you
|
@@ -6844,19 +6800,20 @@ module Aws::EC2
|
|
6844
6800
|
# single quotes ('), at-signs (@), or underscores(\_)
|
6845
6801
|
#
|
6846
6802
|
# @option params [Boolean] :no_reboot
|
6847
|
-
#
|
6848
|
-
#
|
6849
|
-
#
|
6850
|
-
#
|
6851
|
-
#
|
6852
|
-
#
|
6803
|
+
# Indicates whether or not the instance should be automatically rebooted
|
6804
|
+
# before creating the image. Specify one of the following values:
|
6805
|
+
#
|
6806
|
+
# * `true` - The instance is not rebooted before creating the image.
|
6807
|
+
# This creates crash-consistent snapshots that include only the data
|
6808
|
+
# that has been written to the volumes at the time the snapshots are
|
6809
|
+
# created. Buffered data and data in memory that has not yet been
|
6810
|
+
# written to the volumes is not included in the snapshots.
|
6853
6811
|
#
|
6854
|
-
#
|
6855
|
-
#
|
6856
|
-
#
|
6857
|
-
# integrity of the created image.
|
6812
|
+
# * `false` - The instance is rebooted before creating the image. This
|
6813
|
+
# ensures that all buffered data and data in memory is written to the
|
6814
|
+
# volumes before the snapshots are created.
|
6858
6815
|
#
|
6859
|
-
# Default: `false`
|
6816
|
+
# Default: `false`
|
6860
6817
|
#
|
6861
6818
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
6862
6819
|
# The tags to apply to the AMI and snapshots on creation. You can tag
|
@@ -6966,9 +6923,9 @@ module Aws::EC2
|
|
6966
6923
|
|
6967
6924
|
# Creates an EC2 Instance Connect Endpoint.
|
6968
6925
|
#
|
6969
|
-
# An EC2 Instance Connect Endpoint allows you to connect to
|
6970
|
-
# without requiring the
|
6971
|
-
# information, see [Connect to your
|
6926
|
+
# An EC2 Instance Connect Endpoint allows you to connect to an instance,
|
6927
|
+
# without requiring the instance to have a public IPv4 address. For more
|
6928
|
+
# information, see [Connect to your instances without requiring a public
|
6972
6929
|
# IPv4 address using EC2 Instance Connect Endpoint][1] in the *Amazon
|
6973
6930
|
# EC2 User Guide*.
|
6974
6931
|
#
|
@@ -7212,10 +7169,10 @@ module Aws::EC2
|
|
7212
7169
|
|
7213
7170
|
# Exports a running or stopped instance to an Amazon S3 bucket.
|
7214
7171
|
#
|
7215
|
-
# For information about the
|
7216
|
-
#
|
7217
|
-
#
|
7218
|
-
# Import/Export User Guide*.
|
7172
|
+
# For information about the prerequisites for your Amazon S3 bucket,
|
7173
|
+
# supported operating systems, image formats, and known limitations for
|
7174
|
+
# the types of instances you can export, see [Exporting an instance as a
|
7175
|
+
# VM Using VM Import/Export][1] in the *VM Import/Export User Guide*.
|
7219
7176
|
#
|
7220
7177
|
#
|
7221
7178
|
#
|
@@ -7294,12 +7251,12 @@ module Aws::EC2
|
|
7294
7251
|
# Creates an internet gateway for use with a VPC. After creating the
|
7295
7252
|
# internet gateway, you attach it to a VPC using AttachInternetGateway.
|
7296
7253
|
#
|
7297
|
-
# For more information
|
7298
|
-
#
|
7254
|
+
# For more information, see [Internet gateways][1] in the *Amazon VPC
|
7255
|
+
# User Guide*.
|
7299
7256
|
#
|
7300
7257
|
#
|
7301
7258
|
#
|
7302
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
7259
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
|
7303
7260
|
#
|
7304
7261
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7305
7262
|
# The tags to assign to the internet gateway.
|
@@ -9225,8 +9182,8 @@ module Aws::EC2
|
|
9225
9182
|
# behind a small pool of allowlisted IPv4 addresses, preserving private
|
9226
9183
|
# IPv4 addresses, and communicating between overlapping networks.
|
9227
9184
|
#
|
9228
|
-
# For more information, see [NAT gateways][1] in the *Amazon
|
9229
|
-
#
|
9185
|
+
# For more information, see [NAT gateways][1] in the *Amazon VPC User
|
9186
|
+
# Guide*.
|
9230
9187
|
#
|
9231
9188
|
#
|
9232
9189
|
#
|
@@ -9275,9 +9232,8 @@ module Aws::EC2
|
|
9275
9232
|
# assigned.
|
9276
9233
|
#
|
9277
9234
|
# @option params [Array<String>] :secondary_allocation_ids
|
9278
|
-
# Secondary EIP allocation IDs. For more information
|
9279
|
-
#
|
9280
|
-
# Private Cloud User Guide*.
|
9235
|
+
# Secondary EIP allocation IDs. For more information, see [Create a NAT
|
9236
|
+
# gateway][1] in the *Amazon VPC User Guide*.
|
9281
9237
|
#
|
9282
9238
|
#
|
9283
9239
|
#
|
@@ -9285,8 +9241,8 @@ module Aws::EC2
|
|
9285
9241
|
#
|
9286
9242
|
# @option params [Array<String>] :secondary_private_ip_addresses
|
9287
9243
|
# Secondary private IPv4 addresses. For more information about secondary
|
9288
|
-
# addresses, see [Create a NAT gateway][1] in the *Amazon
|
9289
|
-
#
|
9244
|
+
# addresses, see [Create a NAT gateway][1] in the *Amazon VPC User
|
9245
|
+
# Guide*.
|
9290
9246
|
#
|
9291
9247
|
#
|
9292
9248
|
#
|
@@ -9296,7 +9252,7 @@ module Aws::EC2
|
|
9296
9252
|
# \[Private NAT gateway only\] The number of secondary private IPv4
|
9297
9253
|
# addresses you want to assign to the NAT gateway. For more information
|
9298
9254
|
# about secondary addresses, see [Create a NAT gateway][1] in the
|
9299
|
-
# *Amazon
|
9255
|
+
# *Amazon VPC User Guide*.
|
9300
9256
|
#
|
9301
9257
|
#
|
9302
9258
|
#
|
@@ -9402,12 +9358,12 @@ module Aws::EC2
|
|
9402
9358
|
# of security (in addition to security groups) for the instances in your
|
9403
9359
|
# VPC.
|
9404
9360
|
#
|
9405
|
-
# For more information, see [Network ACLs][1] in the *Amazon
|
9406
|
-
#
|
9361
|
+
# For more information, see [Network ACLs][1] in the *Amazon VPC User
|
9362
|
+
# Guide*.
|
9407
9363
|
#
|
9408
9364
|
#
|
9409
9365
|
#
|
9410
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
9366
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html
|
9411
9367
|
#
|
9412
9368
|
# @option params [Boolean] :dry_run
|
9413
9369
|
# Checks whether you have the required permissions for the action,
|
@@ -9532,11 +9488,11 @@ module Aws::EC2
|
|
9532
9488
|
# it, or create an entry and delete the old one.
|
9533
9489
|
#
|
9534
9490
|
# For more information about network ACLs, see [Network ACLs][1] in the
|
9535
|
-
# *Amazon
|
9491
|
+
# *Amazon VPC User Guide*.
|
9536
9492
|
#
|
9537
9493
|
#
|
9538
9494
|
#
|
9539
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
9495
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html
|
9540
9496
|
#
|
9541
9497
|
# @option params [String] :cidr_block
|
9542
9498
|
# The IPv4 network range to allow or deny, in CIDR notation (for example
|
@@ -10875,7 +10831,7 @@ module Aws::EC2
|
|
10875
10831
|
# where to target the traffic.
|
10876
10832
|
#
|
10877
10833
|
# For more information about route tables, see [Route tables][1] in the
|
10878
|
-
# *Amazon
|
10834
|
+
# *Amazon VPC User Guide*.
|
10879
10835
|
#
|
10880
10836
|
#
|
10881
10837
|
#
|
@@ -10996,8 +10952,8 @@ module Aws::EC2
|
|
10996
10952
|
# Creates a route table for the specified VPC. After you create a route
|
10997
10953
|
# table, you can add routes and associate the table with a subnet.
|
10998
10954
|
#
|
10999
|
-
# For more information, see [Route tables][1] in the *Amazon
|
11000
|
-
#
|
10955
|
+
# For more information, see [Route tables][1] in the *Amazon VPC User
|
10956
|
+
# Guide*.
|
11001
10957
|
#
|
11002
10958
|
#
|
11003
10959
|
#
|
@@ -11121,17 +11077,14 @@ module Aws::EC2
|
|
11121
11077
|
# Virtual Private Cloud User Guide*.
|
11122
11078
|
#
|
11123
11079
|
# When you create a security group, you specify a friendly name of your
|
11124
|
-
# choice. You can have
|
11125
|
-
# same name
|
11126
|
-
#
|
11127
|
-
#
|
11128
|
-
#
|
11129
|
-
#
|
11130
|
-
# security group
|
11131
|
-
#
|
11132
|
-
# appropriate default security group. A default security group includes
|
11133
|
-
# a default rule that grants instances unrestricted network access to
|
11134
|
-
# each other.
|
11080
|
+
# choice. You can't have two security groups for the same VPC with the
|
11081
|
+
# same name.
|
11082
|
+
#
|
11083
|
+
# You have a default security group for use in your VPC. If you don't
|
11084
|
+
# specify a security group when you launch an instance, the instance is
|
11085
|
+
# launched into the appropriate default security group. A default
|
11086
|
+
# security group includes a default rule that grants instances
|
11087
|
+
# unrestricted network access to each other.
|
11135
11088
|
#
|
11136
11089
|
# You can add or remove rules from your security groups using
|
11137
11090
|
# AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress,
|
@@ -11140,28 +11093,18 @@ module Aws::EC2
|
|
11140
11093
|
# For more information about VPC security group limits, see [Amazon VPC
|
11141
11094
|
# Limits][3].
|
11142
11095
|
#
|
11143
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
11144
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
11145
|
-
# EC2-Classic to a VPC][4] in the *Amazon Elastic Compute Cloud User
|
11146
|
-
# Guide*.
|
11147
|
-
#
|
11148
|
-
# </note>
|
11149
|
-
#
|
11150
11096
|
#
|
11151
11097
|
#
|
11152
11098
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
|
11153
11099
|
# [2]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
|
11154
11100
|
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
11155
|
-
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
11156
11101
|
#
|
11157
11102
|
# @option params [required, String] :description
|
11158
11103
|
# A description for the security group.
|
11159
11104
|
#
|
11160
11105
|
# Constraints: Up to 255 characters in length
|
11161
11106
|
#
|
11162
|
-
#
|
11163
|
-
#
|
11164
|
-
# Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and
|
11107
|
+
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
11165
11108
|
# .\_-:/()#,@\[\]+=&;\\\{\\}!$*
|
11166
11109
|
#
|
11167
11110
|
# @option params [required, String] :group_name
|
@@ -11169,13 +11112,11 @@ module Aws::EC2
|
|
11169
11112
|
#
|
11170
11113
|
# Constraints: Up to 255 characters in length. Cannot start with `sg-`.
|
11171
11114
|
#
|
11172
|
-
#
|
11173
|
-
#
|
11174
|
-
# Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and
|
11115
|
+
# Valid characters: a-z, A-Z, 0-9, spaces, and
|
11175
11116
|
# .\_-:/()#,@\[\]+=&;\\\{\\}!$*
|
11176
11117
|
#
|
11177
11118
|
# @option params [String] :vpc_id
|
11178
|
-
#
|
11119
|
+
# The ID of the VPC. Required for a nondefault VPC.
|
11179
11120
|
#
|
11180
11121
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
11181
11122
|
# The tags to assign to the security group.
|
@@ -11706,8 +11647,7 @@ module Aws::EC2
|
|
11706
11647
|
# instances (they're all stopped), but no remaining IP addresses
|
11707
11648
|
# available.
|
11708
11649
|
#
|
11709
|
-
# For more information, see [Subnets][1] in the *Amazon
|
11710
|
-
# Cloud User Guide*.
|
11650
|
+
# For more information, see [Subnets][1] in the *Amazon VPC User Guide*.
|
11711
11651
|
#
|
11712
11652
|
#
|
11713
11653
|
#
|
@@ -11725,15 +11665,14 @@ module Aws::EC2
|
|
11725
11665
|
#
|
11726
11666
|
# To create a subnet in a Local Zone, set this value to the Local Zone
|
11727
11667
|
# ID, for example `us-west-2-lax-1a`. For information about the Regions
|
11728
|
-
# that support Local Zones, see [
|
11729
|
-
# Elastic Compute Cloud User Guide*.
|
11668
|
+
# that support Local Zones, see [Local Zones locations][1].
|
11730
11669
|
#
|
11731
11670
|
# To create a subnet in an Outpost, set this value to the Availability
|
11732
11671
|
# Zone for the Outpost and specify the Outpost ARN.
|
11733
11672
|
#
|
11734
11673
|
#
|
11735
11674
|
#
|
11736
|
-
# [1]:
|
11675
|
+
# [1]: http://aws.amazon.com/about-aws/global-infrastructure/localzones/locations/
|
11737
11676
|
#
|
11738
11677
|
# @option params [String] :availability_zone_id
|
11739
11678
|
# The AZ ID or the Local Zone ID of the subnet.
|
@@ -13770,7 +13709,8 @@ module Aws::EC2
|
|
13770
13709
|
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-creating-volume.html
|
13771
13710
|
#
|
13772
13711
|
# @option params [required, String] :availability_zone
|
13773
|
-
# The Availability Zone in which to create the volume.
|
13712
|
+
# The ID of the Availability Zone in which to create the volume. For
|
13713
|
+
# example, `us-east-1a`.
|
13774
13714
|
#
|
13775
13715
|
# @option params [Boolean] :encrypted
|
13776
13716
|
# Indicates whether the volume should be encrypted. The effect of
|
@@ -14064,8 +14004,8 @@ module Aws::EC2
|
|
14064
14004
|
end
|
14065
14005
|
|
14066
14006
|
# Creates a VPC with the specified CIDR blocks. For more information,
|
14067
|
-
# see [
|
14068
|
-
# Guide*.
|
14007
|
+
# see [IP addressing for your VPCs and subnets][1] in the *Amazon VPC
|
14008
|
+
# User Guide*.
|
14069
14009
|
#
|
14070
14010
|
# You can optionally request an IPv6 CIDR block for the VPC. You can
|
14071
14011
|
# request an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6
|
@@ -14075,16 +14015,16 @@ module Aws::EC2
|
|
14075
14015
|
# By default, each instance that you launch in the VPC has the default
|
14076
14016
|
# DHCP options, which include only a default DNS server that we provide
|
14077
14017
|
# (AmazonProvidedDNS). For more information, see [DHCP option sets][3]
|
14078
|
-
# in the *Amazon
|
14018
|
+
# in the *Amazon VPC User Guide*.
|
14079
14019
|
#
|
14080
14020
|
# You can specify the instance tenancy value for the VPC when you create
|
14081
14021
|
# it. You can't change this value for the VPC after you create it. For
|
14082
|
-
# more information, see [Dedicated Instances][4] in the *Amazon
|
14083
|
-
#
|
14022
|
+
# more information, see [Dedicated Instances][4] in the *Amazon EC2 User
|
14023
|
+
# Guide*.
|
14084
14024
|
#
|
14085
14025
|
#
|
14086
14026
|
#
|
14087
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
14027
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html
|
14088
14028
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
14089
14029
|
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html
|
14090
14030
|
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html
|
@@ -14266,11 +14206,11 @@ module Aws::EC2
|
|
14266
14206
|
req.send_request(options)
|
14267
14207
|
end
|
14268
14208
|
|
14269
|
-
# Creates a VPC endpoint
|
14270
|
-
#
|
14271
|
-
#
|
14209
|
+
# Creates a VPC endpoint. A VPC endpoint provides a private connection
|
14210
|
+
# between the specified VPC and the specified endpoint service. You can
|
14211
|
+
# use an endpoint service provided by Amazon Web Services, an Amazon Web
|
14272
14212
|
# Services Marketplace Partner, or another Amazon Web Services account.
|
14273
|
-
# For more information, see the [Amazon Web Services PrivateLink
|
14213
|
+
# For more information, see the [Amazon Web Services PrivateLink User
|
14274
14214
|
# Guide][1].
|
14275
14215
|
#
|
14276
14216
|
#
|
@@ -14289,10 +14229,10 @@ module Aws::EC2
|
|
14289
14229
|
# Default: Gateway
|
14290
14230
|
#
|
14291
14231
|
# @option params [required, String] :vpc_id
|
14292
|
-
# The ID of the VPC
|
14232
|
+
# The ID of the VPC.
|
14293
14233
|
#
|
14294
14234
|
# @option params [required, String] :service_name
|
14295
|
-
# The service
|
14235
|
+
# The name of the endpoint service.
|
14296
14236
|
#
|
14297
14237
|
# @option params [String] :policy_document
|
14298
14238
|
# (Interface and gateway endpoints) A policy to attach to the endpoint
|
@@ -17017,29 +16957,16 @@ module Aws::EC2
|
|
17017
16957
|
# Deletes a security group.
|
17018
16958
|
#
|
17019
16959
|
# If you attempt to delete a security group that is associated with an
|
17020
|
-
# instance
|
17021
|
-
# fails with `
|
17022
|
-
# `DependencyViolation` in EC2-VPC.
|
17023
|
-
#
|
17024
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
17025
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
17026
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
17027
|
-
# Guide*.
|
17028
|
-
#
|
17029
|
-
# </note>
|
17030
|
-
#
|
17031
|
-
#
|
17032
|
-
#
|
17033
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
16960
|
+
# instance or network interface or is referenced by another security
|
16961
|
+
# group, the operation fails with `DependencyViolation`.
|
17034
16962
|
#
|
17035
16963
|
# @option params [String] :group_id
|
17036
|
-
# The ID of the security group.
|
16964
|
+
# The ID of the security group.
|
17037
16965
|
#
|
17038
16966
|
# @option params [String] :group_name
|
17039
|
-
# \[
|
17040
|
-
#
|
17041
|
-
#
|
17042
|
-
# group ID.
|
16967
|
+
# \[Default VPC\] The name of the security group. You can specify either
|
16968
|
+
# the security group name or the security group ID. For security groups
|
16969
|
+
# in a nondefault VPC, you must specify the security group ID.
|
17043
16970
|
#
|
17044
16971
|
# @option params [Boolean] :dry_run
|
17045
16972
|
# Checks whether you have the required permissions for the action,
|
@@ -20151,24 +20078,17 @@ module Aws::EC2
|
|
20151
20078
|
req.send_request(options)
|
20152
20079
|
end
|
20153
20080
|
|
20081
|
+
# <note markdown="1"> This action is deprecated.
|
20082
|
+
#
|
20083
|
+
# </note>
|
20084
|
+
#
|
20154
20085
|
# Describes one or more of your linked EC2-Classic instances. This
|
20155
20086
|
# request only returns information about EC2-Classic instances linked to
|
20156
20087
|
# a VPC through ClassicLink. You cannot use this request to return
|
20157
20088
|
# information about other instances.
|
20158
20089
|
#
|
20159
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
20160
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
20161
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
20162
|
-
# Guide*.
|
20163
|
-
#
|
20164
|
-
# </note>
|
20165
|
-
#
|
20166
|
-
#
|
20167
|
-
#
|
20168
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
20169
|
-
#
|
20170
20090
|
# @option params [Array<Types::Filter>] :filters
|
20171
|
-
#
|
20091
|
+
# The filters.
|
20172
20092
|
#
|
20173
20093
|
# * `group-id` - The ID of a VPC security group that's associated with
|
20174
20094
|
# the instance.
|
@@ -20187,8 +20107,6 @@ module Aws::EC2
|
|
20187
20107
|
#
|
20188
20108
|
# * `vpc-id` - The ID of the VPC to which the instance is linked.
|
20189
20109
|
#
|
20190
|
-
# `vpc-id` - The ID of the VPC that the instance is linked to.
|
20191
|
-
#
|
20192
20110
|
# @option params [Boolean] :dry_run
|
20193
20111
|
# Checks whether you have the required permissions for the action,
|
20194
20112
|
# without actually making the request, and provides an error response.
|
@@ -20196,7 +20114,7 @@ module Aws::EC2
|
|
20196
20114
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
20197
20115
|
#
|
20198
20116
|
# @option params [Array<String>] :instance_ids
|
20199
|
-
#
|
20117
|
+
# The instance IDs. Must be instances linked to a VPC through
|
20200
20118
|
# ClassicLink.
|
20201
20119
|
#
|
20202
20120
|
# @option params [Integer] :max_results
|
@@ -20940,8 +20858,8 @@ module Aws::EC2
|
|
20940
20858
|
|
20941
20859
|
# Describes one or more of your DHCP options sets.
|
20942
20860
|
#
|
20943
|
-
# For more information, see [DHCP options sets][1] in the *Amazon
|
20944
|
-
#
|
20861
|
+
# For more information, see [DHCP options sets][1] in the *Amazon VPC
|
20862
|
+
# User Guide*.
|
20945
20863
|
#
|
20946
20864
|
#
|
20947
20865
|
#
|
@@ -20953,7 +20871,7 @@ module Aws::EC2
|
|
20953
20871
|
# Default: Describes all your DHCP options sets.
|
20954
20872
|
#
|
20955
20873
|
# @option params [Array<Types::Filter>] :filters
|
20956
|
-
#
|
20874
|
+
# The filters.
|
20957
20875
|
#
|
20958
20876
|
# * `dhcp-options-id` - The ID of a DHCP options set.
|
20959
20877
|
#
|
@@ -21080,7 +20998,7 @@ module Aws::EC2
|
|
21080
20998
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
21081
20999
|
#
|
21082
21000
|
# @option params [Array<String>] :egress_only_internet_gateway_ids
|
21083
|
-
#
|
21001
|
+
# The IDs of the egress-only internet gateways.
|
21084
21002
|
#
|
21085
21003
|
# @option params [Integer] :max_results
|
21086
21004
|
# The maximum number of items to return for this request. To get the
|
@@ -21096,7 +21014,7 @@ module Aws::EC2
|
|
21096
21014
|
# continues from the end of the items returned by the previous request.
|
21097
21015
|
#
|
21098
21016
|
# @option params [Array<Types::Filter>] :filters
|
21099
|
-
#
|
21017
|
+
# The filters.
|
21100
21018
|
#
|
21101
21019
|
# * `tag`:<key> - The key/value combination of a tag assigned to
|
21102
21020
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -22938,7 +22856,7 @@ module Aws::EC2
|
|
22938
22856
|
# The filters.
|
22939
22857
|
#
|
22940
22858
|
# * `architecture` - The image architecture (`i386` \| `x86_64` \|
|
22941
|
-
# `arm64`).
|
22859
|
+
# `arm64` \| `x86_64_mac` \| `arm64_mac`).
|
22942
22860
|
#
|
22943
22861
|
# * `block-device-mapping.delete-on-termination` - A Boolean value that
|
22944
22862
|
# indicates whether the Amazon EBS volume is deleted on instance
|
@@ -24231,8 +24149,8 @@ module Aws::EC2
|
|
24231
24149
|
# * `bare-metal` - Indicates whether it is a bare metal instance type
|
24232
24150
|
# (`true` \| `false`).
|
24233
24151
|
#
|
24234
|
-
# * `burstable-performance-supported` - Indicates whether
|
24235
|
-
# burstable performance instance type (`true` \| `false`).
|
24152
|
+
# * `burstable-performance-supported` - Indicates whether the instance
|
24153
|
+
# type is a burstable performance T instance type (`true` \| `false`).
|
24236
24154
|
#
|
24237
24155
|
# * `current-generation` - Indicates whether this instance type is the
|
24238
24156
|
# latest generation instance type of an instance family (`true` \|
|
@@ -24338,6 +24256,15 @@ module Aws::EC2
|
|
24338
24256
|
# * `network-info.network-performance` - The network performance (for
|
24339
24257
|
# example, "25 Gigabit").
|
24340
24258
|
#
|
24259
|
+
# * `nitro-enclaves-support` - Indicates whether Nitro Enclaves is
|
24260
|
+
# supported (`supported` \| `unsupported`).
|
24261
|
+
#
|
24262
|
+
# * `nitro-tpm-support` - Indicates whether NitroTPM is supported
|
24263
|
+
# (`supported` \| `unsupported`).
|
24264
|
+
#
|
24265
|
+
# * `nitro-tpm-info.supported-versions` - The supported NitroTPM version
|
24266
|
+
# (`2.0`).
|
24267
|
+
#
|
24341
24268
|
# * `processor-info.supported-architecture` - The CPU architecture
|
24342
24269
|
# (`arm64` \| `i386` \| `x86_64`).
|
24343
24270
|
#
|
@@ -25094,7 +25021,7 @@ module Aws::EC2
|
|
25094
25021
|
# Describes one or more of your internet gateways.
|
25095
25022
|
#
|
25096
25023
|
# @option params [Array<Types::Filter>] :filters
|
25097
|
-
#
|
25024
|
+
# The filters.
|
25098
25025
|
#
|
25099
25026
|
# * `attachment.state` - The current state of the attachment between the
|
25100
25027
|
# gateway and the VPC (`available`). Present only if a VPC is
|
@@ -25124,7 +25051,7 @@ module Aws::EC2
|
|
25124
25051
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25125
25052
|
#
|
25126
25053
|
# @option params [Array<String>] :internet_gateway_ids
|
25127
|
-
#
|
25054
|
+
# The IDs of the internet gateways.
|
25128
25055
|
#
|
25129
25056
|
# Default: Describes all your internet gateways.
|
25130
25057
|
#
|
@@ -26961,7 +26888,7 @@ module Aws::EC2
|
|
26961
26888
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
26962
26889
|
#
|
26963
26890
|
# @option params [Array<Types::Filter>] :filter
|
26964
|
-
#
|
26891
|
+
# The filters.
|
26965
26892
|
#
|
26966
26893
|
# * `nat-gateway-id` - The ID of the NAT gateway.
|
26967
26894
|
#
|
@@ -26992,7 +26919,7 @@ module Aws::EC2
|
|
26992
26919
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
26993
26920
|
#
|
26994
26921
|
# @option params [Array<String>] :nat_gateway_ids
|
26995
|
-
#
|
26922
|
+
# The IDs of the NAT gateways.
|
26996
26923
|
#
|
26997
26924
|
# @option params [String] :next_token
|
26998
26925
|
# The token returned from a previous paginated request. Pagination
|
@@ -27105,15 +27032,15 @@ module Aws::EC2
|
|
27105
27032
|
|
27106
27033
|
# Describes one or more of your network ACLs.
|
27107
27034
|
#
|
27108
|
-
# For more information, see [Network ACLs][1] in the *Amazon
|
27109
|
-
#
|
27035
|
+
# For more information, see [Network ACLs][1] in the *Amazon VPC User
|
27036
|
+
# Guide*.
|
27110
27037
|
#
|
27111
27038
|
#
|
27112
27039
|
#
|
27113
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
27040
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html
|
27114
27041
|
#
|
27115
27042
|
# @option params [Array<Types::Filter>] :filters
|
27116
|
-
#
|
27043
|
+
# The filters.
|
27117
27044
|
#
|
27118
27045
|
# * `association.association-id` - The ID of an association ID for the
|
27119
27046
|
# ACL.
|
@@ -27177,7 +27104,7 @@ module Aws::EC2
|
|
27177
27104
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27178
27105
|
#
|
27179
27106
|
# @option params [Array<String>] :network_acl_ids
|
27180
|
-
#
|
27107
|
+
# The IDs of the network ACLs.
|
27181
27108
|
#
|
27182
27109
|
# Default: Describes all your network ACLs.
|
27183
27110
|
#
|
@@ -30077,15 +30004,15 @@ module Aws::EC2
|
|
30077
30004
|
# implicitly associated with the main route table. This command does not
|
30078
30005
|
# return the subnet ID for implicit associations.
|
30079
30006
|
#
|
30080
|
-
# For more information, see [Route tables][1] in the *Amazon
|
30081
|
-
#
|
30007
|
+
# For more information, see [Route tables][1] in the *Amazon VPC User
|
30008
|
+
# Guide*.
|
30082
30009
|
#
|
30083
30010
|
#
|
30084
30011
|
#
|
30085
30012
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html
|
30086
30013
|
#
|
30087
30014
|
# @option params [Array<Types::Filter>] :filters
|
30088
|
-
#
|
30015
|
+
# The filters.
|
30089
30016
|
#
|
30090
30017
|
# * `association.route-table-association-id` - The ID of an association
|
30091
30018
|
# ID for the route table.
|
@@ -30162,7 +30089,7 @@ module Aws::EC2
|
|
30162
30089
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30163
30090
|
#
|
30164
30091
|
# @option params [Array<String>] :route_table_ids
|
30165
|
-
#
|
30092
|
+
# The IDs of the route tables.
|
30166
30093
|
#
|
30167
30094
|
# Default: Describes all your route tables.
|
30168
30095
|
#
|
@@ -30500,9 +30427,8 @@ module Aws::EC2
|
|
30500
30427
|
req.send_request(options)
|
30501
30428
|
end
|
30502
30429
|
|
30503
|
-
#
|
30504
|
-
#
|
30505
|
-
# in this request.
|
30430
|
+
# Describes the VPCs on the other side of a VPC peering connection that
|
30431
|
+
# are referencing the security groups you've specified in this request.
|
30506
30432
|
#
|
30507
30433
|
# @option params [Boolean] :dry_run
|
30508
30434
|
# Checks whether you have the required permissions for the action,
|
@@ -30659,25 +30585,6 @@ module Aws::EC2
|
|
30659
30585
|
# Describes the specified security groups or all of your security
|
30660
30586
|
# groups.
|
30661
30587
|
#
|
30662
|
-
# A security group is for use with instances either in the EC2-Classic
|
30663
|
-
# platform or in a specific VPC. For more information, see [Amazon EC2
|
30664
|
-
# security groups][1] in the *Amazon Elastic Compute Cloud User Guide*
|
30665
|
-
# and [Security groups for your VPC][2] in the *Amazon Virtual Private
|
30666
|
-
# Cloud User Guide*.
|
30667
|
-
#
|
30668
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
30669
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
30670
|
-
# EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
|
30671
|
-
# Guide*.
|
30672
|
-
#
|
30673
|
-
# </note>
|
30674
|
-
#
|
30675
|
-
#
|
30676
|
-
#
|
30677
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
|
30678
|
-
# [2]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
|
30679
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
30680
|
-
#
|
30681
30588
|
# @option params [Array<Types::Filter>] :filters
|
30682
30589
|
# The filters. If using multiple filters for rules, the results include
|
30683
30590
|
# security groups for which any combination of rules - not necessarily a
|
@@ -30768,10 +30675,8 @@ module Aws::EC2
|
|
30768
30675
|
# Default: Describes all of your security groups.
|
30769
30676
|
#
|
30770
30677
|
# @option params [Array<String>] :group_names
|
30771
|
-
# \[
|
30772
|
-
#
|
30773
|
-
# ID. For security groups in a nondefault VPC, use the `group-name`
|
30774
|
-
# filter to describe security groups by name.
|
30678
|
+
# \[Default VPC\] The names of the security groups. You can specify
|
30679
|
+
# either the security group name or the security group ID.
|
30775
30680
|
#
|
30776
30681
|
# Default: Describes all of your security groups.
|
30777
30682
|
#
|
@@ -32421,11 +32326,11 @@ module Aws::EC2
|
|
32421
32326
|
req.send_request(options)
|
32422
32327
|
end
|
32423
32328
|
|
32424
|
-
#
|
32425
|
-
#
|
32426
|
-
#
|
32427
|
-
#
|
32428
|
-
#
|
32329
|
+
# Describes the stale security group rules for security groups in a
|
32330
|
+
# specified VPC. Rules are stale when they reference a deleted security
|
32331
|
+
# group in the same VPC or in a peer VPC, or if they reference a
|
32332
|
+
# security group in a peer VPC for which the VPC peering connection has
|
32333
|
+
# been deleted.
|
32429
32334
|
#
|
32430
32335
|
# @option params [Boolean] :dry_run
|
32431
32336
|
# Checks whether you have the required permissions for the action,
|
@@ -32618,15 +32523,14 @@ module Aws::EC2
|
|
32618
32523
|
|
32619
32524
|
# Describes one or more of your subnets.
|
32620
32525
|
#
|
32621
|
-
# For more information, see [
|
32622
|
-
# Virtual Private Cloud User Guide*.
|
32526
|
+
# For more information, see [Subnets][1] in the *Amazon VPC User Guide*.
|
32623
32527
|
#
|
32624
32528
|
#
|
32625
32529
|
#
|
32626
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
32530
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html
|
32627
32531
|
#
|
32628
32532
|
# @option params [Array<Types::Filter>] :filters
|
32629
|
-
#
|
32533
|
+
# The filters.
|
32630
32534
|
#
|
32631
32535
|
# * `availability-zone` - The Availability Zone for the subnet. You can
|
32632
32536
|
# also use `availabilityZone` as the filter name.
|
@@ -32716,7 +32620,7 @@ module Aws::EC2
|
|
32716
32620
|
# * `vpc-id` - The ID of the VPC for the subnet.
|
32717
32621
|
#
|
32718
32622
|
# @option params [Array<String>] :subnet_ids
|
32719
|
-
#
|
32623
|
+
# The IDs of the subnets.
|
32720
32624
|
#
|
32721
32625
|
# Default: Describes all your subnets.
|
32722
32626
|
#
|
@@ -35313,21 +35217,14 @@ module Aws::EC2
|
|
35313
35217
|
req.send_request(options)
|
35314
35218
|
end
|
35315
35219
|
|
35316
|
-
#
|
35317
|
-
#
|
35318
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
35319
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
35320
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
35321
|
-
# Guide*.
|
35220
|
+
# <note markdown="1"> This action is deprecated.
|
35322
35221
|
#
|
35323
35222
|
# </note>
|
35324
35223
|
#
|
35325
|
-
#
|
35326
|
-
#
|
35327
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
35224
|
+
# Describes the ClassicLink status of the specified VPCs.
|
35328
35225
|
#
|
35329
35226
|
# @option params [Array<Types::Filter>] :filters
|
35330
|
-
#
|
35227
|
+
# The filters.
|
35331
35228
|
#
|
35332
35229
|
# * `is-classic-link-enabled` - Whether the VPC is enabled for
|
35333
35230
|
# ClassicLink (`true` \| `false`).
|
@@ -35349,8 +35246,7 @@ module Aws::EC2
|
|
35349
35246
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
35350
35247
|
#
|
35351
35248
|
# @option params [Array<String>] :vpc_ids
|
35352
|
-
#
|
35353
|
-
# status.
|
35249
|
+
# The VPCs for which you want to describe the ClassicLink status.
|
35354
35250
|
#
|
35355
35251
|
# @return [Types::DescribeVpcClassicLinkResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
35356
35252
|
#
|
@@ -35387,10 +35283,7 @@ module Aws::EC2
|
|
35387
35283
|
req.send_request(options)
|
35388
35284
|
end
|
35389
35285
|
|
35390
|
-
# <note markdown="1">
|
35391
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
35392
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
35393
|
-
# Guide*.
|
35286
|
+
# <note markdown="1"> This action is deprecated.
|
35394
35287
|
#
|
35395
35288
|
# </note>
|
35396
35289
|
#
|
@@ -35399,13 +35292,7 @@ module Aws::EC2
|
|
35399
35292
|
# its private IP address when addressed from an instance in the VPC to
|
35400
35293
|
# which it's linked. Similarly, the DNS hostname of an instance in a
|
35401
35294
|
# VPC resolves to its private IP address when addressed from a linked
|
35402
|
-
# EC2-Classic instance.
|
35403
|
-
# the *Amazon Elastic Compute Cloud User Guide*.
|
35404
|
-
#
|
35405
|
-
#
|
35406
|
-
#
|
35407
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
35408
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
35295
|
+
# EC2-Classic instance.
|
35409
35296
|
#
|
35410
35297
|
# @option params [Integer] :max_results
|
35411
35298
|
# The maximum number of items to return for this request. To get the
|
@@ -35421,7 +35308,7 @@ module Aws::EC2
|
|
35421
35308
|
# continues from the end of the items returned by the previous request.
|
35422
35309
|
#
|
35423
35310
|
# @option params [Array<String>] :vpc_ids
|
35424
|
-
#
|
35311
|
+
# The IDs of the VPCs.
|
35425
35312
|
#
|
35426
35313
|
# @return [Types::DescribeVpcClassicLinkDnsSupportResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
35427
35314
|
#
|
@@ -36036,7 +35923,7 @@ module Aws::EC2
|
|
36036
35923
|
# Describes one or more of your VPC peering connections.
|
36037
35924
|
#
|
36038
35925
|
# @option params [Array<Types::Filter>] :filters
|
36039
|
-
#
|
35926
|
+
# The filters.
|
36040
35927
|
#
|
36041
35928
|
# * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
|
36042
35929
|
# VPC.
|
@@ -36083,7 +35970,7 @@ module Aws::EC2
|
|
36083
35970
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
36084
35971
|
#
|
36085
35972
|
# @option params [Array<String>] :vpc_peering_connection_ids
|
36086
|
-
#
|
35973
|
+
# The IDs of the VPC peering connections.
|
36087
35974
|
#
|
36088
35975
|
# Default: Describes all your VPC peering connections.
|
36089
35976
|
#
|
@@ -36174,7 +36061,7 @@ module Aws::EC2
|
|
36174
36061
|
# Describes one or more of your VPCs.
|
36175
36062
|
#
|
36176
36063
|
# @option params [Array<Types::Filter>] :filters
|
36177
|
-
#
|
36064
|
+
# The filters.
|
36178
36065
|
#
|
36179
36066
|
# * `cidr` - The primary IPv4 CIDR block of the VPC. The CIDR block you
|
36180
36067
|
# specify must exactly match the VPC's CIDR block for information to
|
@@ -36224,7 +36111,7 @@ module Aws::EC2
|
|
36224
36111
|
# * `vpc-id` - The ID of the VPC.
|
36225
36112
|
#
|
36226
36113
|
# @option params [Array<String>] :vpc_ids
|
36227
|
-
#
|
36114
|
+
# The IDs of the VPCs.
|
36228
36115
|
#
|
36229
36116
|
# Default: Describes all your VPCs.
|
36230
36117
|
#
|
@@ -36600,10 +36487,7 @@ module Aws::EC2
|
|
36600
36487
|
req.send_request(options)
|
36601
36488
|
end
|
36602
36489
|
|
36603
|
-
# <note markdown="1">
|
36604
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
36605
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
36606
|
-
# Guide*.
|
36490
|
+
# <note markdown="1"> This action is deprecated.
|
36607
36491
|
#
|
36608
36492
|
# </note>
|
36609
36493
|
#
|
@@ -36612,10 +36496,6 @@ module Aws::EC2
|
|
36612
36496
|
# associated with it. An instance is automatically unlinked from a VPC
|
36613
36497
|
# when it's stopped.
|
36614
36498
|
#
|
36615
|
-
#
|
36616
|
-
#
|
36617
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
36618
|
-
#
|
36619
36499
|
# @option params [Boolean] :dry_run
|
36620
36500
|
# Checks whether you have the required permissions for the action,
|
36621
36501
|
# without actually making the request, and provides an error response.
|
@@ -37470,19 +37350,12 @@ module Aws::EC2
|
|
37470
37350
|
req.send_request(options)
|
37471
37351
|
end
|
37472
37352
|
|
37473
|
-
#
|
37474
|
-
# VPC that has EC2-Classic instances linked to it.
|
37475
|
-
#
|
37476
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
37477
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
37478
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
37479
|
-
# Guide*.
|
37353
|
+
# <note markdown="1"> This action is deprecated.
|
37480
37354
|
#
|
37481
37355
|
# </note>
|
37482
37356
|
#
|
37483
|
-
#
|
37484
|
-
#
|
37485
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
37357
|
+
# Disables ClassicLink for a VPC. You cannot disable ClassicLink for a
|
37358
|
+
# VPC that has EC2-Classic instances linked to it.
|
37486
37359
|
#
|
37487
37360
|
# @option params [Boolean] :dry_run
|
37488
37361
|
# Checks whether you have the required permissions for the action,
|
@@ -37517,26 +37390,16 @@ module Aws::EC2
|
|
37517
37390
|
req.send_request(options)
|
37518
37391
|
end
|
37519
37392
|
|
37393
|
+
# <note markdown="1"> This action is deprecated.
|
37394
|
+
#
|
37395
|
+
# </note>
|
37396
|
+
#
|
37520
37397
|
# Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames
|
37521
37398
|
# resolve to public IP addresses when addressed between a linked
|
37522
37399
|
# EC2-Classic instance and instances in the VPC to which it's linked.
|
37523
|
-
# For more information, see [ClassicLink][1] in the *Amazon Elastic
|
37524
|
-
# Compute Cloud User Guide*.
|
37525
37400
|
#
|
37526
37401
|
# You must specify a VPC ID in the request.
|
37527
37402
|
#
|
37528
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
37529
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
37530
|
-
# EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
|
37531
|
-
# Guide*.
|
37532
|
-
#
|
37533
|
-
# </note>
|
37534
|
-
#
|
37535
|
-
#
|
37536
|
-
#
|
37537
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
37538
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
37539
|
-
#
|
37540
37403
|
# @option params [String] :vpc_id
|
37541
37404
|
# The ID of the VPC.
|
37542
37405
|
#
|
@@ -37891,25 +37754,25 @@ module Aws::EC2
|
|
37891
37754
|
# Disassociates secondary Elastic IP addresses (EIPs) from a public NAT
|
37892
37755
|
# gateway. You cannot disassociate your primary EIP. For more
|
37893
37756
|
# information, see [Edit secondary IP address associations][1] in the
|
37894
|
-
# *Amazon
|
37757
|
+
# *Amazon VPC User Guide*.
|
37895
37758
|
#
|
37896
37759
|
# While disassociating is in progress, you cannot associate/disassociate
|
37897
37760
|
# additional EIPs while the connections are being drained. You are,
|
37898
37761
|
# however, allowed to delete the NAT gateway.
|
37899
37762
|
#
|
37900
|
-
# An EIP
|
37901
|
-
#
|
37902
|
-
#
|
37903
|
-
#
|
37904
|
-
#
|
37905
|
-
#
|
37763
|
+
# An EIP is released only at the end of MaxDrainDurationSeconds. It
|
37764
|
+
# stays associated and supports the existing connections but does not
|
37765
|
+
# support any new connections (new connections are distributed across
|
37766
|
+
# the remaining associated EIPs). As the existing connections drain out,
|
37767
|
+
# the EIPs (and the corresponding private IP addresses mapped to them)
|
37768
|
+
# are released.
|
37906
37769
|
#
|
37907
37770
|
#
|
37908
37771
|
#
|
37909
37772
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary
|
37910
37773
|
#
|
37911
37774
|
# @option params [required, String] :nat_gateway_id
|
37912
|
-
# The NAT gateway
|
37775
|
+
# The ID of the NAT gateway.
|
37913
37776
|
#
|
37914
37777
|
# @option params [required, Array<String>] :association_ids
|
37915
37778
|
# The association IDs of EIPs that have been associated with the NAT
|
@@ -37967,7 +37830,7 @@ module Aws::EC2
|
|
37967
37830
|
# After you perform this action, the subnet no longer uses the routes in
|
37968
37831
|
# the route table. Instead, it uses the routes in the VPC's main route
|
37969
37832
|
# table. For more information about route tables, see [Route tables][1]
|
37970
|
-
# in the *Amazon
|
37833
|
+
# in the *Amazon VPC User Guide*.
|
37971
37834
|
#
|
37972
37835
|
#
|
37973
37836
|
#
|
@@ -38912,10 +38775,7 @@ module Aws::EC2
|
|
38912
38775
|
req.send_request(options)
|
38913
38776
|
end
|
38914
38777
|
|
38915
|
-
# <note markdown="1">
|
38916
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
38917
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
38918
|
-
# Guide*.
|
38778
|
+
# <note markdown="1"> This action is deprecated.
|
38919
38779
|
#
|
38920
38780
|
# </note>
|
38921
38781
|
#
|
@@ -38924,14 +38784,7 @@ module Aws::EC2
|
|
38924
38784
|
# addresses. You cannot enable your VPC for ClassicLink if any of your
|
38925
38785
|
# VPC route tables have existing routes for address ranges within the
|
38926
38786
|
# `10.0.0.0/8` IP address range, excluding local routes for VPCs in the
|
38927
|
-
# `10.0.0.0/16` and `10.1.0.0/16` IP address ranges.
|
38928
|
-
# information, see [ClassicLink][2] in the *Amazon Elastic Compute Cloud
|
38929
|
-
# User Guide*.
|
38930
|
-
#
|
38931
|
-
#
|
38932
|
-
#
|
38933
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
38934
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
38787
|
+
# `10.0.0.0/16` and `10.1.0.0/16` IP address ranges.
|
38935
38788
|
#
|
38936
38789
|
# @option params [Boolean] :dry_run
|
38937
38790
|
# Checks whether you have the required permissions for the action,
|
@@ -38966,10 +38819,7 @@ module Aws::EC2
|
|
38966
38819
|
req.send_request(options)
|
38967
38820
|
end
|
38968
38821
|
|
38969
|
-
# <note markdown="1">
|
38970
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
38971
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
38972
|
-
# Guide*.
|
38822
|
+
# <note markdown="1"> This action is deprecated.
|
38973
38823
|
#
|
38974
38824
|
# </note>
|
38975
38825
|
#
|
@@ -38978,16 +38828,10 @@ module Aws::EC2
|
|
38978
38828
|
# its private IP address when addressed from an instance in the VPC to
|
38979
38829
|
# which it's linked. Similarly, the DNS hostname of an instance in a
|
38980
38830
|
# VPC resolves to its private IP address when addressed from a linked
|
38981
|
-
# EC2-Classic instance.
|
38982
|
-
# the *Amazon Elastic Compute Cloud User Guide*.
|
38831
|
+
# EC2-Classic instance.
|
38983
38832
|
#
|
38984
38833
|
# You must specify a VPC ID in the request.
|
38985
38834
|
#
|
38986
|
-
#
|
38987
|
-
#
|
38988
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
38989
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
38990
|
-
#
|
38991
38835
|
# @option params [String] :vpc_id
|
38992
38836
|
# The ID of the VPC.
|
38993
38837
|
#
|
@@ -39868,6 +39712,11 @@ module Aws::EC2
|
|
39868
39712
|
# * Create a set of named queries in Athena that you can use to get
|
39869
39713
|
# started quickly
|
39870
39714
|
#
|
39715
|
+
# <note markdown="1"> `GetFlowLogsIntegrationTemplate` does not support integration between
|
39716
|
+
# Amazon Web Services Transit Gateway Flow Logs and Amazon Athena.
|
39717
|
+
#
|
39718
|
+
# </note>
|
39719
|
+
#
|
39871
39720
|
# @option params [Boolean] :dry_run
|
39872
39721
|
# Checks whether you have the required permissions for the action,
|
39873
39722
|
# without actually making the request, and provides an error response.
|
@@ -42873,11 +42722,7 @@ module Aws::EC2
|
|
42873
42722
|
#
|
42874
42723
|
# * Key ID
|
42875
42724
|
#
|
42876
|
-
# * Key alias
|
42877
|
-
# followed by the Region of the key, the Amazon Web Services account
|
42878
|
-
# ID of the key owner, the `alias` namespace, and then the key alias.
|
42879
|
-
# For example,
|
42880
|
-
# arn:aws:kms:*us-east-1*:*012345678910*:alias/*ExampleAlias*.
|
42725
|
+
# * Key alias
|
42881
42726
|
#
|
42882
42727
|
# * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
|
42883
42728
|
# followed by the Region of the key, the Amazon Web Services account
|
@@ -42921,7 +42766,9 @@ module Aws::EC2
|
|
42921
42766
|
# [1]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image
|
42922
42767
|
#
|
42923
42768
|
# @option params [String] :platform
|
42924
|
-
# The operating system of the virtual machine.
|
42769
|
+
# The operating system of the virtual machine. If you import a VM that
|
42770
|
+
# is compatible with Unified Extensible Firmware Interface (UEFI) using
|
42771
|
+
# an EBS snapshot, you must specify a value for the platform.
|
42925
42772
|
#
|
42926
42773
|
# Valid values: `Windows` \| `Linux`
|
42927
42774
|
#
|
@@ -43059,24 +42906,32 @@ module Aws::EC2
|
|
43059
42906
|
req.send_request(options)
|
43060
42907
|
end
|
43061
42908
|
|
42909
|
+
# <note markdown="1"> We recommend that you use the [ `ImportImage` ][1] API. For more
|
42910
|
+
# information, see [Importing a VM as an image using VM
|
42911
|
+
# Import/Export][2] in the *VM Import/Export User Guide*.
|
42912
|
+
#
|
42913
|
+
# </note>
|
42914
|
+
#
|
43062
42915
|
# Creates an import instance task using metadata from the specified disk
|
43063
42916
|
# image.
|
43064
42917
|
#
|
43065
|
-
# This API action supports only single-volume VMs. To import
|
43066
|
-
# multi-volume VMs, use ImportImage instead.
|
43067
|
-
#
|
43068
42918
|
# This API action is not supported by the Command Line Interface (CLI).
|
43069
42919
|
# For information about using the Amazon EC2 CLI, which is deprecated,
|
43070
|
-
# see [Importing a VM to Amazon EC2][
|
42920
|
+
# see [Importing a VM to Amazon EC2][3] in the *Amazon EC2 CLI
|
43071
42921
|
# Reference* PDF file.
|
43072
42922
|
#
|
42923
|
+
# This API action supports only single-volume VMs. To import
|
42924
|
+
# multi-volume VMs, use ImportImage instead.
|
42925
|
+
#
|
43073
42926
|
# For information about the import manifest referenced by this API
|
43074
|
-
# action, see [VM Import Manifest][
|
42927
|
+
# action, see [VM Import Manifest][4].
|
43075
42928
|
#
|
43076
42929
|
#
|
43077
42930
|
#
|
43078
|
-
# [1]: https://
|
43079
|
-
# [2]: https://docs.aws.amazon.com/
|
42931
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html
|
42932
|
+
# [2]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html
|
42933
|
+
# [3]: https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#UsingVirtualMachinesinAmazonEC2
|
42934
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html
|
43080
42935
|
#
|
43081
42936
|
# @option params [String] :description
|
43082
42937
|
# A description for the instance being imported.
|
@@ -43314,11 +43169,7 @@ module Aws::EC2
|
|
43314
43169
|
#
|
43315
43170
|
# * Key ID
|
43316
43171
|
#
|
43317
|
-
# * Key alias
|
43318
|
-
# followed by the Region of the key, the Amazon Web Services account
|
43319
|
-
# ID of the key owner, the `alias` namespace, and then the key alias.
|
43320
|
-
# For example,
|
43321
|
-
# arn:aws:kms:*us-east-1*:*012345678910*:alias/*ExampleAlias*.
|
43172
|
+
# * Key alias
|
43322
43173
|
#
|
43323
43174
|
# * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
|
43324
43175
|
# followed by the Region of the key, the Amazon Web Services account
|
@@ -45471,8 +45322,7 @@ module Aws::EC2
|
|
45471
45322
|
#
|
45472
45323
|
# @option params [String] :http_protocol_ipv_6
|
45473
45324
|
# Enables or disables the IPv6 endpoint for the instance metadata
|
45474
|
-
# service.
|
45475
|
-
# metadata endpoint.
|
45325
|
+
# service. Applies only if you enabled the HTTP metadata endpoint.
|
45476
45326
|
#
|
45477
45327
|
# @option params [String] :instance_metadata_tags
|
45478
45328
|
# Set to `enabled` to allow access to instance tags from the instance
|
@@ -48698,26 +48548,8 @@ module Aws::EC2
|
|
48698
48548
|
req.send_request(options)
|
48699
48549
|
end
|
48700
48550
|
|
48701
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
48702
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
48703
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
48704
|
-
# Guide*.
|
48705
|
-
#
|
48706
|
-
# </note>
|
48707
|
-
#
|
48708
48551
|
# Modifies the VPC peering connection options on one side of a VPC
|
48709
|
-
# peering connection.
|
48710
|
-
#
|
48711
|
-
# * Enable/disable communication over the peering connection between an
|
48712
|
-
# EC2-Classic instance that's linked to your VPC (using ClassicLink)
|
48713
|
-
# and instances in the peer VPC.
|
48714
|
-
#
|
48715
|
-
# * Enable/disable communication over the peering connection between
|
48716
|
-
# instances in your VPC and an EC2-Classic instance that's linked to
|
48717
|
-
# the peer VPC.
|
48718
|
-
#
|
48719
|
-
# * Enable/disable the ability to resolve public DNS hostnames to
|
48720
|
-
# private IP addresses when queried from instances in the peer VPC.
|
48552
|
+
# peering connection.
|
48721
48553
|
#
|
48722
48554
|
# If the peered VPCs are in the same Amazon Web Services account, you
|
48723
48555
|
# can enable DNS resolution for queries from the local VPC. This ensures
|
@@ -48733,10 +48565,6 @@ module Aws::EC2
|
|
48733
48565
|
# and the requester for a VPC peering connection, use the
|
48734
48566
|
# DescribeVpcPeeringConnections command.
|
48735
48567
|
#
|
48736
|
-
#
|
48737
|
-
#
|
48738
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
48739
|
-
#
|
48740
48568
|
# @option params [Types::PeeringConnectionOptionsRequest] :accepter_peering_connection_options
|
48741
48569
|
# The VPC peering connection options for the accepter VPC.
|
48742
48570
|
#
|
@@ -48801,8 +48629,8 @@ module Aws::EC2
|
|
48801
48629
|
# otherwise during launch. The tenancy of any existing instances in the
|
48802
48630
|
# VPC is not affected.
|
48803
48631
|
#
|
48804
|
-
# For more information, see [Dedicated Instances][1] in the *Amazon
|
48805
|
-
#
|
48632
|
+
# For more information, see [Dedicated Instances][1] in the *Amazon EC2
|
48633
|
+
# User Guide*.
|
48806
48634
|
#
|
48807
48635
|
#
|
48808
48636
|
#
|
@@ -50941,7 +50769,7 @@ module Aws::EC2
|
|
50941
50769
|
#
|
50942
50770
|
#
|
50943
50771
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyIpamResourceCidr.html
|
50944
|
-
# [2]: https://docs.aws.amazon.com/vpc/latest/ipam/release-
|
50772
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/ipam/release-alloc-ipam.html
|
50945
50773
|
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#eventual-consistency
|
50946
50774
|
#
|
50947
50775
|
# @option params [Boolean] :dry_run
|
@@ -51034,13 +50862,13 @@ module Aws::EC2
|
|
51034
50862
|
# Changes which network ACL a subnet is associated with. By default when
|
51035
50863
|
# you create a subnet, it's automatically associated with the default
|
51036
50864
|
# network ACL. For more information, see [Network ACLs][1] in the
|
51037
|
-
# *Amazon
|
50865
|
+
# *Amazon VPC User Guide*.
|
51038
50866
|
#
|
51039
50867
|
# This is an idempotent operation.
|
51040
50868
|
#
|
51041
50869
|
#
|
51042
50870
|
#
|
51043
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
50871
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html
|
51044
50872
|
#
|
51045
50873
|
# @option params [required, String] :association_id
|
51046
50874
|
# The ID of the current association between the original network ACL and
|
@@ -51096,11 +50924,11 @@ module Aws::EC2
|
|
51096
50924
|
end
|
51097
50925
|
|
51098
50926
|
# Replaces an entry (rule) in a network ACL. For more information, see
|
51099
|
-
# [Network ACLs][1] in the *Amazon
|
50927
|
+
# [Network ACLs][1] in the *Amazon VPC User Guide*.
|
51100
50928
|
#
|
51101
50929
|
#
|
51102
50930
|
#
|
51103
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
50931
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html
|
51104
50932
|
#
|
51105
50933
|
# @option params [String] :cidr_block
|
51106
50934
|
# The IPv4 network range to allow or deny, in CIDR notation (for example
|
@@ -51206,8 +51034,8 @@ module Aws::EC2
|
|
51206
51034
|
# You must also specify exactly one of the resources from the parameter
|
51207
51035
|
# list, or reset the local route to its default target.
|
51208
51036
|
#
|
51209
|
-
# For more information, see [Route tables][1] in the *Amazon
|
51210
|
-
#
|
51037
|
+
# For more information, see [Route tables][1] in the *Amazon VPC User
|
51038
|
+
# Guide*.
|
51211
51039
|
#
|
51212
51040
|
#
|
51213
51041
|
#
|
@@ -51322,7 +51150,7 @@ module Aws::EC2
|
|
51322
51150
|
# gateway, or virtual private gateway in a VPC. After the operation
|
51323
51151
|
# completes, the subnet or gateway uses the routes in the new route
|
51324
51152
|
# table. For more information about route tables, see [Route tables][1]
|
51325
|
-
# in the *Amazon
|
51153
|
+
# in the *Amazon VPC User Guide*.
|
51326
51154
|
#
|
51327
51155
|
# You can also use this operation to change which table is the main
|
51328
51156
|
# route table in the VPC. Specify the main route table's association ID
|
@@ -53100,9 +52928,8 @@ module Aws::EC2
|
|
53100
52928
|
req.send_request(options)
|
53101
52929
|
end
|
53102
52930
|
|
53103
|
-
#
|
53104
|
-
# security group
|
53105
|
-
# groups for use in EC2-Classic.
|
52931
|
+
# Removes the specified outbound (egress) rules from the specified
|
52932
|
+
# security group.
|
53106
52933
|
#
|
53107
52934
|
# You can specify rules using either rule IDs or security group rule
|
53108
52935
|
# properties. If you use rule properties, the values that you specify
|
@@ -53114,7 +52941,7 @@ module Aws::EC2
|
|
53114
52941
|
# security group rule has a description, you do not need to specify the
|
53115
52942
|
# description to revoke the rule.
|
53116
52943
|
#
|
53117
|
-
#
|
52944
|
+
# For a default VPC, if the values you specify do not match the existing
|
53118
52945
|
# rule's values, no error is returned, and the output describes the
|
53119
52946
|
# security group rules that were not revoked.
|
53120
52947
|
#
|
@@ -53262,9 +53089,9 @@ module Aws::EC2
|
|
53262
53089
|
# security group rule has a description, you do not need to specify the
|
53263
53090
|
# description to revoke the rule.
|
53264
53091
|
#
|
53265
|
-
#
|
53266
|
-
#
|
53267
|
-
#
|
53092
|
+
# For a default VPC, if the values you specify do not match the existing
|
53093
|
+
# rule's values, no error is returned, and the output describes the
|
53094
|
+
# security group rules that were not revoked.
|
53268
53095
|
#
|
53269
53096
|
# Amazon Web Services recommends that you describe the security group to
|
53270
53097
|
# verify that the rules were removed.
|
@@ -53272,17 +53099,6 @@ module Aws::EC2
|
|
53272
53099
|
# Rule changes are propagated to instances within the security group as
|
53273
53100
|
# quickly as possible. However, a small delay might occur.
|
53274
53101
|
#
|
53275
|
-
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
53276
|
-
# EC2-Classic to a VPC. For more information, see [Migrate from
|
53277
|
-
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
53278
|
-
# Guide*.
|
53279
|
-
#
|
53280
|
-
# </note>
|
53281
|
-
#
|
53282
|
-
#
|
53283
|
-
#
|
53284
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
53285
|
-
#
|
53286
53102
|
# @option params [String] :cidr_ip
|
53287
53103
|
# The CIDR IP address range. You can't specify this parameter when
|
53288
53104
|
# specifying a source security group.
|
@@ -53293,13 +53109,11 @@ module Aws::EC2
|
|
53293
53109
|
# all ICMP types.
|
53294
53110
|
#
|
53295
53111
|
# @option params [String] :group_id
|
53296
|
-
# The ID of the security group.
|
53297
|
-
# group ID or the security group name in the request. For security
|
53298
|
-
# groups in a nondefault VPC, you must specify the security group ID.
|
53112
|
+
# The ID of the security group.
|
53299
53113
|
#
|
53300
53114
|
# @option params [String] :group_name
|
53301
|
-
# \[
|
53302
|
-
#
|
53115
|
+
# \[Default VPC\] The name of the security group. You must specify
|
53116
|
+
# either the security group ID or the security group name in the
|
53303
53117
|
# request. For security groups in a nondefault VPC, you must specify the
|
53304
53118
|
# security group ID.
|
53305
53119
|
#
|
@@ -53316,22 +53130,15 @@ module Aws::EC2
|
|
53316
53130
|
# [1]: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
|
53317
53131
|
#
|
53318
53132
|
# @option params [String] :source_security_group_name
|
53319
|
-
# \[
|
53320
|
-
#
|
53321
|
-
#
|
53322
|
-
#
|
53323
|
-
#
|
53324
|
-
#
|
53325
|
-
# instead.
|
53133
|
+
# \[Default VPC\] The name of the source security group. You can't
|
53134
|
+
# specify this parameter in combination with the following parameters:
|
53135
|
+
# the CIDR IP address range, the start of the port range, the IP
|
53136
|
+
# protocol, and the end of the port range. The source security group
|
53137
|
+
# must be in the same VPC. To revoke a specific rule for an IP protocol
|
53138
|
+
# and port range, use a set of IP permissions instead.
|
53326
53139
|
#
|
53327
53140
|
# @option params [String] :source_security_group_owner_id
|
53328
|
-
#
|
53329
|
-
# security group, if the source security group is in a different
|
53330
|
-
# account. You can't specify this parameter in combination with the
|
53331
|
-
# following parameters: the CIDR IP address range, the IP protocol, the
|
53332
|
-
# start of the port range, and the end of the port range. To revoke a
|
53333
|
-
# specific rule for an IP protocol and port range, use a set of IP
|
53334
|
-
# permissions instead.
|
53141
|
+
# Not supported.
|
53335
53142
|
#
|
53336
53143
|
# @option params [Integer] :to_port
|
53337
53144
|
# If the protocol is TCP or UDP, this is the end of the port range. If
|
@@ -53511,18 +53318,9 @@ module Aws::EC2
|
|
53511
53318
|
# The instance type. For more information, see [Instance types][1] in
|
53512
53319
|
# the *Amazon EC2 User Guide*.
|
53513
53320
|
#
|
53514
|
-
# When you change your EBS-backed instance type, instance restart or
|
53515
|
-
# replacement behavior depends on the instance type compatibility
|
53516
|
-
# between the old and new types. An instance that's backed by an
|
53517
|
-
# instance store volume is always replaced. For more information, see
|
53518
|
-
# [Change the instance type][2] in the *Amazon EC2 User Guide*.
|
53519
|
-
#
|
53520
|
-
# Default: `m1.small`
|
53521
|
-
#
|
53522
53321
|
#
|
53523
53322
|
#
|
53524
53323
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
53525
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
|
53526
53324
|
#
|
53527
53325
|
# @option params [Integer] :ipv_6_address_count
|
53528
53326
|
# The number of IPv6 addresses to associate with the primary network
|
@@ -53869,7 +53667,8 @@ module Aws::EC2
|
|
53869
53667
|
#
|
53870
53668
|
# @option params [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
53871
53669
|
# The options for the instance hostname. The default values are
|
53872
|
-
# inherited from the subnet.
|
53670
|
+
# inherited from the subnet. Applies only if creating a network
|
53671
|
+
# interface, not attaching an existing one.
|
53873
53672
|
#
|
53874
53673
|
# @option params [Types::InstanceMaintenanceOptionsRequest] :maintenance_options
|
53875
53674
|
# The maintenance and recovery options for the instance.
|
@@ -56288,8 +56087,8 @@ module Aws::EC2
|
|
56288
56087
|
|
56289
56088
|
# Unassigns secondary private IPv4 addresses from a private NAT gateway.
|
56290
56089
|
# You cannot unassign your primary private IP. For more information, see
|
56291
|
-
# [Edit secondary IP address associations][1] in the *Amazon
|
56292
|
-
#
|
56090
|
+
# [Edit secondary IP address associations][1] in the *Amazon VPC User
|
56091
|
+
# Guide*.
|
56293
56092
|
#
|
56294
56093
|
# While unassigning is in progress, you cannot assign/unassign
|
56295
56094
|
# additional IP addresses while the connections are being drained. You
|
@@ -56297,10 +56096,10 @@ module Aws::EC2
|
|
56297
56096
|
#
|
56298
56097
|
# A private IP address will only be released at the end of
|
56299
56098
|
# MaxDrainDurationSeconds. The private IP addresses stay associated and
|
56300
|
-
# support the existing connections but do not support any new
|
56099
|
+
# support the existing connections, but do not support any new
|
56301
56100
|
# connections (new connections are distributed across the remaining
|
56302
56101
|
# assigned private IP address). After the existing connections drain
|
56303
|
-
# out, the private IP addresses
|
56102
|
+
# out, the private IP addresses are released.
|
56304
56103
|
#
|
56305
56104
|
#
|
56306
56105
|
#
|
@@ -56311,7 +56110,7 @@ module Aws::EC2
|
|
56311
56110
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary
|
56312
56111
|
#
|
56313
56112
|
# @option params [required, String] :nat_gateway_id
|
56314
|
-
# The NAT gateway
|
56113
|
+
# The ID of the NAT gateway.
|
56315
56114
|
#
|
56316
56115
|
# @option params [required, Array<String>] :private_ip_addresses
|
56317
56116
|
# The private IPv4 addresses you want to unassign.
|
@@ -56406,11 +56205,11 @@ module Aws::EC2
|
|
56406
56205
|
req.send_request(options)
|
56407
56206
|
end
|
56408
56207
|
|
56409
|
-
#
|
56410
|
-
#
|
56411
|
-
#
|
56412
|
-
#
|
56413
|
-
#
|
56208
|
+
# Updates the description of an egress (outbound) security group rule.
|
56209
|
+
# You can replace an existing description, or add a description to a
|
56210
|
+
# rule that did not have one previously. You can remove a description
|
56211
|
+
# for a security group rule by omitting the description parameter in the
|
56212
|
+
# request.
|
56414
56213
|
#
|
56415
56214
|
# @option params [Boolean] :dry_run
|
56416
56215
|
# Checks whether you have the required permissions for the action,
|
@@ -56425,8 +56224,7 @@ module Aws::EC2
|
|
56425
56224
|
#
|
56426
56225
|
# @option params [String] :group_name
|
56427
56226
|
# \[Default VPC\] The name of the security group. You must specify
|
56428
|
-
# either the security group ID or the security group name
|
56429
|
-
# request.
|
56227
|
+
# either the security group ID or the security group name.
|
56430
56228
|
#
|
56431
56229
|
# @option params [Array<Types::IpPermission>] :ip_permissions
|
56432
56230
|
# The IP permissions for the security group rule. You must specify
|
@@ -56547,18 +56345,17 @@ module Aws::EC2
|
|
56547
56345
|
# groups in a nondefault VPC, you must specify the security group ID.
|
56548
56346
|
#
|
56549
56347
|
# @option params [String] :group_name
|
56550
|
-
# \[
|
56551
|
-
#
|
56552
|
-
#
|
56553
|
-
# security group ID.
|
56348
|
+
# \[Default VPC\] The name of the security group. You must specify
|
56349
|
+
# either the security group ID or the security group name. For security
|
56350
|
+
# groups in a nondefault VPC, you must specify the security group ID.
|
56554
56351
|
#
|
56555
56352
|
# @option params [Array<Types::IpPermission>] :ip_permissions
|
56556
56353
|
# The IP permissions for the security group rule. You must specify
|
56557
56354
|
# either IP permissions or a description.
|
56558
56355
|
#
|
56559
56356
|
# @option params [Array<Types::SecurityGroupRuleDescription>] :security_group_rule_descriptions
|
56560
|
-
#
|
56561
|
-
#
|
56357
|
+
# The description for the ingress security group rules. You must specify
|
56358
|
+
# either a description or IP permissions.
|
56562
56359
|
#
|
56563
56360
|
# @return [Types::UpdateSecurityGroupRuleDescriptionsIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
56564
56361
|
#
|
@@ -56712,7 +56509,7 @@ module Aws::EC2
|
|
56712
56509
|
params: params,
|
56713
56510
|
config: config)
|
56714
56511
|
context[:gem_name] = 'aws-sdk-ec2'
|
56715
|
-
context[:gem_version] = '1.
|
56512
|
+
context[:gem_version] = '1.392.0'
|
56716
56513
|
Seahorse::Client::Request.new(handlers, context)
|
56717
56514
|
end
|
56718
56515
|
|