@aws-sdk/client-ec2 3.662.0 → 3.665.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/README.md +8 -0
- package/dist-cjs/index.js +1635 -1556
- package/dist-cjs/runtimeConfig.js +1 -0
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ModifyInstanceCpuOptionsCommand.js +22 -0
- package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
- package/dist-es/commands/ReportInstanceStatusCommand.js +2 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_2.js +1 -1
- package/dist-es/models/models_6.js +1 -6
- package/dist-es/models/models_7.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +1601 -1545
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AllocateAddressCommand.d.ts +2 -2
- package/dist-types/commands/AllocateHostsCommand.d.ts +5 -5
- package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +4 -4
- package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +5 -5
- package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
- package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +6 -2
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +2 -2
- package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
- package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +4 -4
- package/dist-types/commands/AttachVolumeCommand.d.ts +5 -5
- package/dist-types/commands/AttachVpnGatewayCommand.d.ts +2 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +32 -32
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +16 -16
- package/dist-types/commands/BundleInstanceCommand.d.ts +8 -8
- package/dist-types/commands/CancelBundleTaskCommand.d.ts +8 -8
- package/dist-types/commands/CancelConversionTaskCommand.d.ts +1 -1
- package/dist-types/commands/ConfirmProductInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +6 -6
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +9 -9
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +4 -4
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +8 -8
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +18 -18
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +9 -9
- package/dist-types/commands/CreateKeyPairCommand.d.ts +4 -4
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +7 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +6 -6
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +22 -22
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +4 -4
- package/dist-types/commands/CreateRouteCommand.d.ts +9 -9
- package/dist-types/commands/CreateRouteTableCommand.d.ts +2 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +12 -12
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
- package/dist-types/commands/CreateSubnetCommand.d.ts +9 -9
- package/dist-types/commands/CreateVolumeCommand.d.ts +21 -21
- package/dist-types/commands/CreateVpcCommand.d.ts +8 -8
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +4 -4
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +18 -18
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +10 -10
- package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVpcCommand.d.ts +7 -1
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +9 -9
- package/dist-types/commands/DescribeBundleTasksCommand.d.ts +9 -9
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +5 -5
- package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +12 -12
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeHostsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +33 -33
- package/dist-types/commands/DescribeImagesCommand.d.ts +29 -29
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +7 -7
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +6 -6
- package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +51 -51
- package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +6 -6
- package/dist-types/commands/DescribeKeyPairsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeMovingAddressesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -7
- package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +7 -7
- package/dist-types/commands/DescribeRegionsCommand.d.ts +7 -7
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +16 -16
- package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +18 -18
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +50 -50
- package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +6 -6
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +21 -21
- package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +14 -14
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +9 -9
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVolumesCommand.d.ts +26 -26
- package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +4 -4
- package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVpcsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +10 -10
- package/dist-types/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DetachVolumeCommand.d.ts +5 -5
- package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -2
- package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
- package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/commands/ImportInstanceCommand.d.ts +24 -24
- package/dist-types/commands/ImportKeyPairCommand.d.ts +3 -3
- package/dist-types/commands/ImportVolumeCommand.d.ts +3 -3
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyHostsCommand.d.ts +4 -4
- package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +5 -5
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +22 -22
- package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +85 -0
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +4 -4
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +15 -15
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +3 -3
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +8 -7
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +7 -8
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +6 -6
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +6 -6
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
- package/dist-types/commands/RegisterImageCommand.d.ts +28 -28
- package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +6 -6
- package/dist-types/commands/ReplaceRouteCommand.d.ts +9 -9
- package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReportInstanceStatusCommand.d.ts +4 -4
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +8 -8
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +20 -20
- package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +39 -39
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +31 -31
- package/dist-types/commands/RunInstancesCommand.d.ts +114 -114
- package/dist-types/commands/StartInstancesCommand.d.ts +1 -1
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +3 -3
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +3 -3
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -1
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +15 -15
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +15 -15
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +266 -268
- package/dist-types/models/models_1.d.ts +231 -231
- package/dist-types/models/models_2.d.ts +372 -376
- package/dist-types/models/models_3.d.ts +221 -221
- package/dist-types/models/models_4.d.ts +858 -858
- package/dist-types/models/models_5.d.ts +210 -210
- package/dist-types/models/models_6.d.ts +289 -291
- package/dist-types/models/models_7.d.ts +424 -361
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -56
- package/dist-types/ts3.4/models/models_1.d.ts +41 -41
- package/dist-types/ts3.4/models/models_2.d.ts +71 -71
- package/dist-types/ts3.4/models/models_3.d.ts +27 -27
- package/dist-types/ts3.4/models/models_4.d.ts +112 -112
- package/dist-types/ts3.4/models/models_5.d.ts +27 -27
- package/dist-types/ts3.4/models/models_6.d.ts +53 -56
- package/dist-types/ts3.4/models/models_7.d.ts +78 -61
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
- package/package.json +15 -15
|
@@ -86,6 +86,17 @@ import {
|
|
|
86
86
|
SpotInstanceRequest,
|
|
87
87
|
} from "./models_5";
|
|
88
88
|
import { CapacityReservationSpecification } from "./models_6";
|
|
89
|
+
export interface ModifyVpnConnectionResult {
|
|
90
|
+
VpnConnection?: VpnConnection;
|
|
91
|
+
}
|
|
92
|
+
export interface ModifyVpnConnectionOptionsRequest {
|
|
93
|
+
VpnConnectionId: string | undefined;
|
|
94
|
+
LocalIpv4NetworkCidr?: string;
|
|
95
|
+
RemoteIpv4NetworkCidr?: string;
|
|
96
|
+
LocalIpv6NetworkCidr?: string;
|
|
97
|
+
RemoteIpv6NetworkCidr?: string;
|
|
98
|
+
DryRun?: boolean;
|
|
99
|
+
}
|
|
89
100
|
export interface ModifyVpnConnectionOptionsResult {
|
|
90
101
|
VpnConnection?: VpnConnection;
|
|
91
102
|
}
|
|
@@ -270,9 +281,9 @@ export interface ReservedInstanceLimitPrice {
|
|
|
270
281
|
export interface PurchaseReservedInstancesOfferingRequest {
|
|
271
282
|
InstanceCount: number | undefined;
|
|
272
283
|
ReservedInstancesOfferingId: string | undefined;
|
|
284
|
+
PurchaseTime?: Date;
|
|
273
285
|
DryRun?: boolean;
|
|
274
286
|
LimitPrice?: ReservedInstanceLimitPrice;
|
|
275
|
-
PurchaseTime?: Date;
|
|
276
287
|
}
|
|
277
288
|
export interface PurchaseReservedInstancesOfferingResult {
|
|
278
289
|
ReservedInstancesId?: string;
|
|
@@ -295,23 +306,23 @@ export interface RebootInstancesRequest {
|
|
|
295
306
|
}
|
|
296
307
|
export interface RegisterImageRequest {
|
|
297
308
|
ImageLocation?: string;
|
|
298
|
-
Architecture?: ArchitectureValues;
|
|
299
|
-
BlockDeviceMappings?: BlockDeviceMapping[];
|
|
300
|
-
Description?: string;
|
|
301
|
-
DryRun?: boolean;
|
|
302
|
-
EnaSupport?: boolean;
|
|
303
|
-
KernelId?: string;
|
|
304
|
-
Name: string | undefined;
|
|
305
309
|
BillingProducts?: string[];
|
|
306
|
-
RamdiskId?: string;
|
|
307
|
-
RootDeviceName?: string;
|
|
308
|
-
SriovNetSupport?: string;
|
|
309
|
-
VirtualizationType?: string;
|
|
310
310
|
BootMode?: BootModeValues;
|
|
311
311
|
TpmSupport?: TpmSupportValues;
|
|
312
312
|
UefiData?: string;
|
|
313
313
|
ImdsSupport?: ImdsSupportValues;
|
|
314
314
|
TagSpecifications?: TagSpecification[];
|
|
315
|
+
DryRun?: boolean;
|
|
316
|
+
Name: string | undefined;
|
|
317
|
+
Description?: string;
|
|
318
|
+
Architecture?: ArchitectureValues;
|
|
319
|
+
KernelId?: string;
|
|
320
|
+
RamdiskId?: string;
|
|
321
|
+
RootDeviceName?: string;
|
|
322
|
+
BlockDeviceMappings?: BlockDeviceMapping[];
|
|
323
|
+
VirtualizationType?: string;
|
|
324
|
+
SriovNetSupport?: string;
|
|
325
|
+
EnaSupport?: boolean;
|
|
315
326
|
}
|
|
316
327
|
export interface RegisterImageResult {
|
|
317
328
|
ImageId?: string;
|
|
@@ -423,47 +434,47 @@ export interface ReplaceIamInstanceProfileAssociationResult {
|
|
|
423
434
|
IamInstanceProfileAssociation?: IamInstanceProfileAssociation;
|
|
424
435
|
}
|
|
425
436
|
export interface ReplaceNetworkAclAssociationRequest {
|
|
426
|
-
AssociationId: string | undefined;
|
|
427
437
|
DryRun?: boolean;
|
|
438
|
+
AssociationId: string | undefined;
|
|
428
439
|
NetworkAclId: string | undefined;
|
|
429
440
|
}
|
|
430
441
|
export interface ReplaceNetworkAclAssociationResult {
|
|
431
442
|
NewAssociationId?: string;
|
|
432
443
|
}
|
|
433
444
|
export interface ReplaceNetworkAclEntryRequest {
|
|
434
|
-
CidrBlock?: string;
|
|
435
445
|
DryRun?: boolean;
|
|
436
|
-
Egress: boolean | undefined;
|
|
437
|
-
IcmpTypeCode?: IcmpTypeCode;
|
|
438
|
-
Ipv6CidrBlock?: string;
|
|
439
446
|
NetworkAclId: string | undefined;
|
|
440
|
-
|
|
447
|
+
RuleNumber: number | undefined;
|
|
441
448
|
Protocol: string | undefined;
|
|
442
449
|
RuleAction: RuleAction | undefined;
|
|
443
|
-
|
|
450
|
+
Egress: boolean | undefined;
|
|
451
|
+
CidrBlock?: string;
|
|
452
|
+
Ipv6CidrBlock?: string;
|
|
453
|
+
IcmpTypeCode?: IcmpTypeCode;
|
|
454
|
+
PortRange?: PortRange;
|
|
444
455
|
}
|
|
445
456
|
export interface ReplaceRouteRequest {
|
|
446
|
-
DestinationCidrBlock?: string;
|
|
447
|
-
DestinationIpv6CidrBlock?: string;
|
|
448
457
|
DestinationPrefixListId?: string;
|
|
449
|
-
DryRun?: boolean;
|
|
450
458
|
VpcEndpointId?: string;
|
|
451
|
-
EgressOnlyInternetGatewayId?: string;
|
|
452
|
-
GatewayId?: string;
|
|
453
|
-
InstanceId?: string;
|
|
454
459
|
LocalTarget?: boolean;
|
|
455
|
-
NatGatewayId?: string;
|
|
456
460
|
TransitGatewayId?: string;
|
|
457
461
|
LocalGatewayId?: string;
|
|
458
462
|
CarrierGatewayId?: string;
|
|
459
|
-
|
|
463
|
+
CoreNetworkArn?: string;
|
|
464
|
+
DryRun?: boolean;
|
|
460
465
|
RouteTableId: string | undefined;
|
|
466
|
+
DestinationCidrBlock?: string;
|
|
467
|
+
GatewayId?: string;
|
|
468
|
+
DestinationIpv6CidrBlock?: string;
|
|
469
|
+
EgressOnlyInternetGatewayId?: string;
|
|
470
|
+
InstanceId?: string;
|
|
471
|
+
NetworkInterfaceId?: string;
|
|
461
472
|
VpcPeeringConnectionId?: string;
|
|
462
|
-
|
|
473
|
+
NatGatewayId?: string;
|
|
463
474
|
}
|
|
464
475
|
export interface ReplaceRouteTableAssociationRequest {
|
|
465
|
-
AssociationId: string | undefined;
|
|
466
476
|
DryRun?: boolean;
|
|
477
|
+
AssociationId: string | undefined;
|
|
467
478
|
RouteTableId: string | undefined;
|
|
468
479
|
}
|
|
469
480
|
export interface ReplaceRouteTableAssociationResult {
|
|
@@ -509,13 +520,13 @@ export declare const ReportStatusType: {
|
|
|
509
520
|
export type ReportStatusType =
|
|
510
521
|
(typeof ReportStatusType)[keyof typeof ReportStatusType];
|
|
511
522
|
export interface ReportInstanceStatusRequest {
|
|
512
|
-
Description?: string;
|
|
513
523
|
DryRun?: boolean;
|
|
514
|
-
EndTime?: Date;
|
|
515
524
|
Instances: string[] | undefined;
|
|
516
|
-
ReasonCodes: ReportInstanceReasonCodes[] | undefined;
|
|
517
|
-
StartTime?: Date;
|
|
518
525
|
Status: ReportStatusType | undefined;
|
|
526
|
+
StartTime?: Date;
|
|
527
|
+
EndTime?: Date;
|
|
528
|
+
ReasonCodes: ReportInstanceReasonCodes[] | undefined;
|
|
529
|
+
Description?: string;
|
|
519
530
|
}
|
|
520
531
|
export interface RequestSpotFleetRequest {
|
|
521
532
|
DryRun?: boolean;
|
|
@@ -543,19 +554,19 @@ export interface RequestSpotLaunchSpecification {
|
|
|
543
554
|
UserData?: string;
|
|
544
555
|
}
|
|
545
556
|
export interface RequestSpotInstancesRequest {
|
|
546
|
-
AvailabilityZoneGroup?: string;
|
|
547
|
-
BlockDurationMinutes?: number;
|
|
548
|
-
ClientToken?: string;
|
|
549
|
-
DryRun?: boolean;
|
|
550
|
-
InstanceCount?: number;
|
|
551
|
-
LaunchGroup?: string;
|
|
552
557
|
LaunchSpecification?: RequestSpotLaunchSpecification;
|
|
558
|
+
TagSpecifications?: TagSpecification[];
|
|
559
|
+
InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
|
|
560
|
+
DryRun?: boolean;
|
|
553
561
|
SpotPrice?: string;
|
|
562
|
+
ClientToken?: string;
|
|
563
|
+
InstanceCount?: number;
|
|
554
564
|
Type?: SpotInstanceType;
|
|
555
565
|
ValidFrom?: Date;
|
|
556
566
|
ValidUntil?: Date;
|
|
557
|
-
|
|
558
|
-
|
|
567
|
+
LaunchGroup?: string;
|
|
568
|
+
AvailabilityZoneGroup?: string;
|
|
569
|
+
BlockDurationMinutes?: number;
|
|
559
570
|
}
|
|
560
571
|
export interface RequestSpotInstancesResult {
|
|
561
572
|
SpotInstanceRequests?: SpotInstanceRequest[];
|
|
@@ -598,9 +609,9 @@ export interface ResetImageAttributeRequest {
|
|
|
598
609
|
DryRun?: boolean;
|
|
599
610
|
}
|
|
600
611
|
export interface ResetInstanceAttributeRequest {
|
|
601
|
-
Attribute: InstanceAttributeName | undefined;
|
|
602
612
|
DryRun?: boolean;
|
|
603
613
|
InstanceId: string | undefined;
|
|
614
|
+
Attribute: InstanceAttributeName | undefined;
|
|
604
615
|
}
|
|
605
616
|
export interface ResetNetworkInterfaceAttributeRequest {
|
|
606
617
|
DryRun?: boolean;
|
|
@@ -676,16 +687,16 @@ export interface RevokeClientVpnIngressResult {
|
|
|
676
687
|
Status?: ClientVpnAuthorizationRuleStatus;
|
|
677
688
|
}
|
|
678
689
|
export interface RevokeSecurityGroupEgressRequest {
|
|
690
|
+
SecurityGroupRuleIds?: string[];
|
|
679
691
|
DryRun?: boolean;
|
|
680
692
|
GroupId: string | undefined;
|
|
681
|
-
IpPermissions?: IpPermission[];
|
|
682
|
-
SecurityGroupRuleIds?: string[];
|
|
683
|
-
CidrIp?: string;
|
|
684
|
-
FromPort?: number;
|
|
685
|
-
IpProtocol?: string;
|
|
686
|
-
ToPort?: number;
|
|
687
693
|
SourceSecurityGroupName?: string;
|
|
688
694
|
SourceSecurityGroupOwnerId?: string;
|
|
695
|
+
IpProtocol?: string;
|
|
696
|
+
FromPort?: number;
|
|
697
|
+
ToPort?: number;
|
|
698
|
+
CidrIp?: string;
|
|
699
|
+
IpPermissions?: IpPermission[];
|
|
689
700
|
}
|
|
690
701
|
export interface RevokeSecurityGroupEgressResult {
|
|
691
702
|
Return?: boolean;
|
|
@@ -701,8 +712,8 @@ export interface RevokeSecurityGroupIngressRequest {
|
|
|
701
712
|
SourceSecurityGroupName?: string;
|
|
702
713
|
SourceSecurityGroupOwnerId?: string;
|
|
703
714
|
ToPort?: number;
|
|
704
|
-
DryRun?: boolean;
|
|
705
715
|
SecurityGroupRuleIds?: string[];
|
|
716
|
+
DryRun?: boolean;
|
|
706
717
|
}
|
|
707
718
|
export interface RevokeSecurityGroupIngressResult {
|
|
708
719
|
Return?: boolean;
|
|
@@ -774,15 +785,6 @@ export interface RunInstancesRequest {
|
|
|
774
785
|
SecurityGroups?: string[];
|
|
775
786
|
SubnetId?: string;
|
|
776
787
|
UserData?: string;
|
|
777
|
-
AdditionalInfo?: string;
|
|
778
|
-
ClientToken?: string;
|
|
779
|
-
DisableApiTermination?: boolean;
|
|
780
|
-
DryRun?: boolean;
|
|
781
|
-
EbsOptimized?: boolean;
|
|
782
|
-
IamInstanceProfile?: IamInstanceProfileSpecification;
|
|
783
|
-
InstanceInitiatedShutdownBehavior?: ShutdownBehavior;
|
|
784
|
-
NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
|
|
785
|
-
PrivateIpAddress?: string;
|
|
786
788
|
ElasticGpuSpecification?: ElasticGpuSpecification[];
|
|
787
789
|
ElasticInferenceAccelerators?: ElasticInferenceAccelerator[];
|
|
788
790
|
TagSpecifications?: TagSpecification[];
|
|
@@ -799,6 +801,15 @@ export interface RunInstancesRequest {
|
|
|
799
801
|
MaintenanceOptions?: InstanceMaintenanceOptionsRequest;
|
|
800
802
|
DisableApiStop?: boolean;
|
|
801
803
|
EnablePrimaryIpv6?: boolean;
|
|
804
|
+
DryRun?: boolean;
|
|
805
|
+
DisableApiTermination?: boolean;
|
|
806
|
+
InstanceInitiatedShutdownBehavior?: ShutdownBehavior;
|
|
807
|
+
PrivateIpAddress?: string;
|
|
808
|
+
ClientToken?: string;
|
|
809
|
+
AdditionalInfo?: string;
|
|
810
|
+
NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
|
|
811
|
+
IamInstanceProfile?: IamInstanceProfileSpecification;
|
|
812
|
+
EbsOptimized?: boolean;
|
|
802
813
|
}
|
|
803
814
|
export interface ScheduledInstancesEbs {
|
|
804
815
|
DeleteOnTermination?: boolean;
|
|
@@ -933,8 +944,8 @@ export interface StartInstancesRequest {
|
|
|
933
944
|
DryRun?: boolean;
|
|
934
945
|
}
|
|
935
946
|
export interface InstanceStateChange {
|
|
936
|
-
CurrentState?: InstanceState;
|
|
937
947
|
InstanceId?: string;
|
|
948
|
+
CurrentState?: InstanceState;
|
|
938
949
|
PreviousState?: InstanceState;
|
|
939
950
|
}
|
|
940
951
|
export interface StartInstancesResult {
|
|
@@ -1000,9 +1011,9 @@ export interface TerminateInstancesResult {
|
|
|
1000
1011
|
TerminatingInstances?: InstanceStateChange[];
|
|
1001
1012
|
}
|
|
1002
1013
|
export interface UnassignIpv6AddressesRequest {
|
|
1003
|
-
Ipv6Addresses?: string[];
|
|
1004
1014
|
Ipv6Prefixes?: string[];
|
|
1005
1015
|
NetworkInterfaceId: string | undefined;
|
|
1016
|
+
Ipv6Addresses?: string[];
|
|
1006
1017
|
}
|
|
1007
1018
|
export interface UnassignIpv6AddressesResult {
|
|
1008
1019
|
NetworkInterfaceId?: string;
|
|
@@ -1010,9 +1021,9 @@ export interface UnassignIpv6AddressesResult {
|
|
|
1010
1021
|
UnassignedIpv6Prefixes?: string[];
|
|
1011
1022
|
}
|
|
1012
1023
|
export interface UnassignPrivateIpAddressesRequest {
|
|
1024
|
+
Ipv4Prefixes?: string[];
|
|
1013
1025
|
NetworkInterfaceId: string | undefined;
|
|
1014
1026
|
PrivateIpAddresses?: string[];
|
|
1015
|
-
Ipv4Prefixes?: string[];
|
|
1016
1027
|
}
|
|
1017
1028
|
export interface UnassignPrivateNatGatewayAddressRequest {
|
|
1018
1029
|
NatGatewayId: string | undefined;
|
|
@@ -1069,6 +1080,9 @@ export interface WithdrawByoipCidrRequest {
|
|
|
1069
1080
|
export interface WithdrawByoipCidrResult {
|
|
1070
1081
|
ByoipCidr?: ByoipCidr;
|
|
1071
1082
|
}
|
|
1083
|
+
export declare const ModifyVpnConnectionResultFilterSensitiveLog: (
|
|
1084
|
+
obj: ModifyVpnConnectionResult
|
|
1085
|
+
) => any;
|
|
1072
1086
|
export declare const ModifyVpnConnectionOptionsResultFilterSensitiveLog: (
|
|
1073
1087
|
obj: ModifyVpnConnectionOptionsResult
|
|
1074
1088
|
) => any;
|
|
@@ -1084,6 +1098,9 @@ export declare const ModifyVpnTunnelOptionsRequestFilterSensitiveLog: (
|
|
|
1084
1098
|
export declare const ModifyVpnTunnelOptionsResultFilterSensitiveLog: (
|
|
1085
1099
|
obj: ModifyVpnTunnelOptionsResult
|
|
1086
1100
|
) => any;
|
|
1101
|
+
export declare const ReportInstanceStatusRequestFilterSensitiveLog: (
|
|
1102
|
+
obj: ReportInstanceStatusRequest
|
|
1103
|
+
) => any;
|
|
1087
1104
|
export declare const RequestSpotFleetRequestFilterSensitiveLog: (
|
|
1088
1105
|
obj: RequestSpotFleetRequest
|
|
1089
1106
|
) => any;
|
|
@@ -2027,6 +2027,10 @@ import {
|
|
|
2027
2027
|
ModifyInstanceCapacityReservationAttributesCommandInput,
|
|
2028
2028
|
ModifyInstanceCapacityReservationAttributesCommandOutput,
|
|
2029
2029
|
} from "../commands/ModifyInstanceCapacityReservationAttributesCommand";
|
|
2030
|
+
import {
|
|
2031
|
+
ModifyInstanceCpuOptionsCommandInput,
|
|
2032
|
+
ModifyInstanceCpuOptionsCommandOutput,
|
|
2033
|
+
} from "../commands/ModifyInstanceCpuOptionsCommand";
|
|
2030
2034
|
import {
|
|
2031
2035
|
ModifyInstanceCreditSpecificationCommandInput,
|
|
2032
2036
|
ModifyInstanceCreditSpecificationCommandOutput,
|
|
@@ -4535,6 +4539,10 @@ export declare const se_ModifyInstanceCapacityReservationAttributesCommand: (
|
|
|
4535
4539
|
input: ModifyInstanceCapacityReservationAttributesCommandInput,
|
|
4536
4540
|
context: __SerdeContext
|
|
4537
4541
|
) => Promise<__HttpRequest>;
|
|
4542
|
+
export declare const se_ModifyInstanceCpuOptionsCommand: (
|
|
4543
|
+
input: ModifyInstanceCpuOptionsCommandInput,
|
|
4544
|
+
context: __SerdeContext
|
|
4545
|
+
) => Promise<__HttpRequest>;
|
|
4538
4546
|
export declare const se_ModifyInstanceCreditSpecificationCommand: (
|
|
4539
4547
|
input: ModifyInstanceCreditSpecificationCommandInput,
|
|
4540
4548
|
context: __SerdeContext
|
|
@@ -7043,6 +7051,10 @@ export declare const de_ModifyInstanceCapacityReservationAttributesCommand: (
|
|
|
7043
7051
|
output: __HttpResponse,
|
|
7044
7052
|
context: __SerdeContext
|
|
7045
7053
|
) => Promise<ModifyInstanceCapacityReservationAttributesCommandOutput>;
|
|
7054
|
+
export declare const de_ModifyInstanceCpuOptionsCommand: (
|
|
7055
|
+
output: __HttpResponse,
|
|
7056
|
+
context: __SerdeContext
|
|
7057
|
+
) => Promise<ModifyInstanceCpuOptionsCommandOutput>;
|
|
7046
7058
|
export declare const de_ModifyInstanceCreditSpecificationCommand: (
|
|
7047
7059
|
output: __HttpResponse,
|
|
7048
7060
|
context: __SerdeContext
|
|
@@ -9,9 +9,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
11
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
|
-
defaultUserAgentProvider:
|
|
13
|
-
import("@
|
|
14
|
-
>;
|
|
12
|
+
defaultUserAgentProvider: (
|
|
13
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
14
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
17
17
|
requestHandler:
|
|
@@ -34,6 +34,10 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
34
34
|
logger: import("@smithy/types").Logger;
|
|
35
35
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
36
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
+
userAgentAppId?:
|
|
38
|
+
| string
|
|
39
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
40
|
+
| undefined;
|
|
37
41
|
retryStrategy?:
|
|
38
42
|
| import("@smithy/types").RetryStrategy
|
|
39
43
|
| import("@smithy/types").RetryStrategyV2
|
|
@@ -13,9 +13,11 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
13
13
|
) => import("@smithy/types").MemoizedProvider<
|
|
14
14
|
import("@smithy/types").AwsCredentialIdentity
|
|
15
15
|
>;
|
|
16
|
-
defaultUserAgentProvider:
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
defaultUserAgentProvider: (
|
|
17
|
+
config?:
|
|
18
|
+
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
19
|
+
| undefined
|
|
20
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
21
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
22
|
region: string | import("@smithy/types").Provider<string>;
|
|
21
23
|
requestHandler:
|
|
@@ -26,6 +28,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
26
28
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
27
29
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
30
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
32
|
apiVersion: string;
|
|
30
33
|
cacheMiddleware?: boolean | undefined;
|
|
31
34
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
-
defaultUserAgentProvider:
|
|
26
|
-
import("@
|
|
27
|
-
>;
|
|
25
|
+
defaultUserAgentProvider: (
|
|
26
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
27
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
28
28
|
credentialDefaultProvider: (
|
|
29
29
|
input: any
|
|
30
30
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
38
38
|
import("@smithy/smithy-client").DefaultsMode
|
|
39
39
|
>;
|
|
40
40
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
userAgentAppId?:
|
|
42
|
+
| string
|
|
43
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
44
|
+
| undefined;
|
|
41
45
|
retryStrategy?:
|
|
42
46
|
| import("@smithy/types").RetryStrategy
|
|
43
47
|
| import("@smithy/types").RetryStrategyV2
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.665.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.665.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.665.0",
|
|
25
|
+
"@aws-sdk/core": "3.665.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.665.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.664.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.664.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.664.0",
|
|
30
|
+
"@aws-sdk/middleware-sdk-ec2": "3.664.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.664.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.664.0",
|
|
33
|
+
"@aws-sdk/types": "3.664.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.664.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.664.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.664.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.9",
|
|
38
38
|
"@smithy/core": "^2.4.7",
|
|
39
39
|
"@smithy/fetch-http-handler": "^3.2.9",
|