aws-sdk-ec2 1.197.0 → 1.202.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/client.rb +147 -33
- 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 +176 -40
- 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: 8c0c7f397b15d05f32056ebed43dc64146fa34400315dc74437410d43281dd15
|
|
4
|
+
data.tar.gz: 695eff7e91c8ca3fbcf28fdce730661d17d8a80f192d6388152059851f47aabb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 210d412e6a6dcfed7bd48a080e655558246afb657de1d925776fd3e3ca4714355bb1c95448deeb1b30e06772374746c46b7cefe65af65b639046c430a97e2811
|
|
7
|
+
data.tar.gz: e1136e00572f92a8328d621a0cb51e3b6f4921e9ee1cc6a4b4f3a2d9effbabba88a7dda8f4a04ec9fd1717e15b665428af0a5c1a9e71ebbfb95322aeaf8d0ce0
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -7680,7 +7680,13 @@ module Aws::EC2
|
|
|
7680
7680
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html
|
|
7681
7681
|
#
|
|
7682
7682
|
# @option params [required, String] :bucket
|
|
7683
|
-
# 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
|
|
7684
7690
|
#
|
|
7685
7691
|
# @option params [Boolean] :dry_run
|
|
7686
7692
|
# Checks whether you have the required permissions for the action,
|
|
@@ -7689,7 +7695,7 @@ module Aws::EC2
|
|
|
7689
7695
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
7690
7696
|
#
|
|
7691
7697
|
# @option params [String] :prefix
|
|
7692
|
-
#
|
|
7698
|
+
# The prefix for the data feed file names.
|
|
7693
7699
|
#
|
|
7694
7700
|
# @return [Types::CreateSpotDatafeedSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7695
7701
|
#
|
|
@@ -17023,26 +17029,26 @@ module Aws::EC2
|
|
|
17023
17029
|
# baseline bandwidth performance for an EBS-optimized instance type,
|
|
17024
17030
|
# in Mbps.
|
|
17025
17031
|
#
|
|
17026
|
-
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
|
17027
|
-
# baseline throughput performance for an EBS-optimized instance type,
|
|
17028
|
-
# in MBps.
|
|
17029
|
-
#
|
|
17030
17032
|
# * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
|
|
17031
17033
|
# input/output storage operations per second for an EBS-optimized
|
|
17032
17034
|
# instance type.
|
|
17033
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
|
+
#
|
|
17034
17040
|
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
|
17035
17041
|
# maximum bandwidth performance for an EBS-optimized instance type, in
|
|
17036
17042
|
# Mbps.
|
|
17037
17043
|
#
|
|
17038
|
-
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
|
17039
|
-
# maximum throughput performance for an EBS-optimized instance type,
|
|
17040
|
-
# in MBps.
|
|
17041
|
-
#
|
|
17042
17044
|
# * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
|
|
17043
17045
|
# input/output storage operations per second for an EBS-optimized
|
|
17044
17046
|
# instance type.
|
|
17045
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
|
+
#
|
|
17046
17052
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
|
17047
17053
|
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
|
17048
17054
|
#
|
|
@@ -17050,8 +17056,8 @@ module Aws::EC2
|
|
|
17050
17056
|
# supported. (`supported` \| `unsupported`)
|
|
17051
17057
|
#
|
|
17052
17058
|
# * `ebs-info.nvme-support` - Indicates whether non-volatile memory
|
|
17053
|
-
# express (NVMe) is supported
|
|
17054
|
-
# \| `unsupported`)
|
|
17059
|
+
# express (NVMe) is supported for EBS volumes. (`required` \|
|
|
17060
|
+
# `supported` \| `unsupported`)
|
|
17055
17061
|
#
|
|
17056
17062
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
|
17057
17063
|
# eligible to use in the free tier. (`true` \| `false`)
|
|
@@ -17059,7 +17065,7 @@ module Aws::EC2
|
|
|
17059
17065
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation is
|
|
17060
17066
|
# supported. (`true` \| `false`)
|
|
17061
17067
|
#
|
|
17062
|
-
# * `hypervisor` - The hypervisor
|
|
17068
|
+
# * `hypervisor` - The hypervisor. (`nitro` \| `xen`)
|
|
17063
17069
|
#
|
|
17064
17070
|
# * `instance-storage-info.disk.count` - The number of local disks.
|
|
17065
17071
|
#
|
|
@@ -17069,21 +17075,28 @@ module Aws::EC2
|
|
|
17069
17075
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
|
17070
17076
|
# local instance storage disks. (`hdd` \| `ssd`)
|
|
17071
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
|
+
#
|
|
17072
17082
|
# * `instance-storage-info.total-size-in-gb` - The total amount of
|
|
17073
17083
|
# storage available from all local instance storage, in GB.
|
|
17074
17084
|
#
|
|
17075
17085
|
# * `instance-storage-supported` - Indicates whether the instance type
|
|
17076
17086
|
# has local instance storage. (`true` \| `false`)
|
|
17077
17087
|
#
|
|
17088
|
+
# * `instance-type` - The instance type (for example `c5.2xlarge` or
|
|
17089
|
+
# c5*).
|
|
17090
|
+
#
|
|
17078
17091
|
# * `memory-info.size-in-mib` - The memory size.
|
|
17079
17092
|
#
|
|
17093
|
+
# * `network-info.efa-supported` - Indicates whether the instance type
|
|
17094
|
+
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
|
17095
|
+
#
|
|
17080
17096
|
# * `network-info.ena-support` - Indicates whether Elastic Network
|
|
17081
17097
|
# Adapter (ENA) is supported or required. (`required` \| `supported`
|
|
17082
17098
|
# \| `unsupported`)
|
|
17083
17099
|
#
|
|
17084
|
-
# * `network-info.efa-supported` - Indicates whether the instance type
|
|
17085
|
-
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
|
17086
|
-
#
|
|
17087
17100
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number of
|
|
17088
17101
|
# private IPv4 addresses per network interface.
|
|
17089
17102
|
#
|
|
@@ -17096,12 +17109,23 @@ module Aws::EC2
|
|
|
17096
17109
|
# * `network-info.maximum-network-interfaces` - The maximum number of
|
|
17097
17110
|
# network interfaces per instance.
|
|
17098
17111
|
#
|
|
17099
|
-
# * `network-info.network-performance` -
|
|
17100
|
-
#
|
|
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`)
|
|
17101
17117
|
#
|
|
17102
17118
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
|
|
17103
17119
|
# in GHz.
|
|
17104
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
|
+
#
|
|
17105
17129
|
# * `vcpu-info.default-cores` - The default number of cores for the
|
|
17106
17130
|
# instance type.
|
|
17107
17131
|
#
|
|
@@ -17111,6 +17135,13 @@ module Aws::EC2
|
|
|
17111
17135
|
# * `vcpu-info.default-vcpus` - The default number of vCPUs for the
|
|
17112
17136
|
# instance type.
|
|
17113
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
|
+
#
|
|
17114
17145
|
# @option params [Integer] :max_results
|
|
17115
17146
|
# The maximum number of results to return for the request in a single
|
|
17116
17147
|
# page. The remaining results can be seen by sending another request
|
|
@@ -17172,6 +17203,7 @@ module Aws::EC2
|
|
|
17172
17203
|
# resp.instance_types[0].instance_storage_info.disks[0].size_in_gb #=> Integer
|
|
17173
17204
|
# resp.instance_types[0].instance_storage_info.disks[0].count #=> Integer
|
|
17174
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"
|
|
17175
17207
|
# resp.instance_types[0].ebs_info.ebs_optimized_support #=> String, one of "unsupported", "supported", "default"
|
|
17176
17208
|
# resp.instance_types[0].ebs_info.encryption_support #=> String, one of "unsupported", "supported"
|
|
17177
17209
|
# resp.instance_types[0].ebs_info.ebs_optimized_info.baseline_bandwidth_in_mbps #=> Integer
|
|
@@ -18747,6 +18779,7 @@ module Aws::EC2
|
|
|
18747
18779
|
# resp.local_gateway_virtual_interface_groups[0].local_gateway_virtual_interface_ids #=> Array
|
|
18748
18780
|
# resp.local_gateway_virtual_interface_groups[0].local_gateway_virtual_interface_ids[0] #=> String
|
|
18749
18781
|
# resp.local_gateway_virtual_interface_groups[0].local_gateway_id #=> String
|
|
18782
|
+
# resp.local_gateway_virtual_interface_groups[0].owner_id #=> String
|
|
18750
18783
|
# resp.local_gateway_virtual_interface_groups[0].tags #=> Array
|
|
18751
18784
|
# resp.local_gateway_virtual_interface_groups[0].tags[0].key #=> String
|
|
18752
18785
|
# resp.local_gateway_virtual_interface_groups[0].tags[0].value #=> String
|
|
@@ -18815,6 +18848,7 @@ module Aws::EC2
|
|
|
18815
18848
|
# resp.local_gateway_virtual_interfaces[0].peer_address #=> String
|
|
18816
18849
|
# resp.local_gateway_virtual_interfaces[0].local_bgp_asn #=> Integer
|
|
18817
18850
|
# resp.local_gateway_virtual_interfaces[0].peer_bgp_asn #=> Integer
|
|
18851
|
+
# resp.local_gateway_virtual_interfaces[0].owner_id #=> String
|
|
18818
18852
|
# resp.local_gateway_virtual_interfaces[0].tags #=> Array
|
|
18819
18853
|
# resp.local_gateway_virtual_interfaces[0].tags[0].key #=> String
|
|
18820
18854
|
# resp.local_gateway_virtual_interfaces[0].tags[0].value #=> String
|
|
@@ -22859,8 +22893,10 @@ module Aws::EC2
|
|
|
22859
22893
|
# * `instance-type` - The type of instance (for example, `m3.medium`).
|
|
22860
22894
|
#
|
|
22861
22895
|
# * `product-description` - The product description for the Spot price
|
|
22862
|
-
# (`Linux/UNIX` \| `
|
|
22863
|
-
#
|
|
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)`).
|
|
22864
22900
|
#
|
|
22865
22901
|
# * `spot-price` - The Spot price. The value must match exactly (or use
|
|
22866
22902
|
# wildcards; greater than or less than comparison is not supported).
|
|
@@ -34047,7 +34083,7 @@ module Aws::EC2
|
|
|
34047
34083
|
# instances. The operation succeeds if the instances are valid and
|
|
34048
34084
|
# belong to you. Requests to reboot terminated instances are ignored.
|
|
34049
34085
|
#
|
|
34050
|
-
# If an instance does not cleanly shut down within
|
|
34086
|
+
# If an instance does not cleanly shut down within a few minutes, Amazon
|
|
34051
34087
|
# EC2 performs a hard reboot.
|
|
34052
34088
|
#
|
|
34053
34089
|
# For more information about troubleshooting, see [Getting console
|
|
@@ -35704,6 +35740,10 @@ module Aws::EC2
|
|
|
35704
35740
|
# You can't specify an Availability Zone group or a launch group if you
|
|
35705
35741
|
# specify a duration.
|
|
35706
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
|
+
#
|
|
35707
35747
|
# @option params [String] :client_token
|
|
35708
35748
|
# Unique, case-sensitive identifier that you provide to ensure the
|
|
35709
35749
|
# idempotency of the request. For more information, see [How to Ensure
|
|
@@ -35754,11 +35794,17 @@ module Aws::EC2
|
|
|
35754
35794
|
# current date and time.
|
|
35755
35795
|
#
|
|
35756
35796
|
# @option params [Time,DateTime,Date,Integer,String] :valid_until
|
|
35757
|
-
# The end date of the request
|
|
35758
|
-
#
|
|
35759
|
-
#
|
|
35760
|
-
#
|
|
35761
|
-
#
|
|
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.
|
|
35762
35808
|
#
|
|
35763
35809
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
|
35764
35810
|
# The key-value pair for tagging the Spot Instance request on creation.
|
|
@@ -36459,10 +36505,19 @@ module Aws::EC2
|
|
|
36459
36505
|
end
|
|
36460
36506
|
|
|
36461
36507
|
# \[VPC only\] Removes the specified egress rules from a security group
|
|
36462
|
-
# for EC2-VPC. This action
|
|
36508
|
+
# for EC2-VPC. This action does not apply to security groups for use in
|
|
36463
36509
|
# EC2-Classic. To remove a rule, the values that you specify (for
|
|
36464
36510
|
# example, ports) must match the existing rule's values exactly.
|
|
36465
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
|
+
#
|
|
36466
36521
|
# Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or
|
|
36467
36522
|
# source security group. For the TCP and UDP protocols, you must also
|
|
36468
36523
|
# specify the destination port or range of ports. For the ICMP protocol,
|
|
@@ -36507,7 +36562,10 @@ module Aws::EC2
|
|
|
36507
36562
|
# Not supported. Use a set of IP permissions to specify a destination
|
|
36508
36563
|
# security group.
|
|
36509
36564
|
#
|
|
36510
|
-
# @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>
|
|
36511
36569
|
#
|
|
36512
36570
|
# @example Request syntax with placeholder values
|
|
36513
36571
|
#
|
|
@@ -36558,6 +36616,31 @@ module Aws::EC2
|
|
|
36558
36616
|
# source_security_group_owner_id: "String",
|
|
36559
36617
|
# })
|
|
36560
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
|
+
#
|
|
36561
36644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress AWS API Documentation
|
|
36562
36645
|
#
|
|
36563
36646
|
# @overload revoke_security_group_egress(params = {})
|
|
@@ -36571,9 +36654,12 @@ module Aws::EC2
|
|
|
36571
36654
|
# rule, the values that you specify (for example, ports) must match the
|
|
36572
36655
|
# existing rule's values exactly.
|
|
36573
36656
|
#
|
|
36574
|
-
# <note markdown="1"> \[EC2-Classic
|
|
36575
|
-
# existing rule's values, no error is returned
|
|
36576
|
-
#
|
|
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.
|
|
36577
36663
|
#
|
|
36578
36664
|
# </note>
|
|
36579
36665
|
#
|
|
@@ -36645,7 +36731,10 @@ module Aws::EC2
|
|
|
36645
36731
|
# If you have the required permissions, the error response is
|
|
36646
36732
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
36647
36733
|
#
|
|
36648
|
-
# @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>
|
|
36649
36738
|
#
|
|
36650
36739
|
# @example Request syntax with placeholder values
|
|
36651
36740
|
#
|
|
@@ -36697,6 +36786,31 @@ module Aws::EC2
|
|
|
36697
36786
|
# dry_run: false,
|
|
36698
36787
|
# })
|
|
36699
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
|
+
#
|
|
36700
36814
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress AWS API Documentation
|
|
36701
36815
|
#
|
|
36702
36816
|
# @overload revoke_security_group_ingress(params = {})
|
|
@@ -38787,7 +38901,7 @@ module Aws::EC2
|
|
|
38787
38901
|
params: params,
|
|
38788
38902
|
config: config)
|
|
38789
38903
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
38790
|
-
context[:gem_version] = '1.
|
|
38904
|
+
context[:gem_version] = '1.202.0'
|
|
38791
38905
|
Seahorse::Client::Request.new(handlers, context)
|
|
38792
38906
|
end
|
|
38793
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
|
@@ -8054,7 +8054,13 @@ module Aws::EC2
|
|
|
8054
8054
|
# }
|
|
8055
8055
|
#
|
|
8056
8056
|
# @!attribute [rw] bucket
|
|
8057
|
-
# 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
|
|
8058
8064
|
# @return [String]
|
|
8059
8065
|
#
|
|
8060
8066
|
# @!attribute [rw] dry_run
|
|
@@ -8065,7 +8071,7 @@ module Aws::EC2
|
|
|
8065
8071
|
# @return [Boolean]
|
|
8066
8072
|
#
|
|
8067
8073
|
# @!attribute [rw] prefix
|
|
8068
|
-
#
|
|
8074
|
+
# The prefix for the data feed file names.
|
|
8069
8075
|
# @return [String]
|
|
8070
8076
|
#
|
|
8071
8077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscriptionRequest AWS API Documentation
|
|
@@ -16215,26 +16221,26 @@ module Aws::EC2
|
|
|
16215
16221
|
# baseline bandwidth performance for an EBS-optimized instance type,
|
|
16216
16222
|
# in Mbps.
|
|
16217
16223
|
#
|
|
16218
|
-
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
|
16219
|
-
# baseline throughput performance for an EBS-optimized instance
|
|
16220
|
-
# type, in MBps.
|
|
16221
|
-
#
|
|
16222
16224
|
# * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
|
|
16223
16225
|
# input/output storage operations per second for an EBS-optimized
|
|
16224
16226
|
# instance type.
|
|
16225
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
|
+
#
|
|
16226
16232
|
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
|
16227
16233
|
# maximum bandwidth performance for an EBS-optimized instance type,
|
|
16228
16234
|
# in Mbps.
|
|
16229
16235
|
#
|
|
16230
|
-
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
|
16231
|
-
# maximum throughput performance for an EBS-optimized instance type,
|
|
16232
|
-
# in MBps.
|
|
16233
|
-
#
|
|
16234
16236
|
# * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
|
|
16235
16237
|
# input/output storage operations per second for an EBS-optimized
|
|
16236
16238
|
# instance type.
|
|
16237
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
|
+
#
|
|
16238
16244
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
|
16239
16245
|
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
|
16240
16246
|
#
|
|
@@ -16242,7 +16248,7 @@ module Aws::EC2
|
|
|
16242
16248
|
# is supported. (`supported` \| `unsupported`)
|
|
16243
16249
|
#
|
|
16244
16250
|
# * `ebs-info.nvme-support` - Indicates whether non-volatile memory
|
|
16245
|
-
# express (NVMe) is supported
|
|
16251
|
+
# express (NVMe) is supported for EBS volumes. (`required` \|
|
|
16246
16252
|
# `supported` \| `unsupported`)
|
|
16247
16253
|
#
|
|
16248
16254
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
|
@@ -16251,7 +16257,7 @@ module Aws::EC2
|
|
|
16251
16257
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation
|
|
16252
16258
|
# is supported. (`true` \| `false`)
|
|
16253
16259
|
#
|
|
16254
|
-
# * `hypervisor` - The hypervisor
|
|
16260
|
+
# * `hypervisor` - The hypervisor. (`nitro` \| `xen`)
|
|
16255
16261
|
#
|
|
16256
16262
|
# * `instance-storage-info.disk.count` - The number of local disks.
|
|
16257
16263
|
#
|
|
@@ -16261,21 +16267,28 @@ module Aws::EC2
|
|
|
16261
16267
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
|
16262
16268
|
# local instance storage disks. (`hdd` \| `ssd`)
|
|
16263
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
|
+
#
|
|
16264
16274
|
# * `instance-storage-info.total-size-in-gb` - The total amount of
|
|
16265
16275
|
# storage available from all local instance storage, in GB.
|
|
16266
16276
|
#
|
|
16267
16277
|
# * `instance-storage-supported` - Indicates whether the instance type
|
|
16268
16278
|
# has local instance storage. (`true` \| `false`)
|
|
16269
16279
|
#
|
|
16280
|
+
# * `instance-type` - The instance type (for example `c5.2xlarge` or
|
|
16281
|
+
# c5*).
|
|
16282
|
+
#
|
|
16270
16283
|
# * `memory-info.size-in-mib` - The memory size.
|
|
16271
16284
|
#
|
|
16285
|
+
# * `network-info.efa-supported` - Indicates whether the instance type
|
|
16286
|
+
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
|
16287
|
+
#
|
|
16272
16288
|
# * `network-info.ena-support` - Indicates whether Elastic Network
|
|
16273
16289
|
# Adapter (ENA) is supported or required. (`required` \| `supported`
|
|
16274
16290
|
# \| `unsupported`)
|
|
16275
16291
|
#
|
|
16276
|
-
# * `network-info.efa-supported` - Indicates whether the instance type
|
|
16277
|
-
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
|
16278
|
-
#
|
|
16279
16292
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number
|
|
16280
16293
|
# of private IPv4 addresses per network interface.
|
|
16281
16294
|
#
|
|
@@ -16288,12 +16301,23 @@ module Aws::EC2
|
|
|
16288
16301
|
# * `network-info.maximum-network-interfaces` - The maximum number of
|
|
16289
16302
|
# network interfaces per instance.
|
|
16290
16303
|
#
|
|
16291
|
-
# * `network-info.network-performance` -
|
|
16292
|
-
#
|
|
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`)
|
|
16293
16309
|
#
|
|
16294
16310
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock
|
|
16295
16311
|
# speed, in GHz.
|
|
16296
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
|
+
#
|
|
16297
16321
|
# * `vcpu-info.default-cores` - The default number of cores for the
|
|
16298
16322
|
# instance type.
|
|
16299
16323
|
#
|
|
@@ -16302,6 +16326,13 @@ module Aws::EC2
|
|
|
16302
16326
|
#
|
|
16303
16327
|
# * `vcpu-info.default-vcpus` - The default number of vCPUs for the
|
|
16304
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".
|
|
16305
16336
|
# @return [Array<Types::Filter>]
|
|
16306
16337
|
#
|
|
16307
16338
|
# @!attribute [rw] max_results
|
|
@@ -20474,8 +20505,10 @@ module Aws::EC2
|
|
|
20474
20505
|
# * `instance-type` - The type of instance (for example, `m3.medium`).
|
|
20475
20506
|
#
|
|
20476
20507
|
# * `product-description` - The product description for the Spot price
|
|
20477
|
-
# (`Linux/UNIX` \| `
|
|
20478
|
-
#
|
|
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)`).
|
|
20479
20512
|
#
|
|
20480
20513
|
# * `spot-price` - The Spot price. The value must match exactly (or
|
|
20481
20514
|
# use wildcards; greater than or less than comparison is not
|
|
@@ -31573,11 +31606,17 @@ module Aws::EC2
|
|
|
31573
31606
|
# Array describing the disks that are available for the instance type.
|
|
31574
31607
|
# @return [Array<Types::DiskInfo>]
|
|
31575
31608
|
#
|
|
31609
|
+
# @!attribute [rw] nvme_support
|
|
31610
|
+
# Indicates whether non-volatile memory express (NVMe) is supported
|
|
31611
|
+
# for instance store.
|
|
31612
|
+
# @return [String]
|
|
31613
|
+
#
|
|
31576
31614
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStorageInfo AWS API Documentation
|
|
31577
31615
|
#
|
|
31578
31616
|
class InstanceStorageInfo < Struct.new(
|
|
31579
31617
|
:total_size_in_gb,
|
|
31580
|
-
:disks
|
|
31618
|
+
:disks,
|
|
31619
|
+
:nvme_support)
|
|
31581
31620
|
SENSITIVE = []
|
|
31582
31621
|
include Aws::Structure
|
|
31583
31622
|
end
|
|
@@ -34210,6 +34249,10 @@ module Aws::EC2
|
|
|
34210
34249
|
# The peer BGP ASN.
|
|
34211
34250
|
# @return [Integer]
|
|
34212
34251
|
#
|
|
34252
|
+
# @!attribute [rw] owner_id
|
|
34253
|
+
# The AWS account ID that owns the local gateway virtual interface.
|
|
34254
|
+
# @return [String]
|
|
34255
|
+
#
|
|
34213
34256
|
# @!attribute [rw] tags
|
|
34214
34257
|
# The tags assigned to the virtual interface.
|
|
34215
34258
|
# @return [Array<Types::Tag>]
|
|
@@ -34224,6 +34267,7 @@ module Aws::EC2
|
|
|
34224
34267
|
:peer_address,
|
|
34225
34268
|
:local_bgp_asn,
|
|
34226
34269
|
:peer_bgp_asn,
|
|
34270
|
+
:owner_id,
|
|
34227
34271
|
:tags)
|
|
34228
34272
|
SENSITIVE = []
|
|
34229
34273
|
include Aws::Structure
|
|
@@ -34243,6 +34287,11 @@ module Aws::EC2
|
|
|
34243
34287
|
# The ID of the local gateway.
|
|
34244
34288
|
# @return [String]
|
|
34245
34289
|
#
|
|
34290
|
+
# @!attribute [rw] owner_id
|
|
34291
|
+
# The AWS account ID that owns the local gateway virtual interface
|
|
34292
|
+
# group.
|
|
34293
|
+
# @return [String]
|
|
34294
|
+
#
|
|
34246
34295
|
# @!attribute [rw] tags
|
|
34247
34296
|
# The tags assigned to the virtual interface group.
|
|
34248
34297
|
# @return [Array<Types::Tag>]
|
|
@@ -34253,6 +34302,7 @@ module Aws::EC2
|
|
|
34253
34302
|
:local_gateway_virtual_interface_group_id,
|
|
34254
34303
|
:local_gateway_virtual_interface_ids,
|
|
34255
34304
|
:local_gateway_id,
|
|
34305
|
+
:owner_id,
|
|
34256
34306
|
:tags)
|
|
34257
34307
|
SENSITIVE = []
|
|
34258
34308
|
include Aws::Structure
|
|
@@ -42075,6 +42125,10 @@ module Aws::EC2
|
|
|
42075
42125
|
#
|
|
42076
42126
|
# You can't specify an Availability Zone group or a launch group if
|
|
42077
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).
|
|
42078
42132
|
# @return [Integer]
|
|
42079
42133
|
#
|
|
42080
42134
|
# @!attribute [rw] client_token
|
|
@@ -42136,11 +42190,17 @@ module Aws::EC2
|
|
|
42136
42190
|
# @return [Time]
|
|
42137
42191
|
#
|
|
42138
42192
|
# @!attribute [rw] valid_until
|
|
42139
|
-
# The end date of the request
|
|
42140
|
-
#
|
|
42141
|
-
#
|
|
42142
|
-
#
|
|
42143
|
-
#
|
|
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.
|
|
42144
42204
|
# @return [Time]
|
|
42145
42205
|
#
|
|
42146
42206
|
# @!attribute [rw] tag_specifications
|
|
@@ -42377,7 +42437,9 @@ module Aws::EC2
|
|
|
42377
42437
|
include Aws::Structure
|
|
42378
42438
|
end
|
|
42379
42439
|
|
|
42380
|
-
# 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.
|
|
42381
42443
|
#
|
|
42382
42444
|
# @!attribute [rw] groups
|
|
42383
42445
|
# \[EC2-Classic only\] The security groups.
|
|
@@ -43570,6 +43632,25 @@ module Aws::EC2
|
|
|
43570
43632
|
include Aws::Structure
|
|
43571
43633
|
end
|
|
43572
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
|
+
|
|
43573
43654
|
# @note When making an API call, you may pass RevokeSecurityGroupIngressRequest
|
|
43574
43655
|
# data as a hash:
|
|
43575
43656
|
#
|
|
@@ -43707,6 +43788,25 @@ module Aws::EC2
|
|
|
43707
43788
|
include Aws::Structure
|
|
43708
43789
|
end
|
|
43709
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
|
+
|
|
43710
43810
|
# Describes a route in a route table.
|
|
43711
43811
|
#
|
|
43712
43812
|
# @!attribute [rw] destination_cidr_block
|
|
@@ -46386,7 +46486,8 @@ module Aws::EC2
|
|
|
46386
46486
|
# Describes the data feed for a Spot Instance.
|
|
46387
46487
|
#
|
|
46388
46488
|
# @!attribute [rw] bucket
|
|
46389
|
-
# 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.
|
|
46390
46491
|
# @return [String]
|
|
46391
46492
|
#
|
|
46392
46493
|
# @!attribute [rw] fault
|
|
@@ -46398,7 +46499,7 @@ module Aws::EC2
|
|
|
46398
46499
|
# @return [String]
|
|
46399
46500
|
#
|
|
46400
46501
|
# @!attribute [rw] prefix
|
|
46401
|
-
# The prefix
|
|
46502
|
+
# The prefix for the data feed files.
|
|
46402
46503
|
# @return [String]
|
|
46403
46504
|
#
|
|
46404
46505
|
# @!attribute [rw] state
|
|
@@ -46418,7 +46519,8 @@ module Aws::EC2
|
|
|
46418
46519
|
end
|
|
46419
46520
|
|
|
46420
46521
|
# Describes the launch specification for one or more Spot Instances. If
|
|
46421
|
-
# 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
|
|
46422
46524
|
# `SpotFleetLaunchSpecification`; you must use
|
|
46423
46525
|
# [LaunchTemplateConfig][1].
|
|
46424
46526
|
#
|
|
@@ -46573,6 +46675,16 @@ module Aws::EC2
|
|
|
46573
46675
|
# One or more network interfaces. If you specify a network interface,
|
|
46574
46676
|
# you must specify subnet IDs and security group IDs using the network
|
|
46575
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
|
|
46576
46688
|
# @return [Array<Types::InstanceNetworkInterfaceSpecification>]
|
|
46577
46689
|
#
|
|
46578
46690
|
# @!attribute [rw] placement
|
|
@@ -47230,12 +47342,17 @@ module Aws::EC2
|
|
|
47230
47342
|
# @return [Time]
|
|
47231
47343
|
#
|
|
47232
47344
|
# @!attribute [rw] valid_until
|
|
47233
|
-
# The end date of the request, in UTC format
|
|
47234
|
-
# *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
|
47235
|
-
#
|
|
47236
|
-
#
|
|
47237
|
-
#
|
|
47238
|
-
#
|
|
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.
|
|
47239
47356
|
# @return [Time]
|
|
47240
47357
|
#
|
|
47241
47358
|
# @!attribute [rw] instance_interruption_behavior
|
|
@@ -47350,14 +47467,33 @@ module Aws::EC2
|
|
|
47350
47467
|
# The required duration for the Spot Instances (also known as Spot
|
|
47351
47468
|
# blocks), in minutes. This value must be a multiple of 60 (60, 120,
|
|
47352
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).
|
|
47353
47483
|
# @return [Integer]
|
|
47354
47484
|
#
|
|
47355
47485
|
# @!attribute [rw] valid_until
|
|
47356
|
-
# The end date of the request
|
|
47357
|
-
#
|
|
47358
|
-
#
|
|
47359
|
-
#
|
|
47360
|
-
#
|
|
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.
|
|
47361
47497
|
# @return [Time]
|
|
47362
47498
|
#
|
|
47363
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.202.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:
|