@aws-sdk/client-ec2 3.267.0 → 3.271.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/commands/DeleteTrafficMirrorSessionCommand.js +2 -1
- package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +1 -2
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +7 -7
- package/dist-cjs/models/models_1.js +18 -10
- package/dist-cjs/models/models_2.js +9 -9
- package/dist-cjs/models/models_3.js +10 -10
- package/dist-cjs/models/models_4.js +29 -10
- package/dist-cjs/models/models_5.js +9 -6
- package/dist-cjs/models/models_6.js +23 -10
- package/dist-cjs/models/models_7.js +5 -1
- package/dist-cjs/protocols/Aws_ec2.js +10 -0
- package/dist-cjs/waiters/index.js +1 -0
- package/dist-cjs/waiters/waitForSnapshotImported.js +59 -0
- package/dist-es/commands/DeleteTrafficMirrorSessionCommand.js +2 -1
- package/dist-es/commands/UnassignIpv6AddressesCommand.js +1 -2
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +5 -5
- package/dist-es/models/models_1.js +12 -3
- package/dist-es/models/models_2.js +3 -3
- package/dist-es/models/models_3.js +3 -3
- package/dist-es/models/models_4.js +22 -3
- package/dist-es/models/models_5.js +7 -5
- package/dist-es/models/models_6.js +17 -3
- package/dist-es/models/models_7.js +3 -0
- package/dist-es/protocols/Aws_ec2.js +10 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForSnapshotImported.js +54 -0
- package/dist-types/EC2.d.ts +6 -13
- package/dist-types/EC2Client.d.ts +15 -15
- package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -2
- package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -5
- package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -5
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -2
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +14 -5
- package/dist-types/models/models_1.d.ts +36 -40
- package/dist-types/models/models_2.d.ts +35 -12
- package/dist-types/models/models_3.d.ts +65 -304
- package/dist-types/models/models_4.d.ts +399 -148
- package/dist-types/models/models_5.d.ts +42 -23
- package/dist-types/models/models_6.d.ts +13 -21
- package/dist-types/models/models_7.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -4
- package/dist-types/ts3.4/EC2Client.d.ts +4 -4
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +4 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +5 -4
- package/dist-types/ts3.4/models/models_1.d.ts +4 -13
- package/dist-types/ts3.4/models/models_2.d.ts +12 -7
- package/dist-types/ts3.4/models/models_3.d.ts +8 -61
- package/dist-types/ts3.4/models/models_4.d.ts +81 -8
- package/dist-types/ts3.4/models/models_5.d.ts +8 -5
- package/dist-types/ts3.4/models/models_6.d.ts +7 -10
- package/dist-types/ts3.4/models/models_7.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForSnapshotImported.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForSnapshotImported.d.ts +14 -0
- package/package.json +31 -31
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
BatchState,
|
|
8
8
|
CurrencyCodeValues,
|
|
9
9
|
Explanation,
|
|
10
|
+
IamInstanceProfile,
|
|
10
11
|
IamInstanceProfileSpecification,
|
|
11
12
|
IpamResourceDiscoveryAssociation,
|
|
12
13
|
IpPermission,
|
|
@@ -56,10 +57,13 @@ import {
|
|
|
56
57
|
NetworkInterface,
|
|
57
58
|
NetworkInterfaceAttachment,
|
|
58
59
|
NetworkInterfacePermission,
|
|
60
|
+
Placement,
|
|
59
61
|
PlacementGroup,
|
|
62
|
+
PlatformValues,
|
|
60
63
|
PrivateIpAddressSpecification,
|
|
61
64
|
ReplaceRootVolumeTask,
|
|
62
65
|
SpotInstanceType,
|
|
66
|
+
StateReason,
|
|
63
67
|
Subnet,
|
|
64
68
|
TargetCapacityUnitType,
|
|
65
69
|
Tenancy,
|
|
@@ -87,16 +91,91 @@ import {
|
|
|
87
91
|
Volume,
|
|
88
92
|
} from "./models_2";
|
|
89
93
|
import {
|
|
94
|
+
ArchitectureValues,
|
|
90
95
|
AttributeBooleanValue,
|
|
96
|
+
BootModeValues,
|
|
97
|
+
CapacityReservationSpecificationResponse,
|
|
98
|
+
CpuOptions,
|
|
99
|
+
DeviceType,
|
|
100
|
+
ElasticGpuAssociation,
|
|
101
|
+
ElasticInferenceAcceleratorAssociation,
|
|
102
|
+
EnclaveOptions,
|
|
91
103
|
EventInformation,
|
|
92
104
|
Filter,
|
|
105
|
+
HibernationOptions,
|
|
106
|
+
HypervisorType,
|
|
93
107
|
IdFormat,
|
|
94
|
-
|
|
108
|
+
InstanceBlockDeviceMapping,
|
|
109
|
+
InstanceLifecycleType,
|
|
110
|
+
InstanceMaintenanceOptions,
|
|
111
|
+
InstanceMetadataOptionsResponse,
|
|
112
|
+
InstanceNetworkInterface,
|
|
95
113
|
InstanceState,
|
|
114
|
+
LicenseConfiguration,
|
|
115
|
+
Monitoring,
|
|
96
116
|
PermissionGroup,
|
|
117
|
+
PrivateDnsNameOptionsResponse,
|
|
97
118
|
ProductCode,
|
|
98
119
|
VirtualizationType,
|
|
99
120
|
} from "./models_3";
|
|
121
|
+
export interface Instance {
|
|
122
|
+
AmiLaunchIndex?: number;
|
|
123
|
+
ImageId?: string;
|
|
124
|
+
InstanceId?: string;
|
|
125
|
+
InstanceType?: _InstanceType | string;
|
|
126
|
+
KernelId?: string;
|
|
127
|
+
KeyName?: string;
|
|
128
|
+
LaunchTime?: Date;
|
|
129
|
+
Monitoring?: Monitoring;
|
|
130
|
+
Placement?: Placement;
|
|
131
|
+
Platform?: PlatformValues | string;
|
|
132
|
+
PrivateDnsName?: string;
|
|
133
|
+
PrivateIpAddress?: string;
|
|
134
|
+
ProductCodes?: ProductCode[];
|
|
135
|
+
PublicDnsName?: string;
|
|
136
|
+
PublicIpAddress?: string;
|
|
137
|
+
RamdiskId?: string;
|
|
138
|
+
State?: InstanceState;
|
|
139
|
+
StateTransitionReason?: string;
|
|
140
|
+
SubnetId?: string;
|
|
141
|
+
VpcId?: string;
|
|
142
|
+
Architecture?: ArchitectureValues | string;
|
|
143
|
+
BlockDeviceMappings?: InstanceBlockDeviceMapping[];
|
|
144
|
+
ClientToken?: string;
|
|
145
|
+
EbsOptimized?: boolean;
|
|
146
|
+
EnaSupport?: boolean;
|
|
147
|
+
Hypervisor?: HypervisorType | string;
|
|
148
|
+
IamInstanceProfile?: IamInstanceProfile;
|
|
149
|
+
InstanceLifecycle?: InstanceLifecycleType | string;
|
|
150
|
+
ElasticGpuAssociations?: ElasticGpuAssociation[];
|
|
151
|
+
ElasticInferenceAcceleratorAssociations?: ElasticInferenceAcceleratorAssociation[];
|
|
152
|
+
NetworkInterfaces?: InstanceNetworkInterface[];
|
|
153
|
+
OutpostArn?: string;
|
|
154
|
+
RootDeviceName?: string;
|
|
155
|
+
RootDeviceType?: DeviceType | string;
|
|
156
|
+
SecurityGroups?: GroupIdentifier[];
|
|
157
|
+
SourceDestCheck?: boolean;
|
|
158
|
+
SpotInstanceRequestId?: string;
|
|
159
|
+
SriovNetSupport?: string;
|
|
160
|
+
StateReason?: StateReason;
|
|
161
|
+
Tags?: Tag[];
|
|
162
|
+
VirtualizationType?: VirtualizationType | string;
|
|
163
|
+
CpuOptions?: CpuOptions;
|
|
164
|
+
CapacityReservationId?: string;
|
|
165
|
+
CapacityReservationSpecification?: CapacityReservationSpecificationResponse;
|
|
166
|
+
HibernationOptions?: HibernationOptions;
|
|
167
|
+
Licenses?: LicenseConfiguration[];
|
|
168
|
+
MetadataOptions?: InstanceMetadataOptionsResponse;
|
|
169
|
+
EnclaveOptions?: EnclaveOptions;
|
|
170
|
+
BootMode?: BootModeValues | string;
|
|
171
|
+
PlatformDetails?: string;
|
|
172
|
+
UsageOperation?: string;
|
|
173
|
+
UsageOperationUpdateTime?: Date;
|
|
174
|
+
PrivateDnsNameOptions?: PrivateDnsNameOptionsResponse;
|
|
175
|
+
Ipv6Address?: string;
|
|
176
|
+
TpmSupport?: string;
|
|
177
|
+
MaintenanceOptions?: InstanceMaintenanceOptions;
|
|
178
|
+
}
|
|
100
179
|
export interface Reservation {
|
|
101
180
|
Groups?: GroupIdentifier[];
|
|
102
181
|
Instances?: Instance[];
|
|
@@ -1934,10 +2013,7 @@ export declare enum VolumeStatusName {
|
|
|
1934
2013
|
io_enabled = "io-enabled",
|
|
1935
2014
|
io_performance = "io-performance",
|
|
1936
2015
|
}
|
|
1937
|
-
export
|
|
1938
|
-
Name?: VolumeStatusName | string;
|
|
1939
|
-
Status?: string;
|
|
1940
|
-
}
|
|
2016
|
+
export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
|
|
1941
2017
|
export declare const ReservationFilterSensitiveLog: (obj: Reservation) => any;
|
|
1942
2018
|
export declare const DescribeInstancesResultFilterSensitiveLog: (
|
|
1943
2019
|
obj: DescribeInstancesResult
|
|
@@ -2686,6 +2762,3 @@ export declare const VolumeStatusAttachmentStatusFilterSensitiveLog: (
|
|
|
2686
2762
|
export declare const VolumeStatusEventFilterSensitiveLog: (
|
|
2687
2763
|
obj: VolumeStatusEvent
|
|
2688
2764
|
) => any;
|
|
2689
|
-
export declare const VolumeStatusDetailsFilterSensitiveLog: (
|
|
2690
|
-
obj: VolumeStatusDetails
|
|
2691
|
-
) => any;
|
|
@@ -84,9 +84,13 @@ import {
|
|
|
84
84
|
ArchitectureType,
|
|
85
85
|
VolumeStatusAction,
|
|
86
86
|
VolumeStatusAttachmentStatus,
|
|
87
|
-
VolumeStatusDetails,
|
|
88
87
|
VolumeStatusEvent,
|
|
88
|
+
VolumeStatusName,
|
|
89
89
|
} from "./models_4";
|
|
90
|
+
export interface VolumeStatusDetails {
|
|
91
|
+
Name?: VolumeStatusName | string;
|
|
92
|
+
Status?: string;
|
|
93
|
+
}
|
|
90
94
|
export declare enum VolumeStatusInfoStatus {
|
|
91
95
|
impaired = "impaired",
|
|
92
96
|
insufficient_data = "insufficient-data",
|
|
@@ -1655,10 +1659,9 @@ export interface ModifyAddressAttributeRequest {
|
|
|
1655
1659
|
export interface ModifyAddressAttributeResult {
|
|
1656
1660
|
Address?: AddressAttribute;
|
|
1657
1661
|
}
|
|
1658
|
-
export declare
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
}
|
|
1662
|
+
export declare const VolumeStatusDetailsFilterSensitiveLog: (
|
|
1663
|
+
obj: VolumeStatusDetails
|
|
1664
|
+
) => any;
|
|
1662
1665
|
export declare const VolumeStatusInfoFilterSensitiveLog: (
|
|
1663
1666
|
obj: VolumeStatusInfo
|
|
1664
1667
|
) => any;
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
DnsSupportValue,
|
|
18
18
|
EnaSrdSpecification,
|
|
19
19
|
EndDateType,
|
|
20
|
+
HostMaintenance,
|
|
20
21
|
HostRecovery,
|
|
21
22
|
IamInstanceProfileAssociation,
|
|
22
23
|
IamInstanceProfileSpecification,
|
|
@@ -25,7 +26,6 @@ import {
|
|
|
25
26
|
Ipv6SupportValue,
|
|
26
27
|
PortRange,
|
|
27
28
|
RouteTableAssociationState,
|
|
28
|
-
SelfServicePortal,
|
|
29
29
|
TagSpecification,
|
|
30
30
|
TransitGatewayAttachmentResourceType,
|
|
31
31
|
TransitGatewayMulticastDomainAssociations,
|
|
@@ -60,6 +60,7 @@ import {
|
|
|
60
60
|
Placement,
|
|
61
61
|
RequestIpamResourceTag,
|
|
62
62
|
RuleAction,
|
|
63
|
+
SelfServicePortal,
|
|
63
64
|
ShutdownBehavior,
|
|
64
65
|
SpotInstanceType,
|
|
65
66
|
TargetCapacitySpecificationRequest,
|
|
@@ -143,10 +144,13 @@ import {
|
|
|
143
144
|
import {
|
|
144
145
|
InstanceFamilyCreditSpecification,
|
|
145
146
|
IpamResourceCidr,
|
|
146
|
-
ModifyAvailabilityZoneOptInStatus,
|
|
147
147
|
Purchase,
|
|
148
148
|
UnlimitedSupportedInstanceFamily,
|
|
149
149
|
} from "./models_5";
|
|
150
|
+
export declare enum ModifyAvailabilityZoneOptInStatus {
|
|
151
|
+
not_opted_in = "not-opted-in",
|
|
152
|
+
opted_in = "opted-in",
|
|
153
|
+
}
|
|
150
154
|
export interface ModifyAvailabilityZoneGroupRequest {
|
|
151
155
|
GroupName: string | undefined;
|
|
152
156
|
OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined;
|
|
@@ -261,6 +265,7 @@ export interface ModifyHostsRequest {
|
|
|
261
265
|
HostRecovery?: HostRecovery | string;
|
|
262
266
|
InstanceType?: string;
|
|
263
267
|
InstanceFamily?: string;
|
|
268
|
+
HostMaintenance?: HostMaintenance | string;
|
|
264
269
|
}
|
|
265
270
|
export interface ModifyHostsResult {
|
|
266
271
|
Successful?: string[];
|
|
@@ -1801,11 +1806,6 @@ export interface TerminateInstancesRequest {
|
|
|
1801
1806
|
export interface TerminateInstancesResult {
|
|
1802
1807
|
TerminatingInstances?: InstanceStateChange[];
|
|
1803
1808
|
}
|
|
1804
|
-
export interface UnassignIpv6AddressesRequest {
|
|
1805
|
-
Ipv6Addresses?: string[];
|
|
1806
|
-
Ipv6Prefixes?: string[];
|
|
1807
|
-
NetworkInterfaceId: string | undefined;
|
|
1808
|
-
}
|
|
1809
1809
|
export declare const ModifyAvailabilityZoneGroupRequestFilterSensitiveLog: (
|
|
1810
1810
|
obj: ModifyAvailabilityZoneGroupRequest
|
|
1811
1811
|
) => any;
|
|
@@ -2664,6 +2664,3 @@ export declare const TerminateInstancesRequestFilterSensitiveLog: (
|
|
|
2664
2664
|
export declare const TerminateInstancesResultFilterSensitiveLog: (
|
|
2665
2665
|
obj: TerminateInstancesResult
|
|
2666
2666
|
) => any;
|
|
2667
|
-
export declare const UnassignIpv6AddressesRequestFilterSensitiveLog: (
|
|
2668
|
-
obj: UnassignIpv6AddressesRequest
|
|
2669
|
-
) => any;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ByoipCidr, IpPermission, NatGatewayAddress } from "./models_0";
|
|
2
2
|
import { InstanceMonitoring } from "./models_6";
|
|
3
|
+
export interface UnassignIpv6AddressesRequest {
|
|
4
|
+
Ipv6Addresses?: string[];
|
|
5
|
+
Ipv6Prefixes?: string[];
|
|
6
|
+
NetworkInterfaceId: string | undefined;
|
|
7
|
+
}
|
|
3
8
|
export interface UnassignIpv6AddressesResult {
|
|
4
9
|
NetworkInterfaceId?: string;
|
|
5
10
|
UnassignedIpv6Addresses?: string[];
|
|
@@ -58,6 +63,9 @@ export interface WithdrawByoipCidrRequest {
|
|
|
58
63
|
export interface WithdrawByoipCidrResult {
|
|
59
64
|
ByoipCidr?: ByoipCidr;
|
|
60
65
|
}
|
|
66
|
+
export declare const UnassignIpv6AddressesRequestFilterSensitiveLog: (
|
|
67
|
+
obj: UnassignIpv6AddressesRequest
|
|
68
|
+
) => any;
|
|
61
69
|
export declare const UnassignIpv6AddressesResultFilterSensitiveLog: (
|
|
62
70
|
obj: UnassignIpv6AddressesResult
|
|
63
71
|
) => any;
|
|
@@ -34,8 +34,8 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
34
34
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
35
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
|
-
logger: import("@aws-sdk/types").Logger;
|
|
38
37
|
serviceId: string;
|
|
38
|
+
logger: import("@aws-sdk/types").Logger;
|
|
39
39
|
endpoint?:
|
|
40
40
|
| ((
|
|
41
41
|
| string
|
|
@@ -34,8 +34,8 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
34
34
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
35
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
|
-
logger: import("@aws-sdk/types").Logger;
|
|
38
37
|
serviceId: string;
|
|
38
|
+
logger: import("@aws-sdk/types").Logger;
|
|
39
39
|
endpoint?:
|
|
40
40
|
| ((
|
|
41
41
|
| string
|
|
@@ -19,12 +19,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
19
19
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
20
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
|
-
|
|
23
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
22
|
+
serviceId: string;
|
|
25
23
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
26
24
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
27
|
-
serviceId: string;
|
|
28
25
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
29
26
|
credentialDefaultProvider: (
|
|
30
27
|
input: any
|
|
@@ -32,6 +29,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
32
29
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
33
30
|
import("@aws-sdk/types").UserAgent
|
|
34
31
|
>;
|
|
32
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
33
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
34
|
+
logger: import("@aws-sdk/types").Logger;
|
|
35
35
|
defaultsMode:
|
|
36
36
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
37
37
|
| import("@aws-sdk/types").Provider<
|
|
@@ -17,6 +17,7 @@ export * from "./waitForKeyPairExists";
|
|
|
17
17
|
export * from "./waitForNatGatewayAvailable";
|
|
18
18
|
export * from "./waitForNatGatewayDeleted";
|
|
19
19
|
export * from "./waitForNetworkInterfaceAvailable";
|
|
20
|
+
export * from "./waitForSnapshotImported";
|
|
20
21
|
export * from "./waitForSecurityGroupExists";
|
|
21
22
|
export * from "./waitForSnapshotCompleted";
|
|
22
23
|
export * from "./waitForSpotInstanceRequestFulfilled";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
|
+
import { DescribeImportSnapshotTasksCommandInput } from "../commands/DescribeImportSnapshotTasksCommand";
|
|
3
|
+
import { EC2Client } from "../EC2Client";
|
|
4
|
+
export declare const waitForSnapshotImported: (
|
|
5
|
+
params: WaiterConfiguration<EC2Client>,
|
|
6
|
+
input: DescribeImportSnapshotTasksCommandInput
|
|
7
|
+
) => Promise<WaiterResult>;
|
|
8
|
+
export declare const waitUntilSnapshotImported: (
|
|
9
|
+
params: WaiterConfiguration<EC2Client>,
|
|
10
|
+
input: DescribeImportSnapshotTasksCommandInput
|
|
11
|
+
) => Promise<WaiterResult>;
|
|
@@ -17,6 +17,7 @@ export * from "./waitForKeyPairExists";
|
|
|
17
17
|
export * from "./waitForNatGatewayAvailable";
|
|
18
18
|
export * from "./waitForNatGatewayDeleted";
|
|
19
19
|
export * from "./waitForNetworkInterfaceAvailable";
|
|
20
|
+
export * from "./waitForSnapshotImported";
|
|
20
21
|
export * from "./waitForSecurityGroupExists";
|
|
21
22
|
export * from "./waitForSnapshotCompleted";
|
|
22
23
|
export * from "./waitForSpotInstanceRequestFulfilled";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
|
+
import { DescribeImportSnapshotTasksCommandInput } from "../commands/DescribeImportSnapshotTasksCommand";
|
|
3
|
+
import { EC2Client } from "../EC2Client";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated Use waitUntilSnapshotImported instead. waitForSnapshotImported does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForSnapshotImported: (params: WaiterConfiguration<EC2Client>, input: DescribeImportSnapshotTasksCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to DescribeImportSnapshotTasksCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilSnapshotImported: (params: WaiterConfiguration<EC2Client>, input: DescribeImportSnapshotTasksCommandInput) => Promise<WaiterResult>;
|
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.271.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,40 +20,40 @@
|
|
|
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-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.271.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.271.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.271.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.271.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.271.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.271.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.271.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.271.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.271.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.271.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.271.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.271.0",
|
|
35
|
+
"@aws-sdk/middleware-sdk-ec2": "3.271.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.271.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.271.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.271.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.271.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.271.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.271.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.271.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.271.0",
|
|
44
|
+
"@aws-sdk/types": "3.271.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.271.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.271.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.271.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.271.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.271.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.271.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.271.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
56
|
+
"@aws-sdk/util-waiter": "3.271.0",
|
|
57
57
|
"fast-xml-parser": "4.0.11",
|
|
58
58
|
"tslib": "^2.3.1",
|
|
59
59
|
"uuid": "^8.3.2"
|