@aws-sdk/client-ec2 3.804.0 → 3.806.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.
- package/dist-cjs/index.js +92 -22
- package/dist-cjs/runtimeConfig.js +6 -6
- package/dist-es/commands/RequestSpotFleetCommand.js +1 -1
- package/dist-es/models/models_4.js +4 -0
- package/dist-es/models/models_7.js +0 -7
- package/dist-es/models/models_8.js +7 -1
- package/dist-es/protocols/Aws_ec2.js +65 -0
- package/dist-es/runtimeConfig.js +6 -6
- package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +6 -6
- package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +17 -13
- package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +1 -0
- package/dist-types/commands/CancelReservedInstancesListingCommand.d.ts +2 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -1
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +3 -2
- package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -3
- package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +14 -11
- package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +3 -1
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -5
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -4
- package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +16 -7
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +9 -5
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -0
- package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +5 -3
- package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +3 -3
- package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -2
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +5 -3
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +2 -2
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +7 -7
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -0
- package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +2 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +6 -0
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +60 -36
- package/dist-types/models/models_1.d.ts +121 -90
- package/dist-types/models/models_2.d.ts +86 -53
- package/dist-types/models/models_3.d.ts +23 -19
- package/dist-types/models/models_4.d.ts +76 -35
- package/dist-types/models/models_5.d.ts +286 -203
- package/dist-types/models/models_6.d.ts +25 -28
- package/dist-types/models/models_7.d.ts +72 -57
- package/dist-types/models/models_8.d.ts +37 -7
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/dist-types/ts3.4/models/models_2.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +11 -7
- package/dist-types/ts3.4/models/models_5.d.ts +9 -3
- package/dist-types/ts3.4/models/models_6.d.ts +3 -4
- package/dist-types/ts3.4/models/models_7.d.ts +6 -8
- package/dist-types/ts3.4/models/models_8.d.ts +9 -0
- package/package.json +16 -16
|
@@ -27,7 +27,8 @@ declare const ResetNetworkInterfaceAttributeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Resets a network interface attribute. You can specify only one attribute at a
|
|
30
|
+
* <p>Resets a network interface attribute. You can specify only one attribute at a
|
|
31
|
+
* time.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -286,6 +286,7 @@ declare const RunInstancesCommand_base: {
|
|
|
286
286
|
* UdpStreamTimeout: Number("int"),
|
|
287
287
|
* UdpTimeout: Number("int"),
|
|
288
288
|
* },
|
|
289
|
+
* EnaQueueCount: Number("int"),
|
|
289
290
|
* },
|
|
290
291
|
* ],
|
|
291
292
|
* IamInstanceProfile: { // IamInstanceProfileSpecification
|
|
@@ -373,6 +374,7 @@ declare const RunInstancesCommand_base: {
|
|
|
373
374
|
* // EnaSrdUdpEnabled: true || false,
|
|
374
375
|
* // },
|
|
375
376
|
* // },
|
|
377
|
+
* // EnaQueueCount: Number("int"),
|
|
376
378
|
* // },
|
|
377
379
|
* // Description: "STRING_VALUE",
|
|
378
380
|
* // Groups: [
|
|
@@ -43,6 +43,9 @@ declare const StartNetworkInsightsAnalysisCommand_base: {
|
|
|
43
43
|
* FilterInArns: [ // ArnList
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
+
* FilterOutArns: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
46
49
|
* DryRun: true || false,
|
|
47
50
|
* TagSpecifications: [ // TagSpecificationList
|
|
48
51
|
* { // TagSpecification
|
|
@@ -70,6 +73,9 @@ declare const StartNetworkInsightsAnalysisCommand_base: {
|
|
|
70
73
|
* // FilterInArns: [ // ArnList
|
|
71
74
|
* // "STRING_VALUE",
|
|
72
75
|
* // ],
|
|
76
|
+
* // FilterOutArns: [
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
73
79
|
* // StartDate: new Date("TIMESTAMP"),
|
|
74
80
|
* // Status: "running" || "succeeded" || "failed",
|
|
75
81
|
* // StatusMessage: "STRING_VALUE",
|
|
@@ -27,7 +27,8 @@ declare const UnassignIpv6AddressesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Unassigns the specified IPv6 addresses or Prefix Delegation prefixes from a network
|
|
30
|
+
* <p>Unassigns the specified IPv6 addresses or Prefix Delegation prefixes from a network
|
|
31
|
+
* interface.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -27,8 +27,8 @@ declare const UnassignPrivateIpAddressesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Unassigns the specified secondary private IP addresses or IPv4 Prefix Delegation
|
|
31
|
-
*
|
|
30
|
+
* <p>Unassigns the specified secondary private IP addresses or IPv4 Prefix Delegation
|
|
31
|
+
* prefixes from a network interface.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -386,8 +386,8 @@ export interface AcceptCapacityReservationBillingOwnershipResult {
|
|
|
386
386
|
*/
|
|
387
387
|
export interface TargetConfigurationRequest {
|
|
388
388
|
/**
|
|
389
|
-
* <p>The number of instances the Convertible Reserved Instance offering can be applied to. This
|
|
390
|
-
* be specified in a request</p>
|
|
389
|
+
* <p>The number of instances the Convertible Reserved Instance offering can be applied to. This
|
|
390
|
+
* parameter is reserved and cannot be specified in a request</p>
|
|
391
391
|
* @public
|
|
392
392
|
*/
|
|
393
393
|
InstanceCount?: number | undefined;
|
|
@@ -403,21 +403,22 @@ export interface TargetConfigurationRequest {
|
|
|
403
403
|
*/
|
|
404
404
|
export interface AcceptReservedInstancesExchangeQuoteRequest {
|
|
405
405
|
/**
|
|
406
|
-
* <p>Checks whether you have the required permissions for the action, without actually making
|
|
407
|
-
* and provides an error response. If you have the required permissions, the error
|
|
408
|
-
*
|
|
406
|
+
* <p>Checks whether you have the required permissions for the action, without actually making
|
|
407
|
+
* the request, and provides an error response. If you have the required permissions, the error
|
|
408
|
+
* response is <code>DryRunOperation</code>. Otherwise, it is
|
|
409
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
409
410
|
* @public
|
|
410
411
|
*/
|
|
411
412
|
DryRun?: boolean | undefined;
|
|
412
413
|
/**
|
|
413
|
-
* <p>The IDs of the Convertible Reserved Instances to exchange for another Convertible
|
|
414
|
-
*
|
|
414
|
+
* <p>The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved
|
|
415
|
+
* Instance of the same or higher value.</p>
|
|
415
416
|
* @public
|
|
416
417
|
*/
|
|
417
418
|
ReservedInstanceIds: string[] | undefined;
|
|
418
419
|
/**
|
|
419
|
-
* <p>The configuration of the target Convertible Reserved Instance to exchange for your
|
|
420
|
-
*
|
|
420
|
+
* <p>The configuration of the target Convertible Reserved Instance to exchange for your current
|
|
421
|
+
* Convertible Reserved Instances.</p>
|
|
421
422
|
* @public
|
|
422
423
|
*/
|
|
423
424
|
TargetConfigurations?: TargetConfigurationRequest[] | undefined;
|
|
@@ -3451,16 +3452,17 @@ export interface AssignIpv6AddressesRequest {
|
|
|
3451
3452
|
*/
|
|
3452
3453
|
NetworkInterfaceId: string | undefined;
|
|
3453
3454
|
/**
|
|
3454
|
-
* <p>The IPv6 addresses to be assigned to the network interface. You can't use this option
|
|
3455
|
+
* <p>The IPv6 addresses to be assigned to the network interface. You can't use this option
|
|
3456
|
+
* if you're specifying a number of IPv6 addresses.</p>
|
|
3455
3457
|
* @public
|
|
3456
3458
|
*/
|
|
3457
3459
|
Ipv6Addresses?: string[] | undefined;
|
|
3458
3460
|
/**
|
|
3459
|
-
* <p>The number of additional IPv6 addresses to assign to the network interface.
|
|
3460
|
-
*
|
|
3461
|
-
*
|
|
3462
|
-
*
|
|
3463
|
-
*
|
|
3461
|
+
* <p>The number of additional IPv6 addresses to assign to the network interface. The
|
|
3462
|
+
* specified number of IPv6 addresses are assigned in addition to the existing IPv6
|
|
3463
|
+
* addresses that are already assigned to the network interface. Amazon EC2 automatically
|
|
3464
|
+
* selects the IPv6 addresses from the subnet range. You can't use this option if
|
|
3465
|
+
* specifying specific IPv6 addresses.</p>
|
|
3464
3466
|
* @public
|
|
3465
3467
|
*/
|
|
3466
3468
|
Ipv6AddressCount?: number | undefined;
|
|
@@ -3470,8 +3472,8 @@ export interface AssignIpv6AddressesRequest {
|
|
|
3470
3472
|
*/
|
|
3471
3473
|
export interface AssignIpv6AddressesResult {
|
|
3472
3474
|
/**
|
|
3473
|
-
* <p>The new IPv6 addresses assigned to the network interface. Existing IPv6 addresses
|
|
3474
|
-
*
|
|
3475
|
+
* <p>The new IPv6 addresses assigned to the network interface. Existing IPv6 addresses that
|
|
3476
|
+
* were assigned to the network interface before the request are not included.</p>
|
|
3475
3477
|
* @public
|
|
3476
3478
|
*/
|
|
3477
3479
|
AssignedIpv6Addresses?: string[] | undefined;
|
|
@@ -3507,18 +3509,23 @@ export interface AssignPrivateIpAddressesRequest {
|
|
|
3507
3509
|
*/
|
|
3508
3510
|
NetworkInterfaceId: string | undefined;
|
|
3509
3511
|
/**
|
|
3510
|
-
* <p>The IP addresses to be assigned as a secondary private IP address to the network
|
|
3511
|
-
*
|
|
3512
|
+
* <p>The IP addresses to be assigned as a secondary private IP address to the network
|
|
3513
|
+
* interface. You can't specify this parameter when also specifying a number of secondary
|
|
3514
|
+
* IP addresses.</p>
|
|
3515
|
+
* <p>If you don't specify an IP address, Amazon EC2 automatically selects an IP address within
|
|
3516
|
+
* the subnet range.</p>
|
|
3512
3517
|
* @public
|
|
3513
3518
|
*/
|
|
3514
3519
|
PrivateIpAddresses?: string[] | undefined;
|
|
3515
3520
|
/**
|
|
3516
|
-
* <p>The number of secondary IP addresses to assign to the network interface. You can't
|
|
3521
|
+
* <p>The number of secondary IP addresses to assign to the network interface. You can't
|
|
3522
|
+
* specify this parameter when also specifying private IP addresses.</p>
|
|
3517
3523
|
* @public
|
|
3518
3524
|
*/
|
|
3519
3525
|
SecondaryPrivateIpAddressCount?: number | undefined;
|
|
3520
3526
|
/**
|
|
3521
|
-
* <p>Indicates whether to allow an IP address that is already assigned to another network
|
|
3527
|
+
* <p>Indicates whether to allow an IP address that is already assigned to another network
|
|
3528
|
+
* interface or instance to be reassigned to the specified network interface.</p>
|
|
3522
3529
|
* @public
|
|
3523
3530
|
*/
|
|
3524
3531
|
AllowReassignment?: boolean | undefined;
|
|
@@ -5319,21 +5326,28 @@ export interface EnaSrdSpecification {
|
|
|
5319
5326
|
*/
|
|
5320
5327
|
export interface AttachNetworkInterfaceRequest {
|
|
5321
5328
|
/**
|
|
5322
|
-
* <p>The index of the network card. Some instance types support multiple network cards.
|
|
5323
|
-
*
|
|
5324
|
-
*
|
|
5329
|
+
* <p>The index of the network card. Some instance types support multiple network cards. The
|
|
5330
|
+
* primary network interface must be assigned to network card index 0. The default is
|
|
5331
|
+
* network card index 0.</p>
|
|
5325
5332
|
* @public
|
|
5326
5333
|
*/
|
|
5327
5334
|
NetworkCardIndex?: number | undefined;
|
|
5328
5335
|
/**
|
|
5329
|
-
* <p>Configures ENA Express for the network interface that this action attaches to the
|
|
5336
|
+
* <p>Configures ENA Express for the network interface that this action attaches to the
|
|
5337
|
+
* instance.</p>
|
|
5330
5338
|
* @public
|
|
5331
5339
|
*/
|
|
5332
5340
|
EnaSrdSpecification?: EnaSrdSpecification | undefined;
|
|
5333
5341
|
/**
|
|
5334
|
-
* <p>
|
|
5335
|
-
*
|
|
5336
|
-
|
|
5342
|
+
* <p>The number of ENA queues to be created with the instance.</p>
|
|
5343
|
+
* @public
|
|
5344
|
+
*/
|
|
5345
|
+
EnaQueueCount?: number | undefined;
|
|
5346
|
+
/**
|
|
5347
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
5348
|
+
* making the request, and provides an error response. If you have the required
|
|
5349
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
5350
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
5337
5351
|
* @public
|
|
5338
5352
|
*/
|
|
5339
5353
|
DryRun?: boolean | undefined;
|
|
@@ -6919,7 +6933,8 @@ export type ListingState = (typeof ListingState)[keyof typeof ListingState];
|
|
|
6919
6933
|
*/
|
|
6920
6934
|
export interface InstanceCount {
|
|
6921
6935
|
/**
|
|
6922
|
-
* <p>The number of listed Reserved Instances in the state specified by the
|
|
6936
|
+
* <p>The number of listed Reserved Instances in the state specified by the
|
|
6937
|
+
* <code>state</code>.</p>
|
|
6923
6938
|
* @public
|
|
6924
6939
|
*/
|
|
6925
6940
|
InstanceCount?: number | undefined;
|
|
@@ -6946,14 +6961,20 @@ export type CurrencyCodeValues = (typeof CurrencyCodeValues)[keyof typeof Curren
|
|
|
6946
6961
|
*/
|
|
6947
6962
|
export interface PriceSchedule {
|
|
6948
6963
|
/**
|
|
6949
|
-
* <p>The current price schedule, as determined by the term remaining for the Reserved Instance
|
|
6950
|
-
*
|
|
6964
|
+
* <p>The current price schedule, as determined by the term remaining for the Reserved Instance
|
|
6965
|
+
* in the listing.</p>
|
|
6966
|
+
* <p>A specific price schedule is always in effect, but only one price schedule can be active
|
|
6967
|
+
* at any time. Take, for example, a Reserved Instance listing that has five months remaining in
|
|
6968
|
+
* its term. When you specify price schedules for five months and two months, this means that
|
|
6969
|
+
* schedule 1, covering the first three months of the remaining term, will be active during
|
|
6970
|
+
* months 5, 4, and 3. Then schedule 2, covering the last two months of the term, will be active
|
|
6971
|
+
* for months 2 and 1.</p>
|
|
6951
6972
|
* @public
|
|
6952
6973
|
*/
|
|
6953
6974
|
Active?: boolean | undefined;
|
|
6954
6975
|
/**
|
|
6955
|
-
* <p>The currency for transacting the Reserved Instance resale.
|
|
6956
|
-
*
|
|
6976
|
+
* <p>The currency for transacting the Reserved Instance resale. At this time, the only
|
|
6977
|
+
* supported currency is <code>USD</code>.</p>
|
|
6957
6978
|
* @public
|
|
6958
6979
|
*/
|
|
6959
6980
|
CurrencyCode?: CurrencyCodeValues | undefined;
|
|
@@ -6963,7 +6984,8 @@ export interface PriceSchedule {
|
|
|
6963
6984
|
*/
|
|
6964
6985
|
Price?: number | undefined;
|
|
6965
6986
|
/**
|
|
6966
|
-
* <p>The number of months remaining in the reservation. For example, 2 is the second to the
|
|
6987
|
+
* <p>The number of months remaining in the reservation. For example, 2 is the second to the
|
|
6988
|
+
* last month before the capacity reservation expires.</p>
|
|
6967
6989
|
* @public
|
|
6968
6990
|
*/
|
|
6969
6991
|
Term?: number | undefined;
|
|
@@ -6989,7 +7011,8 @@ export type ListingStatus = (typeof ListingStatus)[keyof typeof ListingStatus];
|
|
|
6989
7011
|
export interface ReservedInstancesListing {
|
|
6990
7012
|
/**
|
|
6991
7013
|
* <p>A unique, case-sensitive key supplied by the client to ensure that the request is
|
|
6992
|
-
*
|
|
7014
|
+
* idempotent. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
7015
|
+
* Idempotency</a>.</p>
|
|
6993
7016
|
* @public
|
|
6994
7017
|
*/
|
|
6995
7018
|
ClientToken?: string | undefined;
|
|
@@ -7024,7 +7047,8 @@ export interface ReservedInstancesListing {
|
|
|
7024
7047
|
*/
|
|
7025
7048
|
Status?: ListingStatus | undefined;
|
|
7026
7049
|
/**
|
|
7027
|
-
* <p>The reason for the current status of the Reserved Instance listing. The response can be
|
|
7050
|
+
* <p>The reason for the current status of the Reserved Instance listing. The response can be
|
|
7051
|
+
* blank.</p>
|
|
7028
7052
|
* @public
|
|
7029
7053
|
*/
|
|
7030
7054
|
StatusMessage?: string | undefined;
|