aws-sdk-ec2 1.536.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +347 -145
- data/lib/aws-sdk-ec2/client_api.rb +108 -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 +376 -19
- 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 +145 -102
- 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 +77 -7
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- metadata +1 -1
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -409,7 +409,7 @@ module Aws::EC2
|
|
409
409
|
# ],
|
410
410
|
# tag_specifications: [
|
411
411
|
# {
|
412
|
-
# 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
|
412
|
+
# 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
|
413
413
|
# tags: [
|
414
414
|
# {
|
415
415
|
# key: "String",
|
@@ -907,7 +907,7 @@ module Aws::EC2
|
|
907
907
|
# interface_type: "efa", # accepts efa, efa-only, branch, trunk
|
908
908
|
# tag_specifications: [
|
909
909
|
# {
|
910
|
-
# 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
|
910
|
+
# 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
|
911
911
|
# tags: [
|
912
912
|
# {
|
913
913
|
# key: "String",
|
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
|
@@ -19553,6 +19725,14 @@ module Aws::EC2
|
|
19553
19725
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
19554
19726
|
# @return [Integer]
|
19555
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
|
+
#
|
19556
19736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferingsRequest AWS API Documentation
|
19557
19737
|
#
|
19558
19738
|
class DescribeCapacityBlockOfferingsRequest < Struct.new(
|
@@ -19563,7 +19743,9 @@ module Aws::EC2
|
|
19563
19743
|
:end_date_range,
|
19564
19744
|
:capacity_duration_hours,
|
19565
19745
|
:next_token,
|
19566
|
-
:max_results
|
19746
|
+
:max_results,
|
19747
|
+
:ultraserver_type,
|
19748
|
+
:ultraserver_count)
|
19567
19749
|
SENSITIVE = []
|
19568
19750
|
include Aws::Structure
|
19569
19751
|
end
|
@@ -19586,6 +19768,152 @@ module Aws::EC2
|
|
19586
19768
|
include Aws::Structure
|
19587
19769
|
end
|
19588
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
|
+
|
19589
19917
|
# @!attribute [rw] capacity_reservation_ids
|
19590
19918
|
# The ID of the Capacity Reservation.
|
19591
19919
|
# @return [Array<String>]
|
@@ -34191,11 +34519,14 @@ module Aws::EC2
|
|
34191
34519
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34192
34520
|
# selects an Availability Zone within the Region.
|
34193
34521
|
#
|
34194
|
-
# 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].
|
34195
34524
|
#
|
34196
34525
|
#
|
34197
34526
|
#
|
34198
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
|
34199
34530
|
# @return [String]
|
34200
34531
|
#
|
34201
34532
|
# @!attribute [rw] encrypted
|
@@ -34292,11 +34623,14 @@ module Aws::EC2
|
|
34292
34623
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34293
34624
|
# selects an Availability Zone within the Region.
|
34294
34625
|
#
|
34295
|
-
# 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].
|
34296
34628
|
#
|
34297
34629
|
#
|
34298
34630
|
#
|
34299
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
|
34300
34634
|
# @return [String]
|
34301
34635
|
#
|
34302
34636
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
|
@@ -34432,15 +34766,15 @@ module Aws::EC2
|
|
34432
34766
|
# @return [String]
|
34433
34767
|
#
|
34434
34768
|
# @!attribute [rw] associated_resource
|
34435
|
-
# The ARN of the Amazon
|
34436
|
-
# attached.
|
34769
|
+
# The ARN of the Amazon Web Services-managed resource to which the
|
34770
|
+
# volume is attached.
|
34437
34771
|
# @return [String]
|
34438
34772
|
#
|
34439
34773
|
# @!attribute [rw] volume_owner_id
|
34440
34774
|
# The ID of the Amazon Web Services account that owns the volume.
|
34441
34775
|
#
|
34442
34776
|
# This parameter is returned only for volumes that are attached to
|
34443
|
-
#
|
34777
|
+
# Amazon Web Services-managed resources.
|
34444
34778
|
# @return [String]
|
34445
34779
|
#
|
34446
34780
|
# @!attribute [rw] operator
|
@@ -44177,6 +44511,16 @@ module Aws::EC2
|
|
44177
44511
|
# The CPU options for the instance.
|
44178
44512
|
# @return [Types::CpuOptions]
|
44179
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
|
+
#
|
44180
44524
|
# @!attribute [rw] capacity_reservation_id
|
44181
44525
|
# The ID of the Capacity Reservation.
|
44182
44526
|
# @return [String]
|
@@ -44418,6 +44762,7 @@ module Aws::EC2
|
|
44418
44762
|
:tags,
|
44419
44763
|
:virtualization_type,
|
44420
44764
|
:cpu_options,
|
44765
|
+
:capacity_block_id,
|
44421
44766
|
:capacity_reservation_id,
|
44422
44767
|
:capacity_reservation_specification,
|
44423
44768
|
:hibernation_options,
|
@@ -47290,6 +47635,12 @@ module Aws::EC2
|
|
47290
47635
|
# in.
|
47291
47636
|
# @return [String]
|
47292
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
|
+
#
|
47293
47644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTopology AWS API Documentation
|
47294
47645
|
#
|
47295
47646
|
class InstanceTopology < Struct.new(
|
@@ -47298,7 +47649,8 @@ module Aws::EC2
|
|
47298
47649
|
:group_name,
|
47299
47650
|
:network_nodes,
|
47300
47651
|
:availability_zone,
|
47301
|
-
:zone_id
|
47652
|
+
:zone_id,
|
47653
|
+
:capacity_block_id)
|
47302
47654
|
SENSITIVE = []
|
47303
47655
|
include Aws::Structure
|
47304
47656
|
end
|
@@ -53907,7 +54259,7 @@ module Aws::EC2
|
|
53907
54259
|
# value is specified for `DeleteOnTermination`, the default is `true`
|
53908
54260
|
# and the volume is deleted when the instance is terminated. You
|
53909
54261
|
# can't modify the `DeleteOnTermination` attribute for volumes that
|
53910
|
-
# are attached to
|
54262
|
+
# are attached to Amazon Web Services-managed resources.
|
53911
54263
|
#
|
53912
54264
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
53913
54265
|
# must add them when you launch the instance. For more information,
|
@@ -62113,10 +62465,15 @@ module Aws::EC2
|
|
62113
62465
|
# The Capacity Reservation.
|
62114
62466
|
# @return [Types::CapacityReservation]
|
62115
62467
|
#
|
62468
|
+
# @!attribute [rw] capacity_blocks
|
62469
|
+
# The Capacity Block.
|
62470
|
+
# @return [Array<Types::CapacityBlock>]
|
62471
|
+
#
|
62116
62472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlockResult AWS API Documentation
|
62117
62473
|
#
|
62118
62474
|
class PurchaseCapacityBlockResult < Struct.new(
|
62119
|
-
:capacity_reservation
|
62475
|
+
:capacity_reservation,
|
62476
|
+
:capacity_blocks)
|
62120
62477
|
SENSITIVE = []
|
62121
62478
|
include Aws::Structure
|
62122
62479
|
end
|
@@ -76391,16 +76748,16 @@ module Aws::EC2
|
|
76391
76748
|
# @return [Boolean]
|
76392
76749
|
#
|
76393
76750
|
# @!attribute [rw] associated_resource
|
76394
|
-
# The ARN of the Amazon
|
76395
|
-
# attached.
|
76751
|
+
# The ARN of the Amazon Web Services-managed resource to which the
|
76752
|
+
# volume is attached.
|
76396
76753
|
# @return [String]
|
76397
76754
|
#
|
76398
76755
|
# @!attribute [rw] instance_owning_service
|
76399
|
-
# The service principal of Amazon Web Services service that owns
|
76400
|
-
# underlying
|
76756
|
+
# The service principal of the Amazon Web Services service that owns
|
76757
|
+
# the underlying resource to which the volume is attached.
|
76401
76758
|
#
|
76402
76759
|
# This parameter is returned only for volumes that are attached to
|
76403
|
-
#
|
76760
|
+
# Amazon Web Services-managed resources.
|
76404
76761
|
# @return [String]
|
76405
76762
|
#
|
76406
76763
|
# @!attribute [rw] volume_id
|
@@ -76410,15 +76767,15 @@ module Aws::EC2
|
|
76410
76767
|
# @!attribute [rw] instance_id
|
76411
76768
|
# The ID of the instance.
|
76412
76769
|
#
|
76413
|
-
# If the volume is attached to
|
76414
|
-
# `null`.
|
76770
|
+
# If the volume is attached to an Amazon Web Services-managed
|
76771
|
+
# resource, this parameter returns `null`.
|
76415
76772
|
# @return [String]
|
76416
76773
|
#
|
76417
76774
|
# @!attribute [rw] device
|
76418
76775
|
# The device name.
|
76419
76776
|
#
|
76420
|
-
# If the volume is attached to
|
76421
|
-
# `null`.
|
76777
|
+
# If the volume is attached to an Amazon Web Services-managed
|
76778
|
+
# resource, this parameter returns `null`.
|
76422
76779
|
# @return [String]
|
76423
76780
|
#
|
76424
76781
|
# @!attribute [rw] state
|
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",
|