@aws-sdk/client-ec2 3.842.0 → 3.844.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 +679 -169
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/DescribeCapacityBlockStatusCommand.js +22 -0
- package/dist-es/commands/DescribeCapacityBlocksCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/models/models_3.js +15 -6
- package/dist-es/models/models_4.js +6 -0
- package/dist-es/pagination/DescribeCapacityBlockStatusPaginator.js +4 -0
- package/dist-es/pagination/DescribeCapacityBlocksPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_ec2.js +359 -60
- package/dist-es/waiters/index.js +4 -2
- package/dist-es/waiters/waitForSecurityGroupVpcAssociationAssociated.js +69 -0
- package/dist-es/waiters/waitForSecurityGroupVpcAssociationDisassociated.js +79 -0
- package/dist-types/EC2.d.ts +16 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
- package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
- package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.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/CreateCapacityReservationBySplittingCommand.d.ts +5 -3
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -2
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +6 -2
- package/dist-types/commands/DescribeCapacityBlockStatusCommand.d.ts +102 -0
- package/dist-types/commands/DescribeCapacityBlocksCommand.d.ts +106 -0
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +2 -1
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +14 -59
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIpamScopesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/DetachVolumeCommand.d.ts +3 -3
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +2 -1
- package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -2
- package/dist-types/commands/ImportImageCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -2
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +24 -2
- package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
- package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -2
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -1
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +7 -6
- package/dist-types/models/models_1.d.ts +14 -2
- package/dist-types/models/models_3.d.ts +329 -270
- package/dist-types/models/models_4.d.ts +288 -210
- package/dist-types/models/models_5.d.ts +217 -381
- package/dist-types/models/models_6.d.ts +381 -294
- package/dist-types/models/models_7.d.ts +301 -145
- package/dist-types/models/models_8.d.ts +141 -1
- package/dist-types/pagination/DescribeCapacityBlockStatusPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeCapacityBlocksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_ec2.d.ts +18 -0
- package/dist-types/ts3.4/EC2.d.ts +36 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeCapacityBlockStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeIpamScopesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- 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_3.d.ts +71 -57
- package/dist-types/ts3.4/models/models_4.d.ts +59 -52
- package/dist-types/ts3.4/models/models_5.d.ts +53 -72
- package/dist-types/ts3.4/models/models_6.d.ts +67 -54
- package/dist-types/ts3.4/models/models_7.d.ts +56 -38
- package/dist-types/ts3.4/models/models_8.d.ts +38 -0
- package/dist-types/ts3.4/pagination/DescribeCapacityBlockStatusPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeCapacityBlocksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/dist-types/ts3.4/waiters/index.d.ts +4 -2
- package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +4 -2
- package/dist-types/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +14 -0
- package/dist-types/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +14 -0
- package/package.json +15 -15
package/dist-es/EC2.js
CHANGED
|
@@ -252,6 +252,8 @@ import { DescribeByoipCidrsCommand, } from "./commands/DescribeByoipCidrsCommand
|
|
|
252
252
|
import { DescribeCapacityBlockExtensionHistoryCommand, } from "./commands/DescribeCapacityBlockExtensionHistoryCommand";
|
|
253
253
|
import { DescribeCapacityBlockExtensionOfferingsCommand, } from "./commands/DescribeCapacityBlockExtensionOfferingsCommand";
|
|
254
254
|
import { DescribeCapacityBlockOfferingsCommand, } from "./commands/DescribeCapacityBlockOfferingsCommand";
|
|
255
|
+
import { DescribeCapacityBlocksCommand, } from "./commands/DescribeCapacityBlocksCommand";
|
|
256
|
+
import { DescribeCapacityBlockStatusCommand, } from "./commands/DescribeCapacityBlockStatusCommand";
|
|
255
257
|
import { DescribeCapacityReservationBillingRequestsCommand, } from "./commands/DescribeCapacityReservationBillingRequestsCommand";
|
|
256
258
|
import { DescribeCapacityReservationFleetsCommand, } from "./commands/DescribeCapacityReservationFleetsCommand";
|
|
257
259
|
import { DescribeCapacityReservationsCommand, } from "./commands/DescribeCapacityReservationsCommand";
|
|
@@ -940,6 +942,8 @@ const commands = {
|
|
|
940
942
|
DescribeCapacityBlockExtensionHistoryCommand,
|
|
941
943
|
DescribeCapacityBlockExtensionOfferingsCommand,
|
|
942
944
|
DescribeCapacityBlockOfferingsCommand,
|
|
945
|
+
DescribeCapacityBlocksCommand,
|
|
946
|
+
DescribeCapacityBlockStatusCommand,
|
|
943
947
|
DescribeCapacityReservationBillingRequestsCommand,
|
|
944
948
|
DescribeCapacityReservationFleetsCommand,
|
|
945
949
|
DescribeCapacityReservationsCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeCapacityBlockStatusCommand, se_DescribeCapacityBlockStatusCommand } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeCapacityBlockStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonEC2", "DescribeCapacityBlockStatus", {})
|
|
17
|
+
.n("EC2Client", "DescribeCapacityBlockStatusCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeCapacityBlockStatusCommand)
|
|
20
|
+
.de(de_DescribeCapacityBlockStatusCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeCapacityBlocksCommand, se_DescribeCapacityBlocksCommand } from "../protocols/Aws_ec2";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeCapacityBlocksCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonEC2", "DescribeCapacityBlocks", {})
|
|
17
|
+
.n("EC2Client", "DescribeCapacityBlocksCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeCapacityBlocksCommand)
|
|
20
|
+
.de(de_DescribeCapacityBlocksCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -251,6 +251,8 @@ export * from "./DescribeByoipCidrsCommand";
|
|
|
251
251
|
export * from "./DescribeCapacityBlockExtensionHistoryCommand";
|
|
252
252
|
export * from "./DescribeCapacityBlockExtensionOfferingsCommand";
|
|
253
253
|
export * from "./DescribeCapacityBlockOfferingsCommand";
|
|
254
|
+
export * from "./DescribeCapacityBlockStatusCommand";
|
|
255
|
+
export * from "./DescribeCapacityBlocksCommand";
|
|
254
256
|
export * from "./DescribeCapacityReservationBillingRequestsCommand";
|
|
255
257
|
export * from "./DescribeCapacityReservationFleetsCommand";
|
|
256
258
|
export * from "./DescribeCapacityReservationsCommand";
|
|
@@ -26,6 +26,7 @@ export const AcceleratorType = {
|
|
|
26
26
|
INFERENCE: "inference",
|
|
27
27
|
};
|
|
28
28
|
export const ResourceType = {
|
|
29
|
+
capacity_block: "capacity-block",
|
|
29
30
|
capacity_reservation: "capacity-reservation",
|
|
30
31
|
capacity_reservation_fleet: "capacity-reservation-fleet",
|
|
31
32
|
carrier_gateway: "carrier-gateway",
|
|
@@ -142,6 +142,21 @@ export const CapacityBlockExtensionStatus = {
|
|
|
142
142
|
PAYMENT_PENDING: "payment-pending",
|
|
143
143
|
PAYMENT_SUCCEEDED: "payment-succeeded",
|
|
144
144
|
};
|
|
145
|
+
export const CapacityBlockResourceState = {
|
|
146
|
+
active: "active",
|
|
147
|
+
cancelled: "cancelled",
|
|
148
|
+
expired: "expired",
|
|
149
|
+
failed: "failed",
|
|
150
|
+
payment_failed: "payment-failed",
|
|
151
|
+
payment_pending: "payment-pending",
|
|
152
|
+
scheduled: "scheduled",
|
|
153
|
+
unavailable: "unavailable",
|
|
154
|
+
};
|
|
155
|
+
export const CapacityBlockInterconnectStatus = {
|
|
156
|
+
impaired: "impaired",
|
|
157
|
+
insufficient_data: "insufficient-data",
|
|
158
|
+
ok: "ok",
|
|
159
|
+
};
|
|
145
160
|
export const CallerRole = {
|
|
146
161
|
odcr_owner: "odcr-owner",
|
|
147
162
|
unused_reservation_billing_owner: "unused-reservation-billing-owner",
|
|
@@ -154,12 +169,6 @@ export const CapacityReservationBillingRequestStatus = {
|
|
|
154
169
|
rejected: "rejected",
|
|
155
170
|
revoked: "revoked",
|
|
156
171
|
};
|
|
157
|
-
export const ClientVpnConnectionStatusCode = {
|
|
158
|
-
active: "active",
|
|
159
|
-
failed_to_terminate: "failed-to-terminate",
|
|
160
|
-
terminated: "terminated",
|
|
161
|
-
terminating: "terminating",
|
|
162
|
-
};
|
|
163
172
|
export const VpnTunnelOptionsSpecificationFilterSensitiveLog = (obj) => ({
|
|
164
173
|
...obj,
|
|
165
174
|
...(obj.PreSharedKey && { PreSharedKey: SENSITIVE_STRING }),
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const ClientVpnConnectionStatusCode = {
|
|
3
|
+
active: "active",
|
|
4
|
+
failed_to_terminate: "failed-to-terminate",
|
|
5
|
+
terminated: "terminated",
|
|
6
|
+
terminating: "terminating",
|
|
7
|
+
};
|
|
2
8
|
export const AssociatedNetworkType = {
|
|
3
9
|
vpc: "vpc",
|
|
4
10
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { DescribeCapacityBlockStatusCommand, } from "../commands/DescribeCapacityBlockStatusCommand";
|
|
3
|
+
import { EC2Client } from "../EC2Client";
|
|
4
|
+
export const paginateDescribeCapacityBlockStatus = createPaginator(EC2Client, DescribeCapacityBlockStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { DescribeCapacityBlocksCommand, } from "../commands/DescribeCapacityBlocksCommand";
|
|
3
|
+
import { EC2Client } from "../EC2Client";
|
|
4
|
+
export const paginateDescribeCapacityBlocks = createPaginator(EC2Client, DescribeCapacityBlocksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -5,10 +5,12 @@ export * from "./DescribeByoipCidrsPaginator";
|
|
|
5
5
|
export * from "./DescribeCapacityBlockExtensionHistoryPaginator";
|
|
6
6
|
export * from "./DescribeCapacityBlockExtensionOfferingsPaginator";
|
|
7
7
|
export * from "./DescribeCapacityBlockOfferingsPaginator";
|
|
8
|
+
export * from "./DescribeCapacityBlockStatusPaginator";
|
|
9
|
+
export * from "./DescribeCapacityBlocksPaginator";
|
|
8
10
|
export * from "./DescribeCapacityReservationBillingRequestsPaginator";
|
|
11
|
+
export * from "./Interfaces";
|
|
9
12
|
export * from "./DescribeCapacityReservationFleetsPaginator";
|
|
10
13
|
export * from "./DescribeCapacityReservationsPaginator";
|
|
11
|
-
export * from "./Interfaces";
|
|
12
14
|
export * from "./DescribeCarrierGatewaysPaginator";
|
|
13
15
|
export * from "./DescribeClassicLinkInstancesPaginator";
|
|
14
16
|
export * from "./DescribeClientVpnAuthorizationRulesPaginator";
|