@aws-sdk/client-ec2 3.301.0 → 3.304.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/README.md +16 -0
- package/dist-cjs/EC2.js +30 -0
- package/dist-cjs/commands/GetVpnTunnelReplacementStatusCommand.js +45 -0
- package/dist-cjs/commands/ReplaceVpnTunnelCommand.js +45 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1126 -1192
- package/dist-cjs/models/models_1.js +397 -469
- package/dist-cjs/models/models_2.js +280 -336
- package/dist-cjs/models/models_3.js +241 -286
- package/dist-cjs/models/models_4.js +197 -235
- package/dist-cjs/models/models_5.js +77 -91
- package/dist-cjs/models/models_6.js +65 -79
- package/dist-cjs/protocols/Aws_ec2.js +180 -15
- package/dist-es/EC2.js +30 -0
- package/dist-es/commands/GetVpnTunnelReplacementStatusCommand.js +41 -0
- package/dist-es/commands/ReplaceVpnTunnelCommand.js +41 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1126 -1192
- package/dist-es/models/models_1.js +397 -469
- package/dist-es/models/models_2.js +280 -336
- package/dist-es/models/models_3.js +241 -286
- package/dist-es/models/models_4.js +197 -235
- package/dist-es/models/models_5.js +77 -91
- package/dist-es/models/models_6.js +65 -79
- package/dist-es/protocols/Aws_ec2.js +161 -0
- package/dist-types/EC2.d.ts +16 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -0
- package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +65 -0
- package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
- package/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +66 -0
- package/dist-types/commands/StartInstancesCommand.d.ts +2 -1
- package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1464 -1134
- package/dist-types/models/models_1.d.ts +757 -397
- package/dist-types/models/models_2.d.ts +568 -280
- package/dist-types/models/models_3.d.ts +466 -241
- package/dist-types/models/models_4.d.ts +388 -198
- package/dist-types/models/models_5.d.ts +214 -192
- package/dist-types/models/models_6.d.ts +299 -159
- package/dist-types/models/models_7.d.ts +95 -3
- package/dist-types/protocols/Aws_ec2.d.ts +6 -0
- package/dist-types/ts3.4/EC2.d.ts +34 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StartInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1244 -1126
- package/dist-types/ts3.4/models/models_1.d.ts +523 -397
- package/dist-types/ts3.4/models/models_2.d.ts +381 -280
- package/dist-types/ts3.4/models/models_3.d.ts +324 -241
- package/dist-types/ts3.4/models/models_4.d.ts +261 -197
- package/dist-types/ts3.4/models/models_5.d.ts +123 -101
- package/dist-types/ts3.4/models/models_6.d.ts +126 -91
- package/dist-types/ts3.4/models/models_7.d.ts +37 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +36 -36
|
@@ -1,473 +1,401 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
export
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
}
|
|
267
|
-
export
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
export
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
}
|
|
302
|
-
export
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
export
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
export
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}
|
|
385
|
-
export
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
(function (NetworkInterfaceCreationType) {
|
|
400
|
-
NetworkInterfaceCreationType["branch"] = "branch";
|
|
401
|
-
NetworkInterfaceCreationType["efa"] = "efa";
|
|
402
|
-
NetworkInterfaceCreationType["trunk"] = "trunk";
|
|
403
|
-
})(NetworkInterfaceCreationType || (NetworkInterfaceCreationType = {}));
|
|
404
|
-
export var NetworkInterfaceType;
|
|
405
|
-
(function (NetworkInterfaceType) {
|
|
406
|
-
NetworkInterfaceType["api_gateway_managed"] = "api_gateway_managed";
|
|
407
|
-
NetworkInterfaceType["aws_codestar_connections_managed"] = "aws_codestar_connections_managed";
|
|
408
|
-
NetworkInterfaceType["branch"] = "branch";
|
|
409
|
-
NetworkInterfaceType["efa"] = "efa";
|
|
410
|
-
NetworkInterfaceType["gateway_load_balancer"] = "gateway_load_balancer";
|
|
411
|
-
NetworkInterfaceType["gateway_load_balancer_endpoint"] = "gateway_load_balancer_endpoint";
|
|
412
|
-
NetworkInterfaceType["global_accelerator_managed"] = "global_accelerator_managed";
|
|
413
|
-
NetworkInterfaceType["interface"] = "interface";
|
|
414
|
-
NetworkInterfaceType["iot_rules_managed"] = "iot_rules_managed";
|
|
415
|
-
NetworkInterfaceType["lambda"] = "lambda";
|
|
416
|
-
NetworkInterfaceType["load_balancer"] = "load_balancer";
|
|
417
|
-
NetworkInterfaceType["natGateway"] = "natGateway";
|
|
418
|
-
NetworkInterfaceType["network_load_balancer"] = "network_load_balancer";
|
|
419
|
-
NetworkInterfaceType["quicksight"] = "quicksight";
|
|
420
|
-
NetworkInterfaceType["transit_gateway"] = "transit_gateway";
|
|
421
|
-
NetworkInterfaceType["trunk"] = "trunk";
|
|
422
|
-
NetworkInterfaceType["vpc_endpoint"] = "vpc_endpoint";
|
|
423
|
-
})(NetworkInterfaceType || (NetworkInterfaceType = {}));
|
|
424
|
-
export var NetworkInterfaceStatus;
|
|
425
|
-
(function (NetworkInterfaceStatus) {
|
|
426
|
-
NetworkInterfaceStatus["associated"] = "associated";
|
|
427
|
-
NetworkInterfaceStatus["attaching"] = "attaching";
|
|
428
|
-
NetworkInterfaceStatus["available"] = "available";
|
|
429
|
-
NetworkInterfaceStatus["detaching"] = "detaching";
|
|
430
|
-
NetworkInterfaceStatus["in_use"] = "in-use";
|
|
431
|
-
})(NetworkInterfaceStatus || (NetworkInterfaceStatus = {}));
|
|
432
|
-
export var InterfacePermissionType;
|
|
433
|
-
(function (InterfacePermissionType) {
|
|
434
|
-
InterfacePermissionType["EIP_ASSOCIATE"] = "EIP-ASSOCIATE";
|
|
435
|
-
InterfacePermissionType["INSTANCE_ATTACH"] = "INSTANCE-ATTACH";
|
|
436
|
-
})(InterfacePermissionType || (InterfacePermissionType = {}));
|
|
437
|
-
export var NetworkInterfacePermissionStateCode;
|
|
438
|
-
(function (NetworkInterfacePermissionStateCode) {
|
|
439
|
-
NetworkInterfacePermissionStateCode["granted"] = "granted";
|
|
440
|
-
NetworkInterfacePermissionStateCode["pending"] = "pending";
|
|
441
|
-
NetworkInterfacePermissionStateCode["revoked"] = "revoked";
|
|
442
|
-
NetworkInterfacePermissionStateCode["revoking"] = "revoking";
|
|
443
|
-
})(NetworkInterfacePermissionStateCode || (NetworkInterfacePermissionStateCode = {}));
|
|
444
|
-
export var SpreadLevel;
|
|
445
|
-
(function (SpreadLevel) {
|
|
446
|
-
SpreadLevel["host"] = "host";
|
|
447
|
-
SpreadLevel["rack"] = "rack";
|
|
448
|
-
})(SpreadLevel || (SpreadLevel = {}));
|
|
449
|
-
export var PlacementStrategy;
|
|
450
|
-
(function (PlacementStrategy) {
|
|
451
|
-
PlacementStrategy["cluster"] = "cluster";
|
|
452
|
-
PlacementStrategy["partition"] = "partition";
|
|
453
|
-
PlacementStrategy["spread"] = "spread";
|
|
454
|
-
})(PlacementStrategy || (PlacementStrategy = {}));
|
|
455
|
-
export var PlacementGroupState;
|
|
456
|
-
(function (PlacementGroupState) {
|
|
457
|
-
PlacementGroupState["available"] = "available";
|
|
458
|
-
PlacementGroupState["deleted"] = "deleted";
|
|
459
|
-
PlacementGroupState["deleting"] = "deleting";
|
|
460
|
-
PlacementGroupState["pending"] = "pending";
|
|
461
|
-
})(PlacementGroupState || (PlacementGroupState = {}));
|
|
462
|
-
export var ReplaceRootVolumeTaskState;
|
|
463
|
-
(function (ReplaceRootVolumeTaskState) {
|
|
464
|
-
ReplaceRootVolumeTaskState["failed"] = "failed";
|
|
465
|
-
ReplaceRootVolumeTaskState["failed_detached"] = "failed-detached";
|
|
466
|
-
ReplaceRootVolumeTaskState["failing"] = "failing";
|
|
467
|
-
ReplaceRootVolumeTaskState["in_progress"] = "in-progress";
|
|
468
|
-
ReplaceRootVolumeTaskState["pending"] = "pending";
|
|
469
|
-
ReplaceRootVolumeTaskState["succeeded"] = "succeeded";
|
|
470
|
-
})(ReplaceRootVolumeTaskState || (ReplaceRootVolumeTaskState = {}));
|
|
2
|
+
export const ClientVpnAuthenticationType = {
|
|
3
|
+
certificate_authentication: "certificate-authentication",
|
|
4
|
+
directory_service_authentication: "directory-service-authentication",
|
|
5
|
+
federated_authentication: "federated-authentication",
|
|
6
|
+
};
|
|
7
|
+
export const SelfServicePortal = {
|
|
8
|
+
disabled: "disabled",
|
|
9
|
+
enabled: "enabled",
|
|
10
|
+
};
|
|
11
|
+
export const TransportProtocol = {
|
|
12
|
+
tcp: "tcp",
|
|
13
|
+
udp: "udp",
|
|
14
|
+
};
|
|
15
|
+
export const ClientVpnEndpointStatusCode = {
|
|
16
|
+
available: "available",
|
|
17
|
+
deleted: "deleted",
|
|
18
|
+
deleting: "deleting",
|
|
19
|
+
pending_associate: "pending-associate",
|
|
20
|
+
};
|
|
21
|
+
export const ClientVpnRouteStatusCode = {
|
|
22
|
+
active: "active",
|
|
23
|
+
creating: "creating",
|
|
24
|
+
deleting: "deleting",
|
|
25
|
+
failed: "failed",
|
|
26
|
+
};
|
|
27
|
+
export const GatewayType = {
|
|
28
|
+
ipsec_1: "ipsec.1",
|
|
29
|
+
};
|
|
30
|
+
export const HostnameType = {
|
|
31
|
+
ip_name: "ip-name",
|
|
32
|
+
resource_name: "resource-name",
|
|
33
|
+
};
|
|
34
|
+
export const SubnetState = {
|
|
35
|
+
available: "available",
|
|
36
|
+
pending: "pending",
|
|
37
|
+
};
|
|
38
|
+
export const Tenancy = {
|
|
39
|
+
dedicated: "dedicated",
|
|
40
|
+
default: "default",
|
|
41
|
+
host: "host",
|
|
42
|
+
};
|
|
43
|
+
export const VpcState = {
|
|
44
|
+
available: "available",
|
|
45
|
+
pending: "pending",
|
|
46
|
+
};
|
|
47
|
+
export const FleetExcessCapacityTerminationPolicy = {
|
|
48
|
+
NO_TERMINATION: "no-termination",
|
|
49
|
+
TERMINATION: "termination",
|
|
50
|
+
};
|
|
51
|
+
export const BareMetal = {
|
|
52
|
+
EXCLUDED: "excluded",
|
|
53
|
+
INCLUDED: "included",
|
|
54
|
+
REQUIRED: "required",
|
|
55
|
+
};
|
|
56
|
+
export const BurstablePerformance = {
|
|
57
|
+
EXCLUDED: "excluded",
|
|
58
|
+
INCLUDED: "included",
|
|
59
|
+
REQUIRED: "required",
|
|
60
|
+
};
|
|
61
|
+
export const CpuManufacturer = {
|
|
62
|
+
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
63
|
+
AMD: "amd",
|
|
64
|
+
INTEL: "intel",
|
|
65
|
+
};
|
|
66
|
+
export const InstanceGeneration = {
|
|
67
|
+
CURRENT: "current",
|
|
68
|
+
PREVIOUS: "previous",
|
|
69
|
+
};
|
|
70
|
+
export const LocalStorage = {
|
|
71
|
+
EXCLUDED: "excluded",
|
|
72
|
+
INCLUDED: "included",
|
|
73
|
+
REQUIRED: "required",
|
|
74
|
+
};
|
|
75
|
+
export const LocalStorageType = {
|
|
76
|
+
HDD: "hdd",
|
|
77
|
+
SSD: "ssd",
|
|
78
|
+
};
|
|
79
|
+
export const FleetOnDemandAllocationStrategy = {
|
|
80
|
+
LOWEST_PRICE: "lowest-price",
|
|
81
|
+
PRIORITIZED: "prioritized",
|
|
82
|
+
};
|
|
83
|
+
export const FleetCapacityReservationUsageStrategy = {
|
|
84
|
+
USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first",
|
|
85
|
+
};
|
|
86
|
+
export const SpotAllocationStrategy = {
|
|
87
|
+
CAPACITY_OPTIMIZED: "capacity-optimized",
|
|
88
|
+
CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized",
|
|
89
|
+
DIVERSIFIED: "diversified",
|
|
90
|
+
LOWEST_PRICE: "lowest-price",
|
|
91
|
+
PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized",
|
|
92
|
+
};
|
|
93
|
+
export const SpotInstanceInterruptionBehavior = {
|
|
94
|
+
hibernate: "hibernate",
|
|
95
|
+
stop: "stop",
|
|
96
|
+
terminate: "terminate",
|
|
97
|
+
};
|
|
98
|
+
export const FleetReplacementStrategy = {
|
|
99
|
+
LAUNCH: "launch",
|
|
100
|
+
LAUNCH_BEFORE_TERMINATE: "launch-before-terminate",
|
|
101
|
+
};
|
|
102
|
+
export const DefaultTargetCapacityType = {
|
|
103
|
+
ON_DEMAND: "on-demand",
|
|
104
|
+
SPOT: "spot",
|
|
105
|
+
};
|
|
106
|
+
export const TargetCapacityUnitType = {
|
|
107
|
+
MEMORY_MIB: "memory-mib",
|
|
108
|
+
UNITS: "units",
|
|
109
|
+
VCPU: "vcpu",
|
|
110
|
+
};
|
|
111
|
+
export const FleetType = {
|
|
112
|
+
INSTANT: "instant",
|
|
113
|
+
MAINTAIN: "maintain",
|
|
114
|
+
REQUEST: "request",
|
|
115
|
+
};
|
|
116
|
+
export const InstanceLifecycle = {
|
|
117
|
+
ON_DEMAND: "on-demand",
|
|
118
|
+
SPOT: "spot",
|
|
119
|
+
};
|
|
120
|
+
export const PlatformValues = {
|
|
121
|
+
Windows: "Windows",
|
|
122
|
+
};
|
|
123
|
+
export const DestinationFileFormat = {
|
|
124
|
+
parquet: "parquet",
|
|
125
|
+
plain_text: "plain-text",
|
|
126
|
+
};
|
|
127
|
+
export const LogDestinationType = {
|
|
128
|
+
cloud_watch_logs: "cloud-watch-logs",
|
|
129
|
+
kinesis_data_firehose: "kinesis-data-firehose",
|
|
130
|
+
s3: "s3",
|
|
131
|
+
};
|
|
132
|
+
export const FlowLogsResourceType = {
|
|
133
|
+
NetworkInterface: "NetworkInterface",
|
|
134
|
+
Subnet: "Subnet",
|
|
135
|
+
TransitGateway: "TransitGateway",
|
|
136
|
+
TransitGatewayAttachment: "TransitGatewayAttachment",
|
|
137
|
+
VPC: "VPC",
|
|
138
|
+
};
|
|
139
|
+
export const TrafficType = {
|
|
140
|
+
ACCEPT: "ACCEPT",
|
|
141
|
+
ALL: "ALL",
|
|
142
|
+
REJECT: "REJECT",
|
|
143
|
+
};
|
|
144
|
+
export const VolumeType = {
|
|
145
|
+
gp2: "gp2",
|
|
146
|
+
gp3: "gp3",
|
|
147
|
+
io1: "io1",
|
|
148
|
+
io2: "io2",
|
|
149
|
+
sc1: "sc1",
|
|
150
|
+
st1: "st1",
|
|
151
|
+
standard: "standard",
|
|
152
|
+
};
|
|
153
|
+
export const ContainerFormat = {
|
|
154
|
+
ova: "ova",
|
|
155
|
+
};
|
|
156
|
+
export const DiskImageFormat = {
|
|
157
|
+
RAW: "RAW",
|
|
158
|
+
VHD: "VHD",
|
|
159
|
+
VMDK: "VMDK",
|
|
160
|
+
};
|
|
161
|
+
export const ExportEnvironment = {
|
|
162
|
+
citrix: "citrix",
|
|
163
|
+
microsoft: "microsoft",
|
|
164
|
+
vmware: "vmware",
|
|
165
|
+
};
|
|
166
|
+
export const ExportTaskState = {
|
|
167
|
+
active: "active",
|
|
168
|
+
cancelled: "cancelled",
|
|
169
|
+
cancelling: "cancelling",
|
|
170
|
+
completed: "completed",
|
|
171
|
+
};
|
|
172
|
+
export const IpamState = {
|
|
173
|
+
create_complete: "create-complete",
|
|
174
|
+
create_failed: "create-failed",
|
|
175
|
+
create_in_progress: "create-in-progress",
|
|
176
|
+
delete_complete: "delete-complete",
|
|
177
|
+
delete_failed: "delete-failed",
|
|
178
|
+
delete_in_progress: "delete-in-progress",
|
|
179
|
+
isolate_complete: "isolate-complete",
|
|
180
|
+
isolate_in_progress: "isolate-in-progress",
|
|
181
|
+
modify_complete: "modify-complete",
|
|
182
|
+
modify_failed: "modify-failed",
|
|
183
|
+
modify_in_progress: "modify-in-progress",
|
|
184
|
+
restore_in_progress: "restore-in-progress",
|
|
185
|
+
};
|
|
186
|
+
export const IpamPoolAwsService = {
|
|
187
|
+
ec2: "ec2",
|
|
188
|
+
};
|
|
189
|
+
export const IpamPoolPublicIpSource = {
|
|
190
|
+
amazon: "amazon",
|
|
191
|
+
byoip: "byoip",
|
|
192
|
+
};
|
|
193
|
+
export const IpamScopeType = {
|
|
194
|
+
private: "private",
|
|
195
|
+
public: "public",
|
|
196
|
+
};
|
|
197
|
+
export const IpamPoolState = {
|
|
198
|
+
create_complete: "create-complete",
|
|
199
|
+
create_failed: "create-failed",
|
|
200
|
+
create_in_progress: "create-in-progress",
|
|
201
|
+
delete_complete: "delete-complete",
|
|
202
|
+
delete_failed: "delete-failed",
|
|
203
|
+
delete_in_progress: "delete-in-progress",
|
|
204
|
+
isolate_complete: "isolate-complete",
|
|
205
|
+
isolate_in_progress: "isolate-in-progress",
|
|
206
|
+
modify_complete: "modify-complete",
|
|
207
|
+
modify_failed: "modify-failed",
|
|
208
|
+
modify_in_progress: "modify-in-progress",
|
|
209
|
+
restore_in_progress: "restore-in-progress",
|
|
210
|
+
};
|
|
211
|
+
export const IpamResourceDiscoveryState = {
|
|
212
|
+
CREATE_COMPLETE: "create-complete",
|
|
213
|
+
CREATE_FAILED: "create-failed",
|
|
214
|
+
CREATE_IN_PROGRESS: "create-in-progress",
|
|
215
|
+
DELETE_COMPLETE: "delete-complete",
|
|
216
|
+
DELETE_FAILED: "delete-failed",
|
|
217
|
+
DELETE_IN_PROGRESS: "delete-in-progress",
|
|
218
|
+
ISOLATE_COMPLETE: "isolate-complete",
|
|
219
|
+
ISOLATE_IN_PROGRESS: "isolate-in-progress",
|
|
220
|
+
MODIFY_COMPLETE: "modify-complete",
|
|
221
|
+
MODIFY_FAILED: "modify-failed",
|
|
222
|
+
MODIFY_IN_PROGRESS: "modify-in-progress",
|
|
223
|
+
RESTORE_IN_PROGRESS: "restore-in-progress",
|
|
224
|
+
};
|
|
225
|
+
export const IpamScopeState = {
|
|
226
|
+
create_complete: "create-complete",
|
|
227
|
+
create_failed: "create-failed",
|
|
228
|
+
create_in_progress: "create-in-progress",
|
|
229
|
+
delete_complete: "delete-complete",
|
|
230
|
+
delete_failed: "delete-failed",
|
|
231
|
+
delete_in_progress: "delete-in-progress",
|
|
232
|
+
isolate_complete: "isolate-complete",
|
|
233
|
+
isolate_in_progress: "isolate-in-progress",
|
|
234
|
+
modify_complete: "modify-complete",
|
|
235
|
+
modify_failed: "modify-failed",
|
|
236
|
+
modify_in_progress: "modify-in-progress",
|
|
237
|
+
restore_in_progress: "restore-in-progress",
|
|
238
|
+
};
|
|
239
|
+
export const KeyFormat = {
|
|
240
|
+
pem: "pem",
|
|
241
|
+
ppk: "ppk",
|
|
242
|
+
};
|
|
243
|
+
export const KeyType = {
|
|
244
|
+
ed25519: "ed25519",
|
|
245
|
+
rsa: "rsa",
|
|
246
|
+
};
|
|
247
|
+
export const CapacityReservationPreference = {
|
|
248
|
+
none: "none",
|
|
249
|
+
open: "open",
|
|
250
|
+
};
|
|
251
|
+
export const ShutdownBehavior = {
|
|
252
|
+
stop: "stop",
|
|
253
|
+
terminate: "terminate",
|
|
254
|
+
};
|
|
255
|
+
export const MarketType = {
|
|
256
|
+
spot: "spot",
|
|
257
|
+
};
|
|
258
|
+
export const InstanceInterruptionBehavior = {
|
|
259
|
+
hibernate: "hibernate",
|
|
260
|
+
stop: "stop",
|
|
261
|
+
terminate: "terminate",
|
|
262
|
+
};
|
|
263
|
+
export const SpotInstanceType = {
|
|
264
|
+
one_time: "one-time",
|
|
265
|
+
persistent: "persistent",
|
|
266
|
+
};
|
|
267
|
+
export const LaunchTemplateAutoRecoveryState = {
|
|
268
|
+
default: "default",
|
|
269
|
+
disabled: "disabled",
|
|
270
|
+
};
|
|
271
|
+
export const LaunchTemplateInstanceMetadataEndpointState = {
|
|
272
|
+
disabled: "disabled",
|
|
273
|
+
enabled: "enabled",
|
|
274
|
+
};
|
|
275
|
+
export const LaunchTemplateInstanceMetadataProtocolIpv6 = {
|
|
276
|
+
disabled: "disabled",
|
|
277
|
+
enabled: "enabled",
|
|
278
|
+
};
|
|
279
|
+
export const LaunchTemplateHttpTokensState = {
|
|
280
|
+
optional: "optional",
|
|
281
|
+
required: "required",
|
|
282
|
+
};
|
|
283
|
+
export const LaunchTemplateInstanceMetadataTagsState = {
|
|
284
|
+
disabled: "disabled",
|
|
285
|
+
enabled: "enabled",
|
|
286
|
+
};
|
|
287
|
+
export const LaunchTemplateInstanceMetadataOptionsState = {
|
|
288
|
+
applied: "applied",
|
|
289
|
+
pending: "pending",
|
|
290
|
+
};
|
|
291
|
+
export const LocalGatewayRouteState = {
|
|
292
|
+
active: "active",
|
|
293
|
+
blackhole: "blackhole",
|
|
294
|
+
deleted: "deleted",
|
|
295
|
+
deleting: "deleting",
|
|
296
|
+
pending: "pending",
|
|
297
|
+
};
|
|
298
|
+
export const LocalGatewayRouteType = {
|
|
299
|
+
propagated: "propagated",
|
|
300
|
+
static: "static",
|
|
301
|
+
};
|
|
302
|
+
export const LocalGatewayRouteTableMode = {
|
|
303
|
+
coip: "coip",
|
|
304
|
+
direct_vpc_routing: "direct-vpc-routing",
|
|
305
|
+
};
|
|
306
|
+
export const PrefixListState = {
|
|
307
|
+
create_complete: "create-complete",
|
|
308
|
+
create_failed: "create-failed",
|
|
309
|
+
create_in_progress: "create-in-progress",
|
|
310
|
+
delete_complete: "delete-complete",
|
|
311
|
+
delete_failed: "delete-failed",
|
|
312
|
+
delete_in_progress: "delete-in-progress",
|
|
313
|
+
modify_complete: "modify-complete",
|
|
314
|
+
modify_failed: "modify-failed",
|
|
315
|
+
modify_in_progress: "modify-in-progress",
|
|
316
|
+
restore_complete: "restore-complete",
|
|
317
|
+
restore_failed: "restore-failed",
|
|
318
|
+
restore_in_progress: "restore-in-progress",
|
|
319
|
+
};
|
|
320
|
+
export const ConnectivityType = {
|
|
321
|
+
PRIVATE: "private",
|
|
322
|
+
PUBLIC: "public",
|
|
323
|
+
};
|
|
324
|
+
export const NatGatewayState = {
|
|
325
|
+
AVAILABLE: "available",
|
|
326
|
+
DELETED: "deleted",
|
|
327
|
+
DELETING: "deleting",
|
|
328
|
+
FAILED: "failed",
|
|
329
|
+
PENDING: "pending",
|
|
330
|
+
};
|
|
331
|
+
export const RuleAction = {
|
|
332
|
+
allow: "allow",
|
|
333
|
+
deny: "deny",
|
|
334
|
+
};
|
|
335
|
+
export const NetworkInterfaceCreationType = {
|
|
336
|
+
branch: "branch",
|
|
337
|
+
efa: "efa",
|
|
338
|
+
trunk: "trunk",
|
|
339
|
+
};
|
|
340
|
+
export const NetworkInterfaceType = {
|
|
341
|
+
api_gateway_managed: "api_gateway_managed",
|
|
342
|
+
aws_codestar_connections_managed: "aws_codestar_connections_managed",
|
|
343
|
+
branch: "branch",
|
|
344
|
+
efa: "efa",
|
|
345
|
+
gateway_load_balancer: "gateway_load_balancer",
|
|
346
|
+
gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint",
|
|
347
|
+
global_accelerator_managed: "global_accelerator_managed",
|
|
348
|
+
interface: "interface",
|
|
349
|
+
iot_rules_managed: "iot_rules_managed",
|
|
350
|
+
lambda: "lambda",
|
|
351
|
+
load_balancer: "load_balancer",
|
|
352
|
+
natGateway: "natGateway",
|
|
353
|
+
network_load_balancer: "network_load_balancer",
|
|
354
|
+
quicksight: "quicksight",
|
|
355
|
+
transit_gateway: "transit_gateway",
|
|
356
|
+
trunk: "trunk",
|
|
357
|
+
vpc_endpoint: "vpc_endpoint",
|
|
358
|
+
};
|
|
359
|
+
export const NetworkInterfaceStatus = {
|
|
360
|
+
associated: "associated",
|
|
361
|
+
attaching: "attaching",
|
|
362
|
+
available: "available",
|
|
363
|
+
detaching: "detaching",
|
|
364
|
+
in_use: "in-use",
|
|
365
|
+
};
|
|
366
|
+
export const InterfacePermissionType = {
|
|
367
|
+
EIP_ASSOCIATE: "EIP-ASSOCIATE",
|
|
368
|
+
INSTANCE_ATTACH: "INSTANCE-ATTACH",
|
|
369
|
+
};
|
|
370
|
+
export const NetworkInterfacePermissionStateCode = {
|
|
371
|
+
granted: "granted",
|
|
372
|
+
pending: "pending",
|
|
373
|
+
revoked: "revoked",
|
|
374
|
+
revoking: "revoking",
|
|
375
|
+
};
|
|
376
|
+
export const SpreadLevel = {
|
|
377
|
+
host: "host",
|
|
378
|
+
rack: "rack",
|
|
379
|
+
};
|
|
380
|
+
export const PlacementStrategy = {
|
|
381
|
+
cluster: "cluster",
|
|
382
|
+
partition: "partition",
|
|
383
|
+
spread: "spread",
|
|
384
|
+
};
|
|
385
|
+
export const PlacementGroupState = {
|
|
386
|
+
available: "available",
|
|
387
|
+
deleted: "deleted",
|
|
388
|
+
deleting: "deleting",
|
|
389
|
+
pending: "pending",
|
|
390
|
+
};
|
|
391
|
+
export const ReplaceRootVolumeTaskState = {
|
|
392
|
+
failed: "failed",
|
|
393
|
+
failed_detached: "failed-detached",
|
|
394
|
+
failing: "failing",
|
|
395
|
+
in_progress: "in-progress",
|
|
396
|
+
pending: "pending",
|
|
397
|
+
succeeded: "succeeded",
|
|
398
|
+
};
|
|
471
399
|
export const KeyPairFilterSensitiveLog = (obj) => ({
|
|
472
400
|
...obj,
|
|
473
401
|
...(obj.KeyMaterial && { KeyMaterial: SENSITIVE_STRING }),
|