@aws-sdk/client-ec2 3.171.0 → 3.174.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/CHANGELOG.md +22 -0
- package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +3 -3
- package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
- package/dist-cjs/commands/DescribeAggregateIdFormatCommand.js +1 -2
- package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
- package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
- package/dist-cjs/commands/MonitorInstancesCommand.js +3 -3
- package/dist-cjs/models/models_0.js +978 -27
- package/dist-cjs/models/models_1.js +250 -18
- package/dist-cjs/models/models_2.js +152 -18
- package/dist-cjs/models/models_3.js +279 -18
- package/dist-cjs/models/models_4.js +106 -18
- package/dist-cjs/models/models_5.js +62 -18
- package/dist-cjs/models/models_6.js +46 -3
- package/dist-cjs/protocols/Aws_ec2.js +88 -0
- package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -1
- package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
- package/dist-es/commands/DescribeAggregateIdFormatCommand.js +1 -2
- package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
- package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
- package/dist-es/commands/MonitorInstancesCommand.js +1 -1
- package/dist-es/models/models_0.js +966 -12
- package/dist-es/models/models_1.js +235 -3
- package/dist-es/models/models_2.js +137 -3
- package/dist-es/models/models_3.js +264 -3
- package/dist-es/models/models_4.js +91 -3
- package/dist-es/models/models_5.js +47 -3
- package/dist-es/models/models_6.js +33 -0
- package/dist-es/protocols/Aws_ec2.js +88 -0
- package/dist-types/EC2.d.ts +13 -30
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
- package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +975 -108
- package/dist-types/models/models_1.d.ts +288 -143
- package/dist-types/models/models_2.d.ts +202 -79
- package/dist-types/models/models_3.d.ts +291 -161
- package/dist-types/models/models_4.d.ts +221 -103
- package/dist-types/models/models_5.d.ts +102 -61
- package/dist-types/models/models_6.d.ts +78 -14
- package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +935 -846
- package/dist-types/ts3.4/models/models_1.d.ts +216 -154
- package/dist-types/ts3.4/models/models_2.d.ts +145 -83
- package/dist-types/ts3.4/models/models_3.d.ts +248 -171
- package/dist-types/ts3.4/models/models_4.d.ts +104 -72
- package/dist-types/ts3.4/models/models_5.d.ts +61 -47
- package/dist-types/ts3.4/models/models_6.d.ts +47 -19
- package/package.json +1 -1
|
@@ -2,8 +2,6 @@ import {
|
|
|
2
2
|
AccountAttribute,
|
|
3
3
|
AccountAttributeName,
|
|
4
4
|
Address,
|
|
5
|
-
AddressAttribute,
|
|
6
|
-
AddressAttributeName,
|
|
7
5
|
ApplianceModeSupportValue,
|
|
8
6
|
ByoipCidr,
|
|
9
7
|
CarrierGateway,
|
|
@@ -40,8 +38,33 @@ import {
|
|
|
40
38
|
LocalGatewayRouteTableVpcAssociation,
|
|
41
39
|
ManagedPrefixList,
|
|
42
40
|
SubnetCidrReservation,
|
|
41
|
+
TrafficDirection,
|
|
42
|
+
TrafficMirrorFilterRule,
|
|
43
|
+
TrafficMirrorRuleAction,
|
|
43
44
|
VolumeType,
|
|
44
45
|
} from "./models_1";
|
|
46
|
+
export interface TrafficMirrorPortRangeRequest {
|
|
47
|
+
FromPort?: number;
|
|
48
|
+
ToPort?: number;
|
|
49
|
+
}
|
|
50
|
+
export interface CreateTrafficMirrorFilterRuleRequest {
|
|
51
|
+
TrafficMirrorFilterId: string | undefined;
|
|
52
|
+
TrafficDirection: TrafficDirection | string | undefined;
|
|
53
|
+
RuleNumber: number | undefined;
|
|
54
|
+
RuleAction: TrafficMirrorRuleAction | string | undefined;
|
|
55
|
+
DestinationPortRange?: TrafficMirrorPortRangeRequest;
|
|
56
|
+
SourcePortRange?: TrafficMirrorPortRangeRequest;
|
|
57
|
+
Protocol?: number;
|
|
58
|
+
DestinationCidrBlock: string | undefined;
|
|
59
|
+
SourceCidrBlock: string | undefined;
|
|
60
|
+
Description?: string;
|
|
61
|
+
DryRun?: boolean;
|
|
62
|
+
ClientToken?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface CreateTrafficMirrorFilterRuleResult {
|
|
65
|
+
TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
|
|
66
|
+
ClientToken?: string;
|
|
67
|
+
}
|
|
45
68
|
export interface CreateTrafficMirrorSessionRequest {
|
|
46
69
|
NetworkInterfaceId: string | undefined;
|
|
47
70
|
TrafficMirrorTargetId: string | undefined;
|
|
@@ -79,10 +102,11 @@ export interface CreateTrafficMirrorTargetRequest {
|
|
|
79
102
|
ClientToken?: string;
|
|
80
103
|
GatewayLoadBalancerEndpointId?: string;
|
|
81
104
|
}
|
|
82
|
-
export declare
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
105
|
+
export declare enum TrafficMirrorTargetType {
|
|
106
|
+
gateway_load_balancer_endpoint = "gateway-load-balancer-endpoint",
|
|
107
|
+
network_interface = "network-interface",
|
|
108
|
+
network_load_balancer = "network-load-balancer",
|
|
109
|
+
}
|
|
86
110
|
export interface TrafficMirrorTarget {
|
|
87
111
|
TrafficMirrorTargetId?: string;
|
|
88
112
|
NetworkInterfaceId?: string;
|
|
@@ -97,11 +121,26 @@ export interface CreateTrafficMirrorTargetResult {
|
|
|
97
121
|
TrafficMirrorTarget?: TrafficMirrorTarget;
|
|
98
122
|
ClientToken?: string;
|
|
99
123
|
}
|
|
100
|
-
export declare
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
export declare
|
|
124
|
+
export declare enum AutoAcceptSharedAttachmentsValue {
|
|
125
|
+
disable = "disable",
|
|
126
|
+
enable = "enable",
|
|
127
|
+
}
|
|
128
|
+
export declare enum DefaultRouteTableAssociationValue {
|
|
129
|
+
disable = "disable",
|
|
130
|
+
enable = "enable",
|
|
131
|
+
}
|
|
132
|
+
export declare enum DefaultRouteTablePropagationValue {
|
|
133
|
+
disable = "disable",
|
|
134
|
+
enable = "enable",
|
|
135
|
+
}
|
|
136
|
+
export declare enum MulticastSupportValue {
|
|
137
|
+
disable = "disable",
|
|
138
|
+
enable = "enable",
|
|
139
|
+
}
|
|
140
|
+
export declare enum VpnEcmpSupportValue {
|
|
141
|
+
disable = "disable",
|
|
142
|
+
enable = "enable",
|
|
143
|
+
}
|
|
105
144
|
export interface TransitGatewayRequestOptions {
|
|
106
145
|
AmazonSideAsn?: number;
|
|
107
146
|
AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | string;
|
|
@@ -130,12 +169,13 @@ export interface TransitGatewayOptions {
|
|
|
130
169
|
DnsSupport?: DnsSupportValue | string;
|
|
131
170
|
MulticastSupport?: MulticastSupportValue | string;
|
|
132
171
|
}
|
|
133
|
-
export declare
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
172
|
+
export declare enum TransitGatewayState {
|
|
173
|
+
available = "available",
|
|
174
|
+
deleted = "deleted",
|
|
175
|
+
deleting = "deleting",
|
|
176
|
+
modifying = "modifying",
|
|
177
|
+
pending = "pending",
|
|
178
|
+
}
|
|
139
179
|
export interface TransitGateway {
|
|
140
180
|
TransitGatewayId?: string;
|
|
141
181
|
TransitGatewayArn?: string;
|
|
@@ -149,7 +189,9 @@ export interface TransitGateway {
|
|
|
149
189
|
export interface CreateTransitGatewayResult {
|
|
150
190
|
TransitGateway?: TransitGateway;
|
|
151
191
|
}
|
|
152
|
-
export declare
|
|
192
|
+
export declare enum ProtocolValue {
|
|
193
|
+
gre = "gre",
|
|
194
|
+
}
|
|
153
195
|
export interface CreateTransitGatewayConnectRequestOptions {
|
|
154
196
|
Protocol: ProtocolValue | string | undefined;
|
|
155
197
|
}
|
|
@@ -186,7 +228,10 @@ export interface CreateTransitGatewayConnectPeerRequest {
|
|
|
186
228
|
TagSpecifications?: TagSpecification[];
|
|
187
229
|
DryRun?: boolean;
|
|
188
230
|
}
|
|
189
|
-
export declare
|
|
231
|
+
export declare enum BgpStatus {
|
|
232
|
+
down = "down",
|
|
233
|
+
up = "up",
|
|
234
|
+
}
|
|
190
235
|
export interface TransitGatewayAttachmentBgpConfiguration {
|
|
191
236
|
TransitGatewayAsn?: number;
|
|
192
237
|
PeerAsn?: number;
|
|
@@ -201,11 +246,12 @@ export interface TransitGatewayConnectPeerConfiguration {
|
|
|
201
246
|
Protocol?: ProtocolValue | string;
|
|
202
247
|
BgpConfigurations?: TransitGatewayAttachmentBgpConfiguration[];
|
|
203
248
|
}
|
|
204
|
-
export declare
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
249
|
+
export declare enum TransitGatewayConnectPeerState {
|
|
250
|
+
available = "available",
|
|
251
|
+
deleted = "deleted",
|
|
252
|
+
deleting = "deleting",
|
|
253
|
+
pending = "pending",
|
|
254
|
+
}
|
|
209
255
|
export interface TransitGatewayConnectPeer {
|
|
210
256
|
TransitGatewayAttachmentId?: string;
|
|
211
257
|
TransitGatewayConnectPeerId?: string;
|
|
@@ -217,9 +263,18 @@ export interface TransitGatewayConnectPeer {
|
|
|
217
263
|
export interface CreateTransitGatewayConnectPeerResult {
|
|
218
264
|
TransitGatewayConnectPeer?: TransitGatewayConnectPeer;
|
|
219
265
|
}
|
|
220
|
-
export declare
|
|
221
|
-
|
|
222
|
-
|
|
266
|
+
export declare enum AutoAcceptSharedAssociationsValue {
|
|
267
|
+
disable = "disable",
|
|
268
|
+
enable = "enable",
|
|
269
|
+
}
|
|
270
|
+
export declare enum Igmpv2SupportValue {
|
|
271
|
+
disable = "disable",
|
|
272
|
+
enable = "enable",
|
|
273
|
+
}
|
|
274
|
+
export declare enum StaticSourcesSupportValue {
|
|
275
|
+
disable = "disable",
|
|
276
|
+
enable = "enable",
|
|
277
|
+
}
|
|
223
278
|
export interface CreateTransitGatewayMulticastDomainRequestOptions {
|
|
224
279
|
Igmpv2Support?: Igmpv2SupportValue | string;
|
|
225
280
|
StaticSourcesSupport?: StaticSourcesSupportValue | string;
|
|
@@ -236,11 +291,12 @@ export interface TransitGatewayMulticastDomainOptions {
|
|
|
236
291
|
StaticSourcesSupport?: StaticSourcesSupportValue | string;
|
|
237
292
|
AutoAcceptSharedAssociations?: AutoAcceptSharedAssociationsValue | string;
|
|
238
293
|
}
|
|
239
|
-
export declare
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
294
|
+
export declare enum TransitGatewayMulticastDomainState {
|
|
295
|
+
available = "available",
|
|
296
|
+
deleted = "deleted",
|
|
297
|
+
deleting = "deleting",
|
|
298
|
+
pending = "pending",
|
|
299
|
+
}
|
|
244
300
|
export interface TransitGatewayMulticastDomain {
|
|
245
301
|
TransitGatewayMulticastDomainId?: string;
|
|
246
302
|
TransitGatewayId?: string;
|
|
@@ -297,11 +353,12 @@ export interface CreateTransitGatewayPrefixListReferenceRequest {
|
|
|
297
353
|
Blackhole?: boolean;
|
|
298
354
|
DryRun?: boolean;
|
|
299
355
|
}
|
|
300
|
-
export declare
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
356
|
+
export declare enum TransitGatewayPrefixListReferenceState {
|
|
357
|
+
available = "available",
|
|
358
|
+
deleting = "deleting",
|
|
359
|
+
modifying = "modifying",
|
|
360
|
+
pending = "pending",
|
|
361
|
+
}
|
|
305
362
|
export interface TransitGatewayPrefixListAttachment {
|
|
306
363
|
TransitGatewayAttachmentId?: string;
|
|
307
364
|
ResourceType?: TransitGatewayAttachmentResourceType | string;
|
|
@@ -325,18 +382,22 @@ export interface CreateTransitGatewayRouteRequest {
|
|
|
325
382
|
Blackhole?: boolean;
|
|
326
383
|
DryRun?: boolean;
|
|
327
384
|
}
|
|
328
|
-
export declare
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
385
|
+
export declare enum TransitGatewayRouteState {
|
|
386
|
+
active = "active",
|
|
387
|
+
blackhole = "blackhole",
|
|
388
|
+
deleted = "deleted",
|
|
389
|
+
deleting = "deleting",
|
|
390
|
+
pending = "pending",
|
|
391
|
+
}
|
|
334
392
|
export interface TransitGatewayRouteAttachment {
|
|
335
393
|
ResourceId?: string;
|
|
336
394
|
TransitGatewayAttachmentId?: string;
|
|
337
395
|
ResourceType?: TransitGatewayAttachmentResourceType | string;
|
|
338
396
|
}
|
|
339
|
-
export declare
|
|
397
|
+
export declare enum TransitGatewayRouteType {
|
|
398
|
+
propagated = "propagated",
|
|
399
|
+
static = "static",
|
|
400
|
+
}
|
|
340
401
|
export interface TransitGatewayRoute {
|
|
341
402
|
DestinationCidrBlock?: string;
|
|
342
403
|
PrefixListId?: string;
|
|
@@ -353,11 +414,12 @@ export interface CreateTransitGatewayRouteTableRequest {
|
|
|
353
414
|
TagSpecifications?: TagSpecification[];
|
|
354
415
|
DryRun?: boolean;
|
|
355
416
|
}
|
|
356
|
-
export declare
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
417
|
+
export declare enum TransitGatewayRouteTableState {
|
|
418
|
+
available = "available",
|
|
419
|
+
deleted = "deleted",
|
|
420
|
+
deleting = "deleting",
|
|
421
|
+
pending = "pending",
|
|
422
|
+
}
|
|
361
423
|
export interface TransitGatewayRouteTable {
|
|
362
424
|
TransitGatewayRouteTableId?: string;
|
|
363
425
|
TransitGatewayId?: string;
|
|
@@ -437,13 +499,14 @@ export interface CreateVolumeRequest {
|
|
|
437
499
|
Throughput?: number;
|
|
438
500
|
ClientToken?: string;
|
|
439
501
|
}
|
|
440
|
-
export declare
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
502
|
+
export declare enum VolumeState {
|
|
503
|
+
available = "available",
|
|
504
|
+
creating = "creating",
|
|
505
|
+
deleted = "deleted",
|
|
506
|
+
deleting = "deleting",
|
|
507
|
+
error = "error",
|
|
508
|
+
in_use = "in-use",
|
|
509
|
+
}
|
|
447
510
|
export interface Volume {
|
|
448
511
|
Attachments?: VolumeAttachment[];
|
|
449
512
|
AvailabilityZone?: string;
|
|
@@ -666,7 +729,10 @@ export interface CreateVpcPeeringConnectionRequest {
|
|
|
666
729
|
export interface CreateVpcPeeringConnectionResult {
|
|
667
730
|
VpcPeeringConnection?: VpcPeeringConnection;
|
|
668
731
|
}
|
|
669
|
-
export declare
|
|
732
|
+
export declare enum TunnelInsideIpVersion {
|
|
733
|
+
ipv4 = "ipv4",
|
|
734
|
+
ipv6 = "ipv6",
|
|
735
|
+
}
|
|
670
736
|
export interface IKEVersionsRequestListValue {
|
|
671
737
|
Value?: string;
|
|
672
738
|
}
|
|
@@ -807,14 +873,24 @@ export interface VpnConnectionOptions {
|
|
|
807
873
|
TunnelInsideIpVersion?: TunnelInsideIpVersion | string;
|
|
808
874
|
TunnelOptions?: TunnelOption[];
|
|
809
875
|
}
|
|
810
|
-
export declare
|
|
811
|
-
|
|
876
|
+
export declare enum VpnStaticRouteSource {
|
|
877
|
+
Static = "Static",
|
|
878
|
+
}
|
|
879
|
+
export declare enum VpnState {
|
|
880
|
+
available = "available",
|
|
881
|
+
deleted = "deleted",
|
|
882
|
+
deleting = "deleting",
|
|
883
|
+
pending = "pending",
|
|
884
|
+
}
|
|
812
885
|
export interface VpnStaticRoute {
|
|
813
886
|
DestinationCidrBlock?: string;
|
|
814
887
|
Source?: VpnStaticRouteSource | string;
|
|
815
888
|
State?: VpnState | string;
|
|
816
889
|
}
|
|
817
|
-
export declare
|
|
890
|
+
export declare enum TelemetryStatus {
|
|
891
|
+
DOWN = "DOWN",
|
|
892
|
+
UP = "UP",
|
|
893
|
+
}
|
|
818
894
|
export interface VgwTelemetry {
|
|
819
895
|
AcceptedRouteCount?: number;
|
|
820
896
|
LastStatusChange?: Date;
|
|
@@ -1489,20 +1565,15 @@ export interface DescribeAddressesRequest {
|
|
|
1489
1565
|
export interface DescribeAddressesResult {
|
|
1490
1566
|
Addresses?: Address[];
|
|
1491
1567
|
}
|
|
1492
|
-
export
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
NextToken?: string;
|
|
1502
|
-
}
|
|
1503
|
-
export interface DescribeAggregateIdFormatRequest {
|
|
1504
|
-
DryRun?: boolean;
|
|
1505
|
-
}
|
|
1568
|
+
export declare const TrafficMirrorPortRangeRequestFilterSensitiveLog: (
|
|
1569
|
+
obj: TrafficMirrorPortRangeRequest
|
|
1570
|
+
) => any;
|
|
1571
|
+
export declare const CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog: (
|
|
1572
|
+
obj: CreateTrafficMirrorFilterRuleRequest
|
|
1573
|
+
) => any;
|
|
1574
|
+
export declare const CreateTrafficMirrorFilterRuleResultFilterSensitiveLog: (
|
|
1575
|
+
obj: CreateTrafficMirrorFilterRuleResult
|
|
1576
|
+
) => any;
|
|
1506
1577
|
export declare const CreateTrafficMirrorSessionRequestFilterSensitiveLog: (
|
|
1507
1578
|
obj: CreateTrafficMirrorSessionRequest
|
|
1508
1579
|
) => any;
|
|
@@ -2242,12 +2313,3 @@ export declare const DescribeAddressesRequestFilterSensitiveLog: (
|
|
|
2242
2313
|
export declare const DescribeAddressesResultFilterSensitiveLog: (
|
|
2243
2314
|
obj: DescribeAddressesResult
|
|
2244
2315
|
) => any;
|
|
2245
|
-
export declare const DescribeAddressesAttributeRequestFilterSensitiveLog: (
|
|
2246
|
-
obj: DescribeAddressesAttributeRequest
|
|
2247
|
-
) => any;
|
|
2248
|
-
export declare const DescribeAddressesAttributeResultFilterSensitiveLog: (
|
|
2249
|
-
obj: DescribeAddressesAttributeResult
|
|
2250
|
-
) => any;
|
|
2251
|
-
export declare const DescribeAggregateIdFormatRequestFilterSensitiveLog: (
|
|
2252
|
-
obj: DescribeAggregateIdFormatRequest
|
|
2253
|
-
) => any;
|