Skip to content

Commit 2edfb5c

Browse files
Updated API models and rebuilt service gems.
1 parent 1ddf07f commit 2edfb5c

File tree

12 files changed

+98
-145
lines changed

12 files changed

+98
-145
lines changed

apis/ec2/2016-11-15/api-2.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6770,7 +6770,10 @@
67706770
},
67716771
"AllocationType":{
67726772
"type":"string",
6773-
"enum":["used"]
6773+
"enum":[
6774+
"used",
6775+
"future"
6776+
]
67746777
},
67756778
"AllowedImagesSettingsDisabledState":{
67766779
"type":"string",

apis/ec2/2016-11-15/docs-2.json

Lines changed: 24 additions & 24 deletions
Large diffs are not rendered by default.

gems/aws-sdk-ec2/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Unreleased Changes
22
------------------
33

4+
1.502.0 (2025-01-23)
5+
------------------
6+
7+
* Feature - Added "future" allocation type for future dated capacity reservation
8+
49
1.501.0 (2025-01-17)
510
------------------
611

gems/aws-sdk-ec2/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.501.0
1+
1.502.0

gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ module Plugins
7878
autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
7979
autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
8080

81-
GEM_VERSION = '1.501.0'
81+
GEM_VERSION = '1.502.0'
8282

8383
end
8484

gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb

Lines changed: 39 additions & 65 deletions
Large diffs are not rendered by default.

gems/aws-sdk-ec2/lib/aws-sdk-ec2/network_interface.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,10 @@ def wait_until(options = {}, &block)
357357
# @param [Hash] options ({})
358358
# @option options [Array<String>] :ipv_4_prefixes
359359
# One or more IPv4 prefixes assigned to the network interface. You
360-
# can't use this option if you use the `Ipv4PrefixCount` option.
360+
# cannot use this option if you use the `Ipv4PrefixCount` option.
361361
# @option options [Integer] :ipv_4_prefix_count
362362
# The number of IPv4 prefixes that Amazon Web Services automatically
363-
# assigns to the network interface. You can't use this option if you
363+
# assigns to the network interface. You cannot use this option if you
364364
# use the `Ipv4 Prefixes` option.
365365
# @option options [Array<String>] :private_ip_addresses
366366
# The IP addresses to be assigned as a secondary private IP address to

gems/aws-sdk-ec2/lib/aws-sdk-ec2/resource.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ def create_network_acl(options = {})
998998
# cannot indicate any IP addresses specified in `privateIpAddresses` as
999999
# primary (only one IP address can be designated as primary).
10001000
# @option options [Array<String>] :groups
1001-
# The IDs of the security groups.
1001+
# The IDs of one or more security groups.
10021002
# @option options [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
10031003
# The private IPv4 addresses.
10041004
#
@@ -3380,13 +3380,6 @@ def network_interface(id)
33803380
#
33813381
# * `network-interface-id` - The ID of the network interface.
33823382
#
3383-
# * `operator.managed` - A Boolean that indicates whether this is a
3384-
# managed network interface.
3385-
#
3386-
# * `operator.principal` - The principal that manages the network
3387-
# interface. Only valid for managed network interfaces, where
3388-
# `managed` is `true`.
3389-
#
33903383
# * `owner-id` - The Amazon Web Services account ID of the network
33913384
# interface owner.
33923385
#

gems/aws-sdk-ec2/lib/aws-sdk-ec2/subnet.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ def create_instances(options = {})
10031003
# cannot indicate any IP addresses specified in `privateIpAddresses` as
10041004
# primary (only one IP address can be designated as primary).
10051005
# @option options [Array<String>] :groups
1006-
# The IDs of the security groups.
1006+
# The IDs of one or more security groups.
10071007
# @option options [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
10081008
# The private IPv4 addresses.
10091009
#
@@ -1818,13 +1818,6 @@ def nat_gateways(options = {})
18181818
#
18191819
# * `network-interface-id` - The ID of the network interface.
18201820
#
1821-
# * `operator.managed` - A Boolean that indicates whether this is a
1822-
# managed network interface.
1823-
#
1824-
# * `operator.principal` - The principal that manages the network
1825-
# interface. Only valid for managed network interfaces, where
1826-
# `managed` is `true`.
1827-
#
18281821
# * `owner-id` - The Amazon Web Services account ID of the network
18291822
# interface owner.
18301823
#

gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,7 @@ class AsnAuthorizationContext < Struct.new(
17481748
#
17491749
# @!attribute [rw] ipv_6_prefixes
17501750
# One or more IPv6 prefixes assigned to the network interface. You
1751-
# can't use this option if you use the `Ipv6PrefixCount` option.
1751+
# cannot use this option if you use the `Ipv6PrefixCount` option.
17521752
# @return [Array<String>]
17531753
#
17541754
# @!attribute [rw] network_interface_id
@@ -1810,12 +1810,12 @@ class AssignIpv6AddressesResult < Struct.new(
18101810
#
18111811
# @!attribute [rw] ipv_4_prefixes
18121812
# One or more IPv4 prefixes assigned to the network interface. You
1813-
# can't use this option if you use the `Ipv4PrefixCount` option.
1813+
# cannot use this option if you use the `Ipv4PrefixCount` option.
18141814
# @return [Array<String>]
18151815
#
18161816
# @!attribute [rw] ipv_4_prefix_count
18171817
# The number of IPv4 prefixes that Amazon Web Services automatically
1818-
# assigns to the network interface. You can't use this option if you
1818+
# assigns to the network interface. You cannot use this option if you
18191819
# use the `Ipv4 Prefixes` option.
18201820
# @return [Integer]
18211821
#
@@ -10878,7 +10878,7 @@ class CreateNetworkInterfacePermissionResult < Struct.new(
1087810878
# @return [String]
1087910879
#
1088010880
# @!attribute [rw] groups
10881-
# The IDs of the security groups.
10881+
# The IDs of one or more security groups.
1088210882
# @return [Array<String>]
1088310883
#
1088410884
# @!attribute [rw] private_ip_addresses
@@ -24984,13 +24984,6 @@ class DescribeNetworkInterfacePermissionsResult < Struct.new(
2498424984
#
2498524985
# * `network-interface-id` - The ID of the network interface.
2498624986
#
24987-
# * `operator.managed` - A Boolean that indicates whether this is a
24988-
# managed network interface.
24989-
#
24990-
# * `operator.principal` - The principal that manages the network
24991-
# interface. Only valid for managed network interfaces, where
24992-
# `managed` is `true`.
24993-
#
2499424987
# * `owner-id` - The Amazon Web Services account ID of the network
2499524988
# interface owner.
2499624989
#
@@ -42384,8 +42377,7 @@ class InstanceBlockDeviceMapping < Struct.new(
4238442377
# @return [String]
4238542378
#
4238642379
# @!attribute [rw] no_device
42387-
# Suppresses the specified device included in the block device
42388-
# mapping.
42380+
# suppress the specified device included in the block device mapping.
4238942381
# @return [String]
4239042382
#
4239142383
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceBlockDeviceMappingSpecification AWS API Documentation
@@ -43436,9 +43428,15 @@ class InstanceNetworkInterfaceAttachment < Struct.new(
4343643428
# @return [Array<Types::PrivateIpAddressSpecification>]
4343743429
#
4343843430
# @!attribute [rw] secondary_private_ip_address_count
43439-
# The number of secondary private IPv4 addresses. You can’t specify
43440-
# this parameter and also specify a secondary private IP address using
43441-
# the `PrivateIpAddress` parameter.
43431+
# The number of secondary private IPv4 addresses. You can't specify
43432+
# this option and specify more than one private IP address using the
43433+
# private IP addresses option. You cannot specify this option if
43434+
# you're launching more than one instance in a [RunInstances][1]
43435+
# request.
43436+
#
43437+
#
43438+
#
43439+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
4344243440
# @return [Integer]
4344343441
#
4344443442
# @!attribute [rw] subnet_id
@@ -43952,12 +43950,9 @@ class InstancePrivateIpAddress < Struct.new(
4395243950
# @!attribute [rw] accelerator_types
4395343951
# The accelerator types that must be on the instance type.
4395443952
#
43955-
# * For instance types with FPGA accelerators, specify `fpga`.
43956-
#
4395743953
# * For instance types with GPU accelerators, specify `gpu`.
4395843954
#
43959-
# * For instance types with Inference accelerators, specify
43960-
# `inference`.
43955+
# * For instance types with FPGA accelerators, specify `fpga`.
4396143956
#
4396243957
# Default: Any accelerator type
4396343958
# @return [Array<String>]
@@ -44438,12 +44433,9 @@ class InstanceRequirements < Struct.new(
4443844433
# @!attribute [rw] accelerator_types
4443944434
# The accelerator types that must be on the instance type.
4444044435
#
44441-
# * For instance types with FPGA accelerators, specify `fpga`.
44442-
#
44443-
# * For instance types with GPU accelerators, specify `gpu`.
44436+
# * To include instance types with GPU hardware, specify `gpu`.
4444444437
#
44445-
# * For instance types with Inference accelerators, specify
44446-
# `inference`.
44438+
# * To include instance types with FPGA hardware, specify `fpga`.
4444744439
#
4444844440
# Default: Any accelerator type
4444944441
# @return [Array<String>]
@@ -47040,7 +47032,7 @@ class Ipv6PrefixSpecification < Struct.new(
4704047032
include Aws::Structure
4704147033
end
4704247034

47043-
# Describes the IPv6 prefix option for a network interface.
47035+
# Describes the IPv4 prefix option for a network interface.
4704447036
#
4704547037
# @!attribute [rw] ipv_6_prefix
4704647038
# The IPv6 prefix.
@@ -70953,7 +70945,7 @@ class UnassignIpv6AddressesRequest < Struct.new(
7095370945
# @return [Array<String>]
7095470946
#
7095570947
# @!attribute [rw] unassigned_ipv_6_prefixes
70956-
# The IPv6 prefixes that have been unassigned from the network
70948+
# The IPv4 prefixes that have been unassigned from the network
7095770949
# interface.
7095870950
# @return [Array<String>]
7095970951
#

0 commit comments

Comments
 (0)