@aws-sdk/client-ec2 3.844.0 → 3.845.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 +41 -6
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/models/models_2.js +0 -5
- package/dist-es/models/models_5.js +5 -0
- package/dist-es/protocols/Aws_ec2.js +28 -0
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +4 -1
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -1
- package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +2 -1
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -2
- package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +53 -17
- package/dist-types/models/models_2.d.ts +17 -14
- package/dist-types/models/models_5.d.ts +81 -81
- package/dist-types/models/models_6.d.ts +81 -94
- package/dist-types/models/models_7.d.ts +95 -28
- package/dist-types/models/models_8.d.ts +25 -0
- package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +8 -3
- package/dist-types/ts3.4/models/models_2.d.ts +4 -7
- package/dist-types/ts3.4/models/models_5.d.ts +14 -13
- package/dist-types/ts3.4/models/models_6.d.ts +12 -19
- package/dist-types/ts3.4/models/models_7.d.ts +23 -8
- package/dist-types/ts3.4/models/models_8.d.ts +7 -0
- package/package.json +12 -12
|
@@ -39,13 +39,13 @@ import {
|
|
|
39
39
|
HostnameType,
|
|
40
40
|
InstanceBandwidthWeighting,
|
|
41
41
|
InstanceRequirements,
|
|
42
|
+
IpAddressType,
|
|
42
43
|
Ipv4PrefixSpecificationRequest,
|
|
43
44
|
Ipv6PrefixSpecificationRequest,
|
|
44
45
|
LaunchTemplateBlockDeviceMapping,
|
|
45
46
|
LaunchTemplateCapacityReservationSpecificationResponse,
|
|
46
47
|
LaunchTemplateCpuOptions,
|
|
47
48
|
LaunchTemplateElasticInferenceAcceleratorResponse,
|
|
48
|
-
LaunchTemplateEnaSrdUdpSpecification,
|
|
49
49
|
LaunchTemplateEnclaveOptions,
|
|
50
50
|
LaunchTemplateHibernationOptions,
|
|
51
51
|
LaunchTemplateIamInstanceProfileSpecification,
|
|
@@ -67,6 +67,9 @@ import {
|
|
|
67
67
|
VolumeType,
|
|
68
68
|
Vpc,
|
|
69
69
|
} from "./models_1";
|
|
70
|
+
export interface LaunchTemplateEnaSrdUdpSpecification {
|
|
71
|
+
EnaSrdUdpEnabled?: boolean | undefined;
|
|
72
|
+
}
|
|
70
73
|
export interface LaunchTemplateEnaSrdSpecification {
|
|
71
74
|
EnaSrdEnabled?: boolean | undefined;
|
|
72
75
|
EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification | undefined;
|
|
@@ -2235,12 +2238,6 @@ export interface DnsOptionsSpecification {
|
|
|
2235
2238
|
DnsRecordIpType?: DnsRecordIpType | undefined;
|
|
2236
2239
|
PrivateDnsOnlyForInboundResolverEndpoint?: boolean | undefined;
|
|
2237
2240
|
}
|
|
2238
|
-
export declare const IpAddressType: {
|
|
2239
|
-
readonly dualstack: "dualstack";
|
|
2240
|
-
readonly ipv4: "ipv4";
|
|
2241
|
-
readonly ipv6: "ipv6";
|
|
2242
|
-
};
|
|
2243
|
-
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
2244
2241
|
export interface SubnetConfiguration {
|
|
2245
2242
|
SubnetId?: string | undefined;
|
|
2246
2243
|
Ipv4?: string | undefined;
|
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
FleetType,
|
|
37
37
|
InstanceInterruptionBehavior,
|
|
38
38
|
InstanceRequirements,
|
|
39
|
+
IpAddressType,
|
|
39
40
|
Ipam,
|
|
40
41
|
IpamScope,
|
|
41
42
|
Ipv4PrefixSpecificationRequest,
|
|
@@ -54,7 +55,6 @@ import {
|
|
|
54
55
|
DnsEntry,
|
|
55
56
|
GroupIdentifier,
|
|
56
57
|
InstanceIpv6Address,
|
|
57
|
-
IpAddressType,
|
|
58
58
|
LaunchTemplateVersion,
|
|
59
59
|
LocalGatewayRouteTable,
|
|
60
60
|
LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
|
|
@@ -96,7 +96,6 @@ import {
|
|
|
96
96
|
VerifiedAccessGroup,
|
|
97
97
|
Volume,
|
|
98
98
|
VpcBlockPublicAccessExclusion,
|
|
99
|
-
VpcEndpoint,
|
|
100
99
|
} from "./models_2";
|
|
101
100
|
import { ConnectionNotification, Filter, IdFormat } from "./models_3";
|
|
102
101
|
import {
|
|
@@ -1840,7 +1839,19 @@ export interface VolumeStatusEvent {
|
|
|
1840
1839
|
NotBefore?: Date | undefined;
|
|
1841
1840
|
InstanceId?: string | undefined;
|
|
1842
1841
|
}
|
|
1842
|
+
export declare const InitializationType: {
|
|
1843
|
+
readonly default: "default";
|
|
1844
|
+
readonly provisioned_rate: "provisioned-rate";
|
|
1845
|
+
};
|
|
1846
|
+
export type InitializationType =
|
|
1847
|
+
(typeof InitializationType)[keyof typeof InitializationType];
|
|
1848
|
+
export interface InitializationStatusDetails {
|
|
1849
|
+
InitializationType?: InitializationType | undefined;
|
|
1850
|
+
Progress?: number | undefined;
|
|
1851
|
+
EstimatedTimeToCompleteInSeconds?: number | undefined;
|
|
1852
|
+
}
|
|
1843
1853
|
export declare const VolumeStatusName: {
|
|
1854
|
+
readonly initialization_state: "initialization-state";
|
|
1844
1855
|
readonly io_enabled: "io-enabled";
|
|
1845
1856
|
readonly io_performance: "io-performance";
|
|
1846
1857
|
};
|
|
@@ -1869,6 +1880,7 @@ export interface VolumeStatusItem {
|
|
|
1869
1880
|
VolumeId?: string | undefined;
|
|
1870
1881
|
VolumeStatus?: VolumeStatusInfo | undefined;
|
|
1871
1882
|
AttachmentStatuses?: VolumeStatusAttachmentStatus[] | undefined;
|
|
1883
|
+
InitializationStatusDetails?: InitializationStatusDetails | undefined;
|
|
1872
1884
|
AvailabilityZoneId?: string | undefined;
|
|
1873
1885
|
}
|
|
1874
1886
|
export interface DescribeVolumeStatusResult {
|
|
@@ -2038,17 +2050,6 @@ export interface DescribeVpcEndpointsRequest {
|
|
|
2038
2050
|
MaxResults?: number | undefined;
|
|
2039
2051
|
NextToken?: string | undefined;
|
|
2040
2052
|
}
|
|
2041
|
-
export interface DescribeVpcEndpointsResult {
|
|
2042
|
-
VpcEndpoints?: VpcEndpoint[] | undefined;
|
|
2043
|
-
NextToken?: string | undefined;
|
|
2044
|
-
}
|
|
2045
|
-
export interface DescribeVpcEndpointServiceConfigurationsRequest {
|
|
2046
|
-
DryRun?: boolean | undefined;
|
|
2047
|
-
ServiceIds?: string[] | undefined;
|
|
2048
|
-
Filters?: Filter[] | undefined;
|
|
2049
|
-
MaxResults?: number | undefined;
|
|
2050
|
-
NextToken?: string | undefined;
|
|
2051
|
-
}
|
|
2052
2053
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2053
2054
|
obj: DescribeLaunchTemplateVersionsResult
|
|
2054
2055
|
) => any;
|
|
@@ -37,13 +37,13 @@ import {
|
|
|
37
37
|
InstanceRequirementsRequest,
|
|
38
38
|
IpamResourceTag,
|
|
39
39
|
RequestIpamResourceTag,
|
|
40
|
-
TargetCapacityUnitType,
|
|
41
40
|
Vpc,
|
|
42
41
|
} from "./models_1";
|
|
43
42
|
import {
|
|
44
43
|
NetworkInsightsAccessScopeContent,
|
|
45
44
|
ResponseLaunchTemplateData,
|
|
46
45
|
SSEType,
|
|
46
|
+
VpcEndpoint,
|
|
47
47
|
} from "./models_2";
|
|
48
48
|
import {
|
|
49
49
|
DnsNameState,
|
|
@@ -74,6 +74,17 @@ import {
|
|
|
74
74
|
VirtualizationType,
|
|
75
75
|
} from "./models_4";
|
|
76
76
|
import { AnalysisStatus, ManagedBy } from "./models_5";
|
|
77
|
+
export interface DescribeVpcEndpointsResult {
|
|
78
|
+
VpcEndpoints?: VpcEndpoint[] | undefined;
|
|
79
|
+
NextToken?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface DescribeVpcEndpointServiceConfigurationsRequest {
|
|
82
|
+
DryRun?: boolean | undefined;
|
|
83
|
+
ServiceIds?: string[] | undefined;
|
|
84
|
+
Filters?: Filter[] | undefined;
|
|
85
|
+
MaxResults?: number | undefined;
|
|
86
|
+
NextToken?: string | undefined;
|
|
87
|
+
}
|
|
77
88
|
export interface DescribeVpcEndpointServiceConfigurationsResult {
|
|
78
89
|
ServiceConfigurations?: ServiceConfiguration[] | undefined;
|
|
79
90
|
NextToken?: string | undefined;
|
|
@@ -1623,24 +1634,6 @@ export interface GetSnapshotBlockPublicAccessStateResult {
|
|
|
1623
1634
|
State?: SnapshotBlockPublicAccessState | undefined;
|
|
1624
1635
|
ManagedBy?: ManagedBy | undefined;
|
|
1625
1636
|
}
|
|
1626
|
-
export interface InstanceRequirementsWithMetadataRequest {
|
|
1627
|
-
ArchitectureTypes?: ArchitectureType[] | undefined;
|
|
1628
|
-
VirtualizationTypes?: VirtualizationType[] | undefined;
|
|
1629
|
-
InstanceRequirements?: InstanceRequirementsRequest | undefined;
|
|
1630
|
-
}
|
|
1631
|
-
export interface GetSpotPlacementScoresRequest {
|
|
1632
|
-
InstanceTypes?: string[] | undefined;
|
|
1633
|
-
TargetCapacity: number | undefined;
|
|
1634
|
-
TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
|
|
1635
|
-
SingleAvailabilityZone?: boolean | undefined;
|
|
1636
|
-
RegionNames?: string[] | undefined;
|
|
1637
|
-
InstanceRequirementsWithMetadata?:
|
|
1638
|
-
| InstanceRequirementsWithMetadataRequest
|
|
1639
|
-
| undefined;
|
|
1640
|
-
DryRun?: boolean | undefined;
|
|
1641
|
-
MaxResults?: number | undefined;
|
|
1642
|
-
NextToken?: string | undefined;
|
|
1643
|
-
}
|
|
1644
1637
|
export declare const DescribeVpnConnectionsResultFilterSensitiveLog: (
|
|
1645
1638
|
obj: DescribeVpnConnectionsResult
|
|
1646
1639
|
) => any;
|
|
@@ -49,6 +49,8 @@ import {
|
|
|
49
49
|
InstanceBandwidthWeighting,
|
|
50
50
|
InstanceEventWindowTimeRangeRequest,
|
|
51
51
|
InstanceMatchCriteria,
|
|
52
|
+
InstanceRequirementsRequest,
|
|
53
|
+
IpAddressType,
|
|
52
54
|
Ipam,
|
|
53
55
|
IpamMeteredAccount,
|
|
54
56
|
IpamPool,
|
|
@@ -62,6 +64,7 @@ import {
|
|
|
62
64
|
SelfServicePortal,
|
|
63
65
|
ShutdownBehavior,
|
|
64
66
|
TargetCapacitySpecificationRequest,
|
|
67
|
+
TargetCapacityUnitType,
|
|
65
68
|
VolumeType,
|
|
66
69
|
} from "./models_1";
|
|
67
70
|
import {
|
|
@@ -70,7 +73,6 @@ import {
|
|
|
70
73
|
DefaultRouteTablePropagationValue,
|
|
71
74
|
DnsOptionsSpecification,
|
|
72
75
|
InternetGatewayExclusionMode,
|
|
73
|
-
IpAddressType,
|
|
74
76
|
LocalGatewayRoute,
|
|
75
77
|
ManagedPrefixList,
|
|
76
78
|
RouteServer,
|
|
@@ -112,6 +114,7 @@ import {
|
|
|
112
114
|
VpnTunnelLogOptionsSpecification,
|
|
113
115
|
} from "./models_3";
|
|
114
116
|
import {
|
|
117
|
+
ArchitectureType,
|
|
115
118
|
ArchitectureValues,
|
|
116
119
|
AttributeBooleanValue,
|
|
117
120
|
BootModeValues,
|
|
@@ -135,6 +138,7 @@ import {
|
|
|
135
138
|
SnapshotDetail,
|
|
136
139
|
SnapshotTaskDetail,
|
|
137
140
|
TpmSupportValues,
|
|
141
|
+
VirtualizationType,
|
|
138
142
|
} from "./models_4";
|
|
139
143
|
import {
|
|
140
144
|
CreateVolumePermission,
|
|
@@ -157,6 +161,24 @@ import {
|
|
|
157
161
|
TransitGatewayPropagationState,
|
|
158
162
|
UnlimitedSupportedInstanceFamily,
|
|
159
163
|
} from "./models_6";
|
|
164
|
+
export interface InstanceRequirementsWithMetadataRequest {
|
|
165
|
+
ArchitectureTypes?: ArchitectureType[] | undefined;
|
|
166
|
+
VirtualizationTypes?: VirtualizationType[] | undefined;
|
|
167
|
+
InstanceRequirements?: InstanceRequirementsRequest | undefined;
|
|
168
|
+
}
|
|
169
|
+
export interface GetSpotPlacementScoresRequest {
|
|
170
|
+
InstanceTypes?: string[] | undefined;
|
|
171
|
+
TargetCapacity: number | undefined;
|
|
172
|
+
TargetCapacityUnitType?: TargetCapacityUnitType | undefined;
|
|
173
|
+
SingleAvailabilityZone?: boolean | undefined;
|
|
174
|
+
RegionNames?: string[] | undefined;
|
|
175
|
+
InstanceRequirementsWithMetadata?:
|
|
176
|
+
| InstanceRequirementsWithMetadataRequest
|
|
177
|
+
| undefined;
|
|
178
|
+
DryRun?: boolean | undefined;
|
|
179
|
+
MaxResults?: number | undefined;
|
|
180
|
+
NextToken?: string | undefined;
|
|
181
|
+
}
|
|
160
182
|
export interface SpotPlacementScore {
|
|
161
183
|
Region?: string | undefined;
|
|
162
184
|
AvailabilityZoneId?: string | undefined;
|
|
@@ -1905,13 +1927,6 @@ export interface RegisterTransitGatewayMulticastGroupSourcesResult {
|
|
|
1905
1927
|
| TransitGatewayMulticastRegisteredGroupSources
|
|
1906
1928
|
| undefined;
|
|
1907
1929
|
}
|
|
1908
|
-
export interface RejectCapacityReservationBillingOwnershipRequest {
|
|
1909
|
-
DryRun?: boolean | undefined;
|
|
1910
|
-
CapacityReservationId: string | undefined;
|
|
1911
|
-
}
|
|
1912
|
-
export interface RejectCapacityReservationBillingOwnershipResult {
|
|
1913
|
-
Return?: boolean | undefined;
|
|
1914
|
-
}
|
|
1915
1930
|
export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
|
|
1916
1931
|
obj: GetVpnConnectionDeviceSampleConfigurationResult
|
|
1917
1932
|
) => any;
|
|
@@ -67,6 +67,13 @@ import {
|
|
|
67
67
|
InstanceMonitoring,
|
|
68
68
|
Status,
|
|
69
69
|
} from "./models_7";
|
|
70
|
+
export interface RejectCapacityReservationBillingOwnershipRequest {
|
|
71
|
+
DryRun?: boolean | undefined;
|
|
72
|
+
CapacityReservationId: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface RejectCapacityReservationBillingOwnershipResult {
|
|
75
|
+
Return?: boolean | undefined;
|
|
76
|
+
}
|
|
70
77
|
export interface RejectTransitGatewayMulticastDomainAssociationsRequest {
|
|
71
78
|
TransitGatewayMulticastDomainId?: string | undefined;
|
|
72
79
|
TransitGatewayAttachmentId?: string | 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.845.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,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.845.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.845.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
28
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-sdk-ec2": "3.845.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.845.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
31
31
|
"@aws-sdk/types": "3.840.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.845.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.845.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.1.4",
|
|
36
36
|
"@smithy/core": "^3.7.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.1.0",
|
|
38
38
|
"@smithy/hash-node": "^4.0.4",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
42
|
-
"@smithy/middleware-retry": "^4.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.1.15",
|
|
42
|
+
"@smithy/middleware-retry": "^4.1.16",
|
|
43
43
|
"@smithy/middleware-serde": "^4.0.8",
|
|
44
44
|
"@smithy/middleware-stack": "^4.0.4",
|
|
45
45
|
"@smithy/node-config-provider": "^4.1.3",
|
|
46
46
|
"@smithy/node-http-handler": "^4.1.0",
|
|
47
47
|
"@smithy/protocol-http": "^5.1.2",
|
|
48
|
-
"@smithy/smithy-client": "^4.4.
|
|
48
|
+
"@smithy/smithy-client": "^4.4.7",
|
|
49
49
|
"@smithy/types": "^4.3.1",
|
|
50
50
|
"@smithy/url-parser": "^4.0.4",
|
|
51
51
|
"@smithy/util-base64": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.0.23",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.0.23",
|
|
56
56
|
"@smithy/util-endpoints": "^3.0.6",
|
|
57
57
|
"@smithy/util-middleware": "^4.0.4",
|
|
58
58
|
"@smithy/util-retry": "^4.0.6",
|