@aws-sdk/client-ec2 3.391.0 → 3.394.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/EC2Client.js +4 -2
- package/dist-cjs/clientConfiguration.js +2 -0
- package/dist-cjs/models/models_3.js +1 -6
- package/dist-cjs/models/models_4.js +5 -5
- package/dist-cjs/models/models_5.js +5 -1
- package/dist-cjs/protocols/Aws_ec2.js +48 -0
- package/dist-cjs/runtimeConfig.shared.js +1 -0
- package/dist-cjs/runtimeExtensions.js +16 -0
- package/dist-es/EC2Client.js +4 -2
- package/dist-es/clientConfiguration.js +1 -0
- package/dist-es/models/models_3.js +0 -4
- package/dist-es/models/models_4.js +4 -4
- package/dist-es/models/models_5.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +48 -0
- package/dist-es/runtimeConfig.shared.js +1 -0
- package/dist-es/runtimeExtensions.js +12 -0
- package/dist-types/EC2Client.d.ts +6 -1
- package/dist-types/clientConfiguration.d.ts +6 -0
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +3 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +7 -0
- package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +9 -4
- package/dist-types/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +2 -1
- package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +7 -0
- package/dist-types/models/models_1.d.ts +1 -3
- package/dist-types/models/models_2.d.ts +47 -39
- package/dist-types/models/models_3.d.ts +171 -31
- package/dist-types/models/models_4.d.ts +13 -13
- package/dist-types/models/models_5.d.ts +13 -11
- package/dist-types/models/models_6.d.ts +20 -21
- package/dist-types/models/models_7.d.ts +17 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +3 -0
- package/dist-types/ts3.4/clientConfiguration.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_2.d.ts +6 -4
- package/dist-types/ts3.4/models/models_3.d.ts +5 -7
- package/dist-types/ts3.4/models/models_4.d.ts +6 -7
- package/dist-types/ts3.4/models/models_5.d.ts +7 -8
- package/dist-types/ts3.4/models/models_6.d.ts +5 -4
- package/dist-types/ts3.4/models/models_7.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1123,6 +1123,11 @@ export declare const IpAddressType: {
|
|
|
1123
1123
|
readonly ipv6: "ipv6";
|
|
1124
1124
|
};
|
|
1125
1125
|
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
1126
|
+
export interface SubnetConfiguration {
|
|
1127
|
+
SubnetId?: string;
|
|
1128
|
+
Ipv4?: string;
|
|
1129
|
+
Ipv6?: string;
|
|
1130
|
+
}
|
|
1126
1131
|
export declare const VpcEndpointType: {
|
|
1127
1132
|
readonly Gateway: "Gateway";
|
|
1128
1133
|
readonly GatewayLoadBalancer: "GatewayLoadBalancer";
|
|
@@ -1144,6 +1149,7 @@ export interface CreateVpcEndpointRequest {
|
|
|
1144
1149
|
ClientToken?: string;
|
|
1145
1150
|
PrivateDnsEnabled?: boolean;
|
|
1146
1151
|
TagSpecifications?: TagSpecification[];
|
|
1152
|
+
SubnetConfigurations?: SubnetConfiguration[];
|
|
1147
1153
|
}
|
|
1148
1154
|
export interface DnsEntry {
|
|
1149
1155
|
DnsName?: string;
|
|
@@ -1859,10 +1865,6 @@ export declare const DeleteQueuedReservedInstancesErrorCode: {
|
|
|
1859
1865
|
};
|
|
1860
1866
|
export type DeleteQueuedReservedInstancesErrorCode =
|
|
1861
1867
|
(typeof DeleteQueuedReservedInstancesErrorCode)[keyof typeof DeleteQueuedReservedInstancesErrorCode];
|
|
1862
|
-
export interface DeleteQueuedReservedInstancesError {
|
|
1863
|
-
Code?: DeleteQueuedReservedInstancesErrorCode | string;
|
|
1864
|
-
Message?: string;
|
|
1865
|
-
}
|
|
1866
1868
|
export declare const CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: (
|
|
1867
1869
|
obj: CreateVerifiedAccessTrustProviderOidcOptions
|
|
1868
1870
|
) => any;
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
TransportProtocol,
|
|
72
72
|
} from "./models_1";
|
|
73
73
|
import {
|
|
74
|
-
|
|
74
|
+
DeleteQueuedReservedInstancesErrorCode,
|
|
75
75
|
FleetStateCode,
|
|
76
76
|
SubnetCidrReservation,
|
|
77
77
|
TransitGateway,
|
|
@@ -86,6 +86,10 @@ import {
|
|
|
86
86
|
VerifiedAccessEndpoint,
|
|
87
87
|
VerifiedAccessGroup,
|
|
88
88
|
} from "./models_2";
|
|
89
|
+
export interface DeleteQueuedReservedInstancesError {
|
|
90
|
+
Code?: DeleteQueuedReservedInstancesErrorCode | string;
|
|
91
|
+
Message?: string;
|
|
92
|
+
}
|
|
89
93
|
export interface FailedQueuedPurchaseDeletion {
|
|
90
94
|
Error?: DeleteQueuedReservedInstancesError;
|
|
91
95
|
ReservedInstancesId?: string;
|
|
@@ -1828,12 +1832,6 @@ export interface ElasticInferenceAcceleratorAssociation {
|
|
|
1828
1832
|
export interface HibernationOptions {
|
|
1829
1833
|
Configured?: boolean;
|
|
1830
1834
|
}
|
|
1831
|
-
export declare const InstanceLifecycleType: {
|
|
1832
|
-
readonly scheduled: "scheduled";
|
|
1833
|
-
readonly spot: "spot";
|
|
1834
|
-
};
|
|
1835
|
-
export type InstanceLifecycleType =
|
|
1836
|
-
(typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
|
|
1837
1835
|
export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
|
|
1838
1836
|
obj: DeleteVerifiedAccessTrustProviderResult
|
|
1839
1837
|
) => any;
|
|
@@ -106,11 +106,16 @@ import {
|
|
|
106
106
|
IdFormat,
|
|
107
107
|
InstanceBlockDeviceMapping,
|
|
108
108
|
InstanceBootModeValues,
|
|
109
|
-
InstanceLifecycleType,
|
|
110
109
|
PermissionGroup,
|
|
111
110
|
ProductCode,
|
|
112
111
|
VirtualizationType,
|
|
113
112
|
} from "./models_3";
|
|
113
|
+
export declare const InstanceLifecycleType: {
|
|
114
|
+
readonly scheduled: "scheduled";
|
|
115
|
+
readonly spot: "spot";
|
|
116
|
+
};
|
|
117
|
+
export type InstanceLifecycleType =
|
|
118
|
+
(typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
|
|
114
119
|
export interface LicenseConfiguration {
|
|
115
120
|
LicenseConfigurationArn?: string;
|
|
116
121
|
}
|
|
@@ -2077,12 +2082,6 @@ export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest {
|
|
|
2077
2082
|
Filters?: Filter[];
|
|
2078
2083
|
DryRun?: boolean;
|
|
2079
2084
|
}
|
|
2080
|
-
export declare const VerifiedAccessLogDeliveryStatusCode: {
|
|
2081
|
-
readonly FAILED: "failed";
|
|
2082
|
-
readonly SUCCESS: "success";
|
|
2083
|
-
};
|
|
2084
|
-
export type VerifiedAccessLogDeliveryStatusCode =
|
|
2085
|
-
(typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
|
|
2086
2085
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2087
2086
|
obj: DescribeLaunchTemplateVersionsResult
|
|
2088
2087
|
) => any;
|
|
@@ -72,11 +72,13 @@ import {
|
|
|
72
72
|
StatisticType,
|
|
73
73
|
VirtualizationType,
|
|
74
74
|
} from "./models_3";
|
|
75
|
-
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
75
|
+
import { AnalysisStatus, ArchitectureType } from "./models_4";
|
|
76
|
+
export declare const VerifiedAccessLogDeliveryStatusCode: {
|
|
77
|
+
readonly FAILED: "failed";
|
|
78
|
+
readonly SUCCESS: "success";
|
|
79
|
+
};
|
|
80
|
+
export type VerifiedAccessLogDeliveryStatusCode =
|
|
81
|
+
(typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
|
|
80
82
|
export interface VerifiedAccessLogDeliveryStatus {
|
|
81
83
|
Code?: VerifiedAccessLogDeliveryStatusCode | string;
|
|
82
84
|
Message?: string;
|
|
@@ -1659,9 +1661,6 @@ export interface ImportClientVpnClientCertificateRevocationListRequest {
|
|
|
1659
1661
|
CertificateRevocationList: string | undefined;
|
|
1660
1662
|
DryRun?: boolean;
|
|
1661
1663
|
}
|
|
1662
|
-
export interface ImportClientVpnClientCertificateRevocationListResult {
|
|
1663
|
-
Return?: boolean;
|
|
1664
|
-
}
|
|
1665
1664
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1666
1665
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1667
1666
|
) => any;
|
|
@@ -85,6 +85,7 @@ import {
|
|
|
85
85
|
Phase2IntegrityAlgorithmsRequestListValue,
|
|
86
86
|
SnapshotState,
|
|
87
87
|
SSEType,
|
|
88
|
+
SubnetConfiguration,
|
|
88
89
|
TrafficDirection,
|
|
89
90
|
TrafficMirrorFilter,
|
|
90
91
|
TrafficMirrorFilterRule,
|
|
@@ -150,6 +151,9 @@ import {
|
|
|
150
151
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
151
152
|
VolumeModification,
|
|
152
153
|
} from "./models_5";
|
|
154
|
+
export interface ImportClientVpnClientCertificateRevocationListResult {
|
|
155
|
+
Return?: boolean;
|
|
156
|
+
}
|
|
153
157
|
export interface ClientData {
|
|
154
158
|
Comment?: string;
|
|
155
159
|
UploadEnd?: Date;
|
|
@@ -1075,6 +1079,7 @@ export interface ModifyVpcEndpointRequest {
|
|
|
1075
1079
|
IpAddressType?: IpAddressType | string;
|
|
1076
1080
|
DnsOptions?: DnsOptionsSpecification;
|
|
1077
1081
|
PrivateDnsEnabled?: boolean;
|
|
1082
|
+
SubnetConfigurations?: SubnetConfiguration[];
|
|
1078
1083
|
}
|
|
1079
1084
|
export interface ModifyVpcEndpointResult {
|
|
1080
1085
|
Return?: boolean;
|
|
@@ -1865,10 +1870,6 @@ export interface ScheduledInstancesMonitoring {
|
|
|
1865
1870
|
export interface ScheduledInstancesIpv6Address {
|
|
1866
1871
|
Ipv6Address?: string;
|
|
1867
1872
|
}
|
|
1868
|
-
export interface ScheduledInstancesPrivateIpAddressConfig {
|
|
1869
|
-
Primary?: boolean;
|
|
1870
|
-
PrivateIpAddress?: string;
|
|
1871
|
-
}
|
|
1872
1873
|
export declare const ImageDiskContainerFilterSensitiveLog: (
|
|
1873
1874
|
obj: ImageDiskContainer
|
|
1874
1875
|
) => any;
|
|
@@ -19,8 +19,11 @@ import {
|
|
|
19
19
|
ScheduledInstancesIamInstanceProfile,
|
|
20
20
|
ScheduledInstancesIpv6Address,
|
|
21
21
|
ScheduledInstancesMonitoring,
|
|
22
|
-
ScheduledInstancesPrivateIpAddressConfig,
|
|
23
22
|
} from "./models_6";
|
|
23
|
+
export interface ScheduledInstancesPrivateIpAddressConfig {
|
|
24
|
+
Primary?: boolean;
|
|
25
|
+
PrivateIpAddress?: string;
|
|
26
|
+
}
|
|
24
27
|
export interface ScheduledInstancesNetworkInterface {
|
|
25
28
|
AssociatePublicIpAddress?: boolean;
|
|
26
29
|
DeleteOnTermination?: boolean;
|
|
@@ -36,6 +36,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
39
40
|
endpoint?:
|
|
40
41
|
| ((
|
|
41
42
|
| string
|
|
@@ -36,6 +36,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
39
40
|
endpoint?:
|
|
40
41
|
| ((
|
|
41
42
|
| string
|
|
@@ -32,6 +32,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
32
32
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
33
33
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
34
34
|
logger: import("@smithy/types").Logger;
|
|
35
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
36
|
defaultsMode:
|
|
36
37
|
| import("@smithy/smithy-client").DefaultsMode
|
|
37
38
|
| import("@smithy/types").Provider<
|
|
@@ -10,6 +10,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
10
10
|
logger?: import("@smithy/types").Logger | undefined;
|
|
11
11
|
}
|
|
12
12
|
) => import("@smithy/types").EndpointV2;
|
|
13
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
13
14
|
logger: import("@smithy/types").Logger;
|
|
14
15
|
serviceId: string;
|
|
15
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EC2ClientConfiguration } from "./clientConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configureClient(clientConfiguration: EC2ClientConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[]
|
|
11
|
+
) => any;
|
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.394.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",
|