@aws-sdk/client-ec2 3.817.0 → 3.819.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 (95) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +309 -135
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
  5. package/dist-es/commands/GetActiveVpnTunnelStatusCommand.js +22 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +5 -0
  8. package/dist-es/models/models_3.js +7 -0
  9. package/dist-es/models/models_5.js +0 -7
  10. package/dist-es/models/models_6.js +7 -0
  11. package/dist-es/protocols/Aws_ec2.js +196 -53
  12. package/dist-types/EC2.d.ts +7 -0
  13. package/dist-types/EC2Client.d.ts +3 -2
  14. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +1 -1
  15. package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
  16. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateImageCommand.d.ts +2 -2
  18. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -1
  21. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -2
  22. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  23. package/dist-types/commands/DeregisterImageCommand.d.ts +19 -6
  24. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -2
  26. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -2
  28. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +3 -3
  29. package/dist-types/commands/DescribeVpcsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +2 -1
  31. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +1 -1
  32. package/dist-types/commands/DisableImageDeprecationCommand.d.ts +1 -1
  33. package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +2 -2
  34. package/dist-types/commands/EnableImageBlockPublicAccessCommand.d.ts +1 -1
  35. package/dist-types/commands/EnableImageCommand.d.ts +2 -2
  36. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +2 -2
  37. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +84 -0
  38. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  39. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -1
  40. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  41. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
  42. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -0
  43. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  44. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  45. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  46. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  47. package/dist-types/commands/RegisterImageCommand.d.ts +2 -2
  48. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +2 -1
  49. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  50. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  51. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  52. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +3 -2
  53. package/dist-types/commands/index.d.ts +1 -0
  54. package/dist-types/models/models_0.d.ts +64 -48
  55. package/dist-types/models/models_1.d.ts +53 -32
  56. package/dist-types/models/models_2.d.ts +29 -58
  57. package/dist-types/models/models_3.d.ts +150 -151
  58. package/dist-types/models/models_4.d.ts +161 -203
  59. package/dist-types/models/models_5.d.ts +195 -226
  60. package/dist-types/models/models_6.d.ts +254 -149
  61. package/dist-types/models/models_7.d.ts +168 -114
  62. package/dist-types/models/models_8.d.ts +107 -5
  63. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  64. package/dist-types/ts3.4/EC2.d.ts +17 -0
  65. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  66. package/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +2 -4
  68. package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -2
  69. package/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +4 -2
  72. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -2
  74. package/dist-types/ts3.4/commands/DescribeVpcsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +2 -4
  78. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
  80. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +2 -4
  81. package/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +18 -11
  86. package/dist-types/ts3.4/models/models_1.d.ts +11 -7
  87. package/dist-types/ts3.4/models/models_2.d.ts +7 -14
  88. package/dist-types/ts3.4/models/models_3.d.ts +33 -32
  89. package/dist-types/ts3.4/models/models_4.d.ts +33 -29
  90. package/dist-types/ts3.4/models/models_5.d.ts +29 -25
  91. package/dist-types/ts3.4/models/models_6.d.ts +33 -36
  92. package/dist-types/ts3.4/models/models_7.d.ts +40 -26
  93. package/dist-types/ts3.4/models/models_8.d.ts +29 -2
  94. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  95. package/package.json +1 -1
