aws-sdk-ec2 1.565.0 → 1.567.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 +165 -77
- data/lib/aws-sdk-ec2/client_api.rb +40 -0
- data/lib/aws-sdk-ec2/network_interface.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +3 -0
- data/lib/aws-sdk-ec2/subnet.rb +3 -0
- data/lib/aws-sdk-ec2/types.rb +176 -5
- data/lib/aws-sdk-ec2/vpc.rb +3 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +20 -0
- data/sig/network_interface.rbs +3 -0
- data/sig/types.rbs +28 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 423ea3e7f50369e047ef337ab463659865ff16b3f027f629b513167f0351cccf
|
|
4
|
+
data.tar.gz: d61b4add4e169aa5d10116c650c84b169dace57f089029dba4933876e0f6f27d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6acebf2f29a556f721d1304e57aacd95c484b220e297f17202dee25143fea4e7dad836e1a5a09411de5b42c28b9f56af4dea21777d544a67a554d9e65dac385
|
|
7
|
+
data.tar.gz: 530b66cc7d03e60b49380c898ee3c1477a8fe0e000dbe9525d9ff82fc2fcdd42ddabe9d47dcc830896a797c00db2ccb6e65832db27d02047025ba183cc51abf6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.567.0 (2025-10-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This released the DescribeCapacityReservationTopology API.
|
|
8
|
+
|
|
9
|
+
1.566.0 (2025-10-22)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds AvailabilityZoneId support for CreateNetworkInterface and DescribeNetworkInterfaces APIs.
|
|
13
|
+
|
|
4
14
|
1.565.0 (2025-10-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.567.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -4571,19 +4571,6 @@ module Aws::EC2
|
|
|
4571
4571
|
# and the instances continue to run until they are interrupted or you
|
|
4572
4572
|
# terminate them manually.
|
|
4573
4573
|
#
|
|
4574
|
-
# **Terminating an instance is permanent and irreversible.**
|
|
4575
|
-
#
|
|
4576
|
-
# After you terminate an instance, you can no longer connect to it, and
|
|
4577
|
-
# it can't be recovered. All attached Amazon EBS volumes that are
|
|
4578
|
-
# configured to be deleted on termination are also permanently deleted
|
|
4579
|
-
# and can't be recovered. All data stored on instance store volumes is
|
|
4580
|
-
# permanently lost. For more information, see [ How instance termination
|
|
4581
|
-
# works][1].
|
|
4582
|
-
#
|
|
4583
|
-
# Before you terminate an instance, ensure that you have backed up all
|
|
4584
|
-
# data that you need to retain after the termination to persistent
|
|
4585
|
-
# storage.
|
|
4586
|
-
#
|
|
4587
4574
|
# **Restrictions**
|
|
4588
4575
|
#
|
|
4589
4576
|
# * You can delete up to 100 fleets in a single request. If you exceed
|
|
@@ -4591,10 +4578,6 @@ module Aws::EC2
|
|
|
4591
4578
|
#
|
|
4592
4579
|
# ^
|
|
4593
4580
|
#
|
|
4594
|
-
#
|
|
4595
|
-
#
|
|
4596
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-ec2-instance-termination-works.html
|
|
4597
|
-
#
|
|
4598
4581
|
# @option params [Boolean] :dry_run
|
|
4599
4582
|
# Checks whether you have the required permissions for the action,
|
|
4600
4583
|
# without actually making the request, and provides an error response.
|
|
@@ -12509,6 +12492,7 @@ module Aws::EC2
|
|
|
12509
12492
|
# resp.network_interface.operator.principal #=> String
|
|
12510
12493
|
# resp.network_interface.associated_subnets #=> Array
|
|
12511
12494
|
# resp.network_interface.associated_subnets[0] #=> String
|
|
12495
|
+
# resp.network_interface.availability_zone_id #=> String
|
|
12512
12496
|
# resp.client_token #=> String
|
|
12513
12497
|
#
|
|
12514
12498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface AWS API Documentation
|
|
@@ -16871,31 +16855,31 @@ module Aws::EC2
|
|
|
16871
16855
|
req.send_request(options)
|
|
16872
16856
|
end
|
|
16873
16857
|
|
|
16874
|
-
# Creates a VPC with the specified CIDR blocks.
|
|
16858
|
+
# Creates a VPC with the specified CIDR blocks. For more information,
|
|
16859
|
+
# see [IP addressing for your VPCs and subnets][1] in the *Amazon VPC
|
|
16860
|
+
# User Guide*.
|
|
16875
16861
|
#
|
|
16876
|
-
#
|
|
16877
|
-
#
|
|
16878
|
-
#
|
|
16879
|
-
#
|
|
16880
|
-
# block, or an IPv6 CIDR block that you brought to Amazon Web Services.
|
|
16881
|
-
# For more information, see [IP addressing for your VPCs and subnets][1]
|
|
16882
|
-
# in the *Amazon VPC User Guide*.
|
|
16862
|
+
# You can optionally request an IPv6 CIDR block for the VPC. You can
|
|
16863
|
+
# request an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6
|
|
16864
|
+
# addresses or an IPv6 CIDR block from an IPv6 address pool that you
|
|
16865
|
+
# provisioned through bring your own IP addresses ([BYOIP][2]).
|
|
16883
16866
|
#
|
|
16884
16867
|
# By default, each instance that you launch in the VPC has the default
|
|
16885
16868
|
# DHCP options, which include only a default DNS server that we provide
|
|
16886
|
-
# (AmazonProvidedDNS). For more information, see [DHCP option sets][
|
|
16869
|
+
# (AmazonProvidedDNS). For more information, see [DHCP option sets][3]
|
|
16887
16870
|
# in the *Amazon VPC User Guide*.
|
|
16888
16871
|
#
|
|
16889
|
-
# You can specify
|
|
16890
|
-
# You can't change
|
|
16891
|
-
# information, see [
|
|
16892
|
-
#
|
|
16872
|
+
# You can specify the instance tenancy value for the VPC when you create
|
|
16873
|
+
# it. You can't change this value for the VPC after you create it. For
|
|
16874
|
+
# more information, see [Dedicated Instances][4] in the *Amazon EC2 User
|
|
16875
|
+
# Guide*.
|
|
16893
16876
|
#
|
|
16894
16877
|
#
|
|
16895
16878
|
#
|
|
16896
16879
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html
|
|
16897
|
-
# [2]: https://docs.aws.amazon.com/
|
|
16898
|
-
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
16880
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
|
16881
|
+
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html
|
|
16882
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html
|
|
16899
16883
|
#
|
|
16900
16884
|
# @option params [String] :cidr_block
|
|
16901
16885
|
# The IPv4 network range for the VPC, in CIDR notation. For example,
|
|
@@ -18448,19 +18432,6 @@ module Aws::EC2
|
|
|
18448
18432
|
# leaving 1000 or fewer. Then delete the fleet, and the remaining
|
|
18449
18433
|
# instances will be terminated automatically.
|
|
18450
18434
|
#
|
|
18451
|
-
# **Terminating an instance is permanent and irreversible.**
|
|
18452
|
-
#
|
|
18453
|
-
# After you terminate an instance, you can no longer connect to it, and
|
|
18454
|
-
# it can't be recovered. All attached Amazon EBS volumes that are
|
|
18455
|
-
# configured to be deleted on termination are also permanently deleted
|
|
18456
|
-
# and can't be recovered. All data stored on instance store volumes is
|
|
18457
|
-
# permanently lost. For more information, see [ How instance termination
|
|
18458
|
-
# works][1].
|
|
18459
|
-
#
|
|
18460
|
-
# Before you terminate an instance, ensure that you have backed up all
|
|
18461
|
-
# data that you need to retain after the termination to persistent
|
|
18462
|
-
# storage.
|
|
18463
|
-
#
|
|
18464
18435
|
# **Restrictions**
|
|
18465
18436
|
#
|
|
18466
18437
|
# * You can delete up to 25 fleets of type `instant` in a single
|
|
@@ -18476,12 +18447,11 @@ module Aws::EC2
|
|
|
18476
18447
|
# are deleted.
|
|
18477
18448
|
#
|
|
18478
18449
|
# For more information, see [Delete an EC2 Fleet request and the
|
|
18479
|
-
# instances in the fleet][
|
|
18450
|
+
# instances in the fleet][1] in the *Amazon EC2 User Guide*.
|
|
18480
18451
|
#
|
|
18481
18452
|
#
|
|
18482
18453
|
#
|
|
18483
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
18484
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/delete-fleet.html
|
|
18454
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/delete-fleet.html
|
|
18485
18455
|
#
|
|
18486
18456
|
# @option params [Boolean] :dry_run
|
|
18487
18457
|
# Checks whether you have the required permissions for the action,
|
|
@@ -24197,6 +24167,125 @@ module Aws::EC2
|
|
|
24197
24167
|
req.send_request(options)
|
|
24198
24168
|
end
|
|
24199
24169
|
|
|
24170
|
+
# Describes a tree-based hierarchy that represents the physical host
|
|
24171
|
+
# placement of your pending or active Capacity Reservations within an
|
|
24172
|
+
# Availability Zone or Local Zone. You can use this information to
|
|
24173
|
+
# determine the relative proximity of your capacity within the Amazon
|
|
24174
|
+
# Web Services network before it is launched and use this information to
|
|
24175
|
+
# allocate capacity together to support your tightly coupled workloads.
|
|
24176
|
+
#
|
|
24177
|
+
# Capacity Reservation topology is supported for specific instance types
|
|
24178
|
+
# only. For more information, see [Prerequisites for Amazon EC2 instance
|
|
24179
|
+
# topology][1] in the *Amazon EC2 User Guide*.
|
|
24180
|
+
#
|
|
24181
|
+
# <note markdown="1"> The Amazon EC2 API follows an eventual consistency model due to the
|
|
24182
|
+
# distributed nature of the system supporting it. As a result, when you
|
|
24183
|
+
# call the DescribeCapacityReservationTopology API command immediately
|
|
24184
|
+
# after launching instances, the response might return a `null` value
|
|
24185
|
+
# for `capacityBlockId` because the data might not have fully propagated
|
|
24186
|
+
# across all subsystems. For more information, see [Eventual consistency
|
|
24187
|
+
# in the Amazon EC2 API][2] in the *Amazon EC2 Developer Guide*.
|
|
24188
|
+
#
|
|
24189
|
+
# </note>
|
|
24190
|
+
#
|
|
24191
|
+
# For more information, see [Amazon EC2 topology][3] in the *Amazon EC2
|
|
24192
|
+
# User Guide*.
|
|
24193
|
+
#
|
|
24194
|
+
#
|
|
24195
|
+
#
|
|
24196
|
+
#
|
|
24197
|
+
#
|
|
24198
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-topology-prerequisites.html
|
|
24199
|
+
# [2]: https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html
|
|
24200
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-topology.html
|
|
24201
|
+
#
|
|
24202
|
+
# @option params [Boolean] :dry_run
|
|
24203
|
+
# Checks whether you have the required permissions for the operation,
|
|
24204
|
+
# without actually making the request, and provides an error response.
|
|
24205
|
+
# If you have the required permissions, the error response is
|
|
24206
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
24207
|
+
#
|
|
24208
|
+
# @option params [String] :next_token
|
|
24209
|
+
# The token returned from a previous paginated request. Pagination
|
|
24210
|
+
# continues from the end of the items returned by the previous request.
|
|
24211
|
+
#
|
|
24212
|
+
# @option params [Integer] :max_results
|
|
24213
|
+
# The maximum number of items to return for this request. To get the
|
|
24214
|
+
# next page of items, make another request with the token returned in
|
|
24215
|
+
# the output. For more information, see [Pagination][1].
|
|
24216
|
+
#
|
|
24217
|
+
# You can't specify this parameter and the Capacity Reservation IDs
|
|
24218
|
+
# parameter in the same request.
|
|
24219
|
+
#
|
|
24220
|
+
# Default: `10`
|
|
24221
|
+
#
|
|
24222
|
+
#
|
|
24223
|
+
#
|
|
24224
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
24225
|
+
#
|
|
24226
|
+
# @option params [Array<String>] :capacity_reservation_ids
|
|
24227
|
+
# The Capacity Reservation IDs.
|
|
24228
|
+
#
|
|
24229
|
+
# Default: Describes all your Capacity Reservations.
|
|
24230
|
+
#
|
|
24231
|
+
# Constraints: Maximum 100 explicitly specified Capacity Reservation
|
|
24232
|
+
# IDs.
|
|
24233
|
+
#
|
|
24234
|
+
# @option params [Array<Types::Filter>] :filters
|
|
24235
|
+
# The filters.
|
|
24236
|
+
#
|
|
24237
|
+
# * `availability-zone` - The name of the Availability Zone (for
|
|
24238
|
+
# example, `us-west-2a`) or Local Zone (for example,
|
|
24239
|
+
# `us-west-2-lax-1b`) that the Capacity Reservation is in.
|
|
24240
|
+
#
|
|
24241
|
+
# * `instance-type` - The instance type (for example, `p4d.24xlarge`) or
|
|
24242
|
+
# instance family (for example, `p4d*`). You can use the `*` wildcard
|
|
24243
|
+
# to match zero or more characters, or the `?` wildcard to match zero
|
|
24244
|
+
# or one character.
|
|
24245
|
+
#
|
|
24246
|
+
# @return [Types::DescribeCapacityReservationTopologyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
24247
|
+
#
|
|
24248
|
+
# * {Types::DescribeCapacityReservationTopologyResult#next_token #next_token} => String
|
|
24249
|
+
# * {Types::DescribeCapacityReservationTopologyResult#capacity_reservations #capacity_reservations} => Array<Types::CapacityReservationTopology>
|
|
24250
|
+
#
|
|
24251
|
+
# @example Request syntax with placeholder values
|
|
24252
|
+
#
|
|
24253
|
+
# resp = client.describe_capacity_reservation_topology({
|
|
24254
|
+
# dry_run: false,
|
|
24255
|
+
# next_token: "String",
|
|
24256
|
+
# max_results: 1,
|
|
24257
|
+
# capacity_reservation_ids: ["CapacityReservationId"],
|
|
24258
|
+
# filters: [
|
|
24259
|
+
# {
|
|
24260
|
+
# name: "String",
|
|
24261
|
+
# values: ["String"],
|
|
24262
|
+
# },
|
|
24263
|
+
# ],
|
|
24264
|
+
# })
|
|
24265
|
+
#
|
|
24266
|
+
# @example Response structure
|
|
24267
|
+
#
|
|
24268
|
+
# resp.next_token #=> String
|
|
24269
|
+
# resp.capacity_reservations #=> Array
|
|
24270
|
+
# resp.capacity_reservations[0].capacity_reservation_id #=> String
|
|
24271
|
+
# resp.capacity_reservations[0].capacity_block_id #=> String
|
|
24272
|
+
# resp.capacity_reservations[0].state #=> String
|
|
24273
|
+
# resp.capacity_reservations[0].instance_type #=> String
|
|
24274
|
+
# resp.capacity_reservations[0].group_name #=> String
|
|
24275
|
+
# resp.capacity_reservations[0].network_nodes #=> Array
|
|
24276
|
+
# resp.capacity_reservations[0].network_nodes[0] #=> String
|
|
24277
|
+
# resp.capacity_reservations[0].availability_zone_id #=> String
|
|
24278
|
+
# resp.capacity_reservations[0].availability_zone #=> String
|
|
24279
|
+
#
|
|
24280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservationTopology AWS API Documentation
|
|
24281
|
+
#
|
|
24282
|
+
# @overload describe_capacity_reservation_topology(params = {})
|
|
24283
|
+
# @param [Hash] params ({})
|
|
24284
|
+
def describe_capacity_reservation_topology(params = {}, options = {})
|
|
24285
|
+
req = build_request(:describe_capacity_reservation_topology, params)
|
|
24286
|
+
req.send_request(options)
|
|
24287
|
+
end
|
|
24288
|
+
|
|
24200
24289
|
# Describes one or more of your Capacity Reservations. The results
|
|
24201
24290
|
# describe only the Capacity Reservations in the Amazon Web Services
|
|
24202
24291
|
# Region that you're currently using.
|
|
@@ -29151,7 +29240,7 @@ module Aws::EC2
|
|
|
29151
29240
|
# support your tightly coupled workloads.
|
|
29152
29241
|
#
|
|
29153
29242
|
# Instance topology is supported for specific instance types only. For
|
|
29154
|
-
# more information, see [
|
|
29243
|
+
# more information, see [Prerequisites for Amazon EC2 instance
|
|
29155
29244
|
# topology][1] in the *Amazon EC2 User Guide*.
|
|
29156
29245
|
#
|
|
29157
29246
|
# <note markdown="1"> The Amazon EC2 API follows an eventual consistency model due to the
|
|
@@ -29164,8 +29253,8 @@ module Aws::EC2
|
|
|
29164
29253
|
#
|
|
29165
29254
|
# </note>
|
|
29166
29255
|
#
|
|
29167
|
-
# For more information, see [Amazon EC2
|
|
29168
|
-
#
|
|
29256
|
+
# For more information, see [Amazon EC2 topology][3] in the *Amazon EC2
|
|
29257
|
+
# User Guide*.
|
|
29169
29258
|
#
|
|
29170
29259
|
#
|
|
29171
29260
|
#
|
|
@@ -34651,6 +34740,9 @@ module Aws::EC2
|
|
|
34651
34740
|
# * `availability-zone` - The Availability Zone of the network
|
|
34652
34741
|
# interface.
|
|
34653
34742
|
#
|
|
34743
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
|
34744
|
+
# network interface.
|
|
34745
|
+
#
|
|
34654
34746
|
# * `description` - The description of the network interface.
|
|
34655
34747
|
#
|
|
34656
34748
|
# * `group-id` - The ID of a security group associated with the network
|
|
@@ -34883,6 +34975,7 @@ module Aws::EC2
|
|
|
34883
34975
|
# resp.network_interfaces[0].operator.principal #=> String
|
|
34884
34976
|
# resp.network_interfaces[0].associated_subnets #=> Array
|
|
34885
34977
|
# resp.network_interfaces[0].associated_subnets[0] #=> String
|
|
34978
|
+
# resp.network_interfaces[0].availability_zone_id #=> String
|
|
34886
34979
|
# resp.next_token #=> String
|
|
34887
34980
|
#
|
|
34888
34981
|
#
|
|
@@ -36998,12 +37091,22 @@ module Aws::EC2
|
|
|
36998
37091
|
#
|
|
36999
37092
|
# * `group-owner-id`: The group owner ID.
|
|
37000
37093
|
#
|
|
37001
|
-
# * `state`: The state of the association.
|
|
37002
|
-
#
|
|
37003
37094
|
# * `vpc-id`: The ID of the associated VPC.
|
|
37004
37095
|
#
|
|
37005
37096
|
# * `vpc-owner-id`: The account ID of the VPC owner.
|
|
37006
37097
|
#
|
|
37098
|
+
# * `state`: The state of the association.
|
|
37099
|
+
#
|
|
37100
|
+
# * `tag:<key>`: The key/value combination of a tag assigned to the
|
|
37101
|
+
# resource. Use the tag key in the filter name and the tag value as
|
|
37102
|
+
# the filter value. For example, to find all resources that have a tag
|
|
37103
|
+
# with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
|
|
37104
|
+
# the filter name and `TeamA` for the filter value.
|
|
37105
|
+
#
|
|
37106
|
+
# * `tag-key`: The key of a tag assigned to the resource. Use this
|
|
37107
|
+
# filter to find all resources assigned a tag with a specific key,
|
|
37108
|
+
# regardless of the tag value.
|
|
37109
|
+
#
|
|
37007
37110
|
# @option params [String] :next_token
|
|
37008
37111
|
# The token returned from a previous paginated request. Pagination
|
|
37009
37112
|
# continues from the end of the items returned by the previous request.
|
|
@@ -67180,22 +67283,8 @@ module Aws::EC2
|
|
|
67180
67283
|
req.send_request(options)
|
|
67181
67284
|
end
|
|
67182
67285
|
|
|
67183
|
-
#
|
|
67184
|
-
#
|
|
67185
|
-
# call succeeds.
|
|
67186
|
-
#
|
|
67187
|
-
# **Terminating an instance is permanent and irreversible.**
|
|
67188
|
-
#
|
|
67189
|
-
# After you terminate an instance, you can no longer connect to it, and
|
|
67190
|
-
# it can't be recovered. All attached Amazon EBS volumes that are
|
|
67191
|
-
# configured to be deleted on termination are also permanently deleted
|
|
67192
|
-
# and can't be recovered. All data stored on instance store volumes is
|
|
67193
|
-
# permanently lost. For more information, see [ How instance termination
|
|
67194
|
-
# works][2].
|
|
67195
|
-
#
|
|
67196
|
-
# Before you terminate an instance, ensure that you have backed up all
|
|
67197
|
-
# data that you need to retain after the termination to persistent
|
|
67198
|
-
# storage.
|
|
67286
|
+
# Shuts down the specified instances. This operation is [idempotent][1];
|
|
67287
|
+
# if you terminate an instance more than once, each call succeeds.
|
|
67199
67288
|
#
|
|
67200
67289
|
# If you specify multiple instances and the request fails (for example,
|
|
67201
67290
|
# because of a single incorrect instance ID), none of the instances are
|
|
@@ -67253,23 +67342,22 @@ module Aws::EC2
|
|
|
67253
67342
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
|
67254
67343
|
# set to `true` are automatically deleted. For more information about
|
|
67255
67344
|
# the differences between stopping and terminating instances, see
|
|
67256
|
-
# [Amazon EC2 instance state changes][
|
|
67345
|
+
# [Amazon EC2 instance state changes][2] in the *Amazon EC2 User Guide*.
|
|
67257
67346
|
#
|
|
67258
67347
|
# When you terminate an instance, we attempt to terminate it forcibly
|
|
67259
67348
|
# after a short while. If your instance appears stuck in the
|
|
67260
67349
|
# shutting-down state after a period of time, there might be an issue
|
|
67261
67350
|
# with the underlying host computer. For more information about
|
|
67262
67351
|
# terminating and troubleshooting terminating your instances, see
|
|
67263
|
-
# [Terminate Amazon EC2 instances][
|
|
67264
|
-
# your instance][
|
|
67352
|
+
# [Terminate Amazon EC2 instances][3] and [Troubleshooting terminating
|
|
67353
|
+
# your instance][4] in the *Amazon EC2 User Guide*.
|
|
67265
67354
|
#
|
|
67266
67355
|
#
|
|
67267
67356
|
#
|
|
67268
67357
|
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
67269
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
67270
|
-
# [3]: https://docs.aws.amazon.com/
|
|
67271
|
-
# [4]: https://docs.aws.amazon.com/
|
|
67272
|
-
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html
|
|
67358
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
|
|
67359
|
+
# [3]: https://docs.aws.amazon.com/
|
|
67360
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html
|
|
67273
67361
|
#
|
|
67274
67362
|
# @option params [required, Array<String>] :instance_ids
|
|
67275
67363
|
# The IDs of the instances.
|
|
@@ -67966,7 +68054,7 @@ module Aws::EC2
|
|
|
67966
68054
|
tracer: tracer
|
|
67967
68055
|
)
|
|
67968
68056
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
67969
|
-
context[:gem_version] = '1.
|
|
68057
|
+
context[:gem_version] = '1.567.0'
|
|
67970
68058
|
Seahorse::Client::Request.new(handlers, context)
|
|
67971
68059
|
end
|
|
67972
68060
|
|
|
@@ -362,6 +362,8 @@ module Aws::EC2
|
|
|
362
362
|
CapacityReservationTarget = Shapes::StructureShape.new(name: 'CapacityReservationTarget')
|
|
363
363
|
CapacityReservationTargetResponse = Shapes::StructureShape.new(name: 'CapacityReservationTargetResponse')
|
|
364
364
|
CapacityReservationTenancy = Shapes::StringShape.new(name: 'CapacityReservationTenancy')
|
|
365
|
+
CapacityReservationTopology = Shapes::StructureShape.new(name: 'CapacityReservationTopology')
|
|
366
|
+
CapacityReservationTopologySet = Shapes::ListShape.new(name: 'CapacityReservationTopologySet')
|
|
365
367
|
CapacityReservationType = Shapes::StringShape.new(name: 'CapacityReservationType')
|
|
366
368
|
CapacityTenancy = Shapes::StringShape.new(name: 'CapacityTenancy')
|
|
367
369
|
CarrierGateway = Shapes::StructureShape.new(name: 'CarrierGateway')
|
|
@@ -936,6 +938,9 @@ module Aws::EC2
|
|
|
936
938
|
DescribeCapacityReservationFleetsMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityReservationFleetsMaxResults')
|
|
937
939
|
DescribeCapacityReservationFleetsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityReservationFleetsRequest')
|
|
938
940
|
DescribeCapacityReservationFleetsResult = Shapes::StructureShape.new(name: 'DescribeCapacityReservationFleetsResult')
|
|
941
|
+
DescribeCapacityReservationTopologyMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityReservationTopologyMaxResults')
|
|
942
|
+
DescribeCapacityReservationTopologyRequest = Shapes::StructureShape.new(name: 'DescribeCapacityReservationTopologyRequest')
|
|
943
|
+
DescribeCapacityReservationTopologyResult = Shapes::StructureShape.new(name: 'DescribeCapacityReservationTopologyResult')
|
|
939
944
|
DescribeCapacityReservationsMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityReservationsMaxResults')
|
|
940
945
|
DescribeCapacityReservationsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityReservationsRequest')
|
|
941
946
|
DescribeCapacityReservationsResult = Shapes::StructureShape.new(name: 'DescribeCapacityReservationsResult')
|
|
@@ -2655,6 +2660,7 @@ module Aws::EC2
|
|
|
2655
2660
|
NetworkInterfacePrivateIpAddressList = Shapes::ListShape.new(name: 'NetworkInterfacePrivateIpAddressList')
|
|
2656
2661
|
NetworkInterfaceStatus = Shapes::StringShape.new(name: 'NetworkInterfaceStatus')
|
|
2657
2662
|
NetworkInterfaceType = Shapes::StringShape.new(name: 'NetworkInterfaceType')
|
|
2663
|
+
NetworkNodeSet = Shapes::ListShape.new(name: 'NetworkNodeSet')
|
|
2658
2664
|
NetworkNodesList = Shapes::ListShape.new(name: 'NetworkNodesList')
|
|
2659
2665
|
NetworkPerformance = Shapes::StringShape.new(name: 'NetworkPerformance')
|
|
2660
2666
|
NeuronDeviceCoreCount = Shapes::IntegerShape.new(name: 'NeuronDeviceCoreCount')
|
|
@@ -4919,6 +4925,18 @@ module Aws::EC2
|
|
|
4919
4925
|
CapacityReservationTargetResponse.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationResourceGroupArn"))
|
|
4920
4926
|
CapacityReservationTargetResponse.struct_class = Types::CapacityReservationTargetResponse
|
|
4921
4927
|
|
|
4928
|
+
CapacityReservationTopology.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
|
4929
|
+
CapacityReservationTopology.add_member(:capacity_block_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityBlockId"))
|
|
4930
|
+
CapacityReservationTopology.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "state"))
|
|
4931
|
+
CapacityReservationTopology.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
4932
|
+
CapacityReservationTopology.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
|
|
4933
|
+
CapacityReservationTopology.add_member(:network_nodes, Shapes::ShapeRef.new(shape: NetworkNodeSet, location_name: "networkNodeSet"))
|
|
4934
|
+
CapacityReservationTopology.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
|
4935
|
+
CapacityReservationTopology.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
|
4936
|
+
CapacityReservationTopology.struct_class = Types::CapacityReservationTopology
|
|
4937
|
+
|
|
4938
|
+
CapacityReservationTopologySet.member = Shapes::ShapeRef.new(shape: CapacityReservationTopology, location_name: "item")
|
|
4939
|
+
|
|
4922
4940
|
CarrierGateway.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: CarrierGatewayId, location_name: "carrierGatewayId"))
|
|
4923
4941
|
CarrierGateway.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "vpcId"))
|
|
4924
4942
|
CarrierGateway.add_member(:state, Shapes::ShapeRef.new(shape: CarrierGatewayState, location_name: "state"))
|
|
@@ -7457,6 +7475,17 @@ module Aws::EC2
|
|
|
7457
7475
|
DescribeCapacityReservationFleetsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
7458
7476
|
DescribeCapacityReservationFleetsResult.struct_class = Types::DescribeCapacityReservationFleetsResult
|
|
7459
7477
|
|
|
7478
|
+
DescribeCapacityReservationTopologyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
7479
|
+
DescribeCapacityReservationTopologyRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
7480
|
+
DescribeCapacityReservationTopologyRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityReservationTopologyMaxResults, location_name: "MaxResults"))
|
|
7481
|
+
DescribeCapacityReservationTopologyRequest.add_member(:capacity_reservation_ids, Shapes::ShapeRef.new(shape: CapacityReservationIdSet, location_name: "CapacityReservationId"))
|
|
7482
|
+
DescribeCapacityReservationTopologyRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
|
7483
|
+
DescribeCapacityReservationTopologyRequest.struct_class = Types::DescribeCapacityReservationTopologyRequest
|
|
7484
|
+
|
|
7485
|
+
DescribeCapacityReservationTopologyResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
7486
|
+
DescribeCapacityReservationTopologyResult.add_member(:capacity_reservations, Shapes::ShapeRef.new(shape: CapacityReservationTopologySet, location_name: "capacityReservationSet"))
|
|
7487
|
+
DescribeCapacityReservationTopologyResult.struct_class = Types::DescribeCapacityReservationTopologyResult
|
|
7488
|
+
|
|
7460
7489
|
DescribeCapacityReservationsRequest.add_member(:capacity_reservation_ids, Shapes::ShapeRef.new(shape: CapacityReservationIdSet, location_name: "CapacityReservationId"))
|
|
7461
7490
|
DescribeCapacityReservationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
7462
7491
|
DescribeCapacityReservationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityReservationsMaxResults, location_name: "MaxResults"))
|
|
@@ -14326,6 +14355,7 @@ module Aws::EC2
|
|
|
14326
14355
|
NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
|
14327
14356
|
NetworkInterface.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
|
14328
14357
|
NetworkInterface.add_member(:associated_subnets, Shapes::ShapeRef.new(shape: AssociatedSubnetList, location_name: "associatedSubnetSet"))
|
|
14358
|
+
NetworkInterface.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
|
14329
14359
|
NetworkInterface.struct_class = Types::NetworkInterface
|
|
14330
14360
|
|
|
14331
14361
|
NetworkInterfaceAssociation.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
|
@@ -14400,6 +14430,8 @@ module Aws::EC2
|
|
|
14400
14430
|
|
|
14401
14431
|
NetworkInterfacePrivateIpAddressList.member = Shapes::ShapeRef.new(shape: NetworkInterfacePrivateIpAddress, location_name: "item")
|
|
14402
14432
|
|
|
14433
|
+
NetworkNodeSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
|
14434
|
+
|
|
14403
14435
|
NetworkNodesList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
|
14404
14436
|
|
|
14405
14437
|
NeuronDeviceCoreInfo.add_member(:count, Shapes::ShapeRef.new(shape: NeuronDeviceCoreCount, location_name: "count"))
|
|
@@ -20340,6 +20372,14 @@ module Aws::EC2
|
|
|
20340
20372
|
)
|
|
20341
20373
|
end)
|
|
20342
20374
|
|
|
20375
|
+
api.add_operation(:describe_capacity_reservation_topology, Seahorse::Model::Operation.new.tap do |o|
|
|
20376
|
+
o.name = "DescribeCapacityReservationTopology"
|
|
20377
|
+
o.http_method = "POST"
|
|
20378
|
+
o.http_request_uri = "/"
|
|
20379
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCapacityReservationTopologyRequest)
|
|
20380
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCapacityReservationTopologyResult)
|
|
20381
|
+
end)
|
|
20382
|
+
|
|
20343
20383
|
api.add_operation(:describe_capacity_reservations, Seahorse::Model::Operation.new.tap do |o|
|
|
20344
20384
|
o.name = "DescribeCapacityReservations"
|
|
20345
20385
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -3401,6 +3401,9 @@ module Aws::EC2
|
|
|
3401
3401
|
# * `availability-zone` - The Availability Zone of the network
|
|
3402
3402
|
# interface.
|
|
3403
3403
|
#
|
|
3404
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
|
3405
|
+
# network interface.
|
|
3406
|
+
#
|
|
3404
3407
|
# * `description` - The description of the network interface.
|
|
3405
3408
|
#
|
|
3406
3409
|
# * `group-id` - The ID of a security group associated with the network
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
|
@@ -1813,6 +1813,9 @@ module Aws::EC2
|
|
|
1813
1813
|
# * `availability-zone` - The Availability Zone of the network
|
|
1814
1814
|
# interface.
|
|
1815
1815
|
#
|
|
1816
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
|
1817
|
+
# network interface.
|
|
1818
|
+
#
|
|
1816
1819
|
# * `description` - The description of the network interface.
|
|
1817
1820
|
#
|
|
1818
1821
|
# * `group-id` - The ID of a security group associated with the network
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -6213,6 +6213,73 @@ module Aws::EC2
|
|
|
6213
6213
|
include Aws::Structure
|
|
6214
6214
|
end
|
|
6215
6215
|
|
|
6216
|
+
# Information about the Capacity Reservation topology.
|
|
6217
|
+
#
|
|
6218
|
+
# @!attribute [rw] capacity_reservation_id
|
|
6219
|
+
# The ID of the Capacity Reservation.
|
|
6220
|
+
# @return [String]
|
|
6221
|
+
#
|
|
6222
|
+
# @!attribute [rw] capacity_block_id
|
|
6223
|
+
# The ID of the Capacity Block. This parameter is only supported for
|
|
6224
|
+
# UltraServer instances and identifies instances within the
|
|
6225
|
+
# UltraServer domain.
|
|
6226
|
+
# @return [String]
|
|
6227
|
+
#
|
|
6228
|
+
# @!attribute [rw] state
|
|
6229
|
+
# The current state of the Capacity Reservation. For the list of
|
|
6230
|
+
# possible states, see [DescribeCapacityReservations][1].
|
|
6231
|
+
#
|
|
6232
|
+
#
|
|
6233
|
+
#
|
|
6234
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCapacityReservations.html
|
|
6235
|
+
# @return [String]
|
|
6236
|
+
#
|
|
6237
|
+
# @!attribute [rw] instance_type
|
|
6238
|
+
# The instance type.
|
|
6239
|
+
# @return [String]
|
|
6240
|
+
#
|
|
6241
|
+
# @!attribute [rw] group_name
|
|
6242
|
+
# The name of the placement group that the Capacity Reservation is in.
|
|
6243
|
+
# @return [String]
|
|
6244
|
+
#
|
|
6245
|
+
# @!attribute [rw] network_nodes
|
|
6246
|
+
# The network nodes. The nodes are hashed based on your account.
|
|
6247
|
+
# Capacity Reservations from different accounts running under the same
|
|
6248
|
+
# server will return a different hashed list of strings.
|
|
6249
|
+
#
|
|
6250
|
+
# The value is `null` or empty if:
|
|
6251
|
+
#
|
|
6252
|
+
# * The instance type is not supported.
|
|
6253
|
+
#
|
|
6254
|
+
# * The Capacity Reservation is in a state other than `active` or
|
|
6255
|
+
# `pending`.
|
|
6256
|
+
# @return [Array<String>]
|
|
6257
|
+
#
|
|
6258
|
+
# @!attribute [rw] availability_zone_id
|
|
6259
|
+
# The ID of the Availability Zone or Local Zone that the Capacity
|
|
6260
|
+
# Reservation is in.
|
|
6261
|
+
# @return [String]
|
|
6262
|
+
#
|
|
6263
|
+
# @!attribute [rw] availability_zone
|
|
6264
|
+
# The name of the Availability Zone or Local Zone that the Capacity
|
|
6265
|
+
# Reservation is in.
|
|
6266
|
+
# @return [String]
|
|
6267
|
+
#
|
|
6268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservationTopology AWS API Documentation
|
|
6269
|
+
#
|
|
6270
|
+
class CapacityReservationTopology < Struct.new(
|
|
6271
|
+
:capacity_reservation_id,
|
|
6272
|
+
:capacity_block_id,
|
|
6273
|
+
:state,
|
|
6274
|
+
:instance_type,
|
|
6275
|
+
:group_name,
|
|
6276
|
+
:network_nodes,
|
|
6277
|
+
:availability_zone_id,
|
|
6278
|
+
:availability_zone)
|
|
6279
|
+
SENSITIVE = []
|
|
6280
|
+
include Aws::Structure
|
|
6281
|
+
end
|
|
6282
|
+
|
|
6216
6283
|
# Describes a carrier gateway.
|
|
6217
6284
|
#
|
|
6218
6285
|
# @!attribute [rw] carrier_gateway_id
|
|
@@ -20853,6 +20920,86 @@ module Aws::EC2
|
|
|
20853
20920
|
include Aws::Structure
|
|
20854
20921
|
end
|
|
20855
20922
|
|
|
20923
|
+
# @!attribute [rw] dry_run
|
|
20924
|
+
# Checks whether you have the required permissions for the operation,
|
|
20925
|
+
# without actually making the request, and provides an error response.
|
|
20926
|
+
# If you have the required permissions, the error response is
|
|
20927
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
20928
|
+
# @return [Boolean]
|
|
20929
|
+
#
|
|
20930
|
+
# @!attribute [rw] next_token
|
|
20931
|
+
# The token returned from a previous paginated request. Pagination
|
|
20932
|
+
# continues from the end of the items returned by the previous
|
|
20933
|
+
# request.
|
|
20934
|
+
# @return [String]
|
|
20935
|
+
#
|
|
20936
|
+
# @!attribute [rw] max_results
|
|
20937
|
+
# The maximum number of items to return for this request. To get the
|
|
20938
|
+
# next page of items, make another request with the token returned in
|
|
20939
|
+
# the output. For more information, see [Pagination][1].
|
|
20940
|
+
#
|
|
20941
|
+
# You can't specify this parameter and the Capacity Reservation IDs
|
|
20942
|
+
# parameter in the same request.
|
|
20943
|
+
#
|
|
20944
|
+
# Default: `10`
|
|
20945
|
+
#
|
|
20946
|
+
#
|
|
20947
|
+
#
|
|
20948
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
20949
|
+
# @return [Integer]
|
|
20950
|
+
#
|
|
20951
|
+
# @!attribute [rw] capacity_reservation_ids
|
|
20952
|
+
# The Capacity Reservation IDs.
|
|
20953
|
+
#
|
|
20954
|
+
# Default: Describes all your Capacity Reservations.
|
|
20955
|
+
#
|
|
20956
|
+
# Constraints: Maximum 100 explicitly specified Capacity Reservation
|
|
20957
|
+
# IDs.
|
|
20958
|
+
# @return [Array<String>]
|
|
20959
|
+
#
|
|
20960
|
+
# @!attribute [rw] filters
|
|
20961
|
+
# The filters.
|
|
20962
|
+
#
|
|
20963
|
+
# * `availability-zone` - The name of the Availability Zone (for
|
|
20964
|
+
# example, `us-west-2a`) or Local Zone (for example,
|
|
20965
|
+
# `us-west-2-lax-1b`) that the Capacity Reservation is in.
|
|
20966
|
+
#
|
|
20967
|
+
# * `instance-type` - The instance type (for example, `p4d.24xlarge`)
|
|
20968
|
+
# or instance family (for example, `p4d*`). You can use the `*`
|
|
20969
|
+
# wildcard to match zero or more characters, or the `?` wildcard to
|
|
20970
|
+
# match zero or one character.
|
|
20971
|
+
# @return [Array<Types::Filter>]
|
|
20972
|
+
#
|
|
20973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservationTopologyRequest AWS API Documentation
|
|
20974
|
+
#
|
|
20975
|
+
class DescribeCapacityReservationTopologyRequest < Struct.new(
|
|
20976
|
+
:dry_run,
|
|
20977
|
+
:next_token,
|
|
20978
|
+
:max_results,
|
|
20979
|
+
:capacity_reservation_ids,
|
|
20980
|
+
:filters)
|
|
20981
|
+
SENSITIVE = []
|
|
20982
|
+
include Aws::Structure
|
|
20983
|
+
end
|
|
20984
|
+
|
|
20985
|
+
# @!attribute [rw] next_token
|
|
20986
|
+
# The token to include in another request to get the next page of
|
|
20987
|
+
# items. This value is `null` when there are no more items to return.
|
|
20988
|
+
# @return [String]
|
|
20989
|
+
#
|
|
20990
|
+
# @!attribute [rw] capacity_reservations
|
|
20991
|
+
# Information about the topology of each Capacity Reservation.
|
|
20992
|
+
# @return [Array<Types::CapacityReservationTopology>]
|
|
20993
|
+
#
|
|
20994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservationTopologyResult AWS API Documentation
|
|
20995
|
+
#
|
|
20996
|
+
class DescribeCapacityReservationTopologyResult < Struct.new(
|
|
20997
|
+
:next_token,
|
|
20998
|
+
:capacity_reservations)
|
|
20999
|
+
SENSITIVE = []
|
|
21000
|
+
include Aws::Structure
|
|
21001
|
+
end
|
|
21002
|
+
|
|
20856
21003
|
# @!attribute [rw] capacity_reservation_ids
|
|
20857
21004
|
# The ID of the Capacity Reservation.
|
|
20858
21005
|
# @return [Array<String>]
|
|
@@ -27560,6 +27707,9 @@ module Aws::EC2
|
|
|
27560
27707
|
# * `availability-zone` - The Availability Zone of the network
|
|
27561
27708
|
# interface.
|
|
27562
27709
|
#
|
|
27710
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
|
27711
|
+
# network interface.
|
|
27712
|
+
#
|
|
27563
27713
|
# * `description` - The description of the network interface.
|
|
27564
27714
|
#
|
|
27565
27715
|
# * `group-id` - The ID of a security group associated with the
|
|
@@ -29098,11 +29248,21 @@ module Aws::EC2
|
|
|
29098
29248
|
#
|
|
29099
29249
|
# * `group-owner-id`: The group owner ID.
|
|
29100
29250
|
#
|
|
29101
|
-
# * `state`: The state of the association.
|
|
29102
|
-
#
|
|
29103
29251
|
# * `vpc-id`: The ID of the associated VPC.
|
|
29104
29252
|
#
|
|
29105
29253
|
# * `vpc-owner-id`: The account ID of the VPC owner.
|
|
29254
|
+
#
|
|
29255
|
+
# * `state`: The state of the association.
|
|
29256
|
+
#
|
|
29257
|
+
# * `tag:<key>`: The key/value combination of a tag assigned to the
|
|
29258
|
+
# resource. Use the tag key in the filter name and the tag value as
|
|
29259
|
+
# the filter value. For example, to find all resources that have a
|
|
29260
|
+
# tag with the key `Owner` and the value `TeamA`, specify
|
|
29261
|
+
# `tag:Owner` for the filter name and `TeamA` for the filter value.
|
|
29262
|
+
#
|
|
29263
|
+
# * `tag-key`: The key of a tag assigned to the resource. Use this
|
|
29264
|
+
# filter to find all resources assigned a tag with a specific key,
|
|
29265
|
+
# regardless of the tag value.
|
|
29106
29266
|
# @return [Array<Types::Filter>]
|
|
29107
29267
|
#
|
|
29108
29268
|
# @!attribute [rw] next_token
|
|
@@ -49493,6 +49653,12 @@ module Aws::EC2
|
|
|
49493
49653
|
# The network nodes. The nodes are hashed based on your account.
|
|
49494
49654
|
# Instances from different accounts running under the same server will
|
|
49495
49655
|
# return a different hashed list of strings.
|
|
49656
|
+
#
|
|
49657
|
+
# The value is `null` or empty if:
|
|
49658
|
+
#
|
|
49659
|
+
# * The instance type is not supported.
|
|
49660
|
+
#
|
|
49661
|
+
# * The instance is in a state other than `running`.
|
|
49496
49662
|
# @return [Array<String>]
|
|
49497
49663
|
#
|
|
49498
49664
|
# @!attribute [rw] availability_zone
|
|
@@ -49507,8 +49673,8 @@ module Aws::EC2
|
|
|
49507
49673
|
#
|
|
49508
49674
|
# @!attribute [rw] capacity_block_id
|
|
49509
49675
|
# The ID of the Capacity Block. This parameter is only supported for
|
|
49510
|
-
#
|
|
49511
|
-
#
|
|
49676
|
+
# UltraServer instances and identifies instances within the
|
|
49677
|
+
# UltraServer domain.
|
|
49512
49678
|
# @return [String]
|
|
49513
49679
|
#
|
|
49514
49680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTopology AWS API Documentation
|
|
@@ -61752,6 +61918,10 @@ module Aws::EC2
|
|
|
61752
61918
|
# The subnets associated with this network interface.
|
|
61753
61919
|
# @return [Array<String>]
|
|
61754
61920
|
#
|
|
61921
|
+
# @!attribute [rw] availability_zone_id
|
|
61922
|
+
# The ID of the Availability Zone.
|
|
61923
|
+
# @return [String]
|
|
61924
|
+
#
|
|
61755
61925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface AWS API Documentation
|
|
61756
61926
|
#
|
|
61757
61927
|
class NetworkInterface < Struct.new(
|
|
@@ -61785,7 +61955,8 @@ module Aws::EC2
|
|
|
61785
61955
|
:ipv_6_native,
|
|
61786
61956
|
:ipv_6_address,
|
|
61787
61957
|
:operator,
|
|
61788
|
-
:associated_subnets
|
|
61958
|
+
:associated_subnets,
|
|
61959
|
+
:availability_zone_id)
|
|
61789
61960
|
SENSITIVE = []
|
|
61790
61961
|
include Aws::Structure
|
|
61791
61962
|
end
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
|
@@ -1755,6 +1755,9 @@ module Aws::EC2
|
|
|
1755
1755
|
# * `availability-zone` - The Availability Zone of the network
|
|
1756
1756
|
# interface.
|
|
1757
1757
|
#
|
|
1758
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
|
1759
|
+
# network interface.
|
|
1760
|
+
#
|
|
1758
1761
|
# * `description` - The description of the network interface.
|
|
1759
1762
|
#
|
|
1760
1763
|
# * `group-id` - The ID of a security group associated with the network
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -5826,6 +5826,26 @@ module Aws
|
|
|
5826
5826
|
) -> _DescribeCapacityReservationFleetsResponseSuccess
|
|
5827
5827
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityReservationFleetsResponseSuccess
|
|
5828
5828
|
|
|
5829
|
+
interface _DescribeCapacityReservationTopologyResponseSuccess
|
|
5830
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityReservationTopologyResult]
|
|
5831
|
+
def next_token: () -> ::String
|
|
5832
|
+
def capacity_reservations: () -> ::Array[Types::CapacityReservationTopology]
|
|
5833
|
+
end
|
|
5834
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_capacity_reservation_topology-instance_method
|
|
5835
|
+
def describe_capacity_reservation_topology: (
|
|
5836
|
+
?dry_run: bool,
|
|
5837
|
+
?next_token: ::String,
|
|
5838
|
+
?max_results: ::Integer,
|
|
5839
|
+
?capacity_reservation_ids: Array[::String],
|
|
5840
|
+
?filters: Array[
|
|
5841
|
+
{
|
|
5842
|
+
name: ::String?,
|
|
5843
|
+
values: Array[::String]?
|
|
5844
|
+
},
|
|
5845
|
+
]
|
|
5846
|
+
) -> _DescribeCapacityReservationTopologyResponseSuccess
|
|
5847
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityReservationTopologyResponseSuccess
|
|
5848
|
+
|
|
5829
5849
|
interface _DescribeCapacityReservationsResponseSuccess
|
|
5830
5850
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityReservationsResult]
|
|
5831
5851
|
def next_token: () -> ::String
|
data/sig/network_interface.rbs
CHANGED
|
@@ -105,6 +105,9 @@ module Aws
|
|
|
105
105
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#associated_subnets-instance_method
|
|
106
106
|
def associated_subnets: () -> ::Array[::String]
|
|
107
107
|
|
|
108
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#availability_zone_id-instance_method
|
|
109
|
+
def availability_zone_id: () -> ::String
|
|
110
|
+
|
|
108
111
|
def client: () -> Client
|
|
109
112
|
|
|
110
113
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#load-instance_method
|
data/sig/types.rbs
CHANGED
|
@@ -1460,6 +1460,18 @@ module Aws::EC2
|
|
|
1460
1460
|
SENSITIVE: []
|
|
1461
1461
|
end
|
|
1462
1462
|
|
|
1463
|
+
class CapacityReservationTopology
|
|
1464
|
+
attr_accessor capacity_reservation_id: ::String
|
|
1465
|
+
attr_accessor capacity_block_id: ::String
|
|
1466
|
+
attr_accessor state: ::String
|
|
1467
|
+
attr_accessor instance_type: ::String
|
|
1468
|
+
attr_accessor group_name: ::String
|
|
1469
|
+
attr_accessor network_nodes: ::Array[::String]
|
|
1470
|
+
attr_accessor availability_zone_id: ::String
|
|
1471
|
+
attr_accessor availability_zone: ::String
|
|
1472
|
+
SENSITIVE: []
|
|
1473
|
+
end
|
|
1474
|
+
|
|
1463
1475
|
class CarrierGateway
|
|
1464
1476
|
attr_accessor carrier_gateway_id: ::String
|
|
1465
1477
|
attr_accessor vpc_id: ::String
|
|
@@ -4856,6 +4868,21 @@ module Aws::EC2
|
|
|
4856
4868
|
SENSITIVE: []
|
|
4857
4869
|
end
|
|
4858
4870
|
|
|
4871
|
+
class DescribeCapacityReservationTopologyRequest
|
|
4872
|
+
attr_accessor dry_run: bool
|
|
4873
|
+
attr_accessor next_token: ::String
|
|
4874
|
+
attr_accessor max_results: ::Integer
|
|
4875
|
+
attr_accessor capacity_reservation_ids: ::Array[::String]
|
|
4876
|
+
attr_accessor filters: ::Array[Types::Filter]
|
|
4877
|
+
SENSITIVE: []
|
|
4878
|
+
end
|
|
4879
|
+
|
|
4880
|
+
class DescribeCapacityReservationTopologyResult
|
|
4881
|
+
attr_accessor next_token: ::String
|
|
4882
|
+
attr_accessor capacity_reservations: ::Array[Types::CapacityReservationTopology]
|
|
4883
|
+
SENSITIVE: []
|
|
4884
|
+
end
|
|
4885
|
+
|
|
4859
4886
|
class DescribeCapacityReservationsRequest
|
|
4860
4887
|
attr_accessor capacity_reservation_ids: ::Array[::String]
|
|
4861
4888
|
attr_accessor next_token: ::String
|
|
@@ -13334,6 +13361,7 @@ module Aws::EC2
|
|
|
13334
13361
|
attr_accessor ipv_6_address: ::String
|
|
13335
13362
|
attr_accessor operator: Types::OperatorResponse
|
|
13336
13363
|
attr_accessor associated_subnets: ::Array[::String]
|
|
13364
|
+
attr_accessor availability_zone_id: ::String
|
|
13337
13365
|
SENSITIVE: []
|
|
13338
13366
|
end
|
|
13339
13367
|
|