@aws-sdk/client-ec2 3.937.0 → 3.938.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 +16 -0
- package/dist-cjs/index.js +357 -52
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/CreateInterruptibleCapacityReservationAllocationCommand.js +16 -0
- package/dist-es/commands/UpdateInterruptibleCapacityReservationAllocationCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +13 -0
- package/dist-es/schemas/schemas_0.js +314 -52
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +24 -0
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +12 -0
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
- package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +93 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +12 -0
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +7 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +12 -0
- package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +2 -1
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +2 -1
- package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +24 -0
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +12 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +83 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +29 -0
- package/dist-types/models/models_0.d.ts +90 -37
- package/dist-types/models/models_1.d.ts +108 -74
- package/dist-types/models/models_2.d.ts +73 -65
- package/dist-types/models/models_3.d.ts +68 -182
- package/dist-types/models/models_4.d.ts +182 -97
- package/dist-types/models/models_5.d.ts +117 -158
- package/dist-types/models/models_6.d.ts +160 -151
- package/dist-types/models/models_7.d.ts +222 -3
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/EC2.d.ts +46 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateStoreImageTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -8
- package/dist-types/ts3.4/models/models_1.d.ts +24 -17
- package/dist-types/ts3.4/models/models_2.d.ts +17 -18
- package/dist-types/ts3.4/models/models_3.d.ts +21 -43
- package/dist-types/ts3.4/models/models_4.d.ts +47 -30
- package/dist-types/ts3.4/models/models_5.d.ts +37 -34
- package/dist-types/ts3.4/models/models_6.d.ts +33 -25
- package/dist-types/ts3.4/models/models_7.d.ts +42 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +1 -1
package/dist-es/EC2.js
CHANGED
|
@@ -84,6 +84,7 @@ import { CreateInstanceConnectEndpointCommand, } from "./commands/CreateInstance
|
|
|
84
84
|
import { CreateInstanceEventWindowCommand, } from "./commands/CreateInstanceEventWindowCommand";
|
|
85
85
|
import { CreateInstanceExportTaskCommand, } from "./commands/CreateInstanceExportTaskCommand";
|
|
86
86
|
import { CreateInternetGatewayCommand, } from "./commands/CreateInternetGatewayCommand";
|
|
87
|
+
import { CreateInterruptibleCapacityReservationAllocationCommand, } from "./commands/CreateInterruptibleCapacityReservationAllocationCommand";
|
|
87
88
|
import { CreateIpamCommand } from "./commands/CreateIpamCommand";
|
|
88
89
|
import { CreateIpamExternalResourceVerificationTokenCommand, } from "./commands/CreateIpamExternalResourceVerificationTokenCommand";
|
|
89
90
|
import { CreateIpamPolicyCommand, } from "./commands/CreateIpamPolicyCommand";
|
|
@@ -743,6 +744,7 @@ import { UnassignPrivateNatGatewayAddressCommand, } from "./commands/UnassignPri
|
|
|
743
744
|
import { UnlockSnapshotCommand, } from "./commands/UnlockSnapshotCommand";
|
|
744
745
|
import { UnmonitorInstancesCommand, } from "./commands/UnmonitorInstancesCommand";
|
|
745
746
|
import { UpdateCapacityManagerOrganizationsAccessCommand, } from "./commands/UpdateCapacityManagerOrganizationsAccessCommand";
|
|
747
|
+
import { UpdateInterruptibleCapacityReservationAllocationCommand, } from "./commands/UpdateInterruptibleCapacityReservationAllocationCommand";
|
|
746
748
|
import { UpdateSecurityGroupRuleDescriptionsEgressCommand, } from "./commands/UpdateSecurityGroupRuleDescriptionsEgressCommand";
|
|
747
749
|
import { UpdateSecurityGroupRuleDescriptionsIngressCommand, } from "./commands/UpdateSecurityGroupRuleDescriptionsIngressCommand";
|
|
748
750
|
import { WithdrawByoipCidrCommand, } from "./commands/WithdrawByoipCidrCommand";
|
|
@@ -833,6 +835,7 @@ const commands = {
|
|
|
833
835
|
CreateInstanceEventWindowCommand,
|
|
834
836
|
CreateInstanceExportTaskCommand,
|
|
835
837
|
CreateInternetGatewayCommand,
|
|
838
|
+
CreateInterruptibleCapacityReservationAllocationCommand,
|
|
836
839
|
CreateIpamCommand,
|
|
837
840
|
CreateIpamExternalResourceVerificationTokenCommand,
|
|
838
841
|
CreateIpamPolicyCommand,
|
|
@@ -1492,6 +1495,7 @@ const commands = {
|
|
|
1492
1495
|
UnlockSnapshotCommand,
|
|
1493
1496
|
UnmonitorInstancesCommand,
|
|
1494
1497
|
UpdateCapacityManagerOrganizationsAccessCommand,
|
|
1498
|
+
UpdateInterruptibleCapacityReservationAllocationCommand,
|
|
1495
1499
|
UpdateSecurityGroupRuleDescriptionsEgressCommand,
|
|
1496
1500
|
UpdateSecurityGroupRuleDescriptionsIngressCommand,
|
|
1497
1501
|
WithdrawByoipCidrCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateInterruptibleCapacityReservationAllocation } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateInterruptibleCapacityReservationAllocationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonEC2", "CreateInterruptibleCapacityReservationAllocation", {})
|
|
13
|
+
.n("EC2Client", "CreateInterruptibleCapacityReservationAllocationCommand")
|
|
14
|
+
.sc(CreateInterruptibleCapacityReservationAllocation)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateInterruptibleCapacityReservationAllocation } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateInterruptibleCapacityReservationAllocationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonEC2", "UpdateInterruptibleCapacityReservationAllocation", {})
|
|
13
|
+
.n("EC2Client", "UpdateInterruptibleCapacityReservationAllocationCommand")
|
|
14
|
+
.sc(UpdateInterruptibleCapacityReservationAllocation)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -83,6 +83,7 @@ export * from "./CreateInstanceConnectEndpointCommand";
|
|
|
83
83
|
export * from "./CreateInstanceEventWindowCommand";
|
|
84
84
|
export * from "./CreateInstanceExportTaskCommand";
|
|
85
85
|
export * from "./CreateInternetGatewayCommand";
|
|
86
|
+
export * from "./CreateInterruptibleCapacityReservationAllocationCommand";
|
|
86
87
|
export * from "./CreateIpamCommand";
|
|
87
88
|
export * from "./CreateIpamExternalResourceVerificationTokenCommand";
|
|
88
89
|
export * from "./CreateIpamPolicyCommand";
|
|
@@ -742,6 +743,7 @@ export * from "./UnassignPrivateNatGatewayAddressCommand";
|
|
|
742
743
|
export * from "./UnlockSnapshotCommand";
|
|
743
744
|
export * from "./UnmonitorInstancesCommand";
|
|
744
745
|
export * from "./UpdateCapacityManagerOrganizationsAccessCommand";
|
|
746
|
+
export * from "./UpdateInterruptibleCapacityReservationAllocationCommand";
|
|
745
747
|
export * from "./UpdateSecurityGroupRuleDescriptionsEgressCommand";
|
|
746
748
|
export * from "./UpdateSecurityGroupRuleDescriptionsIngressCommand";
|
|
747
749
|
export * from "./WithdrawByoipCidrCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -591,6 +591,17 @@ export const CapacityReservationTenancy = {
|
|
|
591
591
|
dedicated: "dedicated",
|
|
592
592
|
default: "default",
|
|
593
593
|
};
|
|
594
|
+
export const InterruptionType = {
|
|
595
|
+
adhoc: "adhoc",
|
|
596
|
+
};
|
|
597
|
+
export const InterruptibleCapacityReservationAllocationStatus = {
|
|
598
|
+
active: "active",
|
|
599
|
+
canceled: "canceled",
|
|
600
|
+
canceling: "canceling",
|
|
601
|
+
failed: "failed",
|
|
602
|
+
pending: "pending",
|
|
603
|
+
updating: "updating",
|
|
604
|
+
};
|
|
594
605
|
export const CapacityReservationType = {
|
|
595
606
|
CAPACITY_BLOCK: "capacity-block",
|
|
596
607
|
DEFAULT: "default",
|
|
@@ -2131,6 +2142,7 @@ export const ShutdownBehavior = {
|
|
|
2131
2142
|
};
|
|
2132
2143
|
export const MarketType = {
|
|
2133
2144
|
capacity_block: "capacity-block",
|
|
2145
|
+
interruptible_capacity_reservation: "interruptible-capacity-reservation",
|
|
2134
2146
|
spot: "spot",
|
|
2135
2147
|
};
|
|
2136
2148
|
export const InstanceInterruptionBehavior = {
|
|
@@ -2980,6 +2992,7 @@ export const InstanceBootModeValues = {
|
|
|
2980
2992
|
};
|
|
2981
2993
|
export const InstanceLifecycleType = {
|
|
2982
2994
|
capacity_block: "capacity-block",
|
|
2995
|
+
interruptible_capacity_reservation: "interruptible-capacity-reservation",
|
|
2983
2996
|
scheduled: "scheduled",
|
|
2984
2997
|
spot: "spot",
|
|
2985
2998
|
};
|