@@ -1,10 +1,158 @@
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, TransitGatewayMulticastDomainAssociation, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface GetTransitGatewayMulticastDomainAssociationsResult {
12
+ /**
13
+ * <p>Information about the multicast domain associations.</p>
14
+ * @public
15
+ */
16
+ MulticastDomainAssociations?: TransitGatewayMulticastDomainAssociation[] | undefined;
17
+ /**
18
+ * <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>
19
+ * @public
20
+ */
21
+ NextToken?: string | undefined;
22
+ }
23
+ /**
24
+ * @public
25
+ */
26
+ export interface GetTransitGatewayPolicyTableAssociationsRequest {
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
+ * @public
58
+ */
59
+ export interface GetTransitGatewayPolicyTableAssociationsResult {
60
+ /**
61
+ * <p>Returns details about the transit gateway policy table association.</p>
62
+ * @public
63
+ */
64
+ Associations?: TransitGatewayPolicyTableAssociation[] | undefined;
65
+ /**
66
+ * <p>The token for the next page of results.</p>
67
+ * @public
68
+ */
69
+ NextToken?: string | undefined;
70
+ }
71
+ /**
72
+ * @public
73
+ */
74
+ export interface GetTransitGatewayPolicyTableEntriesRequest {
75
+ /**
76
+ * <p>The ID of the transit gateway policy table.</p>
77
+ * @public
78
+ */
79
+ TransitGatewayPolicyTableId: string | undefined;
80
+ /**
81
+ * <p>The filters associated with the transit gateway policy table.</p>
82
+ * @public
83
+ */
84
+ Filters?: Filter[] | undefined;
85
+ /**
86
+ * <p>The maximum number of results to return with a single call.
87
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
88
+ * @public
89
+ */
90
+ MaxResults?: number | undefined;
91
+ /**
92
+ * <p>The token for the next page of results.</p>
93
+ * @public
94
+ */
95
+ NextToken?: string | undefined;
96
+ /**
97
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
98
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
99
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
100
+ * @public
101
+ */
102
+ DryRun?: boolean | undefined;
103
+ }
104
+ /**
105
+ * <p>Describes the meta data tags associated with a transit gateway policy rule.</p>
106
+ * @public
107
+ */
108
+ export interface TransitGatewayPolicyRuleMetaData {
109
+ /**
110
+ * <p>The key name for the transit gateway policy rule meta data tag.</p>
111
+ * @public
112
+ */
113
+ MetaDataKey?: string | undefined;
114
+ /**
115
+ * <p>The value of the key for the transit gateway policy rule meta data tag.</p>
116
+ * @public
117
+ */
118
+ MetaDataValue?: string | undefined;
119
+ }
120
+ /**
121
+ * <p>Describes a rule associated with a transit gateway policy.</p>
122
+ * @public
123
+ */
124
+ export interface TransitGatewayPolicyRule {
125
+ /**
126
+ * <p>The source CIDR block for the transit gateway policy rule.</p>
127
+ * @public
128
+ */
129
+ SourceCidrBlock?: string | undefined;
130
+ /**
131
+ * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
132
+ * @public
133
+ */
134
+ SourcePortRange?: string | undefined;
135
+ /**
136
+ * <p>The destination CIDR block for the transit gateway policy rule.</p>
137
+ * @public
138
+ */
139
+ DestinationCidrBlock?: string | undefined;
140
+ /**
141
+ * <p>The port range for the transit gateway policy rule. Currently this is set to * (all).</p>
142
+ * @public
143
+ */
144
+ DestinationPortRange?: string | undefined;
145
+ /**
146
+ * <p>The protocol used by the transit gateway policy rule.</p>
147
+ * @public
148
+ */
149
+ Protocol?: string | undefined;
150
+ /**
151
+ * <p>The meta data tags used for the transit gateway policy rule.</p>
152
+ * @public
153
+ */
154
+ MetaData?: TransitGatewayPolicyRuleMetaData | undefined;
155
+ }
8
156
  /**
9
157
  * <p>Describes a transit gateway policy table entry</p>
10
158
  * @public
@@ -451,6 +599,11 @@ export interface GetVpnConnectionDeviceSampleConfigurationRequest {
451
599
  * @public
452
600
  */
453
601
  InternetKeyExchangeVersion?: string | undefined;
602
+ /**
603
+ * <p>The type of sample configuration to generate. Valid values are "compatibility" (includes IKEv1) or "recommended" (throws UnsupportedOperationException for IKEv1).</p>
604
+ * @public
605
+ */
606
+ SampleType?: string | undefined;
454
607
  /**
455
608
  * <p>Checks whether you have the required permissions for the action, without actually
456
609
  * making the request, and provides an error response. If you have the required
@@ -6852,6 +7005,11 @@ export interface ModifyVpnTunnelOptionsRequest {
6852
7005
  * @public
6853
7006
  */
6854
7007
  SkipTunnelReplacement?: boolean | undefined;
7008
+ /**
7009
+ * <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>
7010
+ * @public
7011
+ */
7012
+ PreSharedKeyStorage?: string | undefined;
6855
7013
  }
6856
7014
  /**
6857
7015
  * @public
@@ -7601,7 +7759,7 @@ export interface RegisterImageRequest {
7601
7759
  /**
7602
7760
  * <p>The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the
7603
7761
  * <code>aws-exec-read</code> canned access control list (ACL) to ensure that it can be
7604
- * accessed by Amazon EC2. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl">Canned ACLs</a> in the
7762
+ * accessed by Amazon EC2. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl">Canned ACL</a> in the
7605
7763
  * <i>Amazon S3 Service Developer Guide</i>.</p>
7606
7764
  * @public
7607
7765
  */
