@aws-sdk/client-ec2 3.814.0 → 3.816.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 (47) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +113 -9
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/ModifyPublicIpDnsNameOptionsCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_2.js +0 -4
  7. package/dist-es/models/models_3.js +4 -3
  8. package/dist-es/models/models_4.js +3 -0
  9. package/dist-es/models/models_7.js +5 -0
  10. package/dist-es/protocols/Aws_ec2.js +79 -0
  11. package/dist-types/EC2.d.ts +7 -0
  12. package/dist-types/EC2Client.d.ts +3 -2
  13. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +8 -0
  14. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +2 -1
  15. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +8 -0
  16. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -2
  17. package/dist-types/commands/DisassociateAddressCommand.d.ts +12 -0
  18. package/dist-types/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +74 -0
  19. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  20. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -2
  21. package/dist-types/commands/TerminateInstancesCommand.d.ts +4 -4
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/models/models_2.d.ts +42 -13
  24. package/dist-types/models/models_3.d.ts +13 -12
  25. package/dist-types/models/models_4.d.ts +13 -18
  26. package/dist-types/models/models_5.d.ts +17 -72
  27. package/dist-types/models/models_6.d.ts +71 -21
  28. package/dist-types/models/models_7.d.ts +82 -76
  29. package/dist-types/models/models_8.d.ts +75 -1
  30. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  31. package/dist-types/ts3.4/EC2.d.ts +17 -0
  32. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  33. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +2 -4
  34. package/dist-types/ts3.4/commands/DescribeVpnGatewaysCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +4 -2
  38. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  39. package/dist-types/ts3.4/models/models_2.d.ts +9 -6
  40. package/dist-types/ts3.4/models/models_3.d.ts +6 -6
  41. package/dist-types/ts3.4/models/models_4.d.ts +5 -6
  42. package/dist-types/ts3.4/models/models_5.d.ts +5 -5
  43. package/dist-types/ts3.4/models/models_6.d.ts +5 -5
  44. package/dist-types/ts3.4/models/models_7.d.ts +21 -17
  45. package/dist-types/ts3.4/models/models_8.d.ts +15 -0
  46. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  47. package/package.json +5 -5
@@ -1,7 +1,18 @@
1
1
  import { ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, Tag } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
2
+ import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
3
  import { GroupIdentifier, NetworkInterfaceStatus, StateReason } from "./models_2";
