@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.
Files changed (68) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +3 -3
  3. package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
  4. package/dist-cjs/commands/DescribeAggregateIdFormatCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  7. package/dist-cjs/commands/MonitorInstancesCommand.js +3 -3
  8. package/dist-cjs/models/models_0.js +978 -27
  9. package/dist-cjs/models/models_1.js +250 -18
  10. package/dist-cjs/models/models_2.js +152 -18
  11. package/dist-cjs/models/models_3.js +279 -18
  12. package/dist-cjs/models/models_4.js +106 -18
  13. package/dist-cjs/models/models_5.js +62 -18
  14. package/dist-cjs/models/models_6.js +46 -3
  15. package/dist-cjs/protocols/Aws_ec2.js +88 -0
  16. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -1
  17. package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
  18. package/dist-es/commands/DescribeAggregateIdFormatCommand.js +1 -2
  19. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
  20. package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  21. package/dist-es/commands/MonitorInstancesCommand.js +1 -1
  22. package/dist-es/models/models_0.js +966 -12
  23. package/dist-es/models/models_1.js +235 -3
  24. package/dist-es/models/models_2.js +137 -3
  25. package/dist-es/models/models_3.js +264 -3
  26. package/dist-es/models/models_4.js +91 -3
  27. package/dist-es/models/models_5.js +47 -3
  28. package/dist-es/models/models_6.js +33 -0
  29. package/dist-es/protocols/Aws_ec2.js +88 -0
  30. package/dist-types/EC2.d.ts +13 -30
  31. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -2
  34. package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
  35. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
  36. package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -2
  37. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
  38. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
  39. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
  40. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
  41. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
  42. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
  43. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
  44. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
  45. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
  46. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  47. package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
  48. package/dist-types/models/models_0.d.ts +975 -108
  49. package/dist-types/models/models_1.d.ts +288 -143
  50. package/dist-types/models/models_2.d.ts +202 -79
  51. package/dist-types/models/models_3.d.ts +291 -161
  52. package/dist-types/models/models_4.d.ts +221 -103
  53. package/dist-types/models/models_5.d.ts +102 -61
  54. package/dist-types/models/models_6.d.ts +78 -14
  55. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +4 -2
  58. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/models/models_0.d.ts +935 -846
  62. package/dist-types/ts3.4/models/models_1.d.ts +216 -154
  63. package/dist-types/ts3.4/models/models_2.d.ts +145 -83
  64. package/dist-types/ts3.4/models/models_3.d.ts +248 -171
  65. package/dist-types/ts3.4/models/models_4.d.ts +104 -72
  66. package/dist-types/ts3.4/models/models_5.d.ts +61 -47
  67. package/dist-types/ts3.4/models/models_6.d.ts +47 -19
  68. package/package.json +1 -1
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  _InstanceType,
3
3
  ActiveInstance,
4
+ AddressAttribute,
5
+ AddressAttributeName,
4
6
  AllocationState,
5
7
  AllowsMultipleInstanceTypes,
6
8
  AssociationStatus,
7
9
  AttachmentStatus,
8
- AttributeValue,
9
10
  AutoPlacement,
10
11
  BundleTask,
11
12
  ByoipCidr,
