@aws-sdk/client-ec2 3.1011.0 → 3.1013.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 +6 -0
- package/dist-cjs/schemas/schemas_0.js +105 -62
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +51 -8
- package/dist-types/commands/CreateFleetCommand.d.ts +8 -3
- package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +8 -3
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -1
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -2
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_1.d.ts +31 -43
- package/dist-types/models/models_2.d.ts +40 -10
- package/dist-types/models/models_3.d.ts +31 -166
- package/dist-types/models/models_4.d.ts +196 -88
- package/dist-types/models/models_5.d.ts +87 -118
- package/dist-types/models/models_6.d.ts +119 -160
- package/dist-types/models/models_7.d.ts +160 -3
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/CreateSecondarySubnetCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_1.d.ts +5 -9
- package/dist-types/ts3.4/models/models_2.d.ts +9 -3
- package/dist-types/ts3.4/models/models_3.d.ts +8 -18
- package/dist-types/ts3.4/models/models_4.d.ts +27 -18
- package/dist-types/ts3.4/models/models_5.d.ts +17 -23
- package/dist-types/ts3.4/models/models_6.d.ts +23 -40
- package/dist-types/ts3.4/models/models_7.d.ts +38 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +15 -15
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
AnalysisStatus,
|
|
5
5
|
ArchitectureType,
|
|
6
6
|
ArchitectureValues,
|
|
7
|
-
AutoAcceptSharedAttachmentsValue,
|
|
8
7
|
AutoPlacement,
|
|
9
8
|
BootModeValues,
|
|
10
9
|
CapacityReservationPreference,
|
|
@@ -12,13 +11,9 @@ import {
|
|
|
12
11
|
DefaultHttpTokensEnforcedState,
|
|
13
12
|
DefaultInstanceMetadataEndpointState,
|
|
14
13
|
DefaultInstanceMetadataTagsState,
|
|
15
|
-
DefaultRouteTableAssociationValue,
|
|
16
|
-
DefaultRouteTablePropagationValue,
|
|
17
14
|
DiskImageFormat,
|
|
18
|
-
DnsSupportValue,
|
|
19
15
|
EkPubKeyFormat,
|
|
20
16
|
EkPubKeyType,
|
|
21
|
-
EncryptionSupportOptionValue,
|
|
22
17
|
EndDateType,
|
|
23
18
|
ExcessCapacityTerminationPolicy,
|
|
24
19
|
FleetExcessCapacityTerminationPolicy,
|
|
@@ -70,7 +65,6 @@ import {
|
|
|
70
65
|
RouteServerPersistRoutesAction,
|
|
71
66
|
RouteServerRouteInstallationStatus,
|
|
72
67
|
RouteServerRouteStatus,
|
|
73
|
-
SecurityGroupReferencingSupportValue,
|
|
74
68
|
SelfServicePortal,
|
|
75
69
|
ShutdownBehavior,
|
|
76
70
|
SnapshotAttributeName,
|
|
@@ -82,7 +76,6 @@ import {
|
|
|
82
76
|
TrafficMirrorFilterRuleField,
|
|
83
77
|
TrafficMirrorNetworkService,
|
|
84
78
|
TrafficMirrorRuleAction,
|
|
85
|
-
TrafficMirrorSessionField,
|
|
86
79
|
TransitGatewayAssociationState,
|
|
87
80
|
TransitGatewayAttachmentResourceType,
|
|
88
81
|
TransitGatewayPropagationState,
|
|
@@ -91,7 +84,6 @@ import {
|
|
|
91
84
|
VirtualizationType,
|
|
92
85
|
VolumeState,
|
|
93
86
|
VolumeType,
|
|
94
|
-
VpnEcmpSupportValue,
|
|
95
87
|
} from "./enums";
|
|
96
88
|
import {
|
|
97
89
|
AddressAttribute,
|
|
@@ -145,7 +137,6 @@ import {
|
|
|
145
137
|
TrafficMirrorFilter,
|
|
146
138
|
TrafficMirrorFilterRule,
|
|
147
139
|
TrafficMirrorPortRangeRequest,
|
|
148
|
-
TrafficMirrorSession,
|
|
149
140
|
SubnetCidrReservation,
|
|
150
141
|
TransitGatewayMeteringPolicyEntry,
|
|
151
142
|
TransitGatewayPrefixListReference,
|
|
@@ -168,7 +159,29 @@ import {
|
|
|
168
159
|
LaunchTemplateConfig,
|
|
169
160
|
ReservedInstancesConfiguration,
|
|
170
161
|
} from "./models_4";
|
|
171
|
-
import { RouteServerPropagation } from "./models_5";
|
|
162
|
+
import { RegionalSummary, RouteServerPropagation } from "./models_5";
|
|
163
|
+
export interface AttributeSummary {
|
|
164
|
+
AttributeName?: string | undefined;
|
|
165
|
+
MostFrequentValue?: string | undefined;
|
|
166
|
+
NumberOfMatchedAccounts?: number | undefined;
|
|
167
|
+
NumberOfUnmatchedAccounts?: number | undefined;
|
|
168
|
+
RegionalSummaries?: RegionalSummary[] | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface GetDeclarativePoliciesReportSummaryResult {
|
|
171
|
+
ReportId?: string | undefined;
|
|
172
|
+
S3Bucket?: string | undefined;
|
|
173
|
+
S3Prefix?: string | undefined;
|
|
174
|
+
TargetId?: string | undefined;
|
|
175
|
+
StartTime?: Date | undefined;
|
|
176
|
+
EndTime?: Date | undefined;
|
|
177
|
+
NumberOfAccounts?: number | undefined;
|
|
178
|
+
NumberOfFailedAccounts?: number | undefined;
|
|
179
|
+
AttributeSummaries?: AttributeSummary[] | undefined;
|
|
180
|
+
}
|
|
181
|
+
export interface GetDefaultCreditSpecificationRequest {
|
|
182
|
+
DryRun?: boolean | undefined;
|
|
183
|
+
InstanceFamily: UnlimitedSupportedInstanceFamily | undefined;
|
|
184
|
+
}
|
|
172
185
|
export interface InstanceFamilyCreditSpecification {
|
|
173
186
|
InstanceFamily?: UnlimitedSupportedInstanceFamily | undefined;
|
|
174
187
|
CpuCredits?: string | undefined;
|
|
@@ -1894,33 +1907,3 @@ export interface ModifyTrafficMirrorFilterRuleRequest {
|
|
|
1894
1907
|
export interface ModifyTrafficMirrorFilterRuleResult {
|
|
1895
1908
|
TrafficMirrorFilterRule?: TrafficMirrorFilterRule | undefined;
|
|
1896
1909
|
}
|
|
1897
|
-
export interface ModifyTrafficMirrorSessionRequest {
|
|
1898
|
-
TrafficMirrorSessionId: string | undefined;
|
|
1899
|
-
TrafficMirrorTargetId?: string | undefined;
|
|
1900
|
-
TrafficMirrorFilterId?: string | undefined;
|
|
1901
|
-
PacketLength?: number | undefined;
|
|
1902
|
-
SessionNumber?: number | undefined;
|
|
1903
|
-
VirtualNetworkId?: number | undefined;
|
|
1904
|
-
Description?: string | undefined;
|
|
1905
|
-
RemoveFields?: TrafficMirrorSessionField[] | undefined;
|
|
1906
|
-
DryRun?: boolean | undefined;
|
|
1907
|
-
}
|
|
1908
|
-
export interface ModifyTrafficMirrorSessionResult {
|
|
1909
|
-
TrafficMirrorSession?: TrafficMirrorSession | undefined;
|
|
1910
|
-
}
|
|
1911
|
-
export interface ModifyTransitGatewayOptions {
|
|
1912
|
-
AddTransitGatewayCidrBlocks?: string[] | undefined;
|
|
1913
|
-
RemoveTransitGatewayCidrBlocks?: string[] | undefined;
|
|
1914
|
-
VpnEcmpSupport?: VpnEcmpSupportValue | undefined;
|
|
1915
|
-
DnsSupport?: DnsSupportValue | undefined;
|
|
1916
|
-
SecurityGroupReferencingSupport?:
|
|
1917
|
-
| SecurityGroupReferencingSupportValue
|
|
1918
|
-
| undefined;
|
|
1919
|
-
AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | undefined;
|
|
1920
|
-
DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue | undefined;
|
|
1921
|
-
AssociationDefaultRouteTableId?: string | undefined;
|
|
1922
|
-
DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue | undefined;
|
|
1923
|
-
PropagationDefaultRouteTableId?: string | undefined;
|
|
1924
|
-
AmazonSideAsn?: number | undefined;
|
|
1925
|
-
EncryptionSupport?: EncryptionSupportOptionValue | undefined;
|
|
1926
|
-
}
|
|
@@ -4,11 +4,15 @@ import {
|
|
|
4
4
|
AmdSevSnpSpecification,
|
|
5
5
|
ApplianceModeSupportValue,
|
|
6
6
|
ArchitectureValues,
|
|
7
|
+
AutoAcceptSharedAttachmentsValue,
|
|
7
8
|
BootModeValues,
|
|
8
9
|
CapacityManagerStatus,
|
|
9
10
|
CapacityReservationInstancePlatform,
|
|
10
11
|
CurrencyCodeValues,
|
|
12
|
+
DefaultRouteTableAssociationValue,
|
|
13
|
+
DefaultRouteTablePropagationValue,
|
|
11
14
|
DnsSupportValue,
|
|
15
|
+
EncryptionSupportOptionValue,
|
|
12
16
|
HostnameType,
|
|
13
17
|
HttpTokensState,
|
|
14
18
|
ImdsSupportValues,
|
|
@@ -43,6 +47,7 @@ import {
|
|
|
43
47
|
SSEType,
|
|
44
48
|
Status,
|
|
45
49
|
TpmSupportValues,
|
|
50
|
+
TrafficMirrorSessionField,
|
|
46
51
|
TransitGatewayAttachmentResourceType,
|
|
47
52
|
VerificationMethod,
|
|
48
53
|
VerifiedAccessEndpointProtocol,
|
|
@@ -50,6 +55,7 @@ import {
|
|
|
50
55
|
VpcEncryptionControlExclusionStateInput,
|
|
51
56
|
VpcEncryptionControlMode,
|
|
52
57
|
VpcTenancy,
|
|
58
|
+
VpnEcmpSupportValue,
|
|
53
59
|
} from "./enums";
|
|
54
60
|
import {
|
|
55
61
|
AddressAttribute,
|
|
@@ -86,6 +92,7 @@ import {
|
|
|
86
92
|
} from "./models_1";
|
|
87
93
|
import {
|
|
88
94
|
DnsOptionsSpecification,
|
|
95
|
+
TrafficMirrorSession,
|
|
89
96
|
TransitGateway,
|
|
90
97
|
TransitGatewayMeteringPolicy,
|
|
91
98
|
TransitGatewayPrefixListReference,
|
|
@@ -133,11 +140,37 @@ import {
|
|
|
133
140
|
VolumeModification,
|
|
134
141
|
VpcBlockPublicAccessOptions,
|
|
135
142
|
} from "./models_5";
|
|
136
|
-
import {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
143
|
+
import { CapacityReservationSpecification, Purchase } from "./models_6";
|
|
144
|
+
export interface ModifyTrafficMirrorSessionRequest {
|
|
145
|
+
TrafficMirrorSessionId: string | undefined;
|
|
146
|
+
TrafficMirrorTargetId?: string | undefined;
|
|
147
|
+
TrafficMirrorFilterId?: string | undefined;
|
|
148
|
+
PacketLength?: number | undefined;
|
|
149
|
+
SessionNumber?: number | undefined;
|
|
150
|
+
VirtualNetworkId?: number | undefined;
|
|
151
|
+
Description?: string | undefined;
|
|
152
|
+
RemoveFields?: TrafficMirrorSessionField[] | undefined;
|
|
153
|
+
DryRun?: boolean | undefined;
|
|
154
|
+
}
|
|
155
|
+
export interface ModifyTrafficMirrorSessionResult {
|
|
156
|
+
TrafficMirrorSession?: TrafficMirrorSession | undefined;
|
|
157
|
+
}
|
|
158
|
+
export interface ModifyTransitGatewayOptions {
|
|
159
|
+
AddTransitGatewayCidrBlocks?: string[] | undefined;
|
|
160
|
+
RemoveTransitGatewayCidrBlocks?: string[] | undefined;
|
|
161
|
+
VpnEcmpSupport?: VpnEcmpSupportValue | undefined;
|
|
162
|
+
DnsSupport?: DnsSupportValue | undefined;
|
|
163
|
+
SecurityGroupReferencingSupport?:
|
|
164
|
+
| SecurityGroupReferencingSupportValue
|
|
165
|
+
| undefined;
|
|
166
|
+
AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | undefined;
|
|
167
|
+
DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue | undefined;
|
|
168
|
+
AssociationDefaultRouteTableId?: string | undefined;
|
|
169
|
+
DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue | undefined;
|
|
170
|
+
PropagationDefaultRouteTableId?: string | undefined;
|
|
171
|
+
AmazonSideAsn?: number | undefined;
|
|
172
|
+
EncryptionSupport?: EncryptionSupportOptionValue | undefined;
|
|
173
|
+
}
|
|
141
174
|
export interface ModifyTransitGatewayRequest {
|
|
142
175
|
TransitGatewayId: string | undefined;
|
|
143
176
|
Description?: string | undefined;
|
|
@@ -482,6 +482,7 @@ export declare var CustomerGateway$: StaticStructureSchema;
|
|
|
482
482
|
export declare var DataQuery$: StaticStructureSchema;
|
|
483
483
|
export declare var DataResponse$: StaticStructureSchema;
|
|
484
484
|
export declare var DeclarativePoliciesReport$: StaticStructureSchema;
|
|
485
|
+
export declare var DefaultConnectionTrackingConfiguration$: StaticStructureSchema;
|
|
485
486
|
export declare var DeleteCapacityManagerDataExportRequest$: StaticStructureSchema;
|
|
486
487
|
export declare var DeleteCapacityManagerDataExportResult$: StaticStructureSchema;
|
|
487
488
|
export declare var DeleteCarrierGatewayRequest$: StaticStructureSchema;
|
|
@@ -2022,6 +2023,8 @@ export declare var RequestSpotLaunchSpecification$: StaticStructureSchema;
|
|
|
2022
2023
|
export declare var Reservation$: StaticStructureSchema;
|
|
2023
2024
|
export declare var ReservationFleetInstanceSpecification$: StaticStructureSchema;
|
|
2024
2025
|
export declare var ReservationValue$: StaticStructureSchema;
|
|
2026
|
+
export declare var ReservedCapacityOptions$: StaticStructureSchema;
|
|
2027
|
+
export declare var ReservedCapacityOptionsRequest$: StaticStructureSchema;
|
|
2025
2028
|
export declare var ReservedInstanceLimitPrice$: StaticStructureSchema;
|
|
2026
2029
|
export declare var ReservedInstanceReservationValue$: StaticStructureSchema;
|
|
2027
2030
|
export declare var ReservedInstances$: StaticStructureSchema;
|
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.1013.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -25,39 +25,39 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
28
|
-
"@aws-sdk/core": "^3.973.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
+
"@aws-sdk/core": "^3.973.22",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.23",
|
|
30
30
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
31
31
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
33
|
-
"@aws-sdk/middleware-sdk-ec2": "^3.972.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
33
|
+
"@aws-sdk/middleware-sdk-ec2": "^3.972.16",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "^3.972.23",
|
|
35
35
|
"@aws-sdk/region-config-resolver": "^3.972.8",
|
|
36
36
|
"@aws-sdk/types": "^3.973.6",
|
|
37
37
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
38
38
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
39
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
39
|
+
"@aws-sdk/util-user-agent-node": "^3.973.9",
|
|
40
40
|
"@smithy/config-resolver": "^4.4.11",
|
|
41
|
-
"@smithy/core": "^3.23.
|
|
41
|
+
"@smithy/core": "^3.23.12",
|
|
42
42
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
43
43
|
"@smithy/hash-node": "^4.2.12",
|
|
44
44
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
45
45
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
46
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
47
|
-
"@smithy/middleware-retry": "^4.4.
|
|
48
|
-
"@smithy/middleware-serde": "^4.2.
|
|
46
|
+
"@smithy/middleware-endpoint": "^4.4.26",
|
|
47
|
+
"@smithy/middleware-retry": "^4.4.43",
|
|
48
|
+
"@smithy/middleware-serde": "^4.2.15",
|
|
49
49
|
"@smithy/middleware-stack": "^4.2.12",
|
|
50
50
|
"@smithy/node-config-provider": "^4.3.12",
|
|
51
|
-
"@smithy/node-http-handler": "^4.
|
|
51
|
+
"@smithy/node-http-handler": "^4.5.0",
|
|
52
52
|
"@smithy/protocol-http": "^5.3.12",
|
|
53
|
-
"@smithy/smithy-client": "^4.12.
|
|
53
|
+
"@smithy/smithy-client": "^4.12.6",
|
|
54
54
|
"@smithy/types": "^4.13.1",
|
|
55
55
|
"@smithy/url-parser": "^4.2.12",
|
|
56
56
|
"@smithy/util-base64": "^4.3.2",
|
|
57
57
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
58
58
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
59
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
60
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
59
|
+
"@smithy/util-defaults-mode-browser": "^4.3.42",
|
|
60
|
+
"@smithy/util-defaults-mode-node": "^4.2.45",
|
|
61
61
|
"@smithy/util-endpoints": "^3.3.3",
|
|
62
62
|
"@smithy/util-middleware": "^4.2.12",
|
|
63
63
|
"@smithy/util-retry": "^4.2.12",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@smithy/snapshot-testing": "^2.0.
|
|
69
|
+
"@smithy/snapshot-testing": "^2.0.3",
|
|
70
70
|
"@tsconfig/node20": "20.1.8",
|
|
71
71
|
"@types/node": "^20.14.8",
|
|
72
72
|
"concurrently": "7.0.0",
|