aws-sdk-ec2 1.80.0 → 1.81.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/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +3 -0
- data/lib/aws-sdk-ec2/client.rb +245 -177
- data/lib/aws-sdk-ec2/client_api.rb +8 -2
- data/lib/aws-sdk-ec2/dhcp_options.rb +3 -3
- data/lib/aws-sdk-ec2/image.rb +8 -8
- data/lib/aws-sdk-ec2/instance.rb +8 -7
- data/lib/aws-sdk-ec2/internet_gateway.rb +3 -3
- data/lib/aws-sdk-ec2/network_acl.rb +3 -3
- data/lib/aws-sdk-ec2/network_interface.rb +4 -4
- data/lib/aws-sdk-ec2/placement_group.rb +2 -2
- data/lib/aws-sdk-ec2/resource.rb +51 -26
- data/lib/aws-sdk-ec2/route_table.rb +3 -3
- data/lib/aws-sdk-ec2/security_group.rb +32 -23
- data/lib/aws-sdk-ec2/snapshot.rb +3 -3
- data/lib/aws-sdk-ec2/subnet.rb +43 -22
- data/lib/aws-sdk-ec2/tag.rb +5 -5
- data/lib/aws-sdk-ec2/types.rb +326 -206
- data/lib/aws-sdk-ec2/volume.rb +6 -3
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2/vpc_address.rb +5 -1
- 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: 4787edcbb284d9f316ed2b1b2d4754c754aeeb85
|
4
|
+
data.tar.gz: 5135b5657500e1bb67a105a4cf7008a38567ed95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bef3acf3682f23bc48344d59dc6c73ef3e7c3fa88c43ad7b01221935fac199c5e3207f1e05a9c5e2e06de71a4c784dd2b08dc477d58cefa70321920384452347
|
7
|
+
data.tar.gz: ba26c1dbba002af243904066bf8536924b85c38fe73c3aa1d16aaa5f7578e419bb5588878ed066154a52a2244107ca396d58893fdd5bdc0576d14e0bcdbe7198
|
data/lib/aws-sdk-ec2.rb
CHANGED
@@ -253,6 +253,9 @@ module Aws::EC2
|
|
253
253
|
# @option options [String] :network_interface_id
|
254
254
|
# \[EC2-VPC\] The ID of the network interface. If the instance has more
|
255
255
|
# than one network interface, you must specify a network interface ID.
|
256
|
+
#
|
257
|
+
# For EC2-VPC, you can specify either the instance ID or the network
|
258
|
+
# interface ID, but not both.
|
256
259
|
# @option options [String] :private_ip_address
|
257
260
|
# \[EC2-VPC\] The primary or secondary private IP address to associate
|
258
261
|
# with the Elastic IP address. If no private IP address is specified,
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -638,14 +638,20 @@ module Aws::EC2
|
|
638
638
|
# allocate.
|
639
639
|
#
|
640
640
|
# @option params [String] :auto_placement
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
641
|
+
# Indicates whether the host accepts any untargeted instance launches
|
642
|
+
# that match its instance type configuration, or if it only accepts Host
|
643
|
+
# tenancy instance launches that specify its unique host ID. For more
|
644
|
+
# information, see [ Understanding Instance Placement and Host
|
645
|
+
# Affinity][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
644
646
|
#
|
645
|
-
# Default:
|
647
|
+
# Default: `on`
|
648
|
+
#
|
649
|
+
#
|
650
|
+
#
|
651
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-understanding
|
646
652
|
#
|
647
653
|
# @option params [required, String] :availability_zone
|
648
|
-
# The Availability Zone
|
654
|
+
# The Availability Zone in which to allocate the Dedicated Host.
|
649
655
|
#
|
650
656
|
# @option params [String] :client_token
|
651
657
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -657,9 +663,9 @@ module Aws::EC2
|
|
657
663
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
658
664
|
#
|
659
665
|
# @option params [required, String] :instance_type
|
660
|
-
#
|
661
|
-
# When you specify the instance type, that is the only instance
|
662
|
-
# that you can launch onto that host.
|
666
|
+
# Specifies the instance type for which to configure your Dedicated
|
667
|
+
# Hosts. When you specify the instance type, that is the only instance
|
668
|
+
# type that you can launch onto that host.
|
663
669
|
#
|
664
670
|
# @option params [required, Integer] :quantity
|
665
671
|
# The number of Dedicated Hosts to allocate to your account with these
|
@@ -945,7 +951,8 @@ module Aws::EC2
|
|
945
951
|
# exactly one network interface is attached.
|
946
952
|
#
|
947
953
|
# @option params [String] :public_ip
|
948
|
-
# The Elastic IP address
|
954
|
+
# The Elastic IP address to associate with the instance. This is
|
955
|
+
# required for EC2-Classic.
|
949
956
|
#
|
950
957
|
# @option params [Boolean] :allow_reassociation
|
951
958
|
# \[EC2-VPC\] For a VPC in an EC2-Classic account, specify true to allow
|
@@ -966,6 +973,9 @@ module Aws::EC2
|
|
966
973
|
# \[EC2-VPC\] The ID of the network interface. If the instance has more
|
967
974
|
# than one network interface, you must specify a network interface ID.
|
968
975
|
#
|
976
|
+
# For EC2-VPC, you can specify either the instance ID or the network
|
977
|
+
# interface ID, but not both.
|
978
|
+
#
|
969
979
|
# @option params [String] :private_ip_address
|
970
980
|
# \[EC2-VPC\] The primary or secondary private IP address to associate
|
971
981
|
# with the Elastic IP address. If no private IP address is specified,
|
@@ -1808,29 +1818,28 @@ module Aws::EC2
|
|
1808
1818
|
req.send_request(options)
|
1809
1819
|
end
|
1810
1820
|
|
1811
|
-
# \[
|
1812
|
-
#
|
1813
|
-
#
|
1814
|
-
#
|
1815
|
-
#
|
1816
|
-
#
|
1817
|
-
# VPC][1] in the *Amazon Virtual Private Cloud User Guide*. For more
|
1818
|
-
# information about security group limits, see [Amazon VPC Limits][2].
|
1821
|
+
# \[VPC only\] Adds the specified egress rules to a security group for
|
1822
|
+
# use with a VPC.
|
1823
|
+
#
|
1824
|
+
# An outbound rule permits instances to send traffic to the specified
|
1825
|
+
# destination IPv4 or IPv6 CIDR address ranges, or to the specified
|
1826
|
+
# destination security groups for the same VPC.
|
1819
1827
|
#
|
1820
|
-
#
|
1821
|
-
#
|
1822
|
-
#
|
1823
|
-
#
|
1824
|
-
#
|
1825
|
-
# optionally specify a description for the rule.
|
1828
|
+
# You specify a protocol for each rule (for example, TCP). For the TCP
|
1829
|
+
# and UDP protocols, you must also specify the destination port or port
|
1830
|
+
# range. For the ICMP protocol, you must also specify the ICMP type and
|
1831
|
+
# code. You can use -1 for the type or code to mean all types or all
|
1832
|
+
# codes.
|
1826
1833
|
#
|
1827
1834
|
# Rule changes are propagated to affected instances as quickly as
|
1828
1835
|
# possible. However, a small delay might occur.
|
1829
1836
|
#
|
1837
|
+
# For more information about VPC security group limits, see [Amazon VPC
|
1838
|
+
# Limits][1].
|
1839
|
+
#
|
1830
1840
|
#
|
1831
1841
|
#
|
1832
|
-
# [1]: https://docs.aws.amazon.com/
|
1833
|
-
# [2]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html
|
1842
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
1834
1843
|
#
|
1835
1844
|
# @option params [Boolean] :dry_run
|
1836
1845
|
# Checks whether you have the required permissions for the action,
|
@@ -1977,38 +1986,40 @@ module Aws::EC2
|
|
1977
1986
|
|
1978
1987
|
# Adds the specified ingress rules to a security group.
|
1979
1988
|
#
|
1989
|
+
# An inbound rule permits instances to receive traffic from the
|
1990
|
+
# specified destination IPv4 or IPv6 CIDR address ranges, or from the
|
1991
|
+
# specified destination security groups.
|
1992
|
+
#
|
1993
|
+
# You specify a protocol for each rule (for example, TCP). For TCP and
|
1994
|
+
# UDP, you must also specify the destination port or port range. For
|
1995
|
+
# ICMP/ICMPv6, you must also specify the ICMP/ICMPv6 type and code. You
|
1996
|
+
# can use -1 to mean all types or all codes.
|
1997
|
+
#
|
1980
1998
|
# Rule changes are propagated to instances within the security group as
|
1981
1999
|
# quickly as possible. However, a small delay might occur.
|
1982
2000
|
#
|
1983
|
-
#
|
1984
|
-
# permission to access a security group in your account, or gives the
|
1985
|
-
# security groups (called the *source groups*) permission to access a
|
1986
|
-
# security group for your account. A source group can be for your own
|
1987
|
-
# AWS account, or another. You can have up to 100 rules per group.
|
1988
|
-
#
|
1989
|
-
# \[EC2-VPC\] This action gives the specified IPv4 or IPv6 CIDR address
|
1990
|
-
# ranges permission to access a security group in your VPC, or gives the
|
1991
|
-
# specified security groups (called the *source groups*) permission to
|
1992
|
-
# access a security group for your VPC. The security groups must all be
|
1993
|
-
# for the same VPC or a peer VPC in a VPC peering connection. For more
|
1994
|
-
# information about VPC security group limits, see [Amazon VPC
|
2001
|
+
# For more information about VPC security group limits, see [Amazon VPC
|
1995
2002
|
# Limits][1].
|
1996
2003
|
#
|
1997
|
-
# You can optionally specify a description for the security group rule.
|
1998
2004
|
#
|
1999
2005
|
#
|
2000
|
-
#
|
2001
|
-
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html
|
2006
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
2002
2007
|
#
|
2003
2008
|
# @option params [String] :cidr_ip
|
2004
|
-
# The
|
2005
|
-
# specifying a source security group.
|
2009
|
+
# The IPv4 address range, in CIDR format. You can't specify this
|
2010
|
+
# parameter when specifying a source security group. To specify an IPv6
|
2011
|
+
# address range, use a set of IP permissions.
|
2012
|
+
#
|
2013
|
+
# Alternatively, use a set of IP permissions to specify multiple rules
|
2014
|
+
# and a description for the rule.
|
2006
2015
|
#
|
2007
2016
|
# @option params [Integer] :from_port
|
2008
|
-
# The start of port range for the TCP and UDP protocols, or an
|
2009
|
-
#
|
2010
|
-
#
|
2011
|
-
#
|
2017
|
+
# The start of port range for the TCP and UDP protocols, or an ICMP type
|
2018
|
+
# number. For the ICMP type number, use `-1` to specify all types. If
|
2019
|
+
# you specify all ICMP types, you must specify all codes.
|
2020
|
+
#
|
2021
|
+
# Alternatively, use a set of IP permissions to specify multiple rules
|
2022
|
+
# and a description for the rule.
|
2012
2023
|
#
|
2013
2024
|
# @option params [String] :group_id
|
2014
2025
|
# The ID of the security group. You must specify either the security
|
@@ -2021,17 +2032,18 @@ module Aws::EC2
|
|
2021
2032
|
# request.
|
2022
2033
|
#
|
2023
2034
|
# @option params [Array<Types::IpPermission>] :ip_permissions
|
2024
|
-
# The sets of IP permissions.
|
2025
|
-
# single command.
|
2035
|
+
# The sets of IP permissions.
|
2026
2036
|
#
|
2027
2037
|
# @option params [String] :ip_protocol
|
2028
2038
|
# The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
|
2029
|
-
# Numbers][1]).
|
2030
|
-
#
|
2031
|
-
# `
|
2032
|
-
#
|
2033
|
-
#
|
2034
|
-
#
|
2039
|
+
# Numbers][1]). To specify `icmpv6`, use a set of IP permissions.
|
2040
|
+
#
|
2041
|
+
# \[VPC only\] Use `-1` to specify all protocols. If you specify `-1` or
|
2042
|
+
# a protocol other than `tcp`, `udp`, or `icmp`, traffic on all ports is
|
2043
|
+
# allowed, regardless of any ports you specify.
|
2044
|
+
#
|
2045
|
+
# Alternatively, use a set of IP permissions to specify multiple rules
|
2046
|
+
# and a description for the rule.
|
2035
2047
|
#
|
2036
2048
|
#
|
2037
2049
|
#
|
@@ -2056,10 +2068,12 @@ module Aws::EC2
|
|
2056
2068
|
# protocol and port range, use a set of IP permissions instead.
|
2057
2069
|
#
|
2058
2070
|
# @option params [Integer] :to_port
|
2059
|
-
# The end of port range for the TCP and UDP protocols, or an ICMP
|
2060
|
-
#
|
2061
|
-
#
|
2062
|
-
#
|
2071
|
+
# The end of port range for the TCP and UDP protocols, or an ICMP code
|
2072
|
+
# number. For the ICMP code number, use `-1` to specify all codes. If
|
2073
|
+
# you specify all ICMP types, you must specify all codes.
|
2074
|
+
#
|
2075
|
+
# Alternatively, use a set of IP permissions to specify multiple rules
|
2076
|
+
# and a description for the rule.
|
2063
2077
|
#
|
2064
2078
|
# @option params [Boolean] :dry_run
|
2065
2079
|
# Checks whether you have the required permissions for the action,
|
@@ -4222,22 +4236,33 @@ module Aws::EC2
|
|
4222
4236
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
4223
4237
|
#
|
4224
4238
|
# @option params [String] :deliver_logs_permission_arn
|
4225
|
-
# The ARN for the IAM role that
|
4226
|
-
# group.
|
4239
|
+
# The ARN for the IAM role that permits Amazon EC2 to publish flow logs
|
4240
|
+
# to a CloudWatch Logs log group in your account.
|
4241
|
+
#
|
4242
|
+
# If you specify `LogDestinationType` as `s3`, do not specify
|
4243
|
+
# `DeliverLogsPermissionArn` or `LogGroupName`.
|
4227
4244
|
#
|
4228
4245
|
# @option params [String] :log_group_name
|
4229
|
-
# The name of
|
4246
|
+
# The name of a new or existing CloudWatch Logs log group where Amazon
|
4247
|
+
# EC2 publishes your flow logs.
|
4248
|
+
#
|
4249
|
+
# If you specify `LogDestinationType` as `s3`, do not specify
|
4250
|
+
# `DeliverLogsPermissionArn` or `LogGroupName`.
|
4230
4251
|
#
|
4231
4252
|
# @option params [required, Array<String>] :resource_ids
|
4232
|
-
#
|
4253
|
+
# The ID of the subnet, network interface, or VPC for which you want to
|
4254
|
+
# create a flow log.
|
4233
4255
|
#
|
4234
4256
|
# Constraints: Maximum of 1000 resources
|
4235
4257
|
#
|
4236
4258
|
# @option params [required, String] :resource_type
|
4237
|
-
# The type of resource
|
4259
|
+
# The type of resource for which to create the flow log. For example, if
|
4260
|
+
# you specified a VPC ID for the `ResourceId` property, specify `VPC`
|
4261
|
+
# for this property.
|
4238
4262
|
#
|
4239
4263
|
# @option params [required, String] :traffic_type
|
4240
|
-
# The type of traffic to log.
|
4264
|
+
# The type of traffic to log. You can log traffic that the resource
|
4265
|
+
# accepts or rejects, or all traffic.
|
4241
4266
|
#
|
4242
4267
|
# @option params [String] :log_destination_type
|
4243
4268
|
# Specifies the type of destination to which the flow log data is to be
|
@@ -4246,13 +4271,16 @@ module Aws::EC2
|
|
4246
4271
|
# `cloud-watch-logs`. To publish flow log data to Amazon S3, specify
|
4247
4272
|
# `s3`.
|
4248
4273
|
#
|
4274
|
+
# If you specify `LogDestinationType` as `s3`, do not specify
|
4275
|
+
# `DeliverLogsPermissionArn` or `LogGroupName`.
|
4276
|
+
#
|
4249
4277
|
# Default: `cloud-watch-logs`
|
4250
4278
|
#
|
4251
4279
|
# @option params [String] :log_destination
|
4252
4280
|
# Specifies the destination to which the flow log data is to be
|
4253
|
-
# published. Flow log data can be published to
|
4281
|
+
# published. Flow log data can be published to a CloudWatch Logs log
|
4254
4282
|
# group or an Amazon S3 bucket. The value specified for this parameter
|
4255
|
-
# depends on the value specified for LogDestinationType
|
4283
|
+
# depends on the value specified for `LogDestinationType`.
|
4256
4284
|
#
|
4257
4285
|
# If LogDestinationType is not specified or `cloud-watch-logs`, specify
|
4258
4286
|
# the Amazon Resource Name (ARN) of the CloudWatch Logs log group.
|
@@ -4311,7 +4339,7 @@ module Aws::EC2
|
|
4311
4339
|
# for use, check the output logs.
|
4312
4340
|
#
|
4313
4341
|
# An AFI contains the FPGA bitstream that is ready to download to an
|
4314
|
-
# FPGA. You can securely deploy an AFI on
|
4342
|
+
# FPGA. You can securely deploy an AFI on multiple FPGA-accelerated
|
4315
4343
|
# instances. For more information, see the [AWS FPGA Hardware
|
4316
4344
|
# Development Kit][1].
|
4317
4345
|
#
|
@@ -4817,6 +4845,7 @@ module Aws::EC2
|
|
4817
4845
|
# description: "String",
|
4818
4846
|
# device_index: 1,
|
4819
4847
|
# groups: ["String"],
|
4848
|
+
# interface_type: "String",
|
4820
4849
|
# ipv_6_address_count: 1,
|
4821
4850
|
# ipv_6_addresses: [
|
4822
4851
|
# {
|
@@ -4899,14 +4928,14 @@ module Aws::EC2
|
|
4899
4928
|
# capacity_reservation_id: "String",
|
4900
4929
|
# },
|
4901
4930
|
# },
|
4902
|
-
# hibernation_options: {
|
4903
|
-
# configured: false,
|
4904
|
-
# },
|
4905
4931
|
# license_specifications: [
|
4906
4932
|
# {
|
4907
4933
|
# license_configuration_arn: "String",
|
4908
4934
|
# },
|
4909
4935
|
# ],
|
4936
|
+
# hibernation_options: {
|
4937
|
+
# configured: false,
|
4938
|
+
# },
|
4910
4939
|
# },
|
4911
4940
|
# })
|
4912
4941
|
#
|
@@ -5063,6 +5092,7 @@ module Aws::EC2
|
|
5063
5092
|
# description: "String",
|
5064
5093
|
# device_index: 1,
|
5065
5094
|
# groups: ["String"],
|
5095
|
+
# interface_type: "String",
|
5066
5096
|
# ipv_6_address_count: 1,
|
5067
5097
|
# ipv_6_addresses: [
|
5068
5098
|
# {
|
@@ -5145,14 +5175,14 @@ module Aws::EC2
|
|
5145
5175
|
# capacity_reservation_id: "String",
|
5146
5176
|
# },
|
5147
5177
|
# },
|
5148
|
-
# hibernation_options: {
|
5149
|
-
# configured: false,
|
5150
|
-
# },
|
5151
5178
|
# license_specifications: [
|
5152
5179
|
# {
|
5153
5180
|
# license_configuration_arn: "String",
|
5154
5181
|
# },
|
5155
5182
|
# ],
|
5183
|
+
# hibernation_options: {
|
5184
|
+
# configured: false,
|
5185
|
+
# },
|
5156
5186
|
# },
|
5157
5187
|
# })
|
5158
5188
|
#
|
@@ -5187,6 +5217,7 @@ module Aws::EC2
|
|
5187
5217
|
# resp.launch_template_version.launch_template_data.network_interfaces[0].device_index #=> Integer
|
5188
5218
|
# resp.launch_template_version.launch_template_data.network_interfaces[0].groups #=> Array
|
5189
5219
|
# resp.launch_template_version.launch_template_data.network_interfaces[0].groups[0] #=> String
|
5220
|
+
# resp.launch_template_version.launch_template_data.network_interfaces[0].interface_type #=> String
|
5190
5221
|
# resp.launch_template_version.launch_template_data.network_interfaces[0].ipv_6_address_count #=> Integer
|
5191
5222
|
# resp.launch_template_version.launch_template_data.network_interfaces[0].ipv_6_addresses #=> Array
|
5192
5223
|
# resp.launch_template_version.launch_template_data.network_interfaces[0].ipv_6_addresses[0].ipv_6_address #=> String
|
@@ -5235,9 +5266,9 @@ module Aws::EC2
|
|
5235
5266
|
# resp.launch_template_version.launch_template_data.cpu_options.threads_per_core #=> Integer
|
5236
5267
|
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
5237
5268
|
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
5238
|
-
# resp.launch_template_version.launch_template_data.hibernation_options.configured #=> Boolean
|
5239
5269
|
# resp.launch_template_version.launch_template_data.license_specifications #=> Array
|
5240
5270
|
# resp.launch_template_version.launch_template_data.license_specifications[0].license_configuration_arn #=> String
|
5271
|
+
# resp.launch_template_version.launch_template_data.hibernation_options.configured #=> Boolean
|
5241
5272
|
#
|
5242
5273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersion AWS API Documentation
|
5243
5274
|
#
|
@@ -5639,6 +5670,15 @@ module Aws::EC2
|
|
5639
5670
|
#
|
5640
5671
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
5641
5672
|
#
|
5673
|
+
# @option params [String] :interface_type
|
5674
|
+
# Indicates whether the network interface is an Elastic Fabric Adapter
|
5675
|
+
# (EFA). Only specify this parameter to create an EFA. For more
|
5676
|
+
# information, see [Elastic Fabric
|
5677
|
+
# Adapter](AWSEC2/latest/UserGuide/efa.html) in the *Amazon Elastic
|
5678
|
+
# Compute Cloud User Guide*.
|
5679
|
+
#
|
5680
|
+
# If you are not creating an EFA ENI, omit this parameter.
|
5681
|
+
#
|
5642
5682
|
# @option params [required, String] :subnet_id
|
5643
5683
|
# The ID of the subnet to associate with the network interface.
|
5644
5684
|
#
|
@@ -5711,6 +5751,7 @@ module Aws::EC2
|
|
5711
5751
|
# },
|
5712
5752
|
# ],
|
5713
5753
|
# secondary_private_ip_address_count: 1,
|
5754
|
+
# interface_type: "efa", # accepts efa
|
5714
5755
|
# subnet_id: "String", # required
|
5715
5756
|
# })
|
5716
5757
|
#
|
@@ -5733,7 +5774,7 @@ module Aws::EC2
|
|
5733
5774
|
# resp.network_interface.groups #=> Array
|
5734
5775
|
# resp.network_interface.groups[0].group_name #=> String
|
5735
5776
|
# resp.network_interface.groups[0].group_id #=> String
|
5736
|
-
# resp.network_interface.interface_type #=> String, one of "interface", "natGateway"
|
5777
|
+
# resp.network_interface.interface_type #=> String, one of "interface", "natGateway", "efa"
|
5737
5778
|
# resp.network_interface.ipv_6_addresses #=> Array
|
5738
5779
|
# resp.network_interface.ipv_6_addresses[0].ipv_6_address #=> String
|
5739
5780
|
# resp.network_interface.mac_address #=> String
|
@@ -6216,15 +6257,11 @@ module Aws::EC2
|
|
6216
6257
|
|
6217
6258
|
# Creates a security group.
|
6218
6259
|
#
|
6219
|
-
# A security group
|
6220
|
-
#
|
6221
|
-
# Security Groups][1] in the *Amazon Elastic Compute Cloud
|
6222
|
-
# and [Security Groups for Your VPC][2] in the *Amazon
|
6223
|
-
# Cloud User Guide*.
|
6224
|
-
#
|
6225
|
-
# EC2-Classic: You can have up to 500 security groups.
|
6226
|
-
#
|
6227
|
-
# EC2-VPC: You can create up to 500 security groups per VPC.
|
6260
|
+
# A security group acts as a virtual firewall for your instance to
|
6261
|
+
# control inbound and outbound traffic. For more information, see
|
6262
|
+
# [Amazon EC2 Security Groups][1] in the *Amazon Elastic Compute Cloud
|
6263
|
+
# User Guide* and [Security Groups for Your VPC][2] in the *Amazon
|
6264
|
+
# Virtual Private Cloud User Guide*.
|
6228
6265
|
#
|
6229
6266
|
# When you create a security group, you specify a friendly name of your
|
6230
6267
|
# choice. You can have a security group for use in EC2-Classic with the
|
@@ -6243,10 +6280,14 @@ module Aws::EC2
|
|
6243
6280
|
# AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress,
|
6244
6281
|
# RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress.
|
6245
6282
|
#
|
6283
|
+
# For more information about VPC security group limits, see [Amazon VPC
|
6284
|
+
# Limits][3].
|
6285
|
+
#
|
6246
6286
|
#
|
6247
6287
|
#
|
6248
6288
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
|
6249
6289
|
# [2]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
|
6290
|
+
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
|
6250
6291
|
#
|
6251
6292
|
# @option params [required, String] :description
|
6252
6293
|
# A description for the security group. This is informational only.
|
@@ -6692,9 +6733,9 @@ module Aws::EC2
|
|
6692
6733
|
# request into smaller batches.
|
6693
6734
|
#
|
6694
6735
|
# @option params [required, Array<Types::Tag>] :tags
|
6695
|
-
#
|
6696
|
-
#
|
6697
|
-
#
|
6736
|
+
# The tags. The `value` parameter is required, but if you don't want
|
6737
|
+
# the tag to have a value, specify the parameter with no value, and we
|
6738
|
+
# set the value to an empty string.
|
6698
6739
|
#
|
6699
6740
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6700
6741
|
#
|
@@ -6849,7 +6890,7 @@ module Aws::EC2
|
|
6849
6890
|
# The ID of the attachment.
|
6850
6891
|
#
|
6851
6892
|
# @option params [Boolean] :blackhole
|
6852
|
-
# Indicates whether
|
6893
|
+
# Indicates whether to drop traffic if the target isn't available.
|
6853
6894
|
#
|
6854
6895
|
# @option params [Boolean] :dry_run
|
6855
6896
|
# Checks whether you have the required permissions for the action,
|
@@ -9145,11 +9186,11 @@ module Aws::EC2
|
|
9145
9186
|
# request into smaller batches.
|
9146
9187
|
#
|
9147
9188
|
# @option params [Array<Types::Tag>] :tags
|
9148
|
-
#
|
9149
|
-
#
|
9150
|
-
#
|
9151
|
-
#
|
9152
|
-
#
|
9189
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
9190
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
9191
|
+
# delete any tag with this key regardless of its value. If you specify a
|
9192
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
9193
|
+
# if its value is an empty string.
|
9153
9194
|
#
|
9154
9195
|
# If you omit this parameter, we delete all user-defined tags for the
|
9155
9196
|
# specified resources. We do not delete AWS-generated tags (tags that
|
@@ -10350,12 +10391,12 @@ module Aws::EC2
|
|
10350
10391
|
# </note>
|
10351
10392
|
#
|
10352
10393
|
# @option params [Array<String>] :bundle_ids
|
10353
|
-
#
|
10394
|
+
# The bundle task IDs.
|
10354
10395
|
#
|
10355
10396
|
# Default: Describes all your bundle tasks.
|
10356
10397
|
#
|
10357
10398
|
# @option params [Array<Types::Filter>] :filters
|
10358
|
-
#
|
10399
|
+
# The filters.
|
10359
10400
|
#
|
10360
10401
|
# * `bundle-id` - The ID of the bundle task.
|
10361
10402
|
#
|
@@ -10997,8 +11038,8 @@ module Aws::EC2
|
|
10997
11038
|
req.send_request(options)
|
10998
11039
|
end
|
10999
11040
|
|
11000
|
-
# Describes
|
11001
|
-
# see the [VM Import/Export User Guide][1].
|
11041
|
+
# Describes the specified conversion tasks or all your conversion tasks.
|
11042
|
+
# For more information, see the [VM Import/Export User Guide][1].
|
11002
11043
|
#
|
11003
11044
|
# For information about the import manifest referenced by this API
|
11004
11045
|
# action, see [VM Import Manifest][2].
|
@@ -11009,7 +11050,7 @@ module Aws::EC2
|
|
11009
11050
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html
|
11010
11051
|
#
|
11011
11052
|
# @option params [Array<String>] :conversion_task_ids
|
11012
|
-
#
|
11053
|
+
# The conversion task IDs.
|
11013
11054
|
#
|
11014
11055
|
# @option params [Boolean] :dry_run
|
11015
11056
|
# Checks whether you have the required permissions for the action,
|
@@ -11355,7 +11396,7 @@ module Aws::EC2
|
|
11355
11396
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
|
11356
11397
|
#
|
11357
11398
|
# @option params [Array<String>] :elastic_gpu_ids
|
11358
|
-
#
|
11399
|
+
# The Elastic Graphics accelerator IDs.
|
11359
11400
|
#
|
11360
11401
|
# @option params [Boolean] :dry_run
|
11361
11402
|
# Checks whether you have the required permissions for the action,
|
@@ -11364,7 +11405,7 @@ module Aws::EC2
|
|
11364
11405
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
11365
11406
|
#
|
11366
11407
|
# @option params [Array<Types::Filter>] :filters
|
11367
|
-
#
|
11408
|
+
# The filters.
|
11368
11409
|
#
|
11369
11410
|
# * `availability-zone` - The Availability Zone in which the Elastic
|
11370
11411
|
# Graphics accelerator resides.
|
@@ -11431,10 +11472,10 @@ module Aws::EC2
|
|
11431
11472
|
req.send_request(options)
|
11432
11473
|
end
|
11433
11474
|
|
11434
|
-
# Describes
|
11475
|
+
# Describes the specified export tasks or all your export tasks.
|
11435
11476
|
#
|
11436
11477
|
# @option params [Array<String>] :export_task_ids
|
11437
|
-
#
|
11478
|
+
# The export task IDs.
|
11438
11479
|
#
|
11439
11480
|
# @return [Types::DescribeExportTasksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11440
11481
|
#
|
@@ -11559,7 +11600,7 @@ module Aws::EC2
|
|
11559
11600
|
# The ID of the EC2 Fleet.
|
11560
11601
|
#
|
11561
11602
|
# @option params [Array<Types::Filter>] :filters
|
11562
|
-
#
|
11603
|
+
# The filters.
|
11563
11604
|
#
|
11564
11605
|
# * `instance-type` - The instance type.
|
11565
11606
|
#
|
@@ -11605,7 +11646,7 @@ module Aws::EC2
|
|
11605
11646
|
req.send_request(options)
|
11606
11647
|
end
|
11607
11648
|
|
11608
|
-
# Describes
|
11649
|
+
# Describes the specified EC2 Fleets or all your EC2 Fleets.
|
11609
11650
|
#
|
11610
11651
|
# @option params [Boolean] :dry_run
|
11611
11652
|
# Checks whether you have the required permissions for the action,
|
@@ -11626,7 +11667,7 @@ module Aws::EC2
|
|
11626
11667
|
# The ID of the EC2 Fleets.
|
11627
11668
|
#
|
11628
11669
|
# @option params [Array<Types::Filter>] :filters
|
11629
|
-
#
|
11670
|
+
# The filters.
|
11630
11671
|
#
|
11631
11672
|
# * `activity-status` - The progress of the EC2 Fleet ( `error` \|
|
11632
11673
|
# `pending-fulfillment` \| `pending-termination` \| `fulfilled`).
|
@@ -11883,7 +11924,7 @@ module Aws::EC2
|
|
11883
11924
|
req.send_request(options)
|
11884
11925
|
end
|
11885
11926
|
|
11886
|
-
# Describes
|
11927
|
+
# Describes the Amazon FPGA Images (AFIs) available to you. These
|
11887
11928
|
# include public AFIs, private AFIs that you own, and AFIs owned by
|
11888
11929
|
# other AWS accounts for which you have load permissions.
|
11889
11930
|
#
|
@@ -11894,7 +11935,7 @@ module Aws::EC2
|
|
11894
11935
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
11895
11936
|
#
|
11896
11937
|
# @option params [Array<String>] :fpga_image_ids
|
11897
|
-
#
|
11938
|
+
# The AFI IDs.
|
11898
11939
|
#
|
11899
11940
|
# @option params [Array<String>] :owners
|
11900
11941
|
# Filters the AFI by owner. Specify an AWS account ID, `self` (owner is
|
@@ -11902,7 +11943,7 @@ module Aws::EC2
|
|
11902
11943
|
# `amazon` \| `aws-marketplace`).
|
11903
11944
|
#
|
11904
11945
|
# @option params [Array<Types::Filter>] :filters
|
11905
|
-
#
|
11946
|
+
# The filters.
|
11906
11947
|
#
|
11907
11948
|
# * `create-time` - The creation time of the AFI.
|
11908
11949
|
#
|
@@ -12014,7 +12055,7 @@ module Aws::EC2
|
|
12014
12055
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html
|
12015
12056
|
#
|
12016
12057
|
# @option params [Array<Types::Filter>] :filter
|
12017
|
-
#
|
12058
|
+
# The filters.
|
12018
12059
|
#
|
12019
12060
|
# * `instance-family` - The instance family of the offering (for
|
12020
12061
|
# example, `m4`).
|
@@ -12095,7 +12136,7 @@ module Aws::EC2
|
|
12095
12136
|
# your account.
|
12096
12137
|
#
|
12097
12138
|
# @option params [Array<Types::Filter>] :filter
|
12098
|
-
#
|
12139
|
+
# The filters.
|
12099
12140
|
#
|
12100
12141
|
# * `instance-family` - The instance family (for example, `m4`).
|
12101
12142
|
#
|
@@ -12116,7 +12157,7 @@ module Aws::EC2
|
|
12116
12157
|
# regardless of the tag value.
|
12117
12158
|
#
|
12118
12159
|
# @option params [Array<String>] :host_reservation_id_set
|
12119
|
-
#
|
12160
|
+
# The host reservation IDs.
|
12120
12161
|
#
|
12121
12162
|
# @option params [Integer] :max_results
|
12122
12163
|
# The maximum number of results to return for the request in a single
|
@@ -12178,7 +12219,7 @@ module Aws::EC2
|
|
12178
12219
|
req.send_request(options)
|
12179
12220
|
end
|
12180
12221
|
|
12181
|
-
# Describes
|
12222
|
+
# Describes the specified Dedicated Hosts or all your Dedicated Hosts.
|
12182
12223
|
#
|
12183
12224
|
# The results describe only the Dedicated Hosts in the Region you're
|
12184
12225
|
# currently using. All listed instances consume capacity on your
|
@@ -12186,7 +12227,7 @@ module Aws::EC2
|
|
12186
12227
|
# listed with the state `released`.
|
12187
12228
|
#
|
12188
12229
|
# @option params [Array<Types::Filter>] :filter
|
12189
|
-
#
|
12230
|
+
# The filters.
|
12190
12231
|
#
|
12191
12232
|
# * `auto-placement` - Whether auto-placement is enabled or disabled
|
12192
12233
|
# (`on` \| `off`).
|
@@ -12284,10 +12325,10 @@ module Aws::EC2
|
|
12284
12325
|
# Describes your IAM instance profile associations.
|
12285
12326
|
#
|
12286
12327
|
# @option params [Array<String>] :association_ids
|
12287
|
-
#
|
12328
|
+
# The IAM instance profile associations.
|
12288
12329
|
#
|
12289
12330
|
# @option params [Array<Types::Filter>] :filters
|
12290
|
-
#
|
12331
|
+
# The filters.
|
12291
12332
|
#
|
12292
12333
|
# * `instance-id` - The ID of the instance.
|
12293
12334
|
#
|
@@ -12601,10 +12642,8 @@ module Aws::EC2
|
|
12601
12642
|
# you own, and private images owned by other AWS accounts for which you
|
12602
12643
|
# have explicit launch permissions.
|
12603
12644
|
#
|
12604
|
-
#
|
12605
|
-
#
|
12606
|
-
#
|
12607
|
-
# </note>
|
12645
|
+
# Recently deregistered images might appear in the returned results for
|
12646
|
+
# a short interval.
|
12608
12647
|
#
|
12609
12648
|
# @option params [Array<String>] :executable_users
|
12610
12649
|
# Scopes the images by users with explicit launch permissions. Specify
|
@@ -12612,7 +12651,7 @@ module Aws::EC2
|
|
12612
12651
|
# (public AMIs).
|
12613
12652
|
#
|
12614
12653
|
# @option params [Array<Types::Filter>] :filters
|
12615
|
-
#
|
12654
|
+
# The filters.
|
12616
12655
|
#
|
12617
12656
|
# * `architecture` - The image architecture (`i386` \| `x86_64`).
|
12618
12657
|
#
|
@@ -12702,7 +12741,7 @@ module Aws::EC2
|
|
12702
12741
|
# `hvm`).
|
12703
12742
|
#
|
12704
12743
|
# @option params [Array<String>] :image_ids
|
12705
|
-
#
|
12744
|
+
# The image IDs.
|
12706
12745
|
#
|
12707
12746
|
# Default: Describes all images available to you.
|
12708
12747
|
#
|
@@ -12925,7 +12964,7 @@ module Aws::EC2
|
|
12925
12964
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
12926
12965
|
#
|
12927
12966
|
# @option params [Array<Types::Filter>] :filters
|
12928
|
-
#
|
12967
|
+
# The filters.
|
12929
12968
|
#
|
12930
12969
|
# @option params [Array<String>] :import_task_ids
|
12931
12970
|
# A list of import snapshot task IDs.
|
@@ -13650,8 +13689,8 @@ module Aws::EC2
|
|
13650
13689
|
# * `placement-partition-number` - The partition in which the instance
|
13651
13690
|
# is located.
|
13652
13691
|
#
|
13653
|
-
# * `platform` - The platform.
|
13654
|
-
#
|
13692
|
+
# * `platform` - The platform. To list only Windows instances, use
|
13693
|
+
# `windows`.
|
13655
13694
|
#
|
13656
13695
|
# * `private-dns-name` - The private IPv4 DNS name of the instance.
|
13657
13696
|
#
|
@@ -13914,6 +13953,7 @@ module Aws::EC2
|
|
13914
13953
|
# resp.reservations[0].instances[0].network_interfaces[0].status #=> String, one of "available", "associated", "attaching", "in-use", "detaching"
|
13915
13954
|
# resp.reservations[0].instances[0].network_interfaces[0].subnet_id #=> String
|
13916
13955
|
# resp.reservations[0].instances[0].network_interfaces[0].vpc_id #=> String
|
13956
|
+
# resp.reservations[0].instances[0].network_interfaces[0].interface_type #=> String
|
13917
13957
|
# resp.reservations[0].instances[0].root_device_name #=> String
|
13918
13958
|
# resp.reservations[0].instances[0].root_device_type #=> String, one of "ebs", "instance-store"
|
13919
13959
|
# resp.reservations[0].instances[0].security_groups #=> Array
|
@@ -14323,6 +14363,7 @@ module Aws::EC2
|
|
14323
14363
|
# resp.launch_template_versions[0].launch_template_data.network_interfaces[0].device_index #=> Integer
|
14324
14364
|
# resp.launch_template_versions[0].launch_template_data.network_interfaces[0].groups #=> Array
|
14325
14365
|
# resp.launch_template_versions[0].launch_template_data.network_interfaces[0].groups[0] #=> String
|
14366
|
+
# resp.launch_template_versions[0].launch_template_data.network_interfaces[0].interface_type #=> String
|
14326
14367
|
# resp.launch_template_versions[0].launch_template_data.network_interfaces[0].ipv_6_address_count #=> Integer
|
14327
14368
|
# resp.launch_template_versions[0].launch_template_data.network_interfaces[0].ipv_6_addresses #=> Array
|
14328
14369
|
# resp.launch_template_versions[0].launch_template_data.network_interfaces[0].ipv_6_addresses[0].ipv_6_address #=> String
|
@@ -14371,9 +14412,9 @@ module Aws::EC2
|
|
14371
14412
|
# resp.launch_template_versions[0].launch_template_data.cpu_options.threads_per_core #=> Integer
|
14372
14413
|
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
14373
14414
|
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
14374
|
-
# resp.launch_template_versions[0].launch_template_data.hibernation_options.configured #=> Boolean
|
14375
14415
|
# resp.launch_template_versions[0].launch_template_data.license_specifications #=> Array
|
14376
14416
|
# resp.launch_template_versions[0].launch_template_data.license_specifications[0].license_configuration_arn #=> String
|
14417
|
+
# resp.launch_template_versions[0].launch_template_data.hibernation_options.configured #=> Boolean
|
14377
14418
|
# resp.next_token #=> String
|
14378
14419
|
#
|
14379
14420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions AWS API Documentation
|
@@ -15186,7 +15227,7 @@ module Aws::EC2
|
|
15186
15227
|
# being managed by an AWS service (for example, AWS Management
|
15187
15228
|
# Console, Auto Scaling, and so on).
|
15188
15229
|
#
|
15189
|
-
# * `source-
|
15230
|
+
# * `source-dest-check` - Indicates whether the network interface
|
15190
15231
|
# performs source/destination checking. A value of `true` means
|
15191
15232
|
# checking is enabled, and `false` means checking is disabled. The
|
15192
15233
|
# value must be `false` for the network interface to perform network
|
@@ -15335,7 +15376,7 @@ module Aws::EC2
|
|
15335
15376
|
# resp.network_interfaces[0].groups #=> Array
|
15336
15377
|
# resp.network_interfaces[0].groups[0].group_name #=> String
|
15337
15378
|
# resp.network_interfaces[0].groups[0].group_id #=> String
|
15338
|
-
# resp.network_interfaces[0].interface_type #=> String, one of "interface", "natGateway"
|
15379
|
+
# resp.network_interfaces[0].interface_type #=> String, one of "interface", "natGateway", "efa"
|
15339
15380
|
# resp.network_interfaces[0].ipv_6_addresses #=> Array
|
15340
15381
|
# resp.network_interfaces[0].ipv_6_addresses[0].ipv_6_address #=> String
|
15341
15382
|
# resp.network_interfaces[0].mac_address #=> String
|
@@ -16511,7 +16552,7 @@ module Aws::EC2
|
|
16511
16552
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
16512
16553
|
#
|
16513
16554
|
# @option params [Array<Types::Filter>] :filters
|
16514
|
-
#
|
16555
|
+
# The filters.
|
16515
16556
|
#
|
16516
16557
|
# * `availability-zone` - The Availability Zone (for example,
|
16517
16558
|
# `us-west-2a`).
|
@@ -16660,7 +16701,8 @@ module Aws::EC2
|
|
16660
16701
|
req.send_request(options)
|
16661
16702
|
end
|
16662
16703
|
|
16663
|
-
# Describes
|
16704
|
+
# Describes the specified Scheduled Instances or all your Scheduled
|
16705
|
+
# Instances.
|
16664
16706
|
#
|
16665
16707
|
# @option params [Boolean] :dry_run
|
16666
16708
|
# Checks whether you have the required permissions for the action,
|
@@ -16669,7 +16711,7 @@ module Aws::EC2
|
|
16669
16711
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
16670
16712
|
#
|
16671
16713
|
# @option params [Array<Types::Filter>] :filters
|
16672
|
-
#
|
16714
|
+
# The filters.
|
16673
16715
|
#
|
16674
16716
|
# * `availability-zone` - The Availability Zone (for example,
|
16675
16717
|
# `us-west-2a`).
|
@@ -16691,7 +16733,7 @@ module Aws::EC2
|
|
16691
16733
|
# The token for the next set of results.
|
16692
16734
|
#
|
16693
16735
|
# @option params [Array<String>] :scheduled_instance_ids
|
16694
|
-
#
|
16736
|
+
# The Scheduled Instance IDs.
|
16695
16737
|
#
|
16696
16738
|
# @option params [Types::SlotStartTimeRangeRequest] :slot_start_time_range
|
16697
16739
|
# The time period for the first schedule to start.
|
@@ -16795,7 +16837,7 @@ module Aws::EC2
|
|
16795
16837
|
req.send_request(options)
|
16796
16838
|
end
|
16797
16839
|
|
16798
|
-
# \[
|
16840
|
+
# \[VPC only\] Describes the VPCs on the other side of a VPC peering
|
16799
16841
|
# connection that are referencing the security groups you've specified
|
16800
16842
|
# in this request.
|
16801
16843
|
#
|
@@ -17232,6 +17274,9 @@ module Aws::EC2
|
|
17232
17274
|
#
|
17233
17275
|
# * `description` - A description of the snapshot.
|
17234
17276
|
#
|
17277
|
+
# * `encrypted` - Indicates whether the snapshot is encrypted (`true` \|
|
17278
|
+
# `false`)
|
17279
|
+
#
|
17235
17280
|
# * `owner-alias` - Value from an Amazon-maintained list (`amazon` \|
|
17236
17281
|
# `self` \| `all` \| `aws-marketplace` \| `microsoft`) of snapshot
|
17237
17282
|
# owners. Not to be confused with the user-configured AWS account
|
@@ -17820,6 +17865,7 @@ module Aws::EC2
|
|
17820
17865
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
|
17821
17866
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].secondary_private_ip_address_count #=> Integer
|
17822
17867
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].subnet_id #=> String
|
17868
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].interface_type #=> String
|
17823
17869
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.availability_zone #=> String
|
17824
17870
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.group_name #=> String
|
17825
17871
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.tenancy #=> String, one of "default", "dedicated", "host"
|
@@ -18155,6 +18201,7 @@ module Aws::EC2
|
|
18155
18201
|
# resp.spot_instance_requests[0].launch_specification.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
|
18156
18202
|
# resp.spot_instance_requests[0].launch_specification.network_interfaces[0].secondary_private_ip_address_count #=> Integer
|
18157
18203
|
# resp.spot_instance_requests[0].launch_specification.network_interfaces[0].subnet_id #=> String
|
18204
|
+
# resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
|
18158
18205
|
# resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
|
18159
18206
|
# resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
|
18160
18207
|
# resp.spot_instance_requests[0].launch_specification.placement.tenancy #=> String, one of "default", "dedicated", "host"
|
@@ -18335,7 +18382,7 @@ module Aws::EC2
|
|
18335
18382
|
req.send_request(options)
|
18336
18383
|
end
|
18337
18384
|
|
18338
|
-
# \[
|
18385
|
+
# \[VPC only\] Describes the stale security group rules for security
|
18339
18386
|
# groups in a specified VPC. Rules are stale when they reference a
|
18340
18387
|
# deleted security group in a peer VPC, or a security group in a peer
|
18341
18388
|
# VPC for which the VPC peering connection has been deleted.
|
@@ -18590,7 +18637,7 @@ module Aws::EC2
|
|
18590
18637
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
18591
18638
|
#
|
18592
18639
|
# @option params [Array<Types::Filter>] :filters
|
18593
|
-
#
|
18640
|
+
# The filters.
|
18594
18641
|
#
|
18595
18642
|
# * `key` - The tag key.
|
18596
18643
|
#
|
@@ -19391,7 +19438,8 @@ module Aws::EC2
|
|
19391
19438
|
#
|
19392
19439
|
# * `create-time` - The time stamp when the volume was created.
|
19393
19440
|
#
|
19394
|
-
# * `encrypted` -
|
19441
|
+
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
19442
|
+
# `false`)
|
19395
19443
|
#
|
19396
19444
|
# * `size` - The size of the volume, in GiB.
|
19397
19445
|
#
|
@@ -21630,10 +21678,13 @@ module Aws::EC2
|
|
21630
21678
|
# specified route table of a VPC.
|
21631
21679
|
#
|
21632
21680
|
# @option params [required, String] :gateway_id
|
21633
|
-
# The ID of the virtual private gateway.
|
21681
|
+
# The ID of the virtual private gateway that is attached to a VPC. The
|
21682
|
+
# virtual private gateway must be attached to the same VPC that the
|
21683
|
+
# routing tables are associated with.
|
21634
21684
|
#
|
21635
21685
|
# @option params [required, String] :route_table_id
|
21636
|
-
# The ID of the route table.
|
21686
|
+
# The ID of the route table. The routing table must be associated with
|
21687
|
+
# the same VPC that the virtual private gateway is attached to.
|
21637
21688
|
#
|
21638
21689
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
21639
21690
|
#
|
@@ -22232,6 +22283,7 @@ module Aws::EC2
|
|
22232
22283
|
# resp.launch_template_data.network_interfaces[0].device_index #=> Integer
|
22233
22284
|
# resp.launch_template_data.network_interfaces[0].groups #=> Array
|
22234
22285
|
# resp.launch_template_data.network_interfaces[0].groups[0] #=> String
|
22286
|
+
# resp.launch_template_data.network_interfaces[0].interface_type #=> String
|
22235
22287
|
# resp.launch_template_data.network_interfaces[0].ipv_6_address_count #=> Integer
|
22236
22288
|
# resp.launch_template_data.network_interfaces[0].ipv_6_addresses #=> Array
|
22237
22289
|
# resp.launch_template_data.network_interfaces[0].ipv_6_addresses[0].ipv_6_address #=> String
|
@@ -22280,9 +22332,9 @@ module Aws::EC2
|
|
22280
22332
|
# resp.launch_template_data.cpu_options.threads_per_core #=> Integer
|
22281
22333
|
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
22282
22334
|
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
22283
|
-
# resp.launch_template_data.hibernation_options.configured #=> Boolean
|
22284
22335
|
# resp.launch_template_data.license_specifications #=> Array
|
22285
22336
|
# resp.launch_template_data.license_specifications[0].license_configuration_arn #=> String
|
22337
|
+
# resp.launch_template_data.hibernation_options.configured #=> Boolean
|
22286
22338
|
#
|
22287
22339
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
|
22288
22340
|
#
|
@@ -23501,16 +23553,16 @@ module Aws::EC2
|
|
23501
23553
|
# The operation type.
|
23502
23554
|
#
|
23503
23555
|
# @option params [Array<String>] :user_ids
|
23504
|
-
#
|
23505
|
-
#
|
23556
|
+
# The AWS account IDs. This parameter is valid only when modifying the
|
23557
|
+
# `loadPermission` attribute.
|
23506
23558
|
#
|
23507
23559
|
# @option params [Array<String>] :user_groups
|
23508
|
-
#
|
23509
|
-
#
|
23560
|
+
# The user groups. This parameter is valid only when modifying the
|
23561
|
+
# `loadPermission` attribute.
|
23510
23562
|
#
|
23511
23563
|
# @option params [Array<String>] :product_codes
|
23512
|
-
#
|
23513
|
-
#
|
23564
|
+
# The product codes. After you add a product code to an AFI, it can't
|
23565
|
+
# be removed. This parameter is valid only when modifying the
|
23514
23566
|
# `productCodes` attribute.
|
23515
23567
|
#
|
23516
23568
|
# @option params [Types::LoadPermissionModifications] :load_permission
|
@@ -23797,15 +23849,15 @@ module Aws::EC2
|
|
23797
23849
|
# `Attribute` parameter is `launchPermission`.
|
23798
23850
|
#
|
23799
23851
|
# @option params [Array<String>] :product_codes
|
23800
|
-
#
|
23801
|
-
#
|
23852
|
+
# The DevPay product codes. After you add a product code to an AMI, it
|
23853
|
+
# can't be removed.
|
23802
23854
|
#
|
23803
23855
|
# @option params [Array<String>] :user_groups
|
23804
|
-
#
|
23805
|
-
#
|
23856
|
+
# The user groups. This parameter can be used only when the `Attribute`
|
23857
|
+
# parameter is `launchPermission`.
|
23806
23858
|
#
|
23807
23859
|
# @option params [Array<String>] :user_ids
|
23808
|
-
#
|
23860
|
+
# The AWS account IDs. This parameter can be used only when the
|
23809
23861
|
# `Attribute` parameter is `launchPermission`.
|
23810
23862
|
#
|
23811
23863
|
# @option params [String] :value
|
@@ -24225,7 +24277,7 @@ module Aws::EC2
|
|
24225
24277
|
# Checks whether you have the required permissions for the action,
|
24226
24278
|
# without actually making the request, and provides an error response.
|
24227
24279
|
# If you have the required permissions, the error response is
|
24228
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation
|
24280
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
24229
24281
|
#
|
24230
24282
|
# @option params [required, String] :instance_id
|
24231
24283
|
# The ID of the instance with the scheduled event.
|
@@ -25902,7 +25954,7 @@ module Aws::EC2
|
|
25902
25954
|
req.send_request(options)
|
25903
25955
|
end
|
25904
25956
|
|
25905
|
-
# Purchases
|
25957
|
+
# Purchases the Scheduled Instances with the specified schedule.
|
25906
25958
|
#
|
25907
25959
|
# Scheduled Instances enable you to purchase Amazon EC2 compute capacity
|
25908
25960
|
# by the hour for a one-year term. Before you can purchase a Scheduled
|
@@ -25932,7 +25984,7 @@ module Aws::EC2
|
|
25932
25984
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25933
25985
|
#
|
25934
25986
|
# @option params [required, Array<Types::PurchaseRequest>] :purchase_requests
|
25935
|
-
#
|
25987
|
+
# The purchase requests.
|
25936
25988
|
#
|
25937
25989
|
# @return [Types::PurchaseScheduledInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
25938
25990
|
#
|
@@ -26139,7 +26191,7 @@ module Aws::EC2
|
|
26139
26191
|
# AMIs, the architecture specified in the manifest file.
|
26140
26192
|
#
|
26141
26193
|
# @option params [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
26142
|
-
#
|
26194
|
+
# The block device mapping entries.
|
26143
26195
|
#
|
26144
26196
|
# @option params [String] :description
|
26145
26197
|
# A description for your AMI.
|
@@ -27272,6 +27324,7 @@ module Aws::EC2
|
|
27272
27324
|
# ],
|
27273
27325
|
# secondary_private_ip_address_count: 1,
|
27274
27326
|
# subnet_id: "String",
|
27327
|
+
# interface_type: "String",
|
27275
27328
|
# },
|
27276
27329
|
# ],
|
27277
27330
|
# placement: {
|
@@ -27579,6 +27632,7 @@ module Aws::EC2
|
|
27579
27632
|
# ],
|
27580
27633
|
# secondary_private_ip_address_count: 1,
|
27581
27634
|
# subnet_id: "String",
|
27635
|
+
# interface_type: "String",
|
27582
27636
|
# },
|
27583
27637
|
# ],
|
27584
27638
|
# placement: {
|
@@ -27648,6 +27702,7 @@ module Aws::EC2
|
|
27648
27702
|
# resp.spot_instance_requests[0].launch_specification.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
|
27649
27703
|
# resp.spot_instance_requests[0].launch_specification.network_interfaces[0].secondary_private_ip_address_count #=> Integer
|
27650
27704
|
# resp.spot_instance_requests[0].launch_specification.network_interfaces[0].subnet_id #=> String
|
27705
|
+
# resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
|
27651
27706
|
# resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
|
27652
27707
|
# resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
|
27653
27708
|
# resp.spot_instance_requests[0].launch_specification.placement.tenancy #=> String, one of "default", "dedicated", "host"
|
@@ -28033,9 +28088,9 @@ module Aws::EC2
|
|
28033
28088
|
req.send_request(options)
|
28034
28089
|
end
|
28035
28090
|
|
28036
|
-
# \[
|
28037
|
-
#
|
28038
|
-
#
|
28091
|
+
# \[VPC only\] Removes the specified egress rules from a security group
|
28092
|
+
# for EC2-VPC. This action doesn't apply to security groups for use in
|
28093
|
+
# EC2-Classic. To remove a rule, the values that you specify (for
|
28039
28094
|
# example, ports) must match the existing rule's values exactly.
|
28040
28095
|
#
|
28041
28096
|
# Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or
|
@@ -28146,8 +28201,8 @@ module Aws::EC2
|
|
28146
28201
|
# rule, the values that you specify (for example, ports) must match the
|
28147
28202
|
# existing rule's values exactly.
|
28148
28203
|
#
|
28149
|
-
# <note markdown="1"> \[EC2-Classic
|
28150
|
-
#
|
28204
|
+
# <note markdown="1"> \[EC2-Classic only\] If the values you specify do not match the
|
28205
|
+
# existing rule's values, no error is returned. Use
|
28151
28206
|
# DescribeSecurityGroups to verify that the rule has been removed.
|
28152
28207
|
#
|
28153
28208
|
# </note>
|
@@ -28356,9 +28411,8 @@ module Aws::EC2
|
|
28356
28411
|
# status.
|
28357
28412
|
#
|
28358
28413
|
# @option params [String] :image_id
|
28359
|
-
# The ID of the AMI
|
28360
|
-
#
|
28361
|
-
# launch template.
|
28414
|
+
# The ID of the AMI. An AMI is required to launch an instance and must
|
28415
|
+
# be specified here or in a launch template.
|
28362
28416
|
#
|
28363
28417
|
# @option params [String] :instance_type
|
28364
28418
|
# The instance type. For more information, see [Instance Types][1] in
|
@@ -28371,7 +28425,7 @@ module Aws::EC2
|
|
28371
28425
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
28372
28426
|
#
|
28373
28427
|
# @option params [Integer] :ipv_6_address_count
|
28374
|
-
# \[EC2-VPC\]
|
28428
|
+
# \[EC2-VPC\] The number of IPv6 addresses to associate with the primary
|
28375
28429
|
# network interface. Amazon EC2 chooses the IPv6 addresses from the
|
28376
28430
|
# range of your subnet. You cannot specify this option and the option to
|
28377
28431
|
# assign specific IPv6 addresses in the same request. You can specify
|
@@ -28440,13 +28494,16 @@ module Aws::EC2
|
|
28440
28494
|
# [1]: http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2
|
28441
28495
|
#
|
28442
28496
|
# @option params [Types::RunInstancesMonitoringEnabled] :monitoring
|
28443
|
-
#
|
28497
|
+
# Specifies whether detailed monitoring is enabled for the instance.
|
28444
28498
|
#
|
28445
28499
|
# @option params [Types::Placement] :placement
|
28446
28500
|
# The placement for the instance.
|
28447
28501
|
#
|
28448
28502
|
# @option params [String] :ramdisk_id
|
28449
|
-
# The ID of the RAM disk.
|
28503
|
+
# The ID of the RAM disk to select. Some kernels require additional
|
28504
|
+
# drivers at launch. Check the kernel requirements for information about
|
28505
|
+
# whether you need to specify a RAM disk. To find kernel requirements,
|
28506
|
+
# go to the AWS Resource Center and search for the kernel ID.
|
28450
28507
|
#
|
28451
28508
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
28452
28509
|
# For more information, see [ PV-GRUB][1] in the *Amazon Elastic Compute
|
@@ -28485,7 +28542,8 @@ module Aws::EC2
|
|
28485
28542
|
# see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
|
28486
28543
|
# [Adding User Data][2] (Windows). If you are using a command line tool,
|
28487
28544
|
# base64-encoding is performed for you, and you can load the text from a
|
28488
|
-
# file. Otherwise, you must provide base64-encoded text.
|
28545
|
+
# file. Otherwise, you must provide base64-encoded text. User data is
|
28546
|
+
# limited to 16 KB.
|
28489
28547
|
#
|
28490
28548
|
#
|
28491
28549
|
#
|
@@ -28543,10 +28601,7 @@ module Aws::EC2
|
|
28543
28601
|
# Default: `stop`
|
28544
28602
|
#
|
28545
28603
|
# @option params [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
28546
|
-
# The network interfaces.
|
28547
|
-
#
|
28548
|
-
# You cannot specify this option and the network interfaces option in
|
28549
|
-
# the same request.
|
28604
|
+
# The network interfaces to associate with the instance.
|
28550
28605
|
#
|
28551
28606
|
# @option params [String] :private_ip_address
|
28552
28607
|
# \[EC2-VPC\] The primary IPv4 address. You must specify a value from
|
@@ -28562,10 +28617,21 @@ module Aws::EC2
|
|
28562
28617
|
# the same request.
|
28563
28618
|
#
|
28564
28619
|
# @option params [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
28565
|
-
# An elastic GPU to associate with the instance.
|
28620
|
+
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
28621
|
+
# resource that you can attach to your Windows instance to accelerate
|
28622
|
+
# the graphics performance of your applications. For more information,
|
28623
|
+
# see [ Amazon EC2 Elastic GPUs][1] in the *Amazon Elastic Compute Cloud
|
28624
|
+
# User Guide*.
|
28625
|
+
#
|
28626
|
+
#
|
28627
|
+
#
|
28628
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
|
28566
28629
|
#
|
28567
28630
|
# @option params [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
|
28568
|
-
# An elastic inference accelerator.
|
28631
|
+
# An elastic inference accelerator to associate with the instance.
|
28632
|
+
# Elastic inference accelerators are a resource you can attach to your
|
28633
|
+
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
28634
|
+
# workloads.
|
28569
28635
|
#
|
28570
28636
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
28571
28637
|
# The tags to apply to the resources during launch. You can only tag
|
@@ -28587,9 +28653,9 @@ module Aws::EC2
|
|
28587
28653
|
# `stop`.
|
28588
28654
|
#
|
28589
28655
|
# @option params [Types::CreditSpecificationRequest] :credit_specification
|
28590
|
-
# The credit option for CPU usage of the instance. Valid values
|
28591
|
-
# `standard` and `unlimited`. To change this attribute after launch,
|
28592
|
-
# ModifyInstanceCreditSpecification. For more information, see
|
28656
|
+
# The credit option for CPU usage of the T2 or T3 instance. Valid values
|
28657
|
+
# are `standard` and `unlimited`. To change this attribute after launch,
|
28658
|
+
# use ModifyInstanceCreditSpecification. For more information, see
|
28593
28659
|
# [Burstable Performance Instances][1] in the *Amazon Elastic Compute
|
28594
28660
|
# Cloud User Guide*.
|
28595
28661
|
#
|
@@ -28757,6 +28823,7 @@ module Aws::EC2
|
|
28757
28823
|
# ],
|
28758
28824
|
# secondary_private_ip_address_count: 1,
|
28759
28825
|
# subnet_id: "String",
|
28826
|
+
# interface_type: "String",
|
28760
28827
|
# },
|
28761
28828
|
# ],
|
28762
28829
|
# private_ip_address: "String",
|
@@ -28909,6 +28976,7 @@ module Aws::EC2
|
|
28909
28976
|
# resp.instances[0].network_interfaces[0].status #=> String, one of "available", "associated", "attaching", "in-use", "detaching"
|
28910
28977
|
# resp.instances[0].network_interfaces[0].subnet_id #=> String
|
28911
28978
|
# resp.instances[0].network_interfaces[0].vpc_id #=> String
|
28979
|
+
# resp.instances[0].network_interfaces[0].interface_type #=> String
|
28912
28980
|
# resp.instances[0].root_device_name #=> String
|
28913
28981
|
# resp.instances[0].root_device_type #=> String, one of "ebs", "instance-store"
|
28914
28982
|
# resp.instances[0].security_groups #=> Array
|
@@ -29752,8 +29820,8 @@ module Aws::EC2
|
|
29752
29820
|
req.send_request(options)
|
29753
29821
|
end
|
29754
29822
|
|
29755
|
-
# \[
|
29756
|
-
#
|
29823
|
+
# \[VPC only\] Updates the description of an egress (outbound) security
|
29824
|
+
# group rule. You can replace an existing description, or add a
|
29757
29825
|
# description to a rule that did not have one previously.
|
29758
29826
|
#
|
29759
29827
|
# You specify the description as part of the IP permissions structure.
|
@@ -30038,7 +30106,7 @@ module Aws::EC2
|
|
30038
30106
|
params: params,
|
30039
30107
|
config: config)
|
30040
30108
|
context[:gem_name] = 'aws-sdk-ec2'
|
30041
|
-
context[:gem_version] = '1.
|
30109
|
+
context[:gem_version] = '1.81.0'
|
30042
30110
|
Seahorse::Client::Request.new(handlers, context)
|
30043
30111
|
end
|
30044
30112
|
|