@@ -19,7 +20,6 @@ import {
19
20
  CoipPool,
20
21
  CurrencyCodeValues,
21
22
  CustomerGateway,
22
- DhcpOptions,
23
23
  FleetCapacityReservation,
24
24
  FleetCapacityReservationTenancy,
25
25
  FleetInstanceMatchCriteria,
@@ -32,11 +32,13 @@ import {
32
32
  TransportProtocol,
33
33
  } from "./models_0";
34
34
  import {
35
+ AttributeValue,
35
36
  BlockDeviceMapping,
36
37
  CapacityReservationPreference,
37
38
  CapacityReservationTargetResponse,
38
39
  DefaultTargetCapacityType,
39
40
  DestinationFileFormat,
41
+ DhcpOptions,
40
42
  DiskImageFormat,
41
43
  EgressOnlyInternetGateway,
42
44
  ExportTask,
@@ -76,6 +78,20 @@ import {
76
78
  FleetStateCode,
77
79
  InstanceTagNotificationAttribute,
78
80
  } from "./models_2";
81
+ export interface DescribeAddressesAttributeRequest {
82
+ AllocationIds?: string[];
83
+ Attribute?: AddressAttributeName | string;
84
+ NextToken?: string;
85
+ MaxResults?: number;
86
+ DryRun?: boolean;
87
+ }
88
+ export interface DescribeAddressesAttributeResult {
89
+ Addresses?: AddressAttribute[];
90
+ NextToken?: string;
91
+ }
92
+ export interface DescribeAggregateIdFormatRequest {
93
+ DryRun?: boolean;
94
+ }
79
95
  export interface IdFormat {
80
96
  Deadline?: Date;
81
97
  Resource?: string;
@@ -95,15 +111,17 @@ export interface DescribeAvailabilityZonesRequest {
95
111
  export interface AvailabilityZoneMessage {
96
112
  Message?: string;
97
113
  }
98
- export declare type AvailabilityZoneOptInStatus =
99
- | "not-opted-in"
100
- | "opt-in-not-required"
101
- | "opted-in";
102
- export declare type AvailabilityZoneState =
103
- | "available"
104
- | "impaired"
105
- | "information"
106
- | "unavailable";
114
+ export declare enum AvailabilityZoneOptInStatus {
115
+ not_opted_in = "not-opted-in",
116
+ opt_in_not_required = "opt-in-not-required",
117
+ opted_in = "opted-in",
118
+ }
119
+ export declare enum AvailabilityZoneState {
120
+ available = "available",
121
+ impaired = "impaired",
122
+ information = "information",
123
+ unavailable = "unavailable",
124
+ }
107
125
  export interface AvailabilityZone {
108
126
  State?: AvailabilityZoneState | string;
109
127
  OptInStatus?: AvailabilityZoneOptInStatus | string;
@@ -227,11 +245,12 @@ export interface DescribeClientVpnConnectionsRequest {
227
245
  MaxResults?: number;
228
246
  DryRun?: boolean;
229
247
  }
230
- export declare type ClientVpnConnectionStatusCode =
231
- | "active"
232
- | "failed-to-terminate"
233
- | "terminated"
234
- | "terminating";
248
+ export declare enum ClientVpnConnectionStatusCode {
249
+ active = "active",
250
+ failed_to_terminate = "failed-to-terminate",
251
+ terminated = "terminated",
252
+ terminating = "terminating",
253
+ }
235
254
  export interface ClientVpnConnectionStatus {
236
255
  Code?: ClientVpnConnectionStatusCode | string;
237
256
  Message?: string;
@@ -263,7 +282,9 @@ export interface DescribeClientVpnEndpointsRequest {
263
282
  Filters?: Filter[];
264
283
  DryRun?: boolean;
265
284
  }
266
- export declare type AssociatedNetworkType = "vpc";
285
+ export declare enum AssociatedNetworkType {
286
+ vpc = "vpc",
287
+ }
267
288
  export interface AssociatedTargetNetwork {
268
289
  NetworkId?: string;
269
290
  NetworkType?: AssociatedNetworkType | string;
@@ -284,9 +305,10 @@ export interface ClientVpnAuthentication {
284
305
  MutualAuthentication?: CertificateAuthentication;
285
306
  FederatedAuthentication?: FederatedAuthentication;
286
307
  }
287
- export declare type ClientVpnEndpointAttributeStatusCode =
288
- | "applied"
289
- | "applying";
308
+ export declare enum ClientVpnEndpointAttributeStatusCode {
309
+ applied = "applied",
310
+ applying = "applying",
311
+ }
290
312
  export interface ClientVpnEndpointAttributeStatus {
291
313
  Code?: ClientVpnEndpointAttributeStatusCode | string;
292
314
  Message?: string;
@@ -305,7 +327,9 @@ export interface ConnectionLogResponseOptions {
305
327
  CloudwatchLogGroup?: string;
306
328
  CloudwatchLogStream?: string;
307
329
  }
308
- export declare type VpnProtocol = "openvpn";
330
+ export declare enum VpnProtocol {
331
+ openvpn = "openvpn",
332
+ }
309
333
  export interface ClientVpnEndpoint {
310
334
  ClientVpnEndpointId?: string;
311
335
  Description?: string;
@@ -422,11 +446,12 @@ export interface ImportVolumeTaskDetails {
422
446
  Image?: DiskImageDescription;
423
447
  Volume?: DiskImageVolumeDescription;
424
448
  }
425
- export declare type ConversionTaskState =
426
- | "active"
427
- | "cancelled"
428
- | "cancelling"
429
- | "completed";
449
+ export declare enum ConversionTaskState {
450
+ active = "active",
451
+ cancelled = "cancelled",
452
+ cancelling = "cancelling",
453
+ completed = "completed",
454
+ }
430
455
  export interface ConversionTask {
431
456
  ConversionTaskId?: string;
432
457
  ExpirationTime?: string;
@@ -579,12 +604,13 @@ export interface DescribeFastSnapshotRestoresRequest {
579
604
  NextToken?: string;
580
605
  DryRun?: boolean;
581
606
  }
582
- export declare type FastSnapshotRestoreStateCode =
583
- | "disabled"
584
- | "disabling"
585
- | "enabled"
586
- | "enabling"
587
- | "optimizing";
607
+ export declare enum FastSnapshotRestoreStateCode {
608
+ disabled = "disabled",
609
+ disabling = "disabling",
610
+ enabled = "enabled",
611
+ enabling = "enabling",
612
+ optimizing = "optimizing",
613
+ }
588
614
  export interface DescribeFastSnapshotRestoreSuccessItem {
589
615
  SnapshotId?: string;
590
616
  AvailabilityZone?: string;
@@ -772,22 +798,28 @@ export interface DescribeFlowLogsResult {
772
798
  FlowLogs?: FlowLog[];
773
799
  NextToken?: string;
774
800
  }
775
- export declare type FpgaImageAttributeName =
776
- | "description"
777
- | "loadPermission"
778
- | "name"
779
- | "productCodes";
801
+ export declare enum FpgaImageAttributeName {
802
+ description = "description",
803
+ loadPermission = "loadPermission",
804
+ name = "name",
805
+ productCodes = "productCodes",
806
+ }
780
807
  export interface DescribeFpgaImageAttributeRequest {
781
808
  DryRun?: boolean;
782
809
  FpgaImageId: string | undefined;
783
810
  Attribute: FpgaImageAttributeName | string | undefined;
784
811
  }
785
- export declare type PermissionGroup = "all";
812
+ export declare enum PermissionGroup {
813
+ all = "all",
814
+ }
786
815
  export interface LoadPermission {
787
816
  UserId?: string;
788
817
  Group?: PermissionGroup | string;
789
818
  }
790
- export declare type ProductCodeValues = "devpay" | "marketplace";
819
+ export declare enum ProductCodeValues {
820
+ devpay = "devpay",
821
+ marketplace = "marketplace",
822
+ }
791
823
  export interface ProductCode {
792
824
  ProductCodeId?: string;
793
825
  ProductCodeType?: ProductCodeValues | string;
@@ -816,11 +848,12 @@ export interface PciId {
816
848
  SubsystemId?: string;
817
849
  SubsystemVendorId?: string;
818
850
  }
819
- export declare type FpgaImageStateCode =
820
- | "available"
821
- | "failed"
822
- | "pending"
823
- | "unavailable";
851
+ export declare enum FpgaImageStateCode {
852
+ available = "available",
853
+ failed = "failed",
854
+ pending = "pending",
855
+ unavailable = "unavailable",
856
+ }
824
857
  export interface FpgaImageState {
825
858
  Code?: FpgaImageStateCode | string;
826
859
  Message?: string;
@@ -978,18 +1011,19 @@ export interface DescribeIdFormatRequest {
978
1011
  export interface DescribeIdFormatResult {
979
1012
  Statuses?: IdFormat[];
980
1013
  }
981
- export declare type ImageAttributeName =
982
- | "blockDeviceMapping"
983
- | "bootMode"
984
- | "description"
985
- | "kernel"
986
- | "lastLaunchedTime"
987
- | "launchPermission"
988
- | "productCodes"
989
- | "ramdisk"
990
- | "sriovNetSupport"
991
- | "tpmSupport"
992
- | "uefiData";
1014
+ export declare enum ImageAttributeName {
1015
+ blockDeviceMapping = "blockDeviceMapping",
1016
+ bootMode = "bootMode",
1017
+ description = "description",
1018
+ kernel = "kernel",
1019
+ lastLaunchedTime = "lastLaunchedTime",
1020
+ launchPermission = "launchPermission",
1021
+ productCodes = "productCodes",
1022
+ ramdisk = "ramdisk",
1023
+ sriovNetSupport = "sriovNetSupport",
1024
+ tpmSupport = "tpmSupport",
1025
+ uefiData = "uefiData",
1026
+ }
993
1027
  export interface DescribeImageAttributeRequest {
994
1028
  Attribute: ImageAttributeName | string | undefined;
995
1029
  ImageId: string | undefined;
@@ -1023,27 +1057,45 @@ export interface DescribeImagesRequest {
1023
1057
  IncludeDeprecated?: boolean;
1024
1058
  DryRun?: boolean;
1025
1059
  }
1026
- export declare type ArchitectureValues =
1027
- | "arm64"
1028
- | "i386"
1029
- | "x86_64"
1030
- | "x86_64_mac";
1031
- export declare type BootModeValues = "legacy-bios" | "uefi";
1032
- export declare type HypervisorType = "ovm" | "xen";
1033
- export declare type ImageTypeValues = "kernel" | "machine" | "ramdisk";
1034
- export declare type DeviceType = "ebs" | "instance-store";
1035
- export declare type ImageState =
1036
- | "available"
1037
- | "deregistered"
1038
- | "error"
1039
- | "failed"
1040
- | "invalid"
1041
- | "pending"
1042
- | "transient";
1060
+ export declare enum ArchitectureValues {
1061
+ arm64 = "arm64",
1062
+ i386 = "i386",
1063
+ x86_64 = "x86_64",
1064
+ x86_64_mac = "x86_64_mac",
1065
+ }
1066
+ export declare enum BootModeValues {
1067
+ legacy_bios = "legacy-bios",
1068
+ uefi = "uefi",
1069
+ }
1070
+ export declare enum HypervisorType {
1071
+ ovm = "ovm",
1072
+ xen = "xen",
1073
+ }
1074
+ export declare enum ImageTypeValues {
1075
+ kernel = "kernel",
1076
+ machine = "machine",
1077
+ ramdisk = "ramdisk",
1078
+ }
1079
+ export declare enum DeviceType {
1080
+ ebs = "ebs",
1081
+ instance_store = "instance-store",
1082
+ }
1083
+ export declare enum ImageState {
1084
+ available = "available",
1085
+ deregistered = "deregistered",
1086
+ error = "error",
1087
+ failed = "failed",
1088
+ invalid = "invalid",
1089
+ pending = "pending",
1090
+ transient = "transient",
1091
+ }
1043
1092
  export declare enum TpmSupportValues {
1044
1093
  v2_0 = "v2.0",
1045
1094
  }
1046
- export declare type VirtualizationType = "hvm" | "paravirtual";
1095
+ export declare enum VirtualizationType {
1096
+ hvm = "hvm",
1097
+ paravirtual = "paravirtual",
1098
+ }
1047
1099
  export interface Image {
1048
1100
  Architecture?: ArchitectureValues | string;
1049
1101
  CreationDate?: string;
@@ -1157,23 +1209,24 @@ export interface DescribeImportSnapshotTasksResult {
1157
1209
  ImportSnapshotTasks?: ImportSnapshotTask[];
1158
1210
  NextToken?: string;
1159
1211
  }
1160
- export declare type InstanceAttributeName =
1161
- | "blockDeviceMapping"
1162
- | "disableApiStop"
1163
- | "disableApiTermination"
1164
- | "ebsOptimized"
1165
- | "enaSupport"
1166
- | "enclaveOptions"
1167
- | "groupSet"
1168
- | "instanceInitiatedShutdownBehavior"
1169
- | "instanceType"
1170
- | "kernel"
1171
- | "productCodes"
1172
- | "ramdisk"
1173
- | "rootDeviceName"
1174
- | "sourceDestCheck"
1175
- | "sriovNetSupport"
1176
- | "userData";
1212
+ export declare enum InstanceAttributeName {
1213
+ blockDeviceMapping = "blockDeviceMapping",
1214
+ disableApiStop = "disableApiStop",
1215
+ disableApiTermination = "disableApiTermination",
1216
+ ebsOptimized = "ebsOptimized",
1217
+ enaSupport = "enaSupport",
1218
+ enclaveOptions = "enclaveOptions",
1219
+ groupSet = "groupSet",
1220
+ instanceInitiatedShutdownBehavior = "instanceInitiatedShutdownBehavior",
1221
+ instanceType = "instanceType",
1222
+ kernel = "kernel",
1223
+ productCodes = "productCodes",
1224
+ ramdisk = "ramdisk",
1225
+ rootDeviceName = "rootDeviceName",
1226
+ sourceDestCheck = "sourceDestCheck",
1227
+ sriovNetSupport = "sriovNetSupport",
1228
+ userData = "userData",
1229
+ }
1177
1230
  export interface DescribeInstanceAttributeRequest {
1178
1231
  Attribute: InstanceAttributeName | string | undefined;
1179
1232
  DryRun?: boolean;
@@ -1276,7 +1329,10 @@ export interface ElasticInferenceAcceleratorAssociation {
1276
1329
  export interface HibernationOptions {
1277
1330
  Configured?: boolean;
1278
1331
  }
1279
- export declare type InstanceLifecycleType = "scheduled" | "spot";
1332
+ export declare enum InstanceLifecycleType {
1333
+ scheduled = "scheduled",
1334
+ spot = "spot",
1335
+ }
1280
1336
  export interface LicenseConfiguration {
1281
1337
  LicenseConfigurationArn?: string;
1282
1338
  }
@@ -1287,7 +1343,10 @@ export declare enum InstanceAutoRecoveryState {
1287
1343
  export interface InstanceMaintenanceOptions {
1288
1344
  AutoRecovery?: InstanceAutoRecoveryState | string;
1289
1345
  }
1290
- export declare type InstanceMetadataEndpointState = "disabled" | "enabled";
1346
+ export declare enum InstanceMetadataEndpointState {
1347
+ disabled = "disabled",
1348
+ enabled = "enabled",
1349
+ }
1291
1350
  export declare enum InstanceMetadataProtocolState {
1292
1351
  disabled = "disabled",
1293
1352
  enabled = "enabled",
@@ -1300,7 +1359,10 @@ export declare enum InstanceMetadataTagsState {
1300
1359
  disabled = "disabled",
1301
1360
  enabled = "enabled",
1302
1361
  }
1303
- export declare type InstanceMetadataOptionsState = "applied" | "pending";
1362
+ export declare enum InstanceMetadataOptionsState {
1363
+ applied = "applied",
1364
+ pending = "pending",
1365
+ }
1304
1366
  export interface InstanceMetadataOptionsResponse {
1305
1367
  State?: InstanceMetadataOptionsState | string;
1306
1368
  HttpTokens?: HttpTokensState | string;
@@ -1309,11 +1371,12 @@ export interface InstanceMetadataOptionsResponse {
1309
1371
  HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
1310
1372
  InstanceMetadataTags?: InstanceMetadataTagsState | string;
1311
1373
  }
1312
- export declare type MonitoringState =
1313
- | "disabled"
1314
- | "disabling"
1315
- | "enabled"
1316
- | "pending";
1374
+ export declare enum MonitoringState {
1375
+ disabled = "disabled",
1376
+ disabling = "disabling",
1377
+ enabled = "enabled",
1378
+ pending = "pending",
1379
+ }
1317
1380
  export interface Monitoring {
1318
1381
  State?: MonitoringState | string;
1319
1382
  }
@@ -1369,13 +1432,14 @@ export interface PrivateDnsNameOptionsResponse {
1369
1432
  EnableResourceNameDnsARecord?: boolean;
1370
1433
  EnableResourceNameDnsAAAARecord?: boolean;
1371
1434
  }
1372
- export declare type InstanceStateName =
1373
- | "pending"
1374
- | "running"
1375
- | "shutting-down"
1376
- | "stopped"
1377
- | "stopping"
1378
- | "terminated";
1435
+ export declare enum InstanceStateName {
1436
+ pending = "pending",
1437
+ running = "running",
1438
+ shutting_down = "shutting-down",
1439
+ stopped = "stopped",
1440
+ stopping = "stopping",
1441
+ terminated = "terminated",
1442
+ }
1379
1443
  export interface InstanceState {
1380
1444
  Code?: number;
1381
1445
  Name?: InstanceStateName | string;
@@ -1457,12 +1521,13 @@ export interface DescribeInstanceStatusRequest {
1457
1521
  DryRun?: boolean;
1458
1522
  IncludeAllInstances?: boolean;
1459
1523
  }
1460
- export declare type EventCode =
1461
- | "instance-reboot"
1462
- | "instance-retirement"
1463
- | "instance-stop"
1464
- | "system-maintenance"
1465
- | "system-reboot";
1524
+ export declare enum EventCode {
1525
+ instance_reboot = "instance-reboot",
1526
+ instance_retirement = "instance-retirement",
1527
+ instance_stop = "instance-stop",
1528
+ system_maintenance = "system-maintenance",
1529
+ system_reboot = "system-reboot",
1530
+ }
1466
1531
  export interface InstanceStatusEvent {
1467
1532
  InstanceEventId?: string;
1468
1533
  Code?: EventCode | string;
@@ -1471,23 +1536,27 @@ export interface InstanceStatusEvent {
1471
1536
  NotBefore?: Date;
1472
1537
  NotBeforeDeadline?: Date;
1473
1538
  }
1474
- export declare type StatusName = "reachability";
1475
- export declare type StatusType =
1476
- | "failed"
1477
- | "initializing"
1478
- | "insufficient-data"
1479
- | "passed";
1539
+ export declare enum StatusName {
1540
+ reachability = "reachability",
1541
+ }
1542
+ export declare enum StatusType {
1543
+ failed = "failed",
1544
+ initializing = "initializing",
1545
+ insufficient_data = "insufficient-data",
1546
+ passed = "passed",
1547
+ }
1480
1548
  export interface InstanceStatusDetails {
1481
1549
  ImpairedSince?: Date;
1482
1550
  Name?: StatusName | string;
1483
1551
  Status?: StatusType | string;
1484
1552
  }
1485
- export declare type SummaryStatus =
1486
- | "impaired"
1487
- | "initializing"
1488
- | "insufficient-data"
1489
- | "not-applicable"
1490
- | "ok";
1553
+ export declare enum SummaryStatus {
1554
+ impaired = "impaired",
1555
+ initializing = "initializing",
1556
+ insufficient_data = "insufficient-data",
1557
+ not_applicable = "not-applicable",
1558
+ ok = "ok",
1559
+ }
1491
1560
  export interface InstanceStatusSummary {
1492
1561
  Details?: InstanceStatusDetails[];
1493
1562
  Status?: SummaryStatus | string;
@@ -1505,10 +1574,11 @@ export interface DescribeInstanceStatusResult {
1505
1574
  InstanceStatuses?: InstanceStatus[];
1506
1575
  NextToken?: string;
1507
1576
  }
1508
- export declare type LocationType =
1509
- | "availability-zone"
1510
- | "availability-zone-id"
1511
- | "region";
1577
+ export declare enum LocationType {
1578
+ availability_zone = "availability-zone",
1579
+ availability_zone_id = "availability-zone-id",
1580
+ region = "region",
1581
+ }
1512
1582
  export interface DescribeInstanceTypeOfferingsRequest {
1513
1583
  DryRun?: boolean;
1514
1584
  LocationType?: LocationType | string;
@@ -1540,11 +1610,15 @@ export interface EbsOptimizedInfo {
1540
1610
  MaximumThroughputInMBps?: number;
1541
1611
  MaximumIops?: number;
1542
1612
  }
1543
- export declare type EbsOptimizedSupport =
1544
- | "default"
1545
- | "supported"
1546
- | "unsupported";
1547
- export declare type EbsEncryptionSupport = "supported" | "unsupported";
1613
+ export declare enum EbsOptimizedSupport {
1614
+ default = "default",
1615
+ supported = "supported",
1616
+ unsupported = "unsupported",
1617
+ }
1618
+ export declare enum EbsEncryptionSupport {
1619
+ supported = "supported",
1620
+ unsupported = "unsupported",
1621
+ }
1548
1622
  export declare enum EbsNvmeSupport {
1549
1623
  REQUIRED = "required",
1550
1624
  SUPPORTED = "supported",
@@ -1594,7 +1668,10 @@ export interface InferenceDeviceInfo {
1594
1668
  export interface InferenceAcceleratorInfo {
1595
1669
  Accelerators?: InferenceDeviceInfo[];
1596
1670
  }
1597
- export declare type DiskType = "hdd" | "ssd";
1671
+ export declare enum DiskType {
1672
+ hdd = "hdd",
1673
+ ssd = "ssd",
1674
+ }
1598
1675
  export interface DiskInfo {
1599
1676
  SizeInGB?: number;
1600
1677
  Count?: number;
@@ -1621,7 +1698,11 @@ export interface MemoryInfo {
1621
1698
  export interface EfaInfo {
1622
1699
  MaximumEfaInterfaces?: number;
1623
1700
  }
1624
- export declare type EnaSupport = "required" | "supported" | "unsupported";
1701
+ export declare enum EnaSupport {
1702
+ required = "required",
1703
+ supported = "supported",
1704
+ unsupported = "unsupported",
1705
+ }
1625
1706
  export interface NetworkCardInfo {
1626
1707
  NetworkCardIndex?: number;
1627
1708
  NetworkPerformance?: string;
@@ -1641,22 +1722,36 @@ export interface NetworkInfo {
1641
1722
  EfaInfo?: EfaInfo;
1642
1723
  EncryptionInTransitSupported?: boolean;
1643
1724
  }
1644
- export declare type PlacementGroupStrategy = "cluster" | "partition" | "spread";
1725
+ export declare enum PlacementGroupStrategy {
1726
+ cluster = "cluster",
1727
+ partition = "partition",
1728
+ spread = "spread",
1729
+ }
1645
1730
  export interface PlacementGroupInfo {
1646
1731
  SupportedStrategies?: (PlacementGroupStrategy | string)[];
1647
1732
  }
1648
- export declare type ArchitectureType =
1649
- | "arm64"
1650
- | "i386"
1651
- | "x86_64"
1652
- | "x86_64_mac";
1733
+ export declare enum ArchitectureType {
1734
+ arm64 = "arm64",
1735
+ i386 = "i386",
1736
+ x86_64 = "x86_64",
1737
+ x86_64_mac = "x86_64_mac",
1738
+ }
1653
1739
  export interface ProcessorInfo {
1654
1740
  SupportedArchitectures?: (ArchitectureType | string)[];
1655
1741
  SustainedClockSpeedInGhz?: number;
1656
1742
  }
1657
- export declare type BootModeType = "legacy-bios" | "uefi";
1658
- export declare type RootDeviceType = "ebs" | "instance-store";
1659
- export declare type UsageClassType = "on-demand" | "spot";
1743
+ export declare enum BootModeType {
1744
+ legacy_bios = "legacy-bios",
1745
+ uefi = "uefi",
1746
+ }
1747
+ export declare enum RootDeviceType {
1748
+ ebs = "ebs",
1749
+ instance_store = "instance-store",
1750
+ }
1751
+ export declare enum UsageClassType {
1752
+ on_demand = "on-demand",
1753
+ spot = "spot",
1754
+ }
1660
1755
  export interface VCpuInfo {
1661
1756
  DefaultVCpus?: number;
1662
1757
  DefaultCores?: number;
@@ -1862,24 +1957,15 @@ export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest {
1862
1957
  NextToken?: string;
1863
1958
  DryRun?: boolean;
1864
1959
  }
1865
- export interface LocalGatewayVirtualInterfaceGroup {
1866
- LocalGatewayVirtualInterfaceGroupId?: string;
1867
- LocalGatewayVirtualInterfaceIds?: string[];
1868
- LocalGatewayId?: string;
1869
- OwnerId?: string;
1870
- Tags?: Tag[];
1871
- }
1872
- export interface DescribeLocalGatewayVirtualInterfaceGroupsResult {
1873
- LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[];
1874
- NextToken?: string;
1875
- }
1876
- export interface DescribeLocalGatewayVirtualInterfacesRequest {
1877
- LocalGatewayVirtualInterfaceIds?: string[];
1878
- Filters?: Filter[];
1879
- MaxResults?: number;
1880
- NextToken?: string;
1881
- DryRun?: boolean;
1882
- }
1960
+ export declare const DescribeAddressesAttributeRequestFilterSensitiveLog: (
1961
+ obj: DescribeAddressesAttributeRequest
1962
+ ) => any;
1963
+ export declare const DescribeAddressesAttributeResultFilterSensitiveLog: (
1964
+ obj: DescribeAddressesAttributeResult
1965
+ ) => any;
1966
+ export declare const DescribeAggregateIdFormatRequestFilterSensitiveLog: (
1967
+ obj: DescribeAggregateIdFormatRequest
1968
+ ) => any;
1883
1969
  export declare const IdFormatFilterSensitiveLog: (obj: IdFormat) => any;
1884
1970
  export declare const DescribeAggregateIdFormatResultFilterSensitiveLog: (
1885
1971
  obj: DescribeAggregateIdFormatResult
@@ -2546,12 +2632,3 @@ export declare const DescribeLocalGatewaysResultFilterSensitiveLog: (
2546
2632
  export declare const DescribeLocalGatewayVirtualInterfaceGroupsRequestFilterSensitiveLog: (
2547
2633
  obj: DescribeLocalGatewayVirtualInterfaceGroupsRequest
2548
2634
  ) => any;
2549
- export declare const LocalGatewayVirtualInterfaceGroupFilterSensitiveLog: (
2550
- obj: LocalGatewayVirtualInterfaceGroup
2551
- ) => any;
2552
- export declare const DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog: (
2553
- obj: DescribeLocalGatewayVirtualInterfaceGroupsResult
2554
- ) => any;
2555
- export declare const DescribeLocalGatewayVirtualInterfacesRequestFilterSensitiveLog: (
2556
- obj: DescribeLocalGatewayVirtualInterfacesRequest
2557
- ) => any;