@aws-sdk/client-ec2 3.301.0 → 3.303.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 (66) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EC2.js +30 -0
  3. package/dist-cjs/commands/GetVpnTunnelReplacementStatusCommand.js +45 -0
  4. package/dist-cjs/commands/ReplaceVpnTunnelCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/ruleset.js +3 -3
  7. package/dist-cjs/models/models_0.js +1126 -1192
  8. package/dist-cjs/models/models_1.js +397 -469
  9. package/dist-cjs/models/models_2.js +280 -336
  10. package/dist-cjs/models/models_3.js +241 -286
  11. package/dist-cjs/models/models_4.js +197 -235
  12. package/dist-cjs/models/models_5.js +77 -91
  13. package/dist-cjs/models/models_6.js +65 -79
  14. package/dist-cjs/protocols/Aws_ec2.js +180 -15
  15. package/dist-es/EC2.js +30 -0
  16. package/dist-es/commands/GetVpnTunnelReplacementStatusCommand.js +41 -0
  17. package/dist-es/commands/ReplaceVpnTunnelCommand.js +41 -0
  18. package/dist-es/commands/index.js +2 -0
  19. package/dist-es/endpoint/ruleset.js +3 -3
  20. package/dist-es/models/models_0.js +1126 -1192
  21. package/dist-es/models/models_1.js +397 -469
  22. package/dist-es/models/models_2.js +280 -336
  23. package/dist-es/models/models_3.js +241 -286
  24. package/dist-es/models/models_4.js +197 -235
  25. package/dist-es/models/models_5.js +77 -91
  26. package/dist-es/models/models_6.js +65 -79
  27. package/dist-es/protocols/Aws_ec2.js +161 -0
  28. package/dist-types/EC2.d.ts +16 -0
  29. package/dist-types/EC2Client.d.ts +4 -2
  30. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -0
  31. package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +65 -0
  32. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  34. package/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +66 -0
  35. package/dist-types/commands/StartInstancesCommand.d.ts +2 -1
  36. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  37. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -2
  38. package/dist-types/commands/index.d.ts +2 -0
  39. package/dist-types/models/models_0.d.ts +1464 -1134
  40. package/dist-types/models/models_1.d.ts +757 -397
  41. package/dist-types/models/models_2.d.ts +568 -280
  42. package/dist-types/models/models_3.d.ts +466 -241
  43. package/dist-types/models/models_4.d.ts +387 -197
  44. package/dist-types/models/models_5.d.ts +212 -191
  45. package/dist-types/models/models_6.d.ts +290 -159
  46. package/dist-types/models/models_7.d.ts +95 -3
  47. package/dist-types/protocols/Aws_ec2.d.ts +6 -0
  48. package/dist-types/ts3.4/EC2.d.ts +34 -0
  49. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  50. package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +37 -0
  53. package/dist-types/ts3.4/commands/StartInstancesCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +1244 -1126
  58. package/dist-types/ts3.4/models/models_1.d.ts +523 -397
  59. package/dist-types/ts3.4/models/models_2.d.ts +381 -280
  60. package/dist-types/ts3.4/models/models_3.d.ts +324 -241
  61. package/dist-types/ts3.4/models/models_4.d.ts +261 -197
  62. package/dist-types/ts3.4/models/models_5.d.ts +123 -101
  63. package/dist-types/ts3.4/models/models_6.d.ts +126 -91
  64. package/dist-types/ts3.4/models/models_7.d.ts +37 -3
  65. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  66. package/package.json +36 -36
@@ -172,14 +172,16 @@ export interface PrivateDnsNameOptionsResponse {
172
172
  EnableResourceNameDnsARecord?: boolean;
173
173
  EnableResourceNameDnsAAAARecord?: boolean;
174
174
  }