4
- import { AssociatedNetworkType, Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
4
+ import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
+ /**
6
+ * @public
7
+ * @enum
8
+ */
9
+ export declare const AssociatedNetworkType: {
10
+ readonly vpc: "vpc";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type AssociatedNetworkType = (typeof AssociatedNetworkType)[keyof typeof AssociatedNetworkType];
5
16
  /**
6
17
  * <p>Describes a target network that is associated with a Client VPN endpoint. A target network is a subnet in a VPC.</p>
7
18
  * @public
@@ -10664,22 +10675,6 @@ export interface DescribeLaunchTemplatesRequest {
10664
10675
  */
10665
10676
  MaxResults?: number | undefined;
10666
10677
  }
10667
- /**
10668
- * @public
10669
- */
10670
- export interface DescribeLaunchTemplatesResult {
10671
- /**
10672
- * <p>Information about the launch templates.</p>
10673
- * @public
10674
- */
10675
- LaunchTemplates?: LaunchTemplate[] | undefined;
10676
- /**
10677
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
10678
- * when there are no more results to return.</p>
10679
- * @public
10680
- */
10681
- NextToken?: string | undefined;
10682
- }
10683
10678
  /**
10684
10679
  * @internal
10685
10680
  */
@@ -1,8 +1,24 @@
1
1
  import { ActiveInstance, ActivityStatus, AllocationStrategy, AllowedPrincipal, AlternatePathHint, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfileSpecification, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcPeeringConnection } from "./models_0";
2
- import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, MacModificationTask, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
2
+ import { _InstanceType, AttributeValue, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplate, MacModificationTask, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
3
3
  import { DnsEntry, GroupIdentifier, IpAddressType, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, PlacementGroup, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint } from "./models_2";
4
4
  import { ConnectionNotification, DnsNameState, Filter, IdFormat, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, VpnConnection } from "./models_3";
5
5
  import { AttributeBooleanValue, EventInformation, PermissionGroup, ProductCode } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeLaunchTemplatesResult {
10
+ /**
11
+ * <p>Information about the launch templates.</p>
12
+ * @public
13
+ */
14
+ LaunchTemplates?: LaunchTemplate[] | undefined;
15
+ /**
16
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
17
+ * when there are no more results to return.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string | undefined;
21
+ }
6
22
  /**
7
23
  * @public
8
24
  */
@@ -11499,77 +11515,6 @@ export interface DescribeVpnConnectionsResult {
11499
11515
  */
11500
11516
  VpnConnections?: VpnConnection[] | undefined;
11501
11517
  }
11502
- /**
11503
- * <p>Contains the parameters for DescribeVpnGateways.</p>
11504
- * @public
11505
- */
11506
- export interface DescribeVpnGatewaysRequest {
11507
- /**
11508
- * <p>One or more filters.</p>
11509
- * <ul>
11510
- * <li>
11511
- * <p>
11512
- * <code>amazon-side-asn</code> - The Autonomous System Number (ASN) for the
11513
- * Amazon side of the gateway.</p>
11514
- * </li>
11515
- * <li>
11516
- * <p>
11517
- * <code>attachment.state</code> - The current state of the attachment between
11518
- * the gateway and the VPC (<code>attaching</code> | <code>attached</code> |
11519
- * <code>detaching</code> | <code>detached</code>).</p>
11520
- * </li>
11521
- * <li>
11522
- * <p>
11523
- * <code>attachment.vpc-id</code> - The ID of an attached VPC.</p>
11524
- * </li>
11525
- * <li>
11526
- * <p>
11527
- * <code>availability-zone</code> - The Availability Zone for the virtual private
11528
- * gateway (if applicable).</p>
11529
- * </li>
11530
- * <li>
11531
- * <p>
11532
- * <code>state</code> - The state of the virtual private gateway
11533
- * (<code>pending</code> | <code>available</code> | <code>deleting</code> |
11534
- * <code>deleted</code>).</p>
11535
- * </li>
11536
- * <li>
11537
- * <p>
11538
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
11539
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
11540
- * </li>
11541
- * <li>
11542
- * <p>
11543
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
11544
- * </li>
11545
- * <li>
11546
- * <p>
11547
- * <code>type</code> - The type of virtual private gateway. Currently the only
11548
- * supported type is <code>ipsec.1</code>.</p>
11549
- * </li>
11550
- * <li>
11551
- * <p>
11552
- * <code>vpn-gateway-id</code> - The ID of the virtual private gateway.</p>
11553
- * </li>
11554
- * </ul>
11555
- * @public
11556
- */
11557
- Filters?: Filter[] | undefined;
11558
- /**
11559
- * <p>One or more virtual private gateway IDs.</p>
11560
- * <p>Default: Describes all your virtual private gateways.</p>
11561
- * @public
11562
- */
11563
- VpnGatewayIds?: string[] | undefined;
11564
- /**
11565
- * <p>Checks whether you have the required permissions for the action, without actually
11566
- * making the request, and provides an error response. If you have the required
11567
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
11568
- * <code>UnauthorizedOperation</code>.</p>
11569
- * @public
11570
- */
11571
- DryRun?: boolean | undefined;
11572
- }
11573
11518
  /**
11574
11519
  * @internal
11575
11520
  */
@@ -4,6 +4,77 @@ import { NetworkInsightsAccessScopeContent, ResponseLaunchTemplateData, SSEType,
4
4
  import { Filter, IpamPoolCidr, MetricType, PeriodType, StatisticType, VpnGateway } from "./models_3";
5
5
  import { ArchitectureType, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataTagsState, PaymentOption, VirtualizationType } from "./models_4";
6
6
  import { AnalysisStatus, ManagedBy } from "./models_5";
7
+ /**
8
+ * <p>Contains the parameters for DescribeVpnGateways.</p>
9
+ * @public
10
+ */
11
+ export interface DescribeVpnGatewaysRequest {
12
+ /**
13
+ * <p>One or more filters.</p>
14
+ * <ul>
15
+ * <li>
16
+ * <p>
17
+ * <code>amazon-side-asn</code> - The Autonomous System Number (ASN) for the
18
+ * Amazon side of the gateway.</p>
19
+ * </li>
20
+ * <li>
21
+ * <p>
22
+ * <code>attachment.state</code> - The current state of the attachment between
23
+ * the gateway and the VPC (<code>attaching</code> | <code>attached</code> |
24
+ * <code>detaching</code> | <code>detached</code>).</p>
25
+ * </li>
26
+ * <li>
27
+ * <p>
28
+ * <code>attachment.vpc-id</code> - The ID of an attached VPC.</p>
29
+ * </li>
30
+ * <li>
31
+ * <p>
32
+ * <code>availability-zone</code> - The Availability Zone for the virtual private
33
+ * gateway (if applicable).</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>
37
+ * <code>state</code> - The state of the virtual private gateway
38
+ * (<code>pending</code> | <code>available</code> | <code>deleting</code> |
39
+ * <code>deleted</code>).</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>
43
+ * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
44
+ * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
49
+ * </li>
50
+ * <li>
51
+ * <p>
52
+ * <code>type</code> - The type of virtual private gateway. Currently the only
53
+ * supported type is <code>ipsec.1</code>.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * <code>vpn-gateway-id</code> - The ID of the virtual private gateway.</p>
58
+ * </li>
59
+ * </ul>
60
+ * @public
61
+ */
62
+ Filters?: Filter[] | undefined;
63
+ /**
64
+ * <p>One or more virtual private gateway IDs.</p>
65
+ * <p>Default: Describes all your virtual private gateways.</p>
66
+ * @public
67
+ */
68
+ VpnGatewayIds?: string[] | undefined;
69
+ /**
70
+ * <p>Checks whether you have the required permissions for the action, without actually
71
+ * making the request, and provides an error response. If you have the required
72
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
73
+ * <code>UnauthorizedOperation</code>.</p>
74
+ * @public
75
+ */
76
+ DryRun?: boolean | undefined;
77
+ }
7
78
  /**
8
79
  * <p>Contains the output of DescribeVpnGateways.</p>
9
80
  * @public
@@ -6698,27 +6769,6 @@ export interface TransitGatewayPolicyRule {
6698
6769
  */
6699
6770
  MetaData?: TransitGatewayPolicyRuleMetaData | undefined;
6700
6771
  }
6701
- /**
6702
- * <p>Describes a transit gateway policy table entry</p>
6703
- * @public
6704
- */
6705
- export interface TransitGatewayPolicyTableEntry {
6706
- /**
6707
- * <p>The rule number for the transit gateway policy table entry.</p>
6708
- * @public
6709
- */
6710
- PolicyRuleNumber?: string | undefined;
6711
- /**
6712
- * <p>The policy rule associated with the transit gateway policy table.</p>
6713
- * @public
6714
- */
6715
- PolicyRule?: TransitGatewayPolicyRule | undefined;
6716
- /**
6717
- * <p>The ID of the target route table.</p>
6718
- * @public
6719
- */
6720
- TargetRouteTableId?: string | undefined;
6721
- }
6722
6772
  /**
6723
6773
  * @internal
6724
6774
  */
@@ -1,10 +1,31 @@
1
- import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, Ipv6SupportValue, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
1
+ import { AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, HostMaintenance, HostRecovery, InstanceEventWindow, Ipv6SupportValue, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { _InstanceType, AttributeValue, BlockDeviceMapping, CapacityReservation, CapacityReservationInstancePlatform, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, EndDateType, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceBandwidthWeighting, InstanceEventWindowTimeRangeRequest, InstanceMatchCriteria, Ipam, IpamMeteredAccount, IpamPool, IpamResourceDiscovery, IpamScope, IpamTier, LaunchTemplate, Placement, PlatformValues, RequestIpamResourceTag, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, InternetGatewayExclusionMode, IpAddressType, LocalGatewayRoute, ManagedPrefixList, RouteServer, RouteServerPersistRoutesAction, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnEcmpSupportValue } from "./models_2";
4
4
  import { Byoasn, CapacityBlockExtension, Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, IpamPoolCidr, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_3";
5
5
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, HttpTokensState, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStatusEvent, LaunchPermission, Monitoring, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_4";
6
6
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, InternetGatewayBlockMode, LaunchTemplateConfig, LockState, PublicIpv4PoolRange, ReservedInstancesConfiguration, ScheduledInstance, SnapshotAttributeName, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
- import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPolicyTableEntry, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
7
+ import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPolicyRule, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
8
+ /**
9
+ * <p>Describes a transit gateway policy table entry</p>
10
+ * @public
11
+ */
12
+ export interface TransitGatewayPolicyTableEntry {
13
+ /**
14
+ * <p>The rule number for the transit gateway policy table entry.</p>
15
+ * @public
16
+ */
17
+ PolicyRuleNumber?: string | undefined;
18
+ /**
19
+ * <p>The policy rule associated with the transit gateway policy table.</p>
20
+ * @public
21
+ */
22
+ PolicyRule?: TransitGatewayPolicyRule | undefined;
23
+ /**
24
+ * <p>The ID of the target route table.</p>
25
+ * @public
26
+ */
27
+ TargetRouteTableId?: string | undefined;
28
+ }
8
29
  /**
9
30
  * @public
10
31
  */
@@ -4175,6 +4196,65 @@ export interface ModifyPrivateDnsNameOptionsResult {
4175
4196
  */
4176
4197
  Return?: boolean | undefined;
4177
4198
  }
4199
+ /**
4200
+ * @public
4201
+ * @enum
4202
+ */
4203
+ export declare const PublicIpDnsOption: {
4204
+ readonly public_dual_stack_dns_name: "public-dual-stack-dns-name";
4205
+ readonly public_ipv4_dns_name: "public-ipv4-dns-name";
4206
+ readonly public_ipv6_dns_name: "public-ipv6-dns-name";
4207
+ };
4208
+ /**
4209
+ * @public
4210
+ */
4211
+ export type PublicIpDnsOption = (typeof PublicIpDnsOption)[keyof typeof PublicIpDnsOption];
4212
+ /**
4213
+ * @public
4214
+ */
4215
+ export interface ModifyPublicIpDnsNameOptionsRequest {
4216
+ /**
4217
+ * <p>A network interface ID.</p>
4218
+ * @public
4219
+ */
4220
+ NetworkInterfaceId: string | undefined;
4221
+ /**
4222
+ * <p>The public hostname type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html">EC2 instance hostnames, DNS names, and domains</a> in the <i>Amazon EC2 User Guide</i>.</p>
4223
+ * <ul>
4224
+ * <li>
4225
+ * <p>
4226
+ * <code>public-dual-stack-dns-name</code>: A dual-stack public hostname for a network interface. Requests from within the VPC resolve to both the private IPv4 address and the IPv6 Global Unicast Address of the network interface. Requests from the internet resolve to both the public IPv4 and the IPv6 GUA address of the network interface.</p>
4227
+ * </li>
4228
+ * <li>
4229
+ * <p>
4230
+ * <code>public-ipv4-dns-name</code>: An IPv4-enabled public hostname for a network interface. Requests from within the VPC resolve to the private primary IPv4 address of the network interface. Requests from the internet resolve to the public IPv4 address of the network interface.</p>
4231
+ * </li>
4232
+ * <li>
4233
+ * <p>
4234
+ * <code>public-ipv6-dns-name</code>: An IPv6-enabled public hostname for a network interface. Requests from within the VPC or from the internet resolve to the IPv6 GUA of the network interface. </p>
4235
+ * </li>
4236
+ * </ul>
4237
+ * @public
4238
+ */
4239
+ HostnameType: PublicIpDnsOption | undefined;
4240
+ /**
4241
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
4242
+ * request, and provides an error response. If you have the required permissions, the error response is
4243
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4244
+ * @public
4245
+ */
4246
+ DryRun?: boolean | undefined;
4247
+ }
4248
+ /**
4249
+ * @public
4250
+ */
4251
+ export interface ModifyPublicIpDnsNameOptionsResult {
4252
+ /**
4253
+ * <p>Whether or not the request was successful.</p>
4254
+ * @public
4255
+ */
4256
+ Successful?: boolean | undefined;
4257
+ }
4178
4258
  /**
4179
4259
  * <p>Contains the parameters for ModifyReservedInstances.</p>
4180
4260
  * @public
@@ -8104,80 +8184,6 @@ export interface ReleaseIpamPoolAllocationResult {
8104
8184
  */
8105
8185
  Success?: boolean | undefined;
8106
8186
  }
8107
- /**
8108
- * @public
8109
- */
8110
- export interface ReplaceIamInstanceProfileAssociationRequest {
8111
- /**
8112
- * <p>The IAM instance profile.</p>
8113
- * @public
8114
- */
8115
- IamInstanceProfile: IamInstanceProfileSpecification | undefined;
8116
- /**
8117
- * <p>The ID of the existing IAM instance profile association.</p>
8118
- * @public
8119
- */
8120
- AssociationId: string | undefined;
8121
- }
8122
- /**
8123
- * @public
8124
- */
8125
- export interface ReplaceIamInstanceProfileAssociationResult {
8126
- /**
8127
- * <p>Information about the IAM instance profile association.</p>
8128
- * @public
8129
- */
8130
- IamInstanceProfileAssociation?: IamInstanceProfileAssociation | undefined;
8131
- }
8132
- /**
8133
- * <p>The list of criteria that are evaluated to determine whch AMIs are discoverable and usable
8134
- * in the account in the specified Amazon Web Services Region. Currently, the only criteria that can be
8135
- * specified are AMI providers. </p>
8136
- * <p>Up to 10 <code>imageCriteria</code> objects can be specified, and up to a total of 200
8137
- * values for all <code>imageProviders</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#allowed-amis-json-configuration">JSON
8138
- * configuration for the Allowed AMIs criteria</a> in the
8139
- * <i>Amazon EC2 User Guide</i>.</p>
8140
- * @public
8141
- */
8142
- export interface ImageCriterionRequest {
8143
- /**
8144
- * <p>A list of image providers whose AMIs are discoverable and useable in the account. Up to a
8145
- * total of 200 values can be specified.</p>
8146
- * <p>Possible values:</p>
8147
- * <p>
8148
- * <code>amazon</code>: Allow AMIs created by Amazon Web Services.</p>
8149
- * <p>
8150
- * <code>aws-marketplace</code>: Allow AMIs created by verified providers in the Amazon Web Services
8151
- * Marketplace.</p>
8152
- * <p>
8153
- * <code>aws-backup-vault</code>: Allow AMIs created by Amazon Web Services Backup. </p>
8154
- * <p>12-digit account ID: Allow AMIs created by this account. One or more account IDs can be
8155
- * specified.</p>
8156
- * <p>
8157
- * <code>none</code>: Allow AMIs created by your own account only. When <code>none</code> is
8158
- * specified, no other values can be specified.</p>
8159
- * @public
8160
- */
8161
- ImageProviders?: string[] | undefined;
8162
- }
8163
- /**
8164
- * @public
8165
- */
8166
- export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
8167
- /**
8168
- * <p>The list of criteria that are evaluated to determine whether AMIs are discoverable and
8169
- * usable in the account in the specified Amazon Web Services Region.</p>
8170
- * @public
8171
- */
8172
- ImageCriteria?: ImageCriterionRequest[] | undefined;
8173
- /**
8174
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8175
- * and provides an error response. If you have the required permissions, the error response is
8176
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8177
- * @public
8178
- */
8179
- DryRun?: boolean | undefined;
8180
- }
8181
8187
  /**
8182
8188
  * @internal
8183
8189
  */
@@ -1,10 +1,84 @@
1
- import { AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
1
+ import { AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
2
2
  import { _InstanceType, AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceIpv6Address, MarketType, OperatorRequest, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
3
  import { IcmpTypeCode, LocalGatewayRoute, ManagedPrefixList, RuleAction, SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
4
4
  import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
5
  import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState } from "./models_4";
6
6
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_5";
7
7
  import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_7";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ReplaceIamInstanceProfileAssociationRequest {
12
+ /**
13
+ * <p>The IAM instance profile.</p>
14
+ * @public
15
+ */
16
+ IamInstanceProfile: IamInstanceProfileSpecification | undefined;
17
+ /**
18
+ * <p>The ID of the existing IAM instance profile association.</p>
19
+ * @public
20
+ */
21
+ AssociationId: string | undefined;
22
+ }
23
+ /**
24
+ * @public
25
+ */
26
+ export interface ReplaceIamInstanceProfileAssociationResult {
27
+ /**
28
+ * <p>Information about the IAM instance profile association.</p>
29
+ * @public
30
+ */
31
+ IamInstanceProfileAssociation?: IamInstanceProfileAssociation | undefined;
32
+ }
33
+ /**
34
+ * <p>The list of criteria that are evaluated to determine whch AMIs are discoverable and usable
35
+ * in the account in the specified Amazon Web Services Region. Currently, the only criteria that can be
36
+ * specified are AMI providers. </p>
37
+ * <p>Up to 10 <code>imageCriteria</code> objects can be specified, and up to a total of 200
38
+ * values for all <code>imageProviders</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#allowed-amis-json-configuration">JSON
39
+ * configuration for the Allowed AMIs criteria</a> in the
40
+ * <i>Amazon EC2 User Guide</i>.</p>
41
+ * @public
42
+ */
43
+ export interface ImageCriterionRequest {
44
+ /**
45
+ * <p>A list of image providers whose AMIs are discoverable and useable in the account. Up to a
46
+ * total of 200 values can be specified.</p>
47
+ * <p>Possible values:</p>
48
+ * <p>
49
+ * <code>amazon</code>: Allow AMIs created by Amazon Web Services.</p>
50
+ * <p>
51
+ * <code>aws-marketplace</code>: Allow AMIs created by verified providers in the Amazon Web Services
52
+ * Marketplace.</p>
53
+ * <p>
54
+ * <code>aws-backup-vault</code>: Allow AMIs created by Amazon Web Services Backup. </p>
55
+ * <p>12-digit account ID: Allow AMIs created by this account. One or more account IDs can be
56
+ * specified.</p>
57
+ * <p>
58
+ * <code>none</code>: Allow AMIs created by your own account only. When <code>none</code> is
59
+ * specified, no other values can be specified.</p>
60
+ * @public
61
+ */
62
+ ImageProviders?: string[] | undefined;
63
+ }
64
+ /**
65
+ * @public
66
+ */
67
+ export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
68
+ /**
69
+ * <p>The list of criteria that are evaluated to determine whether AMIs are discoverable and
70
+ * usable in the account in the specified Amazon Web Services Region.</p>
71
+ * @public
72
+ */
73
+ ImageCriteria?: ImageCriterionRequest[] | undefined;
74
+ /**
75
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
76
+ * and provides an error response. If you have the required permissions, the error response is
77
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
78
+ * @public
79
+ */
80
+ DryRun?: boolean | undefined;
81
+ }
8
82
  /**
9
83
  * @public
10
84
  */
@@ -573,6 +573,7 @@ import { ModifyLocalGatewayRouteCommandInput, ModifyLocalGatewayRouteCommandOutp
573
573
  import { ModifyManagedPrefixListCommandInput, ModifyManagedPrefixListCommandOutput } from "../commands/ModifyManagedPrefixListCommand";
574
574
  import { ModifyNetworkInterfaceAttributeCommandInput, ModifyNetworkInterfaceAttributeCommandOutput } from "../commands/ModifyNetworkInterfaceAttributeCommand";
575
575
  import { ModifyPrivateDnsNameOptionsCommandInput, ModifyPrivateDnsNameOptionsCommandOutput } from "../commands/ModifyPrivateDnsNameOptionsCommand";
576
+ import { ModifyPublicIpDnsNameOptionsCommandInput, ModifyPublicIpDnsNameOptionsCommandOutput } from "../commands/ModifyPublicIpDnsNameOptionsCommand";
576
577
  import { ModifyReservedInstancesCommandInput, ModifyReservedInstancesCommandOutput } from "../commands/ModifyReservedInstancesCommand";
577
578
  import { ModifyRouteServerCommandInput, ModifyRouteServerCommandOutput } from "../commands/ModifyRouteServerCommand";
578
579
  import { ModifySecurityGroupRulesCommandInput, ModifySecurityGroupRulesCommandOutput } from "../commands/ModifySecurityGroupRulesCommand";
@@ -2976,6 +2977,10 @@ export declare const se_ModifyNetworkInterfaceAttributeCommand: (input: ModifyNe
2976
2977
  * serializeAws_ec2ModifyPrivateDnsNameOptionsCommand
2977
2978
  */
2978
2979
  export declare const se_ModifyPrivateDnsNameOptionsCommand: (input: ModifyPrivateDnsNameOptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2980
+ /**
2981
+ * serializeAws_ec2ModifyPublicIpDnsNameOptionsCommand
2982
+ */
2983
+ export declare const se_ModifyPublicIpDnsNameOptionsCommand: (input: ModifyPublicIpDnsNameOptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2979
2984
  /**
2980
2985
  * serializeAws_ec2ModifyReservedInstancesCommand
2981
2986
  */
@@ -5712,6 +5717,10 @@ export declare const de_ModifyNetworkInterfaceAttributeCommand: (output: __HttpR
5712
5717
  * deserializeAws_ec2ModifyPrivateDnsNameOptionsCommand
5713
5718
  */
5714
5719
  export declare const de_ModifyPrivateDnsNameOptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyPrivateDnsNameOptionsCommandOutput>;
5720
+ /**
5721
+ * deserializeAws_ec2ModifyPublicIpDnsNameOptionsCommand
5722
+ */
5723
+ export declare const de_ModifyPublicIpDnsNameOptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyPublicIpDnsNameOptionsCommandOutput>;
5715
5724
  /**
5716
5725
  * deserializeAws_ec2ModifyReservedInstancesCommand
5717
5726
  */
@@ -2291,6 +2291,10 @@ import {
2291
2291
  ModifyPrivateDnsNameOptionsCommandInput,
2292
2292
  ModifyPrivateDnsNameOptionsCommandOutput,
2293
2293
  } from "./commands/ModifyPrivateDnsNameOptionsCommand";
2294
+ import {
2295
+ ModifyPublicIpDnsNameOptionsCommandInput,
2296
+ ModifyPublicIpDnsNameOptionsCommandOutput,
2297
+ } from "./commands/ModifyPublicIpDnsNameOptionsCommand";
2294
2298
  import {
2295
2299
  ModifyReservedInstancesCommandInput,
2296
2300
  ModifyReservedInstancesCommandOutput,
@@ -11162,6 +11166,19 @@ export interface EC2 {
11162
11166
  options: __HttpHandlerOptions,
11163
11167
  cb: (err: any, data?: ModifyPrivateDnsNameOptionsCommandOutput) => void
11164
11168
  ): void;
11169
+ modifyPublicIpDnsNameOptions(
11170
+ args: ModifyPublicIpDnsNameOptionsCommandInput,
11171
+ options?: __HttpHandlerOptions
11172
+ ): Promise<ModifyPublicIpDnsNameOptionsCommandOutput>;
11173
+ modifyPublicIpDnsNameOptions(
11174
+ args: ModifyPublicIpDnsNameOptionsCommandInput,
11175
+ cb: (err: any, data?: ModifyPublicIpDnsNameOptionsCommandOutput) => void
11176
+ ): void;
11177
+ modifyPublicIpDnsNameOptions(
11178
+ args: ModifyPublicIpDnsNameOptionsCommandInput,
11179
+ options: __HttpHandlerOptions,
11180
+ cb: (err: any, data?: ModifyPublicIpDnsNameOptionsCommandOutput) => void
11181
+ ): void;
11165
11182
  modifyReservedInstances(
11166
11183
  args: ModifyReservedInstancesCommandInput,
11167
11184
  options?: __HttpHandlerOptions
@@ -2337,6 +2337,10 @@ import {
2337
2337
  ModifyPrivateDnsNameOptionsCommandInput,
2338
2338
  ModifyPrivateDnsNameOptionsCommandOutput,
2339
2339
  } from "./commands/ModifyPrivateDnsNameOptionsCommand";
2340
+ import {
2341
+ ModifyPublicIpDnsNameOptionsCommandInput,
2342
+ ModifyPublicIpDnsNameOptionsCommandOutput,
2343
+ } from "./commands/ModifyPublicIpDnsNameOptionsCommand";
2340
2344
  import {
2341
2345
  ModifyReservedInstancesCommandInput,
2342
2346
  ModifyReservedInstancesCommandOutput,
@@ -3362,6 +3366,7 @@ export type ServiceInputTypes =
3362
3366
  | ModifyManagedPrefixListCommandInput
3363
3367
  | ModifyNetworkInterfaceAttributeCommandInput
3364
3368
  | ModifyPrivateDnsNameOptionsCommandInput
3369
+ | ModifyPublicIpDnsNameOptionsCommandInput
3365
3370
  | ModifyReservedInstancesCommandInput
3366
3371
  | ModifyRouteServerCommandInput
3367
3372
  | ModifySecurityGroupRulesCommandInput
@@ -4047,6 +4052,7 @@ export type ServiceOutputTypes =
4047
4052
  | ModifyManagedPrefixListCommandOutput
4048
4053
  | ModifyNetworkInterfaceAttributeCommandOutput
4049
4054
  | ModifyPrivateDnsNameOptionsCommandOutput
4055
+ | ModifyPublicIpDnsNameOptionsCommandOutput
4050
4056
  | ModifyReservedInstancesCommandOutput
4051
4057
  | ModifyRouteServerCommandOutput
4052
4058
  | ModifySecurityGroupRulesCommandOutput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeLaunchTemplatesRequest,
10
- DescribeLaunchTemplatesResult,
11
- } from "../models/models_4";
8
+ import { DescribeLaunchTemplatesRequest } from "../models/models_4";
9
+ import { DescribeLaunchTemplatesResult } from "../models/models_5";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeLaunchTemplatesCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeVpnGatewaysRequest } from "../models/models_5";
9
- import { DescribeVpnGatewaysResult } from "../models/models_6";
8
+ import {
9
+ DescribeVpnGatewaysRequest,
10
+ DescribeVpnGatewaysResult,
11
+ } from "../models/models_6";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeVpnGatewaysCommandInput