@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
@@ -298,24 +298,28 @@ export interface DeprovisionIpamPoolCidrRequest {
298
298
  IpamPoolId: string | undefined;
299
299
  Cidr?: string;
300
300
  }
301
- export declare enum IpamPoolCidrFailureCode {
302
- cidr_not_available = "cidr-not-available",
303
- limit_exceeded = "limit-exceeded",
304
- }
301
+ export declare const IpamPoolCidrFailureCode: {
302
+ readonly cidr_not_available: "cidr-not-available";
303
+ readonly limit_exceeded: "limit-exceeded";
304
+ };
305
+ export type IpamPoolCidrFailureCode =
306
+ (typeof IpamPoolCidrFailureCode)[keyof typeof IpamPoolCidrFailureCode];
305
307
  export interface IpamPoolCidrFailureReason {
306
308
  Code?: IpamPoolCidrFailureCode | string;
307
309
  Message?: string;
308
310
  }
309
- export declare enum IpamPoolCidrState {
310
- deprovisioned = "deprovisioned",
311
- failed_deprovision = "failed-deprovision",
312
- failed_import = "failed-import",
313
- failed_provision = "failed-provision",
314
- pending_deprovision = "pending-deprovision",
315
- pending_import = "pending-import",
316
- pending_provision = "pending-provision",
317
- provisioned = "provisioned",
318
- }
311
+ export declare const IpamPoolCidrState: {
312
+ readonly deprovisioned: "deprovisioned";
313
+ readonly failed_deprovision: "failed-deprovision";
314
+ readonly failed_import: "failed-import";
315
+ readonly failed_provision: "failed-provision";
316
+ readonly pending_deprovision: "pending-deprovision";
317
+ readonly pending_import: "pending-import";
318
+ readonly pending_provision: "pending-provision";
319
+ readonly provisioned: "provisioned";
320
+ };
321
+ export type IpamPoolCidrState =
322
+ (typeof IpamPoolCidrState)[keyof typeof IpamPoolCidrState];
319
323
  export interface IpamPoolCidr {
320
324
  Cidr?: string;
321
325
  State?: IpamPoolCidrState | string;
@@ -445,17 +449,21 @@ export interface DescribeAvailabilityZonesRequest {
445
449
  export interface AvailabilityZoneMessage {
446
450
  Message?: string;
447
451
  }
448
- export declare enum AvailabilityZoneOptInStatus {
449
- not_opted_in = "not-opted-in",
450
- opt_in_not_required = "opt-in-not-required",
451
- opted_in = "opted-in",
452
- }
453
- export declare enum AvailabilityZoneState {
454
- available = "available",
455
- impaired = "impaired",
456
- information = "information",
457
- unavailable = "unavailable",
458
- }
452
+ export declare const AvailabilityZoneOptInStatus: {
453
+ readonly not_opted_in: "not-opted-in";
454
+ readonly opt_in_not_required: "opt-in-not-required";
455
+ readonly opted_in: "opted-in";
456
+ };
457
+ export type AvailabilityZoneOptInStatus =
458
+ (typeof AvailabilityZoneOptInStatus)[keyof typeof AvailabilityZoneOptInStatus];
459
+ export declare const AvailabilityZoneState: {
460
+ readonly available: "available";
461
+ readonly impaired: "impaired";
462
+ readonly information: "information";
463
+ readonly unavailable: "unavailable";
464
+ };
465
+ export type AvailabilityZoneState =
466
+ (typeof AvailabilityZoneState)[keyof typeof AvailabilityZoneState];
459
467
  export interface AvailabilityZone {
460
468
  State?: AvailabilityZoneState | string;
461
469
  OptInStatus?: AvailabilityZoneOptInStatus | string;
@@ -478,20 +486,23 @@ export interface DescribeAwsNetworkPerformanceMetricSubscriptionsRequest {
478
486
  Filters?: Filter[];
479
487
  DryRun?: boolean;
480
488
  }
481
- export declare enum MetricType {
482
- aggregate_latency = "aggregate-latency",
483
- }
484
- export declare enum PeriodType {
485
- fifteen_minutes = "fifteen-minutes",
486
- five_minutes = "five-minutes",
487
- one_day = "one-day",
488
- one_hour = "one-hour",
489
- one_week = "one-week",
490
- three_hours = "three-hours",
491
- }
492
- export declare enum StatisticType {
493
- p50 = "p50",
494
- }
489
+ export declare const MetricType: {
490
+ readonly aggregate_latency: "aggregate-latency";
491
+ };
492
+ export type MetricType = (typeof MetricType)[keyof typeof MetricType];
493
+ export declare const PeriodType: {
494
+ readonly fifteen_minutes: "fifteen-minutes";
495
+ readonly five_minutes: "five-minutes";
496
+ readonly one_day: "one-day";
497
+ readonly one_hour: "one-hour";
498
+ readonly one_week: "one-week";
499
+ readonly three_hours: "three-hours";
500
+ };
501
+ export type PeriodType = (typeof PeriodType)[keyof typeof PeriodType];
502
+ export declare const StatisticType: {
503
+ readonly p50: "p50";
504
+ };
505
+ export type StatisticType = (typeof StatisticType)[keyof typeof StatisticType];
495
506
  export interface Subscription {
496
507
  Source?: string;
497
508
  Destination?: string;
@@ -610,12 +621,14 @@ export interface DescribeClientVpnConnectionsRequest {
610
621
  MaxResults?: number;
611
622
  DryRun?: boolean;
612
623
  }
613
- export declare enum ClientVpnConnectionStatusCode {
614
- active = "active",
615
- failed_to_terminate = "failed-to-terminate",
616
- terminated = "terminated",
617
- terminating = "terminating",
618
- }
624
+ export declare const ClientVpnConnectionStatusCode: {
625
+ readonly active: "active";
626
+ readonly failed_to_terminate: "failed-to-terminate";
627
+ readonly terminated: "terminated";
628
+ readonly terminating: "terminating";
629
+ };
630
+ export type ClientVpnConnectionStatusCode =
631
+ (typeof ClientVpnConnectionStatusCode)[keyof typeof ClientVpnConnectionStatusCode];
619
632
  export interface ClientVpnConnectionStatus {
620
633
  Code?: ClientVpnConnectionStatusCode | string;
621
634
  Message?: string;
@@ -647,9 +660,11 @@ export interface DescribeClientVpnEndpointsRequest {
647
660
  Filters?: Filter[];
648
661
  DryRun?: boolean;
649
662
  }
650
- export declare enum AssociatedNetworkType {
651
- vpc = "vpc",
652
- }
663
+ export declare const AssociatedNetworkType: {
664
+ readonly vpc: "vpc";
665
+ };
666
+ export type AssociatedNetworkType =
667
+ (typeof AssociatedNetworkType)[keyof typeof AssociatedNetworkType];
653
668
  export interface AssociatedTargetNetwork {
654
669
  NetworkId?: string;
655
670
  NetworkType?: AssociatedNetworkType | string;
@@ -670,10 +685,12 @@ export interface ClientVpnAuthentication {
670
685
  MutualAuthentication?: CertificateAuthentication;
671
686
  FederatedAuthentication?: FederatedAuthentication;
672
687
  }
673
- export declare enum ClientVpnEndpointAttributeStatusCode {
674
- applied = "applied",
675
- applying = "applying",
676
- }
688
+ export declare const ClientVpnEndpointAttributeStatusCode: {
689
+ readonly applied: "applied";
690
+ readonly applying: "applying";
691
+ };
692
+ export type ClientVpnEndpointAttributeStatusCode =
693
+ (typeof ClientVpnEndpointAttributeStatusCode)[keyof typeof ClientVpnEndpointAttributeStatusCode];
677
694
  export interface ClientVpnEndpointAttributeStatus {
678
695
  Code?: ClientVpnEndpointAttributeStatusCode | string;
679
696
  Message?: string;
@@ -692,9 +709,10 @@ export interface ConnectionLogResponseOptions {
692
709
  CloudwatchLogGroup?: string;
693
710
  CloudwatchLogStream?: string;
694
711
  }
695
- export declare enum VpnProtocol {
696
- openvpn = "openvpn",
697
- }
712
+ export declare const VpnProtocol: {
713
+ readonly openvpn: "openvpn";
714
+ };
715
+ export type VpnProtocol = (typeof VpnProtocol)[keyof typeof VpnProtocol];
698
716
  export interface ClientVpnEndpoint {
699
717
  ClientVpnEndpointId?: string;
700
718
  Description?: string;
@@ -811,12 +829,14 @@ export interface ImportVolumeTaskDetails {
811
829
  Image?: DiskImageDescription;
812
830
  Volume?: DiskImageVolumeDescription;
813
831
  }
814
- export declare enum ConversionTaskState {
815
- active = "active",
816
- cancelled = "cancelled",
817
- cancelling = "cancelling",
818
- completed = "completed",
819
- }
832
+ export declare const ConversionTaskState: {
833
+ readonly active: "active";
834
+ readonly cancelled: "cancelled";
835
+ readonly cancelling: "cancelling";
836
+ readonly completed: "completed";
837
+ };
838
+ export type ConversionTaskState =
839
+ (typeof ConversionTaskState)[keyof typeof ConversionTaskState];
820
840
  export interface ConversionTask {
821
841
  ConversionTaskId?: string;
822
842
  ExpirationTime?: string;
@@ -866,16 +886,20 @@ export interface DescribeElasticGpusRequest {
866
886
  MaxResults?: number;
867
887
  NextToken?: string;
868
888
  }
869
- export declare enum ElasticGpuStatus {
870
- Impaired = "IMPAIRED",
871
- Ok = "OK",
872
- }
889
+ export declare const ElasticGpuStatus: {
890
+ readonly Impaired: "IMPAIRED";
891
+ readonly Ok: "OK";
892
+ };
893
+ export type ElasticGpuStatus =
894
+ (typeof ElasticGpuStatus)[keyof typeof ElasticGpuStatus];
873
895
  export interface ElasticGpuHealth {
874
896
  Status?: ElasticGpuStatus | string;
875
897
  }
876
- export declare enum ElasticGpuState {
877
- Attached = "ATTACHED",
878
- }
898
+ export declare const ElasticGpuState: {
899
+ readonly Attached: "ATTACHED";
900
+ };
901
+ export type ElasticGpuState =
902
+ (typeof ElasticGpuState)[keyof typeof ElasticGpuState];
879
903
  export interface ElasticGpus {
880
904
  ElasticGpuId?: string;
881
905
  AvailabilityZone?: string;
@@ -934,20 +958,24 @@ export interface FastLaunchLaunchTemplateSpecificationResponse {
934
958
  LaunchTemplateName?: string;
935
959
  Version?: string;
936
960
  }
937
- export declare enum FastLaunchResourceType {
938
- SNAPSHOT = "snapshot",
939
- }
961
+ export declare const FastLaunchResourceType: {
962
+ readonly SNAPSHOT: "snapshot";
963
+ };
964
+ export type FastLaunchResourceType =
965
+ (typeof FastLaunchResourceType)[keyof typeof FastLaunchResourceType];
940
966
  export interface FastLaunchSnapshotConfigurationResponse {
941
967
  TargetResourceCount?: number;
942
968
  }
943
- export declare enum FastLaunchStateCode {
944
- disabling = "disabling",
945
- disabling_failed = "disabling-failed",
946
- enabled = "enabled",
947
- enabled_failed = "enabled-failed",
948
- enabling = "enabling",
949
- enabling_failed = "enabling-failed",
950
- }
969
+ export declare const FastLaunchStateCode: {
970
+ readonly disabling: "disabling";
971
+ readonly disabling_failed: "disabling-failed";
972
+ readonly enabled: "enabled";
973
+ readonly enabled_failed: "enabled-failed";
974
+ readonly enabling: "enabling";
975
+ readonly enabling_failed: "enabling-failed";
976
+ };
977
+ export type FastLaunchStateCode =
978
+ (typeof FastLaunchStateCode)[keyof typeof FastLaunchStateCode];
951
979
  export interface DescribeFastLaunchImagesSuccessItem {
952
980
  ImageId?: string;
953
981
  ResourceType?: FastLaunchResourceType | string;
@@ -969,13 +997,15 @@ export interface DescribeFastSnapshotRestoresRequest {
969
997
  NextToken?: string;
970
998
  DryRun?: boolean;
971
999
  }
972
- export declare enum FastSnapshotRestoreStateCode {
973
- disabled = "disabled",
974
- disabling = "disabling",
975
- enabled = "enabled",
976
- enabling = "enabling",
977
- optimizing = "optimizing",
978
- }
1000
+ export declare const FastSnapshotRestoreStateCode: {
1001
+ readonly disabled: "disabled";
1002
+ readonly disabling: "disabling";
1003
+ readonly enabled: "enabled";
1004
+ readonly enabling: "enabling";
1005
+ readonly optimizing: "optimizing";
1006
+ };
1007
+ export type FastSnapshotRestoreStateCode =
1008
+ (typeof FastSnapshotRestoreStateCode)[keyof typeof FastSnapshotRestoreStateCode];
979
1009
  export interface DescribeFastSnapshotRestoreSuccessItem {
980
1010
  SnapshotId?: string;
981
1011
  AvailabilityZone?: string;
@@ -993,11 +1023,13 @@ export interface DescribeFastSnapshotRestoresResult {
993
1023
  FastSnapshotRestores?: DescribeFastSnapshotRestoreSuccessItem[];
994
1024
  NextToken?: string;
995
1025
  }
996
- export declare enum FleetEventType {
997
- FLEET_CHANGE = "fleet-change",
998
- INSTANCE_CHANGE = "instance-change",
999
- SERVICE_ERROR = "service-error",
1000
- }
1026
+ export declare const FleetEventType: {
1027
+ readonly FLEET_CHANGE: "fleet-change";
1028
+ readonly INSTANCE_CHANGE: "instance-change";
1029
+ readonly SERVICE_ERROR: "service-error";
1030
+ };
1031
+ export type FleetEventType =
1032
+ (typeof FleetEventType)[keyof typeof FleetEventType];
1001
1033
  export interface DescribeFleetHistoryRequest {
1002
1034
  DryRun?: boolean;
1003
1035
  EventType?: FleetEventType | string;
@@ -1042,12 +1074,14 @@ export interface DescribeFleetsRequest {
1042
1074
  FleetIds?: string[];
1043
1075
  Filters?: Filter[];
1044
1076
  }
1045
- export declare enum FleetActivityStatus {
1046
- ERROR = "error",
1047
- FULFILLED = "fulfilled",
1048
- PENDING_FULFILLMENT = "pending_fulfillment",
1049
- PENDING_TERMINATION = "pending_termination",
1050
- }
1077
+ export declare const FleetActivityStatus: {
1078
+ readonly ERROR: "error";
1079
+ readonly FULFILLED: "fulfilled";
1080
+ readonly PENDING_FULFILLMENT: "pending_fulfillment";
1081
+ readonly PENDING_TERMINATION: "pending_termination";
1082
+ };
1083
+ export type FleetActivityStatus =
1084
+ (typeof FleetActivityStatus)[keyof typeof FleetActivityStatus];
1051
1085
  export interface DescribeFleetError {
1052
1086
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse;
1053
1087
  Lifecycle?: InstanceLifecycle | string;
@@ -1163,28 +1197,34 @@ export interface DescribeFlowLogsResult {
1163
1197
  FlowLogs?: FlowLog[];
1164
1198
  NextToken?: string;
1165
1199
  }
1166
- export declare enum FpgaImageAttributeName {
1167
- description = "description",
1168
- loadPermission = "loadPermission",
1169
- name = "name",
1170
- productCodes = "productCodes",
1171
- }
1200
+ export declare const FpgaImageAttributeName: {
1201
+ readonly description: "description";
1202
+ readonly loadPermission: "loadPermission";
1203
+ readonly name: "name";
1204
+ readonly productCodes: "productCodes";
1205
+ };
1206
+ export type FpgaImageAttributeName =
1207
+ (typeof FpgaImageAttributeName)[keyof typeof FpgaImageAttributeName];
1172
1208
  export interface DescribeFpgaImageAttributeRequest {
1173
1209
  DryRun?: boolean;
1174
1210
  FpgaImageId: string | undefined;
1175
1211
  Attribute: FpgaImageAttributeName | string | undefined;
1176
1212
  }
1177
- export declare enum PermissionGroup {
1178
- all = "all",
1179
- }
1213
+ export declare const PermissionGroup: {
1214
+ readonly all: "all";
1215
+ };
1216
+ export type PermissionGroup =
1217
+ (typeof PermissionGroup)[keyof typeof PermissionGroup];
1180
1218
  export interface LoadPermission {
1181
1219
  UserId?: string;
1182
1220
  Group?: PermissionGroup | string;
1183
1221
  }
1184
- export declare enum ProductCodeValues {
1185
- devpay = "devpay",
1186
- marketplace = "marketplace",
1187
- }
1222
+ export declare const ProductCodeValues: {
1223
+ readonly devpay: "devpay";
1224
+ readonly marketplace: "marketplace";
1225
+ };
1226
+ export type ProductCodeValues =
1227
+ (typeof ProductCodeValues)[keyof typeof ProductCodeValues];
1188
1228
  export interface ProductCode {
1189
1229
  ProductCodeId?: string;
1190
1230
  ProductCodeType?: ProductCodeValues | string;
@@ -1213,12 +1253,14 @@ export interface PciId {
1213
1253
  SubsystemId?: string;
1214
1254
  SubsystemVendorId?: string;
1215
1255
  }
1216
- export declare enum FpgaImageStateCode {
1217
- available = "available",
1218
- failed = "failed",
1219
- pending = "pending",
1220
- unavailable = "unavailable",
1221
- }
1256
+ export declare const FpgaImageStateCode: {
1257
+ readonly available: "available";
1258
+ readonly failed: "failed";
1259
+ readonly pending: "pending";
1260
+ readonly unavailable: "unavailable";
1261
+ };
1262
+ export type FpgaImageStateCode =
1263
+ (typeof FpgaImageStateCode)[keyof typeof FpgaImageStateCode];
1222
1264
  export interface FpgaImageState {
1223
1265
  Code?: FpgaImageStateCode | string;
1224
1266
  Message?: string;
@@ -1253,11 +1295,12 @@ export interface DescribeHostReservationOfferingsRequest {
1253
1295
  NextToken?: string;
1254
1296
  OfferingId?: string;
1255
1297
  }
1256
- export declare enum PaymentOption {
1257
- ALL_UPFRONT = "AllUpfront",
1258
- NO_UPFRONT = "NoUpfront",
1259
- PARTIAL_UPFRONT = "PartialUpfront",
1260
- }
1298
+ export declare const PaymentOption: {
1299
+ readonly ALL_UPFRONT: "AllUpfront";
1300
+ readonly NO_UPFRONT: "NoUpfront";
1301
+ readonly PARTIAL_UPFRONT: "PartialUpfront";
1302
+ };
1303
+ export type PaymentOption = (typeof PaymentOption)[keyof typeof PaymentOption];
1261
1304
  export interface HostOffering {
1262
1305
  CurrencyCode?: CurrencyCodeValues | string;
1263
1306
  Duration?: number;
@@ -1277,12 +1320,14 @@ export interface DescribeHostReservationsRequest {
1277
1320
  MaxResults?: number;
1278
1321
  NextToken?: string;
1279
1322
  }
1280
- export declare enum ReservationState {
1281
- ACTIVE = "active",
1282
- PAYMENT_FAILED = "payment-failed",
1283
- PAYMENT_PENDING = "payment-pending",
1284
- RETIRED = "retired",
1285
- }
1323
+ export declare const ReservationState: {
1324
+ readonly ACTIVE: "active";
1325
+ readonly PAYMENT_FAILED: "payment-failed";
1326
+ readonly PAYMENT_PENDING: "payment-pending";
1327
+ readonly RETIRED: "retired";
1328
+ };
1329
+ export type ReservationState =
1330
+ (typeof ReservationState)[keyof typeof ReservationState];
1286
1331
  export interface HostReservation {
1287
1332
  Count?: number;
1288
1333
  CurrencyCode?: CurrencyCodeValues | string;
@@ -1378,20 +1423,22 @@ export interface DescribeIdFormatRequest {
1378
1423
  export interface DescribeIdFormatResult {
1379
1424
  Statuses?: IdFormat[];
1380
1425
  }
1381
- export declare enum ImageAttributeName {
1382
- blockDeviceMapping = "blockDeviceMapping",
1383
- bootMode = "bootMode",
1384
- description = "description",
1385
- imdsSupport = "imdsSupport",
1386
- kernel = "kernel",
1387
- lastLaunchedTime = "lastLaunchedTime",
1388
- launchPermission = "launchPermission",
1389
- productCodes = "productCodes",
1390
- ramdisk = "ramdisk",
1391
- sriovNetSupport = "sriovNetSupport",
1392
- tpmSupport = "tpmSupport",
1393
- uefiData = "uefiData",
1394
- }
1426
+ export declare const ImageAttributeName: {
1427
+ readonly blockDeviceMapping: "blockDeviceMapping";
1428
+ readonly bootMode: "bootMode";
1429
+ readonly description: "description";
1430
+ readonly imdsSupport: "imdsSupport";
1431
+ readonly kernel: "kernel";
1432
+ readonly lastLaunchedTime: "lastLaunchedTime";
1433
+ readonly launchPermission: "launchPermission";
1434
+ readonly productCodes: "productCodes";
1435
+ readonly ramdisk: "ramdisk";
1436
+ readonly sriovNetSupport: "sriovNetSupport";
1437
+ readonly tpmSupport: "tpmSupport";
1438
+ readonly uefiData: "uefiData";
1439
+ };
1440
+ export type ImageAttributeName =
1441
+ (typeof ImageAttributeName)[keyof typeof ImageAttributeName];
1395
1442
  export interface DescribeImageAttributeRequest {
1396
1443
  Attribute: ImageAttributeName | string | undefined;
1397
1444
  ImageId: string | undefined;
@@ -1428,50 +1475,66 @@ export interface DescribeImagesRequest {
1428
1475
  MaxResults?: number;
1429
1476
  NextToken?: string;
1430
1477
  }
1431
- export declare enum ArchitectureValues {
1432
- arm64 = "arm64",
1433
- arm64_mac = "arm64_mac",
1434
- i386 = "i386",
1435
- x86_64 = "x86_64",
1436
- x86_64_mac = "x86_64_mac",
1437
- }
1438
- export declare enum BootModeValues {
1439
- legacy_bios = "legacy-bios",
1440
- uefi = "uefi",
1441
- uefi_preferred = "uefi-preferred",
1442
- }
1443
- export declare enum HypervisorType {
1444
- ovm = "ovm",
1445
- xen = "xen",
1446
- }
1447
- export declare enum ImageTypeValues {
1448
- kernel = "kernel",
1449
- machine = "machine",
1450
- ramdisk = "ramdisk",
1451
- }
1452
- export declare enum ImdsSupportValues {
1453
- v2_0 = "v2.0",
1454
- }
1455
- export declare enum DeviceType {
1456
- ebs = "ebs",
1457
- instance_store = "instance-store",
1458
- }
1459
- export declare enum ImageState {
1460
- available = "available",
1461
- deregistered = "deregistered",
1462
- error = "error",
1463
- failed = "failed",
1464
- invalid = "invalid",
1465
- pending = "pending",
1466
- transient = "transient",
1467
- }
1468
- export declare enum TpmSupportValues {
1469
- v2_0 = "v2.0",
1470
- }
1471
- export declare enum VirtualizationType {
1472
- hvm = "hvm",
1473
- paravirtual = "paravirtual",
1474
- }
1478
+ export declare const ArchitectureValues: {
1479
+ readonly arm64: "arm64";
1480
+ readonly arm64_mac: "arm64_mac";
1481
+ readonly i386: "i386";
1482
+ readonly x86_64: "x86_64";
1483
+ readonly x86_64_mac: "x86_64_mac";
1484
+ };
1485
+ export type ArchitectureValues =
1486
+ (typeof ArchitectureValues)[keyof typeof ArchitectureValues];
1487
+ export declare const BootModeValues: {
1488
+ readonly legacy_bios: "legacy-bios";
1489
+ readonly uefi: "uefi";
1490
+ readonly uefi_preferred: "uefi-preferred";
1491
+ };
1492
+ export type BootModeValues =
1493
+ (typeof BootModeValues)[keyof typeof BootModeValues];
1494
+ export declare const HypervisorType: {
1495
+ readonly ovm: "ovm";
1496
+ readonly xen: "xen";
1497
+ };
1498
+ export type HypervisorType =
1499
+ (typeof HypervisorType)[keyof typeof HypervisorType];
1500
+ export declare const ImageTypeValues: {
1501
+ readonly kernel: "kernel";
1502
+ readonly machine: "machine";
1503
+ readonly ramdisk: "ramdisk";
1504
+ };
1505
+ export type ImageTypeValues =
1506
+ (typeof ImageTypeValues)[keyof typeof ImageTypeValues];
1507
+ export declare const ImdsSupportValues: {
1508
+ readonly v2_0: "v2.0";
1509
+ };
1510
+ export type ImdsSupportValues =
1511
+ (typeof ImdsSupportValues)[keyof typeof ImdsSupportValues];
1512
+ export declare const DeviceType: {
1513
+ readonly ebs: "ebs";
1514
+ readonly instance_store: "instance-store";
1515
+ };
1516
+ export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
1517
+ export declare const ImageState: {
1518
+ readonly available: "available";
1519
+ readonly deregistered: "deregistered";
1520
+ readonly error: "error";
1521
+ readonly failed: "failed";
1522
+ readonly invalid: "invalid";
1523
+ readonly pending: "pending";
1524
+ readonly transient: "transient";
1525
+ };
1526
+ export type ImageState = (typeof ImageState)[keyof typeof ImageState];
1527
+ export declare const TpmSupportValues: {
1528
+ readonly v2_0: "v2.0";
1529
+ };
1530
+ export type TpmSupportValues =
1531
+ (typeof TpmSupportValues)[keyof typeof TpmSupportValues];
1532
+ export declare const VirtualizationType: {
1533
+ readonly hvm: "hvm";
1534
+ readonly paravirtual: "paravirtual";
1535
+ };
1536
+ export type VirtualizationType =
1537
+ (typeof VirtualizationType)[keyof typeof VirtualizationType];
1475
1538
  export interface Image {
1476
1539
  Architecture?: ArchitectureValues | string;
1477
1540
  CreationDate?: string;
@@ -1587,24 +1650,26 @@ export interface DescribeImportSnapshotTasksResult {
1587
1650
  ImportSnapshotTasks?: ImportSnapshotTask[];
1588
1651
  NextToken?: string;
1589
1652
  }
1590
- export declare enum InstanceAttributeName {
1591
- blockDeviceMapping = "blockDeviceMapping",
1592
- disableApiStop = "disableApiStop",
1593
- disableApiTermination = "disableApiTermination",
1594
- ebsOptimized = "ebsOptimized",
1595
- enaSupport = "enaSupport",
1596
- enclaveOptions = "enclaveOptions",
1597
- groupSet = "groupSet",
1598
- instanceInitiatedShutdownBehavior = "instanceInitiatedShutdownBehavior",
1599
- instanceType = "instanceType",
1600
- kernel = "kernel",
1601
- productCodes = "productCodes",
1602
- ramdisk = "ramdisk",
1603
- rootDeviceName = "rootDeviceName",
1604
- sourceDestCheck = "sourceDestCheck",
1605
- sriovNetSupport = "sriovNetSupport",
1606
- userData = "userData",
1607
- }
1653
+ export declare const InstanceAttributeName: {
1654
+ readonly blockDeviceMapping: "blockDeviceMapping";
1655
+ readonly disableApiStop: "disableApiStop";
1656
+ readonly disableApiTermination: "disableApiTermination";
1657
+ readonly ebsOptimized: "ebsOptimized";
1658
+ readonly enaSupport: "enaSupport";
1659
+ readonly enclaveOptions: "enclaveOptions";
1660
+ readonly groupSet: "groupSet";
1661
+ readonly instanceInitiatedShutdownBehavior: "instanceInitiatedShutdownBehavior";
1662
+ readonly instanceType: "instanceType";
1663
+ readonly kernel: "kernel";
1664
+ readonly productCodes: "productCodes";
1665
+ readonly ramdisk: "ramdisk";
1666
+ readonly rootDeviceName: "rootDeviceName";
1667
+ readonly sourceDestCheck: "sourceDestCheck";
1668
+ readonly sriovNetSupport: "sriovNetSupport";
1669
+ readonly userData: "userData";
1670
+ };
1671
+ export type InstanceAttributeName =
1672
+ (typeof InstanceAttributeName)[keyof typeof InstanceAttributeName];
1608
1673
  export interface DescribeInstanceAttributeRequest {
1609
1674
  Attribute: InstanceAttributeName | string | undefined;
1610
1675
  DryRun?: boolean;
@@ -1692,10 +1757,12 @@ export interface CpuOptions {
1692
1757
  CoreCount?: number;
1693
1758
  ThreadsPerCore?: number;
1694
1759
  }
1695
- export declare enum InstanceBootModeValues {
1696
- legacy_bios = "legacy-bios",
1697
- uefi = "uefi",
1698
- }
1760
+ export declare const InstanceBootModeValues: {
1761
+ readonly legacy_bios: "legacy-bios";
1762
+ readonly uefi: "uefi";
1763
+ };
1764
+ export type InstanceBootModeValues =
1765
+ (typeof InstanceBootModeValues)[keyof typeof InstanceBootModeValues];
1699
1766
  export interface ElasticGpuAssociation {
1700
1767
  ElasticGpuId?: string;
1701
1768
  ElasticGpuAssociationId?: string;
@@ -1711,40 +1778,54 @@ export interface ElasticInferenceAcceleratorAssociation {
1711
1778
  export interface HibernationOptions {
1712
1779
  Configured?: boolean;
1713
1780
  }
1714
- export declare enum InstanceLifecycleType {
1715
- scheduled = "scheduled",
1716
- spot = "spot",
1717
- }
1781
+ export declare const InstanceLifecycleType: {
1782
+ readonly scheduled: "scheduled";
1783
+ readonly spot: "spot";
1784
+ };
1785
+ export type InstanceLifecycleType =
1786
+ (typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
1718
1787
  export interface LicenseConfiguration {
1719
1788
  LicenseConfigurationArn?: string;
1720
1789
  }
1721
- export declare enum InstanceAutoRecoveryState {
1722
- default = "default",
1723
- disabled = "disabled",
1724
- }
1790
+ export declare const InstanceAutoRecoveryState: {
1791
+ readonly default: "default";
1792
+ readonly disabled: "disabled";
1793
+ };
1794
+ export type InstanceAutoRecoveryState =
1795
+ (typeof InstanceAutoRecoveryState)[keyof typeof InstanceAutoRecoveryState];
1725
1796
  export interface InstanceMaintenanceOptions {
1726
1797
  AutoRecovery?: InstanceAutoRecoveryState | string;
1727
1798
  }
1728
- export declare enum InstanceMetadataEndpointState {
1729
- disabled = "disabled",
1730
- enabled = "enabled",
1731
- }
1732
- export declare enum InstanceMetadataProtocolState {
1733
- disabled = "disabled",
1734
- enabled = "enabled",
1735
- }
1736
- export declare enum HttpTokensState {
1737
- optional = "optional",
1738
- required = "required",
1739
- }
1740
- export declare enum InstanceMetadataTagsState {
1741
- disabled = "disabled",
1742
- enabled = "enabled",
1743
- }
1744
- export declare enum InstanceMetadataOptionsState {
1745
- applied = "applied",
1746
- pending = "pending",
1747
- }
1799
+ export declare const InstanceMetadataEndpointState: {
1800
+ readonly disabled: "disabled";
1801
+ readonly enabled: "enabled";
1802
+ };
1803
+ export type InstanceMetadataEndpointState =
1804
+ (typeof InstanceMetadataEndpointState)[keyof typeof InstanceMetadataEndpointState];
1805
+ export declare const InstanceMetadataProtocolState: {
1806
+ readonly disabled: "disabled";
1807
+ readonly enabled: "enabled";
1808
+ };
1809
+ export type InstanceMetadataProtocolState =
1810
+ (typeof InstanceMetadataProtocolState)[keyof typeof InstanceMetadataProtocolState];
1811
+ export declare const HttpTokensState: {
1812
+ readonly optional: "optional";
1813
+ readonly required: "required";
1814
+ };
1815
+ export type HttpTokensState =
1816
+ (typeof HttpTokensState)[keyof typeof HttpTokensState];
1817
+ export declare const InstanceMetadataTagsState: {
1818
+ readonly disabled: "disabled";
1819
+ readonly enabled: "enabled";
1820
+ };
1821
+ export type InstanceMetadataTagsState =
1822
+ (typeof InstanceMetadataTagsState)[keyof typeof InstanceMetadataTagsState];
1823
+ export declare const InstanceMetadataOptionsState: {
1824
+ readonly applied: "applied";
1825
+ readonly pending: "pending";
1826
+ };
1827
+ export type InstanceMetadataOptionsState =
1828
+ (typeof InstanceMetadataOptionsState)[keyof typeof InstanceMetadataOptionsState];
1748
1829
  export interface InstanceMetadataOptionsResponse {
1749
1830
  State?: InstanceMetadataOptionsState | string;
1750
1831
  HttpTokens?: HttpTokensState | string;
@@ -1753,9 +1834,11 @@ export interface InstanceMetadataOptionsResponse {
1753
1834
  HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
1754
1835
  InstanceMetadataTags?: InstanceMetadataTagsState | string;
1755
1836
  }
1756
- export declare enum MonitoringState {
1757
- disabled = "disabled",
1758
- disabling = "disabling",
1759
- enabled = "enabled",
1760
- pending = "pending",
1761
- }
1837
+ export declare const MonitoringState: {
1838
+ readonly disabled: "disabled";
1839
+ readonly disabling: "disabling";
1840
+ readonly enabled: "enabled";
1841
+ readonly pending: "pending";
1842
+ };
1843
+ export type MonitoringState =
1844
+ (typeof MonitoringState)[keyof typeof MonitoringState];