175
- export declare enum InstanceStateName {
176
- pending = "pending",
177
- running = "running",
178
- shutting_down = "shutting-down",
179
- stopped = "stopped",
180
- stopping = "stopping",
181
- terminated = "terminated",
182
- }
175
+ export declare const InstanceStateName: {
176
+ readonly pending: "pending";
177
+ readonly running: "running";
178
+ readonly shutting_down: "shutting-down";
179
+ readonly stopped: "stopped";
180
+ readonly stopping: "stopping";
181
+ readonly terminated: "terminated";
182
+ };
183
+ export type InstanceStateName =
184
+ (typeof InstanceStateName)[keyof typeof InstanceStateName];
183
185
  export interface InstanceState {
184
186
  Code?: number;
185
187
  Name?: InstanceStateName | string;
@@ -262,13 +264,14 @@ export interface DescribeInstanceStatusRequest {
262
264
  DryRun?: boolean;
263
265
  IncludeAllInstances?: boolean;
264
266
  }
265
- export declare enum EventCode {
266
- instance_reboot = "instance-reboot",
267
- instance_retirement = "instance-retirement",
268
- instance_stop = "instance-stop",
269
- system_maintenance = "system-maintenance",
270
- system_reboot = "system-reboot",
271
- }
267
+ export declare const EventCode: {
268
+ readonly instance_reboot: "instance-reboot";
269
+ readonly instance_retirement: "instance-retirement";
270
+ readonly instance_stop: "instance-stop";
271
+ readonly system_maintenance: "system-maintenance";
272
+ readonly system_reboot: "system-reboot";
273
+ };
274
+ export type EventCode = (typeof EventCode)[keyof typeof EventCode];
272
275
  export interface InstanceStatusEvent {
273
276
  InstanceEventId?: string;
274
277
  Code?: EventCode | string;
@@ -277,27 +280,30 @@ export interface InstanceStatusEvent {
277
280
  NotBefore?: Date;
278
281
  NotBeforeDeadline?: Date;
279
282
  }
280
- export declare enum StatusName {
281
- reachability = "reachability",
282
- }
283
- export declare enum StatusType {
284
- failed = "failed",
285
- initializing = "initializing",
286
- insufficient_data = "insufficient-data",
287
- passed = "passed",
288
- }
283
+ export declare const StatusName: {
284
+ readonly reachability: "reachability";
285
+ };
286
+ export type StatusName = (typeof StatusName)[keyof typeof StatusName];
287
+ export declare const StatusType: {
288
+ readonly failed: "failed";
289
+ readonly initializing: "initializing";
290
+ readonly insufficient_data: "insufficient-data";
291
+ readonly passed: "passed";
292
+ };
293
+ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
289
294
  export interface InstanceStatusDetails {
290
295
  ImpairedSince?: Date;
291
296
  Name?: StatusName | string;
292
297
  Status?: StatusType | string;
293
298
  }
294
- export declare enum SummaryStatus {
295
- impaired = "impaired",
296
- initializing = "initializing",
297
- insufficient_data = "insufficient-data",
298
- not_applicable = "not-applicable",
299
- ok = "ok",
300
- }
299
+ export declare const SummaryStatus: {
300
+ readonly impaired: "impaired";
301
+ readonly initializing: "initializing";
302
+ readonly insufficient_data: "insufficient-data";
303
+ readonly not_applicable: "not-applicable";
304
+ readonly ok: "ok";
305
+ };
306
+ export type SummaryStatus = (typeof SummaryStatus)[keyof typeof SummaryStatus];
301
307
  export interface InstanceStatusSummary {
302
308
  Details?: InstanceStatusDetails[];
303
309
  Status?: SummaryStatus | string;
@@ -315,11 +321,12 @@ export interface DescribeInstanceStatusResult {
315
321
  InstanceStatuses?: InstanceStatus[];
316
322
  NextToken?: string;
317
323
  }
318
- export declare enum LocationType {
319
- availability_zone = "availability-zone",
320
- availability_zone_id = "availability-zone-id",
321
- region = "region",
322
- }
324
+ export declare const LocationType: {
325
+ readonly availability_zone: "availability-zone";
326
+ readonly availability_zone_id: "availability-zone-id";
327
+ readonly region: "region";
328
+ };
329
+ export type LocationType = (typeof LocationType)[keyof typeof LocationType];
323
330
  export interface DescribeInstanceTypeOfferingsRequest {
324
331
  DryRun?: boolean;
325
332
  LocationType?: LocationType | string;
@@ -351,20 +358,26 @@ export interface EbsOptimizedInfo {
351
358
  MaximumThroughputInMBps?: number;
352
359
  MaximumIops?: number;
353
360
  }
354
- export declare enum EbsOptimizedSupport {
355
- default = "default",
356
- supported = "supported",
357
- unsupported = "unsupported",
358
- }
359
- export declare enum EbsEncryptionSupport {
360
- supported = "supported",
361
- unsupported = "unsupported",
362
- }
363
- export declare enum EbsNvmeSupport {
364
- REQUIRED = "required",
365
- SUPPORTED = "supported",
366
- UNSUPPORTED = "unsupported",
367
- }
361
+ export declare const EbsOptimizedSupport: {
362
+ readonly default: "default";
363
+ readonly supported: "supported";
364
+ readonly unsupported: "unsupported";
365
+ };
366
+ export type EbsOptimizedSupport =
367
+ (typeof EbsOptimizedSupport)[keyof typeof EbsOptimizedSupport];
368
+ export declare const EbsEncryptionSupport: {
369
+ readonly supported: "supported";
370
+ readonly unsupported: "unsupported";
371
+ };
372
+ export type EbsEncryptionSupport =
373
+ (typeof EbsEncryptionSupport)[keyof typeof EbsEncryptionSupport];
374
+ export declare const EbsNvmeSupport: {
375
+ readonly REQUIRED: "required";
376
+ readonly SUPPORTED: "supported";
377
+ readonly UNSUPPORTED: "unsupported";
378
+ };
379
+ export type EbsNvmeSupport =
380
+ (typeof EbsNvmeSupport)[keyof typeof EbsNvmeSupport];
368
381
  export interface EbsInfo {
369
382
  EbsOptimizedSupport?: EbsOptimizedSupport | string;
370
383
  EncryptionSupport?: EbsEncryptionSupport | string;
@@ -397,10 +410,12 @@ export interface GpuInfo {
397
410
  Gpus?: GpuDeviceInfo[];
398
411
  TotalGpuMemoryInMiB?: number;
399
412
  }
400
- export declare enum InstanceTypeHypervisor {
401
- NITRO = "nitro",
402
- XEN = "xen",
403
- }
413
+ export declare const InstanceTypeHypervisor: {
414
+ readonly NITRO: "nitro";
415
+ readonly XEN: "xen";
416
+ };
417
+ export type InstanceTypeHypervisor =
418
+ (typeof InstanceTypeHypervisor)[keyof typeof InstanceTypeHypervisor];
404
419
  export interface InferenceDeviceInfo {
405
420
  Count?: number;
406
421
  Name?: string;
@@ -409,24 +424,29 @@ export interface InferenceDeviceInfo {
409
424
  export interface InferenceAcceleratorInfo {
410
425
  Accelerators?: InferenceDeviceInfo[];
411
426
  }
412
- export declare enum DiskType {
413
- hdd = "hdd",
414
- ssd = "ssd",
415
- }
427
+ export declare const DiskType: {
428
+ readonly hdd: "hdd";
429
+ readonly ssd: "ssd";
430
+ };
431
+ export type DiskType = (typeof DiskType)[keyof typeof DiskType];
416
432
  export interface DiskInfo {
417
433
  SizeInGB?: number;
418
434
  Count?: number;
419
435
  Type?: DiskType | string;
420
436
  }
421
- export declare enum InstanceStorageEncryptionSupport {
422
- required = "required",
423
- unsupported = "unsupported",
424
- }
425
- export declare enum EphemeralNvmeSupport {
426
- REQUIRED = "required",
427
- SUPPORTED = "supported",
428
- UNSUPPORTED = "unsupported",
429
- }
437
+ export declare const InstanceStorageEncryptionSupport: {
438
+ readonly required: "required";
439
+ readonly unsupported: "unsupported";
440
+ };
441
+ export type InstanceStorageEncryptionSupport =
442
+ (typeof InstanceStorageEncryptionSupport)[keyof typeof InstanceStorageEncryptionSupport];
443
+ export declare const EphemeralNvmeSupport: {
444
+ readonly REQUIRED: "required";
445
+ readonly SUPPORTED: "supported";
446
+ readonly UNSUPPORTED: "unsupported";
447
+ };
448
+ export type EphemeralNvmeSupport =
449
+ (typeof EphemeralNvmeSupport)[keyof typeof EphemeralNvmeSupport];
430
450
  export interface InstanceStorageInfo {
431
451
  TotalSizeInGB?: number;
432
452
  Disks?: DiskInfo[];
@@ -439,11 +459,12 @@ export interface MemoryInfo {
439
459
  export interface EfaInfo {
440
460
  MaximumEfaInterfaces?: number;
441
461
  }
442
- export declare enum EnaSupport {
443
- required = "required",
444
- supported = "supported",
445
- unsupported = "unsupported",
446
- }
462
+ export declare const EnaSupport: {
463
+ readonly required: "required";
464
+ readonly supported: "supported";
465
+ readonly unsupported: "unsupported";
466
+ };
467
+ export type EnaSupport = (typeof EnaSupport)[keyof typeof EnaSupport];
447
468
  export interface NetworkCardInfo {
448
469
  NetworkCardIndex?: number;
449
470
  NetworkPerformance?: string;
@@ -464,37 +485,46 @@ export interface NetworkInfo {
464
485
  EncryptionInTransitSupported?: boolean;
465
486
  EnaSrdSupported?: boolean;
466
487
  }
467
- export declare enum PlacementGroupStrategy {
468
- cluster = "cluster",
469
- partition = "partition",
470
- spread = "spread",
471
- }
488
+ export declare const PlacementGroupStrategy: {
489
+ readonly cluster: "cluster";
490
+ readonly partition: "partition";
491
+ readonly spread: "spread";
492
+ };
493
+ export type PlacementGroupStrategy =
494
+ (typeof PlacementGroupStrategy)[keyof typeof PlacementGroupStrategy];
472
495
  export interface PlacementGroupInfo {
473
496
  SupportedStrategies?: (PlacementGroupStrategy | string)[];
474
497
  }
475
- export declare enum ArchitectureType {
476
- arm64 = "arm64",
477
- arm64_mac = "arm64_mac",
478
- i386 = "i386",
479
- x86_64 = "x86_64",
480
- x86_64_mac = "x86_64_mac",
481
- }
498
+ export declare const ArchitectureType: {
499
+ readonly arm64: "arm64";
500
+ readonly arm64_mac: "arm64_mac";
501
+ readonly i386: "i386";
502
+ readonly x86_64: "x86_64";
503
+ readonly x86_64_mac: "x86_64_mac";
504
+ };
505
+ export type ArchitectureType =
506
+ (typeof ArchitectureType)[keyof typeof ArchitectureType];
482
507
  export interface ProcessorInfo {
483
508
  SupportedArchitectures?: (ArchitectureType | string)[];
484
509
  SustainedClockSpeedInGhz?: number;
485
510
  }
486
- export declare enum BootModeType {
487
- legacy_bios = "legacy-bios",
488
- uefi = "uefi",
489
- }
490
- export declare enum RootDeviceType {
491
- ebs = "ebs",
492
- instance_store = "instance-store",
493
- }
494
- export declare enum UsageClassType {
495
- on_demand = "on-demand",
496
- spot = "spot",
497
- }
511
+ export declare const BootModeType: {
512
+ readonly legacy_bios: "legacy-bios";
513
+ readonly uefi: "uefi";
514
+ };
515
+ export type BootModeType = (typeof BootModeType)[keyof typeof BootModeType];
516
+ export declare const RootDeviceType: {
517
+ readonly ebs: "ebs";
518
+ readonly instance_store: "instance-store";
519
+ };
520
+ export type RootDeviceType =
521
+ (typeof RootDeviceType)[keyof typeof RootDeviceType];
522
+ export declare const UsageClassType: {
523
+ readonly on_demand: "on-demand";
524
+ readonly spot: "spot";
525
+ };
526
+ export type UsageClassType =
527
+ (typeof UsageClassType)[keyof typeof UsageClassType];
498
528
  export interface VCpuInfo {
499
529
  DefaultVCpus?: number;
500
530
  DefaultCores?: number;
@@ -774,10 +804,11 @@ export interface DescribeMovingAddressesRequest {
774
804
  NextToken?: string;
775
805
  PublicIps?: string[];
776
806
  }
777
- export declare enum MoveStatus {
778
- movingToVpc = "movingToVpc",
779
- restoringToClassic = "restoringToClassic",
780
- }
807
+ export declare const MoveStatus: {
808
+ readonly movingToVpc: "movingToVpc";
809
+ readonly restoringToClassic: "restoringToClassic";
810
+ };
811
+ export type MoveStatus = (typeof MoveStatus)[keyof typeof MoveStatus];
781
812
  export interface MovingAddressStatus {
782
813
  MoveStatus?: MoveStatus | string;
783
814
  PublicIp?: string;
@@ -818,16 +849,19 @@ export interface DescribeNetworkInsightsAccessScopeAnalysesRequest {
818
849
  DryRun?: boolean;
819
850
  NextToken?: string;
820
851
  }
821
- export declare enum FindingsFound {
822
- false = "false",
823
- true = "true",
824
- unknown = "unknown",
825
- }
826
- export declare enum AnalysisStatus {
827
- failed = "failed",
828
- running = "running",
829
- succeeded = "succeeded",
830
- }
852
+ export declare const FindingsFound: {
853
+ readonly false: "false";
854
+ readonly true: "true";
855
+ readonly unknown: "unknown";
856
+ };
857
+ export type FindingsFound = (typeof FindingsFound)[keyof typeof FindingsFound];
858
+ export declare const AnalysisStatus: {
859
+ readonly failed: "failed";
860
+ readonly running: "running";
861
+ readonly succeeded: "succeeded";
862
+ };
863
+ export type AnalysisStatus =
864
+ (typeof AnalysisStatus)[keyof typeof AnalysisStatus];
831
865
  export interface NetworkInsightsAccessScopeAnalysis {
832
866
  NetworkInsightsAccessScopeAnalysisId?: string;
833
867
  NetworkInsightsAccessScopeAnalysisArn?: string;
@@ -899,12 +933,14 @@ export interface DescribeNetworkInsightsPathsResult {
899
933
  NetworkInsightsPaths?: NetworkInsightsPath[];
900
934
  NextToken?: string;
901
935
  }
902
- export declare enum NetworkInterfaceAttribute {
903
- attachment = "attachment",
904
- description = "description",
905
- groupSet = "groupSet",
906
- sourceDestCheck = "sourceDestCheck",
907
- }
936
+ export declare const NetworkInterfaceAttribute: {
937
+ readonly attachment: "attachment";
938
+ readonly description: "description";
939
+ readonly groupSet: "groupSet";
940
+ readonly sourceDestCheck: "sourceDestCheck";
941
+ };
942
+ export type NetworkInterfaceAttribute =
943
+ (typeof NetworkInterfaceAttribute)[keyof typeof NetworkInterfaceAttribute];
908
944
  export interface DescribeNetworkInterfaceAttributeRequest {
909
945
  Attribute?: NetworkInterfaceAttribute | string;
910
946
  DryRun?: boolean;
@@ -1027,18 +1063,22 @@ export interface DescribeReplaceRootVolumeTasksResult {
1027
1063
  ReplaceRootVolumeTasks?: ReplaceRootVolumeTask[];
1028
1064
  NextToken?: string;
1029
1065
  }
1030
- export declare enum OfferingClassType {
1031
- CONVERTIBLE = "convertible",
1032
- STANDARD = "standard",
1033
- }
1034
- export declare enum OfferingTypeValues {
1035
- All_Upfront = "All Upfront",
1036
- Heavy_Utilization = "Heavy Utilization",
1037
- Light_Utilization = "Light Utilization",
1038
- Medium_Utilization = "Medium Utilization",
1039
- No_Upfront = "No Upfront",
1040
- Partial_Upfront = "Partial Upfront",
1041
- }
1066
+ export declare const OfferingClassType: {
1067
+ readonly CONVERTIBLE: "convertible";
1068
+ readonly STANDARD: "standard";
1069
+ };
1070
+ export type OfferingClassType =
1071
+ (typeof OfferingClassType)[keyof typeof OfferingClassType];
1072
+ export declare const OfferingTypeValues: {
1073
+ readonly All_Upfront: "All Upfront";
1074
+ readonly Heavy_Utilization: "Heavy Utilization";
1075
+ readonly Light_Utilization: "Light Utilization";
1076
+ readonly Medium_Utilization: "Medium Utilization";
1077
+ readonly No_Upfront: "No Upfront";
1078
+ readonly Partial_Upfront: "Partial Upfront";
1079
+ };
1080
+ export type OfferingTypeValues =
1081
+ (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
1042
1082
  export interface DescribeReservedInstancesRequest {
1043
1083
  Filters?: Filter[];
1044
1084
  OfferingClass?: OfferingClassType | string;
@@ -1046,31 +1086,38 @@ export interface DescribeReservedInstancesRequest {
1046
1086
  DryRun?: boolean;
1047
1087
  OfferingType?: OfferingTypeValues | string;
1048
1088
  }
1049
- export declare enum RIProductDescription {
1050
- Linux_UNIX = "Linux/UNIX",
1051
- Linux_UNIX_Amazon_VPC_ = "Linux/UNIX (Amazon VPC)",
1052
- Windows = "Windows",
1053
- Windows_Amazon_VPC_ = "Windows (Amazon VPC)",
1054
- }
1055
- export declare enum RecurringChargeFrequency {
1056
- Hourly = "Hourly",
1057
- }
1089
+ export declare const RIProductDescription: {
1090
+ readonly Linux_UNIX: "Linux/UNIX";
1091
+ readonly Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)";
1092
+ readonly Windows: "Windows";
1093
+ readonly Windows_Amazon_VPC_: "Windows (Amazon VPC)";
1094
+ };
1095
+ export type RIProductDescription =
1096
+ (typeof RIProductDescription)[keyof typeof RIProductDescription];
1097
+ export declare const RecurringChargeFrequency: {
1098
+ readonly Hourly: "Hourly";
1099
+ };
1100
+ export type RecurringChargeFrequency =
1101
+ (typeof RecurringChargeFrequency)[keyof typeof RecurringChargeFrequency];
1058
1102
  export interface RecurringCharge {
1059
1103
  Amount?: number;
1060
1104
  Frequency?: RecurringChargeFrequency | string;
1061
1105
  }
1062
- export declare enum Scope {
1063
- AVAILABILITY_ZONE = "Availability Zone",
1064
- REGIONAL = "Region",
1065
- }
1066
- export declare enum ReservedInstanceState {
1067
- active = "active",
1068
- payment_failed = "payment-failed",
1069
- payment_pending = "payment-pending",
1070
- queued = "queued",
1071
- queued_deleted = "queued-deleted",
1072
- retired = "retired",
1073
- }
1106
+ export declare const Scope: {
1107
+ readonly AVAILABILITY_ZONE: "Availability Zone";
1108
+ readonly REGIONAL: "Region";
1109
+ };
1110
+ export type Scope = (typeof Scope)[keyof typeof Scope];
1111
+ export declare const ReservedInstanceState: {
1112
+ readonly active: "active";
1113
+ readonly payment_failed: "payment-failed";
1114
+ readonly payment_pending: "payment-pending";
1115
+ readonly queued: "queued";
1116
+ readonly queued_deleted: "queued-deleted";
1117
+ readonly retired: "retired";
1118
+ };
1119
+ export type ReservedInstanceState =
1120
+ (typeof ReservedInstanceState)[keyof typeof ReservedInstanceState];
1074
1121
  export interface ReservedInstances {
1075
1122
  AvailabilityZone?: string;
1076
1123
  Duration?: number;
@@ -1314,10 +1361,12 @@ export interface DescribeSecurityGroupsResult {
1314
1361
  SecurityGroups?: SecurityGroup[];
1315
1362
  NextToken?: string;
1316
1363
  }
1317
- export declare enum SnapshotAttributeName {
1318
- createVolumePermission = "createVolumePermission",
1319
- productCodes = "productCodes",
1320
- }
1364
+ export declare const SnapshotAttributeName: {
1365
+ readonly createVolumePermission: "createVolumePermission";
1366
+ readonly productCodes: "productCodes";
1367
+ };
1368
+ export type SnapshotAttributeName =
1369
+ (typeof SnapshotAttributeName)[keyof typeof SnapshotAttributeName];
1321
1370
  export interface DescribeSnapshotAttributeRequest {
1322
1371
  Attribute: SnapshotAttributeName | string | undefined;
1323
1372
  SnapshotId: string | undefined;
@@ -1351,17 +1400,19 @@ export interface DescribeSnapshotTierStatusRequest {
1351
1400
  NextToken?: string;
1352
1401
  MaxResults?: number;
1353
1402
  }
1354
- export declare enum TieringOperationStatus {
1355
- archival_completed = "archival-completed",
1356
- archival_failed = "archival-failed",
1357
- archival_in_progress = "archival-in-progress",
1358
- permanent_restore_completed = "permanent-restore-completed",
1359
- permanent_restore_failed = "permanent-restore-failed",
1360
- permanent_restore_in_progress = "permanent-restore-in-progress",
1361
- temporary_restore_completed = "temporary-restore-completed",
1362
- temporary_restore_failed = "temporary-restore-failed",
1363
- temporary_restore_in_progress = "temporary-restore-in-progress",
1364
- }
1403
+ export declare const TieringOperationStatus: {
1404
+ readonly archival_completed: "archival-completed";
1405
+ readonly archival_failed: "archival-failed";
1406
+ readonly archival_in_progress: "archival-in-progress";
1407
+ readonly permanent_restore_completed: "permanent-restore-completed";
1408
+ readonly permanent_restore_failed: "permanent-restore-failed";
1409
+ readonly permanent_restore_in_progress: "permanent-restore-in-progress";
1410
+ readonly temporary_restore_completed: "temporary-restore-completed";
1411
+ readonly temporary_restore_failed: "temporary-restore-failed";
1412
+ readonly temporary_restore_in_progress: "temporary-restore-in-progress";
1413
+ };
1414
+ export type TieringOperationStatus =
1415
+ (typeof TieringOperationStatus)[keyof typeof TieringOperationStatus];
1365
1416
  export interface SnapshotTierStatus {
1366
1417
  SnapshotId?: string;
1367
1418
  VolumeId?: string;
@@ -1397,12 +1448,13 @@ export interface DescribeSpotFleetInstancesResponse {
1397
1448
  NextToken?: string;
1398
1449
  SpotFleetRequestId?: string;
1399
1450
  }
1400
- export declare enum EventType {
1401
- BATCH_CHANGE = "fleetRequestChange",
1402
- ERROR = "error",
1403
- INFORMATION = "information",
1404
- INSTANCE_CHANGE = "instanceChange",
1405
- }
1451
+ export declare const EventType: {
1452
+ readonly BATCH_CHANGE: "fleetRequestChange";
1453
+ readonly ERROR: "error";
1454
+ readonly INFORMATION: "information";
1455
+ readonly INSTANCE_CHANGE: "instanceChange";
1456
+ };
1457
+ export type EventType = (typeof EventType)[keyof typeof EventType];
1406
1458
  export interface DescribeSpotFleetRequestHistoryRequest {
1407
1459
  DryRun?: boolean;
1408
1460
  EventType?: EventType | string;
@@ -1429,10 +1481,12 @@ export interface DescribeSpotFleetRequestsRequest {
1429
1481
  NextToken?: string;
1430
1482
  SpotFleetRequestIds?: string[];
1431
1483
  }
1432
- export declare enum ExcessCapacityTerminationPolicy {
1433
- DEFAULT = "default",
1434
- NO_TERMINATION = "noTermination",
1435
- }
1484
+ export declare const ExcessCapacityTerminationPolicy: {
1485
+ readonly DEFAULT: "default";
1486
+ readonly NO_TERMINATION: "noTermination";
1487
+ };
1488
+ export type ExcessCapacityTerminationPolicy =
1489
+ (typeof ExcessCapacityTerminationPolicy)[keyof typeof ExcessCapacityTerminationPolicy];
1436
1490
  export interface SpotFleetMonitoring {
1437
1491
  Enabled?: boolean;
1438
1492
  }
@@ -1516,14 +1570,18 @@ export interface LoadBalancersConfig {
1516
1570
  ClassicLoadBalancersConfig?: ClassicLoadBalancersConfig;
1517
1571
  TargetGroupsConfig?: TargetGroupsConfig;
1518
1572
  }
1519
- export declare enum OnDemandAllocationStrategy {
1520
- LOWEST_PRICE = "lowestPrice",
1521
- PRIORITIZED = "prioritized",
1522
- }
1523
- export declare enum ReplacementStrategy {
1524
- LAUNCH = "launch",
1525
- LAUNCH_BEFORE_TERMINATE = "launch-before-terminate",
1526
- }
1573
+ export declare const OnDemandAllocationStrategy: {
1574
+ readonly LOWEST_PRICE: "lowestPrice";
1575
+ readonly PRIORITIZED: "prioritized";
1576
+ };
1577
+ export type OnDemandAllocationStrategy =
1578
+ (typeof OnDemandAllocationStrategy)[keyof typeof OnDemandAllocationStrategy];
1579
+ export declare const ReplacementStrategy: {
1580
+ readonly LAUNCH: "launch";
1581
+ readonly LAUNCH_BEFORE_TERMINATE: "launch-before-terminate";
1582
+ };
1583
+ export type ReplacementStrategy =
1584
+ (typeof ReplacementStrategy)[keyof typeof ReplacementStrategy];
1527
1585
  export interface SpotCapacityRebalance {
1528
1586
  ReplacementStrategy?: ReplacementStrategy | string;
1529
1587
  TerminationDelay?: number;
@@ -1598,13 +1656,15 @@ export interface LaunchSpecification {
1598
1656
  SubnetId?: string;
1599
1657
  Monitoring?: RunInstancesMonitoringEnabled;
1600
1658
  }
1601
- export declare enum SpotInstanceState {
1602
- active = "active",
1603
- cancelled = "cancelled",
1604
- closed = "closed",
1605
- failed = "failed",
1606
- open = "open",
1607
- }
1659
+ export declare const SpotInstanceState: {
1660
+ readonly active: "active";
1661
+ readonly cancelled: "cancelled";
1662
+ readonly closed: "closed";
1663
+ readonly failed: "failed";
1664
+ readonly open: "open";
1665
+ };
1666
+ export type SpotInstanceState =
1667
+ (typeof SpotInstanceState)[keyof typeof SpotInstanceState];
1608
1668
  export interface SpotInstanceStatus {
1609
1669
  Code?: string;
1610
1670
  Message?: string;
@@ -1932,10 +1992,12 @@ export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest {
1932
1992
  Filters?: Filter[];
1933
1993
  DryRun?: boolean;
1934
1994
  }
1935
- export declare enum VerifiedAccessLogDeliveryStatusCode {
1936
- FAILED = "failed",
1937
- SUCCESS = "success",
1938
- }
1995
+ export declare const VerifiedAccessLogDeliveryStatusCode: {
1996
+ readonly FAILED: "failed";
1997
+ readonly SUCCESS: "success";
1998
+ };
1999
+ export type VerifiedAccessLogDeliveryStatusCode =
2000
+ (typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
1939
2001
  export interface VerifiedAccessLogDeliveryStatus {
1940
2002
  Code?: VerifiedAccessLogDeliveryStatusCode | string;
1941
2003
  Message?: string;
@@ -1992,10 +2054,12 @@ export interface DescribeVerifiedAccessTrustProvidersResult {
1992
2054
  VerifiedAccessTrustProviders?: VerifiedAccessTrustProvider[];
1993
2055
  NextToken?: string;
1994
2056
  }
1995
- export declare enum VolumeAttributeName {
1996
- autoEnableIO = "autoEnableIO",
1997
- productCodes = "productCodes",
1998
- }
2057
+ export declare const VolumeAttributeName: {
2058
+ readonly autoEnableIO: "autoEnableIO";
2059
+ readonly productCodes: "productCodes";
2060
+ };
2061
+ export type VolumeAttributeName =
2062
+ (typeof VolumeAttributeName)[keyof typeof VolumeAttributeName];
1999
2063
  export interface DescribeVolumeAttributeRequest {
2000
2064
  Attribute: VolumeAttributeName | string | undefined;
2001
2065
  VolumeId: string | undefined;