@aws-sdk/client-ec2 3.816.0 → 3.818.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 (97) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +317 -126
  3. package/dist-cjs/runtimeConfig.js +4 -1
  4. package/dist-es/EC2.js +2 -0
  5. package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
  6. package/dist-es/commands/GetActiveVpnTunnelStatusCommand.js +22 -0
  7. package/dist-es/commands/index.js +1 -0
  8. package/dist-es/models/models_0.js +5 -0
  9. package/dist-es/models/models_1.js +55 -0
  10. package/dist-es/models/models_5.js +0 -7
  11. package/dist-es/models/models_6.js +7 -0
  12. package/dist-es/protocols/Aws_ec2.js +155 -44
  13. package/dist-es/runtimeConfig.js +4 -1
  14. package/dist-types/EC2.d.ts +7 -0
  15. package/dist-types/EC2Client.d.ts +3 -2
  16. package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  18. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  19. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  21. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -2
  23. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -2
  27. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  28. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -2
  35. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  38. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  41. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +84 -0
  43. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  44. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -1
  45. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
  46. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -0
  47. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  50. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  51. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  52. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  53. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  54. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  55. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  56. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  57. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  58. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  59. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  60. package/dist-types/commands/index.d.ts +1 -0
  61. package/dist-types/models/models_0.d.ts +64 -48
  62. package/dist-types/models/models_1.d.ts +103 -28
  63. package/dist-types/models/models_2.d.ts +29 -58
  64. package/dist-types/models/models_3.d.ts +68 -57
  65. package/dist-types/models/models_4.d.ts +59 -72
  66. package/dist-types/models/models_5.d.ts +73 -106
  67. package/dist-types/models/models_6.d.ts +132 -100
  68. package/dist-types/models/models_7.d.ts +112 -65
  69. package/dist-types/models/models_8.d.ts +66 -3
  70. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  71. package/dist-types/ts3.4/EC2.d.ts +17 -0
  72. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  73. package/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -2
  76. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -4
  77. package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +4 -2
  78. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -2
  80. package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -4
  83. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
  84. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +18 -11
  88. package/dist-types/ts3.4/models/models_1.d.ts +66 -7
  89. package/dist-types/ts3.4/models/models_2.d.ts +7 -14
  90. package/dist-types/ts3.4/models/models_3.d.ts +15 -11
  91. package/dist-types/ts3.4/models/models_4.d.ts +13 -12
  92. package/dist-types/ts3.4/models/models_5.d.ts +13 -13
  93. package/dist-types/ts3.4/models/models_6.d.ts +21 -23
  94. package/dist-types/ts3.4/models/models_7.d.ts +26 -17
  95. package/dist-types/ts3.4/models/models_8.d.ts +18 -1
  96. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  97. package/package.json +2 -2
