@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
@@ -30,11 +30,13 @@ import {
30
30
  VpcIpv6CidrBlockAssociation,
31
31
  WeekDay,
32
32
  } from "./models_0";
33
- export declare enum ClientVpnAuthenticationType {
34
- certificate_authentication = "certificate-authentication",
35
- directory_service_authentication = "directory-service-authentication",
36
- federated_authentication = "federated-authentication",
37
- }
33
+ export declare const ClientVpnAuthenticationType: {
34
+ readonly certificate_authentication: "certificate-authentication";
35
+ readonly directory_service_authentication: "directory-service-authentication";
36
+ readonly federated_authentication: "federated-authentication";
37
+ };
38
+ export type ClientVpnAuthenticationType =
39
+ (typeof ClientVpnAuthenticationType)[keyof typeof ClientVpnAuthenticationType];
38
40
  export interface ClientVpnAuthenticationRequest {
39
41
  Type?: ClientVpnAuthenticationType | string;
40
42
  ActiveDirectory?: DirectoryServiceAuthenticationRequest;
@@ -54,14 +56,18 @@ export interface ConnectionLogOptions {
54
56
  CloudwatchLogGroup?: string;
55
57
  CloudwatchLogStream?: string;
56
58
  }
57
- export declare enum SelfServicePortal {
58
- disabled = "disabled",
59
- enabled = "enabled",
60
- }
61
- export declare enum TransportProtocol {
62
- tcp = "tcp",
63
- udp = "udp",
64
- }
59
+ export declare const SelfServicePortal: {
60
+ readonly disabled: "disabled";
61
+ readonly enabled: "enabled";
62
+ };
63
+ export type SelfServicePortal =
64
+ (typeof SelfServicePortal)[keyof typeof SelfServicePortal];
65
+ export declare const TransportProtocol: {
66
+ readonly tcp: "tcp";
67
+ readonly udp: "udp";
68
+ };
69
+ export type TransportProtocol =
70
+ (typeof TransportProtocol)[keyof typeof TransportProtocol];
65
71
  export interface CreateClientVpnEndpointRequest {
66
72
  ClientCidrBlock: string | undefined;
67
73
  ServerCertificateArn: string | undefined;
@@ -82,12 +88,14 @@ export interface CreateClientVpnEndpointRequest {
82
88
  SessionTimeoutHours?: number;
83
89
  ClientLoginBannerOptions?: ClientLoginBannerOptions;
84
90
  }
85
- export declare enum ClientVpnEndpointStatusCode {
86
- available = "available",
87
- deleted = "deleted",
88
- deleting = "deleting",
89
- pending_associate = "pending-associate",
90
- }
91
+ export declare const ClientVpnEndpointStatusCode: {
92
+ readonly available: "available";
93
+ readonly deleted: "deleted";
94
+ readonly deleting: "deleting";
95
+ readonly pending_associate: "pending-associate";
96
+ };
97
+ export type ClientVpnEndpointStatusCode =
98
+ (typeof ClientVpnEndpointStatusCode)[keyof typeof ClientVpnEndpointStatusCode];
91
99
  export interface ClientVpnEndpointStatus {
92
100
  Code?: ClientVpnEndpointStatusCode | string;
93
101
  Message?: string;
@@ -105,12 +113,14 @@ export interface CreateClientVpnRouteRequest {
105
113
  ClientToken?: string;
106
114
  DryRun?: boolean;
107
115
  }
108
- export declare enum ClientVpnRouteStatusCode {
109
- active = "active",
110
- creating = "creating",
111
- deleting = "deleting",
112
- failed = "failed",
113
- }
116
+ export declare const ClientVpnRouteStatusCode: {
117
+ readonly active: "active";
118
+ readonly creating: "creating";
119
+ readonly deleting: "deleting";
120
+ readonly failed: "failed";
121
+ };
122
+ export type ClientVpnRouteStatusCode =
123
+ (typeof ClientVpnRouteStatusCode)[keyof typeof ClientVpnRouteStatusCode];
114
124
  export interface ClientVpnRouteStatus {
115
125
  Code?: ClientVpnRouteStatusCode | string;
116
126
  Message?: string;
@@ -146,9 +156,10 @@ export interface CoipPool {
146
156
  export interface CreateCoipPoolResult {
147
157
  CoipPool?: CoipPool;
148
158
  }
149
- export declare enum GatewayType {
150
- ipsec_1 = "ipsec.1",
151
- }
159
+ export declare const GatewayType: {
160
+ readonly ipsec_1: "ipsec.1";
161
+ };
162
+ export type GatewayType = (typeof GatewayType)[keyof typeof GatewayType];
152
163
  export interface CreateCustomerGatewayRequest {
153
164
  BgpAsn?: number;
154
165
  PublicIp?: string;
@@ -177,19 +188,21 @@ export interface CreateDefaultSubnetRequest {
177
188
  DryRun?: boolean;
178
189
  Ipv6Native?: boolean;
179
190
  }
180
- export declare enum HostnameType {
181
- ip_name = "ip-name",
182
- resource_name = "resource-name",
183
- }
191
+ export declare const HostnameType: {
192
+ readonly ip_name: "ip-name";
193
+ readonly resource_name: "resource-name";
194
+ };
195
+ export type HostnameType = (typeof HostnameType)[keyof typeof HostnameType];
184
196
  export interface PrivateDnsNameOptionsOnLaunch {
185
197
  HostnameType?: HostnameType | string;
186
198
  EnableResourceNameDnsARecord?: boolean;
187
199
  EnableResourceNameDnsAAAARecord?: boolean;
188
200
  }
189
- export declare enum SubnetState {
190
- available = "available",
191
- pending = "pending",
192
- }
201
+ export declare const SubnetState: {
202
+ readonly available: "available";
203
+ readonly pending: "pending";
204
+ };
205
+ export type SubnetState = (typeof SubnetState)[keyof typeof SubnetState];
193
206
  export interface Subnet {
194
207
  AvailabilityZone?: string;
195
208
  AvailabilityZoneId?: string;
@@ -219,15 +232,17 @@ export interface CreateDefaultSubnetResult {
219
232
  export interface CreateDefaultVpcRequest {
220
233
  DryRun?: boolean;
221
234
  }
222
- export declare enum Tenancy {
223
- dedicated = "dedicated",
224
- default = "default",
225
- host = "host",
226
- }
227
- export declare enum VpcState {
228
- available = "available",
229
- pending = "pending",
230
- }
235
+ export declare const Tenancy: {
236
+ readonly dedicated: "dedicated";
237
+ readonly default: "default";
238
+ readonly host: "host";
239
+ };
240
+ export type Tenancy = (typeof Tenancy)[keyof typeof Tenancy];
241
+ export declare const VpcState: {
242
+ readonly available: "available";
243
+ readonly pending: "pending";
244
+ };
245
+ export type VpcState = (typeof VpcState)[keyof typeof VpcState];
231
246
  export interface Vpc {
232
247
  CidrBlock?: string;
233
248
  DhcpOptionsId?: string;
@@ -287,47 +302,59 @@ export interface CreateEgressOnlyInternetGatewayResult {
287
302
  ClientToken?: string;
288
303
  EgressOnlyInternetGateway?: EgressOnlyInternetGateway;
289
304
  }
290
- export declare enum FleetExcessCapacityTerminationPolicy {
291
- NO_TERMINATION = "no-termination",
292
- TERMINATION = "termination",
293
- }
305
+ export declare const FleetExcessCapacityTerminationPolicy: {
306
+ readonly NO_TERMINATION: "no-termination";
307
+ readonly TERMINATION: "termination";
308
+ };
309
+ export type FleetExcessCapacityTerminationPolicy =
310
+ (typeof FleetExcessCapacityTerminationPolicy)[keyof typeof FleetExcessCapacityTerminationPolicy];
294
311
  export interface FleetLaunchTemplateSpecificationRequest {
295
312
  LaunchTemplateId?: string;
296
313
  LaunchTemplateName?: string;
297
314
  Version?: string;
298
315
  }
299
- export declare enum BareMetal {
300
- EXCLUDED = "excluded",
301
- INCLUDED = "included",
302
- REQUIRED = "required",
303
- }
316
+ export declare const BareMetal: {
317
+ readonly EXCLUDED: "excluded";
318
+ readonly INCLUDED: "included";
319
+ readonly REQUIRED: "required";
320
+ };
321
+ export type BareMetal = (typeof BareMetal)[keyof typeof BareMetal];
304
322
  export interface BaselineEbsBandwidthMbpsRequest {
305
323
  Min?: number;
306
324
  Max?: number;
307
325
  }
308
- export declare enum BurstablePerformance {
309
- EXCLUDED = "excluded",
310
- INCLUDED = "included",
311
- REQUIRED = "required",
312
- }
313
- export declare enum CpuManufacturer {
314
- AMAZON_WEB_SERVICES = "amazon-web-services",
315
- AMD = "amd",
316
- INTEL = "intel",
317
- }
318
- export declare enum InstanceGeneration {
319
- CURRENT = "current",
320
- PREVIOUS = "previous",
321
- }
322
- export declare enum LocalStorage {
323
- EXCLUDED = "excluded",
324
- INCLUDED = "included",
325
- REQUIRED = "required",
326
- }
327
- export declare enum LocalStorageType {
328
- HDD = "hdd",
329
- SSD = "ssd",
330
- }
326
+ export declare const BurstablePerformance: {
327
+ readonly EXCLUDED: "excluded";
328
+ readonly INCLUDED: "included";
329
+ readonly REQUIRED: "required";
330
+ };
331
+ export type BurstablePerformance =
332
+ (typeof BurstablePerformance)[keyof typeof BurstablePerformance];
333
+ export declare const CpuManufacturer: {
334
+ readonly AMAZON_WEB_SERVICES: "amazon-web-services";
335
+ readonly AMD: "amd";
336
+ readonly INTEL: "intel";
337
+ };
338
+ export type CpuManufacturer =
339
+ (typeof CpuManufacturer)[keyof typeof CpuManufacturer];
340
+ export declare const InstanceGeneration: {
341
+ readonly CURRENT: "current";
342
+ readonly PREVIOUS: "previous";
343
+ };
344
+ export type InstanceGeneration =
345
+ (typeof InstanceGeneration)[keyof typeof InstanceGeneration];
346
+ export declare const LocalStorage: {
347
+ readonly EXCLUDED: "excluded";
348
+ readonly INCLUDED: "included";
349
+ readonly REQUIRED: "required";
350
+ };
351
+ export type LocalStorage = (typeof LocalStorage)[keyof typeof LocalStorage];
352
+ export declare const LocalStorageType: {
353
+ readonly HDD: "hdd";
354
+ readonly SSD: "ssd";
355
+ };
356
+ export type LocalStorageType =
357
+ (typeof LocalStorageType)[keyof typeof LocalStorageType];
331
358
  export interface MemoryGiBPerVCpuRequest {
332
359
  Min?: number;
333
360
  Max?: number;
@@ -403,13 +430,17 @@ export interface FleetLaunchTemplateConfigRequest {
403
430
  LaunchTemplateSpecification?: FleetLaunchTemplateSpecificationRequest;
404
431
  Overrides?: FleetLaunchTemplateOverridesRequest[];
405
432
  }
406
- export declare enum FleetOnDemandAllocationStrategy {
407
- LOWEST_PRICE = "lowest-price",
408
- PRIORITIZED = "prioritized",
409
- }
410
- export declare enum FleetCapacityReservationUsageStrategy {
411
- USE_CAPACITY_RESERVATIONS_FIRST = "use-capacity-reservations-first",
412
- }
433
+ export declare const FleetOnDemandAllocationStrategy: {
434
+ readonly LOWEST_PRICE: "lowest-price";
435
+ readonly PRIORITIZED: "prioritized";
436
+ };
437
+ export type FleetOnDemandAllocationStrategy =
438
+ (typeof FleetOnDemandAllocationStrategy)[keyof typeof FleetOnDemandAllocationStrategy];
439
+ export declare const FleetCapacityReservationUsageStrategy: {
440
+ readonly USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first";
441
+ };
442
+ export type FleetCapacityReservationUsageStrategy =
443
+ (typeof FleetCapacityReservationUsageStrategy)[keyof typeof FleetCapacityReservationUsageStrategy];
413
444
  export interface CapacityReservationOptionsRequest {
414
445
  UsageStrategy?: FleetCapacityReservationUsageStrategy | string;
415
446
  }
@@ -421,22 +452,28 @@ export interface OnDemandOptionsRequest {
421
452
  MinTargetCapacity?: number;
422
453
  MaxTotalPrice?: string;
423
454
  }
424
- export declare enum SpotAllocationStrategy {
425
- CAPACITY_OPTIMIZED = "capacity-optimized",
426
- CAPACITY_OPTIMIZED_PRIORITIZED = "capacity-optimized-prioritized",
427
- DIVERSIFIED = "diversified",
428
- LOWEST_PRICE = "lowest-price",
429
- PRICE_CAPACITY_OPTIMIZED = "price-capacity-optimized",
430
- }
431
- export declare enum SpotInstanceInterruptionBehavior {
432
- hibernate = "hibernate",
433
- stop = "stop",
434
- terminate = "terminate",
435
- }
436
- export declare enum FleetReplacementStrategy {
437
- LAUNCH = "launch",
438
- LAUNCH_BEFORE_TERMINATE = "launch-before-terminate",
439
- }
455
+ export declare const SpotAllocationStrategy: {
456
+ readonly CAPACITY_OPTIMIZED: "capacity-optimized";
457
+ readonly CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized";
458
+ readonly DIVERSIFIED: "diversified";
459
+ readonly LOWEST_PRICE: "lowest-price";
460
+ readonly PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized";
461
+ };
462
+ export type SpotAllocationStrategy =
463
+ (typeof SpotAllocationStrategy)[keyof typeof SpotAllocationStrategy];
464
+ export declare const SpotInstanceInterruptionBehavior: {
465
+ readonly hibernate: "hibernate";
466
+ readonly stop: "stop";
467
+ readonly terminate: "terminate";
468
+ };
469
+ export type SpotInstanceInterruptionBehavior =
470
+ (typeof SpotInstanceInterruptionBehavior)[keyof typeof SpotInstanceInterruptionBehavior];
471
+ export declare const FleetReplacementStrategy: {
472
+ readonly LAUNCH: "launch";
473
+ readonly LAUNCH_BEFORE_TERMINATE: "launch-before-terminate";
474
+ };
475
+ export type FleetReplacementStrategy =
476
+ (typeof FleetReplacementStrategy)[keyof typeof FleetReplacementStrategy];
440
477
  export interface FleetSpotCapacityRebalanceRequest {
441
478
  ReplacementStrategy?: FleetReplacementStrategy | string;
442
479
  TerminationDelay?: number;
@@ -454,15 +491,19 @@ export interface SpotOptionsRequest {
454
491
  MinTargetCapacity?: number;
455
492
  MaxTotalPrice?: string;
456
493
  }
457
- export declare enum DefaultTargetCapacityType {
458
- ON_DEMAND = "on-demand",
459
- SPOT = "spot",
460
- }
461
- export declare enum TargetCapacityUnitType {
462
- MEMORY_MIB = "memory-mib",
463
- UNITS = "units",
464
- VCPU = "vcpu",
465
- }
494
+ export declare const DefaultTargetCapacityType: {
495
+ readonly ON_DEMAND: "on-demand";
496
+ readonly SPOT: "spot";
497
+ };
498
+ export type DefaultTargetCapacityType =
499
+ (typeof DefaultTargetCapacityType)[keyof typeof DefaultTargetCapacityType];
500
+ export declare const TargetCapacityUnitType: {
501
+ readonly MEMORY_MIB: "memory-mib";
502
+ readonly UNITS: "units";
503
+ readonly VCPU: "vcpu";
504
+ };
505
+ export type TargetCapacityUnitType =
506
+ (typeof TargetCapacityUnitType)[keyof typeof TargetCapacityUnitType];
466
507
  export interface TargetCapacitySpecificationRequest {
467
508
  TotalTargetCapacity: number | undefined;
468
509
  OnDemandTargetCapacity?: number;
@@ -470,11 +511,12 @@ export interface TargetCapacitySpecificationRequest {
470
511
  DefaultTargetCapacityType?: DefaultTargetCapacityType | string;
471
512
  TargetCapacityUnitType?: TargetCapacityUnitType | string;
472
513
  }
473
- export declare enum FleetType {
474
- INSTANT = "instant",
475
- MAINTAIN = "maintain",
476
- REQUEST = "request",
477
- }
514
+ export declare const FleetType: {
515
+ readonly INSTANT: "instant";
516
+ readonly MAINTAIN: "maintain";
517
+ readonly REQUEST: "request";
518
+ };
519
+ export type FleetType = (typeof FleetType)[keyof typeof FleetType];
478
520
  export interface CreateFleetRequest {
479
521
  DryRun?: boolean;
480
522
  ClientToken?: string;
@@ -569,19 +611,23 @@ export interface LaunchTemplateAndOverridesResponse {
569
611
  LaunchTemplateSpecification?: FleetLaunchTemplateSpecification;
570
612
  Overrides?: FleetLaunchTemplateOverrides;
571
613
  }
572
- export declare enum InstanceLifecycle {
573
- ON_DEMAND = "on-demand",
574
- SPOT = "spot",
575
- }
614
+ export declare const InstanceLifecycle: {
615
+ readonly ON_DEMAND: "on-demand";
616
+ readonly SPOT: "spot";
617
+ };
618
+ export type InstanceLifecycle =
619
+ (typeof InstanceLifecycle)[keyof typeof InstanceLifecycle];
576
620
  export interface CreateFleetError {
577
621
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse;
578
622
  Lifecycle?: InstanceLifecycle | string;
579
623
  ErrorCode?: string;
580
624
  ErrorMessage?: string;
581
625
  }
582
- export declare enum PlatformValues {
583
- Windows = "Windows",
584
- }
626
+ export declare const PlatformValues: {
627
+ readonly Windows: "Windows";
628
+ };
629
+ export type PlatformValues =
630
+ (typeof PlatformValues)[keyof typeof PlatformValues];
585
631
  export interface CreateFleetInstance {
586
632
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse;
587
633
  Lifecycle?: InstanceLifecycle | string;
@@ -594,32 +640,39 @@ export interface CreateFleetResult {
594
640
  Errors?: CreateFleetError[];
595
641
  Instances?: CreateFleetInstance[];
596
642
  }
597
- export declare enum DestinationFileFormat {
598
- parquet = "parquet",
599
- plain_text = "plain-text",
600
- }
643
+ export declare const DestinationFileFormat: {
644
+ readonly parquet: "parquet";
645
+ readonly plain_text: "plain-text";
646
+ };
647
+ export type DestinationFileFormat =
648
+ (typeof DestinationFileFormat)[keyof typeof DestinationFileFormat];
601
649
  export interface DestinationOptionsRequest {
602
650
  FileFormat?: DestinationFileFormat | string;
603
651
  HiveCompatiblePartitions?: boolean;
604
652
  PerHourPartition?: boolean;
605
653
  }
606
- export declare enum LogDestinationType {
607
- cloud_watch_logs = "cloud-watch-logs",
608
- kinesis_data_firehose = "kinesis-data-firehose",
609
- s3 = "s3",
610
- }
611
- export declare enum FlowLogsResourceType {
612
- NetworkInterface = "NetworkInterface",
613
- Subnet = "Subnet",
614
- TransitGateway = "TransitGateway",
615
- TransitGatewayAttachment = "TransitGatewayAttachment",
616
- VPC = "VPC",
617
- }
618
- export declare enum TrafficType {
619
- ACCEPT = "ACCEPT",
620
- ALL = "ALL",
621
- REJECT = "REJECT",
622
- }
654
+ export declare const LogDestinationType: {
655
+ readonly cloud_watch_logs: "cloud-watch-logs";
656
+ readonly kinesis_data_firehose: "kinesis-data-firehose";
657
+ readonly s3: "s3";
658
+ };
659
+ export type LogDestinationType =
660
+ (typeof LogDestinationType)[keyof typeof LogDestinationType];
661
+ export declare const FlowLogsResourceType: {
662
+ readonly NetworkInterface: "NetworkInterface";
663
+ readonly Subnet: "Subnet";
664
+ readonly TransitGateway: "TransitGateway";
665
+ readonly TransitGatewayAttachment: "TransitGatewayAttachment";
666
+ readonly VPC: "VPC";
667
+ };
668
+ export type FlowLogsResourceType =
669
+ (typeof FlowLogsResourceType)[keyof typeof FlowLogsResourceType];
670
+ export declare const TrafficType: {
671
+ readonly ACCEPT: "ACCEPT";
672
+ readonly ALL: "ALL";
673
+ readonly REJECT: "REJECT";
674
+ };
675
+ export type TrafficType = (typeof TrafficType)[keyof typeof TrafficType];
623
676
  export interface CreateFlowLogsRequest {
624
677
  DryRun?: boolean;
625
678
  ClientToken?: string;
@@ -658,15 +711,16 @@ export interface CreateFpgaImageResult {
658
711
  FpgaImageId?: string;
659
712
  FpgaImageGlobalId?: string;
660
713
  }
661
- export declare enum VolumeType {
662
- gp2 = "gp2",
663
- gp3 = "gp3",
664
- io1 = "io1",
665
- io2 = "io2",
666
- sc1 = "sc1",
667
- st1 = "st1",
668
- standard = "standard",
669
- }
714
+ export declare const VolumeType: {
715
+ readonly gp2: "gp2";
716
+ readonly gp3: "gp3";
717
+ readonly io1: "io1";
718
+ readonly io2: "io2";
719
+ readonly sc1: "sc1";
720
+ readonly st1: "st1";
721
+ readonly standard: "standard";
722
+ };
723
+ export type VolumeType = (typeof VolumeType)[keyof typeof VolumeType];
670
724
  export interface EbsBlockDevice {
671
725
  DeleteOnTermination?: boolean;
672
726
  Iops?: number;
@@ -712,25 +766,31 @@ export interface CreateInstanceEventWindowRequest {
712
766
  export interface CreateInstanceEventWindowResult {
713
767
  InstanceEventWindow?: InstanceEventWindow;
714
768
  }
715
- export declare enum ContainerFormat {
716
- ova = "ova",
717
- }
718
- export declare enum DiskImageFormat {
719
- RAW = "RAW",
720
- VHD = "VHD",
721
- VMDK = "VMDK",
722
- }
769
+ export declare const ContainerFormat: {
770
+ readonly ova: "ova";
771
+ };
772
+ export type ContainerFormat =
773
+ (typeof ContainerFormat)[keyof typeof ContainerFormat];
774
+ export declare const DiskImageFormat: {
775
+ readonly RAW: "RAW";
776
+ readonly VHD: "VHD";
777
+ readonly VMDK: "VMDK";
778
+ };
779
+ export type DiskImageFormat =
780
+ (typeof DiskImageFormat)[keyof typeof DiskImageFormat];
723
781
  export interface ExportToS3TaskSpecification {
724
782
  ContainerFormat?: ContainerFormat | string;
725
783
  DiskImageFormat?: DiskImageFormat | string;
726
784
  S3Bucket?: string;
727
785
  S3Prefix?: string;
728
786
  }
729
- export declare enum ExportEnvironment {
730
- citrix = "citrix",
731
- microsoft = "microsoft",
732
- vmware = "vmware",
733
- }
787
+ export declare const ExportEnvironment: {
788
+ readonly citrix: "citrix";
789
+ readonly microsoft: "microsoft";
790
+ readonly vmware: "vmware";
791
+ };
792
+ export type ExportEnvironment =
793
+ (typeof ExportEnvironment)[keyof typeof ExportEnvironment];
734
794
  export interface CreateInstanceExportTaskRequest {
735
795
  Description?: string;
736
796
  ExportToS3Task: ExportToS3TaskSpecification | undefined;
@@ -748,12 +808,14 @@ export interface InstanceExportDetails {
748
808
  InstanceId?: string;
749
809
  TargetEnvironment?: ExportEnvironment | string;
750
810
  }
751
- export declare enum ExportTaskState {
752
- active = "active",
753
- cancelled = "cancelled",
754
- cancelling = "cancelling",
755
- completed = "completed",
756
- }
811
+ export declare const ExportTaskState: {
812
+ readonly active: "active";
813
+ readonly cancelled: "cancelled";
814
+ readonly cancelling: "cancelling";
815
+ readonly completed: "completed";
816
+ };
817
+ export type ExportTaskState =
818
+ (typeof ExportTaskState)[keyof typeof ExportTaskState];
757
819
  export interface ExportTask {
758
820
  Description?: string;
759
821
  ExportTaskId?: string;
@@ -789,20 +851,21 @@ export interface CreateIpamRequest {
789
851
  export interface IpamOperatingRegion {
790
852
  RegionName?: string;
791
853
  }
792
- export declare enum IpamState {
793
- create_complete = "create-complete",
794
- create_failed = "create-failed",
795
- create_in_progress = "create-in-progress",
796
- delete_complete = "delete-complete",
797
- delete_failed = "delete-failed",
798
- delete_in_progress = "delete-in-progress",
799
- isolate_complete = "isolate-complete",
800
- isolate_in_progress = "isolate-in-progress",
801
- modify_complete = "modify-complete",
802
- modify_failed = "modify-failed",
803
- modify_in_progress = "modify-in-progress",
804
- restore_in_progress = "restore-in-progress",
805
- }
854
+ export declare const IpamState: {
855
+ readonly create_complete: "create-complete";
856
+ readonly create_failed: "create-failed";
857
+ readonly create_in_progress: "create-in-progress";
858
+ readonly delete_complete: "delete-complete";
859
+ readonly delete_failed: "delete-failed";
860
+ readonly delete_in_progress: "delete-in-progress";
861
+ readonly isolate_complete: "isolate-complete";
862
+ readonly isolate_in_progress: "isolate-in-progress";
863
+ readonly modify_complete: "modify-complete";
864
+ readonly modify_failed: "modify-failed";
865
+ readonly modify_in_progress: "modify-in-progress";
866
+ readonly restore_in_progress: "restore-in-progress";
867
+ };
868
+ export type IpamState = (typeof IpamState)[keyof typeof IpamState];
806
869
  export interface Ipam {
807
870
  OwnerId?: string;
808
871
  IpamId?: string;
@@ -826,13 +889,17 @@ export interface RequestIpamResourceTag {
826
889
  Key?: string;
827
890
  Value?: string;
828
891
  }
829
- export declare enum IpamPoolAwsService {
830
- ec2 = "ec2",
831
- }
832
- export declare enum IpamPoolPublicIpSource {
833
- amazon = "amazon",
834
- byoip = "byoip",
835
- }
892
+ export declare const IpamPoolAwsService: {
893
+ readonly ec2: "ec2";
894
+ };
895
+ export type IpamPoolAwsService =
896
+ (typeof IpamPoolAwsService)[keyof typeof IpamPoolAwsService];
897
+ export declare const IpamPoolPublicIpSource: {
898
+ readonly amazon: "amazon";
899
+ readonly byoip: "byoip";
900
+ };
901
+ export type IpamPoolPublicIpSource =
902
+ (typeof IpamPoolPublicIpSource)[keyof typeof IpamPoolPublicIpSource];
836
903
  export interface CreateIpamPoolRequest {
837
904
  DryRun?: boolean;
838
905
  IpamScopeId: string | undefined;
@@ -855,24 +922,26 @@ export interface IpamResourceTag {
855
922
  Key?: string;
856
923
  Value?: string;
857
924
  }
858
- export declare enum IpamScopeType {
859
- private = "private",
860
- public = "public",
861
- }
862
- export declare enum IpamPoolState {
863
- create_complete = "create-complete",
864
- create_failed = "create-failed",
865
- create_in_progress = "create-in-progress",
866
- delete_complete = "delete-complete",
867
- delete_failed = "delete-failed",
868
- delete_in_progress = "delete-in-progress",
869
- isolate_complete = "isolate-complete",
870
- isolate_in_progress = "isolate-in-progress",
871
- modify_complete = "modify-complete",
872
- modify_failed = "modify-failed",
873
- modify_in_progress = "modify-in-progress",
874
- restore_in_progress = "restore-in-progress",
875
- }
925
+ export declare const IpamScopeType: {
926
+ readonly private: "private";
927
+ readonly public: "public";
928
+ };
929
+ export type IpamScopeType = (typeof IpamScopeType)[keyof typeof IpamScopeType];
930
+ export declare const IpamPoolState: {
931
+ readonly create_complete: "create-complete";
932
+ readonly create_failed: "create-failed";
933
+ readonly create_in_progress: "create-in-progress";
934
+ readonly delete_complete: "delete-complete";
935
+ readonly delete_failed: "delete-failed";
936
+ readonly delete_in_progress: "delete-in-progress";
937
+ readonly isolate_complete: "isolate-complete";
938
+ readonly isolate_in_progress: "isolate-in-progress";
939
+ readonly modify_complete: "modify-complete";
940
+ readonly modify_failed: "modify-failed";
941
+ readonly modify_in_progress: "modify-in-progress";
942
+ readonly restore_in_progress: "restore-in-progress";
943
+ };
944
+ export type IpamPoolState = (typeof IpamPoolState)[keyof typeof IpamPoolState];
876
945
  export interface IpamPool {
877
946
  OwnerId?: string;
878
947
  IpamPoolId?: string;
@@ -908,20 +977,22 @@ export interface CreateIpamResourceDiscoveryRequest {
908
977
  TagSpecifications?: TagSpecification[];
909
978
  ClientToken?: string;
910
979
  }
911
- export declare enum IpamResourceDiscoveryState {
912
- CREATE_COMPLETE = "create-complete",
913
- CREATE_FAILED = "create-failed",
914
- CREATE_IN_PROGRESS = "create-in-progress",
915
- DELETE_COMPLETE = "delete-complete",
916
- DELETE_FAILED = "delete-failed",
917
- DELETE_IN_PROGRESS = "delete-in-progress",
918
- ISOLATE_COMPLETE = "isolate-complete",
919
- ISOLATE_IN_PROGRESS = "isolate-in-progress",
920
- MODIFY_COMPLETE = "modify-complete",
921
- MODIFY_FAILED = "modify-failed",
922
- MODIFY_IN_PROGRESS = "modify-in-progress",
923
- RESTORE_IN_PROGRESS = "restore-in-progress",
924
- }
980
+ export declare const IpamResourceDiscoveryState: {
981
+ readonly CREATE_COMPLETE: "create-complete";
982
+ readonly CREATE_FAILED: "create-failed";
983
+ readonly CREATE_IN_PROGRESS: "create-in-progress";
984
+ readonly DELETE_COMPLETE: "delete-complete";
985
+ readonly DELETE_FAILED: "delete-failed";
986
+ readonly DELETE_IN_PROGRESS: "delete-in-progress";
987
+ readonly ISOLATE_COMPLETE: "isolate-complete";
988
+ readonly ISOLATE_IN_PROGRESS: "isolate-in-progress";
989
+ readonly MODIFY_COMPLETE: "modify-complete";
990
+ readonly MODIFY_FAILED: "modify-failed";
991
+ readonly MODIFY_IN_PROGRESS: "modify-in-progress";
992
+ readonly RESTORE_IN_PROGRESS: "restore-in-progress";
993
+ };
994
+ export type IpamResourceDiscoveryState =
995
+ (typeof IpamResourceDiscoveryState)[keyof typeof IpamResourceDiscoveryState];
925
996
  export interface IpamResourceDiscovery {
926
997
  OwnerId?: string;
927
998
  IpamResourceDiscoveryId?: string;
@@ -943,20 +1014,22 @@ export interface CreateIpamScopeRequest {
943
1014
  TagSpecifications?: TagSpecification[];
944
1015
  ClientToken?: string;
945
1016
  }
946
- export declare enum IpamScopeState {
947
- create_complete = "create-complete",
948
- create_failed = "create-failed",
949
- create_in_progress = "create-in-progress",
950
- delete_complete = "delete-complete",
951
- delete_failed = "delete-failed",
952
- delete_in_progress = "delete-in-progress",
953
- isolate_complete = "isolate-complete",
954
- isolate_in_progress = "isolate-in-progress",
955
- modify_complete = "modify-complete",
956
- modify_failed = "modify-failed",
957
- modify_in_progress = "modify-in-progress",
958
- restore_in_progress = "restore-in-progress",
959
- }
1017
+ export declare const IpamScopeState: {
1018
+ readonly create_complete: "create-complete";
1019
+ readonly create_failed: "create-failed";
1020
+ readonly create_in_progress: "create-in-progress";
1021
+ readonly delete_complete: "delete-complete";
1022
+ readonly delete_failed: "delete-failed";
1023
+ readonly delete_in_progress: "delete-in-progress";
1024
+ readonly isolate_complete: "isolate-complete";
1025
+ readonly isolate_in_progress: "isolate-in-progress";
1026
+ readonly modify_complete: "modify-complete";
1027
+ readonly modify_failed: "modify-failed";
1028
+ readonly modify_in_progress: "modify-in-progress";
1029
+ readonly restore_in_progress: "restore-in-progress";
1030
+ };
1031
+ export type IpamScopeState =
1032
+ (typeof IpamScopeState)[keyof typeof IpamScopeState];
960
1033
  export interface IpamScope {
961
1034
  OwnerId?: string;
962
1035
  IpamScopeId?: string;
@@ -973,14 +1046,16 @@ export interface IpamScope {
973
1046
  export interface CreateIpamScopeResult {
974
1047
  IpamScope?: IpamScope;
975
1048
  }
976
- export declare enum KeyFormat {
977
- pem = "pem",
978
- ppk = "ppk",
979
- }
980
- export declare enum KeyType {
981
- ed25519 = "ed25519",
982
- rsa = "rsa",
983
- }
1049
+ export declare const KeyFormat: {
1050
+ readonly pem: "pem";
1051
+ readonly ppk: "ppk";
1052
+ };
1053
+ export type KeyFormat = (typeof KeyFormat)[keyof typeof KeyFormat];
1054
+ export declare const KeyType: {
1055
+ readonly ed25519: "ed25519";
1056
+ readonly rsa: "rsa";
1057
+ };
1058
+ export type KeyType = (typeof KeyType)[keyof typeof KeyType];
984
1059
  export interface CreateKeyPairRequest {
985
1060
  KeyName: string | undefined;
986
1061
  DryRun?: boolean;
@@ -1011,10 +1086,12 @@ export interface LaunchTemplateBlockDeviceMappingRequest {
1011
1086
  Ebs?: LaunchTemplateEbsBlockDeviceRequest;
1012
1087
  NoDevice?: string;
1013
1088
  }
1014
- export declare enum CapacityReservationPreference {
1015
- none = "none",
1016
- open = "open",
1017
- }
1089
+ export declare const CapacityReservationPreference: {
1090
+ readonly none: "none";
1091
+ readonly open: "open";
1092
+ };
1093
+ export type CapacityReservationPreference =
1094
+ (typeof CapacityReservationPreference)[keyof typeof CapacityReservationPreference];
1018
1095
  export interface CapacityReservationTarget {
1019
1096
  CapacityReservationId?: string;
1020
1097
  CapacityReservationResourceGroupArn?: string;
@@ -1047,22 +1124,29 @@ export interface LaunchTemplateIamInstanceProfileSpecificationRequest {
1047
1124
  Arn?: string;
1048
1125
  Name?: string;
1049
1126
  }
1050
- export declare enum ShutdownBehavior {
1051
- stop = "stop",
1052
- terminate = "terminate",
1053
- }
1054
- export declare enum MarketType {
1055
- spot = "spot",
1056
- }
1057
- export declare enum InstanceInterruptionBehavior {
1058
- hibernate = "hibernate",
1059
- stop = "stop",
1060
- terminate = "terminate",
1061
- }
1062
- export declare enum SpotInstanceType {
1063
- one_time = "one-time",
1064
- persistent = "persistent",
1065
- }
1127
+ export declare const ShutdownBehavior: {
1128
+ readonly stop: "stop";
1129
+ readonly terminate: "terminate";
1130
+ };
1131
+ export type ShutdownBehavior =
1132
+ (typeof ShutdownBehavior)[keyof typeof ShutdownBehavior];
1133
+ export declare const MarketType: {
1134
+ readonly spot: "spot";
1135
+ };
1136
+ export type MarketType = (typeof MarketType)[keyof typeof MarketType];
1137
+ export declare const InstanceInterruptionBehavior: {
1138
+ readonly hibernate: "hibernate";
1139
+ readonly stop: "stop";
1140
+ readonly terminate: "terminate";
1141
+ };
1142
+ export type InstanceInterruptionBehavior =
1143
+ (typeof InstanceInterruptionBehavior)[keyof typeof InstanceInterruptionBehavior];
1144
+ export declare const SpotInstanceType: {
1145
+ readonly one_time: "one-time";
1146
+ readonly persistent: "persistent";
1147
+ };
1148
+ export type SpotInstanceType =
1149
+ (typeof SpotInstanceType)[keyof typeof SpotInstanceType];
1066
1150
  export interface LaunchTemplateSpotMarketOptionsRequest {
1067
1151
  MaxPrice?: string;
1068
1152
  SpotInstanceType?: SpotInstanceType | string;
@@ -1077,29 +1161,39 @@ export interface LaunchTemplateInstanceMarketOptionsRequest {
1077
1161
  export interface LaunchTemplateLicenseConfigurationRequest {
1078
1162
  LicenseConfigurationArn?: string;
1079
1163
  }
1080
- export declare enum LaunchTemplateAutoRecoveryState {
1081
- default = "default",
1082
- disabled = "disabled",
1083
- }
1164
+ export declare const LaunchTemplateAutoRecoveryState: {
1165
+ readonly default: "default";
1166
+ readonly disabled: "disabled";
1167
+ };
1168
+ export type LaunchTemplateAutoRecoveryState =
1169
+ (typeof LaunchTemplateAutoRecoveryState)[keyof typeof LaunchTemplateAutoRecoveryState];
1084
1170
  export interface LaunchTemplateInstanceMaintenanceOptionsRequest {
1085
1171
  AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
1086
1172
  }
1087
- export declare enum LaunchTemplateInstanceMetadataEndpointState {
1088
- disabled = "disabled",
1089
- enabled = "enabled",
1090
- }
1091
- export declare enum LaunchTemplateInstanceMetadataProtocolIpv6 {
1092
- disabled = "disabled",
1093
- enabled = "enabled",
1094
- }
1095
- export declare enum LaunchTemplateHttpTokensState {
1096
- optional = "optional",
1097
- required = "required",
1098
- }
1099
- export declare enum LaunchTemplateInstanceMetadataTagsState {
1100
- disabled = "disabled",
1101
- enabled = "enabled",
1102
- }
1173
+ export declare const LaunchTemplateInstanceMetadataEndpointState: {
1174
+ readonly disabled: "disabled";
1175
+ readonly enabled: "enabled";
1176
+ };
1177
+ export type LaunchTemplateInstanceMetadataEndpointState =
1178
+ (typeof LaunchTemplateInstanceMetadataEndpointState)[keyof typeof LaunchTemplateInstanceMetadataEndpointState];
1179
+ export declare const LaunchTemplateInstanceMetadataProtocolIpv6: {
1180
+ readonly disabled: "disabled";
1181
+ readonly enabled: "enabled";
1182
+ };
1183
+ export type LaunchTemplateInstanceMetadataProtocolIpv6 =
1184
+ (typeof LaunchTemplateInstanceMetadataProtocolIpv6)[keyof typeof LaunchTemplateInstanceMetadataProtocolIpv6];
1185
+ export declare const LaunchTemplateHttpTokensState: {
1186
+ readonly optional: "optional";
1187
+ readonly required: "required";
1188
+ };
1189
+ export type LaunchTemplateHttpTokensState =
1190
+ (typeof LaunchTemplateHttpTokensState)[keyof typeof LaunchTemplateHttpTokensState];
1191
+ export declare const LaunchTemplateInstanceMetadataTagsState: {
1192
+ readonly disabled: "disabled";
1193
+ readonly enabled: "enabled";
1194
+ };
1195
+ export type LaunchTemplateInstanceMetadataTagsState =
1196
+ (typeof LaunchTemplateInstanceMetadataTagsState)[keyof typeof LaunchTemplateInstanceMetadataTagsState];
1103
1197
  export interface LaunchTemplateInstanceMetadataOptionsRequest {
1104
1198
  HttpTokens?: LaunchTemplateHttpTokensState | string;
1105
1199
  HttpPutResponseHopLimit?: number;
@@ -1300,10 +1394,12 @@ export interface LaunchTemplateLicenseConfiguration {
1300
1394
  export interface LaunchTemplateInstanceMaintenanceOptions {
1301
1395
  AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
1302
1396
  }
1303
- export declare enum LaunchTemplateInstanceMetadataOptionsState {
1304
- applied = "applied",
1305
- pending = "pending",
1306
- }
1397
+ export declare const LaunchTemplateInstanceMetadataOptionsState: {
1398
+ readonly applied: "applied";
1399
+ readonly pending: "pending";
1400
+ };
1401
+ export type LaunchTemplateInstanceMetadataOptionsState =
1402
+ (typeof LaunchTemplateInstanceMetadataOptionsState)[keyof typeof LaunchTemplateInstanceMetadataOptionsState];
1307
1403
  export interface LaunchTemplateInstanceMetadataOptions {
1308
1404
  State?: LaunchTemplateInstanceMetadataOptionsState | string;
1309
1405
  HttpTokens?: LaunchTemplateHttpTokensState | string;
@@ -1420,17 +1516,21 @@ export interface CreateLocalGatewayRouteRequest {
1420
1516
  NetworkInterfaceId?: string;
1421
1517
  DestinationPrefixListId?: string;
1422
1518
  }
1423
- export declare enum LocalGatewayRouteState {
1424
- active = "active",
1425
- blackhole = "blackhole",
1426
- deleted = "deleted",
1427
- deleting = "deleting",
1428
- pending = "pending",
1429
- }
1430
- export declare enum LocalGatewayRouteType {
1431
- propagated = "propagated",
1432
- static = "static",
1433
- }
1519
+ export declare const LocalGatewayRouteState: {
1520
+ readonly active: "active";
1521
+ readonly blackhole: "blackhole";
1522
+ readonly deleted: "deleted";
1523
+ readonly deleting: "deleting";
1524
+ readonly pending: "pending";
1525
+ };
1526
+ export type LocalGatewayRouteState =
1527
+ (typeof LocalGatewayRouteState)[keyof typeof LocalGatewayRouteState];
1528
+ export declare const LocalGatewayRouteType: {
1529
+ readonly propagated: "propagated";
1530
+ readonly static: "static";
1531
+ };
1532
+ export type LocalGatewayRouteType =
1533
+ (typeof LocalGatewayRouteType)[keyof typeof LocalGatewayRouteType];
1434
1534
  export interface LocalGatewayRoute {
1435
1535
  DestinationCidrBlock?: string;
1436
1536
  LocalGatewayVirtualInterfaceGroupId?: string;
@@ -1447,10 +1547,12 @@ export interface LocalGatewayRoute {
1447
1547
  export interface CreateLocalGatewayRouteResult {
1448
1548
  Route?: LocalGatewayRoute;
1449
1549
  }
1450
- export declare enum LocalGatewayRouteTableMode {
1451
- coip = "coip",
1452
- direct_vpc_routing = "direct-vpc-routing",
1453
- }
1550
+ export declare const LocalGatewayRouteTableMode: {
1551
+ readonly coip: "coip";
1552
+ readonly direct_vpc_routing: "direct-vpc-routing";
1553
+ };
1554
+ export type LocalGatewayRouteTableMode =
1555
+ (typeof LocalGatewayRouteTableMode)[keyof typeof LocalGatewayRouteTableMode];
1454
1556
  export interface CreateLocalGatewayRouteTableRequest {
1455
1557
  LocalGatewayId: string | undefined;
1456
1558
  Mode?: LocalGatewayRouteTableMode | string;
@@ -1522,20 +1624,22 @@ export interface CreateManagedPrefixListRequest {
1522
1624
  AddressFamily: string | undefined;
1523
1625
  ClientToken?: string;
1524
1626
  }
1525
- export declare enum PrefixListState {
1526
- create_complete = "create-complete",
1527
- create_failed = "create-failed",
1528
- create_in_progress = "create-in-progress",
1529
- delete_complete = "delete-complete",
1530
- delete_failed = "delete-failed",
1531
- delete_in_progress = "delete-in-progress",
1532
- modify_complete = "modify-complete",
1533
- modify_failed = "modify-failed",
1534
- modify_in_progress = "modify-in-progress",
1535
- restore_complete = "restore-complete",
1536
- restore_failed = "restore-failed",
1537
- restore_in_progress = "restore-in-progress",
1538
- }
1627
+ export declare const PrefixListState: {
1628
+ readonly create_complete: "create-complete";
1629
+ readonly create_failed: "create-failed";
1630
+ readonly create_in_progress: "create-in-progress";
1631
+ readonly delete_complete: "delete-complete";
1632
+ readonly delete_failed: "delete-failed";
1633
+ readonly delete_in_progress: "delete-in-progress";
1634
+ readonly modify_complete: "modify-complete";
1635
+ readonly modify_failed: "modify-failed";
1636
+ readonly modify_in_progress: "modify-in-progress";
1637
+ readonly restore_complete: "restore-complete";
1638
+ readonly restore_failed: "restore-failed";
1639
+ readonly restore_in_progress: "restore-in-progress";
1640
+ };
1641
+ export type PrefixListState =
1642
+ (typeof PrefixListState)[keyof typeof PrefixListState];
1539
1643
  export interface ManagedPrefixList {
1540
1644
  PrefixListId?: string;
1541
1645
  AddressFamily?: string;
@@ -1551,10 +1655,12 @@ export interface ManagedPrefixList {
1551
1655
  export interface CreateManagedPrefixListResult {
1552
1656
  PrefixList?: ManagedPrefixList;
1553
1657
  }
1554
- export declare enum ConnectivityType {
1555
- PRIVATE = "private",
1556
- PUBLIC = "public",
1557
- }
1658
+ export declare const ConnectivityType: {
1659
+ readonly PRIVATE: "private";
1660
+ readonly PUBLIC: "public";
1661
+ };
1662
+ export type ConnectivityType =
1663
+ (typeof ConnectivityType)[keyof typeof ConnectivityType];
1558
1664
  export interface CreateNatGatewayRequest {
1559
1665
  AllocationId?: string;
1560
1666
  ClientToken?: string;
@@ -1574,13 +1680,15 @@ export interface ProvisionedBandwidth {
1574
1680
  Requested?: string;
1575
1681
  Status?: string;
1576
1682
  }
1577
- export declare enum NatGatewayState {
1578
- AVAILABLE = "available",
1579
- DELETED = "deleted",
1580
- DELETING = "deleting",
1581
- FAILED = "failed",
1582
- PENDING = "pending",
1583
- }
1683
+ export declare const NatGatewayState: {
1684
+ readonly AVAILABLE: "available";
1685
+ readonly DELETED: "deleted";
1686
+ readonly DELETING: "deleting";
1687
+ readonly FAILED: "failed";
1688
+ readonly PENDING: "pending";
1689
+ };
1690
+ export type NatGatewayState =
1691
+ (typeof NatGatewayState)[keyof typeof NatGatewayState];
1584
1692
  export interface NatGateway {
1585
1693
  CreateTime?: Date;
1586
1694
  DeleteTime?: Date;
@@ -1613,10 +1721,11 @@ export interface IcmpTypeCode {
1613
1721
  Code?: number;
1614
1722
  Type?: number;
1615
1723
  }
1616
- export declare enum RuleAction {
1617
- allow = "allow",
1618
- deny = "deny",
1619
- }
1724
+ export declare const RuleAction: {
1725
+ readonly allow: "allow";
1726
+ readonly deny: "deny";
1727
+ };
1728
+ export type RuleAction = (typeof RuleAction)[keyof typeof RuleAction];
1620
1729
  export interface NetworkAclEntry {
1621
1730
  CidrBlock?: string;
1622
1731
  Egress?: boolean;
@@ -1726,11 +1835,13 @@ export interface NetworkInsightsPath {
1726
1835
  export interface CreateNetworkInsightsPathResult {
1727
1836
  NetworkInsightsPath?: NetworkInsightsPath;
1728
1837
  }
1729
- export declare enum NetworkInterfaceCreationType {
1730
- branch = "branch",
1731
- efa = "efa",
1732
- trunk = "trunk",
1733
- }
1838
+ export declare const NetworkInterfaceCreationType: {
1839
+ readonly branch: "branch";
1840
+ readonly efa: "efa";
1841
+ readonly trunk: "trunk";
1842
+ };
1843
+ export type NetworkInterfaceCreationType =
1844
+ (typeof NetworkInterfaceCreationType)[keyof typeof NetworkInterfaceCreationType];
1734
1845
  export interface CreateNetworkInterfaceRequest {
1735
1846
  Description?: string;
1736
1847
  DryRun?: boolean;
@@ -1780,25 +1891,27 @@ export interface GroupIdentifier {
1780
1891
  GroupName?: string;
1781
1892
  GroupId?: string;
1782
1893
  }
1783
- export declare enum NetworkInterfaceType {
1784
- api_gateway_managed = "api_gateway_managed",
1785
- aws_codestar_connections_managed = "aws_codestar_connections_managed",
1786
- branch = "branch",
1787
- efa = "efa",
1788
- gateway_load_balancer = "gateway_load_balancer",
1789
- gateway_load_balancer_endpoint = "gateway_load_balancer_endpoint",
1790
- global_accelerator_managed = "global_accelerator_managed",
1791
- interface = "interface",
1792
- iot_rules_managed = "iot_rules_managed",
1793
- lambda = "lambda",
1794
- load_balancer = "load_balancer",
1795
- natGateway = "natGateway",
1796
- network_load_balancer = "network_load_balancer",
1797
- quicksight = "quicksight",
1798
- transit_gateway = "transit_gateway",
1799
- trunk = "trunk",
1800
- vpc_endpoint = "vpc_endpoint",
1801
- }
1894
+ export declare const NetworkInterfaceType: {
1895
+ readonly api_gateway_managed: "api_gateway_managed";
1896
+ readonly aws_codestar_connections_managed: "aws_codestar_connections_managed";
1897
+ readonly branch: "branch";
1898
+ readonly efa: "efa";
1899
+ readonly gateway_load_balancer: "gateway_load_balancer";
1900
+ readonly gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint";
1901
+ readonly global_accelerator_managed: "global_accelerator_managed";
1902
+ readonly interface: "interface";
1903
+ readonly iot_rules_managed: "iot_rules_managed";
1904
+ readonly lambda: "lambda";
1905
+ readonly load_balancer: "load_balancer";
1906
+ readonly natGateway: "natGateway";
1907
+ readonly network_load_balancer: "network_load_balancer";
1908
+ readonly quicksight: "quicksight";
1909
+ readonly transit_gateway: "transit_gateway";
1910
+ readonly trunk: "trunk";
1911
+ readonly vpc_endpoint: "vpc_endpoint";
1912
+ };
1913
+ export type NetworkInterfaceType =
1914
+ (typeof NetworkInterfaceType)[keyof typeof NetworkInterfaceType];
1802
1915
  export interface NetworkInterfaceIpv6Address {
1803
1916
  Ipv6Address?: string;
1804
1917
  }
@@ -1811,13 +1924,15 @@ export interface NetworkInterfacePrivateIpAddress {
1811
1924
  PrivateDnsName?: string;
1812
1925
  PrivateIpAddress?: string;
1813
1926
  }
1814
- export declare enum NetworkInterfaceStatus {
1815
- associated = "associated",
1816
- attaching = "attaching",
1817
- available = "available",
1818
- detaching = "detaching",
1819
- in_use = "in-use",
1820
- }
1927
+ export declare const NetworkInterfaceStatus: {
1928
+ readonly associated: "associated";
1929
+ readonly attaching: "attaching";
1930
+ readonly available: "available";
1931
+ readonly detaching: "detaching";
1932
+ readonly in_use: "in-use";
1933
+ };
1934
+ export type NetworkInterfaceStatus =
1935
+ (typeof NetworkInterfaceStatus)[keyof typeof NetworkInterfaceStatus];
1821
1936
  export interface NetworkInterface {
1822
1937
  Association?: NetworkInterfaceAssociation;
1823
1938
  Attachment?: NetworkInterfaceAttachment;
@@ -1850,10 +1965,12 @@ export interface CreateNetworkInterfaceResult {
1850
1965
  NetworkInterface?: NetworkInterface;
1851
1966
  ClientToken?: string;
1852
1967
  }
1853
- export declare enum InterfacePermissionType {
1854
- EIP_ASSOCIATE = "EIP-ASSOCIATE",
1855
- INSTANCE_ATTACH = "INSTANCE-ATTACH",
1856
- }
1968
+ export declare const InterfacePermissionType: {
1969
+ readonly EIP_ASSOCIATE: "EIP-ASSOCIATE";
1970
+ readonly INSTANCE_ATTACH: "INSTANCE-ATTACH";
1971
+ };
1972
+ export type InterfacePermissionType =
1973
+ (typeof InterfacePermissionType)[keyof typeof InterfacePermissionType];
1857
1974
  export interface CreateNetworkInterfacePermissionRequest {
1858
1975
  NetworkInterfaceId: string | undefined;
1859
1976
  AwsAccountId?: string;
@@ -1861,12 +1978,14 @@ export interface CreateNetworkInterfacePermissionRequest {
1861
1978
  Permission: InterfacePermissionType | string | undefined;
1862
1979
  DryRun?: boolean;
1863
1980
  }
1864
- export declare enum NetworkInterfacePermissionStateCode {
1865
- granted = "granted",
1866
- pending = "pending",
1867
- revoked = "revoked",
1868
- revoking = "revoking",
1869
- }
1981
+ export declare const NetworkInterfacePermissionStateCode: {
1982
+ readonly granted: "granted";
1983
+ readonly pending: "pending";
1984
+ readonly revoked: "revoked";
1985
+ readonly revoking: "revoking";
1986
+ };
1987
+ export type NetworkInterfacePermissionStateCode =
1988
+ (typeof NetworkInterfacePermissionStateCode)[keyof typeof NetworkInterfacePermissionStateCode];
1870
1989
  export interface NetworkInterfacePermissionState {
1871
1990
  State?: NetworkInterfacePermissionStateCode | string;
1872
1991
  StatusMessage?: string;
@@ -1882,15 +2001,18 @@ export interface NetworkInterfacePermission {
1882
2001
  export interface CreateNetworkInterfacePermissionResult {
1883
2002
  InterfacePermission?: NetworkInterfacePermission;
1884
2003
  }
1885
- export declare enum SpreadLevel {
1886
- host = "host",
1887
- rack = "rack",
1888
- }
1889
- export declare enum PlacementStrategy {
1890
- cluster = "cluster",
1891
- partition = "partition",
1892
- spread = "spread",
1893
- }
2004
+ export declare const SpreadLevel: {
2005
+ readonly host: "host";
2006
+ readonly rack: "rack";
2007
+ };
2008
+ export type SpreadLevel = (typeof SpreadLevel)[keyof typeof SpreadLevel];
2009
+ export declare const PlacementStrategy: {
2010
+ readonly cluster: "cluster";
2011
+ readonly partition: "partition";
2012
+ readonly spread: "spread";
2013
+ };
2014
+ export type PlacementStrategy =
2015
+ (typeof PlacementStrategy)[keyof typeof PlacementStrategy];
1894
2016
  export interface CreatePlacementGroupRequest {
1895
2017
  DryRun?: boolean;
1896
2018
  GroupName?: string;
@@ -1899,12 +2021,14 @@ export interface CreatePlacementGroupRequest {
1899
2021
  TagSpecifications?: TagSpecification[];
1900
2022
  SpreadLevel?: SpreadLevel | string;
1901
2023
  }
1902
- export declare enum PlacementGroupState {
1903
- available = "available",
1904
- deleted = "deleted",
1905
- deleting = "deleting",
1906
- pending = "pending",
1907
- }
2024
+ export declare const PlacementGroupState: {
2025
+ readonly available: "available";
2026
+ readonly deleted: "deleted";
2027
+ readonly deleting: "deleting";
2028
+ readonly pending: "pending";
2029
+ };
2030
+ export type PlacementGroupState =
2031
+ (typeof PlacementGroupState)[keyof typeof PlacementGroupState];
1908
2032
  export interface PlacementGroup {
1909
2033
  GroupName?: string;
1910
2034
  State?: PlacementGroupState | string;
@@ -1934,14 +2058,16 @@ export interface CreateReplaceRootVolumeTaskRequest {
1934
2058
  ImageId?: string;
1935
2059
  DeleteReplacedRootVolume?: boolean;
1936
2060
  }
1937
- export declare enum ReplaceRootVolumeTaskState {
1938
- failed = "failed",
1939
- failed_detached = "failed-detached",
1940
- failing = "failing",
1941
- in_progress = "in-progress",
1942
- pending = "pending",
1943
- succeeded = "succeeded",
1944
- }
2061
+ export declare const ReplaceRootVolumeTaskState: {
2062
+ readonly failed: "failed";
2063
+ readonly failed_detached: "failed-detached";
2064
+ readonly failing: "failing";
2065
+ readonly in_progress: "in-progress";
2066
+ readonly pending: "pending";
2067
+ readonly succeeded: "succeeded";
2068
+ };
2069
+ export type ReplaceRootVolumeTaskState =
2070
+ (typeof ReplaceRootVolumeTaskState)[keyof typeof ReplaceRootVolumeTaskState];
1945
2071
  export interface ReplaceRootVolumeTask {
1946
2072
  ReplaceRootVolumeTaskId?: string;
1947
2073
  InstanceId?: string;