@aws-sdk/client-ec2 3.864.0 → 3.866.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 +60 -0
- package/dist-es/protocols/Aws_ec2.js +62 -0
- package/dist-types/EC2.d.ts +2 -0
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -0
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -0
- package/dist-types/commands/CreateVolumeCommand.d.ts +4 -2
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +2 -0
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +4 -1
- package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +3 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -0
- package/dist-types/commands/ImportInstanceCommand.d.ts +3 -0
- package/dist-types/commands/ImportVolumeCommand.d.ts +4 -1
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -0
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/models/models_1.d.ts +29 -3
- package/dist-types/models/models_2.d.ts +25 -1
- package/dist-types/models/models_3.d.ts +7 -0
- package/dist-types/models/models_4.d.ts +25 -0
- package/dist-types/models/models_5.d.ts +34 -0
- package/dist-types/models/models_6.d.ts +7 -0
- package/dist-types/models/models_7.d.ts +10 -1
- package/dist-types/ts3.4/EC2.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +4 -1
- package/dist-types/ts3.4/models/models_2.d.ts +5 -1
- package/dist-types/ts3.4/models/models_3.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +3 -0
- package/dist-types/ts3.4/models/models_5.d.ts +3 -0
- package/dist-types/ts3.4/models/models_6.d.ts +1 -0
- package/dist-types/ts3.4/models/models_7.d.ts +2 -1
- package/package.json +1 -1
|
@@ -267,8 +267,15 @@ export interface ServiceDetail {
|
|
|
267
267
|
* @public
|
|
268
268
|
*/
|
|
269
269
|
ServiceRegion?: string | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* <p>The IDs of the Availability Zones in which the service is available.</p>
|
|
272
|
+
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
AvailabilityZoneIds?: string[] | undefined;
|
|
270
276
|
/**
|
|
271
277
|
* <p>The Availability Zones in which the service is available.</p>
|
|
278
|
+
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>
|
|
272
279
|
* @public
|
|
273
280
|
*/
|
|
274
281
|
AvailabilityZones?: string[] | undefined;
|
|
@@ -1872,6 +1872,13 @@ export interface ImportSnapshotResult {
|
|
|
1872
1872
|
* @public
|
|
1873
1873
|
*/
|
|
1874
1874
|
export interface ImportVolumeRequest {
|
|
1875
|
+
/**
|
|
1876
|
+
* <p>The ID of the Availability Zone for the resulting EBS volume.</p>
|
|
1877
|
+
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified,
|
|
1878
|
+
* but not both.</p>
|
|
1879
|
+
* @public
|
|
1880
|
+
*/
|
|
1881
|
+
AvailabilityZoneId?: string | undefined;
|
|
1875
1882
|
/**
|
|
1876
1883
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
1877
1884
|
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
@@ -1881,9 +1888,11 @@ export interface ImportVolumeRequest {
|
|
|
1881
1888
|
DryRun?: boolean | undefined;
|
|
1882
1889
|
/**
|
|
1883
1890
|
* <p>The Availability Zone for the resulting EBS volume.</p>
|
|
1891
|
+
* <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified,
|
|
1892
|
+
* but not both.</p>
|
|
1884
1893
|
* @public
|
|
1885
1894
|
*/
|
|
1886
|
-
AvailabilityZone
|
|
1895
|
+
AvailabilityZone?: string | undefined;
|
|
1887
1896
|
/**
|
|
1888
1897
|
* <p>The disk image.</p>
|
|
1889
1898
|
* @public
|
|
@@ -3734,6 +3734,7 @@ export interface EC2 {
|
|
|
3734
3734
|
options: __HttpHandlerOptions,
|
|
3735
3735
|
cb: (err: any, data?: CreateCustomerGatewayCommandOutput) => void
|
|
3736
3736
|
): void;
|
|
3737
|
+
createDefaultSubnet(): Promise<CreateDefaultSubnetCommandOutput>;
|
|
3737
3738
|
createDefaultSubnet(
|
|
3738
3739
|
args: CreateDefaultSubnetCommandInput,
|
|
3739
3740
|
options?: __HttpHandlerOptions
|
|
@@ -4772,6 +4773,7 @@ export interface EC2 {
|
|
|
4772
4773
|
data?: CreateVerifiedAccessTrustProviderCommandOutput
|
|
4773
4774
|
) => void
|
|
4774
4775
|
): void;
|
|
4776
|
+
createVolume(): Promise<CreateVolumeCommandOutput>;
|
|
4775
4777
|
createVolume(
|
|
4776
4778
|
args: CreateVolumeCommandInput,
|
|
4777
4779
|
options?: __HttpHandlerOptions
|
|
@@ -27,7 +27,7 @@ declare const CreateDefaultSubnetCommand_base: {
|
|
|
27
27
|
ServiceOutputTypes
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
|
-
input: CreateDefaultSubnetCommandInput
|
|
30
|
+
...[input]: [] | [CreateDefaultSubnetCommandInput]
|
|
31
31
|
): import("@smithy/smithy-client").CommandImpl<
|
|
32
32
|
CreateDefaultSubnetCommandInput,
|
|
33
33
|
CreateDefaultSubnetCommandOutput,
|
|
@@ -21,7 +21,7 @@ declare const CreateVolumeCommand_base: {
|
|
|
21
21
|
ServiceOutputTypes
|
|
22
22
|
>;
|
|
23
23
|
new (
|
|
24
|
-
input: CreateVolumeCommandInput
|
|
24
|
+
...[input]: [] | [CreateVolumeCommandInput]
|
|
25
25
|
): import("@smithy/smithy-client").CommandImpl<
|
|
26
26
|
CreateVolumeCommandInput,
|
|
27
27
|
CreateVolumeCommandOutput,
|
|
@@ -1268,6 +1268,7 @@ export interface AssociateRouteServerResult {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
export interface AssociateRouteTableRequest {
|
|
1270
1270
|
GatewayId?: string | undefined;
|
|
1271
|
+
PublicIpv4Pool?: string | undefined;
|
|
1271
1272
|
DryRun?: boolean | undefined;
|
|
1272
1273
|
SubnetId?: string | undefined;
|
|
1273
1274
|
RouteTableId: string | undefined;
|
|
@@ -1422,9 +1422,10 @@ export interface CreateCustomerGatewayResult {
|
|
|
1422
1422
|
CustomerGateway?: CustomerGateway | undefined;
|
|
1423
1423
|
}
|
|
1424
1424
|
export interface CreateDefaultSubnetRequest {
|
|
1425
|
-
AvailabilityZone
|
|
1425
|
+
AvailabilityZone?: string | undefined;
|
|
1426
1426
|
DryRun?: boolean | undefined;
|
|
1427
1427
|
Ipv6Native?: boolean | undefined;
|
|
1428
|
+
AvailabilityZoneId?: string | undefined;
|
|
1428
1429
|
}
|
|
1429
1430
|
export declare const BlockPublicAccessMode: {
|
|
1430
1431
|
readonly block_bidirectional: "block-bidirectional";
|
|
@@ -1796,6 +1797,7 @@ export interface InstanceRequirementsRequest {
|
|
|
1796
1797
|
BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
|
|
1797
1798
|
}
|
|
1798
1799
|
export interface Placement {
|
|
1800
|
+
AvailabilityZoneId?: string | undefined;
|
|
1799
1801
|
Affinity?: string | undefined;
|
|
1800
1802
|
GroupName?: string | undefined;
|
|
1801
1803
|
PartitionNumber?: number | undefined;
|
|
@@ -2831,6 +2833,7 @@ export interface OperatorRequest {
|
|
|
2831
2833
|
}
|
|
2832
2834
|
export interface LaunchTemplatePlacementRequest {
|
|
2833
2835
|
AvailabilityZone?: string | undefined;
|
|
2836
|
+
AvailabilityZoneId?: string | undefined;
|
|
2834
2837
|
Affinity?: string | undefined;
|
|
2835
2838
|
GroupName?: string | undefined;
|
|
2836
2839
|
HostId?: string | undefined;
|
|
@@ -114,6 +114,7 @@ export interface LaunchTemplateNetworkPerformanceOptions {
|
|
|
114
114
|
}
|
|
115
115
|
export interface LaunchTemplatePlacement {
|
|
116
116
|
AvailabilityZone?: string | undefined;
|
|
117
|
+
AvailabilityZoneId?: string | undefined;
|
|
117
118
|
Affinity?: string | undefined;
|
|
118
119
|
GroupName?: string | undefined;
|
|
119
120
|
HostId?: string | undefined;
|
|
@@ -1107,6 +1108,7 @@ export interface RouteTableAssociation {
|
|
|
1107
1108
|
RouteTableId?: string | undefined;
|
|
1108
1109
|
SubnetId?: string | undefined;
|
|
1109
1110
|
GatewayId?: string | undefined;
|
|
1111
|
+
PublicIpv4Pool?: string | undefined;
|
|
1110
1112
|
AssociationState?: RouteTableAssociationState | undefined;
|
|
1111
1113
|
}
|
|
1112
1114
|
export interface PropagatingVgw {
|
|
@@ -2123,7 +2125,8 @@ export interface CreateVerifiedAccessTrustProviderResult {
|
|
|
2123
2125
|
VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider | undefined;
|
|
2124
2126
|
}
|
|
2125
2127
|
export interface CreateVolumeRequest {
|
|
2126
|
-
AvailabilityZone
|
|
2128
|
+
AvailabilityZone?: string | undefined;
|
|
2129
|
+
AvailabilityZoneId?: string | undefined;
|
|
2127
2130
|
Encrypted?: boolean | undefined;
|
|
2128
2131
|
Iops?: number | undefined;
|
|
2129
2132
|
KmsKeyId?: string | undefined;
|
|
@@ -2149,6 +2152,7 @@ export declare const VolumeState: {
|
|
|
2149
2152
|
};
|
|
2150
2153
|
export type VolumeState = (typeof VolumeState)[keyof typeof VolumeState];
|
|
2151
2154
|
export interface Volume {
|
|
2155
|
+
AvailabilityZoneId?: string | undefined;
|
|
2152
2156
|
OutpostArn?: string | undefined;
|
|
2153
2157
|
Iops?: number | undefined;
|
|
2154
2158
|
Tags?: Tag[] | undefined;
|
|
@@ -162,6 +162,7 @@ export interface ServiceConfiguration {
|
|
|
162
162
|
ServiceId?: string | undefined;
|
|
163
163
|
ServiceName?: string | undefined;
|
|
164
164
|
ServiceState?: ServiceState | undefined;
|
|
165
|
+
AvailabilityZoneIds?: string[] | undefined;
|
|
165
166
|
AvailabilityZones?: string[] | undefined;
|
|
166
167
|
AcceptanceRequired?: boolean | undefined;
|
|
167
168
|
ManagesVpcEndpoints?: boolean | undefined;
|
|
@@ -314,6 +314,7 @@ export interface DiskImageVolumeDescription {
|
|
|
314
314
|
}
|
|
315
315
|
export interface ImportInstanceVolumeDetailItem {
|
|
316
316
|
AvailabilityZone?: string | undefined;
|
|
317
|
+
AvailabilityZoneId?: string | undefined;
|
|
317
318
|
BytesConverted?: number | undefined;
|
|
318
319
|
Description?: string | undefined;
|
|
319
320
|
Image?: DiskImageDescription | undefined;
|
|
@@ -329,6 +330,7 @@ export interface ImportInstanceTaskDetails {
|
|
|
329
330
|
}
|
|
330
331
|
export interface ImportVolumeTaskDetails {
|
|
331
332
|
AvailabilityZone?: string | undefined;
|
|
333
|
+
AvailabilityZoneId?: string | undefined;
|
|
332
334
|
BytesConverted?: number | undefined;
|
|
333
335
|
Description?: string | undefined;
|
|
334
336
|
Image?: DiskImageDescription | undefined;
|
|
@@ -1673,6 +1675,7 @@ export interface InstanceStatusSummary {
|
|
|
1673
1675
|
}
|
|
1674
1676
|
export interface InstanceStatus {
|
|
1675
1677
|
AvailabilityZone?: string | undefined;
|
|
1678
|
+
AvailabilityZoneId?: string | undefined;
|
|
1676
1679
|
OutpostArn?: string | undefined;
|
|
1677
1680
|
Operator?: OperatorResponse | undefined;
|
|
1678
1681
|
Events?: InstanceStatusEvent[] | undefined;
|
|
@@ -1354,6 +1354,7 @@ export interface SpotInstanceRequest {
|
|
|
1354
1354
|
LaunchGroup?: string | undefined;
|
|
1355
1355
|
LaunchSpecification?: LaunchSpecification | undefined;
|
|
1356
1356
|
LaunchedAvailabilityZone?: string | undefined;
|
|
1357
|
+
LaunchedAvailabilityZoneId?: string | undefined;
|
|
1357
1358
|
ProductDescription?: RIProductDescription | undefined;
|
|
1358
1359
|
SpotInstanceRequestId?: string | undefined;
|
|
1359
1360
|
SpotPrice?: string | undefined;
|
|
@@ -1370,6 +1371,7 @@ export interface DescribeSpotInstanceRequestsResult {
|
|
|
1370
1371
|
NextToken?: string | undefined;
|
|
1371
1372
|
}
|
|
1372
1373
|
export interface DescribeSpotPriceHistoryRequest {
|
|
1374
|
+
AvailabilityZoneId?: string | undefined;
|
|
1373
1375
|
DryRun?: boolean | undefined;
|
|
1374
1376
|
StartTime?: Date | undefined;
|
|
1375
1377
|
EndTime?: Date | undefined;
|
|
@@ -1382,6 +1384,7 @@ export interface DescribeSpotPriceHistoryRequest {
|
|
|
1382
1384
|
}
|
|
1383
1385
|
export interface SpotPrice {
|
|
1384
1386
|
AvailabilityZone?: string | undefined;
|
|
1387
|
+
AvailabilityZoneId?: string | undefined;
|
|
1385
1388
|
InstanceType?: _InstanceType | undefined;
|
|
1386
1389
|
ProductDescription?: RIProductDescription | undefined;
|
|
1387
1390
|
SpotPrice?: string | undefined;
|
|
@@ -116,6 +116,7 @@ export interface ServiceDetail {
|
|
|
116
116
|
ServiceId?: string | undefined;
|
|
117
117
|
ServiceType?: ServiceTypeDetail[] | undefined;
|
|
118
118
|
ServiceRegion?: string | undefined;
|
|
119
|
+
AvailabilityZoneIds?: string[] | undefined;
|
|
119
120
|
AvailabilityZones?: string[] | undefined;
|
|
120
121
|
Owner?: string | undefined;
|
|
121
122
|
BaseEndpointDnsNames?: string[] | undefined;
|
|
@@ -541,8 +541,9 @@ export interface ImportSnapshotResult {
|
|
|
541
541
|
Tags?: Tag[] | undefined;
|
|
542
542
|
}
|
|
543
543
|
export interface ImportVolumeRequest {
|
|
544
|
+
AvailabilityZoneId?: string | undefined;
|
|
544
545
|
DryRun?: boolean | undefined;
|
|
545
|
-
AvailabilityZone
|
|
546
|
+
AvailabilityZone?: string | undefined;
|
|
546
547
|
Image: DiskImageDetail | undefined;
|
|
547
548
|
Description?: string | undefined;
|
|
548
549
|
Volume: VolumeDetail | undefined;
|
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.866.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",
|