@@ -1,9 +1,107 @@
1
- import { AccessScopeAnalysisFinding, AddressTransfer, AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, AsnAssociation, AssociationStatus, CurrencyCodeValues, DeviceTrustProviderType, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, RouteServerAssociation, SecurityGroupVpcAssociationState, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
1
+ import { AccessScopeAnalysisFinding, ActiveVpnTunnelStatus, AddressTransfer, AllowedImagesSettingsDisabledState, AllowedImagesSettingsEnabledState, AsnAssociation, AssociationStatus, CurrencyCodeValues, DeviceTrustProviderType, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, RouteServerAssociation, SecurityGroupVpcAssociationState, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
2
2
  import { CapacityReservationState, DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, RequestIpamResourceTag, TargetCapacityUnitType } from "./models_1";
3
3
  import { NetworkInsightsAccessScopeContent, ResponseLaunchTemplateData, SSEType, SubnetCidrReservation } from "./models_2";
4
- import { Filter, IpamPoolCidr, MetricType, PeriodType, StatisticType, VpnGateway } from "./models_3";
4
+ import { Filter, IpamPoolCidr, MetricType, PeriodType, StatisticType, VpnConnection, 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 DescribeVpnConnections.</p>
9
+ * @public
10
+ */
11
+ export interface DescribeVpnConnectionsRequest {
12
+ /**
13
+ * <p>One or more filters.</p>
14
+ * <ul>
15
+ * <li>
16
+ * <p>
17
+ * <code>customer-gateway-configuration</code> - The configuration information
18
+ * for the customer gateway.</p>
19
+ * </li>
20
+ * <li>
21
+ * <p>
22
+ * <code>customer-gateway-id</code> - The ID of a customer gateway associated
23
+ * with the VPN connection.</p>
24
+ * </li>
25
+ * <li>
26
+ * <p>
27
+ * <code>state</code> - The state of the VPN connection (<code>pending</code> |
28
+ * <code>available</code> | <code>deleting</code> |
29
+ * <code>deleted</code>).</p>
30
+ * </li>
31
+ * <li>
32
+ * <p>
33
+ * <code>option.static-routes-only</code> - Indicates whether the connection has
34
+ * static routes only. Used for devices that do not support Border Gateway Protocol
35
+ * (BGP).</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>
39
+ * <code>route.destination-cidr-block</code> - The destination CIDR block. This
40
+ * corresponds to the subnet used in a customer data center.</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>
44
+ * <code>bgp-asn</code> - The BGP Autonomous System Number (ASN) associated with
45
+ * a BGP device.</p>
46
+ * </li>
47
+ * <li>
48
+ * <p>
49
+ * <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.
50
+ * 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>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <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>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>type</code> - The type of VPN connection. Currently the only supported
59
+ * type is <code>ipsec.1</code>.</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>
63
+ * <code>vpn-connection-id</code> - The ID of the VPN connection.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>
67
+ * <code>vpn-gateway-id</code> - The ID of a virtual private gateway associated
68
+ * with the VPN connection.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>
72
+ * <code>transit-gateway-id</code> - The ID of a transit gateway associated with
73
+ * the VPN connection.</p>
74
+ * </li>
75
+ * </ul>
76
+ * @public
77
+ */
78
+ Filters?: Filter[] | undefined;
79
+ /**
80
+ * <p>One or more VPN connection IDs.</p>
81
+ * <p>Default: Describes your VPN connections.</p>
82
+ * @public
83
+ */
84
+ VpnConnectionIds?: string[] | undefined;
85
+ /**
86
+ * <p>Checks whether you have the required permissions for the action, without actually
87
+ * making the request, and provides an error response. If you have the required
88
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
89
+ * <code>UnauthorizedOperation</code>.</p>
90
+ * @public
91
+ */
92
+ DryRun?: boolean | undefined;
93
+ }
94
+ /**
95
+ * <p>Contains the output of DescribeVpnConnections.</p>
96
+ * @public
97
+ */
98
+ export interface DescribeVpnConnectionsResult {
99
+ /**
100
+ * <p>Information about one or more VPN connections.</p>
101
+ * @public
102
+ */
103
+ VpnConnections?: VpnConnection[] | undefined;
104
+ }
7
105
  /**
8
106
  * <p>Contains the parameters for DescribeVpnGateways.</p>
9
107
  * @public
@@ -2891,6 +2989,36 @@ export interface ExportVerifiedAccessInstanceClientConfigurationResult {
2891
2989
  */
2892
2990
  OpenVpnConfigurations?: VerifiedAccessInstanceOpenVpnClientConfiguration[] | undefined;
2893
2991
  }
2992
+ /**
2993
+ * @public
2994
+ */
2995
+ export interface GetActiveVpnTunnelStatusRequest {
2996
+ /**
2997
+ * <p>The ID of the VPN connection for which to retrieve the active tunnel status.</p>
2998
+ * @public
2999
+ */
3000
+ VpnConnectionId: string | undefined;
3001
+ /**
3002
+ * <p>The external IP address of the VPN tunnel for which to retrieve the active status.</p>
3003
+ * @public
3004
+ */
3005
+ VpnTunnelOutsideIpAddress: string | undefined;
3006
+ /**
3007
+ * <p>Checks whether you have the required permissions for the action, without actually making the request.</p>
3008
+ * @public
3009
+ */
3010
+ DryRun?: boolean | undefined;
3011
+ }
3012
+ /**
3013
+ * @public
3014
+ */
3015
+ export interface GetActiveVpnTunnelStatusResult {
3016
+ /**
3017
+ * <p>Information about the current security configuration of the VPN tunnel.</p>
3018
+ * @public
3019
+ */
3020
+ ActiveVpnTunnelStatus?: ActiveVpnTunnelStatus | undefined;
3021
+ }
2894
3022
  /**
2895
3023
  * @public
2896
3024
  */
@@ -6670,105 +6798,9 @@ export interface GetTransitGatewayPolicyTableAssociationsRequest {
6670
6798
  DryRun?: boolean | undefined;
6671
6799
  }
6672
6800
  /**
6673
- * @public
6674
- */
6675
- export interface GetTransitGatewayPolicyTableAssociationsResult {
6676
- /**
6677
- * <p>Returns details about the transit gateway policy table association.</p>
6678
- * @public
6679
- */
6680
- Associations?: TransitGatewayPolicyTableAssociation[] | undefined;
6681
- /**
6682
- * <p>The token for the next page of results.</p>
6683
- * @public
6684
- */
6685
- NextToken?: string | undefined;
6686
- }
6687
- /**
6688
- * @public
6689
- */
6690
- export interface GetTransitGatewayPolicyTableEntriesRequest {
6691
- /**
6692
- * <p>The ID of the transit gateway policy table.</p>
6693
- * @public
6694
- */
6695
- TransitGatewayPolicyTableId: string | undefined;
6696
- /**
6697
- * <p>The filters associated with the transit gateway policy table.</p>
6698
- * @public
6699
- */
6700
- Filters?: Filter[] | undefined;
6701
- /**
6702
- * <p>The maximum number of results to return with a single call.
6703
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
6704
- * @public
6705
- */
6706
- MaxResults?: number | undefined;
6707
- /**
6708
- * <p>The token for the next page of results.</p>
6709
- * @public
6710
- */
6711
- NextToken?: string | undefined;
6712
- /**
6713
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6714
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6715
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6716
- * @public
6717
- */
6718
- DryRun?: boolean | undefined;
6719
- }
6720
- /**
6721
- * <p>Describes the meta data tags associated with a transit gateway policy rule.</p>
6722
- * @public
6723
- */
6724
- export interface TransitGatewayPolicyRuleMetaData {
6725
- /**
6726
- * <p>The key name for the transit gateway policy rule meta data tag.</p>
6727
- * @public
6728
- */
6729
- MetaDataKey?: string | undefined;
6730
- /**
6731
- * <p>The value of the key for the transit gateway policy rule meta data tag.</p>
6732
- * @public
6733
- */
6734
- MetaDataValue?: string | undefined;
6735
- }
6736
- /**
6737
- * <p>Describes a rule associated with a transit gateway policy.</p>
6738
- * @public
6801
+ * @internal
6739
6802
  */
6740
- export interface TransitGatewayPolicyRule {
6741
- /**
6742
- * <p>The source CIDR block for the transit gateway policy rule.</p>
6743
- * @public
6744
- */
6745
- SourceCidrBlock?: string | undefined;
6746
- /**
6747
- * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
6748
- * @public
6749
- */
6750
- SourcePortRange?: string | undefined;
6751
- /**
6752
- * <p>The destination CIDR block for the transit gateway policy rule.</p>
6753
- * @public
6754
- */
6755
- DestinationCidrBlock?: string | undefined;
6756
- /**
6757
- * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
6758
- * @public
6759
- */
6760
- DestinationPortRange?: string | undefined;
6761
- /**
6762
- * <p>The protocol used by the transit gateway policy rule.</p>
6763
- * @public
6764
- */
6765
- Protocol?: string | undefined;
6766
- /**
6767
- * <p>The meta data tags used for the transit gateway policy rule.</p>
6768
- * @public
6769
- */
6770
- MetaData?: TransitGatewayPolicyRuleMetaData | undefined;
6771
- }
6803
+ export declare const DescribeVpnConnectionsResultFilterSensitiveLog: (obj: DescribeVpnConnectionsResult) => any;
6772
6804
  /**
6773
6805
  * @internal
6774
6806
  */
@@ -1,10 +1,110 @@
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";
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, TransitGatewayPolicyTableAssociation, 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, TransitGatewayPolicyRule, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
7
+ import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface GetTransitGatewayPolicyTableAssociationsResult {
12
+ /**
13
+ * <p>Returns details about the transit gateway policy table association.</p>
14
+ * @public
15
+ */
16
+ Associations?: TransitGatewayPolicyTableAssociation[] | undefined;
17
+ /**
18
+ * <p>The token for the next page of results.</p>
19
+ * @public
20
+ */
21
+ NextToken?: string | undefined;
22
+ }
23
+ /**
24
+ * @public
25
+ */
26
+ export interface GetTransitGatewayPolicyTableEntriesRequest {
27
+ /**
28
+ * <p>The ID of the transit gateway policy table.</p>
29
+ * @public
30
+ */
31
+ TransitGatewayPolicyTableId: string | undefined;
32
+ /**
33
+ * <p>The filters associated with the transit gateway policy table.</p>
34
+ * @public
35
+ */
36
+ Filters?: Filter[] | undefined;
37
+ /**
38
+ * <p>The maximum number of results to return with a single call.
39
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
40
+ * @public
41
+ */
42
+ MaxResults?: number | undefined;
43
+ /**
44
+ * <p>The token for the next page of results.</p>
45
+ * @public
46
+ */
47
+ NextToken?: string | undefined;
48
+ /**
49
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
50
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
51
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
52
+ * @public
53
+ */
54
+ DryRun?: boolean | undefined;
55
+ }
56
+ /**
57
+ * <p>Describes the meta data tags associated with a transit gateway policy rule.</p>
58
+ * @public
59
+ */
60
+ export interface TransitGatewayPolicyRuleMetaData {
61
+ /**
62
+ * <p>The key name for the transit gateway policy rule meta data tag.</p>
63
+ * @public
64
+ */
65
+ MetaDataKey?: string | undefined;
66
+ /**
67
+ * <p>The value of the key for the transit gateway policy rule meta data tag.</p>
68
+ * @public
69
+ */
70
+ MetaDataValue?: string | undefined;
71
+ }
72
+ /**
73
+ * <p>Describes a rule associated with a transit gateway policy.</p>
74
+ * @public
75
+ */
76
+ export interface TransitGatewayPolicyRule {
77
+ /**
78
+ * <p>The source CIDR block for the transit gateway policy rule.</p>
79
+ * @public
80
+ */
81
+ SourceCidrBlock?: string | undefined;
82
+ /**
83
+ * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
84
+ * @public
85
+ */
86
+ SourcePortRange?: string | undefined;
87
+ /**
88
+ * <p>The destination CIDR block for the transit gateway policy rule.</p>
89
+ * @public
90
+ */
91
+ DestinationCidrBlock?: string | undefined;
92
+ /**
93
+ * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
94
+ * @public
95
+ */
96
+ DestinationPortRange?: string | undefined;
97
+ /**
98
+ * <p>The protocol used by the transit gateway policy rule.</p>
99
+ * @public
100
+ */
101
+ Protocol?: string | undefined;
102
+ /**
103
+ * <p>The meta data tags used for the transit gateway policy rule.</p>
104
+ * @public
105
+ */
106
+ MetaData?: TransitGatewayPolicyRuleMetaData | undefined;
107
+ }
8
108
  /**
9
109
  * <p>Describes a transit gateway policy table entry</p>
10
110
  * @public
@@ -451,6 +551,11 @@ export interface GetVpnConnectionDeviceSampleConfigurationRequest {
451
551
  * @public
452
552
  */
453
553
  InternetKeyExchangeVersion?: string | undefined;
554
+ /**
555
+ * <p>The type of sample configuration to generate. Valid values are "compatibility" (includes IKEv1) or "recommended" (throws UnsupportedOperationException for IKEv1).</p>
556
+ * @public
557
+ */
558
+ SampleType?: string | undefined;
454
559
  /**
455
560
  * <p>Checks whether you have the required permissions for the action, without actually
456
561
  * making the request, and provides an error response. If you have the required
@@ -6852,6 +6957,11 @@ export interface ModifyVpnTunnelOptionsRequest {
6852
6957
  * @public
6853
6958
  */
6854
6959
  SkipTunnelReplacement?: boolean | undefined;
6960
+ /**
6961
+ * <p>Specifies the storage mode for the pre-shared key (PSK). Valid values are <code>Standard</code> (stored in Site-to-Site VPN service) or <code>SecretsManager</code> (stored in Amazon Web Services Secrets Manager).</p>
6962
+ * @public
6963
+ */
6964
+ PreSharedKeyStorage?: string | undefined;
6855
6965
  }
6856
6966
  /**
6857
6967
  * @public
@@ -8121,69 +8231,6 @@ export interface ReleaseAddressRequest {
8121
8231
  */
8122
8232
  DryRun?: boolean | undefined;
8123
8233
  }
