@aws-sdk/client-ec2 3.1119.0 → 3.1121.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 +7 -0
- package/dist-cjs/index.js +84 -7
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ReplaceImageInstanceTypeSpecificationCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +72 -6
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +12 -0
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
- package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +108 -0
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_4.d.ts +54 -87
- package/dist-types/models/models_5.d.ts +87 -22
- package/dist-types/models/models_6.d.ts +22 -59
- package/dist-types/models/models_7.d.ts +119 -256
- package/dist-types/models/models_8.d.ts +255 -1
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +8 -19
- package/dist-types/ts3.4/models/models_5.d.ts +19 -6
- package/dist-types/ts3.4/models/models_6.d.ts +6 -12
- package/dist-types/ts3.4/models/models_7.d.ts +24 -51
- package/dist-types/ts3.4/models/models_8.d.ts +50 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1634,7 +1634,10 @@ export declare var InstanceTagNotificationAttribute$: StaticStructureSchema;
|
|
|
1634
1634
|
export declare var InstanceTopology$: StaticStructureSchema;
|
|
1635
1635
|
export declare var InstanceTypeInfo$: StaticStructureSchema;
|
|
1636
1636
|
export declare var InstanceTypeInfoFromInstanceRequirements$: StaticStructureSchema;
|
|
1637
|
+
export declare var InstanceTypeItem$: StaticStructureSchema;
|
|
1637
1638
|
export declare var InstanceTypeOffering$: StaticStructureSchema;
|
|
1639
|
+
export declare var InstanceTypeSpecification$: StaticStructureSchema;
|
|
1640
|
+
export declare var InstanceTypeSpecificationRequest$: StaticStructureSchema;
|
|
1638
1641
|
export declare var InstanceUsage$: StaticStructureSchema;
|
|
1639
1642
|
export declare var IntegrateServices$: StaticStructureSchema;
|
|
1640
1643
|
export declare var InternetGateway$: StaticStructureSchema;
|
|
@@ -2130,6 +2133,8 @@ export declare var ReplaceIamInstanceProfileAssociationRequest$: StaticStructure
|
|
|
2130
2133
|
export declare var ReplaceIamInstanceProfileAssociationResult$: StaticStructureSchema;
|
|
2131
2134
|
export declare var ReplaceImageCriteriaInAllowedImagesSettingsRequest$: StaticStructureSchema;
|
|
2132
2135
|
export declare var ReplaceImageCriteriaInAllowedImagesSettingsResult$: StaticStructureSchema;
|
|
2136
|
+
export declare var ReplaceImageInstanceTypeSpecificationRequest$: StaticStructureSchema;
|
|
2137
|
+
export declare var ReplaceImageInstanceTypeSpecificationResult$: StaticStructureSchema;
|
|
2133
2138
|
export declare var ReplaceNetworkAclAssociationRequest$: StaticStructureSchema;
|
|
2134
2139
|
export declare var ReplaceNetworkAclAssociationResult$: StaticStructureSchema;
|
|
2135
2140
|
export declare var ReplaceNetworkAclEntryRequest$: StaticStructureSchema;
|
|
@@ -3259,6 +3264,7 @@ export declare var ReleaseHosts$: StaticOperationSchema;
|
|
|
3259
3264
|
export declare var ReleaseIpamPoolAllocation$: StaticOperationSchema;
|
|
3260
3265
|
export declare var ReplaceIamInstanceProfileAssociation$: StaticOperationSchema;
|
|
3261
3266
|
export declare var ReplaceImageCriteriaInAllowedImagesSettings$: StaticOperationSchema;
|
|
3267
|
+
export declare var ReplaceImageInstanceTypeSpecification$: StaticOperationSchema;
|
|
3262
3268
|
export declare var ReplaceNetworkAclAssociation$: StaticOperationSchema;
|
|
3263
3269
|
export declare var ReplaceNetworkAclEntry$: StaticOperationSchema;
|
|
3264
3270
|
export declare var ReplaceRoute$: StaticOperationSchema;
|
|
@@ -2951,6 +2951,10 @@ import {
|
|
|
2951
2951
|
ReplaceImageCriteriaInAllowedImagesSettingsCommandInput,
|
|
2952
2952
|
ReplaceImageCriteriaInAllowedImagesSettingsCommandOutput,
|
|
2953
2953
|
} from "./commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand";
|
|
2954
|
+
import {
|
|
2955
|
+
ReplaceImageInstanceTypeSpecificationCommandInput,
|
|
2956
|
+
ReplaceImageInstanceTypeSpecificationCommandOutput,
|
|
2957
|
+
} from "./commands/ReplaceImageInstanceTypeSpecificationCommand";
|
|
2954
2958
|
import {
|
|
2955
2959
|
ReplaceNetworkAclAssociationCommandInput,
|
|
2956
2960
|
ReplaceNetworkAclAssociationCommandOutput,
|
|
@@ -13158,6 +13162,19 @@ export interface EC2 {
|
|
|
13158
13162
|
options: __HttpHandlerOptions,
|
|
13159
13163
|
cb: (err: any, data?: ReplaceImageCriteriaInAllowedImagesSettingsCommandOutput) => void,
|
|
13160
13164
|
): void;
|
|
13165
|
+
replaceImageInstanceTypeSpecification(
|
|
13166
|
+
args: ReplaceImageInstanceTypeSpecificationCommandInput,
|
|
13167
|
+
options?: __HttpHandlerOptions,
|
|
13168
|
+
): Promise<ReplaceImageInstanceTypeSpecificationCommandOutput>;
|
|
13169
|
+
replaceImageInstanceTypeSpecification(
|
|
13170
|
+
args: ReplaceImageInstanceTypeSpecificationCommandInput,
|
|
13171
|
+
cb: (err: any, data?: ReplaceImageInstanceTypeSpecificationCommandOutput) => void,
|
|
13172
|
+
): void;
|
|
13173
|
+
replaceImageInstanceTypeSpecification(
|
|
13174
|
+
args: ReplaceImageInstanceTypeSpecificationCommandInput,
|
|
13175
|
+
options: __HttpHandlerOptions,
|
|
13176
|
+
cb: (err: any, data?: ReplaceImageInstanceTypeSpecificationCommandOutput) => void,
|
|
13177
|
+
): void;
|
|
13161
13178
|
replaceNetworkAclAssociation(
|
|
13162
13179
|
args: ReplaceNetworkAclAssociationCommandInput,
|
|
13163
13180
|
options?: __HttpHandlerOptions,
|
|
@@ -2979,6 +2979,10 @@ import {
|
|
|
2979
2979
|
ReplaceImageCriteriaInAllowedImagesSettingsCommandInput,
|
|
2980
2980
|
ReplaceImageCriteriaInAllowedImagesSettingsCommandOutput,
|
|
2981
2981
|
} from "./commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand";
|
|
2982
|
+
import {
|
|
2983
|
+
ReplaceImageInstanceTypeSpecificationCommandInput,
|
|
2984
|
+
ReplaceImageInstanceTypeSpecificationCommandOutput,
|
|
2985
|
+
} from "./commands/ReplaceImageInstanceTypeSpecificationCommand";
|
|
2982
2986
|
import {
|
|
2983
2987
|
ReplaceNetworkAclAssociationCommandInput,
|
|
2984
2988
|
ReplaceNetworkAclAssociationCommandOutput,
|
|
@@ -3937,6 +3941,7 @@ export type ServiceInputTypes =
|
|
|
3937
3941
|
| ReleaseIpamPoolAllocationCommandInput
|
|
3938
3942
|
| ReplaceIamInstanceProfileAssociationCommandInput
|
|
3939
3943
|
| ReplaceImageCriteriaInAllowedImagesSettingsCommandInput
|
|
3944
|
+
| ReplaceImageInstanceTypeSpecificationCommandInput
|
|
3940
3945
|
| ReplaceNetworkAclAssociationCommandInput
|
|
3941
3946
|
| ReplaceNetworkAclEntryCommandInput
|
|
3942
3947
|
| ReplaceRouteCommandInput
|
|
@@ -4738,6 +4743,7 @@ export type ServiceOutputTypes =
|
|
|
4738
4743
|
| ReleaseIpamPoolAllocationCommandOutput
|
|
4739
4744
|
| ReplaceIamInstanceProfileAssociationCommandOutput
|
|
4740
4745
|
| ReplaceImageCriteriaInAllowedImagesSettingsCommandOutput
|
|
4746
|
+
| ReplaceImageInstanceTypeSpecificationCommandOutput
|
|
4741
4747
|
| ReplaceNetworkAclAssociationCommandOutput
|
|
4742
4748
|
| ReplaceNetworkAclEntryCommandOutput
|
|
4743
4749
|
| ReplaceRouteCommandOutput
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
DescribeScheduledInstanceAvailabilityResult,
|
|
5
|
-
} from "../models/models_4";
|
|
2
|
+
import { DescribeScheduledInstanceAvailabilityRequest } from "../models/models_4";
|
|
3
|
+
import { DescribeScheduledInstanceAvailabilityResult } from "../models/models_5";
|
|
6
4
|
export { __MetadataBearer };
|
|
7
5
|
export interface DescribeScheduledInstanceAvailabilityCommandInput extends DescribeScheduledInstanceAvailabilityRequest {}
|
|
8
6
|
export interface DescribeScheduledInstanceAvailabilityCommandOutput
|
|
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import {
|
|
3
3
|
EnableEbsEncryptionByDefaultRequest,
|
|
4
4
|
EnableEbsEncryptionByDefaultResult,
|
|
5
|
-
} from "../models/
|
|
5
|
+
} from "../models/models_6";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
7
|
export interface EnableEbsEncryptionByDefaultCommandInput extends EnableEbsEncryptionByDefaultRequest {}
|
|
8
8
|
export interface EnableEbsEncryptionByDefaultCommandOutput
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { ImportKeyPairRequest, ImportKeyPairResult } from "../models/
|
|
2
|
+
import { ImportKeyPairRequest, ImportKeyPairResult } from "../models/models_7";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface ImportKeyPairCommandInput extends ImportKeyPairRequest {}
|
|
5
5
|
export interface ImportKeyPairCommandOutput extends ImportKeyPairResult, __MetadataBearer {}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ReplaceImageInstanceTypeSpecificationRequest,
|
|
4
|
+
ReplaceImageInstanceTypeSpecificationResult,
|
|
5
|
+
} from "../models/models_7";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface ReplaceImageInstanceTypeSpecificationCommandInput extends ReplaceImageInstanceTypeSpecificationRequest {}
|
|
8
|
+
export interface ReplaceImageInstanceTypeSpecificationCommandOutput
|
|
9
|
+
extends ReplaceImageInstanceTypeSpecificationResult, __MetadataBearer {}
|
|
10
|
+
declare const ReplaceImageInstanceTypeSpecificationCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: ReplaceImageInstanceTypeSpecificationCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
ReplaceImageInstanceTypeSpecificationCommandInput,
|
|
15
|
+
ReplaceImageInstanceTypeSpecificationCommandOutput,
|
|
16
|
+
import("..").EC2ClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: ReplaceImageInstanceTypeSpecificationCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ReplaceImageInstanceTypeSpecificationCommandInput,
|
|
24
|
+
ReplaceImageInstanceTypeSpecificationCommandOutput,
|
|
25
|
+
import("..").EC2ClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class ReplaceImageInstanceTypeSpecificationCommand extends ReplaceImageInstanceTypeSpecificationCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: ReplaceImageInstanceTypeSpecificationRequest;
|
|
35
|
+
output: ReplaceImageInstanceTypeSpecificationResult;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: ReplaceImageInstanceTypeSpecificationCommandInput;
|
|
39
|
+
output: ReplaceImageInstanceTypeSpecificationCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { RequestSpotFleetRequest, RequestSpotFleetResponse } from "../models/
|
|
2
|
+
import { RequestSpotFleetRequest, RequestSpotFleetResponse } from "../models/models_8";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface RequestSpotFleetCommandInput extends RequestSpotFleetRequest {}
|
|
5
5
|
export interface RequestSpotFleetCommandOutput extends RequestSpotFleetResponse, __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { RequestSpotInstancesRequest, RequestSpotInstancesResult } from "../models/
|
|
2
|
+
import { RequestSpotInstancesRequest, RequestSpotInstancesResult } from "../models/models_8";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface RequestSpotInstancesCommandInput extends RequestSpotInstancesRequest {}
|
|
5
5
|
export interface RequestSpotInstancesCommandOutput
|
|
@@ -748,6 +748,7 @@ export * from "./ReleaseHostsCommand";
|
|
|
748
748
|
export * from "./ReleaseIpamPoolAllocationCommand";
|
|
749
749
|
export * from "./ReplaceIamInstanceProfileAssociationCommand";
|
|
750
750
|
export * from "./ReplaceImageCriteriaInAllowedImagesSettingsCommand";
|
|
751
|
+
export * from "./ReplaceImageInstanceTypeSpecificationCommand";
|
|
751
752
|
export * from "./ReplaceNetworkAclAssociationCommand";
|
|
752
753
|
export * from "./ReplaceNetworkAclEntryCommand";
|
|
753
754
|
export * from "./ReplaceRouteCommand";
|
|
@@ -454,6 +454,13 @@ export interface ImageWatermark {
|
|
|
454
454
|
SourceImageCreationTime?: Date | undefined;
|
|
455
455
|
WatermarkCreationTime?: Date | undefined;
|
|
456
456
|
}
|
|
457
|
+
export interface InstanceTypeItem {
|
|
458
|
+
InstanceType?: string | undefined;
|
|
459
|
+
}
|
|
460
|
+
export interface InstanceTypeSpecification {
|
|
461
|
+
SupportedInstanceTypes?: InstanceTypeItem[] | undefined;
|
|
462
|
+
UnsupportedInstanceTypes?: InstanceTypeItem[] | undefined;
|
|
463
|
+
}
|
|
457
464
|
export interface Image {
|
|
458
465
|
PlatformDetails?: string | undefined;
|
|
459
466
|
UsageOperation?: string | undefined;
|
|
@@ -482,6 +489,7 @@ export interface Image {
|
|
|
482
489
|
FreeTierEligible?: boolean | undefined;
|
|
483
490
|
PublicSsmParameterName?: string | undefined;
|
|
484
491
|
ImageWatermarks?: ImageWatermark[] | undefined;
|
|
492
|
+
InstanceTypeSpecification?: InstanceTypeSpecification | undefined;
|
|
485
493
|
ImageId?: string | undefined;
|
|
486
494
|
ImageLocation?: string | undefined;
|
|
487
495
|
State?: ImageState | undefined;
|
|
@@ -2123,22 +2131,3 @@ export interface ScheduledInstanceRecurrence {
|
|
|
2123
2131
|
OccurrenceRelativeToEnd?: boolean | undefined;
|
|
2124
2132
|
OccurrenceUnit?: string | undefined;
|
|
2125
2133
|
}
|
|
2126
|
-
export interface ScheduledInstanceAvailability {
|
|
2127
|
-
AvailabilityZone?: string | undefined;
|
|
2128
|
-
AvailableInstanceCount?: number | undefined;
|
|
2129
|
-
FirstSlotStartTime?: Date | undefined;
|
|
2130
|
-
HourlyPrice?: string | undefined;
|
|
2131
|
-
InstanceType?: string | undefined;
|
|
2132
|
-
MaxTermDurationInDays?: number | undefined;
|
|
2133
|
-
MinTermDurationInDays?: number | undefined;
|
|
2134
|
-
NetworkPlatform?: string | undefined;
|
|
2135
|
-
Platform?: string | undefined;
|
|
2136
|
-
PurchaseToken?: string | undefined;
|
|
2137
|
-
Recurrence?: ScheduledInstanceRecurrence | undefined;
|
|
2138
|
-
SlotDurationInHours?: number | undefined;
|
|
2139
|
-
TotalScheduledInstanceHours?: number | undefined;
|
|
2140
|
-
}
|
|
2141
|
-
export interface DescribeScheduledInstanceAvailabilityResult {
|
|
2142
|
-
NextToken?: string | undefined;
|
|
2143
|
-
ScheduledInstanceAvailabilitySet?: ScheduledInstanceAvailability[] | undefined;
|
|
2144
|
-
}
|
|
@@ -152,6 +152,25 @@ import {
|
|
|
152
152
|
RegisteredInstance,
|
|
153
153
|
ScheduledInstanceRecurrence,
|
|
154
154
|
} from "./models_4";
|
|
155
|
+
export interface ScheduledInstanceAvailability {
|
|
156
|
+
AvailabilityZone?: string | undefined;
|
|
157
|
+
AvailableInstanceCount?: number | undefined;
|
|
158
|
+
FirstSlotStartTime?: Date | undefined;
|
|
159
|
+
HourlyPrice?: string | undefined;
|
|
160
|
+
InstanceType?: string | undefined;
|
|
161
|
+
MaxTermDurationInDays?: number | undefined;
|
|
162
|
+
MinTermDurationInDays?: number | undefined;
|
|
163
|
+
NetworkPlatform?: string | undefined;
|
|
164
|
+
Platform?: string | undefined;
|
|
165
|
+
PurchaseToken?: string | undefined;
|
|
166
|
+
Recurrence?: ScheduledInstanceRecurrence | undefined;
|
|
167
|
+
SlotDurationInHours?: number | undefined;
|
|
168
|
+
TotalScheduledInstanceHours?: number | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface DescribeScheduledInstanceAvailabilityResult {
|
|
171
|
+
NextToken?: string | undefined;
|
|
172
|
+
ScheduledInstanceAvailabilitySet?: ScheduledInstanceAvailability[] | undefined;
|
|
173
|
+
}
|
|
155
174
|
export interface SlotStartTimeRangeRequest {
|
|
156
175
|
EarliestTime?: Date | undefined;
|
|
157
176
|
LatestTime?: Date | undefined;
|
|
@@ -1834,9 +1853,3 @@ export interface EnableCapacityManagerResult {
|
|
|
1834
1853
|
CapacityManagerStatus?: CapacityManagerStatus | undefined;
|
|
1835
1854
|
OrganizationsAccess?: boolean | undefined;
|
|
1836
1855
|
}
|
|
1837
|
-
export interface EnableEbsEncryptionByDefaultRequest {
|
|
1838
|
-
DryRun?: boolean | undefined;
|
|
1839
|
-
}
|
|
1840
|
-
export interface EnableEbsEncryptionByDefaultResult {
|
|
1841
|
-
EbsEncryptionByDefault?: boolean | undefined;
|
|
1842
|
-
}
|
|
@@ -115,6 +115,12 @@ import {
|
|
|
115
115
|
SnapshotDetail,
|
|
116
116
|
} from "./models_4";
|
|
117
117
|
import { RouteServerPropagation, TransitGatewayPropagation } from "./models_5";
|
|
118
|
+
export interface EnableEbsEncryptionByDefaultRequest {
|
|
119
|
+
DryRun?: boolean | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface EnableEbsEncryptionByDefaultResult {
|
|
122
|
+
EbsEncryptionByDefault?: boolean | undefined;
|
|
123
|
+
}
|
|
118
124
|
export interface FastLaunchLaunchTemplateSpecificationRequest {
|
|
119
125
|
LaunchTemplateId?: string | undefined;
|
|
120
126
|
LaunchTemplateName?: string | undefined;
|
|
@@ -1772,15 +1778,3 @@ export interface ImportInstanceRequest {
|
|
|
1772
1778
|
export interface ImportInstanceResult {
|
|
1773
1779
|
ConversionTask?: ConversionTask | undefined;
|
|
1774
1780
|
}
|
|
1775
|
-
export interface ImportKeyPairRequest {
|
|
1776
|
-
TagSpecifications?: TagSpecification[] | undefined;
|
|
1777
|
-
DryRun?: boolean | undefined;
|
|
1778
|
-
KeyName: string | undefined;
|
|
1779
|
-
PublicKeyMaterial: Uint8Array | undefined;
|
|
1780
|
-
}
|
|
1781
|
-
export interface ImportKeyPairResult {
|
|
1782
|
-
KeyFingerprint?: string | undefined;
|
|
1783
|
-
KeyName?: string | undefined;
|
|
1784
|
-
KeyPairId?: string | undefined;
|
|
1785
|
-
Tags?: Tag[] | undefined;
|
|
1786
|
-
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
_InstanceType,
|
|
3
2
|
AccountVpcEncryptionControlMode,
|
|
4
3
|
Affinity,
|
|
5
4
|
AggregationStatusEnum,
|
|
@@ -31,7 +30,6 @@ import {
|
|
|
31
30
|
InstanceAttributeName,
|
|
32
31
|
InstanceAutoRecoveryState,
|
|
33
32
|
InstanceBandwidthWeighting,
|
|
34
|
-
InstanceInterruptionBehavior,
|
|
35
33
|
InstanceMatchCriteria,
|
|
36
34
|
InstanceMetadataEndpointState,
|
|
37
35
|
InstanceMetadataProtocolState,
|
|
@@ -66,7 +64,6 @@ import {
|
|
|
66
64
|
SecurityGroupReferencingSupportValue,
|
|
67
65
|
SelfServicePortal,
|
|
68
66
|
SnapshotAttributeName,
|
|
69
|
-
SpotInstanceType,
|
|
70
67
|
Status,
|
|
71
68
|
TargetStorageTier,
|
|
72
69
|
TpmSupportValues,
|
|
@@ -196,13 +193,8 @@ import {
|
|
|
196
193
|
} from "./models_4";
|
|
197
194
|
import {
|
|
198
195
|
CreateVolumePermission,
|
|
199
|
-
InstanceNetworkInterfaceSpecification,
|
|
200
196
|
LaunchTemplateConfig,
|
|
201
|
-
RunInstancesMonitoringEnabled,
|
|
202
197
|
ScheduledInstance,
|
|
203
|
-
SpotFleetRequestConfigData,
|
|
204
|
-
SpotInstanceRequest,
|
|
205
|
-
SpotPlacement,
|
|
206
198
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
207
199
|
VolumeModification,
|
|
208
200
|
VpcBlockPublicAccessOptions,
|
|
@@ -218,6 +210,18 @@ import {
|
|
|
218
210
|
UserBucket,
|
|
219
211
|
VolumeDetail,
|
|
220
212
|
} from "./models_6";
|
|
213
|
+
export interface ImportKeyPairRequest {
|
|
214
|
+
TagSpecifications?: TagSpecification[] | undefined;
|
|
215
|
+
DryRun?: boolean | undefined;
|
|
216
|
+
KeyName: string | undefined;
|
|
217
|
+
PublicKeyMaterial: Uint8Array | undefined;
|
|
218
|
+
}
|
|
219
|
+
export interface ImportKeyPairResult {
|
|
220
|
+
KeyFingerprint?: string | undefined;
|
|
221
|
+
KeyName?: string | undefined;
|
|
222
|
+
KeyPairId?: string | undefined;
|
|
223
|
+
Tags?: Tag[] | undefined;
|
|
224
|
+
}
|
|
221
225
|
export interface SnapshotDiskContainer {
|
|
222
226
|
Description?: string | undefined;
|
|
223
227
|
Format?: string | undefined;
|
|
@@ -1791,6 +1795,18 @@ export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
|
|
|
1791
1795
|
export interface ReplaceImageCriteriaInAllowedImagesSettingsResult {
|
|
1792
1796
|
ReturnValue?: boolean | undefined;
|
|
1793
1797
|
}
|
|
1798
|
+
export interface InstanceTypeSpecificationRequest {
|
|
1799
|
+
SupportedInstanceTypes?: string[] | undefined;
|
|
1800
|
+
UnsupportedInstanceTypes?: string[] | undefined;
|
|
1801
|
+
}
|
|
1802
|
+
export interface ReplaceImageInstanceTypeSpecificationRequest {
|
|
1803
|
+
ImageId: string | undefined;
|
|
1804
|
+
InstanceTypeSpecification?: InstanceTypeSpecificationRequest | undefined;
|
|
1805
|
+
DryRun?: boolean | undefined;
|
|
1806
|
+
}
|
|
1807
|
+
export interface ReplaceImageInstanceTypeSpecificationResult {
|
|
1808
|
+
ReturnValue?: boolean | undefined;
|
|
1809
|
+
}
|
|
1794
1810
|
export interface ReplaceNetworkAclAssociationRequest {
|
|
1795
1811
|
DryRun?: boolean | undefined;
|
|
1796
1812
|
AssociationId: string | undefined;
|
|
@@ -1868,46 +1884,3 @@ export interface ReportInstanceStatusRequest {
|
|
|
1868
1884
|
ReasonCodes: ReportInstanceReasonCodes[] | undefined;
|
|
1869
1885
|
Description?: string | undefined;
|
|
1870
1886
|
}
|
|
1871
|
-
export interface RequestSpotFleetRequest {
|
|
1872
|
-
DryRun?: boolean | undefined;
|
|
1873
|
-
SpotFleetRequestConfig: SpotFleetRequestConfigData | undefined;
|
|
1874
|
-
}
|
|
1875
|
-
export interface RequestSpotFleetResponse {
|
|
1876
|
-
SpotFleetRequestId?: string | undefined;
|
|
1877
|
-
}
|
|
1878
|
-
export interface RequestSpotLaunchSpecification {
|
|
1879
|
-
SecurityGroupIds?: string[] | undefined;
|
|
1880
|
-
SecurityGroups?: string[] | undefined;
|
|
1881
|
-
AddressingType?: string | undefined;
|
|
1882
|
-
BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
|
|
1883
|
-
EbsOptimized?: boolean | undefined;
|
|
1884
|
-
IamInstanceProfile?: IamInstanceProfileSpecification | undefined;
|
|
1885
|
-
ImageId?: string | undefined;
|
|
1886
|
-
InstanceType?: _InstanceType | undefined;
|
|
1887
|
-
KernelId?: string | undefined;
|
|
1888
|
-
KeyName?: string | undefined;
|
|
1889
|
-
Monitoring?: RunInstancesMonitoringEnabled | undefined;
|
|
1890
|
-
NetworkInterfaces?: InstanceNetworkInterfaceSpecification[] | undefined;
|
|
1891
|
-
Placement?: SpotPlacement | undefined;
|
|
1892
|
-
RamdiskId?: string | undefined;
|
|
1893
|
-
SubnetId?: string | undefined;
|
|
1894
|
-
UserData?: string | undefined;
|
|
1895
|
-
}
|
|
1896
|
-
export interface RequestSpotInstancesRequest {
|
|
1897
|
-
LaunchSpecification?: RequestSpotLaunchSpecification | undefined;
|
|
1898
|
-
TagSpecifications?: TagSpecification[] | undefined;
|
|
1899
|
-
InstanceInterruptionBehavior?: InstanceInterruptionBehavior | undefined;
|
|
1900
|
-
DryRun?: boolean | undefined;
|
|
1901
|
-
SpotPrice?: string | undefined;
|
|
1902
|
-
ClientToken?: string | undefined;
|
|
1903
|
-
InstanceCount?: number | undefined;
|
|
1904
|
-
Type?: SpotInstanceType | undefined;
|
|
1905
|
-
ValidFrom?: Date | undefined;
|
|
1906
|
-
ValidUntil?: Date | undefined;
|
|
1907
|
-
LaunchGroup?: string | undefined;
|
|
1908
|
-
AvailabilityZoneGroup?: string | undefined;
|
|
1909
|
-
BlockDurationMinutes?: number | undefined;
|
|
1910
|
-
}
|
|
1911
|
-
export interface RequestSpotInstancesResult {
|
|
1912
|
-
SpotInstanceRequests?: SpotInstanceRequest[] | undefined;
|
|
1913
|
-
}
|
|
@@ -54,13 +54,62 @@ import {
|
|
|
54
54
|
NetworkInsightsAccessScopeAnalysis,
|
|
55
55
|
NetworkInsightsAnalysis,
|
|
56
56
|
} from "./models_4";
|
|
57
|
-
import {
|
|
57
|
+
import {
|
|
58
|
+
InstanceNetworkInterfaceSpecification,
|
|
59
|
+
RunInstancesMonitoringEnabled,
|
|
60
|
+
SpotFleetRequestConfigData,
|
|
61
|
+
SpotInstanceRequest,
|
|
62
|
+
SpotPlacement,
|
|
63
|
+
} from "./models_5";
|
|
58
64
|
import { CapacityManagerMonitoredTagKey } from "./models_6";
|
|
59
65
|
import {
|
|
60
66
|
CapacityReservationSpecification,
|
|
61
67
|
EnclaveOptionsRequest,
|
|
62
68
|
InstanceMonitoring,
|
|
63
69
|
} from "./models_7";
|
|
70
|
+
export interface RequestSpotFleetRequest {
|
|
71
|
+
DryRun?: boolean | undefined;
|
|
72
|
+
SpotFleetRequestConfig: SpotFleetRequestConfigData | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface RequestSpotFleetResponse {
|
|
75
|
+
SpotFleetRequestId?: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
export interface RequestSpotLaunchSpecification {
|
|
78
|
+
SecurityGroupIds?: string[] | undefined;
|
|
79
|
+
SecurityGroups?: string[] | undefined;
|
|
80
|
+
AddressingType?: string | undefined;
|
|
81
|
+
BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
|
|
82
|
+
EbsOptimized?: boolean | undefined;
|
|
83
|
+
IamInstanceProfile?: IamInstanceProfileSpecification | undefined;
|
|
84
|
+
ImageId?: string | undefined;
|
|
85
|
+
InstanceType?: _InstanceType | undefined;
|
|
86
|
+
KernelId?: string | undefined;
|
|
87
|
+
KeyName?: string | undefined;
|
|
88
|
+
Monitoring?: RunInstancesMonitoringEnabled | undefined;
|
|
89
|
+
NetworkInterfaces?: InstanceNetworkInterfaceSpecification[] | undefined;
|
|
90
|
+
Placement?: SpotPlacement | undefined;
|
|
91
|
+
RamdiskId?: string | undefined;
|
|
92
|
+
SubnetId?: string | undefined;
|
|
93
|
+
UserData?: string | undefined;
|
|
94
|
+
}
|
|
95
|
+
export interface RequestSpotInstancesRequest {
|
|
96
|
+
LaunchSpecification?: RequestSpotLaunchSpecification | undefined;
|
|
97
|
+
TagSpecifications?: TagSpecification[] | undefined;
|
|
98
|
+
InstanceInterruptionBehavior?: InstanceInterruptionBehavior | undefined;
|
|
99
|
+
DryRun?: boolean | undefined;
|
|
100
|
+
SpotPrice?: string | undefined;
|
|
101
|
+
ClientToken?: string | undefined;
|
|
102
|
+
InstanceCount?: number | undefined;
|
|
103
|
+
Type?: SpotInstanceType | undefined;
|
|
104
|
+
ValidFrom?: Date | undefined;
|
|
105
|
+
ValidUntil?: Date | undefined;
|
|
106
|
+
LaunchGroup?: string | undefined;
|
|
107
|
+
AvailabilityZoneGroup?: string | undefined;
|
|
108
|
+
BlockDurationMinutes?: number | undefined;
|
|
109
|
+
}
|
|
110
|
+
export interface RequestSpotInstancesResult {
|
|
111
|
+
SpotInstanceRequests?: SpotInstanceRequest[] | undefined;
|
|
112
|
+
}
|
|
64
113
|
export interface ResetAddressAttributeRequest {
|
|
65
114
|
AllocationId: string | undefined;
|
|
66
115
|
Attribute: AddressAttributeName | undefined;
|
|
@@ -1629,7 +1629,10 @@ export declare var InstanceTagNotificationAttribute$: StaticStructureSchema;
|
|
|
1629
1629
|
export declare var InstanceTopology$: StaticStructureSchema;
|
|
1630
1630
|
export declare var InstanceTypeInfo$: StaticStructureSchema;
|
|
1631
1631
|
export declare var InstanceTypeInfoFromInstanceRequirements$: StaticStructureSchema;
|
|
1632
|
+
export declare var InstanceTypeItem$: StaticStructureSchema;
|
|
1632
1633
|
export declare var InstanceTypeOffering$: StaticStructureSchema;
|
|
1634
|
+
export declare var InstanceTypeSpecification$: StaticStructureSchema;
|
|
1635
|
+
export declare var InstanceTypeSpecificationRequest$: StaticStructureSchema;
|
|
1633
1636
|
export declare var InstanceUsage$: StaticStructureSchema;
|
|
1634
1637
|
export declare var IntegrateServices$: StaticStructureSchema;
|
|
1635
1638
|
export declare var InternetGateway$: StaticStructureSchema;
|
|
@@ -2125,6 +2128,8 @@ export declare var ReplaceIamInstanceProfileAssociationRequest$: StaticStructure
|
|
|
2125
2128
|
export declare var ReplaceIamInstanceProfileAssociationResult$: StaticStructureSchema;
|
|
2126
2129
|
export declare var ReplaceImageCriteriaInAllowedImagesSettingsRequest$: StaticStructureSchema;
|
|
2127
2130
|
export declare var ReplaceImageCriteriaInAllowedImagesSettingsResult$: StaticStructureSchema;
|
|
2131
|
+
export declare var ReplaceImageInstanceTypeSpecificationRequest$: StaticStructureSchema;
|
|
2132
|
+
export declare var ReplaceImageInstanceTypeSpecificationResult$: StaticStructureSchema;
|
|
2128
2133
|
export declare var ReplaceNetworkAclAssociationRequest$: StaticStructureSchema;
|
|
2129
2134
|
export declare var ReplaceNetworkAclAssociationResult$: StaticStructureSchema;
|
|
2130
2135
|
export declare var ReplaceNetworkAclEntryRequest$: StaticStructureSchema;
|
|
@@ -3254,6 +3259,7 @@ export declare var ReleaseHosts$: StaticOperationSchema;
|
|
|
3254
3259
|
export declare var ReleaseIpamPoolAllocation$: StaticOperationSchema;
|
|
3255
3260
|
export declare var ReplaceIamInstanceProfileAssociation$: StaticOperationSchema;
|
|
3256
3261
|
export declare var ReplaceImageCriteriaInAllowedImagesSettings$: StaticOperationSchema;
|
|
3262
|
+
export declare var ReplaceImageInstanceTypeSpecification$: StaticOperationSchema;
|
|
3257
3263
|
export declare var ReplaceNetworkAclAssociation$: StaticOperationSchema;
|
|
3258
3264
|
export declare var ReplaceNetworkAclEntry$: StaticOperationSchema;
|
|
3259
3265
|
export declare var ReplaceRoute$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1121.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2",
|
|
6
6
|
"license": "Apache-2.0",
|