@aws-sdk/client-ec2 3.172.0 → 3.175.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 (80) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/commands/CreateDefaultVpcCommand.js +2 -1
  3. package/dist-cjs/commands/CreateDhcpOptionsCommand.js +1 -2
  4. package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  5. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
  6. package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeAddressesCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeLocalGatewaysCommand.js +2 -1
  10. package/dist-cjs/commands/MonitorInstancesCommand.js +1 -2
  11. package/dist-cjs/models/models_0.js +28 -28
  12. package/dist-cjs/models/models_1.js +25 -25
  13. package/dist-cjs/models/models_2.js +26 -26
  14. package/dist-cjs/models/models_3.js +25 -25
  15. package/dist-cjs/models/models_4.js +26 -26
  16. package/dist-cjs/models/models_5.js +14 -14
  17. package/dist-cjs/models/models_6.js +12 -4
  18. package/dist-cjs/protocols/Aws_ec2.js +50 -0
  19. package/dist-es/commands/CreateDefaultVpcCommand.js +2 -1
  20. package/dist-es/commands/CreateDhcpOptionsCommand.js +1 -2
  21. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  22. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
  23. package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
  24. package/dist-es/commands/DescribeAddressesCommand.js +1 -1
  25. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -1
  26. package/dist-es/commands/DescribeLocalGatewaysCommand.js +2 -1
  27. package/dist-es/commands/MonitorInstancesCommand.js +1 -2
  28. package/dist-es/models/models_0.js +9 -6
  29. package/dist-es/models/models_1.js +5 -8
  30. package/dist-es/models/models_2.js +8 -5
  31. package/dist-es/models/models_3.js +5 -5
  32. package/dist-es/models/models_4.js +5 -5
  33. package/dist-es/models/models_5.js +2 -2
  34. package/dist-es/models/models_6.js +2 -0
  35. package/dist-es/protocols/Aws_ec2.js +50 -0
  36. package/dist-types/EC2.d.ts +13 -30
  37. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -1
  38. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
  39. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -1
  40. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -2
  41. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
  44. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeLocalGatewaysCommand.d.ts +2 -1
  46. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
  47. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
  48. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
  49. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
  50. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
  51. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
  52. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  53. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
  54. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
  55. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  56. package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
  57. package/dist-types/models/models_0.d.ts +323 -91
  58. package/dist-types/models/models_1.d.ts +112 -141
  59. package/dist-types/models/models_2.d.ts +125 -148
  60. package/dist-types/models/models_3.d.ts +163 -146
  61. package/dist-types/models/models_4.d.ts +233 -347
  62. package/dist-types/models/models_5.d.ts +45 -43
  63. package/dist-types/models/models_6.d.ts +44 -10
  64. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeLocalGatewaysCommand.d.ts +2 -4
  72. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/models/models_0.d.ts +92 -42
  74. package/dist-types/ts3.4/models/models_1.d.ts +35 -46
  75. package/dist-types/ts3.4/models/models_2.d.ts +47 -40
  76. package/dist-types/ts3.4/models/models_3.d.ts +42 -48
  77. package/dist-types/ts3.4/models/models_4.d.ts +46 -91
  78. package/dist-types/ts3.4/models/models_5.d.ts +19 -21
  79. package/dist-types/ts3.4/models/models_6.d.ts +17 -6
  80. package/package.json +1 -1