8124
- /**
8125
- * @public
8126
- */
8127
- export interface ReleaseHostsRequest {
8128
- /**
8129
- * <p>The IDs of the Dedicated Hosts to release.</p>
8130
- * @public
8131
- */
8132
- HostIds: string[] | undefined;
8133
- }
8134
- /**
8135
- * @public
8136
- */
8137
- export interface ReleaseHostsResult {
8138
- /**
8139
- * <p>The IDs of the Dedicated Hosts that were successfully released.</p>
8140
- * @public
8141
- */
8142
- Successful?: string[] | undefined;
8143
- /**
8144
- * <p>The IDs of the Dedicated Hosts that could not be released, including an error
8145
- * message.</p>
8146
- * @public
8147
- */
8148
- Unsuccessful?: UnsuccessfulItem[] | undefined;
8149
- }
8150
- /**
8151
- * @public
8152
- */
8153
- export interface ReleaseIpamPoolAllocationRequest {
8154
- /**
8155
- * <p>A check for whether you have the required permissions for the action without actually making the request
8156
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8157
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8158
- * @public
8159
- */
8160
- DryRun?: boolean | undefined;
8161
- /**
8162
- * <p>The ID of the IPAM pool which contains the allocation you want to release.</p>
8163
- * @public
8164
- */
8165
- IpamPoolId: string | undefined;
8166
- /**
8167
- * <p>The CIDR of the allocation you want to release.</p>
8168
- * @public
8169
- */
8170
- Cidr: string | undefined;
8171
- /**
8172
- * <p>The ID of the allocation.</p>
8173
- * @public
8174
- */
8175
- IpamPoolAllocationId: string | undefined;
8176
- }
8177
- /**
8178
- * @public
8179
- */
8180
- export interface ReleaseIpamPoolAllocationResult {
8181
- /**
8182
- * <p>Indicates if the release was successful.</p>
8183
- * @public
8184
- */
8185
- Success?: boolean | undefined;
8186
- }
8187
8234
  /**
8188
8235
  * @internal
8189
8236
  */
