aws-sdk-ec2 1.196.0 → 1.201.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +153 -38
- data/lib/aws-sdk-ec2/client_api.rb +16 -2
- data/lib/aws-sdk-ec2/customizations.rb +2 -2
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +181 -43
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 866bbf35ec3bed2f5ea8ba3f8830ce8c0a0f31078c2d06d8a575eda98c222685
|
4
|
+
data.tar.gz: 1139e7c407c535d70c513fa70836972e17c89ef8756b40bdb273c5bc4b173b1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f902d868e8473441028b2b9d7f82956cd2e602a2afa00da6779f498a92bc042c8923040c51888a164de29d43aadf93142fa96ed158e53c008f15fa65e423ae66
|
7
|
+
data.tar.gz: 56cee0234ac79acbc69e04a013825476133303e6e31fdea82d4e53d7320ed2b8f5fca79a0098c574bc9569e75ac8e1611d30715b979d932975e48f1573c48cfe
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3984,14 +3984,16 @@ module Aws::EC2
|
|
3984
3984
|
# * To add a route for an on-premises network, enter the AWS
|
3985
3985
|
# Site-to-Site VPN connection's IPv4 CIDR range
|
3986
3986
|
#
|
3987
|
-
#
|
3988
|
-
# client allocation.
|
3987
|
+
# * To add a route for the local network, enter the client CIDR range
|
3989
3988
|
#
|
3990
3989
|
# @option params [required, String] :target_vpc_subnet_id
|
3991
3990
|
# The ID of the subnet through which you want to route traffic. The
|
3992
3991
|
# specified subnet must be an existing target network of the Client VPN
|
3993
3992
|
# endpoint.
|
3994
3993
|
#
|
3994
|
+
# Alternatively, if you're adding a route for the local network,
|
3995
|
+
# specify `local`.
|
3996
|
+
#
|
3995
3997
|
# @option params [String] :description
|
3996
3998
|
# A brief description of the route.
|
3997
3999
|
#
|
@@ -7678,7 +7680,13 @@ module Aws::EC2
|
|
7678
7680
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html
|
7679
7681
|
#
|
7680
7682
|
# @option params [required, String] :bucket
|
7681
|
-
# The Amazon S3 bucket in which to store the Spot Instance
|
7683
|
+
# The name of the Amazon S3 bucket in which to store the Spot Instance
|
7684
|
+
# data feed. For more information about bucket names, see [Rules for
|
7685
|
+
# bucket naming][1] in the *Amazon S3 Developer Guide*.
|
7686
|
+
#
|
7687
|
+
#
|
7688
|
+
#
|
7689
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules
|
7682
7690
|
#
|
7683
7691
|
# @option params [Boolean] :dry_run
|
7684
7692
|
# Checks whether you have the required permissions for the action,
|
@@ -7687,7 +7695,7 @@ module Aws::EC2
|
|
7687
7695
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7688
7696
|
#
|
7689
7697
|
# @option params [String] :prefix
|
7690
|
-
#
|
7698
|
+
# The prefix for the data feed file names.
|
7691
7699
|
#
|
7692
7700
|
# @return [Types::CreateSpotDatafeedSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7693
7701
|
#
|
@@ -17021,26 +17029,26 @@ module Aws::EC2
|
|
17021
17029
|
# baseline bandwidth performance for an EBS-optimized instance type,
|
17022
17030
|
# in Mbps.
|
17023
17031
|
#
|
17024
|
-
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
17025
|
-
# baseline throughput performance for an EBS-optimized instance type,
|
17026
|
-
# in MBps.
|
17027
|
-
#
|
17028
17032
|
# * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
|
17029
17033
|
# input/output storage operations per second for an EBS-optimized
|
17030
17034
|
# instance type.
|
17031
17035
|
#
|
17036
|
+
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
17037
|
+
# baseline throughput performance for an EBS-optimized instance type,
|
17038
|
+
# in MBps.
|
17039
|
+
#
|
17032
17040
|
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
17033
17041
|
# maximum bandwidth performance for an EBS-optimized instance type, in
|
17034
17042
|
# Mbps.
|
17035
17043
|
#
|
17036
|
-
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
17037
|
-
# maximum throughput performance for an EBS-optimized instance type,
|
17038
|
-
# in MBps.
|
17039
|
-
#
|
17040
17044
|
# * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
|
17041
17045
|
# input/output storage operations per second for an EBS-optimized
|
17042
17046
|
# instance type.
|
17043
17047
|
#
|
17048
|
+
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
17049
|
+
# maximum throughput performance for an EBS-optimized instance type,
|
17050
|
+
# in MBps.
|
17051
|
+
#
|
17044
17052
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
17045
17053
|
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
17046
17054
|
#
|
@@ -17048,8 +17056,8 @@ module Aws::EC2
|
|
17048
17056
|
# supported. (`supported` \| `unsupported`)
|
17049
17057
|
#
|
17050
17058
|
# * `ebs-info.nvme-support` - Indicates whether non-volatile memory
|
17051
|
-
# express (NVMe) is supported
|
17052
|
-
# \| `unsupported`)
|
17059
|
+
# express (NVMe) is supported for EBS volumes. (`required` \|
|
17060
|
+
# `supported` \| `unsupported`)
|
17053
17061
|
#
|
17054
17062
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
17055
17063
|
# eligible to use in the free tier. (`true` \| `false`)
|
@@ -17057,7 +17065,7 @@ module Aws::EC2
|
|
17057
17065
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation is
|
17058
17066
|
# supported. (`true` \| `false`)
|
17059
17067
|
#
|
17060
|
-
# * `hypervisor` - The hypervisor
|
17068
|
+
# * `hypervisor` - The hypervisor. (`nitro` \| `xen`)
|
17061
17069
|
#
|
17062
17070
|
# * `instance-storage-info.disk.count` - The number of local disks.
|
17063
17071
|
#
|
@@ -17067,21 +17075,28 @@ module Aws::EC2
|
|
17067
17075
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
17068
17076
|
# local instance storage disks. (`hdd` \| `ssd`)
|
17069
17077
|
#
|
17078
|
+
# * `instance-storage-info.nvme-support` - Indicates whether
|
17079
|
+
# non-volatile memory express (NVMe) is supported for instance store.
|
17080
|
+
# (`required` \| `supported`) \| `unsupported`)
|
17081
|
+
#
|
17070
17082
|
# * `instance-storage-info.total-size-in-gb` - The total amount of
|
17071
17083
|
# storage available from all local instance storage, in GB.
|
17072
17084
|
#
|
17073
17085
|
# * `instance-storage-supported` - Indicates whether the instance type
|
17074
17086
|
# has local instance storage. (`true` \| `false`)
|
17075
17087
|
#
|
17088
|
+
# * `instance-type` - The instance type (for example `c5.2xlarge` or
|
17089
|
+
# c5*).
|
17090
|
+
#
|
17076
17091
|
# * `memory-info.size-in-mib` - The memory size.
|
17077
17092
|
#
|
17093
|
+
# * `network-info.efa-supported` - Indicates whether the instance type
|
17094
|
+
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
17095
|
+
#
|
17078
17096
|
# * `network-info.ena-support` - Indicates whether Elastic Network
|
17079
17097
|
# Adapter (ENA) is supported or required. (`required` \| `supported`
|
17080
17098
|
# \| `unsupported`)
|
17081
17099
|
#
|
17082
|
-
# * `network-info.efa-supported` - Indicates whether the instance type
|
17083
|
-
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
17084
|
-
#
|
17085
17100
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number of
|
17086
17101
|
# private IPv4 addresses per network interface.
|
17087
17102
|
#
|
@@ -17094,12 +17109,23 @@ module Aws::EC2
|
|
17094
17109
|
# * `network-info.maximum-network-interfaces` - The maximum number of
|
17095
17110
|
# network interfaces per instance.
|
17096
17111
|
#
|
17097
|
-
# * `network-info.network-performance` -
|
17098
|
-
#
|
17112
|
+
# * `network-info.network-performance` - The network performance (for
|
17113
|
+
# example, "25 Gigabit").
|
17114
|
+
#
|
17115
|
+
# * `processor-info.supported-architecture` - The CPU architecture.
|
17116
|
+
# (`arm64` \| `i386` \| `x86_64`)
|
17099
17117
|
#
|
17100
17118
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
|
17101
17119
|
# in GHz.
|
17102
17120
|
#
|
17121
|
+
# * `supported-root-device-type` - The root device type. (`ebs` \|
|
17122
|
+
# `instance-store`)
|
17123
|
+
#
|
17124
|
+
# * `supported-usage-class` - The usage class. (`on-demand` \| `spot`)
|
17125
|
+
#
|
17126
|
+
# * `supported-virtualization-type` - The virtualization type. (`hvm` \|
|
17127
|
+
# `paravirtual`)
|
17128
|
+
#
|
17103
17129
|
# * `vcpu-info.default-cores` - The default number of cores for the
|
17104
17130
|
# instance type.
|
17105
17131
|
#
|
@@ -17109,6 +17135,13 @@ module Aws::EC2
|
|
17109
17135
|
# * `vcpu-info.default-vcpus` - The default number of vCPUs for the
|
17110
17136
|
# instance type.
|
17111
17137
|
#
|
17138
|
+
# * `vcpu-info.valid-cores` - The number of cores that can be configured
|
17139
|
+
# for the instance type.
|
17140
|
+
#
|
17141
|
+
# * `vcpu-info.valid-threads-per-core` - The number of threads per core
|
17142
|
+
# that can be configured for the instance type. For example, "1" or
|
17143
|
+
# "1,2".
|
17144
|
+
#
|
17112
17145
|
# @option params [Integer] :max_results
|
17113
17146
|
# The maximum number of results to return for the request in a single
|
17114
17147
|
# page. The remaining results can be seen by sending another request
|
@@ -17170,6 +17203,7 @@ module Aws::EC2
|
|
17170
17203
|
# resp.instance_types[0].instance_storage_info.disks[0].size_in_gb #=> Integer
|
17171
17204
|
# resp.instance_types[0].instance_storage_info.disks[0].count #=> Integer
|
17172
17205
|
# resp.instance_types[0].instance_storage_info.disks[0].type #=> String, one of "hdd", "ssd"
|
17206
|
+
# resp.instance_types[0].instance_storage_info.nvme_support #=> String, one of "unsupported", "supported", "required"
|
17173
17207
|
# resp.instance_types[0].ebs_info.ebs_optimized_support #=> String, one of "unsupported", "supported", "default"
|
17174
17208
|
# resp.instance_types[0].ebs_info.encryption_support #=> String, one of "unsupported", "supported"
|
17175
17209
|
# resp.instance_types[0].ebs_info.ebs_optimized_info.baseline_bandwidth_in_mbps #=> Integer
|
@@ -18745,6 +18779,7 @@ module Aws::EC2
|
|
18745
18779
|
# resp.local_gateway_virtual_interface_groups[0].local_gateway_virtual_interface_ids #=> Array
|
18746
18780
|
# resp.local_gateway_virtual_interface_groups[0].local_gateway_virtual_interface_ids[0] #=> String
|
18747
18781
|
# resp.local_gateway_virtual_interface_groups[0].local_gateway_id #=> String
|
18782
|
+
# resp.local_gateway_virtual_interface_groups[0].owner_id #=> String
|
18748
18783
|
# resp.local_gateway_virtual_interface_groups[0].tags #=> Array
|
18749
18784
|
# resp.local_gateway_virtual_interface_groups[0].tags[0].key #=> String
|
18750
18785
|
# resp.local_gateway_virtual_interface_groups[0].tags[0].value #=> String
|
@@ -18813,6 +18848,7 @@ module Aws::EC2
|
|
18813
18848
|
# resp.local_gateway_virtual_interfaces[0].peer_address #=> String
|
18814
18849
|
# resp.local_gateway_virtual_interfaces[0].local_bgp_asn #=> Integer
|
18815
18850
|
# resp.local_gateway_virtual_interfaces[0].peer_bgp_asn #=> Integer
|
18851
|
+
# resp.local_gateway_virtual_interfaces[0].owner_id #=> String
|
18816
18852
|
# resp.local_gateway_virtual_interfaces[0].tags #=> Array
|
18817
18853
|
# resp.local_gateway_virtual_interfaces[0].tags[0].key #=> String
|
18818
18854
|
# resp.local_gateway_virtual_interfaces[0].tags[0].value #=> String
|
@@ -22857,8 +22893,10 @@ module Aws::EC2
|
|
22857
22893
|
# * `instance-type` - The type of instance (for example, `m3.medium`).
|
22858
22894
|
#
|
22859
22895
|
# * `product-description` - The product description for the Spot price
|
22860
|
-
# (`Linux/UNIX` \| `
|
22861
|
-
#
|
22896
|
+
# (`Linux/UNIX` \| `Red Hat Enterprise Linux` \| `SUSE Linux` \|
|
22897
|
+
# `Windows` \| `Linux/UNIX (Amazon VPC)` \| `Red Hat Enterprise Linux
|
22898
|
+
# (Amazon VPC)` \| `SUSE Linux (Amazon VPC)` \| `Windows (Amazon
|
22899
|
+
# VPC)`).
|
22862
22900
|
#
|
22863
22901
|
# * `spot-price` - The Spot price. The value must match exactly (or use
|
22864
22902
|
# wildcards; greater than or less than comparison is not supported).
|
@@ -33178,8 +33216,7 @@ module Aws::EC2
|
|
33178
33216
|
req.send_request(options)
|
33179
33217
|
end
|
33180
33218
|
|
33181
|
-
# Modifies the connection options for your Site-to-Site VPN
|
33182
|
-
# connection.
|
33219
|
+
# Modifies the connection options for your Site-to-Site VPN connection.
|
33183
33220
|
#
|
33184
33221
|
# When you modify the VPN connection options, the VPN endpoint IP
|
33185
33222
|
# addresses on the AWS side do not change, and the tunnel options do not
|
@@ -33187,7 +33224,7 @@ module Aws::EC2
|
|
33187
33224
|
# brief period while the VPN connection is updated.
|
33188
33225
|
#
|
33189
33226
|
# @option params [required, String] :vpn_connection_id
|
33190
|
-
# The ID of the Site-to-Site VPN
|
33227
|
+
# The ID of the Site-to-Site VPN connection.
|
33191
33228
|
#
|
33192
33229
|
# @option params [String] :local_ipv_4_network_cidr
|
33193
33230
|
# The IPv4 CIDR on the customer gateway (on-premises) side of the VPN
|
@@ -34046,7 +34083,7 @@ module Aws::EC2
|
|
34046
34083
|
# instances. The operation succeeds if the instances are valid and
|
34047
34084
|
# belong to you. Requests to reboot terminated instances are ignored.
|
34048
34085
|
#
|
34049
|
-
# If an instance does not cleanly shut down within
|
34086
|
+
# If an instance does not cleanly shut down within a few minutes, Amazon
|
34050
34087
|
# EC2 performs a hard reboot.
|
34051
34088
|
#
|
34052
34089
|
# For more information about troubleshooting, see [Getting console
|
@@ -35703,6 +35740,10 @@ module Aws::EC2
|
|
35703
35740
|
# You can't specify an Availability Zone group or a launch group if you
|
35704
35741
|
# specify a duration.
|
35705
35742
|
#
|
35743
|
+
# New accounts or accounts with no previous billing history with AWS are
|
35744
|
+
# not eligible for Spot Instances with a defined duration (also known as
|
35745
|
+
# Spot blocks).
|
35746
|
+
#
|
35706
35747
|
# @option params [String] :client_token
|
35707
35748
|
# Unique, case-sensitive identifier that you provide to ensure the
|
35708
35749
|
# idempotency of the request. For more information, see [How to Ensure
|
@@ -35753,11 +35794,17 @@ module Aws::EC2
|
|
35753
35794
|
# current date and time.
|
35754
35795
|
#
|
35755
35796
|
# @option params [Time,DateTime,Date,Integer,String] :valid_until
|
35756
|
-
# The end date of the request
|
35757
|
-
#
|
35758
|
-
#
|
35759
|
-
#
|
35760
|
-
#
|
35797
|
+
# The end date of the request, in UTC format
|
35798
|
+
# (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
35799
|
+
#
|
35800
|
+
# * For a persistent request, the request remains active until the
|
35801
|
+
# `ValidUntil` date and time is reached. Otherwise, the request
|
35802
|
+
# remains active until you cancel it.
|
35803
|
+
#
|
35804
|
+
# * For a one-time request, the request remains active until all
|
35805
|
+
# instances launch, the request is canceled, or the `ValidUntil` date
|
35806
|
+
# and time is reached. By default, the request is valid for 7 days
|
35807
|
+
# from the date the request was created.
|
35761
35808
|
#
|
35762
35809
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
35763
35810
|
# The key-value pair for tagging the Spot Instance request on creation.
|
@@ -36458,10 +36505,19 @@ module Aws::EC2
|
|
36458
36505
|
end
|
36459
36506
|
|
36460
36507
|
# \[VPC only\] Removes the specified egress rules from a security group
|
36461
|
-
# for EC2-VPC. This action
|
36508
|
+
# for EC2-VPC. This action does not apply to security groups for use in
|
36462
36509
|
# EC2-Classic. To remove a rule, the values that you specify (for
|
36463
36510
|
# example, ports) must match the existing rule's values exactly.
|
36464
36511
|
#
|
36512
|
+
# <note markdown="1"> \[Default VPC\] If the values you specify do not match the existing
|
36513
|
+
# rule's values, no error is returned, and the output describes the
|
36514
|
+
# security group rules that were not revoked.
|
36515
|
+
#
|
36516
|
+
# AWS recommends that you use DescribeSecurityGroups to verify that the
|
36517
|
+
# rule has been removed.
|
36518
|
+
#
|
36519
|
+
# </note>
|
36520
|
+
#
|
36465
36521
|
# Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or
|
36466
36522
|
# source security group. For the TCP and UDP protocols, you must also
|
36467
36523
|
# specify the destination port or range of ports. For the ICMP protocol,
|
@@ -36506,7 +36562,10 @@ module Aws::EC2
|
|
36506
36562
|
# Not supported. Use a set of IP permissions to specify a destination
|
36507
36563
|
# security group.
|
36508
36564
|
#
|
36509
|
-
# @return [
|
36565
|
+
# @return [Types::RevokeSecurityGroupEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
36566
|
+
#
|
36567
|
+
# * {Types::RevokeSecurityGroupEgressResult#return #return} => Boolean
|
36568
|
+
# * {Types::RevokeSecurityGroupEgressResult#unknown_ip_permissions #unknown_ip_permissions} => Array<Types::IpPermission>
|
36510
36569
|
#
|
36511
36570
|
# @example Request syntax with placeholder values
|
36512
36571
|
#
|
@@ -36557,6 +36616,31 @@ module Aws::EC2
|
|
36557
36616
|
# source_security_group_owner_id: "String",
|
36558
36617
|
# })
|
36559
36618
|
#
|
36619
|
+
# @example Response structure
|
36620
|
+
#
|
36621
|
+
# resp.return #=> Boolean
|
36622
|
+
# resp.unknown_ip_permissions #=> Array
|
36623
|
+
# resp.unknown_ip_permissions[0].from_port #=> Integer
|
36624
|
+
# resp.unknown_ip_permissions[0].ip_protocol #=> String
|
36625
|
+
# resp.unknown_ip_permissions[0].ip_ranges #=> Array
|
36626
|
+
# resp.unknown_ip_permissions[0].ip_ranges[0].cidr_ip #=> String
|
36627
|
+
# resp.unknown_ip_permissions[0].ip_ranges[0].description #=> String
|
36628
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges #=> Array
|
36629
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges[0].cidr_ipv_6 #=> String
|
36630
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges[0].description #=> String
|
36631
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
|
36632
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
|
36633
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids[0].prefix_list_id #=> String
|
36634
|
+
# resp.unknown_ip_permissions[0].to_port #=> Integer
|
36635
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs #=> Array
|
36636
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].description #=> String
|
36637
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_id #=> String
|
36638
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_name #=> String
|
36639
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].peering_status #=> String
|
36640
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].user_id #=> String
|
36641
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_id #=> String
|
36642
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_peering_connection_id #=> String
|
36643
|
+
#
|
36560
36644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress AWS API Documentation
|
36561
36645
|
#
|
36562
36646
|
# @overload revoke_security_group_egress(params = {})
|
@@ -36570,9 +36654,12 @@ module Aws::EC2
|
|
36570
36654
|
# rule, the values that you specify (for example, ports) must match the
|
36571
36655
|
# existing rule's values exactly.
|
36572
36656
|
#
|
36573
|
-
# <note markdown="1"> \[EC2-Classic
|
36574
|
-
# existing rule's values, no error is returned
|
36575
|
-
#
|
36657
|
+
# <note markdown="1"> \[EC2-Classic , default VPC\] If the values you specify do not match
|
36658
|
+
# the existing rule's values, no error is returned, and the output
|
36659
|
+
# describes the security group rules that were not revoked.
|
36660
|
+
#
|
36661
|
+
# AWS recommends that you use DescribeSecurityGroups to verify that the
|
36662
|
+
# rule has been removed.
|
36576
36663
|
#
|
36577
36664
|
# </note>
|
36578
36665
|
#
|
@@ -36644,7 +36731,10 @@ module Aws::EC2
|
|
36644
36731
|
# If you have the required permissions, the error response is
|
36645
36732
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
36646
36733
|
#
|
36647
|
-
# @return [
|
36734
|
+
# @return [Types::RevokeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
36735
|
+
#
|
36736
|
+
# * {Types::RevokeSecurityGroupIngressResult#return #return} => Boolean
|
36737
|
+
# * {Types::RevokeSecurityGroupIngressResult#unknown_ip_permissions #unknown_ip_permissions} => Array<Types::IpPermission>
|
36648
36738
|
#
|
36649
36739
|
# @example Request syntax with placeholder values
|
36650
36740
|
#
|
@@ -36696,6 +36786,31 @@ module Aws::EC2
|
|
36696
36786
|
# dry_run: false,
|
36697
36787
|
# })
|
36698
36788
|
#
|
36789
|
+
# @example Response structure
|
36790
|
+
#
|
36791
|
+
# resp.return #=> Boolean
|
36792
|
+
# resp.unknown_ip_permissions #=> Array
|
36793
|
+
# resp.unknown_ip_permissions[0].from_port #=> Integer
|
36794
|
+
# resp.unknown_ip_permissions[0].ip_protocol #=> String
|
36795
|
+
# resp.unknown_ip_permissions[0].ip_ranges #=> Array
|
36796
|
+
# resp.unknown_ip_permissions[0].ip_ranges[0].cidr_ip #=> String
|
36797
|
+
# resp.unknown_ip_permissions[0].ip_ranges[0].description #=> String
|
36798
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges #=> Array
|
36799
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges[0].cidr_ipv_6 #=> String
|
36800
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges[0].description #=> String
|
36801
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
|
36802
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
|
36803
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids[0].prefix_list_id #=> String
|
36804
|
+
# resp.unknown_ip_permissions[0].to_port #=> Integer
|
36805
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs #=> Array
|
36806
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].description #=> String
|
36807
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_id #=> String
|
36808
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_name #=> String
|
36809
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].peering_status #=> String
|
36810
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].user_id #=> String
|
36811
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_id #=> String
|
36812
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_peering_connection_id #=> String
|
36813
|
+
#
|
36699
36814
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress AWS API Documentation
|
36700
36815
|
#
|
36701
36816
|
# @overload revoke_security_group_ingress(params = {})
|
@@ -38786,7 +38901,7 @@ module Aws::EC2
|
|
38786
38901
|
params: params,
|
38787
38902
|
config: config)
|
38788
38903
|
context[:gem_name] = 'aws-sdk-ec2'
|
38789
|
-
context[:gem_version] = '1.
|
38904
|
+
context[:gem_version] = '1.201.0'
|
38790
38905
|
Seahorse::Client::Request.new(handlers, context)
|
38791
38906
|
end
|
38792
38907
|
|
@@ -880,6 +880,7 @@ module Aws::EC2
|
|
880
880
|
EnableVpcClassicLinkResult = Shapes::StructureShape.new(name: 'EnableVpcClassicLinkResult')
|
881
881
|
EndDateType = Shapes::StringShape.new(name: 'EndDateType')
|
882
882
|
EndpointSet = Shapes::ListShape.new(name: 'EndpointSet')
|
883
|
+
EphemeralNvmeSupport = Shapes::StringShape.new(name: 'EphemeralNvmeSupport')
|
883
884
|
ErrorSet = Shapes::ListShape.new(name: 'ErrorSet')
|
884
885
|
EventCode = Shapes::StringShape.new(name: 'EventCode')
|
885
886
|
EventInformation = Shapes::StructureShape.new(name: 'EventInformation')
|
@@ -1695,7 +1696,9 @@ module Aws::EC2
|
|
1695
1696
|
RevokeClientVpnIngressRequest = Shapes::StructureShape.new(name: 'RevokeClientVpnIngressRequest')
|
1696
1697
|
RevokeClientVpnIngressResult = Shapes::StructureShape.new(name: 'RevokeClientVpnIngressResult')
|
1697
1698
|
RevokeSecurityGroupEgressRequest = Shapes::StructureShape.new(name: 'RevokeSecurityGroupEgressRequest')
|
1699
|
+
RevokeSecurityGroupEgressResult = Shapes::StructureShape.new(name: 'RevokeSecurityGroupEgressResult')
|
1698
1700
|
RevokeSecurityGroupIngressRequest = Shapes::StructureShape.new(name: 'RevokeSecurityGroupIngressRequest')
|
1701
|
+
RevokeSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'RevokeSecurityGroupIngressResult')
|
1699
1702
|
RootDeviceType = Shapes::StringShape.new(name: 'RootDeviceType')
|
1700
1703
|
RootDeviceTypeList = Shapes::ListShape.new(name: 'RootDeviceTypeList')
|
1701
1704
|
Route = Shapes::StructureShape.new(name: 'Route')
|
@@ -6698,6 +6701,7 @@ module Aws::EC2
|
|
6698
6701
|
|
6699
6702
|
InstanceStorageInfo.add_member(:total_size_in_gb, Shapes::ShapeRef.new(shape: DiskSize, location_name: "totalSizeInGB"))
|
6700
6703
|
InstanceStorageInfo.add_member(:disks, Shapes::ShapeRef.new(shape: DiskInfoList, location_name: "disks"))
|
6704
|
+
InstanceStorageInfo.add_member(:nvme_support, Shapes::ShapeRef.new(shape: EphemeralNvmeSupport, location_name: "nvmeSupport"))
|
6701
6705
|
InstanceStorageInfo.struct_class = Types::InstanceStorageInfo
|
6702
6706
|
|
6703
6707
|
InstanceTagKeySet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
@@ -7209,12 +7213,14 @@ module Aws::EC2
|
|
7209
7213
|
LocalGatewayVirtualInterface.add_member(:peer_address, Shapes::ShapeRef.new(shape: String, location_name: "peerAddress"))
|
7210
7214
|
LocalGatewayVirtualInterface.add_member(:local_bgp_asn, Shapes::ShapeRef.new(shape: Integer, location_name: "localBgpAsn"))
|
7211
7215
|
LocalGatewayVirtualInterface.add_member(:peer_bgp_asn, Shapes::ShapeRef.new(shape: Integer, location_name: "peerBgpAsn"))
|
7216
|
+
LocalGatewayVirtualInterface.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
7212
7217
|
LocalGatewayVirtualInterface.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
7213
7218
|
LocalGatewayVirtualInterface.struct_class = Types::LocalGatewayVirtualInterface
|
7214
7219
|
|
7215
7220
|
LocalGatewayVirtualInterfaceGroup.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, location_name: "localGatewayVirtualInterfaceGroupId"))
|
7216
7221
|
LocalGatewayVirtualInterfaceGroup.add_member(:local_gateway_virtual_interface_ids, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceIdSet, location_name: "localGatewayVirtualInterfaceIdSet"))
|
7217
7222
|
LocalGatewayVirtualInterfaceGroup.add_member(:local_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "localGatewayId"))
|
7223
|
+
LocalGatewayVirtualInterfaceGroup.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
7218
7224
|
LocalGatewayVirtualInterfaceGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
7219
7225
|
LocalGatewayVirtualInterfaceGroup.struct_class = Types::LocalGatewayVirtualInterfaceGroup
|
7220
7226
|
|
@@ -8711,6 +8717,10 @@ module Aws::EC2
|
|
8711
8717
|
RevokeSecurityGroupEgressRequest.add_member(:source_security_group_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceSecurityGroupOwnerId"))
|
8712
8718
|
RevokeSecurityGroupEgressRequest.struct_class = Types::RevokeSecurityGroupEgressRequest
|
8713
8719
|
|
8720
|
+
RevokeSecurityGroupEgressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
8721
|
+
RevokeSecurityGroupEgressResult.add_member(:unknown_ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "unknownIpPermissionSet"))
|
8722
|
+
RevokeSecurityGroupEgressResult.struct_class = Types::RevokeSecurityGroupEgressResult
|
8723
|
+
|
8714
8724
|
RevokeSecurityGroupIngressRequest.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: String, location_name: "CidrIp"))
|
8715
8725
|
RevokeSecurityGroupIngressRequest.add_member(:from_port, Shapes::ShapeRef.new(shape: Integer, location_name: "FromPort"))
|
8716
8726
|
RevokeSecurityGroupIngressRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "GroupId"))
|
@@ -8723,6 +8733,10 @@ module Aws::EC2
|
|
8723
8733
|
RevokeSecurityGroupIngressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
8724
8734
|
RevokeSecurityGroupIngressRequest.struct_class = Types::RevokeSecurityGroupIngressRequest
|
8725
8735
|
|
8736
|
+
RevokeSecurityGroupIngressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
8737
|
+
RevokeSecurityGroupIngressResult.add_member(:unknown_ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "unknownIpPermissionSet"))
|
8738
|
+
RevokeSecurityGroupIngressResult.struct_class = Types::RevokeSecurityGroupIngressResult
|
8739
|
+
|
8726
8740
|
RootDeviceTypeList.member = Shapes::ShapeRef.new(shape: RootDeviceType, location_name: "item")
|
8727
8741
|
|
8728
8742
|
Route.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationCidrBlock"))
|
@@ -13981,7 +13995,7 @@ module Aws::EC2
|
|
13981
13995
|
o.http_method = "POST"
|
13982
13996
|
o.http_request_uri = "/"
|
13983
13997
|
o.input = Shapes::ShapeRef.new(shape: RevokeSecurityGroupEgressRequest)
|
13984
|
-
o.output = Shapes::ShapeRef.new(shape:
|
13998
|
+
o.output = Shapes::ShapeRef.new(shape: RevokeSecurityGroupEgressResult)
|
13985
13999
|
end)
|
13986
14000
|
|
13987
14001
|
api.add_operation(:revoke_security_group_ingress, Seahorse::Model::Operation.new.tap do |o|
|
@@ -13989,7 +14003,7 @@ module Aws::EC2
|
|
13989
14003
|
o.http_method = "POST"
|
13990
14004
|
o.http_request_uri = "/"
|
13991
14005
|
o.input = Shapes::ShapeRef.new(shape: RevokeSecurityGroupIngressRequest)
|
13992
|
-
o.output = Shapes::ShapeRef.new(shape:
|
14006
|
+
o.output = Shapes::ShapeRef.new(shape: RevokeSecurityGroupIngressResult)
|
13993
14007
|
end)
|
13994
14008
|
|
13995
14009
|
api.add_operation(:run_instances, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
require 'aws-sdk-ec2/customizations/resource'
|
5
5
|
require 'aws-sdk-ec2/customizations/instance'
|
6
6
|
|
7
|
-
Aws::EC2::Instance::Collection.
|
7
|
+
Aws::EC2::Instance::Collection.extend Aws::Deprecations
|
8
8
|
{
|
9
9
|
create_tags: :batch_create_tags,
|
10
10
|
monitor: :batch_create_tags,
|
@@ -19,5 +19,5 @@ Aws::EC2::Instance::Collection.send(:extend, Aws::Deprecations)
|
|
19
19
|
end
|
20
20
|
|
21
21
|
Aws::EC2::Tag::Collection.send(:alias_method, :delete, :batch_delete!)
|
22
|
-
Aws::EC2::Tag::Collection.
|
22
|
+
Aws::EC2::Tag::Collection.extend Aws::Deprecations
|
23
23
|
Aws::EC2::Tag::Collection.send(:deprecated, :delete, use: :batch_delete!)
|
@@ -580,7 +580,7 @@ module Aws::EC2
|
|
580
580
|
# @option options [String] :source_security_group_owner_id
|
581
581
|
# Not supported. Use a set of IP permissions to specify a destination
|
582
582
|
# security group.
|
583
|
-
# @return [
|
583
|
+
# @return [Types::RevokeSecurityGroupEgressResult]
|
584
584
|
def revoke_egress(options = {})
|
585
585
|
options = options.merge(group_id: @id)
|
586
586
|
resp = @client.revoke_security_group_egress(options)
|
@@ -680,7 +680,7 @@ module Aws::EC2
|
|
680
680
|
# without actually making the request, and provides an error response.
|
681
681
|
# If you have the required permissions, the error response is
|
682
682
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
683
|
-
# @return [
|
683
|
+
# @return [Types::RevokeSecurityGroupIngressResult]
|
684
684
|
def revoke_ingress(options = {})
|
685
685
|
options = options.merge(group_id: @id)
|
686
686
|
resp = @client.revoke_security_group_ingress(options)
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -5195,14 +5195,16 @@ module Aws::EC2
|
|
5195
5195
|
# * To add a route for an on-premises network, enter the AWS
|
5196
5196
|
# Site-to-Site VPN connection's IPv4 CIDR range
|
5197
5197
|
#
|
5198
|
-
#
|
5199
|
-
# for client allocation.
|
5198
|
+
# * To add a route for the local network, enter the client CIDR range
|
5200
5199
|
# @return [String]
|
5201
5200
|
#
|
5202
5201
|
# @!attribute [rw] target_vpc_subnet_id
|
5203
5202
|
# The ID of the subnet through which you want to route traffic. The
|
5204
5203
|
# specified subnet must be an existing target network of the Client
|
5205
5204
|
# VPN endpoint.
|
5205
|
+
#
|
5206
|
+
# Alternatively, if you're adding a route for the local network,
|
5207
|
+
# specify `local`.
|
5206
5208
|
# @return [String]
|
5207
5209
|
#
|
5208
5210
|
# @!attribute [rw] description
|
@@ -8052,7 +8054,13 @@ module Aws::EC2
|
|
8052
8054
|
# }
|
8053
8055
|
#
|
8054
8056
|
# @!attribute [rw] bucket
|
8055
|
-
# The Amazon S3 bucket in which to store the Spot Instance
|
8057
|
+
# The name of the Amazon S3 bucket in which to store the Spot Instance
|
8058
|
+
# data feed. For more information about bucket names, see [Rules for
|
8059
|
+
# bucket naming][1] in the *Amazon S3 Developer Guide*.
|
8060
|
+
#
|
8061
|
+
#
|
8062
|
+
#
|
8063
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules
|
8056
8064
|
# @return [String]
|
8057
8065
|
#
|
8058
8066
|
# @!attribute [rw] dry_run
|
@@ -8063,7 +8071,7 @@ module Aws::EC2
|
|
8063
8071
|
# @return [Boolean]
|
8064
8072
|
#
|
8065
8073
|
# @!attribute [rw] prefix
|
8066
|
-
#
|
8074
|
+
# The prefix for the data feed file names.
|
8067
8075
|
# @return [String]
|
8068
8076
|
#
|
8069
8077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscriptionRequest AWS API Documentation
|
@@ -16213,26 +16221,26 @@ module Aws::EC2
|
|
16213
16221
|
# baseline bandwidth performance for an EBS-optimized instance type,
|
16214
16222
|
# in Mbps.
|
16215
16223
|
#
|
16216
|
-
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
16217
|
-
# baseline throughput performance for an EBS-optimized instance
|
16218
|
-
# type, in MBps.
|
16219
|
-
#
|
16220
16224
|
# * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
|
16221
16225
|
# input/output storage operations per second for an EBS-optimized
|
16222
16226
|
# instance type.
|
16223
16227
|
#
|
16228
|
+
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
16229
|
+
# baseline throughput performance for an EBS-optimized instance
|
16230
|
+
# type, in MBps.
|
16231
|
+
#
|
16224
16232
|
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
16225
16233
|
# maximum bandwidth performance for an EBS-optimized instance type,
|
16226
16234
|
# in Mbps.
|
16227
16235
|
#
|
16228
|
-
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
16229
|
-
# maximum throughput performance for an EBS-optimized instance type,
|
16230
|
-
# in MBps.
|
16231
|
-
#
|
16232
16236
|
# * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
|
16233
16237
|
# input/output storage operations per second for an EBS-optimized
|
16234
16238
|
# instance type.
|
16235
16239
|
#
|
16240
|
+
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
16241
|
+
# maximum throughput performance for an EBS-optimized instance type,
|
16242
|
+
# in MBps.
|
16243
|
+
#
|
16236
16244
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
16237
16245
|
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
16238
16246
|
#
|
@@ -16240,7 +16248,7 @@ module Aws::EC2
|
|
16240
16248
|
# is supported. (`supported` \| `unsupported`)
|
16241
16249
|
#
|
16242
16250
|
# * `ebs-info.nvme-support` - Indicates whether non-volatile memory
|
16243
|
-
# express (NVMe) is supported
|
16251
|
+
# express (NVMe) is supported for EBS volumes. (`required` \|
|
16244
16252
|
# `supported` \| `unsupported`)
|
16245
16253
|
#
|
16246
16254
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
@@ -16249,7 +16257,7 @@ module Aws::EC2
|
|
16249
16257
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation
|
16250
16258
|
# is supported. (`true` \| `false`)
|
16251
16259
|
#
|
16252
|
-
# * `hypervisor` - The hypervisor
|
16260
|
+
# * `hypervisor` - The hypervisor. (`nitro` \| `xen`)
|
16253
16261
|
#
|
16254
16262
|
# * `instance-storage-info.disk.count` - The number of local disks.
|
16255
16263
|
#
|
@@ -16259,21 +16267,28 @@ module Aws::EC2
|
|
16259
16267
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
16260
16268
|
# local instance storage disks. (`hdd` \| `ssd`)
|
16261
16269
|
#
|
16270
|
+
# * `instance-storage-info.nvme-support` - Indicates whether
|
16271
|
+
# non-volatile memory express (NVMe) is supported for instance
|
16272
|
+
# store. (`required` \| `supported`) \| `unsupported`)
|
16273
|
+
#
|
16262
16274
|
# * `instance-storage-info.total-size-in-gb` - The total amount of
|
16263
16275
|
# storage available from all local instance storage, in GB.
|
16264
16276
|
#
|
16265
16277
|
# * `instance-storage-supported` - Indicates whether the instance type
|
16266
16278
|
# has local instance storage. (`true` \| `false`)
|
16267
16279
|
#
|
16280
|
+
# * `instance-type` - The instance type (for example `c5.2xlarge` or
|
16281
|
+
# c5*).
|
16282
|
+
#
|
16268
16283
|
# * `memory-info.size-in-mib` - The memory size.
|
16269
16284
|
#
|
16285
|
+
# * `network-info.efa-supported` - Indicates whether the instance type
|
16286
|
+
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
16287
|
+
#
|
16270
16288
|
# * `network-info.ena-support` - Indicates whether Elastic Network
|
16271
16289
|
# Adapter (ENA) is supported or required. (`required` \| `supported`
|
16272
16290
|
# \| `unsupported`)
|
16273
16291
|
#
|
16274
|
-
# * `network-info.efa-supported` - Indicates whether the instance type
|
16275
|
-
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
16276
|
-
#
|
16277
16292
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number
|
16278
16293
|
# of private IPv4 addresses per network interface.
|
16279
16294
|
#
|
@@ -16286,12 +16301,23 @@ module Aws::EC2
|
|
16286
16301
|
# * `network-info.maximum-network-interfaces` - The maximum number of
|
16287
16302
|
# network interfaces per instance.
|
16288
16303
|
#
|
16289
|
-
# * `network-info.network-performance` -
|
16290
|
-
#
|
16304
|
+
# * `network-info.network-performance` - The network performance (for
|
16305
|
+
# example, "25 Gigabit").
|
16306
|
+
#
|
16307
|
+
# * `processor-info.supported-architecture` - The CPU architecture.
|
16308
|
+
# (`arm64` \| `i386` \| `x86_64`)
|
16291
16309
|
#
|
16292
16310
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock
|
16293
16311
|
# speed, in GHz.
|
16294
16312
|
#
|
16313
|
+
# * `supported-root-device-type` - The root device type. (`ebs` \|
|
16314
|
+
# `instance-store`)
|
16315
|
+
#
|
16316
|
+
# * `supported-usage-class` - The usage class. (`on-demand` \| `spot`)
|
16317
|
+
#
|
16318
|
+
# * `supported-virtualization-type` - The virtualization type. (`hvm`
|
16319
|
+
# \| `paravirtual`)
|
16320
|
+
#
|
16295
16321
|
# * `vcpu-info.default-cores` - The default number of cores for the
|
16296
16322
|
# instance type.
|
16297
16323
|
#
|
@@ -16300,6 +16326,13 @@ module Aws::EC2
|
|
16300
16326
|
#
|
16301
16327
|
# * `vcpu-info.default-vcpus` - The default number of vCPUs for the
|
16302
16328
|
# instance type.
|
16329
|
+
#
|
16330
|
+
# * `vcpu-info.valid-cores` - The number of cores that can be
|
16331
|
+
# configured for the instance type.
|
16332
|
+
#
|
16333
|
+
# * `vcpu-info.valid-threads-per-core` - The number of threads per
|
16334
|
+
# core that can be configured for the instance type. For example,
|
16335
|
+
# "1" or "1,2".
|
16303
16336
|
# @return [Array<Types::Filter>]
|
16304
16337
|
#
|
16305
16338
|
# @!attribute [rw] max_results
|
@@ -20472,8 +20505,10 @@ module Aws::EC2
|
|
20472
20505
|
# * `instance-type` - The type of instance (for example, `m3.medium`).
|
20473
20506
|
#
|
20474
20507
|
# * `product-description` - The product description for the Spot price
|
20475
|
-
# (`Linux/UNIX` \| `
|
20476
|
-
#
|
20508
|
+
# (`Linux/UNIX` \| `Red Hat Enterprise Linux` \| `SUSE Linux` \|
|
20509
|
+
# `Windows` \| `Linux/UNIX (Amazon VPC)` \| `Red Hat Enterprise
|
20510
|
+
# Linux (Amazon VPC)` \| `SUSE Linux (Amazon VPC)` \| `Windows
|
20511
|
+
# (Amazon VPC)`).
|
20477
20512
|
#
|
20478
20513
|
# * `spot-price` - The Spot price. The value must match exactly (or
|
20479
20514
|
# use wildcards; greater than or less than comparison is not
|
@@ -31571,11 +31606,17 @@ module Aws::EC2
|
|
31571
31606
|
# Array describing the disks that are available for the instance type.
|
31572
31607
|
# @return [Array<Types::DiskInfo>]
|
31573
31608
|
#
|
31609
|
+
# @!attribute [rw] nvme_support
|
31610
|
+
# Indicates whether non-volatile memory express (NVMe) is supported
|
31611
|
+
# for instance store.
|
31612
|
+
# @return [String]
|
31613
|
+
#
|
31574
31614
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStorageInfo AWS API Documentation
|
31575
31615
|
#
|
31576
31616
|
class InstanceStorageInfo < Struct.new(
|
31577
31617
|
:total_size_in_gb,
|
31578
|
-
:disks
|
31618
|
+
:disks,
|
31619
|
+
:nvme_support)
|
31579
31620
|
SENSITIVE = []
|
31580
31621
|
include Aws::Structure
|
31581
31622
|
end
|
@@ -34208,6 +34249,10 @@ module Aws::EC2
|
|
34208
34249
|
# The peer BGP ASN.
|
34209
34250
|
# @return [Integer]
|
34210
34251
|
#
|
34252
|
+
# @!attribute [rw] owner_id
|
34253
|
+
# The AWS account ID that owns the local gateway virtual interface.
|
34254
|
+
# @return [String]
|
34255
|
+
#
|
34211
34256
|
# @!attribute [rw] tags
|
34212
34257
|
# The tags assigned to the virtual interface.
|
34213
34258
|
# @return [Array<Types::Tag>]
|
@@ -34222,6 +34267,7 @@ module Aws::EC2
|
|
34222
34267
|
:peer_address,
|
34223
34268
|
:local_bgp_asn,
|
34224
34269
|
:peer_bgp_asn,
|
34270
|
+
:owner_id,
|
34225
34271
|
:tags)
|
34226
34272
|
SENSITIVE = []
|
34227
34273
|
include Aws::Structure
|
@@ -34241,6 +34287,11 @@ module Aws::EC2
|
|
34241
34287
|
# The ID of the local gateway.
|
34242
34288
|
# @return [String]
|
34243
34289
|
#
|
34290
|
+
# @!attribute [rw] owner_id
|
34291
|
+
# The AWS account ID that owns the local gateway virtual interface
|
34292
|
+
# group.
|
34293
|
+
# @return [String]
|
34294
|
+
#
|
34244
34295
|
# @!attribute [rw] tags
|
34245
34296
|
# The tags assigned to the virtual interface group.
|
34246
34297
|
# @return [Array<Types::Tag>]
|
@@ -34251,6 +34302,7 @@ module Aws::EC2
|
|
34251
34302
|
:local_gateway_virtual_interface_group_id,
|
34252
34303
|
:local_gateway_virtual_interface_ids,
|
34253
34304
|
:local_gateway_id,
|
34305
|
+
:owner_id,
|
34254
34306
|
:tags)
|
34255
34307
|
SENSITIVE = []
|
34256
34308
|
include Aws::Structure
|
@@ -37295,7 +37347,7 @@ module Aws::EC2
|
|
37295
37347
|
# }
|
37296
37348
|
#
|
37297
37349
|
# @!attribute [rw] vpn_connection_id
|
37298
|
-
# The ID of the Site-to-Site VPN
|
37350
|
+
# The ID of the Site-to-Site VPN connection.
|
37299
37351
|
# @return [String]
|
37300
37352
|
#
|
37301
37353
|
# @!attribute [rw] local_ipv_4_network_cidr
|
@@ -42073,6 +42125,10 @@ module Aws::EC2
|
|
42073
42125
|
#
|
42074
42126
|
# You can't specify an Availability Zone group or a launch group if
|
42075
42127
|
# you specify a duration.
|
42128
|
+
#
|
42129
|
+
# New accounts or accounts with no previous billing history with AWS
|
42130
|
+
# are not eligible for Spot Instances with a defined duration (also
|
42131
|
+
# known as Spot blocks).
|
42076
42132
|
# @return [Integer]
|
42077
42133
|
#
|
42078
42134
|
# @!attribute [rw] client_token
|
@@ -42134,11 +42190,17 @@ module Aws::EC2
|
|
42134
42190
|
# @return [Time]
|
42135
42191
|
#
|
42136
42192
|
# @!attribute [rw] valid_until
|
42137
|
-
# The end date of the request
|
42138
|
-
#
|
42139
|
-
#
|
42140
|
-
#
|
42141
|
-
#
|
42193
|
+
# The end date of the request, in UTC format
|
42194
|
+
# (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
42195
|
+
#
|
42196
|
+
# * For a persistent request, the request remains active until the
|
42197
|
+
# `ValidUntil` date and time is reached. Otherwise, the request
|
42198
|
+
# remains active until you cancel it.
|
42199
|
+
#
|
42200
|
+
# * For a one-time request, the request remains active until all
|
42201
|
+
# instances launch, the request is canceled, or the `ValidUntil`
|
42202
|
+
# date and time is reached. By default, the request is valid for 7
|
42203
|
+
# days from the date the request was created.
|
42142
42204
|
# @return [Time]
|
42143
42205
|
#
|
42144
42206
|
# @!attribute [rw] tag_specifications
|
@@ -42375,7 +42437,9 @@ module Aws::EC2
|
|
42375
42437
|
include Aws::Structure
|
42376
42438
|
end
|
42377
42439
|
|
42378
|
-
# Describes a
|
42440
|
+
# Describes a launch request for one or more instances, and includes
|
42441
|
+
# owner, requester, and security group information that applies to all
|
42442
|
+
# instances in the launch request.
|
42379
42443
|
#
|
42380
42444
|
# @!attribute [rw] groups
|
42381
42445
|
# \[EC2-Classic only\] The security groups.
|
@@ -43568,6 +43632,25 @@ module Aws::EC2
|
|
43568
43632
|
include Aws::Structure
|
43569
43633
|
end
|
43570
43634
|
|
43635
|
+
# @!attribute [rw] return
|
43636
|
+
# Returns `true` if the request succeeds; otherwise, returns an error.
|
43637
|
+
# @return [Boolean]
|
43638
|
+
#
|
43639
|
+
# @!attribute [rw] unknown_ip_permissions
|
43640
|
+
# The outbound rules that were unknown to the service. In some cases,
|
43641
|
+
# `unknownIpPermissionSet` might be in a different format from the
|
43642
|
+
# request parameter.
|
43643
|
+
# @return [Array<Types::IpPermission>]
|
43644
|
+
#
|
43645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressResult AWS API Documentation
|
43646
|
+
#
|
43647
|
+
class RevokeSecurityGroupEgressResult < Struct.new(
|
43648
|
+
:return,
|
43649
|
+
:unknown_ip_permissions)
|
43650
|
+
SENSITIVE = []
|
43651
|
+
include Aws::Structure
|
43652
|
+
end
|
43653
|
+
|
43571
43654
|
# @note When making an API call, you may pass RevokeSecurityGroupIngressRequest
|
43572
43655
|
# data as a hash:
|
43573
43656
|
#
|
@@ -43705,6 +43788,25 @@ module Aws::EC2
|
|
43705
43788
|
include Aws::Structure
|
43706
43789
|
end
|
43707
43790
|
|
43791
|
+
# @!attribute [rw] return
|
43792
|
+
# Returns `true` if the request succeeds; otherwise, returns an error.
|
43793
|
+
# @return [Boolean]
|
43794
|
+
#
|
43795
|
+
# @!attribute [rw] unknown_ip_permissions
|
43796
|
+
# The inbound rules that were unknown to the service. In some cases,
|
43797
|
+
# `unknownIpPermissionSet` might be in a different format from the
|
43798
|
+
# request parameter.
|
43799
|
+
# @return [Array<Types::IpPermission>]
|
43800
|
+
#
|
43801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngressResult AWS API Documentation
|
43802
|
+
#
|
43803
|
+
class RevokeSecurityGroupIngressResult < Struct.new(
|
43804
|
+
:return,
|
43805
|
+
:unknown_ip_permissions)
|
43806
|
+
SENSITIVE = []
|
43807
|
+
include Aws::Structure
|
43808
|
+
end
|
43809
|
+
|
43708
43810
|
# Describes a route in a route table.
|
43709
43811
|
#
|
43710
43812
|
# @!attribute [rw] destination_cidr_block
|
@@ -46384,7 +46486,8 @@ module Aws::EC2
|
|
46384
46486
|
# Describes the data feed for a Spot Instance.
|
46385
46487
|
#
|
46386
46488
|
# @!attribute [rw] bucket
|
46387
|
-
# The Amazon S3 bucket where the Spot Instance data feed
|
46489
|
+
# The name of the Amazon S3 bucket where the Spot Instance data feed
|
46490
|
+
# is located.
|
46388
46491
|
# @return [String]
|
46389
46492
|
#
|
46390
46493
|
# @!attribute [rw] fault
|
@@ -46396,7 +46499,7 @@ module Aws::EC2
|
|
46396
46499
|
# @return [String]
|
46397
46500
|
#
|
46398
46501
|
# @!attribute [rw] prefix
|
46399
|
-
# The prefix
|
46502
|
+
# The prefix for the data feed files.
|
46400
46503
|
# @return [String]
|
46401
46504
|
#
|
46402
46505
|
# @!attribute [rw] state
|
@@ -46416,7 +46519,8 @@ module Aws::EC2
|
|
46416
46519
|
end
|
46417
46520
|
|
46418
46521
|
# Describes the launch specification for one or more Spot Instances. If
|
46419
|
-
# you include On-Demand capacity in your fleet request
|
46522
|
+
# you include On-Demand capacity in your fleet request or want to
|
46523
|
+
# specify an EFA network device, you can't use
|
46420
46524
|
# `SpotFleetLaunchSpecification`; you must use
|
46421
46525
|
# [LaunchTemplateConfig][1].
|
46422
46526
|
#
|
@@ -46571,6 +46675,16 @@ module Aws::EC2
|
|
46571
46675
|
# One or more network interfaces. If you specify a network interface,
|
46572
46676
|
# you must specify subnet IDs and security group IDs using the network
|
46573
46677
|
# interface.
|
46678
|
+
#
|
46679
|
+
# <note markdown="1"> `SpotFleetLaunchSpecification` currently does not support Elastic
|
46680
|
+
# Fabric Adapter (EFA). To specify an EFA, you must use
|
46681
|
+
# [LaunchTemplateConfig][1].
|
46682
|
+
#
|
46683
|
+
# </note>
|
46684
|
+
#
|
46685
|
+
#
|
46686
|
+
#
|
46687
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html
|
46574
46688
|
# @return [Array<Types::InstanceNetworkInterfaceSpecification>]
|
46575
46689
|
#
|
46576
46690
|
# @!attribute [rw] placement
|
@@ -47228,12 +47342,17 @@ module Aws::EC2
|
|
47228
47342
|
# @return [Time]
|
47229
47343
|
#
|
47230
47344
|
# @!attribute [rw] valid_until
|
47231
|
-
# The end date of the request, in UTC format
|
47232
|
-
# *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
47233
|
-
#
|
47234
|
-
#
|
47235
|
-
#
|
47236
|
-
#
|
47345
|
+
# The end date of the request, in UTC format
|
47346
|
+
# (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
47347
|
+
#
|
47348
|
+
# * For a persistent request, the request remains active until the
|
47349
|
+
# `validUntil` date and time is reached. Otherwise, the request
|
47350
|
+
# remains active until you cancel it.
|
47351
|
+
#
|
47352
|
+
# * For a one-time request, the request remains active until all
|
47353
|
+
# instances launch, the request is canceled, or the `validUntil`
|
47354
|
+
# date and time is reached. By default, the request is valid for 7
|
47355
|
+
# days from the date the request was created.
|
47237
47356
|
# @return [Time]
|
47238
47357
|
#
|
47239
47358
|
# @!attribute [rw] instance_interruption_behavior
|
@@ -47348,14 +47467,33 @@ module Aws::EC2
|
|
47348
47467
|
# The required duration for the Spot Instances (also known as Spot
|
47349
47468
|
# blocks), in minutes. This value must be a multiple of 60 (60, 120,
|
47350
47469
|
# 180, 240, 300, or 360).
|
47470
|
+
#
|
47471
|
+
# The duration period starts as soon as your Spot Instance receives
|
47472
|
+
# its instance ID. At the end of the duration period, Amazon EC2 marks
|
47473
|
+
# the Spot Instance for termination and provides a Spot Instance
|
47474
|
+
# termination notice, which gives the instance a two-minute warning
|
47475
|
+
# before it terminates.
|
47476
|
+
#
|
47477
|
+
# You can't specify an Availability Zone group or a launch group if
|
47478
|
+
# you specify a duration.
|
47479
|
+
#
|
47480
|
+
# New accounts or accounts with no previous billing history with AWS
|
47481
|
+
# are not eligible for Spot Instances with a defined duration (also
|
47482
|
+
# known as Spot blocks).
|
47351
47483
|
# @return [Integer]
|
47352
47484
|
#
|
47353
47485
|
# @!attribute [rw] valid_until
|
47354
|
-
# The end date of the request
|
47355
|
-
#
|
47356
|
-
#
|
47357
|
-
#
|
47358
|
-
#
|
47486
|
+
# The end date of the request, in UTC format
|
47487
|
+
# (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z). Supported only for persistent
|
47488
|
+
# requests.
|
47489
|
+
#
|
47490
|
+
# * For a persistent request, the request remains active until the
|
47491
|
+
# `ValidUntil` date and time is reached. Otherwise, the request
|
47492
|
+
# remains active until you cancel it.
|
47493
|
+
#
|
47494
|
+
# * For a one-time request, `ValidUntil` is not supported. The request
|
47495
|
+
# remains active until all instances launch or you cancel the
|
47496
|
+
# request.
|
47359
47497
|
# @return [Time]
|
47360
47498
|
#
|
47361
47499
|
# @!attribute [rw] instance_interruption_behavior
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.201.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.109.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.109.0
|
47
47
|
description: Official AWS Ruby gem for Amazon Elastic Compute Cloud (Amazon EC2).
|
48
48
|
This gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|