@@ -7611,9 +7769,7 @@ export interface RegisterImageRequest {
7611
7769
  * codes.</p>
7612
7770
  * <p>If your account is not authorized to specify billing product codes, you can publish AMIs
7613
7771
  * that include billable software and list them on the Amazon Web Services Marketplace. You must first register as a seller
7614
- * on the Amazon Web Services Marketplace. For more information, see <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html">Getting started as a
7615
- * seller</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html">AMI-based products</a> in the
7616
- * <i>Amazon Web Services Marketplace Seller Guide</i>.</p>
7772
+ * on the Amazon Web Services Marketplace. For more information, see <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html">Getting started as an Amazon Web Services Marketplace seller</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html">AMI-based products in Amazon Web Services Marketplace</a> in the <i>Amazon Web Services Marketplace Seller Guide</i>.</p>
7617
7773
  * @public
7618
7774
  */
7619
7775
  BillingProducts?: string[] | undefined;
@@ -7624,8 +7780,8 @@ export interface RegisterImageRequest {
7624
7780
  * <p>The operating system contained in the AMI must be configured to support the specified
7625
7781
  * boot mode.</p>
7626
7782
  * </note>
7627
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
7628
- * <i>Amazon EC2 User Guide</i>.</p>
7783
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Instance launch behavior with Amazon EC2
7784
+ * boot modes</a> in the <i>Amazon EC2 User Guide</i>.</p>
7629
7785
  * @public
7630
7786
  */
7631
7787
  BootMode?: BootModeValues | undefined;
@@ -7639,8 +7795,8 @@ export interface RegisterImageRequest {
7639
7795
  * <p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,
7640
7796
  * use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the
7641
7797
  * <a href="https://github.com/awslabs/python-uefivars">python-uefivars tool</a> on
7642
- * GitHub. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot</a> in the
7643
- * <i>Amazon EC2 User Guide</i>.</p>
7798
+ * GitHub. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html">UEFI Secure Boot for Amazon EC2
7799
+ * instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
7644
7800
  * @public
7645
7801
  */
7646
7802
  UefiData?: string | undefined;
@@ -7713,8 +7869,8 @@ export interface RegisterImageRequest {
7713
7869
  * encryption state of the volume.</p>
7714
7870
  * <p>If you create an AMI on an Outpost, then all backing snapshots must be on the same Outpost
7715
7871
  * or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can be used
7716
- * to launch instances on the same Outpost only. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Amazon EBS local
7717
- * snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
7872
+ * to launch instances on the same Outpost only. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Create AMIs from
7873
+ * local snapshots</a> in the <i>Amazon EBS User Guide</i>.</p>
7718
7874
  * @public
7719
7875
  */
7720
7876
  BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
@@ -8082,108 +8238,6 @@ export interface RejectVpcPeeringConnectionRequest {
8082
8238
  */
8083
8239
  VpcPeeringConnectionId: string | undefined;
8084
8240
  }
8085
- /**
8086
- * @public
8087
- */
8088
- export interface RejectVpcPeeringConnectionResult {
8089
- /**
8090
- * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
8091
- * @public
8092
- */
8093
- Return?: boolean | undefined;
8094
- }
8095
- /**
8096
- * @public
8097
- */
8098
- export interface ReleaseAddressRequest {
8099
- /**
8100
- * <p>The allocation ID. This parameter is required.</p>
8101
- * @public
8102
- */
8103
- AllocationId?: string | undefined;
8104
- /**
8105
- * <p>Deprecated.</p>
8106
- * @public
8107
- */
8108
- PublicIp?: string | undefined;
8109
- /**
8110
- * <p>The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises
8111
- * IP addresses.</p>
8112
- * <p>If you provide an incorrect network border group, you receive an <code>InvalidAddress.NotFound</code> error.</p>
8113
- * @public
8114
- */
8115
- NetworkBorderGroup?: string | undefined;
8116
- /**
8117
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8118
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8119
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8120
- * @public
8121
- */
8122
- DryRun?: boolean | undefined;
8123
- }
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
8241
  /**
8188
8242
  * @internal
8189
8243
  */
@@ -1,10 +1,112 @@
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";
4
- import { ClientVpnConnectionStatus, Filter } from "./models_3";
5
- import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState } from "./models_4";
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
+ import { Filter } from "./models_3";
5
+ import { ClientVpnConnectionStatus, 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 RejectVpcPeeringConnectionResult {
12
+ /**
13
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
14
+ * @public
15
+ */
16
+ Return?: boolean | undefined;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface ReleaseAddressRequest {
22
+ /**
23
+ * <p>The allocation ID. This parameter is required.</p>
24
+ * @public
25
+ */
26
+ AllocationId?: string | undefined;
27
+ /**
28
+ * <p>Deprecated.</p>
29
+ * @public
30
+ */
31
+ PublicIp?: string | undefined;
32
+ /**
33
+ * <p>The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises
34
+ * IP addresses.</p>
35
+ * <p>If you provide an incorrect network border group, you receive an <code>InvalidAddress.NotFound</code> error.</p>
36
+ * @public
37
+ */
38
+ NetworkBorderGroup?: string | undefined;
39
+ /**
40
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
41
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
42
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
43
+ * @public
44
+ */
45
+ DryRun?: boolean | undefined;
46
+ }
47
+ /**
48
+ * @public
49
+ */
50
+ export interface ReleaseHostsRequest {
51
+ /**
52
+ * <p>The IDs of the Dedicated Hosts to release.</p>
53
+ * @public
54
+ */
55
+ HostIds: string[] | undefined;
56
+ }
57
+ /**
58
+ * @public
59
+ */
60
+ export interface ReleaseHostsResult {
61
+ /**
62
+ * <p>The IDs of the Dedicated Hosts that were successfully released.</p>
63
+ * @public
64
+ */
65
+ Successful?: string[] | undefined;
66
+ /**
67
+ * <p>The IDs of the Dedicated Hosts that could not be released, including an error
68
+ * message.</p>
69
+ * @public
70
+ */
71
+ Unsuccessful?: UnsuccessfulItem[] | undefined;
72
+ }
73
+ /**
74
+ * @public
75
+ */
76
+ export interface ReleaseIpamPoolAllocationRequest {
77
+ /**
78
+ * <p>A check for whether you have the required permissions for the action without actually making the request
79
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
80
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
81
+ * @public
82
+ */
83
+ DryRun?: boolean | undefined;
84
+ /**
85
+ * <p>The ID of the IPAM pool which contains the allocation you want to release.</p>
86
+ * @public
87
+ */
88
+ IpamPoolId: string | undefined;
89
+ /**
90
+ * <p>The CIDR of the allocation you want to release.</p>
91
+ * @public
92
+ */
93
+ Cidr: string | undefined;
94
+ /**
95
+ * <p>The ID of the allocation.</p>
96
+ * @public
97
+ */
98
+ IpamPoolAllocationId: string | undefined;
99
+ }
100
+ /**
101
+ * @public
102
+ */
103
+ export interface ReleaseIpamPoolAllocationResult {
104
+ /**
105
+ * <p>Indicates if the release was successful.</p>
106
+ * @public
107
+ */
108
+ Success?: boolean | undefined;
109
+ }
8
110
  /**
9
111
  * @public
10
112
  */
@@ -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
@@ -40,7 +40,7 @@ export declare class DeregisterImageCommand extends DeregisterImageCommand_base
40
40
  protected static __types: {
41
41
  api: {
42
42
  input: DeregisterImageRequest;
43
- output: {};
43
+ output: DeregisterImageResult;
44
44
  };
45
45
  sdk: {
46
46
  input: DeregisterImageCommandInput;
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeClientVpnConnectionsRequest,
10
- DescribeClientVpnConnectionsResult,
11
- } from "../models/models_3";
8
+ import { DescribeClientVpnConnectionsRequest } from "../models/models_3";
9
+ import { DescribeClientVpnConnectionsResult } from "../models/models_4";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeClientVpnConnectionsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeClientVpnEndpointsRequest } from "../models/models_3";
9
- import { DescribeClientVpnEndpointsResult } from "../models/models_4";
8
+ import {
9
+ DescribeClientVpnEndpointsRequest,
10
+ DescribeClientVpnEndpointsResult,
11
+ } from "../models/models_4";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeClientVpnEndpointsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeKeyPairsRequest,
10
10
  DescribeKeyPairsResult,
11
- } from "../models/models_4";
11
+ } from "../models/models_5";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeKeyPairsCommandInput extends DescribeKeyPairsRequest {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeLaunchTemplatesRequest } from "../models/models_4";
9
- import { DescribeLaunchTemplatesResult } from "../models/models_5";
8
+ import {
9
+ DescribeLaunchTemplatesRequest,
10
+ DescribeLaunchTemplatesResult,
11
+ } from "../models/models_5";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeLaunchTemplatesCommandInput