@aws-sdk/client-ec2 3.174.0 → 3.177.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 (68) 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/DescribeAddressesCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -2
  7. package/dist-cjs/commands/DescribeLocalGatewaysCommand.js +2 -1
  8. package/dist-cjs/models/models_0.js +18 -18
  9. package/dist-cjs/models/models_1.js +17 -17
  10. package/dist-cjs/models/models_2.js +18 -18
  11. package/dist-cjs/models/models_3.js +17 -17
  12. package/dist-cjs/models/models_4.js +13 -13
  13. package/dist-cjs/protocols/Aws_ec2.js +25 -2
  14. package/dist-es/commands/CreateDefaultVpcCommand.js +2 -1
  15. package/dist-es/commands/CreateDhcpOptionsCommand.js +1 -2
  16. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  17. package/dist-es/commands/DescribeAddressesCommand.js +1 -1
  18. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -2
  19. package/dist-es/commands/DescribeLocalGatewaysCommand.js +2 -1
  20. package/dist-es/models/models_0.js +4 -4
  21. package/dist-es/models/models_1.js +3 -6
  22. package/dist-es/models/models_2.js +6 -3
  23. package/dist-es/models/models_3.js +3 -3
  24. package/dist-es/models/models_4.js +3 -3
  25. package/dist-es/protocols/Aws_ec2.js +25 -2
  26. package/dist-types/EC2.d.ts +28 -17
  27. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  28. package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
  29. package/dist-types/commands/AssociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
  30. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -1
  32. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
  33. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +5 -2
  34. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateSnapshotsCommand.d.ts +4 -2
  36. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -1
  37. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeAddressesCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -2
  40. package/dist-types/commands/DescribeLocalGatewaysCommand.d.ts +2 -1
  41. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  42. package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -1
  43. package/dist-types/commands/ImportImageCommand.d.ts +6 -0
  44. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
  45. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  46. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  47. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
  48. package/dist-types/models/models_0.d.ts +303 -66
  49. package/dist-types/models/models_1.d.ts +85 -75
  50. package/dist-types/models/models_2.d.ts +52 -106
  51. package/dist-types/models/models_3.d.ts +113 -97
  52. package/dist-types/models/models_4.d.ts +166 -283
  53. package/dist-types/models/models_5.d.ts +17 -7
  54. package/dist-types/models/models_6.d.ts +7 -5
  55. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/DescribeLocalGatewaysCommand.d.ts +2 -4
  61. package/dist-types/ts3.4/models/models_0.d.ts +81 -29
  62. package/dist-types/ts3.4/models/models_1.d.ts +22 -21
  63. package/dist-types/ts3.4/models/models_2.d.ts +21 -21
  64. package/dist-types/ts3.4/models/models_3.d.ts +22 -30
  65. package/dist-types/ts3.4/models/models_4.d.ts +28 -76
  66. package/dist-types/ts3.4/models/models_5.d.ts +3 -3
  67. package/dist-types/ts3.4/models/models_6.d.ts +1 -1
  68. package/package.json +1 -1
@@ -1,7 +1,85 @@
1
- import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AlternatePathHint, AnalysisAclRule, AnalysisComponent, AnalysisRouteTableRoute, AnalysisSecurityGroupRule, AssociationStatus, 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 { 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, 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
+ }
5
83
  /**
6
84
  * <p>Describes a local gateway virtual interface group.</p>
7
85
  */
