@aws-sdk/client-ec2 3.569.0 → 3.572.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +11 -0
- package/dist-es/models/models_4.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +5 -0
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -2
- package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +2 -1
- package/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +2 -1
- package/dist-types/models/models_4.d.ts +18 -95
- package/dist-types/models/models_5.d.ts +95 -15
- package/dist-types/models/models_6.d.ts +17 -12
- package/dist-types/models/models_7.d.ts +11 -1
- package/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_4.d.ts +6 -11
- package/dist-types/ts3.4/models/models_5.d.ts +11 -4
- package/dist-types/ts3.4/models/models_6.d.ts +5 -4
- package/dist-types/ts3.4/models/models_7.d.ts +4 -0
- package/package.json +9 -9
package/dist-cjs/index.js
CHANGED
|
@@ -856,6 +856,7 @@ __export(src_exports, {
|
|
|
856
856
|
PaymentOption: () => PaymentOption,
|
|
857
857
|
PeriodType: () => PeriodType,
|
|
858
858
|
PermissionGroup: () => PermissionGroup,
|
|
859
|
+
PhcSupport: () => PhcSupport,
|
|
859
860
|
PlacementGroupState: () => PlacementGroupState,
|
|
860
861
|
PlacementGroupStrategy: () => PlacementGroupStrategy,
|
|
861
862
|
PlacementStrategy: () => PlacementStrategy,
|
|
@@ -49313,6 +49314,9 @@ var de_InstanceTypeInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
49313
49314
|
if (output[_nIeu] != null) {
|
|
49314
49315
|
contents[_NIeu] = de_NeuronInfo(output[_nIeu], context);
|
|
49315
49316
|
}
|
|
49317
|
+
if (output[_pSh] != null) {
|
|
49318
|
+
contents[_PSh] = (0, import_smithy_client.expectString)(output[_pSh]);
|
|
49319
|
+
}
|
|
49316
49320
|
return contents;
|
|
49317
49321
|
}, "de_InstanceTypeInfo");
|
|
49318
49322
|
var de_InstanceTypeInfoFromInstanceRequirements = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -60873,6 +60877,7 @@ var _PSK = "PreSharedKey";
|
|
|
60873
60877
|
var _PSKU = "PublicSigningKeyUrl";
|
|
60874
60878
|
var _PSe = "PeeringStatus";
|
|
60875
60879
|
var _PSer = "PermissionState";
|
|
60880
|
+
var _PSh = "PhcSupport";
|
|
60876
60881
|
var _PSr = "PreviousState";
|
|
60877
60882
|
var _PSre = "PreviousStatus";
|
|
60878
60883
|
var _PT = "PurchaseToken";
|
|
@@ -62661,6 +62666,7 @@ var _pSK = "preSharedKey";
|
|
|
62661
62666
|
var _pSKU = "publicSigningKeyUrl";
|
|
62662
62667
|
var _pSe = "permissionState";
|
|
62663
62668
|
var _pSee = "peeringStatus";
|
|
62669
|
+
var _pSh = "phcSupport";
|
|
62664
62670
|
var _pSr = "principalSet";
|
|
62665
62671
|
var _pSre = "previousStatus";
|
|
62666
62672
|
var _pSri = "priceSchedules";
|
|
@@ -70222,6 +70228,10 @@ var NitroTpmSupport = {
|
|
|
70222
70228
|
SUPPORTED: "supported",
|
|
70223
70229
|
UNSUPPORTED: "unsupported"
|
|
70224
70230
|
};
|
|
70231
|
+
var PhcSupport = {
|
|
70232
|
+
SUPPORTED: "supported",
|
|
70233
|
+
UNSUPPORTED: "unsupported"
|
|
70234
|
+
};
|
|
70225
70235
|
var PlacementGroupStrategy = {
|
|
70226
70236
|
cluster: "cluster",
|
|
70227
70237
|
partition: "partition",
|
|
@@ -81104,6 +81114,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
81104
81114
|
EnaSupport,
|
|
81105
81115
|
NitroEnclavesSupport,
|
|
81106
81116
|
NitroTpmSupport,
|
|
81117
|
+
PhcSupport,
|
|
81107
81118
|
PlacementGroupStrategy,
|
|
81108
81119
|
ArchitectureType,
|
|
81109
81120
|
SupportedAdditionalProcessorFeature,
|
|
@@ -138,6 +138,10 @@ export const NitroTpmSupport = {
|
|
|
138
138
|
SUPPORTED: "supported",
|
|
139
139
|
UNSUPPORTED: "unsupported",
|
|
140
140
|
};
|
|
141
|
+
export const PhcSupport = {
|
|
142
|
+
SUPPORTED: "supported",
|
|
143
|
+
UNSUPPORTED: "unsupported",
|
|
144
|
+
};
|
|
141
145
|
export const PlacementGroupStrategy = {
|
|
142
146
|
cluster: "cluster",
|
|
143
147
|
partition: "partition",
|
|
@@ -48133,6 +48133,9 @@ const de_InstanceTypeInfo = (output, context) => {
|
|
|
48133
48133
|
if (output[_nIeu] != null) {
|
|
48134
48134
|
contents[_NIeu] = de_NeuronInfo(output[_nIeu], context);
|
|
48135
48135
|
}
|
|
48136
|
+
if (output[_pSh] != null) {
|
|
48137
|
+
contents[_PSh] = __expectString(output[_pSh]);
|
|
48138
|
+
}
|
|
48136
48139
|
return contents;
|
|
48137
48140
|
};
|
|
48138
48141
|
const de_InstanceTypeInfoFromInstanceRequirements = (output, context) => {
|
|
@@ -60435,6 +60438,7 @@ const _PSK = "PreSharedKey";
|
|
|
60435
60438
|
const _PSKU = "PublicSigningKeyUrl";
|
|
60436
60439
|
const _PSe = "PeeringStatus";
|
|
60437
60440
|
const _PSer = "PermissionState";
|
|
60441
|
+
const _PSh = "PhcSupport";
|
|
60438
60442
|
const _PSr = "PreviousState";
|
|
60439
60443
|
const _PSre = "PreviousStatus";
|
|
60440
60444
|
const _PT = "PurchaseToken";
|
|
@@ -62223,6 +62227,7 @@ const _pSK = "preSharedKey";
|
|
|
62223
62227
|
const _pSKU = "publicSigningKeyUrl";
|
|
62224
62228
|
const _pSe = "permissionState";
|
|
62225
62229
|
const _pSee = "peeringStatus";
|
|
62230
|
+
const _pSh = "phcSupport";
|
|
62226
62231
|
const _pSr = "principalSet";
|
|
62227
62232
|
const _pSre = "previousStatus";
|
|
62228
62233
|
const _pSri = "priceSchedules";
|
|
@@ -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 { DescribeSpotPriceHistoryRequest } from "../models/
|
|
5
|
-
import { DescribeSpotPriceHistoryResult } from "../models/models_5";
|
|
4
|
+
import { DescribeSpotPriceHistoryRequest, DescribeSpotPriceHistoryResult } from "../models/models_5";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
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 { GetIpamAddressHistoryRequest
|
|
4
|
+
import { GetIpamAddressHistoryRequest } from "../models/models_5";
|
|
5
|
+
import { GetIpamAddressHistoryResult } from "../models/models_6";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
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 { ProvisionIpamByoasnRequest
|
|
4
|
+
import { ProvisionIpamByoasnRequest } from "../models/models_6";
|
|
5
|
+
import { ProvisionIpamByoasnResult } from "../models/models_7";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -3975,6 +3975,18 @@ export declare const NitroTpmSupport: {
|
|
|
3975
3975
|
* @public
|
|
3976
3976
|
*/
|
|
3977
3977
|
export type NitroTpmSupport = (typeof NitroTpmSupport)[keyof typeof NitroTpmSupport];
|
|
3978
|
+
/**
|
|
3979
|
+
* @public
|
|
3980
|
+
* @enum
|
|
3981
|
+
*/
|
|
3982
|
+
export declare const PhcSupport: {
|
|
3983
|
+
readonly SUPPORTED: "supported";
|
|
3984
|
+
readonly UNSUPPORTED: "unsupported";
|
|
3985
|
+
};
|
|
3986
|
+
/**
|
|
3987
|
+
* @public
|
|
3988
|
+
*/
|
|
3989
|
+
export type PhcSupport = (typeof PhcSupport)[keyof typeof PhcSupport];
|
|
3978
3990
|
/**
|
|
3979
3991
|
* @public
|
|
3980
3992
|
* @enum
|
|
@@ -4275,6 +4287,12 @@ export interface InstanceTypeInfo {
|
|
|
4275
4287
|
* @public
|
|
4276
4288
|
*/
|
|
4277
4289
|
NeuronInfo?: NeuronInfo;
|
|
4290
|
+
/**
|
|
4291
|
+
* <p>Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is
|
|
4292
|
+
* supported.</p>
|
|
4293
|
+
* @public
|
|
4294
|
+
*/
|
|
4295
|
+
PhcSupport?: PhcSupport;
|
|
4278
4296
|
}
|
|
4279
4297
|
/**
|
|
4280
4298
|
* @public
|
|
@@ -11313,101 +11331,6 @@ export interface DescribeSpotInstanceRequestsResult {
|
|
|
11313
11331
|
*/
|
|
11314
11332
|
NextToken?: string;
|
|
11315
11333
|
}
|
|
11316
|
-
/**
|
|
11317
|
-
* <p>Contains the parameters for DescribeSpotPriceHistory.</p>
|
|
11318
|
-
* @public
|
|
11319
|
-
*/
|
|
11320
|
-
export interface DescribeSpotPriceHistoryRequest {
|
|
11321
|
-
/**
|
|
11322
|
-
* <p>The filters.</p>
|
|
11323
|
-
* <ul>
|
|
11324
|
-
* <li>
|
|
11325
|
-
* <p>
|
|
11326
|
-
* <code>availability-zone</code> - The Availability Zone for which prices should
|
|
11327
|
-
* be returned.</p>
|
|
11328
|
-
* </li>
|
|
11329
|
-
* <li>
|
|
11330
|
-
* <p>
|
|
11331
|
-
* <code>instance-type</code> - The type of instance (for example,
|
|
11332
|
-
* <code>m3.medium</code>).</p>
|
|
11333
|
-
* </li>
|
|
11334
|
-
* <li>
|
|
11335
|
-
* <p>
|
|
11336
|
-
* <code>product-description</code> - The product description for the Spot price
|
|
11337
|
-
* (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
|
|
11338
|
-
* <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
|
|
11339
|
-
* VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |
|
|
11340
|
-
* <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
|
|
11341
|
-
* VPC)</code>).</p>
|
|
11342
|
-
* </li>
|
|
11343
|
-
* <li>
|
|
11344
|
-
* <p>
|
|
11345
|
-
* <code>spot-price</code> - The Spot price. The value must match exactly (or use
|
|
11346
|
-
* wildcards; greater than or less than comparison is not supported).</p>
|
|
11347
|
-
* </li>
|
|
11348
|
-
* <li>
|
|
11349
|
-
* <p>
|
|
11350
|
-
* <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
|
|
11351
|
-
* (for example, <i>ddd MMM dd
|
|
11352
|
-
* HH</i>:<i>mm</i>:<i>ss</i> UTC
|
|
11353
|
-
* <i>YYYY</i>). You can use wildcards (<code>*</code> and
|
|
11354
|
-
* <code>?</code>). Greater than or less than comparison is not
|
|
11355
|
-
* supported.</p>
|
|
11356
|
-
* </li>
|
|
11357
|
-
* </ul>
|
|
11358
|
-
* @public
|
|
11359
|
-
*/
|
|
11360
|
-
Filters?: Filter[];
|
|
11361
|
-
/**
|
|
11362
|
-
* <p>Filters the results by the specified Availability Zone.</p>
|
|
11363
|
-
* @public
|
|
11364
|
-
*/
|
|
11365
|
-
AvailabilityZone?: string;
|
|
11366
|
-
/**
|
|
11367
|
-
* <p>Checks whether you have the required permissions for the action, without actually
|
|
11368
|
-
* making the request, and provides an error response. If you have the required
|
|
11369
|
-
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
11370
|
-
* <code>UnauthorizedOperation</code>.</p>
|
|
11371
|
-
* @public
|
|
11372
|
-
*/
|
|
11373
|
-
DryRun?: boolean;
|
|
11374
|
-
/**
|
|
11375
|
-
* <p>The date and time, up to the current date, from which to stop retrieving the price
|
|
11376
|
-
* history data, in UTC format (for example,
|
|
11377
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
11378
|
-
* @public
|
|
11379
|
-
*/
|
|
11380
|
-
EndTime?: Date;
|
|
11381
|
-
/**
|
|
11382
|
-
* <p>Filters the results by the specified instance types.</p>
|
|
11383
|
-
* @public
|
|
11384
|
-
*/
|
|
11385
|
-
InstanceTypes?: _InstanceType[];
|
|
11386
|
-
/**
|
|
11387
|
-
* <p>The maximum number of items to return for this request.
|
|
11388
|
-
* To get the next page of items, make another request with the token returned in the output.
|
|
11389
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
11390
|
-
* @public
|
|
11391
|
-
*/
|
|
11392
|
-
MaxResults?: number;
|
|
11393
|
-
/**
|
|
11394
|
-
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
11395
|
-
* @public
|
|
11396
|
-
*/
|
|
11397
|
-
NextToken?: string;
|
|
11398
|
-
/**
|
|
11399
|
-
* <p>Filters the results by the specified basic product descriptions.</p>
|
|
11400
|
-
* @public
|
|
11401
|
-
*/
|
|
11402
|
-
ProductDescriptions?: string[];
|
|
11403
|
-
/**
|
|
11404
|
-
* <p>The date and time, up to the past 90 days, from which to start retrieving the price
|
|
11405
|
-
* history data, in UTC format (for example,
|
|
11406
|
-
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
11407
|
-
* @public
|
|
11408
|
-
*/
|
|
11409
|
-
StartTime?: Date;
|
|
11410
|
-
}
|
|
11411
11334
|
/**
|
|
11412
11335
|
* @internal
|
|
11413
11336
|
*/
|
|
@@ -3,6 +3,101 @@ import { DiskImageFormat, InstanceRequirementsRequest, Subnet, VolumeType, Vpc }
|
|
|
3
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
|
|
5
5
|
import { ArchitectureType, AttributeBooleanValue, HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataTagsState, RIProductDescription } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* <p>Contains the parameters for DescribeSpotPriceHistory.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface DescribeSpotPriceHistoryRequest {
|
|
11
|
+
/**
|
|
12
|
+
* <p>The filters.</p>
|
|
13
|
+
* <ul>
|
|
14
|
+
* <li>
|
|
15
|
+
* <p>
|
|
16
|
+
* <code>availability-zone</code> - The Availability Zone for which prices should
|
|
17
|
+
* be returned.</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>
|
|
21
|
+
* <code>instance-type</code> - The type of instance (for example,
|
|
22
|
+
* <code>m3.medium</code>).</p>
|
|
23
|
+
* </li>
|
|
24
|
+
* <li>
|
|
25
|
+
* <p>
|
|
26
|
+
* <code>product-description</code> - The product description for the Spot price
|
|
27
|
+
* (<code>Linux/UNIX</code> | <code>Red Hat Enterprise Linux</code> |
|
|
28
|
+
* <code>SUSE Linux</code> | <code>Windows</code> | <code>Linux/UNIX (Amazon
|
|
29
|
+
* VPC)</code> | <code>Red Hat Enterprise Linux (Amazon VPC)</code> |
|
|
30
|
+
* <code>SUSE Linux (Amazon VPC)</code> | <code>Windows (Amazon
|
|
31
|
+
* VPC)</code>).</p>
|
|
32
|
+
* </li>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>
|
|
35
|
+
* <code>spot-price</code> - The Spot price. The value must match exactly (or use
|
|
36
|
+
* wildcards; greater than or less than comparison is not supported).</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <code>timestamp</code> - The time stamp of the Spot price history, in UTC format
|
|
41
|
+
* (for example, <i>ddd MMM dd
|
|
42
|
+
* HH</i>:<i>mm</i>:<i>ss</i> UTC
|
|
43
|
+
* <i>YYYY</i>). You can use wildcards (<code>*</code> and
|
|
44
|
+
* <code>?</code>). Greater than or less than comparison is not
|
|
45
|
+
* supported.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
Filters?: Filter[];
|
|
51
|
+
/**
|
|
52
|
+
* <p>Filters the results by the specified Availability Zone.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
AvailabilityZone?: string;
|
|
56
|
+
/**
|
|
57
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
58
|
+
* making the request, and provides an error response. If you have the required
|
|
59
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
60
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
DryRun?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* <p>The date and time, up to the current date, from which to stop retrieving the price
|
|
66
|
+
* history data, in UTC format (for example,
|
|
67
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
EndTime?: Date;
|
|
71
|
+
/**
|
|
72
|
+
* <p>Filters the results by the specified instance types.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
InstanceTypes?: _InstanceType[];
|
|
76
|
+
/**
|
|
77
|
+
* <p>The maximum number of items to return for this request.
|
|
78
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
79
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
MaxResults?: number;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
NextToken?: string;
|
|
88
|
+
/**
|
|
89
|
+
* <p>Filters the results by the specified basic product descriptions.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
ProductDescriptions?: string[];
|
|
93
|
+
/**
|
|
94
|
+
* <p>The date and time, up to the past 90 days, from which to start retrieving the price
|
|
95
|
+
* history data, in UTC format (for example,
|
|
96
|
+
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
StartTime?: Date;
|
|
100
|
+
}
|
|
6
101
|
/**
|
|
7
102
|
* <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
|
|
8
103
|
* using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.</p>
|
|
@@ -7683,21 +7778,6 @@ export interface IpamAddressHistoryRecord {
|
|
|
7683
7778
|
*/
|
|
7684
7779
|
SampledEndTime?: Date;
|
|
7685
7780
|
}
|
|
7686
|
-
/**
|
|
7687
|
-
* @public
|
|
7688
|
-
*/
|
|
7689
|
-
export interface GetIpamAddressHistoryResult {
|
|
7690
|
-
/**
|
|
7691
|
-
* <p>A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.</p>
|
|
7692
|
-
* @public
|
|
7693
|
-
*/
|
|
7694
|
-
HistoryRecords?: IpamAddressHistoryRecord[];
|
|
7695
|
-
/**
|
|
7696
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
7697
|
-
* @public
|
|
7698
|
-
*/
|
|
7699
|
-
NextToken?: string;
|
|
7700
|
-
}
|
|
7701
7781
|
/**
|
|
7702
7782
|
* @internal
|
|
7703
7783
|
*/
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceDiscovery, IpamResourceTag, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType, VolumeType } from "./models_1";
|
|
3
3
|
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
|
|
4
|
-
import { ArchitectureValues, BootModeValues,
|
|
4
|
+
import { ArchitectureValues, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, ImportImageLicenseConfigurationResponse, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, VirtualizationType } from "./models_3";
|
|
5
5
|
import { AnalysisStatus, ArchitectureType, AttributeBooleanValue, CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchTemplateConfig, LockState, Monitoring, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotTaskDetail } from "./models_4";
|
|
6
|
-
import { InstanceFamilyCreditSpecification, IpamComplianceStatus, IpamOverlapStatus, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
6
|
+
import { InstanceFamilyCreditSpecification, IpamAddressHistoryRecord, IpamComplianceStatus, IpamOverlapStatus, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface GetIpamAddressHistoryResult {
|
|
11
|
+
/**
|
|
12
|
+
* <p>A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
HistoryRecords?: IpamAddressHistoryRecord[];
|
|
16
|
+
/**
|
|
17
|
+
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
NextToken?: string;
|
|
21
|
+
}
|
|
7
22
|
/**
|
|
8
23
|
* @public
|
|
9
24
|
*/
|
|
@@ -8313,16 +8328,6 @@ export interface ProvisionIpamByoasnRequest {
|
|
|
8313
8328
|
*/
|
|
8314
8329
|
AsnAuthorizationContext: AsnAuthorizationContext | undefined;
|
|
8315
8330
|
}
|
|
8316
|
-
/**
|
|
8317
|
-
* @public
|
|
8318
|
-
*/
|
|
8319
|
-
export interface ProvisionIpamByoasnResult {
|
|
8320
|
-
/**
|
|
8321
|
-
* <p>An ASN and BYOIP CIDR association.</p>
|
|
8322
|
-
* @public
|
|
8323
|
-
*/
|
|
8324
|
-
Byoasn?: Byoasn;
|
|
8325
|
-
}
|
|
8326
8331
|
/**
|
|
8327
8332
|
* @internal
|
|
8328
8333
|
*/
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { _InstanceType, AddressAttribute, AddressAttributeName, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
|
|
2
2
|
import { AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RuleAction, ShutdownBehavior, SpotInstanceType } from "./models_1";
|
|
3
3
|
import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
|
|
4
|
-
import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, Filter, ImdsSupportValues, InstanceTagNotificationAttribute, IpamPoolCidr, TpmSupportValues } from "./models_3";
|
|
4
|
+
import { ArchitectureValues, BootModeValues, Byoasn, ClientVpnConnectionStatus, Filter, ImdsSupportValues, InstanceTagNotificationAttribute, IpamPoolCidr, TpmSupportValues } from "./models_3";
|
|
5
5
|
import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
|
|
6
6
|
import { Purchase } from "./models_5";
|
|
7
7
|
import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_6";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface ProvisionIpamByoasnResult {
|
|
12
|
+
/**
|
|
13
|
+
* <p>An ASN and BYOIP CIDR association.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
Byoasn?: Byoasn;
|
|
17
|
+
}
|
|
8
18
|
/**
|
|
9
19
|
* <p>A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.</p>
|
|
10
20
|
* @public
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DescribeSpotPriceHistoryRequest,
|
|
10
|
+
DescribeSpotPriceHistoryResult,
|
|
11
|
+
} from "../models/models_5";
|
|
10
12
|
export { __MetadataBearer, $Command };
|
|
11
13
|
export interface DescribeSpotPriceHistoryCommandInput
|
|
12
14
|
extends DescribeSpotPriceHistoryRequest {}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
GetIpamAddressHistoryResult,
|
|
11
|
-
} from "../models/models_5";
|
|
8
|
+
import { GetIpamAddressHistoryRequest } from "../models/models_5";
|
|
9
|
+
import { GetIpamAddressHistoryResult } from "../models/models_6";
|
|
12
10
|
export { __MetadataBearer, $Command };
|
|
13
11
|
export interface GetIpamAddressHistoryCommandInput
|
|
14
12
|
extends GetIpamAddressHistoryRequest {}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
ProvisionIpamByoasnResult,
|
|
11
|
-
} from "../models/models_6";
|
|
8
|
+
import { ProvisionIpamByoasnRequest } from "../models/models_6";
|
|
9
|
+
import { ProvisionIpamByoasnResult } from "../models/models_7";
|
|
12
10
|
export { __MetadataBearer, $Command };
|
|
13
11
|
export interface ProvisionIpamByoasnCommandInput
|
|
14
12
|
extends ProvisionIpamByoasnRequest {}
|
|
@@ -783,6 +783,11 @@ export declare const NitroTpmSupport: {
|
|
|
783
783
|
};
|
|
784
784
|
export type NitroTpmSupport =
|
|
785
785
|
(typeof NitroTpmSupport)[keyof typeof NitroTpmSupport];
|
|
786
|
+
export declare const PhcSupport: {
|
|
787
|
+
readonly SUPPORTED: "supported";
|
|
788
|
+
readonly UNSUPPORTED: "unsupported";
|
|
789
|
+
};
|
|
790
|
+
export type PhcSupport = (typeof PhcSupport)[keyof typeof PhcSupport];
|
|
786
791
|
export declare const PlacementGroupStrategy: {
|
|
787
792
|
readonly cluster: "cluster";
|
|
788
793
|
readonly partition: "partition";
|
|
@@ -868,6 +873,7 @@ export interface InstanceTypeInfo {
|
|
|
868
873
|
NitroTpmInfo?: NitroTpmInfo;
|
|
869
874
|
MediaAcceleratorInfo?: MediaAcceleratorInfo;
|
|
870
875
|
NeuronInfo?: NeuronInfo;
|
|
876
|
+
PhcSupport?: PhcSupport;
|
|
871
877
|
}
|
|
872
878
|
export interface DescribeInstanceTypesResult {
|
|
873
879
|
InstanceTypes?: InstanceTypeInfo[];
|
|
@@ -2065,17 +2071,6 @@ export interface DescribeSpotInstanceRequestsResult {
|
|
|
2065
2071
|
SpotInstanceRequests?: SpotInstanceRequest[];
|
|
2066
2072
|
NextToken?: string;
|
|
2067
2073
|
}
|
|
2068
|
-
export interface DescribeSpotPriceHistoryRequest {
|
|
2069
|
-
Filters?: Filter[];
|
|
2070
|
-
AvailabilityZone?: string;
|
|
2071
|
-
DryRun?: boolean;
|
|
2072
|
-
EndTime?: Date;
|
|
2073
|
-
InstanceTypes?: _InstanceType[];
|
|
2074
|
-
MaxResults?: number;
|
|
2075
|
-
NextToken?: string;
|
|
2076
|
-
ProductDescriptions?: string[];
|
|
2077
|
-
StartTime?: Date;
|
|
2078
|
-
}
|
|
2079
2074
|
export declare const SnapshotTaskDetailFilterSensitiveLog: (
|
|
2080
2075
|
obj: SnapshotTaskDetail
|
|
2081
2076
|
) => any;
|
|
@@ -88,6 +88,17 @@ import {
|
|
|
88
88
|
InstanceMetadataTagsState,
|
|
89
89
|
RIProductDescription,
|
|
90
90
|
} from "./models_4";
|
|
91
|
+
export interface DescribeSpotPriceHistoryRequest {
|
|
92
|
+
Filters?: Filter[];
|
|
93
|
+
AvailabilityZone?: string;
|
|
94
|
+
DryRun?: boolean;
|
|
95
|
+
EndTime?: Date;
|
|
96
|
+
InstanceTypes?: _InstanceType[];
|
|
97
|
+
MaxResults?: number;
|
|
98
|
+
NextToken?: string;
|
|
99
|
+
ProductDescriptions?: string[];
|
|
100
|
+
StartTime?: Date;
|
|
101
|
+
}
|
|
91
102
|
export interface SpotPrice {
|
|
92
103
|
AvailabilityZone?: string;
|
|
93
104
|
InstanceType?: _InstanceType;
|
|
@@ -1634,10 +1645,6 @@ export interface IpamAddressHistoryRecord {
|
|
|
1634
1645
|
SampledStartTime?: Date;
|
|
1635
1646
|
SampledEndTime?: Date;
|
|
1636
1647
|
}
|
|
1637
|
-
export interface GetIpamAddressHistoryResult {
|
|
1638
|
-
HistoryRecords?: IpamAddressHistoryRecord[];
|
|
1639
|
-
NextToken?: string;
|
|
1640
|
-
}
|
|
1641
1648
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1642
1649
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1643
1650
|
) => any;
|
|
@@ -101,7 +101,6 @@ import {
|
|
|
101
101
|
import {
|
|
102
102
|
ArchitectureValues,
|
|
103
103
|
BootModeValues,
|
|
104
|
-
Byoasn,
|
|
105
104
|
ConversionTask,
|
|
106
105
|
Filter,
|
|
107
106
|
FpgaImageAttribute,
|
|
@@ -136,6 +135,7 @@ import {
|
|
|
136
135
|
} from "./models_4";
|
|
137
136
|
import {
|
|
138
137
|
InstanceFamilyCreditSpecification,
|
|
138
|
+
IpamAddressHistoryRecord,
|
|
139
139
|
IpamComplianceStatus,
|
|
140
140
|
IpamOverlapStatus,
|
|
141
141
|
SnapshotBlockPublicAccessState,
|
|
@@ -144,6 +144,10 @@ import {
|
|
|
144
144
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
145
145
|
VolumeModification,
|
|
146
146
|
} from "./models_5";
|
|
147
|
+
export interface GetIpamAddressHistoryResult {
|
|
148
|
+
HistoryRecords?: IpamAddressHistoryRecord[];
|
|
149
|
+
NextToken?: string;
|
|
150
|
+
}
|
|
147
151
|
export interface GetIpamDiscoveredAccountsRequest {
|
|
148
152
|
DryRun?: boolean;
|
|
149
153
|
IpamResourceDiscoveryId: string | undefined;
|
|
@@ -1885,9 +1889,6 @@ export interface ProvisionIpamByoasnRequest {
|
|
|
1885
1889
|
Asn: string | undefined;
|
|
1886
1890
|
AsnAuthorizationContext: AsnAuthorizationContext | undefined;
|
|
1887
1891
|
}
|
|
1888
|
-
export interface ProvisionIpamByoasnResult {
|
|
1889
|
-
Byoasn?: Byoasn;
|
|
1890
|
-
}
|
|
1891
1892
|
export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
|
|
1892
1893
|
obj: GetLaunchTemplateDataResult
|
|
1893
1894
|
) => any;
|
|
@@ -41,6 +41,7 @@ import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
|
|
|
41
41
|
import {
|
|
42
42
|
ArchitectureValues,
|
|
43
43
|
BootModeValues,
|
|
44
|
+
Byoasn,
|
|
44
45
|
ClientVpnConnectionStatus,
|
|
45
46
|
Filter,
|
|
46
47
|
ImdsSupportValues,
|
|
@@ -73,6 +74,9 @@ import {
|
|
|
73
74
|
InstanceMonitoring,
|
|
74
75
|
Status,
|
|
75
76
|
} from "./models_6";
|
|
77
|
+
export interface ProvisionIpamByoasnResult {
|
|
78
|
+
Byoasn?: Byoasn;
|
|
79
|
+
}
|
|
76
80
|
export interface IpamCidrAuthorizationContext {
|
|
77
81
|
Message?: string;
|
|
78
82
|
Signature?: string;
|
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.572.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,18 +20,18 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.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.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.572.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.572.0",
|
|
25
|
+
"@aws-sdk/core": "3.572.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.572.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.567.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.568.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.567.0",
|
|
30
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-sdk-ec2": "3.572.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.572.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.572.0",
|
|
33
33
|
"@aws-sdk/types": "3.567.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.572.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.567.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.568.0",
|
|
37
37
|
"@smithy/config-resolver": "^2.2.0",
|