@@ -1,7 +1,120 @@
1
- import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AnalysisAclRule, AnalysisComponent, AnalysisRouteTableRoute, AnalysisSecurityGroupRule, AssociationStatus, AttributeValue, BatchState, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, PathComponent, PortRange, ReservedInstancesListing, ResourceType, SecurityGroupRule, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, Tenancy, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayRouteTableRoute, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, Vpc, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
- import { BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, TrafficMirrorFilter, VolumeType } from "./models_1";
3
- import { ConnectionNotification, DnsEntry, DnsNameState, Filter, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
- import { AttributeBooleanValue, EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, IdFormat, PermissionGroup, ProductCode } from "./models_3";
1
+ import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AssociationStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Subnet, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, Tenancy, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, Vpc, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
+ import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, SpotInstanceType, StorageTier, TargetCapacityUnitType, VolumeType } from "./models_1";
3
+ import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
+ import { AttributeBooleanValue, EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IdFormat, PermissionGroup, ProductCode } from "./models_3";
5
+ /**
6
+ * <p>Describes a local gateway.</p>
7
+ */
8
+ export interface LocalGateway {
9
+ /**
10
+ * <p>The ID of the local gateway.</p>
11
+ */
12
+ LocalGatewayId?: string;
13
+ /**
14
+ * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
15
+ */
16
+ OutpostArn?: string;
17
+ /**
18
+ * <p>The ID of the Amazon Web Services account that owns the local gateway.</p>
19
+ */
20
+ OwnerId?: string;
21
+ /**
22
+ * <p>The state of the local gateway.</p>
23
+ */
24
+ State?: string;
25
+ /**
26
+ * <p>The tags assigned to the local gateway.</p>
27
+ */
28
+ Tags?: Tag[];
29
+ }
30
+ export interface DescribeLocalGatewaysResult {
31
+ /**
32
+ * <p>Information about the local gateways.</p>
33
+ */
34
+ LocalGateways?: LocalGateway[];
35
+ /**
36
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
37
+ */
38
+ NextToken?: string;
39
+ }
40
+ export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest {
41
+ /**
42
+ * <p>The IDs of the virtual interface groups.</p>
43
+ */
44
+ LocalGatewayVirtualInterfaceGroupIds?: string[];
45
+ /**
46
+ * <p>One or more filters.</p>
47
+ * <ul>
48
+ * <li>
49
+ * <p>
50
+ * <code>local-gateway-id</code> - The ID of a local gateway.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <code>local-gateway-virtual-interface-group-id</code> - The ID of the virtual interface group.</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>local-gateway-virtual-interface-id</code> - The ID of the virtual interface.</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>
62
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual interface group.</p>
63
+ * </li>
64
+ * </ul>
65
+ */
66
+ Filters?: Filter[];
67
+ /**
68
+ * <p>The maximum number of results to return with a single call.
69
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
70
+ */
71
+ MaxResults?: number;
72
+ /**
73
+ * <p>The token for the next page of results.</p>
74
+ */
75
+ NextToken?: string;
76
+ /**
77
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
78
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
79
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
80
+ */
81
+ DryRun?: boolean;
82
+ }
83
+ /**
84
+ * <p>Describes a local gateway virtual interface group.</p>
85
+ */
86
+ export interface LocalGatewayVirtualInterfaceGroup {
87
+ /**
88
+ * <p>The ID of the virtual interface group.</p>
89
+ */
90
+ LocalGatewayVirtualInterfaceGroupId?: string;
91
+ /**
92
+ * <p>The IDs of the virtual interfaces.</p>
93
+ */
94
+ LocalGatewayVirtualInterfaceIds?: string[];
95
+ /**
96
+ * <p>The ID of the local gateway.</p>
97
+ */
98
+ LocalGatewayId?: string;
99
+ /**
100
+ * <p>The ID of the Amazon Web Services account that owns the local gateway virtual interface group.</p>
101
+ */
102
+ OwnerId?: string;
103
+ /**
104
+ * <p>The tags assigned to the virtual interface group.</p>
105
+ */
106
+ Tags?: Tag[];
107
+ }
108
+ export interface DescribeLocalGatewayVirtualInterfaceGroupsResult {
109
+ /**
110
+ * <p>The virtual interface groups.</p>
111
+ */
112
+ LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[];
113
+ /**
114
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
115
+ */
116
+ NextToken?: string;
117
+ }
5
118
  export interface DescribeLocalGatewayVirtualInterfacesRequest {
6
119
  /**
7
120
  * <p>The IDs of the virtual interfaces.</p>
@@ -569,10 +682,10 @@ export interface DescribeNetworkInsightsAnalysesRequest {
569
682
  * <p>The filters. The following are the possible values:</p>
570
683
  * <ul>
571
684
  * <li>
572
- * <p>PathFound - A Boolean value that indicates whether a feasible path is found.</p>
685
+ * <p>path-found - A Boolean value that indicates whether a feasible path is found.</p>
573
686
  * </li>
574
687
  * <li>
575
- * <p>Status - The status of the analysis (running | succeeded | failed).</p>
688
+ * <p>status - The status of the analysis (running | succeeded | failed).</p>
576
689
  * </li>
577
690
  * </ul>
578
691
  */
@@ -593,249 +706,6 @@ export interface DescribeNetworkInsightsAnalysesRequest {
593
706
  */
594
707
  NextToken?: string;
595
708
  }
596
- /**
597
- * <p>Describes a load balancer listener.</p>
598
- */
599
- export interface AnalysisLoadBalancerListener {
600
- /**
601
- * <p>The port on which the load balancer is listening.</p>
602
- */
603
- LoadBalancerPort?: number;
604
- /**
605
- * <p>[Classic Load Balancers] The back-end port for the listener.</p>
606
- */
607
- InstancePort?: number;
608
- }
609
- /**
610
- * <p>Describes a load balancer target.</p>
611
- */
612
- export interface AnalysisLoadBalancerTarget {
613
- /**
614
- * <p>The IP address.</p>
615
- */
616
- Address?: string;
617
- /**
618
- * <p>The Availability Zone.</p>
619
- */
620
- AvailabilityZone?: string;
621
- /**
622
- * <p>Information about the instance.</p>
623
- */
624
- Instance?: AnalysisComponent;
625
- /**
626
- * <p>The port on which the target is listening.</p>
627
- */
628
- Port?: number;
629
- }
630
- /**
631
- * <p>Describes an explanation code for an unreachable path. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html">Reachability Analyzer explanation codes</a>.</p>
632
- */
633
- export interface Explanation {
634
- /**
635
- * <p>The network ACL.</p>
636
- */
637
- Acl?: AnalysisComponent;
638
- /**
639
- * <p>The network ACL rule.</p>
640
- */
641
- AclRule?: AnalysisAclRule;
642
- /**
643
- * <p>The IPv4 address, in CIDR notation.</p>
644
- */
645
- Address?: string;
646
- /**
647
- * <p>The IPv4 addresses, in CIDR notation.</p>
648
- */
649
- Addresses?: string[];
650
- /**
651
- * <p>The resource to which the component is attached.</p>
652
- */
653
- AttachedTo?: AnalysisComponent;
654
- /**
655
- * <p>The Availability Zones.</p>
656
- */
657
- AvailabilityZones?: string[];
658
- /**
659
- * <p>The CIDR ranges.</p>
660
- */
661
- Cidrs?: string[];
662
- /**
663
- * <p>The component.</p>
664
- */
665
- Component?: AnalysisComponent;
666
- /**
667
- * <p>The customer gateway.</p>
668
- */
669
- CustomerGateway?: AnalysisComponent;
670
- /**
671
- * <p>The destination.</p>
672
- */
673
- Destination?: AnalysisComponent;
674
- /**
675
- * <p>The destination VPC.</p>
676
- */
677
- DestinationVpc?: AnalysisComponent;
678
- /**
679
- * <p>The direction. The following are the possible values:</p>
680
- * <ul>
681
- * <li>
682
- * <p>egress</p>
683
- * </li>
684
- * <li>
685
- * <p>ingress</p>
686
- * </li>
687
- * </ul>
688
- */
689
- Direction?: string;
690
- /**
691
- * <p>The explanation code.</p>
692
- */
693
- ExplanationCode?: string;
694
- /**
695
- * <p>The route table.</p>
696
- */
697
- IngressRouteTable?: AnalysisComponent;
698
- /**
699
- * <p>The internet gateway.</p>
700
- */
701
- InternetGateway?: AnalysisComponent;
702
- /**
703
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
704
- */
705
- LoadBalancerArn?: string;
706
- /**
707
- * <p>The listener for a Classic Load Balancer.</p>
708
- */
709
- ClassicLoadBalancerListener?: AnalysisLoadBalancerListener;
710
- /**
711
- * <p>The listener port of the load balancer.</p>
712
- */
713
- LoadBalancerListenerPort?: number;
714
- /**
715
- * <p>The target.</p>
716
- */
717
- LoadBalancerTarget?: AnalysisLoadBalancerTarget;
718
- /**
719
- * <p>The target group.</p>
720
- */
721
- LoadBalancerTargetGroup?: AnalysisComponent;
722
- /**
723
- * <p>The target groups.</p>
724
- */
725
- LoadBalancerTargetGroups?: AnalysisComponent[];
726
- /**
727
- * <p>The target port.</p>
728
- */
729
- LoadBalancerTargetPort?: number;
730
- /**
731
- * <p>The load balancer listener.</p>
732
- */
733
- ElasticLoadBalancerListener?: AnalysisComponent;
734
- /**
735
- * <p>The missing component.</p>
736
- */
737
- MissingComponent?: string;
738
- /**
739
- * <p>The NAT gateway.</p>
740
- */
741
- NatGateway?: AnalysisComponent;
742
- /**
743
- * <p>The network interface.</p>
744
- */
745
- NetworkInterface?: AnalysisComponent;
746
- /**
747
- * <p>The packet field.</p>
748
- */
749
- PacketField?: string;
750
- /**
751
- * <p>The VPC peering connection.</p>
752
- */
753
- VpcPeeringConnection?: AnalysisComponent;
754
- /**
755
- * <p>The port.</p>
756
- */
757
- Port?: number;
758
- /**
759
- * <p>The port ranges.</p>
760
- */
761
- PortRanges?: PortRange[];
762
- /**
763
- * <p>The prefix list.</p>
764
- */
765
- PrefixList?: AnalysisComponent;
766
- /**
767
- * <p>The protocols.</p>
768
- */
769
- Protocols?: string[];
770
- /**
771
- * <p>The route table route.</p>
772
- */
773
- RouteTableRoute?: AnalysisRouteTableRoute;
774
- /**
775
- * <p>The route table.</p>
776
- */
777
- RouteTable?: AnalysisComponent;
778
- /**
779
- * <p>The security group.</p>
780
- */
781
- SecurityGroup?: AnalysisComponent;
782
- /**
783
- * <p>The security group rule.</p>
784
- */
785
- SecurityGroupRule?: AnalysisSecurityGroupRule;
786
- /**
787
- * <p>The security groups.</p>
788
- */
789
- SecurityGroups?: AnalysisComponent[];
790
- /**
791
- * <p>The source VPC.</p>
792
- */
793
- SourceVpc?: AnalysisComponent;
794
- /**
795
- * <p>The state.</p>
796
- */
797
- State?: string;
798
- /**
799
- * <p>The subnet.</p>
800
- */
801
- Subnet?: AnalysisComponent;
802
- /**
803
- * <p>The route table for the subnet.</p>
804
- */
805
- SubnetRouteTable?: AnalysisComponent;
806
- /**
807
- * <p>The component VPC.</p>
808
- */
809
- Vpc?: AnalysisComponent;
810
- /**
811
- * <p>The VPC endpoint.</p>
812
- */
813
- VpcEndpoint?: AnalysisComponent;
814
- /**
815
- * <p>The VPN connection.</p>
816
- */
817
- VpnConnection?: AnalysisComponent;
818
- /**
819
- * <p>The VPN gateway.</p>
820
- */
821
- VpnGateway?: AnalysisComponent;
822
- /**
823
- * <p>The transit gateway.</p>
824
- */
825
- TransitGateway?: AnalysisComponent;
826
- /**
827
- * <p>The transit gateway route table.</p>
828
- */
829
- TransitGatewayRouteTable?: AnalysisComponent;
830
- /**
831
- * <p>The transit gateway route table route.</p>
832
- */
833
- TransitGatewayRouteTableRoute?: TransitGatewayRouteTableRoute;
834
- /**
835
- * <p>The transit gateway attachment.</p>
836
- */
837
- TransitGatewayAttachment?: AnalysisComponent;
838
- }
839
709
  /**
840
710
  * <p>Describes a network insights analysis.</p>
841
711
  */
@@ -916,19 +786,16 @@ export interface DescribeNetworkInsightsPathsRequest {
916
786
  * <p>The filters. The following are the possible values:</p>
917
787
  * <ul>
918
788
  * <li>
919
- * <p>Destination - The ID of the resource.</p>
789
+ * <p>destination - The ID of the resource.</p>
920
790
  * </li>
921
791
  * <li>
922
- * <p>DestinationPort - The destination port.</p>
792
+ * <p>destination-port - The destination port.</p>
923
793
  * </li>
924
794
  * <li>
925
- * <p>Name - The path name.</p>
795
+ * <p>protocol - The protocol.</p>
926
796
  * </li>
927
797
  * <li>
928
- * <p>Protocol - The protocol.</p>
929
- * </li>
930
- * <li>
931
- * <p>Source - The ID of the resource.</p>
798
+ * <p>source - The ID of the resource.</p>
932
799
  * </li>
933
800
  * </ul>
934
801
  */
@@ -1999,9 +1866,6 @@ export interface DescribeReservedInstancesModificationsRequest {
1999
1866
  }
2000
1867
  /**
2001
1868
  * <p>Describes the configuration settings for the modified Reserved Instances.</p>
2002
- * <note>
2003
- * <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
2004
- * </note>
2005
1869
  */
2006
1870
  export interface ReservedInstancesConfiguration {
2007
1871
  /**
@@ -2617,9 +2481,6 @@ export interface ScheduledInstanceRecurrence {
2617
2481
  }
2618
2482
  /**
2619
2483
  * <p>Describes a schedule that is available for your Scheduled Instances.</p>
2620
- * <note>
2621
- * <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
2622
- * </note>
2623
2484
  */
2624
2485
  export interface ScheduledInstanceAvailability {
2625
2486
  /**
@@ -2755,9 +2616,6 @@ export interface DescribeScheduledInstancesRequest {
2755
2616
  }
2756
2617
  /**
2757
2618
  * <p>Describes a Scheduled Instance.</p>
2758
- * <note>
2759
- * <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
2760
- * </note>
2761
2619
  */
2762
2620
  export interface ScheduledInstance {
2763
2621
  /**
@@ -3769,9 +3627,9 @@ export interface SpotFleetTagSpecification {
3769
3627
  /**
3770
3628
  * <p>The type of resource. Currently, the only resource type that is supported is
3771
3629
  * <code>instance</code>. To tag the Spot Fleet request on creation, use the
3772
- * <code>TagSpecifications</code> parameter in <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html">
3773
- * <code>SpotFleetRequestConfigData</code>
3774
- * </a>.</p>
3630
+ * <code>TagSpecifications</code> parameter in <code>
3631
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html">SpotFleetRequestConfigData</a>
3632
+ * </code>.</p>
3775
3633
  */
3776
3634
  ResourceType?: ResourceType | string;
3777
3635
  /**
@@ -3781,12 +3639,8 @@ export interface SpotFleetTagSpecification {
3781
3639
  }
3782
3640
  /**
3783
3641
  * <p>Describes the launch specification for one or more Spot Instances. If you include
3784
- * On-Demand capacity in your fleet request or want to specify an EFA network device, you
3785
- * can't use <code>SpotFleetLaunchSpecification</code>; you must use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html">LaunchTemplateConfig</a>.</p>
3786
- *
3787
- * <note>
3788
- * <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
3789
- * </note>
3642
+ * On-Demand capacity in your fleet request or want to specify an EFA network device, you
3643
+ * can't use <code>SpotFleetLaunchSpecification</code>; you must use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html">LaunchTemplateConfig</a>.</p>
3790
3644
  */
3791
3645
  export interface SpotFleetLaunchSpecification {
3792
3646
  /**
@@ -3884,7 +3738,7 @@ export interface SpotFleetLaunchSpecification {
3884
3738
  * identify instance types with those attributes.</p>
3885
3739
  * <note>
3886
3740
  * <p>If you specify <code>InstanceRequirements</code>, you can't specify
3887
- * <code>InstanceTypes</code>.</p>
3741
+ * <code>InstanceType</code>.</p>
3888
3742
  * </note>
3889
3743
  */
3890
3744
  InstanceRequirements?: InstanceRequirements;
@@ -3939,7 +3793,7 @@ export interface LaunchTemplateOverrides {
3939
3793
  * when you specify a list of instance types.</p>
3940
3794
  * <note>
3941
3795
  * <p>If you specify <code>InstanceRequirements</code>, you can't specify
3942
- * <code>InstanceTypes</code>.</p>
3796
+ * <code>InstanceType</code>.</p>
3943
3797
  * </note>
3944
3798
  */
3945
3799
  InstanceRequirements?: InstanceRequirements;
@@ -4066,23 +3920,33 @@ export interface SpotMaintenanceStrategies {
4066
3920
  */
4067
3921
  export interface SpotFleetRequestConfigData {
4068
3922
  /**
4069
- * <p>Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by
4070
- * the Spot Fleet request.</p>
4071
- * <p>If the allocation strategy is <code>lowestPrice</code>, Spot Fleet launches instances from
4072
- * the Spot Instance pools with the lowest price. This is the default allocation strategy.</p>
4073
- * <p>If the allocation strategy is <code>diversified</code>, Spot Fleet launches instances from
4074
- * all the Spot Instance pools that you specify.</p>
4075
- * <p>If the allocation strategy is <code>capacityOptimized</code> (recommended), Spot Fleet
4076
- * launches instances from Spot Instance pools with optimal capacity for the number of instances
4077
- * that are launching. To give certain instance types a higher chance of launching first,
4078
- * use <code>capacityOptimizedPrioritized</code>. Set a priority for each instance type by
4079
- * using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You
4080
- * can assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2
4081
- * implements the priorities on a best-effort basis, but optimizes for capacity first.
4082
- * <code>capacityOptimizedPrioritized</code> is supported only if your Spot Fleet uses a
3923
+ * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
3924
+ * pools specified by the Spot Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html">Allocation
3925
+ * strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
3926
+ * <p>
3927
+ * <code>lowestPrice</code> - Spot Fleet launches instances from the lowest-price Spot Instance pool
3928
+ * that has available capacity. If the cheapest pool doesn't have available capacity, the
3929
+ * Spot Instances come from the next cheapest pool that has available capacity. If a pool runs out
3930
+ * of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your
3931
+ * request by drawing from the next cheapest pool. To ensure that your desired capacity is
3932
+ * met, you might receive Spot Instances from several pools.</p>
3933
+ * <p>
3934
+ * <code>diversified</code> - Spot Fleet launches instances from all of the Spot Instance pools that you
3935
+ * specify.</p>
3936
+ * <p>
3937
+ * <code>capacityOptimized</code> (recommended) - Spot Fleet launches instances from Spot Instance pools
3938
+ * with optimal capacity for the number of instances that are launching. To give certain
3939
+ * instance types a higher chance of launching first, use
3940
+ * <code>capacityOptimizedPrioritized</code>. Set a priority for each instance type by
3941
+ * using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
3942
+ * assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
3943
+ * the priorities on a best-effort basis, but optimizes for capacity first.
3944
+ * <code>capacityOptimizedPrioritized</code> is supported only if your Spot Fleet uses a
4083
3945
  * launch template. Note that if the <code>OnDemandAllocationStrategy</code> is set to
4084
- * <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
3946
+ * <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
4085
3947
  * capacity.</p>
3948
+ * <p>Default: <code>lowestPrice</code>
3949
+ * </p>
4086
3950
  */
4087
3951
  AllocationStrategy?: AllocationStrategy | string;
4088
3952
  /**
@@ -4264,9 +4128,9 @@ export interface SpotFleetRequestConfigData {
4264
4128
  * <code>ResourceType</code> must be <code>spot-fleet-request</code>, otherwise the
4265
4129
  * Spot Fleet request fails. To tag instances at launch, specify the tags in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template">launch
4266
4130
  * template</a> (valid only if you use <code>LaunchTemplateConfigs</code>) or in
4267
- * the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html">
4268
- * <code>SpotFleetTagSpecification</code>
4269
- * </a> (valid only if you use
4131
+ * the <code>
4132
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html">SpotFleetTagSpecification</a>
4133
+ * </code> (valid only if you use
4270
4134
  * <code>LaunchSpecifications</code>). For information about tagging after launch, see
4271
4135
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources">Tagging Your Resources</a>.</p>
4272
4136
  */
@@ -4556,9 +4420,6 @@ export interface RunInstancesMonitoringEnabled {
4556
4420
  }
4557
4421
  /**
4558
4422
  * <p>Describes the launch specification for an instance.</p>
4559
- * <note>
4560
- * <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
4561
- * </note>
4562
4423
  */
4563
4424
  export interface LaunchSpecification {
4564
4425
  /**
@@ -5094,16 +4955,34 @@ export interface DescribeSubnetsRequest {
5094
4955
  * </li>
5095
4956
  * <li>
5096
4957
  * <p>
5097
- * <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block you
5098
- * specify must exactly match the subnet's CIDR block for information to be
4958
+ * <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block
4959
+ * you specify must exactly match the subnet's CIDR block for information to be
5099
4960
  * returned for the subnet. You can also use <code>cidr</code> or
5100
- * <code>cidrBlock</code> as the filter names.</p>
4961
+ * <code>cidrBlock</code> as the filter names.</p>
5101
4962
  * </li>
5102
4963
  * <li>
5103
4964
  * <p>
5104
- * <code>default-for-az</code> - Indicates whether this is the default subnet for the
5105
- * Availability Zone (<code>true</code> | <code>false</code>). You can also use
5106
- * <code>defaultForAz</code> as the filter name.</p>
4965
+ * <code>customer-owned-ipv4-pool</code> - The customer-owned IPv4 address pool
4966
+ * associated with the subnet.</p>
4967
+ * </li>
4968
+ * <li>
4969
+ * <p>
4970
+ * <code>default-for-az</code> - Indicates whether this is the default subnet for
4971
+ * the Availability Zone (<code>true</code> | <code>false</code>). You can also use
4972
+ * <code>defaultForAz</code> as the filter name.</p>
4973
+ * </li>
4974
+ * <li>
4975
+ * <p>
4976
+ * <code>enable-dns64</code> - Indicates whether DNS queries made to the
4977
+ * Amazon-provided DNS Resolver in this subnet should return synthetic IPv6
4978
+ * addresses for IPv4-only destinations.</p>
4979
+ * </li>
4980
+ * <li>
4981
+ * <p>
4982
+ * <code>enable-lni-at-device-index</code> - Indicates the device position for
4983
+ * local network interfaces in this subnet. For example, <code>1</code> indicates
4984
+ * local network interfaces in this subnet are the secondary network interface
4985
+ * (eth1). </p>
5107
4986
  * </li>
5108
4987
  * <li>
5109
4988
  * <p>
@@ -5122,7 +5001,18 @@ export interface DescribeSubnetsRequest {
5122
5001
  * </li>
5123
5002
  * <li>
5124
5003
  * <p>
5125
- * <code>ipv6-native</code> - Indicates whether this is an IPv6 only subnet (<code>true</code> | <code>false</code>).</p>
5004
+ * <code>ipv6-native</code> - Indicates whether this is an IPv6 only subnet
5005
+ * (<code>true</code> | <code>false</code>).</p>
5006
+ * </li>
5007
+ * <li>
5008
+ * <p>
5009
+ * <code>map-customer-owned-ip-on-launch</code> - Indicates whether a network
5010
+ * interface created in this subnet (including a network interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
5011
+ * </li>
5012
+ * <li>
5013
+ * <p>
5014
+ * <code>map-public-ip-on-launch</code> - Indicates whether instances launched in
5015
+ * this subnet receive a public IPv4 address.</p>
5126
5016
  * </li>
5127
5017
  * <li>
5128
5018
  * <p>
@@ -5130,7 +5020,29 @@ export interface DescribeSubnetsRequest {
5130
5020
  * </li>
5131
5021
  * <li>
5132
5022
  * <p>
5133
- * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the subnet.</p>
5023
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the
5024
+ * subnet.</p>
5025
+ * </li>
5026
+ * <li>
5027
+ * <p>
5028
+ * <code>private-dns-name-options-on-launch.hostname-type</code> - The type of
5029
+ * hostname to assign to instances in the subnet at launch. For IPv4-only and
5030
+ * dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the
5031
+ * instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6
5032
+ * only subnets, an instance DNS name must be based on the instance ID
5033
+ * (resource-name).</p>
5034
+ * </li>
5035
+ * <li>
5036
+ * <p>
5037
+ * <code>private-dns-name-options-on-launch.enable-resource-name-dns-a-record</code>
5038
+ * - Indicates whether to respond to DNS queries for instance hostnames with DNS A
5039
+ * records.</p>
5040
+ * </li>
5041
+ * <li>
5042
+ * <p>
5043
+ * <code>private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record</code>
5044
+ * - Indicates whether to respond to DNS queries for instance hostnames with DNS
5045
+ * AAAA records.</p>
5134
5046
  * </li>
5135
5047
  * <li>
5136
5048
  * <p>
@@ -8641,31 +8553,25 @@ export interface EnableFastSnapshotRestoreSuccessItem {
8641
8553
  DisabledTime?: Date;
8642
8554
  }
8643
8555
  /**
8644
- * <p>Describes an error that occurred when enabling fast snapshot restores.</p>
8556
+ * @internal
8645
8557
  */
8646
- export interface EnableFastSnapshotRestoreStateError {
8647
- /**
8648
- * <p>The error code.</p>
8649
- */
8650
- Code?: string;
8651
- /**
8652
- * <p>The error message.</p>
8653
- */
8654
- Message?: string;
8655
- }
8558
+ export declare const LocalGatewayFilterSensitiveLog: (obj: LocalGateway) => any;
8656
8559
  /**
8657
- * <p>Contains information about an error that occurred when enabling fast snapshot restores.</p>
8560
+ * @internal
8658
8561
  */
8659
- export interface EnableFastSnapshotRestoreStateErrorItem {
8660
- /**
8661
- * <p>The Availability Zone.</p>
8662
- */
8663
- AvailabilityZone?: string;
8664
- /**
8665
- * <p>The error.</p>
8666
- */
8667
- Error?: EnableFastSnapshotRestoreStateError;
8668
- }
8562
+ export declare const DescribeLocalGatewaysResultFilterSensitiveLog: (obj: DescribeLocalGatewaysResult) => any;
8563
+ /**
8564
+ * @internal
8565
+ */
8566
+ export declare const DescribeLocalGatewayVirtualInterfaceGroupsRequestFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfaceGroupsRequest) => any;
8567
+ /**
8568
+ * @internal
8569
+ */
8570
+ export declare const LocalGatewayVirtualInterfaceGroupFilterSensitiveLog: (obj: LocalGatewayVirtualInterfaceGroup) => any;
8571
+ /**
8572
+ * @internal
8573
+ */
8574
+ export declare const DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfaceGroupsResult) => any;
8669
8575
  /**
8670
8576
  * @internal
8671
8577
  */
@@ -8738,18 +8644,6 @@ export declare const DescribeNetworkInsightsAccessScopesResultFilterSensitiveLog
8738
8644
  * @internal
8739
8645
  */
8740
8646
  export declare const DescribeNetworkInsightsAnalysesRequestFilterSensitiveLog: (obj: DescribeNetworkInsightsAnalysesRequest) => any;
8741
- /**
8742
- * @internal
8743
- */
8744
- export declare const AnalysisLoadBalancerListenerFilterSensitiveLog: (obj: AnalysisLoadBalancerListener) => any;
8745
- /**
8746
- * @internal
8747
- */
8748
- export declare const AnalysisLoadBalancerTargetFilterSensitiveLog: (obj: AnalysisLoadBalancerTarget) => any;
8749
- /**
8750
- * @internal
8751
- */
8752
- export declare const ExplanationFilterSensitiveLog: (obj: Explanation) => any;
8753
8647
  /**
8754
8648
  * @internal
8755
8649
  */
@@ -9766,11 +9660,3 @@ export declare const EnableFastSnapshotRestoresRequestFilterSensitiveLog: (obj:
9766
9660
  * @internal
9767
9661
  */
9768
9662
  export declare const EnableFastSnapshotRestoreSuccessItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreSuccessItem) => any;
9769
- /**
9770
- * @internal
9771
- */
9772
- export declare const EnableFastSnapshotRestoreStateErrorFilterSensitiveLog: (obj: EnableFastSnapshotRestoreStateError) => any;
9773
- /**
9774
- * @internal
9775
- */
9776
- export declare const EnableFastSnapshotRestoreStateErrorItemFilterSensitiveLog: (obj: EnableFastSnapshotRestoreStateErrorItem) => any;