@aws-sdk/client-ec2 3.697.0 → 3.698.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 +24 -0
- package/dist-cjs/index.js +562 -85
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DescribeCapacityBlockExtensionHistoryCommand.js +22 -0
- package/dist-es/commands/DescribeCapacityBlockExtensionOfferingsCommand.js +22 -0
- package/dist-es/commands/PurchaseCapacityBlockExtensionCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +4 -14
- package/dist-es/models/models_1.js +17 -0
- package/dist-es/models/models_3.js +5 -11
- package/dist-es/models/models_4.js +11 -0
- package/dist-es/models/models_5.js +0 -4
- package/dist-es/models/models_6.js +4 -11
- package/dist-es/models/models_7.js +11 -0
- package/dist-es/pagination/DescribeCapacityBlockExtensionHistoryPaginator.js +4 -0
- package/dist-es/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_ec2.js +446 -38
- package/dist-types/EC2.d.ts +22 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +3 -3
- package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
- package/dist-types/commands/CancelCapacityReservationCommand.d.ts +17 -2
- package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -6
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +16 -5
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +31 -16
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -2
- package/dist-types/commands/DeleteFpgaImageCommand.d.ts +2 -1
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -2
- package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +5 -0
- package/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +102 -0
- package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +92 -0
- package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +3 -1
- package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +9 -3
- package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
- package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
- package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
- package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +4 -3
- package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
- package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +17 -5
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +9 -3
- package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +90 -0
- package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +163 -67
- package/dist-types/models/models_1.d.ts +236 -302
- package/dist-types/models/models_2.d.ts +187 -66
- package/dist-types/models/models_3.d.ts +1425 -1385
- package/dist-types/models/models_4.d.ts +4190 -4186
- package/dist-types/models/models_5.d.ts +388 -172
- package/dist-types/models/models_6.d.ts +319 -425
- package/dist-types/models/models_7.d.ts +408 -24
- package/dist-types/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +64 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -18
- package/dist-types/ts3.4/models/models_1.d.ts +32 -32
- package/dist-types/ts3.4/models/models_2.d.ts +33 -17
- package/dist-types/ts3.4/models/models_3.d.ts +77 -76
- package/dist-types/ts3.4/models/models_4.d.ts +79 -82
- package/dist-types/ts3.4/models/models_5.d.ts +85 -46
- package/dist-types/ts3.4/models/models_6.d.ts +58 -103
- package/dist-types/ts3.4/models/models_7.d.ts +108 -1
- package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.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 +36 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ModifyTrafficMirrorSessionRequest, ModifyTrafficMirrorSessionResult } from "../models/
|
|
4
|
+
import { ModifyTrafficMirrorSessionRequest, ModifyTrafficMirrorSessionResult } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ModifyTransitGatewayRequest, ModifyTransitGatewayResult } from "../models/
|
|
4
|
+
import { ModifyTransitGatewayRequest, ModifyTransitGatewayResult } from "../models/models_7";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ModifyTransitGatewayPrefixListReferenceRequest } from "../models/
|
|
5
|
-
import { ModifyTransitGatewayPrefixListReferenceResult } from "../models/models_7";
|
|
4
|
+
import { ModifyTransitGatewayPrefixListReferenceRequest, ModifyTransitGatewayPrefixListReferenceResult } from "../models/models_7";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -27,7 +27,7 @@ declare const ModifyVpcBlockPublicAccessOptionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Modify VPC Block Public Access (BPA) options. VPC Block
|
|
30
|
+
* <p>Modify VPC Block Public Access (BPA) options. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,8 +27,9 @@ declare const MoveCapacityReservationInstancesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Move available capacity from a source Capacity Reservation to a destination Capacity
|
|
31
|
-
*
|
|
30
|
+
* <p>Move available capacity from a source Capacity Reservation to a destination Capacity
|
|
31
|
+
* Reservation. The source Capacity Reservation and the destination Capacity Reservation
|
|
32
|
+
* must be <code>active</code>, owned by your Amazon Web Services account, and share the following: </p>
|
|
32
33
|
* <ul>
|
|
33
34
|
* <li>
|
|
34
35
|
* <p>Instance type</p>
|
|
@@ -46,7 +47,8 @@ declare const MoveCapacityReservationInstancesCommand_base: {
|
|
|
46
47
|
* <p>Placement group</p>
|
|
47
48
|
* </li>
|
|
48
49
|
* <li>
|
|
49
|
-
* <p>Capacity Reservation end time - <code>At specific time</code> or
|
|
50
|
+
* <p>Capacity Reservation end time - <code>At specific time</code> or
|
|
51
|
+
* <code>Manually</code>.</p>
|
|
50
52
|
* </li>
|
|
51
53
|
* </ul>
|
|
52
54
|
* @example
|
|
@@ -78,7 +80,7 @@ declare const MoveCapacityReservationInstancesCommand_base: {
|
|
|
78
80
|
* // AvailableInstanceCount: Number("int"),
|
|
79
81
|
* // EbsOptimized: true || false,
|
|
80
82
|
* // EphemeralStorage: true || false,
|
|
81
|
-
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
|
|
83
|
+
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed" || "assessing" || "delayed" || "unsupported",
|
|
82
84
|
* // StartDate: new Date("TIMESTAMP"),
|
|
83
85
|
* // EndDate: new Date("TIMESTAMP"),
|
|
84
86
|
* // EndDateType: "unlimited" || "limited",
|
|
@@ -101,6 +103,11 @@ declare const MoveCapacityReservationInstancesCommand_base: {
|
|
|
101
103
|
* // ],
|
|
102
104
|
* // ReservationType: "default" || "capacity-block",
|
|
103
105
|
* // UnusedReservationBillingOwnerId: "STRING_VALUE",
|
|
106
|
+
* // CommitmentInfo: { // CapacityReservationCommitmentInfo
|
|
107
|
+
* // CommittedInstanceCount: Number("int"),
|
|
108
|
+
* // CommitmentEndDate: new Date("TIMESTAMP"),
|
|
109
|
+
* // },
|
|
110
|
+
* // DeliveryPreference: "fixed" || "incremental",
|
|
104
111
|
* // },
|
|
105
112
|
* // DestinationCapacityReservation: {
|
|
106
113
|
* // CapacityReservationId: "STRING_VALUE",
|
|
@@ -115,7 +122,7 @@ declare const MoveCapacityReservationInstancesCommand_base: {
|
|
|
115
122
|
* // AvailableInstanceCount: Number("int"),
|
|
116
123
|
* // EbsOptimized: true || false,
|
|
117
124
|
* // EphemeralStorage: true || false,
|
|
118
|
-
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
|
|
125
|
+
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed" || "assessing" || "delayed" || "unsupported",
|
|
119
126
|
* // StartDate: new Date("TIMESTAMP"),
|
|
120
127
|
* // EndDate: new Date("TIMESTAMP"),
|
|
121
128
|
* // EndDateType: "unlimited" || "limited",
|
|
@@ -138,6 +145,11 @@ declare const MoveCapacityReservationInstancesCommand_base: {
|
|
|
138
145
|
* // ],
|
|
139
146
|
* // ReservationType: "default" || "capacity-block",
|
|
140
147
|
* // UnusedReservationBillingOwnerId: "STRING_VALUE",
|
|
148
|
+
* // CommitmentInfo: {
|
|
149
|
+
* // CommittedInstanceCount: Number("int"),
|
|
150
|
+
* // CommitmentEndDate: new Date("TIMESTAMP"),
|
|
151
|
+
* // },
|
|
152
|
+
* // DeliveryPreference: "fixed" || "incremental",
|
|
141
153
|
* // },
|
|
142
154
|
* // InstanceCount: Number("int"),
|
|
143
155
|
* // };
|
|
@@ -27,8 +27,9 @@ declare const PurchaseCapacityBlockCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Purchase the Capacity Block for use with your account.
|
|
31
|
-
*
|
|
30
|
+
* <p>Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure
|
|
31
|
+
* GPU capacity is available for machine learning (ML) workloads. You must specify the ID
|
|
32
|
+
* of the Capacity Block offering you are purchasing.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -67,7 +68,7 @@ declare const PurchaseCapacityBlockCommand_base: {
|
|
|
67
68
|
* // AvailableInstanceCount: Number("int"),
|
|
68
69
|
* // EbsOptimized: true || false,
|
|
69
70
|
* // EphemeralStorage: true || false,
|
|
70
|
-
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
|
|
71
|
+
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed" || "assessing" || "delayed" || "unsupported",
|
|
71
72
|
* // StartDate: new Date("TIMESTAMP"),
|
|
72
73
|
* // EndDate: new Date("TIMESTAMP"),
|
|
73
74
|
* // EndDateType: "unlimited" || "limited",
|
|
@@ -90,6 +91,11 @@ declare const PurchaseCapacityBlockCommand_base: {
|
|
|
90
91
|
* // ],
|
|
91
92
|
* // ReservationType: "default" || "capacity-block",
|
|
92
93
|
* // UnusedReservationBillingOwnerId: "STRING_VALUE",
|
|
94
|
+
* // CommitmentInfo: { // CapacityReservationCommitmentInfo
|
|
95
|
+
* // CommittedInstanceCount: Number("int"),
|
|
96
|
+
* // CommitmentEndDate: new Date("TIMESTAMP"),
|
|
97
|
+
* // },
|
|
98
|
+
* // DeliveryPreference: "fixed" || "incremental",
|
|
93
99
|
* // },
|
|
94
100
|
* // };
|
|
95
101
|
*
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
+
import { PurchaseCapacityBlockExtensionRequest, PurchaseCapacityBlockExtensionResult } from "../models/models_7";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PurchaseCapacityBlockExtensionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PurchaseCapacityBlockExtensionCommandInput extends PurchaseCapacityBlockExtensionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PurchaseCapacityBlockExtensionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PurchaseCapacityBlockExtensionCommandOutput extends PurchaseCapacityBlockExtensionResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PurchaseCapacityBlockExtensionCommand_base: {
|
|
25
|
+
new (input: PurchaseCapacityBlockExtensionCommandInput): import("@smithy/smithy-client").CommandImpl<PurchaseCapacityBlockExtensionCommandInput, PurchaseCapacityBlockExtensionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PurchaseCapacityBlockExtensionCommandInput): import("@smithy/smithy-client").CommandImpl<PurchaseCapacityBlockExtensionCommandInput, PurchaseCapacityBlockExtensionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Purchase the Capacity Block extension for use with your account. You must specify the
|
|
31
|
+
* ID of the Capacity Block extension offering you are purchasing.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { EC2Client, PurchaseCapacityBlockExtensionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
|
|
36
|
+
* // const { EC2Client, PurchaseCapacityBlockExtensionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
|
|
37
|
+
* const client = new EC2Client(config);
|
|
38
|
+
* const input = { // PurchaseCapacityBlockExtensionRequest
|
|
39
|
+
* CapacityBlockExtensionOfferingId: "STRING_VALUE", // required
|
|
40
|
+
* CapacityReservationId: "STRING_VALUE", // required
|
|
41
|
+
* DryRun: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new PurchaseCapacityBlockExtensionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // PurchaseCapacityBlockExtensionResult
|
|
46
|
+
* // CapacityBlockExtensions: [ // CapacityBlockExtensionSet
|
|
47
|
+
* // { // CapacityBlockExtension
|
|
48
|
+
* // CapacityReservationId: "STRING_VALUE",
|
|
49
|
+
* // InstanceType: "STRING_VALUE",
|
|
50
|
+
* // InstanceCount: Number("int"),
|
|
51
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
52
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
53
|
+
* // CapacityBlockExtensionOfferingId: "STRING_VALUE",
|
|
54
|
+
* // CapacityBlockExtensionDurationHours: Number("int"),
|
|
55
|
+
* // CapacityBlockExtensionStatus: "payment-pending" || "payment-failed" || "payment-succeeded",
|
|
56
|
+
* // CapacityBlockExtensionPurchaseDate: new Date("TIMESTAMP"),
|
|
57
|
+
* // CapacityBlockExtensionStartDate: new Date("TIMESTAMP"),
|
|
58
|
+
* // CapacityBlockExtensionEndDate: new Date("TIMESTAMP"),
|
|
59
|
+
* // UpfrontFee: "STRING_VALUE",
|
|
60
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param PurchaseCapacityBlockExtensionCommandInput - {@link PurchaseCapacityBlockExtensionCommandInput}
|
|
68
|
+
* @returns {@link PurchaseCapacityBlockExtensionCommandOutput}
|
|
69
|
+
* @see {@link PurchaseCapacityBlockExtensionCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link PurchaseCapacityBlockExtensionCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link EC2ServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class PurchaseCapacityBlockExtensionCommand extends PurchaseCapacityBlockExtensionCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: PurchaseCapacityBlockExtensionRequest;
|
|
83
|
+
output: PurchaseCapacityBlockExtensionResult;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: PurchaseCapacityBlockExtensionCommandInput;
|
|
87
|
+
output: PurchaseCapacityBlockExtensionCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -27,9 +27,9 @@ declare const RejectCapacityReservationBillingOwnershipCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Rejects a request to assign billing of the available capacity of a shared Capacity
|
|
31
|
-
* to your account. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html">
|
|
32
|
-
*
|
|
30
|
+
* <p>Rejects a request to assign billing of the available capacity of a shared Capacity
|
|
31
|
+
* Reservation to your account. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html"> Billing assignment for shared
|
|
32
|
+
* Amazon EC2 Capacity Reservations</a>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -234,6 +234,8 @@ export * from "./DescribeAvailabilityZonesCommand";
|
|
|
234
234
|
export * from "./DescribeAwsNetworkPerformanceMetricSubscriptionsCommand";
|
|
235
235
|
export * from "./DescribeBundleTasksCommand";
|
|
236
236
|
export * from "./DescribeByoipCidrsCommand";
|
|
237
|
+
export * from "./DescribeCapacityBlockExtensionHistoryCommand";
|
|
238
|
+
export * from "./DescribeCapacityBlockExtensionOfferingsCommand";
|
|
237
239
|
export * from "./DescribeCapacityBlockOfferingsCommand";
|
|
238
240
|
export * from "./DescribeCapacityReservationBillingRequestsCommand";
|
|
239
241
|
export * from "./DescribeCapacityReservationFleetsCommand";
|
|
@@ -578,6 +580,7 @@ export * from "./ProvisionIpamByoasnCommand";
|
|
|
578
580
|
export * from "./ProvisionIpamPoolCidrCommand";
|
|
579
581
|
export * from "./ProvisionPublicIpv4PoolCidrCommand";
|
|
580
582
|
export * from "./PurchaseCapacityBlockCommand";
|
|
583
|
+
export * from "./PurchaseCapacityBlockExtensionCommand";
|
|
581
584
|
export * from "./PurchaseHostReservationCommand";
|
|
582
585
|
export * from "./PurchaseReservedInstancesOfferingCommand";
|
|
583
586
|
export * from "./PurchaseScheduledInstancesCommand";
|
|
@@ -2421,6 +2421,47 @@ export interface AddIpamOperatingRegion {
|
|
|
2421
2421
|
*/
|
|
2422
2422
|
RegionName?: string | undefined;
|
|
2423
2423
|
}
|
|
2424
|
+
/**
|
|
2425
|
+
* <p>Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html">Quotas for your IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
|
|
2426
|
+
* @public
|
|
2427
|
+
*/
|
|
2428
|
+
export interface AddIpamOrganizationalUnitExclusion {
|
|
2429
|
+
/**
|
|
2430
|
+
* <p>An Amazon Web Services Organizations entity path. Build the path for the OU(s) using Amazon Web Services Organizations IDs separated by a <code>/</code>. Include all child OUs by ending the path with <code>/*</code>.</p>
|
|
2431
|
+
* <ul>
|
|
2432
|
+
* <li>
|
|
2433
|
+
* <p>Example 1</p>
|
|
2434
|
+
* <ul>
|
|
2435
|
+
* <li>
|
|
2436
|
+
* <p>Path to a child OU: <code>o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/</code>
|
|
2437
|
+
* </p>
|
|
2438
|
+
* </li>
|
|
2439
|
+
* <li>
|
|
2440
|
+
* <p>In this example, <code>o-a1b2c3d4e5</code> is the organization ID, <code>r-f6g7h8i9j0example</code> is the root ID , <code>ou-ghi0-awsccccc</code> is an OU ID, and <code>ou-jkl0-awsddddd</code> is a child OU ID.</p>
|
|
2441
|
+
* </li>
|
|
2442
|
+
* <li>
|
|
2443
|
+
* <p>IPAM will not manage the IP addresses in accounts in the child OU.</p>
|
|
2444
|
+
* </li>
|
|
2445
|
+
* </ul>
|
|
2446
|
+
* </li>
|
|
2447
|
+
* <li>
|
|
2448
|
+
* <p>Example 2</p>
|
|
2449
|
+
* <ul>
|
|
2450
|
+
* <li>
|
|
2451
|
+
* <p>Path where all child OUs will be part of the exclusion: <code>o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/*</code>
|
|
2452
|
+
* </p>
|
|
2453
|
+
* </li>
|
|
2454
|
+
* <li>
|
|
2455
|
+
* <p>In this example, IPAM will not manage the IP addresses in accounts in the OU (<code>ou-ghi0-awsccccc</code>) or in accounts in any OUs that are children of the OU.</p>
|
|
2456
|
+
* </li>
|
|
2457
|
+
* </ul>
|
|
2458
|
+
* </li>
|
|
2459
|
+
* </ul>
|
|
2460
|
+
* <p>For more information on how to construct an entity path, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path">Understand the Amazon Web Services Organizations entity path</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
|
|
2461
|
+
* @public
|
|
2462
|
+
*/
|
|
2463
|
+
OrganizationsEntityPath?: string | undefined;
|
|
2464
|
+
}
|
|
2424
2465
|
/**
|
|
2425
2466
|
* <p>An entry for a prefix list.</p>
|
|
2426
2467
|
* @public
|
|
@@ -6491,7 +6532,8 @@ export interface CapacityReservationFleetCancellationState {
|
|
|
6491
6532
|
*/
|
|
6492
6533
|
export interface CancelCapacityReservationFleetsResult {
|
|
6493
6534
|
/**
|
|
6494
|
-
* <p>Information about the Capacity Reservation Fleets that were successfully
|
|
6535
|
+
* <p>Information about the Capacity Reservation Fleets that were successfully
|
|
6536
|
+
* cancelled.</p>
|
|
6495
6537
|
* @public
|
|
6496
6538
|
*/
|
|
6497
6539
|
SuccessfulFleetCancellations?: CapacityReservationFleetCancellationState[] | undefined;
|
|
@@ -7290,6 +7332,18 @@ export interface CopySnapshotResult {
|
|
|
7290
7332
|
*/
|
|
7291
7333
|
SnapshotId?: string | undefined;
|
|
7292
7334
|
}
|
|
7335
|
+
/**
|
|
7336
|
+
* @public
|
|
7337
|
+
* @enum
|
|
7338
|
+
*/
|
|
7339
|
+
export declare const CapacityReservationDeliveryPreference: {
|
|
7340
|
+
readonly FIXED: "fixed";
|
|
7341
|
+
readonly INCREMENTAL: "incremental";
|
|
7342
|
+
};
|
|
7343
|
+
/**
|
|
7344
|
+
* @public
|
|
7345
|
+
*/
|
|
7346
|
+
export type CapacityReservationDeliveryPreference = (typeof CapacityReservationDeliveryPreference)[keyof typeof CapacityReservationDeliveryPreference];
|
|
7293
7347
|
/**
|
|
7294
7348
|
* @public
|
|
7295
7349
|
* @enum
|
|
@@ -7364,7 +7418,12 @@ export interface CreateCapacityReservationRequest {
|
|
|
7364
7418
|
*/
|
|
7365
7419
|
ClientToken?: string | undefined;
|
|
7366
7420
|
/**
|
|
7367
|
-
* <p>The instance type for which to reserve capacity
|
|
7421
|
+
* <p>The instance type for which to reserve capacity.</p>
|
|
7422
|
+
* <note>
|
|
7423
|
+
* <p>You can request future-dated Capacity Reservations for instance types in the C, M, R, I,
|
|
7424
|
+
* and T instance families only.</p>
|
|
7425
|
+
* </note>
|
|
7426
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
7368
7427
|
* @public
|
|
7369
7428
|
*/
|
|
7370
7429
|
InstanceType: string | undefined;
|
|
@@ -7384,15 +7443,18 @@ export interface CreateCapacityReservationRequest {
|
|
|
7384
7443
|
*/
|
|
7385
7444
|
AvailabilityZoneId?: string | undefined;
|
|
7386
7445
|
/**
|
|
7387
|
-
* <p>Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one
|
|
7446
|
+
* <p>Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one
|
|
7447
|
+
* of the following tenancy settings:</p>
|
|
7388
7448
|
* <ul>
|
|
7389
7449
|
* <li>
|
|
7390
7450
|
* <p>
|
|
7391
|
-
* <code>default</code> - The Capacity Reservation is created on hardware that is
|
|
7451
|
+
* <code>default</code> - The Capacity Reservation is created on hardware that is
|
|
7452
|
+
* shared with other Amazon Web Services accounts.</p>
|
|
7392
7453
|
* </li>
|
|
7393
7454
|
* <li>
|
|
7394
7455
|
* <p>
|
|
7395
|
-
* <code>dedicated</code> - The Capacity Reservation is created on single-tenant
|
|
7456
|
+
* <code>dedicated</code> - The Capacity Reservation is created on single-tenant
|
|
7457
|
+
* hardware that is dedicated to a single Amazon Web Services account.</p>
|
|
7396
7458
|
* </li>
|
|
7397
7459
|
* </ul>
|
|
7398
7460
|
* @public
|
|
@@ -7400,15 +7462,22 @@ export interface CreateCapacityReservationRequest {
|
|
|
7400
7462
|
Tenancy?: CapacityReservationTenancy | undefined;
|
|
7401
7463
|
/**
|
|
7402
7464
|
* <p>The number of instances for which to reserve capacity.</p>
|
|
7465
|
+
* <note>
|
|
7466
|
+
* <p>You can request future-dated Capacity Reservations for an instance count
|
|
7467
|
+
* with a minimum of 100 VPUs. For example, if you request a future-dated Capacity
|
|
7468
|
+
* Reservation for <code>m5.xlarge</code> instances, you must request at least
|
|
7469
|
+
* 25 instances (<i>25 * m5.xlarge = 100 vCPUs</i>).</p>
|
|
7470
|
+
* </note>
|
|
7403
7471
|
* <p>Valid range: 1 - 1000</p>
|
|
7404
7472
|
* @public
|
|
7405
7473
|
*/
|
|
7406
7474
|
InstanceCount: number | undefined;
|
|
7407
7475
|
/**
|
|
7408
|
-
* <p>Indicates whether the Capacity Reservation supports EBS-optimized instances. This
|
|
7409
|
-
* dedicated throughput to Amazon EBS and an optimized configuration
|
|
7410
|
-
* optimal I/O performance. This optimization isn't available with all
|
|
7411
|
-
* Additional usage charges apply when using an EBS- optimized
|
|
7476
|
+
* <p>Indicates whether the Capacity Reservation supports EBS-optimized instances. This
|
|
7477
|
+
* optimization provides dedicated throughput to Amazon EBS and an optimized configuration
|
|
7478
|
+
* stack to provide optimal I/O performance. This optimization isn't available with all
|
|
7479
|
+
* instance types. Additional usage charges apply when using an EBS- optimized
|
|
7480
|
+
* instance.</p>
|
|
7412
7481
|
* @public
|
|
7413
7482
|
*/
|
|
7414
7483
|
EbsOptimized?: boolean | undefined;
|
|
@@ -7420,54 +7489,64 @@ export interface CreateCapacityReservationRequest {
|
|
|
7420
7489
|
*/
|
|
7421
7490
|
EphemeralStorage?: boolean | undefined;
|
|
7422
7491
|
/**
|
|
7423
|
-
* <p>The date and time at which the Capacity Reservation expires. When a Capacity
|
|
7424
|
-
* is released and you can no longer launch
|
|
7425
|
-
*
|
|
7492
|
+
* <p>The date and time at which the Capacity Reservation expires. When a Capacity
|
|
7493
|
+
* Reservation expires, the reserved capacity is released and you can no longer launch
|
|
7494
|
+
* instances into it. The Capacity Reservation's state changes to <code>expired</code>
|
|
7495
|
+
* when it reaches its end date and time.</p>
|
|
7426
7496
|
* <p>You must provide an <code>EndDate</code> value if <code>EndDateType</code> is
|
|
7427
|
-
*
|
|
7428
|
-
*
|
|
7429
|
-
* <p>If the <code>EndDateType</code> is <code>limited</code>, the Capacity Reservation
|
|
7430
|
-
*
|
|
7497
|
+
* <code>limited</code>. Omit <code>EndDate</code> if <code>EndDateType</code> is
|
|
7498
|
+
* <code>unlimited</code>.</p>
|
|
7499
|
+
* <p>If the <code>EndDateType</code> is <code>limited</code>, the Capacity Reservation
|
|
7500
|
+
* is cancelled within an hour from the specified time. For example, if you specify
|
|
7501
|
+
* 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55
|
|
7502
|
+
* and 14:30:55 on 5/31/2019.</p>
|
|
7503
|
+
* <p>If you are requesting a future-dated Capacity Reservation, you can't specify an end
|
|
7504
|
+
* date and time that is within the commitment duration.</p>
|
|
7431
7505
|
* @public
|
|
7432
7506
|
*/
|
|
7433
7507
|
EndDate?: Date | undefined;
|
|
7434
7508
|
/**
|
|
7435
|
-
* <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can
|
|
7436
|
-
* types:</p>
|
|
7509
|
+
* <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can
|
|
7510
|
+
* have one of the following end types:</p>
|
|
7437
7511
|
* <ul>
|
|
7438
7512
|
* <li>
|
|
7439
7513
|
* <p>
|
|
7440
|
-
* <code>unlimited</code> - The Capacity Reservation remains active until you
|
|
7441
|
-
* provide an <code>EndDate</code> if the
|
|
7442
|
-
* <code>unlimited</code>.</p>
|
|
7514
|
+
* <code>unlimited</code> - The Capacity Reservation remains active until you
|
|
7515
|
+
* explicitly cancel it. Do not provide an <code>EndDate</code> if the
|
|
7516
|
+
* <code>EndDateType</code> is <code>unlimited</code>.</p>
|
|
7443
7517
|
* </li>
|
|
7444
7518
|
* <li>
|
|
7445
7519
|
* <p>
|
|
7446
|
-
* <code>limited</code> - The Capacity Reservation expires automatically at a
|
|
7447
|
-
* provide an <code>EndDate</code> value if the
|
|
7448
|
-
* <code>limited</code>.</p>
|
|
7520
|
+
* <code>limited</code> - The Capacity Reservation expires automatically at a
|
|
7521
|
+
* specified date and time. You must provide an <code>EndDate</code> value if the
|
|
7522
|
+
* <code>EndDateType</code> value is <code>limited</code>.</p>
|
|
7449
7523
|
* </li>
|
|
7450
7524
|
* </ul>
|
|
7451
7525
|
* @public
|
|
7452
7526
|
*/
|
|
7453
7527
|
EndDateType?: EndDateType | undefined;
|
|
7454
7528
|
/**
|
|
7455
|
-
* <p>Indicates the type of instance launches that the Capacity Reservation accepts. The
|
|
7456
|
-
* include:</p>
|
|
7529
|
+
* <p>Indicates the type of instance launches that the Capacity Reservation accepts. The
|
|
7530
|
+
* options include:</p>
|
|
7457
7531
|
* <ul>
|
|
7458
7532
|
* <li>
|
|
7459
7533
|
* <p>
|
|
7460
|
-
* <code>open</code> - The Capacity Reservation automatically matches all instances
|
|
7461
|
-
*
|
|
7462
|
-
*
|
|
7534
|
+
* <code>open</code> - The Capacity Reservation automatically matches all instances
|
|
7535
|
+
* that have matching attributes (instance type, platform, and Availability Zone).
|
|
7536
|
+
* Instances that have matching attributes run in the Capacity Reservation
|
|
7537
|
+
* automatically without specifying any additional parameters.</p>
|
|
7463
7538
|
* </li>
|
|
7464
7539
|
* <li>
|
|
7465
7540
|
* <p>
|
|
7466
|
-
* <code>targeted</code> - The Capacity Reservation only accepts instances that
|
|
7467
|
-
* (instance type, platform, and Availability Zone), and
|
|
7468
|
-
* Capacity Reservation. This ensures that only permitted
|
|
7541
|
+
* <code>targeted</code> - The Capacity Reservation only accepts instances that
|
|
7542
|
+
* have matching attributes (instance type, platform, and Availability Zone), and
|
|
7543
|
+
* explicitly target the Capacity Reservation. This ensures that only permitted
|
|
7544
|
+
* instances can use the reserved capacity. </p>
|
|
7469
7545
|
* </li>
|
|
7470
7546
|
* </ul>
|
|
7547
|
+
* <note>
|
|
7548
|
+
* <p>If you are requesting a future-dated Capacity Reservation, you must specify <code>targeted</code>.</p>
|
|
7549
|
+
* </note>
|
|
7471
7550
|
* <p>Default: <code>open</code>
|
|
7472
7551
|
* </p>
|
|
7473
7552
|
* @public
|
|
@@ -7484,12 +7563,19 @@ export interface CreateCapacityReservationRequest {
|
|
|
7484
7563
|
*/
|
|
7485
7564
|
DryRun?: boolean | undefined;
|
|
7486
7565
|
/**
|
|
7487
|
-
* <
|
|
7566
|
+
* <note>
|
|
7567
|
+
* <p>Not supported for future-dated Capacity Reservations.</p>
|
|
7568
|
+
* </note>
|
|
7569
|
+
* <p>The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity
|
|
7570
|
+
* Reservation.</p>
|
|
7488
7571
|
* @public
|
|
7489
7572
|
*/
|
|
7490
7573
|
OutpostArn?: string | undefined;
|
|
7491
7574
|
/**
|
|
7492
|
-
* <
|
|
7575
|
+
* <note>
|
|
7576
|
+
* <p>Not supported for future-dated Capacity Reservations.</p>
|
|
7577
|
+
* </note>
|
|
7578
|
+
* <p>The Amazon Resource Name (ARN) of the cluster placement group in which
|
|
7493
7579
|
* to create the Capacity Reservation. For more information, see
|
|
7494
7580
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html">
|
|
7495
7581
|
* Capacity Reservations for cluster placement groups</a> in the
|
|
@@ -7497,6 +7583,45 @@ export interface CreateCapacityReservationRequest {
|
|
|
7497
7583
|
* @public
|
|
7498
7584
|
*/
|
|
7499
7585
|
PlacementGroupArn?: string | undefined;
|
|
7586
|
+
/**
|
|
7587
|
+
* <note>
|
|
7588
|
+
* <p>Required for future-dated Capacity Reservations only. To create a Capacity
|
|
7589
|
+
* Reservation for immediate use, omit this parameter. </p>
|
|
7590
|
+
* </note>
|
|
7591
|
+
* <p>The date and time at which the future-dated Capacity Reservation should become
|
|
7592
|
+
* available for use, in the ISO8601 format in the UTC time zone
|
|
7593
|
+
* (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
|
|
7594
|
+
* <p>You can request a future-dated Capacity Reservation between 5 and 120 days in
|
|
7595
|
+
* advance.</p>
|
|
7596
|
+
* @public
|
|
7597
|
+
*/
|
|
7598
|
+
StartDate?: Date | undefined;
|
|
7599
|
+
/**
|
|
7600
|
+
* <note>
|
|
7601
|
+
* <p>Required for future-dated Capacity Reservations only. To create a Capacity
|
|
7602
|
+
* Reservation for immediate use, omit this parameter. </p>
|
|
7603
|
+
* </note>
|
|
7604
|
+
* <p>Specify a commitment duration, in seconds, for the future-dated Capacity Reservation.</p>
|
|
7605
|
+
* <p>The commitment duration is a minimum duration for which you commit to having the
|
|
7606
|
+
* future-dated Capacity Reservation in the <code>active</code> state in your account
|
|
7607
|
+
* after it has been delivered.</p>
|
|
7608
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-concepts.html#cr-commitment-duration">
|
|
7609
|
+
* Commitment duration</a>.</p>
|
|
7610
|
+
* @public
|
|
7611
|
+
*/
|
|
7612
|
+
CommitmentDuration?: number | undefined;
|
|
7613
|
+
/**
|
|
7614
|
+
* <note>
|
|
7615
|
+
* <p>Required for future-dated Capacity Reservations only. To create a Capacity
|
|
7616
|
+
* Reservation for immediate use, omit this parameter. </p>
|
|
7617
|
+
* </note>
|
|
7618
|
+
* <p>Indicates that the requested capacity will be delivered in addition to any
|
|
7619
|
+
* running instances or reserved capacity that you have in your account at the
|
|
7620
|
+
* requested date and time.</p>
|
|
7621
|
+
* <p>The only supported value is <code>incremental</code>.</p>
|
|
7622
|
+
* @public
|
|
7623
|
+
*/
|
|
7624
|
+
DeliveryPreference?: CapacityReservationDeliveryPreference | undefined;
|
|
7500
7625
|
}
|
|
7501
7626
|
/**
|
|
7502
7627
|
* <p>Information about instance capacity usage for a Capacity Reservation.</p>
|
|
@@ -7504,48 +7629,19 @@ export interface CreateCapacityReservationRequest {
|
|
|
7504
7629
|
*/
|
|
7505
7630
|
export interface CapacityAllocation {
|
|
7506
7631
|
/**
|
|
7507
|
-
* <p>The usage type. <code>used</code> indicates that the instance capacity is
|
|
7508
|
-
*
|
|
7632
|
+
* <p>The usage type. <code>used</code> indicates that the instance capacity is in use by
|
|
7633
|
+
* instances that are running in the Capacity Reservation.</p>
|
|
7509
7634
|
* @public
|
|
7510
7635
|
*/
|
|
7511
7636
|
AllocationType?: AllocationType | undefined;
|
|
7512
7637
|
/**
|
|
7513
7638
|
* <p>The amount of instance capacity associated with the usage. For example a value of
|
|
7514
|
-
*
|
|
7639
|
+
* <code>4</code> indicates that instance capacity for 4 instances is currently in
|
|
7640
|
+
* use.</p>
|
|
7515
7641
|
* @public
|
|
7516
7642
|
*/
|
|
7517
7643
|
Count?: number | undefined;
|
|
7518
7644
|
}
|
|
7519
|
-
/**
|
|
7520
|
-
* @public
|
|
7521
|
-
* @enum
|
|
7522
|
-
*/
|
|
7523
|
-
export declare const CapacityReservationType: {
|
|
7524
|
-
readonly CAPACITY_BLOCK: "capacity-block";
|
|
7525
|
-
readonly DEFAULT: "default";
|
|
7526
|
-
};
|
|
7527
|
-
/**
|
|
7528
|
-
* @public
|
|
7529
|
-
*/
|
|
7530
|
-
export type CapacityReservationType = (typeof CapacityReservationType)[keyof typeof CapacityReservationType];
|
|
7531
|
-
/**
|
|
7532
|
-
* @public
|
|
7533
|
-
* @enum
|
|
7534
|
-
*/
|
|
7535
|
-
export declare const CapacityReservationState: {
|
|
7536
|
-
readonly active: "active";
|
|
7537
|
-
readonly cancelled: "cancelled";
|
|
7538
|
-
readonly expired: "expired";
|
|
7539
|
-
readonly failed: "failed";
|
|
7540
|
-
readonly payment_failed: "payment-failed";
|
|
7541
|
-
readonly payment_pending: "payment-pending";
|
|
7542
|
-
readonly pending: "pending";
|
|
7543
|
-
readonly scheduled: "scheduled";
|
|
7544
|
-
};
|
|
7545
|
-
/**
|
|
7546
|
-
* @public
|
|
7547
|
-
*/
|
|
7548
|
-
export type CapacityReservationState = (typeof CapacityReservationState)[keyof typeof CapacityReservationState];
|
|
7549
7645
|
/**
|
|
7550
7646
|
* @internal
|
|
7551
7647
|
*/
|