@@ -1,10 +1,73 @@
1
- import { AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceIpv6Address, MarketType, OperatorRequest, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
- import { IcmpTypeCode, LocalGatewayRoute, ManagedPrefixList, RuleAction, SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
1
+ import { AddressAttribute, AddressAttributeName, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, UnsuccessfulItem } from "./models_0";
2
+ import { _InstanceType, AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceBandwidthWeighting, InstanceInterruptionBehavior, MarketType, OperatorRequest, Placement, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
+ import { IcmpTypeCode, InstanceIpv6Address, 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 ReleaseHostsRequest {
12
+ /**
13
+ * <p>The IDs of the Dedicated Hosts to release.</p>
14
+ * @public
15
+ */
16
+ HostIds: string[] | undefined;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface ReleaseHostsResult {
22
+ /**
23
+ * <p>The IDs of the Dedicated Hosts that were successfully released.</p>
24
+ * @public
25
+ */
26
+ Successful?: string[] | undefined;
27
+ /**
28
+ * <p>The IDs of the Dedicated Hosts that could not be released, including an error
29
+ * message.</p>
30
+ * @public
31
+ */
32
+ Unsuccessful?: UnsuccessfulItem[] | undefined;
33
+ }
34
+ /**
35
+ * @public
36
+ */
37
+ export interface ReleaseIpamPoolAllocationRequest {
38
+ /**
39
+ * <p>A check for whether you have the required permissions for the action without actually making the request
40
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
41
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
42
+ * @public
43
+ */
44
+ DryRun?: boolean | undefined;
45
+ /**
46
+ * <p>The ID of the IPAM pool which contains the allocation you want to release.</p>
47
+ * @public
48
+ */
49
+ IpamPoolId: string | undefined;
50
+ /**
51
+ * <p>The CIDR of the allocation you want to release.</p>
52
+ * @public
53
+ */
54
+ Cidr: string | undefined;
55
+ /**
56
+ * <p>The ID of the allocation.</p>
57
+ * @public
58
+ */
59
+ IpamPoolAllocationId: string | undefined;
60
+ }
61
+ /**
62
+ * @public
63
+ */
64
+ export interface ReleaseIpamPoolAllocationResult {
65
+ /**
66
+ * <p>Indicates if the release was successful.</p>
67
+ * @public
68
+ */
69
+ Success?: boolean | undefined;
70
+ }
8
71
  /**
9
72
  * @public
10
73
  */
@@ -475,6 +475,7 @@ import { ExportClientVpnClientConfigurationCommandInput, ExportClientVpnClientCo
475
475
  import { ExportImageCommandInput, ExportImageCommandOutput } from "../commands/ExportImageCommand";
476
476
  import { ExportTransitGatewayRoutesCommandInput, ExportTransitGatewayRoutesCommandOutput } from "../commands/ExportTransitGatewayRoutesCommand";
477
477
  import { ExportVerifiedAccessInstanceClientConfigurationCommandInput, ExportVerifiedAccessInstanceClientConfigurationCommandOutput } from "../commands/ExportVerifiedAccessInstanceClientConfigurationCommand";
478
+ import { GetActiveVpnTunnelStatusCommandInput, GetActiveVpnTunnelStatusCommandOutput } from "../commands/GetActiveVpnTunnelStatusCommand";
478
479
  import { GetAllowedImagesSettingsCommandInput, GetAllowedImagesSettingsCommandOutput } from "../commands/GetAllowedImagesSettingsCommand";
479
480
  import { GetAssociatedEnclaveCertificateIamRolesCommandInput, GetAssociatedEnclaveCertificateIamRolesCommandOutput } from "../commands/GetAssociatedEnclaveCertificateIamRolesCommand";
480
481
  import { GetAssociatedIpv6PoolCidrsCommandInput, GetAssociatedIpv6PoolCidrsCommandOutput } from "../commands/GetAssociatedIpv6PoolCidrsCommand";
@@ -2585,6 +2586,10 @@ export declare const se_ExportTransitGatewayRoutesCommand: (input: ExportTransit
2585
2586
  * serializeAws_ec2ExportVerifiedAccessInstanceClientConfigurationCommand
2586
2587
  */
2587
2588
  export declare const se_ExportVerifiedAccessInstanceClientConfigurationCommand: (input: ExportVerifiedAccessInstanceClientConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2589
+ /**
2590
+ * serializeAws_ec2GetActiveVpnTunnelStatusCommand
2591
+ */
2592
+ export declare const se_GetActiveVpnTunnelStatusCommand: (input: GetActiveVpnTunnelStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2588
2593
  /**
2589
2594
  * serializeAws_ec2GetAllowedImagesSettingsCommand
2590
2595
  */
@@ -5325,6 +5330,10 @@ export declare const de_ExportTransitGatewayRoutesCommand: (output: __HttpRespon
5325
5330
  * deserializeAws_ec2ExportVerifiedAccessInstanceClientConfigurationCommand
5326
5331
  */
5327
5332
  export declare const de_ExportVerifiedAccessInstanceClientConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportVerifiedAccessInstanceClientConfigurationCommandOutput>;
5333
+ /**
5334
+ * deserializeAws_ec2GetActiveVpnTunnelStatusCommand
5335
+ */
5336
+ export declare const de_GetActiveVpnTunnelStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetActiveVpnTunnelStatusCommandOutput>;
5328
5337
  /**
5329
5338
  * deserializeAws_ec2GetAllowedImagesSettingsCommand
5330
5339
  */
@@ -1899,6 +1899,10 @@ import {
1899
1899
  ExportVerifiedAccessInstanceClientConfigurationCommandInput,
1900
1900
  ExportVerifiedAccessInstanceClientConfigurationCommandOutput,
1901
1901
  } from "./commands/ExportVerifiedAccessInstanceClientConfigurationCommand";
1902
+ import {
1903
+ GetActiveVpnTunnelStatusCommandInput,
1904
+ GetActiveVpnTunnelStatusCommandOutput,
1905
+ } from "./commands/GetActiveVpnTunnelStatusCommand";
1902
1906
  import {
1903
1907
  GetAllowedImagesSettingsCommandInput,
1904
1908
  GetAllowedImagesSettingsCommandOutput,
@@ -9757,6 +9761,19 @@ export interface EC2 {
9757
9761
  data?: ExportVerifiedAccessInstanceClientConfigurationCommandOutput
9758
9762
  ) => void
9759
9763
  ): void;
9764
+ getActiveVpnTunnelStatus(
9765
+ args: GetActiveVpnTunnelStatusCommandInput,
9766
+ options?: __HttpHandlerOptions
9767
+ ): Promise<GetActiveVpnTunnelStatusCommandOutput>;
9768
+ getActiveVpnTunnelStatus(
9769
+ args: GetActiveVpnTunnelStatusCommandInput,
9770
+ cb: (err: any, data?: GetActiveVpnTunnelStatusCommandOutput) => void
9771
+ ): void;
9772
+ getActiveVpnTunnelStatus(
9773
+ args: GetActiveVpnTunnelStatusCommandInput,
9774
+ options: __HttpHandlerOptions,
9775
+ cb: (err: any, data?: GetActiveVpnTunnelStatusCommandOutput) => void
9776
+ ): void;
9760
9777
  getAllowedImagesSettings(): Promise<GetAllowedImagesSettingsCommandOutput>;
9761
9778
  getAllowedImagesSettings(
9762
9779
  args: GetAllowedImagesSettingsCommandInput,
@@ -1945,6 +1945,10 @@ import {
1945
1945
  ExportVerifiedAccessInstanceClientConfigurationCommandInput,
1946
1946
  ExportVerifiedAccessInstanceClientConfigurationCommandOutput,
1947
1947
  } from "./commands/ExportVerifiedAccessInstanceClientConfigurationCommand";
1948
+ import {
1949
+ GetActiveVpnTunnelStatusCommandInput,
1950
+ GetActiveVpnTunnelStatusCommandOutput,
1951
+ } from "./commands/GetActiveVpnTunnelStatusCommand";
1948
1952
  import {
1949
1953
  GetAllowedImagesSettingsCommandInput,
1950
1954
  GetAllowedImagesSettingsCommandOutput,
@@ -3268,6 +3272,7 @@ export type ServiceInputTypes =
3268
3272
  | ExportImageCommandInput
3269
3273
  | ExportTransitGatewayRoutesCommandInput
3270
3274
  | ExportVerifiedAccessInstanceClientConfigurationCommandInput
3275
+ | GetActiveVpnTunnelStatusCommandInput
3271
3276
  | GetAllowedImagesSettingsCommandInput
3272
3277
  | GetAssociatedEnclaveCertificateIamRolesCommandInput
3273
3278
  | GetAssociatedIpv6PoolCidrsCommandInput
@@ -3954,6 +3959,7 @@ export type ServiceOutputTypes =
3954
3959
  | ExportImageCommandOutput
3955
3960
  | ExportTransitGatewayRoutesCommandOutput
3956
3961
  | ExportVerifiedAccessInstanceClientConfigurationCommandOutput
3962
+ | GetActiveVpnTunnelStatusCommandOutput
3957
3963
  | GetAllowedImagesSettingsCommandOutput
3958
3964
  | GetAssociatedEnclaveCertificateIamRolesCommandOutput
3959
3965
  | GetAssociatedIpv6PoolCidrsCommandOutput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { CopyFpgaImageRequest, CopyFpgaImageResult } from "../models/models_0";
8
+ import { CopyFpgaImageRequest, CopyFpgaImageResult } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface CopyFpgaImageCommandInput extends CopyFpgaImageRequest {}
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- CreateVpcEndpointRequest,
10
- CreateVpcEndpointResult,
11
- } from "../models/models_2";
8
+ import { CreateVpcEndpointRequest } from "../models/models_2";
9
+ import { CreateVpcEndpointResult } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface CreateVpcEndpointCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { CreateVpcEndpointConnectionNotificationRequest } from "../models/models_2";
9
- import { CreateVpcEndpointConnectionNotificationResult } from "../models/models_3";
8
+ import {
9
+ CreateVpcEndpointConnectionNotificationRequest,
10
+ CreateVpcEndpointConnectionNotificationResult,
11
+ } from "../models/models_3";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface CreateVpcEndpointConnectionNotificationCommandInput