aws-sdk-ec2 1.533.0 → 1.537.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +406 -187
- data/lib/aws-sdk-ec2/client_api.rb +110 -0
- data/lib/aws-sdk-ec2/instance.rb +13 -2
- data/lib/aws-sdk-ec2/resource.rb +17 -17
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +400 -28
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2/waiters.rb +146 -38
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +171 -103
- data/sig/instance.rbs +4 -1
- data/sig/resource.rbs +17 -17
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +1 -1
- data/sig/subnet.rbs +2 -2
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +79 -7
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- data/sig/waiters.rbs +36 -0
- metadata +1 -1
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -4846,6 +4846,81 @@ module Aws::EC2
|
|
4846
4846
|
include Aws::Structure
|
4847
4847
|
end
|
4848
4848
|
|
4849
|
+
# Reserve powerful GPU instances on a future date to support your short
|
4850
|
+
# duration machine learning (ML) workloads. Instances that run inside a
|
4851
|
+
# Capacity Block are automatically placed close together inside [Amazon
|
4852
|
+
# EC2 UltraClusters][1], for low-latency, petabit-scale, non-blocking
|
4853
|
+
# networking.
|
4854
|
+
#
|
4855
|
+
# You can also reserve Amazon EC2 UltraServers. UltraServers connect
|
4856
|
+
# multiple EC2 instances using a low-latency, high-bandwidth accelerator
|
4857
|
+
# interconnect (NeuronLink). They are built to tackle very large-scale
|
4858
|
+
# AI/ML workloads that require significant processing power. For more
|
4859
|
+
# information, see Amazon EC2 UltraServers.
|
4860
|
+
#
|
4861
|
+
#
|
4862
|
+
#
|
4863
|
+
# [1]: http://aws.amazon.com/ec2/ultraclusters/
|
4864
|
+
#
|
4865
|
+
# @!attribute [rw] capacity_block_id
|
4866
|
+
# The ID of the Capacity Block.
|
4867
|
+
# @return [String]
|
4868
|
+
#
|
4869
|
+
# @!attribute [rw] ultraserver_type
|
4870
|
+
# The EC2 UltraServer type of the Capacity Block.
|
4871
|
+
# @return [String]
|
4872
|
+
#
|
4873
|
+
# @!attribute [rw] availability_zone
|
4874
|
+
# The Availability Zone of the Capacity Block.
|
4875
|
+
# @return [String]
|
4876
|
+
#
|
4877
|
+
# @!attribute [rw] availability_zone_id
|
4878
|
+
# The Availability Zone ID of the Capacity Block.
|
4879
|
+
# @return [String]
|
4880
|
+
#
|
4881
|
+
# @!attribute [rw] capacity_reservation_ids
|
4882
|
+
# The ID of the Capacity Reservation.
|
4883
|
+
# @return [Array<String>]
|
4884
|
+
#
|
4885
|
+
# @!attribute [rw] start_date
|
4886
|
+
# The date and time at which the Capacity Block was started.
|
4887
|
+
# @return [Time]
|
4888
|
+
#
|
4889
|
+
# @!attribute [rw] end_date
|
4890
|
+
# The date and time at which the Capacity Block expires. When a
|
4891
|
+
# Capacity Block expires, all instances in the Capacity Block are
|
4892
|
+
# terminated.
|
4893
|
+
# @return [Time]
|
4894
|
+
#
|
4895
|
+
# @!attribute [rw] create_date
|
4896
|
+
# The date and time at which the Capacity Block was created.
|
4897
|
+
# @return [Time]
|
4898
|
+
#
|
4899
|
+
# @!attribute [rw] state
|
4900
|
+
# The state of the Capacity Block.
|
4901
|
+
# @return [String]
|
4902
|
+
#
|
4903
|
+
# @!attribute [rw] tags
|
4904
|
+
# The tags assigned to the Capacity Block.
|
4905
|
+
# @return [Array<Types::Tag>]
|
4906
|
+
#
|
4907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlock AWS API Documentation
|
4908
|
+
#
|
4909
|
+
class CapacityBlock < Struct.new(
|
4910
|
+
:capacity_block_id,
|
4911
|
+
:ultraserver_type,
|
4912
|
+
:availability_zone,
|
4913
|
+
:availability_zone_id,
|
4914
|
+
:capacity_reservation_ids,
|
4915
|
+
:start_date,
|
4916
|
+
:end_date,
|
4917
|
+
:create_date,
|
4918
|
+
:state,
|
4919
|
+
:tags)
|
4920
|
+
SENSITIVE = []
|
4921
|
+
include Aws::Structure
|
4922
|
+
end
|
4923
|
+
|
4849
4924
|
# Describes a Capacity Block extension. With an extension, you can
|
4850
4925
|
# extend the duration of time for an existing Capacity Block.
|
4851
4926
|
#
|
@@ -5066,6 +5141,14 @@ module Aws::EC2
|
|
5066
5141
|
# The tenancy of the Capacity Block.
|
5067
5142
|
# @return [String]
|
5068
5143
|
#
|
5144
|
+
# @!attribute [rw] ultraserver_type
|
5145
|
+
# The EC2 UltraServer type of the Capacity Block offering.
|
5146
|
+
# @return [String]
|
5147
|
+
#
|
5148
|
+
# @!attribute [rw] ultraserver_count
|
5149
|
+
# The number of EC2 UltraServers in the offering.
|
5150
|
+
# @return [Integer]
|
5151
|
+
#
|
5069
5152
|
# @!attribute [rw] capacity_block_duration_minutes
|
5070
5153
|
# The number of minutes (in addition to `capacityBlockDurationHours`)
|
5071
5154
|
# for the duration of the Capacity Block reservation. For example, if
|
@@ -5086,11 +5169,63 @@ module Aws::EC2
|
|
5086
5169
|
:upfront_fee,
|
5087
5170
|
:currency_code,
|
5088
5171
|
:tenancy,
|
5172
|
+
:ultraserver_type,
|
5173
|
+
:ultraserver_count,
|
5089
5174
|
:capacity_block_duration_minutes)
|
5090
5175
|
SENSITIVE = []
|
5091
5176
|
include Aws::Structure
|
5092
5177
|
end
|
5093
5178
|
|
5179
|
+
# Describes the availability of capacity for a Capacity Block.
|
5180
|
+
#
|
5181
|
+
# @!attribute [rw] capacity_block_id
|
5182
|
+
# The ID of the Capacity Block.
|
5183
|
+
# @return [String]
|
5184
|
+
#
|
5185
|
+
# @!attribute [rw] interconnect_status
|
5186
|
+
# The status of the high-bandwidth accelerator interconnect. Possible
|
5187
|
+
# states include:
|
5188
|
+
#
|
5189
|
+
# * `ok` the accelerator interconnect is healthy.
|
5190
|
+
#
|
5191
|
+
# * `impaired` - accelerator interconnect communication is impaired.
|
5192
|
+
#
|
5193
|
+
# * `insufficient-data` - insufficient data to determine accelerator
|
5194
|
+
# interconnect status.
|
5195
|
+
# @return [String]
|
5196
|
+
#
|
5197
|
+
# @!attribute [rw] total_capacity
|
5198
|
+
# The combined amount of `Available` and `Unavailable` capacity in the
|
5199
|
+
# Capacity Block.
|
5200
|
+
# @return [Integer]
|
5201
|
+
#
|
5202
|
+
# @!attribute [rw] total_available_capacity
|
5203
|
+
# The remaining capacity. Indicates the number of resources that can
|
5204
|
+
# be launched into the Capacity Block.
|
5205
|
+
# @return [Integer]
|
5206
|
+
#
|
5207
|
+
# @!attribute [rw] total_unavailable_capacity
|
5208
|
+
# The unavailable capacity. Indicates the instance capacity that is
|
5209
|
+
# unavailable for use due to a system status check failure.
|
5210
|
+
# @return [Integer]
|
5211
|
+
#
|
5212
|
+
# @!attribute [rw] capacity_reservation_statuses
|
5213
|
+
# The availability of capacity for the Capacity Block reservations.
|
5214
|
+
# @return [Array<Types::CapacityReservationStatus>]
|
5215
|
+
#
|
5216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockStatus AWS API Documentation
|
5217
|
+
#
|
5218
|
+
class CapacityBlockStatus < Struct.new(
|
5219
|
+
:capacity_block_id,
|
5220
|
+
:interconnect_status,
|
5221
|
+
:total_capacity,
|
5222
|
+
:total_available_capacity,
|
5223
|
+
:total_unavailable_capacity,
|
5224
|
+
:capacity_reservation_statuses)
|
5225
|
+
SENSITIVE = []
|
5226
|
+
include Aws::Structure
|
5227
|
+
end
|
5228
|
+
|
5094
5229
|
# Describes a Capacity Reservation.
|
5095
5230
|
#
|
5096
5231
|
# @!attribute [rw] capacity_reservation_id
|
@@ -5301,6 +5436,10 @@ module Aws::EC2
|
|
5301
5436
|
# have in your account at the requested date and time.
|
5302
5437
|
# @return [String]
|
5303
5438
|
#
|
5439
|
+
# @!attribute [rw] capacity_block_id
|
5440
|
+
# The ID of the Capacity Block.
|
5441
|
+
# @return [String]
|
5442
|
+
#
|
5304
5443
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservation AWS API Documentation
|
5305
5444
|
#
|
5306
5445
|
class CapacityReservation < Struct.new(
|
@@ -5330,7 +5469,8 @@ module Aws::EC2
|
|
5330
5469
|
:reservation_type,
|
5331
5470
|
:unused_reservation_billing_owner_id,
|
5332
5471
|
:commitment_info,
|
5333
|
-
:delivery_preference
|
5472
|
+
:delivery_preference,
|
5473
|
+
:capacity_block_id)
|
5334
5474
|
SENSITIVE = []
|
5335
5475
|
include Aws::Structure
|
5336
5476
|
end
|
@@ -5792,6 +5932,38 @@ module Aws::EC2
|
|
5792
5932
|
include Aws::Structure
|
5793
5933
|
end
|
5794
5934
|
|
5935
|
+
# Describes the availability of capacity for a Capacity Reservation.
|
5936
|
+
#
|
5937
|
+
# @!attribute [rw] capacity_reservation_id
|
5938
|
+
# The ID of the Capacity Reservation.
|
5939
|
+
# @return [String]
|
5940
|
+
#
|
5941
|
+
# @!attribute [rw] total_capacity
|
5942
|
+
# The combined amount of `Available` and `Unavailable` capacity in the
|
5943
|
+
# Capacity Reservation.
|
5944
|
+
# @return [Integer]
|
5945
|
+
#
|
5946
|
+
# @!attribute [rw] total_available_capacity
|
5947
|
+
# The remaining capacity. Indicates the amount of resources that can
|
5948
|
+
# be launched into the Capacity Reservation.
|
5949
|
+
# @return [Integer]
|
5950
|
+
#
|
5951
|
+
# @!attribute [rw] total_unavailable_capacity
|
5952
|
+
# The used capacity. Indicates that the capacity is in use by
|
5953
|
+
# resources that are running in the Capacity Reservation.
|
5954
|
+
# @return [Integer]
|
5955
|
+
#
|
5956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservationStatus AWS API Documentation
|
5957
|
+
#
|
5958
|
+
class CapacityReservationStatus < Struct.new(
|
5959
|
+
:capacity_reservation_id,
|
5960
|
+
:total_capacity,
|
5961
|
+
:total_available_capacity,
|
5962
|
+
:total_unavailable_capacity)
|
5963
|
+
SENSITIVE = []
|
5964
|
+
include Aws::Structure
|
5965
|
+
end
|
5966
|
+
|
5795
5967
|
# Describes a target Capacity Reservation or Capacity Reservation group.
|
5796
5968
|
#
|
5797
5969
|
# @!attribute [rw] capacity_reservation_id
|
@@ -8662,11 +8834,11 @@ module Aws::EC2
|
|
8662
8834
|
# @return [String]
|
8663
8835
|
#
|
8664
8836
|
# @!attribute [rw] ip_address
|
8665
|
-
#
|
8837
|
+
# The IP address for the customer gateway device's outside interface.
|
8666
8838
|
# The address must be static. If `OutsideIpAddressType` in your VPN
|
8667
8839
|
# connection options is set to `PrivateIpv4`, you can use an RFC6598
|
8668
8840
|
# or RFC1918 private IPv4 address. If `OutsideIpAddressType` is set to
|
8669
|
-
# `
|
8841
|
+
# `Ipv6`, you can use an IPv6 address.
|
8670
8842
|
# @return [String]
|
8671
8843
|
#
|
8672
8844
|
# @!attribute [rw] bgp_asn_extended
|
@@ -15483,11 +15655,13 @@ module Aws::EC2
|
|
15483
15655
|
# @return [String]
|
15484
15656
|
#
|
15485
15657
|
# @!attribute [rw] ip_address
|
15486
|
-
#
|
15658
|
+
# The IP address for the customer gateway device's outside interface.
|
15487
15659
|
# The address must be static. If `OutsideIpAddressType` in your VPN
|
15488
15660
|
# connection options is set to `PrivateIpv4`, you can use an RFC6598
|
15489
15661
|
# or RFC1918 private IPv4 address. If `OutsideIpAddressType` is set to
|
15490
|
-
# `PublicIpv4`, you can use a public IPv4 address.
|
15662
|
+
# `PublicIpv4`, you can use a public IPv4 address. If
|
15663
|
+
# `OutsideIpAddressType` is set to `Ipv6`, you can use a public IPv6
|
15664
|
+
# address.
|
15491
15665
|
# @return [String]
|
15492
15666
|
#
|
15493
15667
|
# @!attribute [rw] bgp_asn
|
@@ -19551,6 +19725,14 @@ module Aws::EC2
|
|
19551
19725
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
19552
19726
|
# @return [Integer]
|
19553
19727
|
#
|
19728
|
+
# @!attribute [rw] ultraserver_type
|
19729
|
+
# The EC2 UltraServer type of the Capacity Block offerings.
|
19730
|
+
# @return [String]
|
19731
|
+
#
|
19732
|
+
# @!attribute [rw] ultraserver_count
|
19733
|
+
# The number of EC2 UltraServers in the offerings.
|
19734
|
+
# @return [Integer]
|
19735
|
+
#
|
19554
19736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferingsRequest AWS API Documentation
|
19555
19737
|
#
|
19556
19738
|
class DescribeCapacityBlockOfferingsRequest < Struct.new(
|
@@ -19561,7 +19743,9 @@ module Aws::EC2
|
|
19561
19743
|
:end_date_range,
|
19562
19744
|
:capacity_duration_hours,
|
19563
19745
|
:next_token,
|
19564
|
-
:max_results
|
19746
|
+
:max_results,
|
19747
|
+
:ultraserver_type,
|
19748
|
+
:ultraserver_count)
|
19565
19749
|
SENSITIVE = []
|
19566
19750
|
include Aws::Structure
|
19567
19751
|
end
|
@@ -19584,6 +19768,152 @@ module Aws::EC2
|
|
19584
19768
|
include Aws::Structure
|
19585
19769
|
end
|
19586
19770
|
|
19771
|
+
# @!attribute [rw] capacity_block_ids
|
19772
|
+
# The ID of the Capacity Block.
|
19773
|
+
# @return [Array<String>]
|
19774
|
+
#
|
19775
|
+
# @!attribute [rw] next_token
|
19776
|
+
# The token to use to retrieve the next page of results.
|
19777
|
+
# @return [String]
|
19778
|
+
#
|
19779
|
+
# @!attribute [rw] max_results
|
19780
|
+
# The maximum number of items to return for this request. To get the
|
19781
|
+
# next page of items, make another request with the token returned in
|
19782
|
+
# the output. For more information, see [Pagination][1].
|
19783
|
+
#
|
19784
|
+
#
|
19785
|
+
#
|
19786
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
19787
|
+
# @return [Integer]
|
19788
|
+
#
|
19789
|
+
# @!attribute [rw] filters
|
19790
|
+
# One or more filters.
|
19791
|
+
#
|
19792
|
+
# * `interconnect-status` - The status of the interconnect for the
|
19793
|
+
# Capacity Block (`ok` \| `impaired` \| `insufficient-data`).
|
19794
|
+
#
|
19795
|
+
# ^
|
19796
|
+
# @return [Array<Types::Filter>]
|
19797
|
+
#
|
19798
|
+
# @!attribute [rw] dry_run
|
19799
|
+
# Checks whether you have the required permissions for the action,
|
19800
|
+
# without actually making the request, and provides an error response.
|
19801
|
+
# If you have the required permissions, the error response is
|
19802
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
19803
|
+
# @return [Boolean]
|
19804
|
+
#
|
19805
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockStatusRequest AWS API Documentation
|
19806
|
+
#
|
19807
|
+
class DescribeCapacityBlockStatusRequest < Struct.new(
|
19808
|
+
:capacity_block_ids,
|
19809
|
+
:next_token,
|
19810
|
+
:max_results,
|
19811
|
+
:filters,
|
19812
|
+
:dry_run)
|
19813
|
+
SENSITIVE = []
|
19814
|
+
include Aws::Structure
|
19815
|
+
end
|
19816
|
+
|
19817
|
+
# @!attribute [rw] capacity_block_statuses
|
19818
|
+
# The availability of capacity for a Capacity Block.
|
19819
|
+
# @return [Array<Types::CapacityBlockStatus>]
|
19820
|
+
#
|
19821
|
+
# @!attribute [rw] next_token
|
19822
|
+
# The token to use to retrieve the next page of results. This value is
|
19823
|
+
# `null` when there are no more results to return.
|
19824
|
+
# @return [String]
|
19825
|
+
#
|
19826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockStatusResult AWS API Documentation
|
19827
|
+
#
|
19828
|
+
class DescribeCapacityBlockStatusResult < Struct.new(
|
19829
|
+
:capacity_block_statuses,
|
19830
|
+
:next_token)
|
19831
|
+
SENSITIVE = []
|
19832
|
+
include Aws::Structure
|
19833
|
+
end
|
19834
|
+
|
19835
|
+
# @!attribute [rw] capacity_block_ids
|
19836
|
+
# The IDs of the Capacity Blocks.
|
19837
|
+
# @return [Array<String>]
|
19838
|
+
#
|
19839
|
+
# @!attribute [rw] next_token
|
19840
|
+
# The token to use to retrieve the next page of results.
|
19841
|
+
# @return [String]
|
19842
|
+
#
|
19843
|
+
# @!attribute [rw] max_results
|
19844
|
+
# The maximum number of items to return for this request. To get the
|
19845
|
+
# next page of items, make another request with the token returned in
|
19846
|
+
# the output. For more information, see [Pagination][1].
|
19847
|
+
#
|
19848
|
+
#
|
19849
|
+
#
|
19850
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
19851
|
+
# @return [Integer]
|
19852
|
+
#
|
19853
|
+
# @!attribute [rw] filters
|
19854
|
+
# One or more filters.
|
19855
|
+
#
|
19856
|
+
# * `capacity-block-id` - The ID of the Capacity Block.
|
19857
|
+
#
|
19858
|
+
# * `ultraserver-type` - The Capacity Block type. The type can be
|
19859
|
+
# `instances` or `ultraservers`.
|
19860
|
+
#
|
19861
|
+
# * `availability-zone` - The Availability Zone of the Capacity Block.
|
19862
|
+
#
|
19863
|
+
# * `start-date` - The date and time at which the Capacity Block was
|
19864
|
+
# started.
|
19865
|
+
#
|
19866
|
+
# * `end-date` - The date and time at which the Capacity Block
|
19867
|
+
# expires. When a Capacity Block expires, all instances in the
|
19868
|
+
# Capacity Block are terminated.
|
19869
|
+
#
|
19870
|
+
# * `create-date` - The date and time at which the Capacity Block was
|
19871
|
+
# created.
|
19872
|
+
#
|
19873
|
+
# * `state` - The state of the Capacity Block (`active` \| `expired`
|
19874
|
+
# \| `unavailable` \| `cancelled` \| `failed` \| `scheduled` \|
|
19875
|
+
# `payment-pending` \| `payment-failed`).
|
19876
|
+
#
|
19877
|
+
# * `tags` - The tags assigned to the Capacity Block.
|
19878
|
+
# @return [Array<Types::Filter>]
|
19879
|
+
#
|
19880
|
+
# @!attribute [rw] dry_run
|
19881
|
+
# Checks whether you have the required permissions for the action,
|
19882
|
+
# without actually making the request, and provides an error response.
|
19883
|
+
# If you have the required permissions, the error response is
|
19884
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
19885
|
+
# @return [Boolean]
|
19886
|
+
#
|
19887
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlocksRequest AWS API Documentation
|
19888
|
+
#
|
19889
|
+
class DescribeCapacityBlocksRequest < Struct.new(
|
19890
|
+
:capacity_block_ids,
|
19891
|
+
:next_token,
|
19892
|
+
:max_results,
|
19893
|
+
:filters,
|
19894
|
+
:dry_run)
|
19895
|
+
SENSITIVE = []
|
19896
|
+
include Aws::Structure
|
19897
|
+
end
|
19898
|
+
|
19899
|
+
# @!attribute [rw] capacity_blocks
|
19900
|
+
# The Capacity Blocks.
|
19901
|
+
# @return [Array<Types::CapacityBlock>]
|
19902
|
+
#
|
19903
|
+
# @!attribute [rw] next_token
|
19904
|
+
# The token to use to retrieve the next page of results. This value is
|
19905
|
+
# `null` when there are no more results to return.
|
19906
|
+
# @return [String]
|
19907
|
+
#
|
19908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlocksResult AWS API Documentation
|
19909
|
+
#
|
19910
|
+
class DescribeCapacityBlocksResult < Struct.new(
|
19911
|
+
:capacity_blocks,
|
19912
|
+
:next_token)
|
19913
|
+
SENSITIVE = []
|
19914
|
+
include Aws::Structure
|
19915
|
+
end
|
19916
|
+
|
19587
19917
|
# @!attribute [rw] capacity_reservation_ids
|
19588
19918
|
# The ID of the Capacity Reservation.
|
19589
19919
|
# @return [Array<String>]
|
@@ -27726,6 +28056,8 @@ module Aws::EC2
|
|
27726
28056
|
#
|
27727
28057
|
# * `group-id`: The security group ID.
|
27728
28058
|
#
|
28059
|
+
# * `group-owner-id`: The group owner ID.
|
28060
|
+
#
|
27729
28061
|
# * `vpc-id`: The ID of the associated VPC.
|
27730
28062
|
#
|
27731
28063
|
# * `vpc-owner-id`: The account ID of the VPC owner.
|
@@ -34187,11 +34519,14 @@ module Aws::EC2
|
|
34187
34519
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34188
34520
|
# selects an Availability Zone within the Region.
|
34189
34521
|
#
|
34190
|
-
# This parameter is not supported when using [CreateImage][1]
|
34522
|
+
# This parameter is not supported when using [CreateImage][1],
|
34523
|
+
# [DescribeImages][2], and [RunInstances][3].
|
34191
34524
|
#
|
34192
34525
|
#
|
34193
34526
|
#
|
34194
34527
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34528
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
34529
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
34195
34530
|
# @return [String]
|
34196
34531
|
#
|
34197
34532
|
# @!attribute [rw] encrypted
|
@@ -34288,11 +34623,14 @@ module Aws::EC2
|
|
34288
34623
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34289
34624
|
# selects an Availability Zone within the Region.
|
34290
34625
|
#
|
34291
|
-
# This parameter is not supported when using [CreateImage][1]
|
34626
|
+
# This parameter is not supported when using [CreateImage][1],
|
34627
|
+
# [DescribeImages][2], and [RunInstances][3].
|
34292
34628
|
#
|
34293
34629
|
#
|
34294
34630
|
#
|
34295
34631
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34632
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
34633
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
34296
34634
|
# @return [String]
|
34297
34635
|
#
|
34298
34636
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
|
@@ -34428,15 +34766,15 @@ module Aws::EC2
|
|
34428
34766
|
# @return [String]
|
34429
34767
|
#
|
34430
34768
|
# @!attribute [rw] associated_resource
|
34431
|
-
# The ARN of the Amazon
|
34432
|
-
# attached.
|
34769
|
+
# The ARN of the Amazon Web Services-managed resource to which the
|
34770
|
+
# volume is attached.
|
34433
34771
|
# @return [String]
|
34434
34772
|
#
|
34435
34773
|
# @!attribute [rw] volume_owner_id
|
34436
34774
|
# The ID of the Amazon Web Services account that owns the volume.
|
34437
34775
|
#
|
34438
34776
|
# This parameter is returned only for volumes that are attached to
|
34439
|
-
#
|
34777
|
+
# Amazon Web Services-managed resources.
|
34440
34778
|
# @return [String]
|
34441
34779
|
#
|
34442
34780
|
# @!attribute [rw] operator
|
@@ -39637,6 +39975,10 @@ module Aws::EC2
|
|
39637
39975
|
# request.
|
39638
39976
|
# @return [String]
|
39639
39977
|
#
|
39978
|
+
# @!attribute [rw] context
|
39979
|
+
# Reserved.
|
39980
|
+
# @return [String]
|
39981
|
+
#
|
39640
39982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceTypesFromInstanceRequirementsRequest AWS API Documentation
|
39641
39983
|
#
|
39642
39984
|
class GetInstanceTypesFromInstanceRequirementsRequest < Struct.new(
|
@@ -39645,7 +39987,8 @@ module Aws::EC2
|
|
39645
39987
|
:virtualization_types,
|
39646
39988
|
:instance_requirements,
|
39647
39989
|
:max_results,
|
39648
|
-
:next_token
|
39990
|
+
:next_token,
|
39991
|
+
:context)
|
39649
39992
|
SENSITIVE = []
|
39650
39993
|
include Aws::Structure
|
39651
39994
|
end
|
@@ -44168,6 +44511,16 @@ module Aws::EC2
|
|
44168
44511
|
# The CPU options for the instance.
|
44169
44512
|
# @return [Types::CpuOptions]
|
44170
44513
|
#
|
44514
|
+
# @!attribute [rw] capacity_block_id
|
44515
|
+
# The ID of the Capacity Block.
|
44516
|
+
#
|
44517
|
+
# <note markdown="1"> For P5 instances, a Capacity Block ID refers to a group of
|
44518
|
+
# instances. For Trn2u instances, a capacity block ID refers to an EC2
|
44519
|
+
# UltraServer.
|
44520
|
+
#
|
44521
|
+
# </note>
|
44522
|
+
# @return [String]
|
44523
|
+
#
|
44171
44524
|
# @!attribute [rw] capacity_reservation_id
|
44172
44525
|
# The ID of the Capacity Reservation.
|
44173
44526
|
# @return [String]
|
@@ -44409,6 +44762,7 @@ module Aws::EC2
|
|
44409
44762
|
:tags,
|
44410
44763
|
:virtualization_type,
|
44411
44764
|
:cpu_options,
|
44765
|
+
:capacity_block_id,
|
44412
44766
|
:capacity_reservation_id,
|
44413
44767
|
:capacity_reservation_specification,
|
44414
44768
|
:hibernation_options,
|
@@ -47281,6 +47635,12 @@ module Aws::EC2
|
|
47281
47635
|
# in.
|
47282
47636
|
# @return [String]
|
47283
47637
|
#
|
47638
|
+
# @!attribute [rw] capacity_block_id
|
47639
|
+
# The ID of the Capacity Block. This parameter is only supported for
|
47640
|
+
# Ultraserver instances and identifies instances within the
|
47641
|
+
# Ultraserver domain.
|
47642
|
+
# @return [String]
|
47643
|
+
#
|
47284
47644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTopology AWS API Documentation
|
47285
47645
|
#
|
47286
47646
|
class InstanceTopology < Struct.new(
|
@@ -47289,7 +47649,8 @@ module Aws::EC2
|
|
47289
47649
|
:group_name,
|
47290
47650
|
:network_nodes,
|
47291
47651
|
:availability_zone,
|
47292
|
-
:zone_id
|
47652
|
+
:zone_id,
|
47653
|
+
:capacity_block_id)
|
47293
47654
|
SENSITIVE = []
|
47294
47655
|
include Aws::Structure
|
47295
47656
|
end
|
@@ -53898,7 +54259,7 @@ module Aws::EC2
|
|
53898
54259
|
# value is specified for `DeleteOnTermination`, the default is `true`
|
53899
54260
|
# and the volume is deleted when the instance is terminated. You
|
53900
54261
|
# can't modify the `DeleteOnTermination` attribute for volumes that
|
53901
|
-
# are attached to
|
54262
|
+
# are attached to Amazon Web Services-managed resources.
|
53902
54263
|
#
|
53903
54264
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
53904
54265
|
# must add them when you launch the instance. For more information,
|
@@ -62104,10 +62465,15 @@ module Aws::EC2
|
|
62104
62465
|
# The Capacity Reservation.
|
62105
62466
|
# @return [Types::CapacityReservation]
|
62106
62467
|
#
|
62468
|
+
# @!attribute [rw] capacity_blocks
|
62469
|
+
# The Capacity Block.
|
62470
|
+
# @return [Array<Types::CapacityBlock>]
|
62471
|
+
#
|
62107
62472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlockResult AWS API Documentation
|
62108
62473
|
#
|
62109
62474
|
class PurchaseCapacityBlockResult < Struct.new(
|
62110
|
-
:capacity_reservation
|
62475
|
+
:capacity_reservation,
|
62476
|
+
:capacity_blocks)
|
62111
62477
|
SENSITIVE = []
|
62112
62478
|
include Aws::Structure
|
62113
62479
|
end
|
@@ -68857,6 +69223,11 @@ module Aws::EC2
|
|
68857
69223
|
# The association's state reason.
|
68858
69224
|
# @return [String]
|
68859
69225
|
#
|
69226
|
+
# @!attribute [rw] group_owner_id
|
69227
|
+
# The Amazon Web Services account ID of the owner of the security
|
69228
|
+
# group.
|
69229
|
+
# @return [String]
|
69230
|
+
#
|
68860
69231
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupVpcAssociation AWS API Documentation
|
68861
69232
|
#
|
68862
69233
|
class SecurityGroupVpcAssociation < Struct.new(
|
@@ -68864,7 +69235,8 @@ module Aws::EC2
|
|
68864
69235
|
:vpc_id,
|
68865
69236
|
:vpc_owner_id,
|
68866
69237
|
:state,
|
68867
|
-
:state_reason
|
69238
|
+
:state_reason,
|
69239
|
+
:group_owner_id)
|
68868
69240
|
SENSITIVE = []
|
68869
69241
|
include Aws::Structure
|
68870
69242
|
end
|
@@ -76376,16 +76748,16 @@ module Aws::EC2
|
|
76376
76748
|
# @return [Boolean]
|
76377
76749
|
#
|
76378
76750
|
# @!attribute [rw] associated_resource
|
76379
|
-
# The ARN of the Amazon
|
76380
|
-
# attached.
|
76751
|
+
# The ARN of the Amazon Web Services-managed resource to which the
|
76752
|
+
# volume is attached.
|
76381
76753
|
# @return [String]
|
76382
76754
|
#
|
76383
76755
|
# @!attribute [rw] instance_owning_service
|
76384
|
-
# The service principal of Amazon Web Services service that owns
|
76385
|
-
# underlying
|
76756
|
+
# The service principal of the Amazon Web Services service that owns
|
76757
|
+
# the underlying resource to which the volume is attached.
|
76386
76758
|
#
|
76387
76759
|
# This parameter is returned only for volumes that are attached to
|
76388
|
-
#
|
76760
|
+
# Amazon Web Services-managed resources.
|
76389
76761
|
# @return [String]
|
76390
76762
|
#
|
76391
76763
|
# @!attribute [rw] volume_id
|
@@ -76395,15 +76767,15 @@ module Aws::EC2
|
|
76395
76767
|
# @!attribute [rw] instance_id
|
76396
76768
|
# The ID of the instance.
|
76397
76769
|
#
|
76398
|
-
# If the volume is attached to
|
76399
|
-
# `null`.
|
76770
|
+
# If the volume is attached to an Amazon Web Services-managed
|
76771
|
+
# resource, this parameter returns `null`.
|
76400
76772
|
# @return [String]
|
76401
76773
|
#
|
76402
76774
|
# @!attribute [rw] device
|
76403
76775
|
# The device name.
|
76404
76776
|
#
|
76405
|
-
# If the volume is attached to
|
76406
|
-
# `null`.
|
76777
|
+
# If the volume is attached to an Amazon Web Services-managed
|
76778
|
+
# resource, this parameter returns `null`.
|
76407
76779
|
# @return [String]
|
76408
76780
|
#
|
76409
76781
|
# @!attribute [rw] state
|
@@ -77731,7 +78103,7 @@ module Aws::EC2
|
|
77731
78103
|
# The type of IPv4 address assigned to the outside interface of the
|
77732
78104
|
# customer gateway.
|
77733
78105
|
#
|
77734
|
-
# Valid values: `PrivateIpv4` \| `PublicIpv4`
|
78106
|
+
# Valid values: `PrivateIpv4` \| `PublicIpv4` \| `Ipv6`
|
77735
78107
|
#
|
77736
78108
|
# Default: `PublicIpv4`
|
77737
78109
|
# @return [String]
|
@@ -77810,10 +78182,10 @@ module Aws::EC2
|
|
77810
78182
|
# @return [String]
|
77811
78183
|
#
|
77812
78184
|
# @!attribute [rw] outside_ip_address_type
|
77813
|
-
# The type of
|
78185
|
+
# The type of IP address assigned to the outside interface of the
|
77814
78186
|
# customer gateway device.
|
77815
78187
|
#
|
77816
|
-
# Valid values: `PrivateIpv4` \| `PublicIpv4`
|
78188
|
+
# Valid values: `PrivateIpv4` \| `PublicIpv4` \| `Ipv6`
|
77817
78189
|
#
|
77818
78190
|
# Default: `PublicIpv4`
|
77819
78191
|
# @return [String]
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -334,7 +334,7 @@ module Aws::EC2
|
|
334
334
|
# outpost_arn: "String",
|
335
335
|
# tag_specifications: [
|
336
336
|
# {
|
337
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, mac-modification-task
|
337
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, capacity-block, mac-modification-task
|
338
338
|
# tags: [
|
339
339
|
# {
|
340
340
|
# key: "String",
|