@@ -239,7 +317,7 @@ export declare enum MoveStatus {
239
317
  /**
240
318
  * <p>Describes the status of a moving Elastic IP address.</p>
241
319
  * <note>
242
- * <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>
320
+ * <p>We are retiring EC2-Classic. 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>
243
321
  * </note>
244
322
  */
245
323
  export interface MovingAddressStatus {
@@ -604,10 +682,10 @@ export interface DescribeNetworkInsightsAnalysesRequest {
604
682
  * <p>The filters. The following are the possible values:</p>
605
683
  * <ul>
606
684
  * <li>
607
- * <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>
608
686
  * </li>
609
687
  * <li>
610
- * <p>Status - The status of the analysis (running | succeeded | failed).</p>
688
+ * <p>status - The status of the analysis (running | succeeded | failed).</p>
611
689
  * </li>
612
690
  * </ul>
613
691
  */
@@ -628,249 +706,6 @@ export interface DescribeNetworkInsightsAnalysesRequest {
628
706
  */
629
707
  NextToken?: string;
630
708
  }
631
- /**
632
- * <p>Describes a load balancer listener.</p>
633
- */
634
- export interface AnalysisLoadBalancerListener {
635
- /**
636
- * <p>The port on which the load balancer is listening.</p>
637
- */
638
- LoadBalancerPort?: number;
639
- /**
640
- * <p>[Classic Load Balancers] The back-end port for the listener.</p>
641
- */
642
- InstancePort?: number;
643
- }
644
- /**
645
- * <p>Describes a load balancer target.</p>
646
- */
647
- export interface AnalysisLoadBalancerTarget {
648
- /**
649
- * <p>The IP address.</p>
650
- */
651
- Address?: string;
652
- /**
653
- * <p>The Availability Zone.</p>
654
- */
655
- AvailabilityZone?: string;
656
- /**
657
- * <p>Information about the instance.</p>
658
- */
659
- Instance?: AnalysisComponent;
660
- /**
661
- * <p>The port on which the target is listening.</p>
662
- */
663
- Port?: number;
664
- }
665
- /**
666
- * <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>
667
- */
668
- export interface Explanation {
669
- /**
670
- * <p>The network ACL.</p>
671
- */
672
- Acl?: AnalysisComponent;
673
- /**
674
- * <p>The network ACL rule.</p>
675
- */
676
- AclRule?: AnalysisAclRule;
677
- /**
678
- * <p>The IPv4 address, in CIDR notation.</p>
679
- */
680
- Address?: string;
681
- /**
682
- * <p>The IPv4 addresses, in CIDR notation.</p>
683
- */
684
- Addresses?: string[];
685
- /**
686
- * <p>The resource to which the component is attached.</p>
687
- */
688
- AttachedTo?: AnalysisComponent;
689
- /**
690
- * <p>The Availability Zones.</p>
691
- */
692
- AvailabilityZones?: string[];
693
- /**
694
- * <p>The CIDR ranges.</p>
695
- */
696
- Cidrs?: string[];
697
- /**
698
- * <p>The component.</p>
699
- */
700
- Component?: AnalysisComponent;
701
- /**
702
- * <p>The customer gateway.</p>
703
- */
704
- CustomerGateway?: AnalysisComponent;
705
- /**
706
- * <p>The destination.</p>
707
- */
708
- Destination?: AnalysisComponent;
709
- /**
710
- * <p>The destination VPC.</p>
711
- */
712
- DestinationVpc?: AnalysisComponent;
713
- /**
714
- * <p>The direction. The following are the possible values:</p>
715
- * <ul>
716
- * <li>
717
- * <p>egress</p>
718
- * </li>
719
- * <li>
720
- * <p>ingress</p>
721
- * </li>
722
- * </ul>
723
- */
724
- Direction?: string;
725
- /**
726
- * <p>The explanation code.</p>
727
- */
728
- ExplanationCode?: string;
729
- /**
730
- * <p>The route table.</p>
731
- */
732
- IngressRouteTable?: AnalysisComponent;
733
- /**
734
- * <p>The internet gateway.</p>
735
- */
736
- InternetGateway?: AnalysisComponent;
737
- /**
738
- * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
739
- */
740
- LoadBalancerArn?: string;
741
- /**
742
- * <p>The listener for a Classic Load Balancer.</p>
743
- */
744
- ClassicLoadBalancerListener?: AnalysisLoadBalancerListener;
745
- /**
746
- * <p>The listener port of the load balancer.</p>
747
- */
748
- LoadBalancerListenerPort?: number;
749
- /**
750
- * <p>The target.</p>
751
- */
752
- LoadBalancerTarget?: AnalysisLoadBalancerTarget;
753
- /**
754
- * <p>The target group.</p>
755
- */
756
- LoadBalancerTargetGroup?: AnalysisComponent;
757
- /**
758
- * <p>The target groups.</p>
759
- */
760
- LoadBalancerTargetGroups?: AnalysisComponent[];
761
- /**
762
- * <p>The target port.</p>
763
- */
764
- LoadBalancerTargetPort?: number;
765
- /**
766
- * <p>The load balancer listener.</p>
767
- */
768
- ElasticLoadBalancerListener?: AnalysisComponent;
769
- /**
770
- * <p>The missing component.</p>
771
- */
772
- MissingComponent?: string;
773
- /**
774
- * <p>The NAT gateway.</p>
775
- */
776
- NatGateway?: AnalysisComponent;
777
- /**
778
- * <p>The network interface.</p>
779
- */
780
- NetworkInterface?: AnalysisComponent;
781
- /**
782
- * <p>The packet field.</p>
783
- */
784
- PacketField?: string;
785
- /**
786
- * <p>The VPC peering connection.</p>
787
- */
788
- VpcPeeringConnection?: AnalysisComponent;
789
- /**
790
- * <p>The port.</p>
791
- */
792
- Port?: number;
793
- /**
794
- * <p>The port ranges.</p>
795
- */
796
- PortRanges?: PortRange[];
797
- /**
798
- * <p>The prefix list.</p>
799
- */
800
- PrefixList?: AnalysisComponent;
801
- /**
802
- * <p>The protocols.</p>
803
- */
804
- Protocols?: string[];
805
- /**
806
- * <p>The route table route.</p>
807
- */
808
- RouteTableRoute?: AnalysisRouteTableRoute;
809
- /**
810
- * <p>The route table.</p>
811
- */
812
- RouteTable?: AnalysisComponent;
813
- /**
814
- * <p>The security group.</p>
815
- */
816
- SecurityGroup?: AnalysisComponent;
817
- /**
818
- * <p>The security group rule.</p>
819
- */
820
- SecurityGroupRule?: AnalysisSecurityGroupRule;
821
- /**
822
- * <p>The security groups.</p>
823
- */
824
- SecurityGroups?: AnalysisComponent[];
825
- /**
826
- * <p>The source VPC.</p>
827
- */
828
- SourceVpc?: AnalysisComponent;
829
- /**
830
- * <p>The state.</p>
831
- */
832
- State?: string;
833
- /**
834
- * <p>The subnet.</p>
835
- */
836
- Subnet?: AnalysisComponent;
837
- /**
838
- * <p>The route table for the subnet.</p>
839
- */
840
- SubnetRouteTable?: AnalysisComponent;
841
- /**
842
- * <p>The component VPC.</p>
843
- */
844
- Vpc?: AnalysisComponent;
845
- /**
846
- * <p>The VPC endpoint.</p>
847
- */
848
- VpcEndpoint?: AnalysisComponent;
849
- /**
850
- * <p>The VPN connection.</p>
851
- */
852
- VpnConnection?: AnalysisComponent;
853
- /**
854
- * <p>The VPN gateway.</p>
855
- */
856
- VpnGateway?: AnalysisComponent;
857
- /**
858
- * <p>The transit gateway.</p>
859
- */
860
- TransitGateway?: AnalysisComponent;
861
- /**
862
- * <p>The transit gateway route table.</p>
863
- */
864
- TransitGatewayRouteTable?: AnalysisComponent;
865
- /**
866
- * <p>The transit gateway route table route.</p>
867
- */
868
- TransitGatewayRouteTableRoute?: TransitGatewayRouteTableRoute;
869
- /**
870
- * <p>The transit gateway attachment.</p>
871
- */
872
- TransitGatewayAttachment?: AnalysisComponent;
873
- }
874
709
  /**
875
710
  * <p>Describes a network insights analysis.</p>
876
711
  */
@@ -951,19 +786,16 @@ export interface DescribeNetworkInsightsPathsRequest {
951
786
  * <p>The filters. The following are the possible values:</p>
952
787
  * <ul>
953
788
  * <li>
954
- * <p>Destination - The ID of the resource.</p>
955
- * </li>
956
- * <li>
957
- * <p>DestinationPort - The destination port.</p>
789
+ * <p>destination - The ID of the resource.</p>
958
790
  * </li>
959
791
  * <li>
960
- * <p>Name - The path name.</p>
792
+ * <p>destination-port - The destination port.</p>
961
793
  * </li>
962
794
  * <li>
963
- * <p>Protocol - The protocol.</p>
795
+ * <p>protocol - The protocol.</p>
964
796
  * </li>
965
797
  * <li>
966
- * <p>Source - The ID of the resource.</p>
798
+ * <p>source - The ID of the resource.</p>
967
799
  * </li>
968
800
  * </ul>
969
801
  */
@@ -1049,7 +881,7 @@ export interface DescribeNetworkInterfaceAttributeResult {
1049
881
  */
1050
882
  export interface DescribeNetworkInterfacePermissionsRequest {
1051
883
  /**
1052
- * <p>One or more network interface permission IDs.</p>
884
+ * <p>The network interface permission IDs.</p>
1053
885
  */
1054
886
  NetworkInterfacePermissionIds?: string[];
1055
887
  /**
@@ -1283,7 +1115,7 @@ export interface DescribeNetworkInterfacesRequest {
1283
1115
  */
1284
1116
  DryRun?: boolean;
1285
1117
  /**
1286
- * <p>One or more network interface IDs.</p>
1118
+ * <p>The network interface IDs.</p>
1287
1119
  * <p>Default: Describes all your network interfaces.</p>
1288
1120
  */
1289
1121
  NetworkInterfaceIds?: string[];
@@ -3694,7 +3526,7 @@ export interface InstanceNetworkInterfaceSpecification {
3694
3526
  */
3695
3527
  Ipv6AddressCount?: number;
3696
3528
  /**
3697
- * <p>One or more IPv6 addresses to assign to the network interface. You cannot specify
3529
+ * <p>The IPv6 addresses to assign to the network interface. You cannot specify
3698
3530
  * this option and the option to assign a number of IPv6 addresses in the same request. You
3699
3531
  * cannot specify this option if you've specified a minimum number of instances to
3700
3532
  * launch.</p>
@@ -3711,7 +3543,7 @@ export interface InstanceNetworkInterfaceSpecification {
3711
3543
  */
3712
3544
  PrivateIpAddress?: string;
3713
3545
  /**
3714
- * <p>One or more private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're
3546
+ * <p>The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're
3715
3547
  * launching more than one instance in a <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> request.</p>
3716
3548
  */
3717
3549
  PrivateIpAddresses?: PrivateIpAddressSpecification[];
@@ -3747,7 +3579,7 @@ export interface InstanceNetworkInterfaceSpecification {
3747
3579
  */
3748
3580
  NetworkCardIndex?: number;
3749
3581
  /**
3750
- * <p>One or more IPv4 delegated prefixes to be assigned to the network interface. You cannot
3582
+ * <p>The IPv4 delegated prefixes to be assigned to the network interface. You cannot
3751
3583
  * use this option if you use the <code>Ipv4PrefixCount</code> option.</p>
3752
3584
  */
3753
3585
  Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[];
@@ -3757,7 +3589,7 @@ export interface InstanceNetworkInterfaceSpecification {
3757
3589
  */
3758
3590
  Ipv4PrefixCount?: number;
3759
3591
  /**
3760
- * <p>One or more IPv6 delegated prefixes to be assigned to the network interface. You cannot
3592
+ * <p>The IPv6 delegated prefixes to be assigned to the network interface. You cannot
3761
3593
  * use this option if you use the <code>Ipv6PrefixCount</code> option.</p>
3762
3594
  */
3763
3595
  Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
@@ -5123,16 +4955,34 @@ export interface DescribeSubnetsRequest {
5123
4955
  * </li>
5124
4956
  * <li>
5125
4957
  * <p>
5126
- * <code>cidr-block</code> - The IPv4 CIDR block of the subnet. The CIDR block you
5127
- * 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
5128
4960
  * returned for the subnet. You can also use <code>cidr</code> or
5129
- * <code>cidrBlock</code> as the filter names.</p>
4961
+ * <code>cidrBlock</code> as the filter names.</p>
4962
+ * </li>
4963
+ * <li>
4964
+ * <p>
4965
+ * <code>customer-owned-ipv4-pool</code> - The customer-owned IPv4 address pool
4966
+ * associated with the subnet.</p>
5130
4967
  * </li>
5131
4968
  * <li>
5132
4969
  * <p>
5133
- * <code>default-for-az</code> - Indicates whether this is the default subnet for the
5134
- * Availability Zone (<code>true</code> | <code>false</code>). You can also use
5135
- * <code>defaultForAz</code> as the filter name.</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>
5136
4986
  * </li>
5137
4987
  * <li>
5138
4988
  * <p>
@@ -5151,7 +5001,18 @@ export interface DescribeSubnetsRequest {
5151
5001
  * </li>
5152
5002
  * <li>
5153
5003
  * <p>
5154
- * <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>
5155
5016
  * </li>
5156
5017
  * <li>
5157
5018
  * <p>
@@ -5159,7 +5020,29 @@ export interface DescribeSubnetsRequest {
5159
5020
  * </li>
5160
5021
  * <li>
5161
5022
  * <p>
5162
- * <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>
5163
5046
  * </li>
5164
5047
  * <li>
5165
5048
  * <p>
@@ -8669,6 +8552,18 @@ export interface EnableFastSnapshotRestoreSuccessItem {
8669
8552
  */
8670
8553
  DisabledTime?: Date;
8671
8554
  }
8555
+ /**
8556
+ * @internal
8557
+ */
8558
+ export declare const LocalGatewayFilterSensitiveLog: (obj: LocalGateway) => any;
8559
+ /**
8560
+ * @internal
8561
+ */
8562
+ export declare const DescribeLocalGatewaysResultFilterSensitiveLog: (obj: DescribeLocalGatewaysResult) => any;
8563
+ /**
8564
+ * @internal
8565
+ */
8566
+ export declare const DescribeLocalGatewayVirtualInterfaceGroupsRequestFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfaceGroupsRequest) => any;
8672
8567
  /**
8673
8568
  * @internal
8674
8569
  */
@@ -8749,18 +8644,6 @@ export declare const DescribeNetworkInsightsAccessScopesResultFilterSensitiveLog
8749
8644
  * @internal
8750
8645
  */
8751
8646
  export declare const DescribeNetworkInsightsAnalysesRequestFilterSensitiveLog: (obj: DescribeNetworkInsightsAnalysesRequest) => any;
8752
- /**
8753
- * @internal
8754
- */
8755
- export declare const AnalysisLoadBalancerListenerFilterSensitiveLog: (obj: AnalysisLoadBalancerListener) => any;
8756
- /**
8757
- * @internal
8758
- */
8759
- export declare const AnalysisLoadBalancerTargetFilterSensitiveLog: (obj: AnalysisLoadBalancerTarget) => any;
8760
- /**
8761
- * @internal
8762
- */
8763
- export declare const ExplanationFilterSensitiveLog: (obj: Explanation) => any;
8764
8647
  /**
8765
8648
  * @internal
8766
8649
  */
@@ -1,7 +1,7 @@
1
1
  import { _InstanceType, AccessScopeAnalysisFinding, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, CapacityReservationState, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CurrencyCodeValues, DnsSupportValue, EndDateType, HostnameType, HostRecovery, InstanceEventWindow, IpamPoolAllocation, Ipv6SupportValue, SelfServicePortal, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
- import { AttributeValue, CapacityReservationPreference, CapacityReservationTarget, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, SubnetCidrReservation, TargetCapacitySpecificationRequest, TargetCapacityUnitType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorRuleAction, VolumeType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, Filter, IKEVersionsRequestListValue, IpAddressType, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
- import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
2
+ import { AttributeValue, CapacityReservationPreference, CapacityReservationTarget, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, ShutdownBehavior, SubnetCidrReservation, TargetCapacitySpecificationRequest, TargetCapacityUnitType, TrafficDirection, TrafficMirrorFilterRule, TrafficMirrorRuleAction, VolumeType } from "./models_1";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, TrafficMirrorFilter, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
+ import { ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, ExportTaskS3Location, Filter, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, PaymentOption, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_3";
5
5
  import { AnalysisStatus, CreateVolumePermission, EnableFastSnapshotRestoreSuccessItem, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, ReservedInstancesConfiguration, SnapshotAttributeName, TransitGatewayPropagation, TransitGatewayPropagationState, VolumeModification } from "./models_4";
6
6
  /**
7
7
  * <p>Describes an error that occurred when enabling fast snapshot restores.</p>
@@ -2623,9 +2623,11 @@ export interface ImportImageRequest {
2623
2623
  KmsKeyId?: string;
2624
2624
  /**
2625
2625
  * <p>The license type to be used for the Amazon Machine Image (AMI) after importing.</p>
2626
- * <p>By default, we detect the source-system operating system (OS) and apply the appropriate license. Specify
2627
- * <code>AWS</code> to replace the source-system license with an Amazon Web Services license, if appropriate. Specify <code>BYOL</code>
2628
- * to retain the source-system license, if appropriate.</p>
2626
+ * <p>Specify <code>AWS</code> to replace the source-system license with an Amazon Web Services
2627
+ * license or <code>BYOL</code> to retain the source-system license. Leaving this parameter
2628
+ * undefined is the same as choosing <code>AWS</code> when importing a Windows Server operating
2629
+ * system, and the same as choosing <code>BYOL</code> when importing a Windows client operating
2630
+ * system (such as Windows 10) or a Linux operating system.</p>
2629
2631
  * <p>To use <code>BYOL</code>, you must have existing licenses with rights to use these licenses in a third party
2630
2632
  * cloud, such as Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image">Prerequisites</a> in the
2631
2633
  * VM Import/Export User Guide.</p>
@@ -3821,7 +3823,14 @@ export interface ModifyInstanceAttributeRequest {
3821
3823
  */
3822
3824
  SourceDestCheck?: AttributeBooleanValue;
3823
3825
  /**
3824
- * <p>The name of the attribute.</p>
3826
+ * <p>The name of the attribute to modify.</p>
3827
+ * <important>
3828
+ * <p>You can modify the following attributes only: <code>disableApiTermination</code> | <code>instanceType</code> |
3829
+ * <code>kernel</code> | <code>ramdisk</code> | <code>instanceInitiatedShutdownBehavior</code> | <code>blockDeviceMapping</code> |
3830
+ * <code>userData</code> | <code>sourceDestCheck</code> | <code>groupSet</code> | <code>ebsOptimized</code> | <code>sriovNetSupport</code> |
3831
+ * <code>enaSupport</code> | <code>nvmeSupport</code> | <code>disableApiStop</code> | <code>enclaveOptions</code>
3832
+ * </p>
3833
+ * </important>
3825
3834
  */
3826
3835
  Attribute?: InstanceAttributeName | string;
3827
3836
  /**
@@ -5155,6 +5164,7 @@ export interface ModifyTransitGatewayOptions {
5155
5164
  /**
5156
5165
  * <p>A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
5157
5166
  * The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.</p>
5167
+ * <p>The modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.</p>
5158
5168
  */
5159
5169
  AmazonSideAsn?: number;
5160
5170
  }
@@ -1,7 +1,7 @@
1
1
  import { _InstanceType, AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, HostnameType, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
2
  import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RuleAction, ShutdownBehavior, SnapshotState, SpotInstanceType } from "./models_1";
3
- import { Filter, InstanceTagNotificationAttribute, IpamPoolCidr, TransitGatewayRoute } from "./models_2";
4
- import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, TpmSupportValues } from "./models_3";
3
+ import { InstanceTagNotificationAttribute, IpamPoolCidr, TransitGatewayRoute } from "./models_2";
4
+ import { ArchitectureValues, BootModeValues, ClientVpnConnectionStatus, Filter, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, TpmSupportValues } from "./models_3";
5
5
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
6
  import { CapacityReservationSpecification, Purchase } from "./models_5";
7
7
  export interface MonitorInstancesRequest {
@@ -1711,7 +1711,8 @@ export interface RevokeSecurityGroupIngressRequest {
1711
1711
  GroupId?: string;
1712
1712
  /**
1713
1713
  * <p>[EC2-Classic, default VPC] The name of the security group. You must specify either the
1714
- * security group ID or the security group name in the request.</p>
1714
+ * security group ID or the security group name in the request. For security groups in a
1715
+ * nondefault VPC, you must specify the security group ID.</p>
1715
1716
  */
1716
1717
  GroupName?: string;
1717
1718
  /**
@@ -3092,7 +3093,7 @@ export interface UnassignIpv6AddressesRequest {
3092
3093
  */
3093
3094
  Ipv6Addresses?: string[];
3094
3095
  /**
3095
- * <p>One or more IPv6 prefixes to unassign from the network interface.</p>
3096
+ * <p>The IPv6 prefixes to unassign from the network interface.</p>
3096
3097
  */
3097
3098
  Ipv6Prefixes?: string[];
3098
3099
  /**
@@ -3213,7 +3214,8 @@ export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
3213
3214
  GroupId?: string;
3214
3215
  /**
3215
3216
  * <p>[EC2-Classic, default VPC] The name of the security group. You must specify either the
3216
- * security group ID or the security group name in the request.</p>
3217
+ * security group ID or the security group name in the request. For security groups in a
3218
+ * nondefault VPC, you must specify the security group ID.</p>
3217
3219
  */
3218
3220
  GroupName?: string;
3219
3221
  /**