aws-sdk-ec2 1.565.0 → 1.566.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 +43 -74
- data/lib/aws-sdk-ec2/client_api.rb +1 -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 +21 -3
- data/lib/aws-sdk-ec2/vpc.rb +3 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/network_interface.rbs +3 -0
- data/sig/types.rbs +1 -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: 2fa808e9ced0fa525e221f03f3bbf2d240a7f272ab167bf34901806825d997c8
|
4
|
+
data.tar.gz: 4e0db3b55449f67a6175367e2605015d78c1397968196ea8af6bebe92b228958
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0b99a56efde261a8b6c1edd4a5224ebf71a2ff477552404676e6e3e26714c79d2796ede5137cb77855d7a8f6db35f526d736c36883d1cee7ae2561dfd470246
|
7
|
+
data.tar.gz: '018db96049bf8fd72717a7cfe7f41ad1849cb7f4801a6b66aecf4851085319847048ebb05cbb421fe9672c5927b49c0d11678a304337599419db5ac2beed56bc'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.566.0 (2025-10-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds AvailabilityZoneId support for CreateNetworkInterface and DescribeNetworkInterfaces APIs.
|
8
|
+
|
4
9
|
1.565.0 (2025-10-21)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.566.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,
|
@@ -34651,6 +34621,9 @@ module Aws::EC2
|
|
34651
34621
|
# * `availability-zone` - The Availability Zone of the network
|
34652
34622
|
# interface.
|
34653
34623
|
#
|
34624
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
34625
|
+
# network interface.
|
34626
|
+
#
|
34654
34627
|
# * `description` - The description of the network interface.
|
34655
34628
|
#
|
34656
34629
|
# * `group-id` - The ID of a security group associated with the network
|
@@ -34883,6 +34856,7 @@ module Aws::EC2
|
|
34883
34856
|
# resp.network_interfaces[0].operator.principal #=> String
|
34884
34857
|
# resp.network_interfaces[0].associated_subnets #=> Array
|
34885
34858
|
# resp.network_interfaces[0].associated_subnets[0] #=> String
|
34859
|
+
# resp.network_interfaces[0].availability_zone_id #=> String
|
34886
34860
|
# resp.next_token #=> String
|
34887
34861
|
#
|
34888
34862
|
#
|
@@ -36998,12 +36972,22 @@ module Aws::EC2
|
|
36998
36972
|
#
|
36999
36973
|
# * `group-owner-id`: The group owner ID.
|
37000
36974
|
#
|
37001
|
-
# * `state`: The state of the association.
|
37002
|
-
#
|
37003
36975
|
# * `vpc-id`: The ID of the associated VPC.
|
37004
36976
|
#
|
37005
36977
|
# * `vpc-owner-id`: The account ID of the VPC owner.
|
37006
36978
|
#
|
36979
|
+
# * `state`: The state of the association.
|
36980
|
+
#
|
36981
|
+
# * `tag:<key>`: The key/value combination of a tag assigned to the
|
36982
|
+
# resource. Use the tag key in the filter name and the tag value as
|
36983
|
+
# the filter value. For example, to find all resources that have a tag
|
36984
|
+
# with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
|
36985
|
+
# the filter name and `TeamA` for the filter value.
|
36986
|
+
#
|
36987
|
+
# * `tag-key`: The key of a tag assigned to the resource. Use this
|
36988
|
+
# filter to find all resources assigned a tag with a specific key,
|
36989
|
+
# regardless of the tag value.
|
36990
|
+
#
|
37007
36991
|
# @option params [String] :next_token
|
37008
36992
|
# The token returned from a previous paginated request. Pagination
|
37009
36993
|
# continues from the end of the items returned by the previous request.
|
@@ -67180,22 +67164,8 @@ module Aws::EC2
|
|
67180
67164
|
req.send_request(options)
|
67181
67165
|
end
|
67182
67166
|
|
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.
|
67167
|
+
# Shuts down the specified instances. This operation is [idempotent][1];
|
67168
|
+
# if you terminate an instance more than once, each call succeeds.
|
67199
67169
|
#
|
67200
67170
|
# If you specify multiple instances and the request fails (for example,
|
67201
67171
|
# because of a single incorrect instance ID), none of the instances are
|
@@ -67253,23 +67223,22 @@ module Aws::EC2
|
|
67253
67223
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
67254
67224
|
# set to `true` are automatically deleted. For more information about
|
67255
67225
|
# the differences between stopping and terminating instances, see
|
67256
|
-
# [Amazon EC2 instance state changes][
|
67226
|
+
# [Amazon EC2 instance state changes][2] in the *Amazon EC2 User Guide*.
|
67257
67227
|
#
|
67258
67228
|
# When you terminate an instance, we attempt to terminate it forcibly
|
67259
67229
|
# after a short while. If your instance appears stuck in the
|
67260
67230
|
# shutting-down state after a period of time, there might be an issue
|
67261
67231
|
# with the underlying host computer. For more information about
|
67262
67232
|
# terminating and troubleshooting terminating your instances, see
|
67263
|
-
# [Terminate Amazon EC2 instances][
|
67264
|
-
# your instance][
|
67233
|
+
# [Terminate Amazon EC2 instances][3] and [Troubleshooting terminating
|
67234
|
+
# your instance][4] in the *Amazon EC2 User Guide*.
|
67265
67235
|
#
|
67266
67236
|
#
|
67267
67237
|
#
|
67268
67238
|
# [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
|
67239
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
|
67240
|
+
# [3]: https://docs.aws.amazon.com/
|
67241
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html
|
67273
67242
|
#
|
67274
67243
|
# @option params [required, Array<String>] :instance_ids
|
67275
67244
|
# The IDs of the instances.
|
@@ -67966,7 +67935,7 @@ module Aws::EC2
|
|
67966
67935
|
tracer: tracer
|
67967
67936
|
)
|
67968
67937
|
context[:gem_name] = 'aws-sdk-ec2'
|
67969
|
-
context[:gem_version] = '1.
|
67938
|
+
context[:gem_version] = '1.566.0'
|
67970
67939
|
Seahorse::Client::Request.new(handlers, context)
|
67971
67940
|
end
|
67972
67941
|
|
@@ -14326,6 +14326,7 @@ module Aws::EC2
|
|
14326
14326
|
NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
14327
14327
|
NetworkInterface.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
14328
14328
|
NetworkInterface.add_member(:associated_subnets, Shapes::ShapeRef.new(shape: AssociatedSubnetList, location_name: "associatedSubnetSet"))
|
14329
|
+
NetworkInterface.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
14329
14330
|
NetworkInterface.struct_class = Types::NetworkInterface
|
14330
14331
|
|
14331
14332
|
NetworkInterfaceAssociation.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
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
@@ -27560,6 +27560,9 @@ module Aws::EC2
|
|
27560
27560
|
# * `availability-zone` - The Availability Zone of the network
|
27561
27561
|
# interface.
|
27562
27562
|
#
|
27563
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
27564
|
+
# network interface.
|
27565
|
+
#
|
27563
27566
|
# * `description` - The description of the network interface.
|
27564
27567
|
#
|
27565
27568
|
# * `group-id` - The ID of a security group associated with the
|
@@ -29098,11 +29101,21 @@ module Aws::EC2
|
|
29098
29101
|
#
|
29099
29102
|
# * `group-owner-id`: The group owner ID.
|
29100
29103
|
#
|
29101
|
-
# * `state`: The state of the association.
|
29102
|
-
#
|
29103
29104
|
# * `vpc-id`: The ID of the associated VPC.
|
29104
29105
|
#
|
29105
29106
|
# * `vpc-owner-id`: The account ID of the VPC owner.
|
29107
|
+
#
|
29108
|
+
# * `state`: The state of the association.
|
29109
|
+
#
|
29110
|
+
# * `tag:<key>`: The key/value combination of a tag assigned to the
|
29111
|
+
# resource. Use the tag key in the filter name and the tag value as
|
29112
|
+
# the filter value. For example, to find all resources that have a
|
29113
|
+
# tag with the key `Owner` and the value `TeamA`, specify
|
29114
|
+
# `tag:Owner` for the filter name and `TeamA` for the filter value.
|
29115
|
+
#
|
29116
|
+
# * `tag-key`: The key of a tag assigned to the resource. Use this
|
29117
|
+
# filter to find all resources assigned a tag with a specific key,
|
29118
|
+
# regardless of the tag value.
|
29106
29119
|
# @return [Array<Types::Filter>]
|
29107
29120
|
#
|
29108
29121
|
# @!attribute [rw] next_token
|
@@ -61752,6 +61765,10 @@ module Aws::EC2
|
|
61752
61765
|
# The subnets associated with this network interface.
|
61753
61766
|
# @return [Array<String>]
|
61754
61767
|
#
|
61768
|
+
# @!attribute [rw] availability_zone_id
|
61769
|
+
# The ID of the Availability Zone.
|
61770
|
+
# @return [String]
|
61771
|
+
#
|
61755
61772
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface AWS API Documentation
|
61756
61773
|
#
|
61757
61774
|
class NetworkInterface < Struct.new(
|
@@ -61785,7 +61802,8 @@ module Aws::EC2
|
|
61785
61802
|
:ipv_6_native,
|
61786
61803
|
:ipv_6_address,
|
61787
61804
|
:operator,
|
61788
|
-
:associated_subnets
|
61805
|
+
:associated_subnets,
|
61806
|
+
:availability_zone_id)
|
61789
61807
|
SENSITIVE = []
|
61790
61808
|
include Aws::Structure
|
61791
61809
|
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/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
@@ -13334,6 +13334,7 @@ module Aws::EC2
|
|
13334
13334
|
attr_accessor ipv_6_address: ::String
|
13335
13335
|
attr_accessor operator: Types::OperatorResponse
|
13336
13336
|
attr_accessor associated_subnets: ::Array[::String]
|
13337
|
+
attr_accessor availability_zone_id: ::String
|
13337
13338
|
SENSITIVE: []
|
13338
13339
|
end
|
13339
13340
|
|