@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
@@ -110,15 +110,17 @@ export interface RouteTableAssociation {
110
110
  export interface PropagatingVgw {
111
111
  GatewayId?: string;
112
112
  }
113
- export declare enum RouteOrigin {
114
- CreateRoute = "CreateRoute",
115
- CreateRouteTable = "CreateRouteTable",
116
- EnableVgwRoutePropagation = "EnableVgwRoutePropagation",
117
- }
118
- export declare enum RouteState {
119
- active = "active",
120
- blackhole = "blackhole",
121
- }
113
+ export declare const RouteOrigin: {
114
+ readonly CreateRoute: "CreateRoute";
115
+ readonly CreateRouteTable: "CreateRouteTable";
116
+ readonly EnableVgwRoutePropagation: "EnableVgwRoutePropagation";
117
+ };
118
+ export type RouteOrigin = (typeof RouteOrigin)[keyof typeof RouteOrigin];
119
+ export declare const RouteState: {
120
+ readonly active: "active";
121
+ readonly blackhole: "blackhole";
122
+ };
123
+ export type RouteState = (typeof RouteState)[keyof typeof RouteState];
122
124
  export interface Route {
123
125
  DestinationCidrBlock?: string;
124
126
  DestinationIpv6CidrBlock?: string;
@@ -167,17 +169,19 @@ export interface CreateSnapshotRequest {
167
169
  TagSpecifications?: TagSpecification[];
168
170
  DryRun?: boolean;
169
171
  }
170
- export declare enum SnapshotState {
171
- completed = "completed",
172
- error = "error",
173
- pending = "pending",
174
- recoverable = "recoverable",
175
- recovering = "recovering",
176
- }
177
- export declare enum StorageTier {
178
- archive = "archive",
179
- standard = "standard",
180
- }
172
+ export declare const SnapshotState: {
173
+ readonly completed: "completed";
174
+ readonly error: "error";
175
+ readonly pending: "pending";
176
+ readonly recoverable: "recoverable";
177
+ readonly recovering: "recovering";
178
+ };
179
+ export type SnapshotState = (typeof SnapshotState)[keyof typeof SnapshotState];
180
+ export declare const StorageTier: {
181
+ readonly archive: "archive";
182
+ readonly standard: "standard";
183
+ };
184
+ export type StorageTier = (typeof StorageTier)[keyof typeof StorageTier];
181
185
  export interface Snapshot {
182
186
  DataEncryptionKeyId?: string;
183
187
  Description?: string;
@@ -197,9 +201,11 @@ export interface Snapshot {
197
201
  StorageTier?: StorageTier | string;
198
202
  RestoreExpiryTime?: Date;
199
203
  }
200
- export declare enum CopyTagsFromSource {
201
- volume = "volume",
202
- }
204
+ export declare const CopyTagsFromSource: {
205
+ readonly volume: "volume";
206
+ };
207
+ export type CopyTagsFromSource =
208
+ (typeof CopyTagsFromSource)[keyof typeof CopyTagsFromSource];
203
209
  export interface InstanceSpecification {
204
210
  InstanceId: string | undefined;
205
211
  ExcludeBootVolume?: boolean;
@@ -238,10 +244,12 @@ export interface SpotInstanceStateFault {
238
244
  Code?: string;
239
245
  Message?: string;
240
246
  }
241
- export declare enum DatafeedSubscriptionState {
242
- Active = "Active",
243
- Inactive = "Inactive",
244
- }
247
+ export declare const DatafeedSubscriptionState: {
248
+ readonly Active: "Active";
249
+ readonly Inactive: "Inactive";
250
+ };
251
+ export type DatafeedSubscriptionState =
252
+ (typeof DatafeedSubscriptionState)[keyof typeof DatafeedSubscriptionState];
245
253
  export interface SpotDatafeedSubscription {
246
254
  Bucket?: string;
247
255
  Fault?: SpotInstanceStateFault;
@@ -279,10 +287,12 @@ export interface CreateSubnetRequest {
279
287
  export interface CreateSubnetResult {
280
288
  Subnet?: Subnet;
281
289
  }
282
- export declare enum SubnetCidrReservationType {
283
- explicit = "explicit",
284
- prefix = "prefix",
285
- }
290
+ export declare const SubnetCidrReservationType: {
291
+ readonly explicit: "explicit";
292
+ readonly prefix: "prefix";
293
+ };
294
+ export type SubnetCidrReservationType =
295
+ (typeof SubnetCidrReservationType)[keyof typeof SubnetCidrReservationType];
286
296
  export interface CreateSubnetCidrReservationRequest {
287
297
  SubnetId: string | undefined;
288
298
  Cidr: string | undefined;
@@ -318,14 +328,18 @@ export interface TrafficMirrorPortRange {
318
328
  FromPort?: number;
319
329
  ToPort?: number;
320
330
  }
321
- export declare enum TrafficMirrorRuleAction {
322
- accept = "accept",
323
- reject = "reject",
324
- }
325
- export declare enum TrafficDirection {
326
- egress = "egress",
327
- ingress = "ingress",
328
- }
331
+ export declare const TrafficMirrorRuleAction: {
332
+ readonly accept: "accept";
333
+ readonly reject: "reject";
334
+ };
335
+ export type TrafficMirrorRuleAction =
336
+ (typeof TrafficMirrorRuleAction)[keyof typeof TrafficMirrorRuleAction];
337
+ export declare const TrafficDirection: {
338
+ readonly egress: "egress";
339
+ readonly ingress: "ingress";
340
+ };
341
+ export type TrafficDirection =
342
+ (typeof TrafficDirection)[keyof typeof TrafficDirection];
329
343
  export interface TrafficMirrorFilterRule {
330
344
  TrafficMirrorFilterRuleId?: string;
331
345
  TrafficMirrorFilterId?: string;
@@ -339,9 +353,11 @@ export interface TrafficMirrorFilterRule {
339
353
  SourceCidrBlock?: string;
340
354
  Description?: string;
341
355
  }
342
- export declare enum TrafficMirrorNetworkService {
343
- amazon_dns = "amazon-dns",
344
- }
356
+ export declare const TrafficMirrorNetworkService: {
357
+ readonly amazon_dns: "amazon-dns";
358
+ };
359
+ export type TrafficMirrorNetworkService =
360
+ (typeof TrafficMirrorNetworkService)[keyof typeof TrafficMirrorNetworkService];
345
361
  export interface TrafficMirrorFilter {
346
362
  TrafficMirrorFilterId?: string;
347
363
  IngressFilterRules?: TrafficMirrorFilterRule[];
@@ -413,11 +429,13 @@ export interface CreateTrafficMirrorTargetRequest {
413
429
  ClientToken?: string;
414
430
  GatewayLoadBalancerEndpointId?: string;
415
431
  }
416
- export declare enum TrafficMirrorTargetType {
417
- gateway_load_balancer_endpoint = "gateway-load-balancer-endpoint",
418
- network_interface = "network-interface",
419
- network_load_balancer = "network-load-balancer",
420
- }
432
+ export declare const TrafficMirrorTargetType: {
433
+ readonly gateway_load_balancer_endpoint: "gateway-load-balancer-endpoint";
434
+ readonly network_interface: "network-interface";
435
+ readonly network_load_balancer: "network-load-balancer";
436
+ };
437
+ export type TrafficMirrorTargetType =
438
+ (typeof TrafficMirrorTargetType)[keyof typeof TrafficMirrorTargetType];
421
439
  export interface TrafficMirrorTarget {
422
440
  TrafficMirrorTargetId?: string;
423
441
  NetworkInterfaceId?: string;
@@ -432,26 +450,36 @@ export interface CreateTrafficMirrorTargetResult {
432
450
  TrafficMirrorTarget?: TrafficMirrorTarget;
433
451
  ClientToken?: string;
434
452
  }
435
- export declare enum AutoAcceptSharedAttachmentsValue {
436
- disable = "disable",
437
- enable = "enable",
438
- }
439
- export declare enum DefaultRouteTableAssociationValue {
440
- disable = "disable",
441
- enable = "enable",
442
- }
443
- export declare enum DefaultRouteTablePropagationValue {
444
- disable = "disable",
445
- enable = "enable",
446
- }
447
- export declare enum MulticastSupportValue {
448
- disable = "disable",
449
- enable = "enable",
450
- }
451
- export declare enum VpnEcmpSupportValue {
452
- disable = "disable",
453
- enable = "enable",
454
- }
453
+ export declare const AutoAcceptSharedAttachmentsValue: {
454
+ readonly disable: "disable";
455
+ readonly enable: "enable";
456
+ };
457
+ export type AutoAcceptSharedAttachmentsValue =
458
+ (typeof AutoAcceptSharedAttachmentsValue)[keyof typeof AutoAcceptSharedAttachmentsValue];
459
+ export declare const DefaultRouteTableAssociationValue: {
460
+ readonly disable: "disable";
461
+ readonly enable: "enable";
462
+ };
463
+ export type DefaultRouteTableAssociationValue =
464
+ (typeof DefaultRouteTableAssociationValue)[keyof typeof DefaultRouteTableAssociationValue];
465
+ export declare const DefaultRouteTablePropagationValue: {
466
+ readonly disable: "disable";
467
+ readonly enable: "enable";
468
+ };
469
+ export type DefaultRouteTablePropagationValue =
470
+ (typeof DefaultRouteTablePropagationValue)[keyof typeof DefaultRouteTablePropagationValue];
471
+ export declare const MulticastSupportValue: {
472
+ readonly disable: "disable";
473
+ readonly enable: "enable";
474
+ };
475
+ export type MulticastSupportValue =
476
+ (typeof MulticastSupportValue)[keyof typeof MulticastSupportValue];
477
+ export declare const VpnEcmpSupportValue: {
478
+ readonly disable: "disable";
479
+ readonly enable: "enable";
480
+ };
481
+ export type VpnEcmpSupportValue =
482
+ (typeof VpnEcmpSupportValue)[keyof typeof VpnEcmpSupportValue];
455
483
  export interface TransitGatewayRequestOptions {
456
484
  AmazonSideAsn?: number;
457
485
  AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | string;
@@ -480,13 +508,15 @@ export interface TransitGatewayOptions {
480
508
  DnsSupport?: DnsSupportValue | string;
481
509
  MulticastSupport?: MulticastSupportValue | string;
482
510
  }
483
- export declare enum TransitGatewayState {
484
- available = "available",
485
- deleted = "deleted",
486
- deleting = "deleting",
487
- modifying = "modifying",
488
- pending = "pending",
489
- }
511
+ export declare const TransitGatewayState: {
512
+ readonly available: "available";
513
+ readonly deleted: "deleted";
514
+ readonly deleting: "deleting";
515
+ readonly modifying: "modifying";
516
+ readonly pending: "pending";
517
+ };
518
+ export type TransitGatewayState =
519
+ (typeof TransitGatewayState)[keyof typeof TransitGatewayState];
490
520
  export interface TransitGateway {
491
521
  TransitGatewayId?: string;
492
522
  TransitGatewayArn?: string;
@@ -500,9 +530,10 @@ export interface TransitGateway {
500
530
  export interface CreateTransitGatewayResult {
501
531
  TransitGateway?: TransitGateway;
502
532
  }
503
- export declare enum ProtocolValue {
504
- gre = "gre",
505
- }
533
+ export declare const ProtocolValue: {
534
+ readonly gre: "gre";
535
+ };
536
+ export type ProtocolValue = (typeof ProtocolValue)[keyof typeof ProtocolValue];
506
537
  export interface CreateTransitGatewayConnectRequestOptions {
507
538
  Protocol: ProtocolValue | string | undefined;
508
539
  }
@@ -539,10 +570,11 @@ export interface CreateTransitGatewayConnectPeerRequest {
539
570
  TagSpecifications?: TagSpecification[];
540
571
  DryRun?: boolean;
541
572
  }
542
- export declare enum BgpStatus {
543
- down = "down",
544
- up = "up",
545
- }
573
+ export declare const BgpStatus: {
574
+ readonly down: "down";
575
+ readonly up: "up";
576
+ };
577
+ export type BgpStatus = (typeof BgpStatus)[keyof typeof BgpStatus];
546
578
  export interface TransitGatewayAttachmentBgpConfiguration {
547
579
  TransitGatewayAsn?: number;
548
580
  PeerAsn?: number;
@@ -557,12 +589,14 @@ export interface TransitGatewayConnectPeerConfiguration {
557
589
  Protocol?: ProtocolValue | string;
558
590
  BgpConfigurations?: TransitGatewayAttachmentBgpConfiguration[];
559
591
  }
560
- export declare enum TransitGatewayConnectPeerState {
561
- available = "available",
562
- deleted = "deleted",
563
- deleting = "deleting",
564
- pending = "pending",
565
- }
592
+ export declare const TransitGatewayConnectPeerState: {
593
+ readonly available: "available";
594
+ readonly deleted: "deleted";
595
+ readonly deleting: "deleting";
596
+ readonly pending: "pending";
597
+ };
598
+ export type TransitGatewayConnectPeerState =
599
+ (typeof TransitGatewayConnectPeerState)[keyof typeof TransitGatewayConnectPeerState];
566
600
  export interface TransitGatewayConnectPeer {
567
601
  TransitGatewayAttachmentId?: string;
568
602
  TransitGatewayConnectPeerId?: string;
@@ -574,18 +608,24 @@ export interface TransitGatewayConnectPeer {
574
608
  export interface CreateTransitGatewayConnectPeerResult {
575
609
  TransitGatewayConnectPeer?: TransitGatewayConnectPeer;
576
610
  }
577
- export declare enum AutoAcceptSharedAssociationsValue {
578
- disable = "disable",
579
- enable = "enable",
580
- }
581
- export declare enum Igmpv2SupportValue {
582
- disable = "disable",
583
- enable = "enable",
584
- }
585
- export declare enum StaticSourcesSupportValue {
586
- disable = "disable",
587
- enable = "enable",
588
- }
611
+ export declare const AutoAcceptSharedAssociationsValue: {
612
+ readonly disable: "disable";
613
+ readonly enable: "enable";
614
+ };
615
+ export type AutoAcceptSharedAssociationsValue =
616
+ (typeof AutoAcceptSharedAssociationsValue)[keyof typeof AutoAcceptSharedAssociationsValue];
617
+ export declare const Igmpv2SupportValue: {
618
+ readonly disable: "disable";
619
+ readonly enable: "enable";
620
+ };
621
+ export type Igmpv2SupportValue =
622
+ (typeof Igmpv2SupportValue)[keyof typeof Igmpv2SupportValue];
623
+ export declare const StaticSourcesSupportValue: {
624
+ readonly disable: "disable";
625
+ readonly enable: "enable";
626
+ };
627
+ export type StaticSourcesSupportValue =
628
+ (typeof StaticSourcesSupportValue)[keyof typeof StaticSourcesSupportValue];
589
629
  export interface CreateTransitGatewayMulticastDomainRequestOptions {
590
630
  Igmpv2Support?: Igmpv2SupportValue | string;
591
631
  StaticSourcesSupport?: StaticSourcesSupportValue | string;
@@ -602,12 +642,14 @@ export interface TransitGatewayMulticastDomainOptions {
602
642
  StaticSourcesSupport?: StaticSourcesSupportValue | string;
603
643
  AutoAcceptSharedAssociations?: AutoAcceptSharedAssociationsValue | string;
604
644
  }
605
- export declare enum TransitGatewayMulticastDomainState {
606
- available = "available",
607
- deleted = "deleted",
608
- deleting = "deleting",
609
- pending = "pending",
610
- }
645
+ export declare const TransitGatewayMulticastDomainState: {
646
+ readonly available: "available";
647
+ readonly deleted: "deleted";
648
+ readonly deleting: "deleting";
649
+ readonly pending: "pending";
650
+ };
651
+ export type TransitGatewayMulticastDomainState =
652
+ (typeof TransitGatewayMulticastDomainState)[keyof typeof TransitGatewayMulticastDomainState];
611
653
  export interface TransitGatewayMulticastDomain {
612
654
  TransitGatewayMulticastDomainId?: string;
613
655
  TransitGatewayId?: string;
@@ -641,12 +683,14 @@ export interface CreateTransitGatewayPolicyTableRequest {
641
683
  TagSpecifications?: TagSpecification[];
642
684
  DryRun?: boolean;
643
685
  }
644
- export declare enum TransitGatewayPolicyTableState {
645
- available = "available",
646
- deleted = "deleted",
647
- deleting = "deleting",
648
- pending = "pending",
649
- }
686
+ export declare const TransitGatewayPolicyTableState: {
687
+ readonly available: "available";
688
+ readonly deleted: "deleted";
689
+ readonly deleting: "deleting";
690
+ readonly pending: "pending";
691
+ };
692
+ export type TransitGatewayPolicyTableState =
693
+ (typeof TransitGatewayPolicyTableState)[keyof typeof TransitGatewayPolicyTableState];
650
694
  export interface TransitGatewayPolicyTable {
651
695
  TransitGatewayPolicyTableId?: string;
652
696
  TransitGatewayId?: string;
@@ -664,12 +708,14 @@ export interface CreateTransitGatewayPrefixListReferenceRequest {
664
708
  Blackhole?: boolean;
665
709
  DryRun?: boolean;
666
710
  }
667
- export declare enum TransitGatewayPrefixListReferenceState {
668
- available = "available",
669
- deleting = "deleting",
670
- modifying = "modifying",
671
- pending = "pending",
672
- }
711
+ export declare const TransitGatewayPrefixListReferenceState: {
712
+ readonly available: "available";
713
+ readonly deleting: "deleting";
714
+ readonly modifying: "modifying";
715
+ readonly pending: "pending";
716
+ };
717
+ export type TransitGatewayPrefixListReferenceState =
718
+ (typeof TransitGatewayPrefixListReferenceState)[keyof typeof TransitGatewayPrefixListReferenceState];
673
719
  export interface TransitGatewayPrefixListAttachment {
674
720
  TransitGatewayAttachmentId?: string;
675
721
  ResourceType?: TransitGatewayAttachmentResourceType | string;
@@ -693,22 +739,26 @@ export interface CreateTransitGatewayRouteRequest {
693
739
  Blackhole?: boolean;
694
740
  DryRun?: boolean;
695
741
  }
696
- export declare enum TransitGatewayRouteState {
697
- active = "active",
698
- blackhole = "blackhole",
699
- deleted = "deleted",
700
- deleting = "deleting",
701
- pending = "pending",
702
- }
742
+ export declare const TransitGatewayRouteState: {
743
+ readonly active: "active";
744
+ readonly blackhole: "blackhole";
745
+ readonly deleted: "deleted";
746
+ readonly deleting: "deleting";
747
+ readonly pending: "pending";
748
+ };
749
+ export type TransitGatewayRouteState =
750
+ (typeof TransitGatewayRouteState)[keyof typeof TransitGatewayRouteState];
703
751
  export interface TransitGatewayRouteAttachment {
704
752
  ResourceId?: string;
705
753
  TransitGatewayAttachmentId?: string;
706
754
  ResourceType?: TransitGatewayAttachmentResourceType | string;
707
755
  }
708
- export declare enum TransitGatewayRouteType {
709
- propagated = "propagated",
710
- static = "static",
711
- }
756
+ export declare const TransitGatewayRouteType: {
757
+ readonly propagated: "propagated";
758
+ readonly static: "static";
759
+ };
760
+ export type TransitGatewayRouteType =
761
+ (typeof TransitGatewayRouteType)[keyof typeof TransitGatewayRouteType];
712
762
  export interface TransitGatewayRoute {
713
763
  DestinationCidrBlock?: string;
714
764
  PrefixListId?: string;
@@ -725,12 +775,14 @@ export interface CreateTransitGatewayRouteTableRequest {
725
775
  TagSpecifications?: TagSpecification[];
726
776
  DryRun?: boolean;
727
777
  }
728
- export declare enum TransitGatewayRouteTableState {
729
- available = "available",
730
- deleted = "deleted",
731
- deleting = "deleting",
732
- pending = "pending",
733
- }
778
+ export declare const TransitGatewayRouteTableState: {
779
+ readonly available: "available";
780
+ readonly deleted: "deleted";
781
+ readonly deleting: "deleting";
782
+ readonly pending: "pending";
783
+ };
784
+ export type TransitGatewayRouteTableState =
785
+ (typeof TransitGatewayRouteTableState)[keyof typeof TransitGatewayRouteTableState];
734
786
  export interface TransitGatewayRouteTable {
735
787
  TransitGatewayRouteTableId?: string;
736
788
  TransitGatewayId?: string;
@@ -749,18 +801,22 @@ export interface CreateTransitGatewayRouteTableAnnouncementRequest {
749
801
  TagSpecifications?: TagSpecification[];
750
802
  DryRun?: boolean;
751
803
  }
752
- export declare enum TransitGatewayRouteTableAnnouncementDirection {
753
- incoming = "incoming",
754
- outgoing = "outgoing",
755
- }
756
- export declare enum TransitGatewayRouteTableAnnouncementState {
757
- available = "available",
758
- deleted = "deleted",
759
- deleting = "deleting",
760
- failed = "failed",
761
- failing = "failing",
762
- pending = "pending",
763
- }
804
+ export declare const TransitGatewayRouteTableAnnouncementDirection: {
805
+ readonly incoming: "incoming";
806
+ readonly outgoing: "outgoing";
807
+ };
808
+ export type TransitGatewayRouteTableAnnouncementDirection =
809
+ (typeof TransitGatewayRouteTableAnnouncementDirection)[keyof typeof TransitGatewayRouteTableAnnouncementDirection];
810
+ export declare const TransitGatewayRouteTableAnnouncementState: {
811
+ readonly available: "available";
812
+ readonly deleted: "deleted";
813
+ readonly deleting: "deleting";
814
+ readonly failed: "failed";
815
+ readonly failing: "failing";
816
+ readonly pending: "pending";
817
+ };
818
+ export type TransitGatewayRouteTableAnnouncementState =
819
+ (typeof TransitGatewayRouteTableAnnouncementState)[keyof typeof TransitGatewayRouteTableAnnouncementState];
764
820
  export interface TransitGatewayRouteTableAnnouncement {
765
821
  TransitGatewayRouteTableAnnouncementId?: string;
766
822
  TransitGatewayId?: string;
@@ -795,17 +851,23 @@ export interface CreateTransitGatewayVpcAttachmentRequest {
795
851
  export interface CreateTransitGatewayVpcAttachmentResult {
796
852
  TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment;
797
853
  }
798
- export declare enum VerifiedAccessEndpointAttachmentType {
799
- vpc = "vpc",
800
- }
801
- export declare enum VerifiedAccessEndpointType {
802
- load_balancer = "load-balancer",
803
- network_interface = "network-interface",
804
- }
805
- export declare enum VerifiedAccessEndpointProtocol {
806
- http = "http",
807
- https = "https",
808
- }
854
+ export declare const VerifiedAccessEndpointAttachmentType: {
855
+ readonly vpc: "vpc";
856
+ };
857
+ export type VerifiedAccessEndpointAttachmentType =
858
+ (typeof VerifiedAccessEndpointAttachmentType)[keyof typeof VerifiedAccessEndpointAttachmentType];
859
+ export declare const VerifiedAccessEndpointType: {
860
+ readonly load_balancer: "load-balancer";
861
+ readonly network_interface: "network-interface";
862
+ };
863
+ export type VerifiedAccessEndpointType =
864
+ (typeof VerifiedAccessEndpointType)[keyof typeof VerifiedAccessEndpointType];
865
+ export declare const VerifiedAccessEndpointProtocol: {
866
+ readonly http: "http";
867
+ readonly https: "https";
868
+ };
869
+ export type VerifiedAccessEndpointProtocol =
870
+ (typeof VerifiedAccessEndpointProtocol)[keyof typeof VerifiedAccessEndpointProtocol];
809
871
  export interface CreateVerifiedAccessEndpointLoadBalancerOptions {
810
872
  Protocol?: VerifiedAccessEndpointProtocol | string;
811
873
  Port?: number;
@@ -844,13 +906,15 @@ export interface VerifiedAccessEndpointEniOptions {
844
906
  Protocol?: VerifiedAccessEndpointProtocol | string;
845
907
  Port?: number;
846
908
  }
847
- export declare enum VerifiedAccessEndpointStatusCode {
848
- active = "active",
849
- deleted = "deleted",
850
- deleting = "deleting",
851
- pending = "pending",
852
- updating = "updating",
853
- }
909
+ export declare const VerifiedAccessEndpointStatusCode: {
910
+ readonly active: "active";
911
+ readonly deleted: "deleted";
912
+ readonly deleting: "deleting";
913
+ readonly pending: "pending";
914
+ readonly updating: "updating";
915
+ };
916
+ export type VerifiedAccessEndpointStatusCode =
917
+ (typeof VerifiedAccessEndpointStatusCode)[keyof typeof VerifiedAccessEndpointStatusCode];
854
918
  export interface VerifiedAccessEndpointStatus {
855
919
  Code?: VerifiedAccessEndpointStatusCode | string;
856
920
  Message?: string;
@@ -951,14 +1015,15 @@ export interface CreateVolumeRequest {
951
1015
  Throughput?: number;
952
1016
  ClientToken?: string;
953
1017
  }
954
- export declare enum VolumeState {
955
- available = "available",
956
- creating = "creating",
957
- deleted = "deleted",
958
- deleting = "deleting",
959
- error = "error",
960
- in_use = "in-use",
961
- }
1018
+ export declare const VolumeState: {
1019
+ readonly available: "available";
1020
+ readonly creating: "creating";
1021
+ readonly deleted: "deleted";
1022
+ readonly deleting: "deleting";
1023
+ readonly error: "error";
1024
+ readonly in_use: "in-use";
1025
+ };
1026
+ export type VolumeState = (typeof VolumeState)[keyof typeof VolumeState];
962
1027
  export interface Volume {
963
1028
  Attachments?: VolumeAttachment[];
964
1029
  AvailabilityZone?: string;
@@ -994,26 +1059,31 @@ export interface CreateVpcRequest {
994
1059
  export interface CreateVpcResult {
995
1060
  Vpc?: Vpc;
996
1061
  }
997
- export declare enum DnsRecordIpType {
998
- dualstack = "dualstack",
999
- ipv4 = "ipv4",
1000
- ipv6 = "ipv6",
1001
- service_defined = "service-defined",
1002
- }
1062
+ export declare const DnsRecordIpType: {
1063
+ readonly dualstack: "dualstack";
1064
+ readonly ipv4: "ipv4";
1065
+ readonly ipv6: "ipv6";
1066
+ readonly service_defined: "service-defined";
1067
+ };
1068
+ export type DnsRecordIpType =
1069
+ (typeof DnsRecordIpType)[keyof typeof DnsRecordIpType];
1003
1070
  export interface DnsOptionsSpecification {
1004
1071
  DnsRecordIpType?: DnsRecordIpType | string;
1005
1072
  PrivateDnsOnlyForInboundResolverEndpoint?: boolean;
1006
1073
  }
1007
- export declare enum IpAddressType {
1008
- dualstack = "dualstack",
1009
- ipv4 = "ipv4",
1010
- ipv6 = "ipv6",
1011
- }
1012
- export declare enum VpcEndpointType {
1013
- Gateway = "Gateway",
1014
- GatewayLoadBalancer = "GatewayLoadBalancer",
1015
- Interface = "Interface",
1016
- }
1074
+ export declare const IpAddressType: {
1075
+ readonly dualstack: "dualstack";
1076
+ readonly ipv4: "ipv4";
1077
+ readonly ipv6: "ipv6";
1078
+ };
1079
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
1080
+ export declare const VpcEndpointType: {
1081
+ readonly Gateway: "Gateway";
1082
+ readonly GatewayLoadBalancer: "GatewayLoadBalancer";
1083
+ readonly Interface: "Interface";
1084
+ };
1085
+ export type VpcEndpointType =
1086
+ (typeof VpcEndpointType)[keyof typeof VpcEndpointType];
1017
1087
  export interface CreateVpcEndpointRequest {
1018
1088
  DryRun?: boolean;
1019
1089
  VpcEndpointType?: VpcEndpointType | string;
@@ -1045,16 +1115,17 @@ export interface LastError {
1045
1115
  Message?: string;
1046
1116
  Code?: string;
1047
1117
  }
1048
- export declare enum State {
1049
- Available = "Available",
1050
- Deleted = "Deleted",
1051
- Deleting = "Deleting",
1052
- Expired = "Expired",
1053
- Failed = "Failed",
1054
- Pending = "Pending",
1055
- PendingAcceptance = "PendingAcceptance",
1056
- Rejected = "Rejected",
1057
- }
1118
+ export declare const State: {
1119
+ readonly Available: "Available";
1120
+ readonly Deleted: "Deleted";
1121
+ readonly Deleting: "Deleting";
1122
+ readonly Expired: "Expired";
1123
+ readonly Failed: "Failed";
1124
+ readonly Pending: "Pending";
1125
+ readonly PendingAcceptance: "PendingAcceptance";
1126
+ readonly Rejected: "Rejected";
1127
+ };
1128
+ export type State = (typeof State)[keyof typeof State];
1058
1129
  export interface VpcEndpoint {
1059
1130
  VpcEndpointId?: string;
1060
1131
  VpcEndpointType?: VpcEndpointType | string;
@@ -1088,13 +1159,17 @@ export interface CreateVpcEndpointConnectionNotificationRequest {
1088
1159
  ConnectionEvents: string[] | undefined;
1089
1160
  ClientToken?: string;
1090
1161
  }
1091
- export declare enum ConnectionNotificationState {
1092
- Disabled = "Disabled",
1093
- Enabled = "Enabled",
1094
- }
1095
- export declare enum ConnectionNotificationType {
1096
- Topic = "Topic",
1097
- }
1162
+ export declare const ConnectionNotificationState: {
1163
+ readonly Disabled: "Disabled";
1164
+ readonly Enabled: "Enabled";
1165
+ };
1166
+ export type ConnectionNotificationState =
1167
+ (typeof ConnectionNotificationState)[keyof typeof ConnectionNotificationState];
1168
+ export declare const ConnectionNotificationType: {
1169
+ readonly Topic: "Topic";
1170
+ };
1171
+ export type ConnectionNotificationType =
1172
+ (typeof ConnectionNotificationType)[keyof typeof ConnectionNotificationType];
1098
1173
  export interface ConnectionNotification {
1099
1174
  ConnectionNotificationId?: string;
1100
1175
  ServiceId?: string;
@@ -1118,39 +1193,46 @@ export interface CreateVpcEndpointServiceConfigurationRequest {
1118
1193
  ClientToken?: string;
1119
1194
  TagSpecifications?: TagSpecification[];
1120
1195
  }
1121
- export declare enum PayerResponsibility {
1122
- ServiceOwner = "ServiceOwner",
1123
- }
1124
- export declare enum DnsNameState {
1125
- Failed = "failed",
1126
- PendingVerification = "pendingVerification",
1127
- Verified = "verified",
1128
- }
1196
+ export declare const PayerResponsibility: {
1197
+ readonly ServiceOwner: "ServiceOwner";
1198
+ };
1199
+ export type PayerResponsibility =
1200
+ (typeof PayerResponsibility)[keyof typeof PayerResponsibility];
1201
+ export declare const DnsNameState: {
1202
+ readonly Failed: "failed";
1203
+ readonly PendingVerification: "pendingVerification";
1204
+ readonly Verified: "verified";
1205
+ };
1206
+ export type DnsNameState = (typeof DnsNameState)[keyof typeof DnsNameState];
1129
1207
  export interface PrivateDnsNameConfiguration {
1130
1208
  State?: DnsNameState | string;
1131
1209
  Type?: string;
1132
1210
  Value?: string;
1133
1211
  Name?: string;
1134
1212
  }
1135
- export declare enum ServiceState {
1136
- Available = "Available",
1137
- Deleted = "Deleted",
1138
- Deleting = "Deleting",
1139
- Failed = "Failed",
1140
- Pending = "Pending",
1141
- }
1142
- export declare enum ServiceType {
1143
- Gateway = "Gateway",
1144
- GatewayLoadBalancer = "GatewayLoadBalancer",
1145
- Interface = "Interface",
1146
- }
1213
+ export declare const ServiceState: {
1214
+ readonly Available: "Available";
1215
+ readonly Deleted: "Deleted";
1216
+ readonly Deleting: "Deleting";
1217
+ readonly Failed: "Failed";
1218
+ readonly Pending: "Pending";
1219
+ };
1220
+ export type ServiceState = (typeof ServiceState)[keyof typeof ServiceState];
1221
+ export declare const ServiceType: {
1222
+ readonly Gateway: "Gateway";
1223
+ readonly GatewayLoadBalancer: "GatewayLoadBalancer";
1224
+ readonly Interface: "Interface";
1225
+ };
1226
+ export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
1147
1227
  export interface ServiceTypeDetail {
1148
1228
  ServiceType?: ServiceType | string;
1149
1229
  }
1150
- export declare enum ServiceConnectivityType {
1151
- ipv4 = "ipv4",
1152
- ipv6 = "ipv6",
1153
- }
1230
+ export declare const ServiceConnectivityType: {
1231
+ readonly ipv4: "ipv4";
1232
+ readonly ipv6: "ipv6";
1233
+ };
1234
+ export type ServiceConnectivityType =
1235
+ (typeof ServiceConnectivityType)[keyof typeof ServiceConnectivityType];
1154
1236
  export interface ServiceConfiguration {
1155
1237
  ServiceType?: ServiceTypeDetail[];
1156
1238
  ServiceId?: string;
@@ -1183,10 +1265,12 @@ export interface CreateVpcPeeringConnectionRequest {
1183
1265
  export interface CreateVpcPeeringConnectionResult {
1184
1266
  VpcPeeringConnection?: VpcPeeringConnection;
1185
1267
  }
1186
- export declare enum TunnelInsideIpVersion {
1187
- ipv4 = "ipv4",
1188
- ipv6 = "ipv6",
1189
- }
1268
+ export declare const TunnelInsideIpVersion: {
1269
+ readonly ipv4: "ipv4";
1270
+ readonly ipv6: "ipv6";
1271
+ };
1272
+ export type TunnelInsideIpVersion =
1273
+ (typeof TunnelInsideIpVersion)[keyof typeof TunnelInsideIpVersion];
1190
1274
  export interface IKEVersionsRequestListValue {
1191
1275
  Value?: string;
1192
1276
  }
@@ -1236,6 +1320,7 @@ export interface VpnTunnelOptionsSpecification {
1236
1320
  IKEVersions?: IKEVersionsRequestListValue[];
1237
1321
  StartupAction?: string;
1238
1322
  LogOptions?: VpnTunnelLogOptionsSpecification;
1323
+ EnableTunnelLifecycleControl?: boolean;
1239
1324
  }
1240
1325
  export interface VpnConnectionOptionsSpecification {
1241
1326
  EnableAcceleration?: boolean;
@@ -1258,12 +1343,14 @@ export interface CreateVpnConnectionRequest {
1258
1343
  Options?: VpnConnectionOptionsSpecification;
1259
1344
  TagSpecifications?: TagSpecification[];
1260
1345
  }
1261
- export declare enum GatewayAssociationState {
1262
- associated = "associated",
1263
- associating = "associating",
1264
- disassociating = "disassociating",
1265
- not_associated = "not-associated",
1266
- }
1346
+ export declare const GatewayAssociationState: {
1347
+ readonly associated: "associated";
1348
+ readonly associating: "associating";
1349
+ readonly disassociating: "disassociating";
1350
+ readonly not_associated: "not-associated";
1351
+ };
1352
+ export type GatewayAssociationState =
1353
+ (typeof GatewayAssociationState)[keyof typeof GatewayAssociationState];
1267
1354
  export interface IKEVersionsListValue {
1268
1355
  Value?: string;
1269
1356
  }
@@ -1314,6 +1401,7 @@ export interface TunnelOption {
1314
1401
  IkeVersions?: IKEVersionsListValue[];
1315
1402
  StartupAction?: string;
1316
1403
  LogOptions?: VpnTunnelLogOptions;
1404
+ EnableTunnelLifecycleControl?: boolean;
1317
1405
  }
1318
1406
  export interface VpnConnectionOptions {
1319
1407
  EnableAcceleration?: boolean;
@@ -1327,24 +1415,29 @@ export interface VpnConnectionOptions {
1327
1415
  TunnelInsideIpVersion?: TunnelInsideIpVersion | string;
1328
1416
  TunnelOptions?: TunnelOption[];
1329
1417
  }
1330
- export declare enum VpnStaticRouteSource {
1331
- Static = "Static",
1332
- }
1333
- export declare enum VpnState {
1334
- available = "available",
1335
- deleted = "deleted",
1336
- deleting = "deleting",
1337
- pending = "pending",
1338
- }
1418
+ export declare const VpnStaticRouteSource: {
1419
+ readonly Static: "Static";
1420
+ };
1421
+ export type VpnStaticRouteSource =
1422
+ (typeof VpnStaticRouteSource)[keyof typeof VpnStaticRouteSource];
1423
+ export declare const VpnState: {
1424
+ readonly available: "available";
1425
+ readonly deleted: "deleted";
1426
+ readonly deleting: "deleting";
1427
+ readonly pending: "pending";
1428
+ };
1429
+ export type VpnState = (typeof VpnState)[keyof typeof VpnState];
1339
1430
  export interface VpnStaticRoute {
1340
1431
  DestinationCidrBlock?: string;
1341
1432
  Source?: VpnStaticRouteSource | string;
1342
1433
  State?: VpnState | string;
1343
1434
  }
1344
- export declare enum TelemetryStatus {
1345
- DOWN = "DOWN",
1346
- UP = "UP",
1347
- }
1435
+ export declare const TelemetryStatus: {
1436
+ readonly DOWN: "DOWN";
1437
+ readonly UP: "UP";
1438
+ };
1439
+ export type TelemetryStatus =
1440
+ (typeof TelemetryStatus)[keyof typeof TelemetryStatus];
1348
1441
  export interface VgwTelemetry {
1349
1442
  AcceptedRouteCount?: number;
1350
1443
  LastStatusChange?: Date;
@@ -1454,26 +1547,30 @@ export interface DeleteFleetsRequest {
1454
1547
  FleetIds: string[] | undefined;
1455
1548
  TerminateInstances: boolean | undefined;
1456
1549
  }
1457
- export declare enum FleetStateCode {
1458
- ACTIVE = "active",
1459
- DELETED = "deleted",
1460
- DELETED_RUNNING = "deleted_running",
1461
- DELETED_TERMINATING_INSTANCES = "deleted_terminating",
1462
- FAILED = "failed",
1463
- MODIFYING = "modifying",
1464
- SUBMITTED = "submitted",
1465
- }
1550
+ export declare const FleetStateCode: {
1551
+ readonly ACTIVE: "active";
1552
+ readonly DELETED: "deleted";
1553
+ readonly DELETED_RUNNING: "deleted_running";
1554
+ readonly DELETED_TERMINATING_INSTANCES: "deleted_terminating";
1555
+ readonly FAILED: "failed";
1556
+ readonly MODIFYING: "modifying";
1557
+ readonly SUBMITTED: "submitted";
1558
+ };
1559
+ export type FleetStateCode =
1560
+ (typeof FleetStateCode)[keyof typeof FleetStateCode];
1466
1561
  export interface DeleteFleetSuccessItem {
1467
1562
  CurrentFleetState?: FleetStateCode | string;
1468
1563
  PreviousFleetState?: FleetStateCode | string;
1469
1564
  FleetId?: string;
1470
1565
  }
1471
- export declare enum DeleteFleetErrorCode {
1472
- FLEET_ID_DOES_NOT_EXIST = "fleetIdDoesNotExist",
1473
- FLEET_ID_MALFORMED = "fleetIdMalformed",
1474
- FLEET_NOT_IN_DELETABLE_STATE = "fleetNotInDeletableState",
1475
- UNEXPECTED_ERROR = "unexpectedError",
1476
- }
1566
+ export declare const DeleteFleetErrorCode: {
1567
+ readonly FLEET_ID_DOES_NOT_EXIST: "fleetIdDoesNotExist";
1568
+ readonly FLEET_ID_MALFORMED: "fleetIdMalformed";
1569
+ readonly FLEET_NOT_IN_DELETABLE_STATE: "fleetNotInDeletableState";
1570
+ readonly UNEXPECTED_ERROR: "unexpectedError";
1571
+ };
1572
+ export type DeleteFleetErrorCode =
1573
+ (typeof DeleteFleetErrorCode)[keyof typeof DeleteFleetErrorCode];
1477
1574
  export interface DeleteFleetError {
1478
1575
  Code?: DeleteFleetErrorCode | string;
1479
1576
  Message?: string;
@@ -1569,14 +1666,16 @@ export interface DeleteLaunchTemplateVersionsResponseSuccessItem {
1569
1666
  LaunchTemplateName?: string;
1570
1667
  VersionNumber?: number;
1571
1668
  }
1572
- export declare enum LaunchTemplateErrorCode {
1573
- LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST = "launchTemplateIdDoesNotExist",
1574
- LAUNCH_TEMPLATE_ID_MALFORMED = "launchTemplateIdMalformed",
1575
- LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST = "launchTemplateNameDoesNotExist",
1576
- LAUNCH_TEMPLATE_NAME_MALFORMED = "launchTemplateNameMalformed",
1577
- LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST = "launchTemplateVersionDoesNotExist",
1578
- UNEXPECTED_ERROR = "unexpectedError",
1579
- }
1669
+ export declare const LaunchTemplateErrorCode: {
1670
+ readonly LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST: "launchTemplateIdDoesNotExist";
1671
+ readonly LAUNCH_TEMPLATE_ID_MALFORMED: "launchTemplateIdMalformed";
1672
+ readonly LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST: "launchTemplateNameDoesNotExist";
1673
+ readonly LAUNCH_TEMPLATE_NAME_MALFORMED: "launchTemplateNameMalformed";
1674
+ readonly LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST: "launchTemplateVersionDoesNotExist";
1675
+ readonly UNEXPECTED_ERROR: "unexpectedError";
1676
+ };
1677
+ export type LaunchTemplateErrorCode =
1678
+ (typeof LaunchTemplateErrorCode)[keyof typeof LaunchTemplateErrorCode];
1580
1679
  export interface ResponseError {
1581
1680
  Code?: LaunchTemplateErrorCode | string;
1582
1681
  Message?: string;
@@ -1700,11 +1799,13 @@ export interface DeleteQueuedReservedInstancesRequest {
1700
1799
  DryRun?: boolean;
1701
1800
  ReservedInstancesIds: string[] | undefined;
1702
1801
  }
1703
- export declare enum DeleteQueuedReservedInstancesErrorCode {
1704
- RESERVED_INSTANCES_ID_INVALID = "reserved-instances-id-invalid",
1705
- RESERVED_INSTANCES_NOT_IN_QUEUED_STATE = "reserved-instances-not-in-queued-state",
1706
- UNEXPECTED_ERROR = "unexpected-error",
1707
- }
1802
+ export declare const DeleteQueuedReservedInstancesErrorCode: {
1803
+ readonly RESERVED_INSTANCES_ID_INVALID: "reserved-instances-id-invalid";
1804
+ readonly RESERVED_INSTANCES_NOT_IN_QUEUED_STATE: "reserved-instances-not-in-queued-state";
1805
+ readonly UNEXPECTED_ERROR: "unexpected-error";
1806
+ };
1807
+ export type DeleteQueuedReservedInstancesErrorCode =
1808
+ (typeof DeleteQueuedReservedInstancesErrorCode)[keyof typeof DeleteQueuedReservedInstancesErrorCode];
1708
1809
  export interface DeleteQueuedReservedInstancesError {
1709
1810
  Code?: DeleteQueuedReservedInstancesErrorCode | string;
1710
1811
  Message?: string;