aws-sdk-ec2 1.536.0 → 1.538.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +382 -149
- data/lib/aws-sdk-ec2/client_api.rb +118 -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 +481 -21
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +147 -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 +88 -8
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- 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
|
@@ -9597,6 +9769,12 @@ module Aws::EC2
|
|
9597
9769
|
#
|
9598
9770
|
# * `false` - Use the network interface IP address as the source.
|
9599
9771
|
#
|
9772
|
+
# <note markdown="1"> `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect
|
9773
|
+
# Endpoints. To use `PreserveClientIp`, the value for `IpAddressType`
|
9774
|
+
# must be `ipv4`.
|
9775
|
+
#
|
9776
|
+
# </note>
|
9777
|
+
#
|
9600
9778
|
# Default: `false`
|
9601
9779
|
# @return [Boolean]
|
9602
9780
|
#
|
@@ -9613,6 +9791,25 @@ module Aws::EC2
|
|
9613
9791
|
# creation.
|
9614
9792
|
# @return [Array<Types::TagSpecification>]
|
9615
9793
|
#
|
9794
|
+
# @!attribute [rw] ip_address_type
|
9795
|
+
# The IP address type of the endpoint.
|
9796
|
+
#
|
9797
|
+
# If no value is specified, the default value is determined by the IP
|
9798
|
+
# address type of the subnet:
|
9799
|
+
#
|
9800
|
+
# * `dualstack` - If the subnet has both IPv4 and IPv6 CIDRs
|
9801
|
+
#
|
9802
|
+
# * `ipv4` - If the subnet has only IPv4 CIDRs
|
9803
|
+
#
|
9804
|
+
# * `ipv6` - If the subnet has only IPv6 CIDRs
|
9805
|
+
#
|
9806
|
+
# <note markdown="1"> `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect
|
9807
|
+
# Endpoints. To use `PreserveClientIp`, the value for `IpAddressType`
|
9808
|
+
# must be `ipv4`.
|
9809
|
+
#
|
9810
|
+
# </note>
|
9811
|
+
# @return [String]
|
9812
|
+
#
|
9616
9813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceConnectEndpointRequest AWS API Documentation
|
9617
9814
|
#
|
9618
9815
|
class CreateInstanceConnectEndpointRequest < Struct.new(
|
@@ -9621,7 +9818,8 @@ module Aws::EC2
|
|
9621
9818
|
:security_group_ids,
|
9622
9819
|
:preserve_client_ip,
|
9623
9820
|
:client_token,
|
9624
|
-
:tag_specifications
|
9821
|
+
:tag_specifications,
|
9822
|
+
:ip_address_type)
|
9625
9823
|
SENSITIVE = []
|
9626
9824
|
include Aws::Structure
|
9627
9825
|
end
|
@@ -19553,6 +19751,14 @@ module Aws::EC2
|
|
19553
19751
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
19554
19752
|
# @return [Integer]
|
19555
19753
|
#
|
19754
|
+
# @!attribute [rw] ultraserver_type
|
19755
|
+
# The EC2 UltraServer type of the Capacity Block offerings.
|
19756
|
+
# @return [String]
|
19757
|
+
#
|
19758
|
+
# @!attribute [rw] ultraserver_count
|
19759
|
+
# The number of EC2 UltraServers in the offerings.
|
19760
|
+
# @return [Integer]
|
19761
|
+
#
|
19556
19762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferingsRequest AWS API Documentation
|
19557
19763
|
#
|
19558
19764
|
class DescribeCapacityBlockOfferingsRequest < Struct.new(
|
@@ -19563,7 +19769,9 @@ module Aws::EC2
|
|
19563
19769
|
:end_date_range,
|
19564
19770
|
:capacity_duration_hours,
|
19565
19771
|
:next_token,
|
19566
|
-
:max_results
|
19772
|
+
:max_results,
|
19773
|
+
:ultraserver_type,
|
19774
|
+
:ultraserver_count)
|
19567
19775
|
SENSITIVE = []
|
19568
19776
|
include Aws::Structure
|
19569
19777
|
end
|
@@ -19586,6 +19794,152 @@ module Aws::EC2
|
|
19586
19794
|
include Aws::Structure
|
19587
19795
|
end
|
19588
19796
|
|
19797
|
+
# @!attribute [rw] capacity_block_ids
|
19798
|
+
# The ID of the Capacity Block.
|
19799
|
+
# @return [Array<String>]
|
19800
|
+
#
|
19801
|
+
# @!attribute [rw] next_token
|
19802
|
+
# The token to use to retrieve the next page of results.
|
19803
|
+
# @return [String]
|
19804
|
+
#
|
19805
|
+
# @!attribute [rw] max_results
|
19806
|
+
# The maximum number of items to return for this request. To get the
|
19807
|
+
# next page of items, make another request with the token returned in
|
19808
|
+
# the output. For more information, see [Pagination][1].
|
19809
|
+
#
|
19810
|
+
#
|
19811
|
+
#
|
19812
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
19813
|
+
# @return [Integer]
|
19814
|
+
#
|
19815
|
+
# @!attribute [rw] filters
|
19816
|
+
# One or more filters.
|
19817
|
+
#
|
19818
|
+
# * `interconnect-status` - The status of the interconnect for the
|
19819
|
+
# Capacity Block (`ok` \| `impaired` \| `insufficient-data`).
|
19820
|
+
#
|
19821
|
+
# ^
|
19822
|
+
# @return [Array<Types::Filter>]
|
19823
|
+
#
|
19824
|
+
# @!attribute [rw] dry_run
|
19825
|
+
# Checks whether you have the required permissions for the action,
|
19826
|
+
# without actually making the request, and provides an error response.
|
19827
|
+
# If you have the required permissions, the error response is
|
19828
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
19829
|
+
# @return [Boolean]
|
19830
|
+
#
|
19831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockStatusRequest AWS API Documentation
|
19832
|
+
#
|
19833
|
+
class DescribeCapacityBlockStatusRequest < Struct.new(
|
19834
|
+
:capacity_block_ids,
|
19835
|
+
:next_token,
|
19836
|
+
:max_results,
|
19837
|
+
:filters,
|
19838
|
+
:dry_run)
|
19839
|
+
SENSITIVE = []
|
19840
|
+
include Aws::Structure
|
19841
|
+
end
|
19842
|
+
|
19843
|
+
# @!attribute [rw] capacity_block_statuses
|
19844
|
+
# The availability of capacity for a Capacity Block.
|
19845
|
+
# @return [Array<Types::CapacityBlockStatus>]
|
19846
|
+
#
|
19847
|
+
# @!attribute [rw] next_token
|
19848
|
+
# The token to use to retrieve the next page of results. This value is
|
19849
|
+
# `null` when there are no more results to return.
|
19850
|
+
# @return [String]
|
19851
|
+
#
|
19852
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockStatusResult AWS API Documentation
|
19853
|
+
#
|
19854
|
+
class DescribeCapacityBlockStatusResult < Struct.new(
|
19855
|
+
:capacity_block_statuses,
|
19856
|
+
:next_token)
|
19857
|
+
SENSITIVE = []
|
19858
|
+
include Aws::Structure
|
19859
|
+
end
|
19860
|
+
|
19861
|
+
# @!attribute [rw] capacity_block_ids
|
19862
|
+
# The IDs of the Capacity Blocks.
|
19863
|
+
# @return [Array<String>]
|
19864
|
+
#
|
19865
|
+
# @!attribute [rw] next_token
|
19866
|
+
# The token to use to retrieve the next page of results.
|
19867
|
+
# @return [String]
|
19868
|
+
#
|
19869
|
+
# @!attribute [rw] max_results
|
19870
|
+
# The maximum number of items to return for this request. To get the
|
19871
|
+
# next page of items, make another request with the token returned in
|
19872
|
+
# the output. For more information, see [Pagination][1].
|
19873
|
+
#
|
19874
|
+
#
|
19875
|
+
#
|
19876
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
19877
|
+
# @return [Integer]
|
19878
|
+
#
|
19879
|
+
# @!attribute [rw] filters
|
19880
|
+
# One or more filters.
|
19881
|
+
#
|
19882
|
+
# * `capacity-block-id` - The ID of the Capacity Block.
|
19883
|
+
#
|
19884
|
+
# * `ultraserver-type` - The Capacity Block type. The type can be
|
19885
|
+
# `instances` or `ultraservers`.
|
19886
|
+
#
|
19887
|
+
# * `availability-zone` - The Availability Zone of the Capacity Block.
|
19888
|
+
#
|
19889
|
+
# * `start-date` - The date and time at which the Capacity Block was
|
19890
|
+
# started.
|
19891
|
+
#
|
19892
|
+
# * `end-date` - The date and time at which the Capacity Block
|
19893
|
+
# expires. When a Capacity Block expires, all instances in the
|
19894
|
+
# Capacity Block are terminated.
|
19895
|
+
#
|
19896
|
+
# * `create-date` - The date and time at which the Capacity Block was
|
19897
|
+
# created.
|
19898
|
+
#
|
19899
|
+
# * `state` - The state of the Capacity Block (`active` \| `expired`
|
19900
|
+
# \| `unavailable` \| `cancelled` \| `failed` \| `scheduled` \|
|
19901
|
+
# `payment-pending` \| `payment-failed`).
|
19902
|
+
#
|
19903
|
+
# * `tags` - The tags assigned to the Capacity Block.
|
19904
|
+
# @return [Array<Types::Filter>]
|
19905
|
+
#
|
19906
|
+
# @!attribute [rw] dry_run
|
19907
|
+
# Checks whether you have the required permissions for the action,
|
19908
|
+
# without actually making the request, and provides an error response.
|
19909
|
+
# If you have the required permissions, the error response is
|
19910
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
19911
|
+
# @return [Boolean]
|
19912
|
+
#
|
19913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlocksRequest AWS API Documentation
|
19914
|
+
#
|
19915
|
+
class DescribeCapacityBlocksRequest < Struct.new(
|
19916
|
+
:capacity_block_ids,
|
19917
|
+
:next_token,
|
19918
|
+
:max_results,
|
19919
|
+
:filters,
|
19920
|
+
:dry_run)
|
19921
|
+
SENSITIVE = []
|
19922
|
+
include Aws::Structure
|
19923
|
+
end
|
19924
|
+
|
19925
|
+
# @!attribute [rw] capacity_blocks
|
19926
|
+
# The Capacity Blocks.
|
19927
|
+
# @return [Array<Types::CapacityBlock>]
|
19928
|
+
#
|
19929
|
+
# @!attribute [rw] next_token
|
19930
|
+
# The token to use to retrieve the next page of results. This value is
|
19931
|
+
# `null` when there are no more results to return.
|
19932
|
+
# @return [String]
|
19933
|
+
#
|
19934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlocksResult AWS API Documentation
|
19935
|
+
#
|
19936
|
+
class DescribeCapacityBlocksResult < Struct.new(
|
19937
|
+
:capacity_blocks,
|
19938
|
+
:next_token)
|
19939
|
+
SENSITIVE = []
|
19940
|
+
include Aws::Structure
|
19941
|
+
end
|
19942
|
+
|
19589
19943
|
# @!attribute [rw] capacity_reservation_ids
|
19590
19944
|
# The ID of the Capacity Reservation.
|
19591
19945
|
# @return [Array<String>]
|
@@ -34191,11 +34545,14 @@ module Aws::EC2
|
|
34191
34545
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34192
34546
|
# selects an Availability Zone within the Region.
|
34193
34547
|
#
|
34194
|
-
# This parameter is not supported when using [CreateImage][1]
|
34548
|
+
# This parameter is not supported when using [CreateImage][1],
|
34549
|
+
# [DescribeImages][2], and [RunInstances][3].
|
34195
34550
|
#
|
34196
34551
|
#
|
34197
34552
|
#
|
34198
34553
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34554
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
34555
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
34199
34556
|
# @return [String]
|
34200
34557
|
#
|
34201
34558
|
# @!attribute [rw] encrypted
|
@@ -34292,11 +34649,14 @@ module Aws::EC2
|
|
34292
34649
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34293
34650
|
# selects an Availability Zone within the Region.
|
34294
34651
|
#
|
34295
|
-
# This parameter is not supported when using [CreateImage][1]
|
34652
|
+
# This parameter is not supported when using [CreateImage][1],
|
34653
|
+
# [DescribeImages][2], and [RunInstances][3].
|
34296
34654
|
#
|
34297
34655
|
#
|
34298
34656
|
#
|
34299
34657
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34658
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
34659
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
34300
34660
|
# @return [String]
|
34301
34661
|
#
|
34302
34662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
|
@@ -34432,15 +34792,15 @@ module Aws::EC2
|
|
34432
34792
|
# @return [String]
|
34433
34793
|
#
|
34434
34794
|
# @!attribute [rw] associated_resource
|
34435
|
-
# The ARN of the Amazon
|
34436
|
-
# attached.
|
34795
|
+
# The ARN of the Amazon Web Services-managed resource to which the
|
34796
|
+
# volume is attached.
|
34437
34797
|
# @return [String]
|
34438
34798
|
#
|
34439
34799
|
# @!attribute [rw] volume_owner_id
|
34440
34800
|
# The ID of the Amazon Web Services account that owns the volume.
|
34441
34801
|
#
|
34442
34802
|
# This parameter is returned only for volumes that are attached to
|
34443
|
-
#
|
34803
|
+
# Amazon Web Services-managed resources.
|
34444
34804
|
# @return [String]
|
34445
34805
|
#
|
34446
34806
|
# @!attribute [rw] operator
|
@@ -34598,6 +34958,8 @@ module Aws::EC2
|
|
34598
34958
|
# @return [String]
|
34599
34959
|
#
|
34600
34960
|
# @!attribute [rw] fips_dns_name
|
34961
|
+
# The Federal Information Processing Standards (FIPS) compliant DNS
|
34962
|
+
# name of the EC2 Instance Connect Endpoint.
|
34601
34963
|
# @return [String]
|
34602
34964
|
#
|
34603
34965
|
# @!attribute [rw] network_interface_ids
|
@@ -34648,6 +35010,10 @@ module Aws::EC2
|
|
34648
35010
|
# The tags assigned to the EC2 Instance Connect Endpoint.
|
34649
35011
|
# @return [Array<Types::Tag>]
|
34650
35012
|
#
|
35013
|
+
# @!attribute [rw] ip_address_type
|
35014
|
+
# The IP address type of the endpoint.
|
35015
|
+
# @return [String]
|
35016
|
+
#
|
34651
35017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ec2InstanceConnectEndpoint AWS API Documentation
|
34652
35018
|
#
|
34653
35019
|
class Ec2InstanceConnectEndpoint < Struct.new(
|
@@ -34665,7 +35031,8 @@ module Aws::EC2
|
|
34665
35031
|
:subnet_id,
|
34666
35032
|
:preserve_client_ip,
|
34667
35033
|
:security_group_ids,
|
34668
|
-
:tags
|
35034
|
+
:tags,
|
35035
|
+
:ip_address_type)
|
34669
35036
|
SENSITIVE = []
|
34670
35037
|
include Aws::Structure
|
34671
35038
|
end
|
@@ -44069,6 +44436,46 @@ module Aws::EC2
|
|
44069
44436
|
include Aws::Structure
|
44070
44437
|
end
|
44071
44438
|
|
44439
|
+
# Information about the volume initialization. For more information, see
|
44440
|
+
# [Initialize Amazon EBS volumes][1].
|
44441
|
+
#
|
44442
|
+
#
|
44443
|
+
#
|
44444
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
|
44445
|
+
#
|
44446
|
+
# @!attribute [rw] initialization_type
|
44447
|
+
# The method used for volume initialization. Possible values include:
|
44448
|
+
#
|
44449
|
+
# * `default` - Volume initialized using the default volume
|
44450
|
+
# initialization rate or fast snapshot restore.
|
44451
|
+
#
|
44452
|
+
# * `provisioned-rate` - Volume initialized using an Amazon EBS
|
44453
|
+
# Provisioned Rate for Volume Initialization.
|
44454
|
+
# @return [String]
|
44455
|
+
#
|
44456
|
+
# @!attribute [rw] progress
|
44457
|
+
# The current volume initialization progress as a percentage (0-100).
|
44458
|
+
# Returns `100` when volume initialization has completed.
|
44459
|
+
# @return [Integer]
|
44460
|
+
#
|
44461
|
+
# @!attribute [rw] estimated_time_to_complete_in_seconds
|
44462
|
+
# The estimated remaining time, in seconds, for volume initialization
|
44463
|
+
# to complete. Returns `0` when volume initialization has completed.
|
44464
|
+
#
|
44465
|
+
# Only available for volumes created with Amazon EBS Provisioned Rate
|
44466
|
+
# for Volume Initialization.
|
44467
|
+
# @return [Integer]
|
44468
|
+
#
|
44469
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InitializationStatusDetails AWS API Documentation
|
44470
|
+
#
|
44471
|
+
class InitializationStatusDetails < Struct.new(
|
44472
|
+
:initialization_type,
|
44473
|
+
:progress,
|
44474
|
+
:estimated_time_to_complete_in_seconds)
|
44475
|
+
SENSITIVE = []
|
44476
|
+
include Aws::Structure
|
44477
|
+
end
|
44478
|
+
|
44072
44479
|
# Describes an instance.
|
44073
44480
|
#
|
44074
44481
|
# @!attribute [rw] architecture
|
@@ -44177,6 +44584,16 @@ module Aws::EC2
|
|
44177
44584
|
# The CPU options for the instance.
|
44178
44585
|
# @return [Types::CpuOptions]
|
44179
44586
|
#
|
44587
|
+
# @!attribute [rw] capacity_block_id
|
44588
|
+
# The ID of the Capacity Block.
|
44589
|
+
#
|
44590
|
+
# <note markdown="1"> For P5 instances, a Capacity Block ID refers to a group of
|
44591
|
+
# instances. For Trn2u instances, a capacity block ID refers to an EC2
|
44592
|
+
# UltraServer.
|
44593
|
+
#
|
44594
|
+
# </note>
|
44595
|
+
# @return [String]
|
44596
|
+
#
|
44180
44597
|
# @!attribute [rw] capacity_reservation_id
|
44181
44598
|
# The ID of the Capacity Reservation.
|
44182
44599
|
# @return [String]
|
@@ -44418,6 +44835,7 @@ module Aws::EC2
|
|
44418
44835
|
:tags,
|
44419
44836
|
:virtualization_type,
|
44420
44837
|
:cpu_options,
|
44838
|
+
:capacity_block_id,
|
44421
44839
|
:capacity_reservation_id,
|
44422
44840
|
:capacity_reservation_specification,
|
44423
44841
|
:hibernation_options,
|
@@ -47290,6 +47708,12 @@ module Aws::EC2
|
|
47290
47708
|
# in.
|
47291
47709
|
# @return [String]
|
47292
47710
|
#
|
47711
|
+
# @!attribute [rw] capacity_block_id
|
47712
|
+
# The ID of the Capacity Block. This parameter is only supported for
|
47713
|
+
# Ultraserver instances and identifies instances within the
|
47714
|
+
# Ultraserver domain.
|
47715
|
+
# @return [String]
|
47716
|
+
#
|
47293
47717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTopology AWS API Documentation
|
47294
47718
|
#
|
47295
47719
|
class InstanceTopology < Struct.new(
|
@@ -47298,7 +47722,8 @@ module Aws::EC2
|
|
47298
47722
|
:group_name,
|
47299
47723
|
:network_nodes,
|
47300
47724
|
:availability_zone,
|
47301
|
-
:zone_id
|
47725
|
+
:zone_id,
|
47726
|
+
:capacity_block_id)
|
47302
47727
|
SENSITIVE = []
|
47303
47728
|
include Aws::Structure
|
47304
47729
|
end
|
@@ -53907,7 +54332,7 @@ module Aws::EC2
|
|
53907
54332
|
# value is specified for `DeleteOnTermination`, the default is `true`
|
53908
54333
|
# and the volume is deleted when the instance is terminated. You
|
53909
54334
|
# can't modify the `DeleteOnTermination` attribute for volumes that
|
53910
|
-
# are attached to
|
54335
|
+
# are attached to Amazon Web Services-managed resources.
|
53911
54336
|
#
|
53912
54337
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
53913
54338
|
# must add them when you launch the instance. For more information,
|
@@ -62113,10 +62538,15 @@ module Aws::EC2
|
|
62113
62538
|
# The Capacity Reservation.
|
62114
62539
|
# @return [Types::CapacityReservation]
|
62115
62540
|
#
|
62541
|
+
# @!attribute [rw] capacity_blocks
|
62542
|
+
# The Capacity Block.
|
62543
|
+
# @return [Array<Types::CapacityBlock>]
|
62544
|
+
#
|
62116
62545
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlockResult AWS API Documentation
|
62117
62546
|
#
|
62118
62547
|
class PurchaseCapacityBlockResult < Struct.new(
|
62119
|
-
:capacity_reservation
|
62548
|
+
:capacity_reservation,
|
62549
|
+
:capacity_blocks)
|
62120
62550
|
SENSITIVE = []
|
62121
62551
|
include Aws::Structure
|
62122
62552
|
end
|
@@ -76391,16 +76821,16 @@ module Aws::EC2
|
|
76391
76821
|
# @return [Boolean]
|
76392
76822
|
#
|
76393
76823
|
# @!attribute [rw] associated_resource
|
76394
|
-
# The ARN of the Amazon
|
76395
|
-
# attached.
|
76824
|
+
# The ARN of the Amazon Web Services-managed resource to which the
|
76825
|
+
# volume is attached.
|
76396
76826
|
# @return [String]
|
76397
76827
|
#
|
76398
76828
|
# @!attribute [rw] instance_owning_service
|
76399
|
-
# The service principal of Amazon Web Services service that owns
|
76400
|
-
# underlying
|
76829
|
+
# The service principal of the Amazon Web Services service that owns
|
76830
|
+
# the underlying resource to which the volume is attached.
|
76401
76831
|
#
|
76402
76832
|
# This parameter is returned only for volumes that are attached to
|
76403
|
-
#
|
76833
|
+
# Amazon Web Services-managed resources.
|
76404
76834
|
# @return [String]
|
76405
76835
|
#
|
76406
76836
|
# @!attribute [rw] volume_id
|
@@ -76410,15 +76840,15 @@ module Aws::EC2
|
|
76410
76840
|
# @!attribute [rw] instance_id
|
76411
76841
|
# The ID of the instance.
|
76412
76842
|
#
|
76413
|
-
# If the volume is attached to
|
76414
|
-
# `null`.
|
76843
|
+
# If the volume is attached to an Amazon Web Services-managed
|
76844
|
+
# resource, this parameter returns `null`.
|
76415
76845
|
# @return [String]
|
76416
76846
|
#
|
76417
76847
|
# @!attribute [rw] device
|
76418
76848
|
# The device name.
|
76419
76849
|
#
|
76420
|
-
# If the volume is attached to
|
76421
|
-
# `null`.
|
76850
|
+
# If the volume is attached to an Amazon Web Services-managed
|
76851
|
+
# resource, this parameter returns `null`.
|
76422
76852
|
# @return [String]
|
76423
76853
|
#
|
76424
76854
|
# @!attribute [rw] state
|
@@ -76599,6 +77029,21 @@ module Aws::EC2
|
|
76599
77029
|
#
|
76600
77030
|
# @!attribute [rw] name
|
76601
77031
|
# The name of the volume status.
|
77032
|
+
#
|
77033
|
+
# * `io-enabled` - Indicates the volume I/O status. For more
|
77034
|
+
# information, see [Amazon EBS volume status checks][1].
|
77035
|
+
#
|
77036
|
+
# * `io-performance` - Indicates the volume performance status. For
|
77037
|
+
# more information, see [Amazon EBS volume status checks][1].
|
77038
|
+
#
|
77039
|
+
# * `initialization-state` - Indicates the status of the volume
|
77040
|
+
# initialization process. For more information, see [Initialize
|
77041
|
+
# Amazon EBS volumes][2].
|
77042
|
+
#
|
77043
|
+
#
|
77044
|
+
#
|
77045
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-checks.html
|
77046
|
+
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
|
76602
77047
|
# @return [String]
|
76603
77048
|
#
|
76604
77049
|
# @!attribute [rw] status
|
@@ -76702,6 +77147,20 @@ module Aws::EC2
|
|
76702
77147
|
# Information about the instances to which the volume is attached.
|
76703
77148
|
# @return [Array<Types::VolumeStatusAttachmentStatus>]
|
76704
77149
|
#
|
77150
|
+
# @!attribute [rw] initialization_status_details
|
77151
|
+
# Information about the volume initialization. It can take up to 5
|
77152
|
+
# minutes for the volume initialization information to be updated.
|
77153
|
+
#
|
77154
|
+
# Only available for volumes created from snapshots. Not available for
|
77155
|
+
# empty volumes created without a snapshot.
|
77156
|
+
#
|
77157
|
+
# For more information, see [ Initialize Amazon EBS volumes][1].
|
77158
|
+
#
|
77159
|
+
#
|
77160
|
+
#
|
77161
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
|
77162
|
+
# @return [Types::InitializationStatusDetails]
|
77163
|
+
#
|
76705
77164
|
# @!attribute [rw] availability_zone_id
|
76706
77165
|
# The ID of the Availability Zone.
|
76707
77166
|
# @return [String]
|
@@ -76716,6 +77175,7 @@ module Aws::EC2
|
|
76716
77175
|
:volume_id,
|
76717
77176
|
:volume_status,
|
76718
77177
|
:attachment_statuses,
|
77178
|
+
:initialization_status_details,
|
76719
77179
|
:availability_zone_id)
|
76720
77180
|
SENSITIVE = []
|
76721
77181
|
include Aws::Structure
|