@aws-sdk/client-ec2 3.817.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 (69) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +262 -126
  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_5.js +0 -7
  9. package/dist-es/models/models_6.js +7 -0
  10. package/dist-es/protocols/Aws_ec2.js +155 -44
  11. package/dist-types/EC2.d.ts +7 -0
  12. package/dist-types/EC2Client.d.ts +3 -2
  13. package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -1
  15. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -2
  16. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  17. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -2
  19. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -2
  21. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +2 -1
  22. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +84 -0
  23. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -1
  24. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
  25. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -0
  26. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  27. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  28. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  29. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  30. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  31. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  32. package/dist-types/commands/index.d.ts +1 -0
  33. package/dist-types/models/models_0.d.ts +64 -48
  34. package/dist-types/models/models_1.d.ts +48 -28
  35. package/dist-types/models/models_2.d.ts +29 -58
  36. package/dist-types/models/models_3.d.ts +68 -57
  37. package/dist-types/models/models_4.d.ts +59 -72
  38. package/dist-types/models/models_5.d.ts +73 -106
  39. package/dist-types/models/models_6.d.ts +132 -100
  40. package/dist-types/models/models_7.d.ts +112 -65
  41. package/dist-types/models/models_8.d.ts +66 -3
  42. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  43. package/dist-types/ts3.4/EC2.d.ts +17 -0
  44. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  45. package/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -2
  48. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +18 -11
  60. package/dist-types/ts3.4/models/models_1.d.ts +11 -7
  61. package/dist-types/ts3.4/models/models_2.d.ts +7 -14
  62. package/dist-types/ts3.4/models/models_3.d.ts +15 -11
  63. package/dist-types/ts3.4/models/models_4.d.ts +13 -12
  64. package/dist-types/ts3.4/models/models_5.d.ts +13 -13
  65. package/dist-types/ts3.4/models/models_6.d.ts +21 -23
  66. package/dist-types/ts3.4/models/models_7.d.ts +26 -17
  67. package/dist-types/ts3.4/models/models_8.d.ts +18 -1
  68. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  69. package/package.json +1 -1
@@ -2371,6 +2371,70 @@ export interface ActiveInstance {
2371
2371
  */
2372
2372
  InstanceHealth?: InstanceHealthStatus | undefined;
2373
2373
  }
2374
+ /**
2375
+ * @public
2376
+ * @enum
2377
+ */
2378
+ export declare const VpnTunnelProvisioningStatus: {
2379
+ readonly available: "available";
2380
+ readonly failed: "failed";
2381
+ readonly pending: "pending";
2382
+ };
2383
+ /**
2384
+ * @public
2385
+ */
2386
+ export type VpnTunnelProvisioningStatus = (typeof VpnTunnelProvisioningStatus)[keyof typeof VpnTunnelProvisioningStatus];
2387
+ /**
2388
+ * <p>Contains information about the current security configuration of an active VPN tunnel.</p>
2389
+ * @public
2390
+ */
2391
+ export interface ActiveVpnTunnelStatus {
2392
+ /**
2393
+ * <p>The encryption algorithm negotiated in Phase 1 IKE negotiations.</p>
2394
+ * @public
2395
+ */
2396
+ Phase1EncryptionAlgorithm?: string | undefined;
2397
+ /**
2398
+ * <p>The encryption algorithm negotiated in Phase 2 IKE negotiations.</p>
2399
+ * @public
2400
+ */
2401
+ Phase2EncryptionAlgorithm?: string | undefined;
2402
+ /**
2403
+ * <p>The integrity algorithm negotiated in Phase 1 IKE negotiations.</p>
2404
+ * @public
2405
+ */
2406
+ Phase1IntegrityAlgorithm?: string | undefined;
2407
+ /**
2408
+ * <p>The integrity algorithm negotiated in Phase 2 IKE negotiations.</p>
2409
+ * @public
2410
+ */
2411
+ Phase2IntegrityAlgorithm?: string | undefined;
2412
+ /**
2413
+ * <p>The Diffie-Hellman group number being used in Phase 1 IKE negotiations.</p>
2414
+ * @public
2415
+ */
2416
+ Phase1DHGroup?: number | undefined;
2417
+ /**
2418
+ * <p>The Diffie-Hellman group number being used in Phase 2 IKE negotiations.</p>
2419
+ * @public
2420
+ */
2421
+ Phase2DHGroup?: number | undefined;
2422
+ /**
2423
+ * <p>The version of the Internet Key Exchange (IKE) protocol being used.</p>
2424
+ * @public
2425
+ */
2426
+ IkeVersion?: string | undefined;
2427
+ /**
2428
+ * <p>The current provisioning status of the VPN tunnel.</p>
2429
+ * @public
2430
+ */
2431
+ ProvisioningStatus?: VpnTunnelProvisioningStatus | undefined;
2432
+ /**
2433
+ * <p>The reason for the current provisioning status.</p>
2434
+ * @public
2435
+ */
2436
+ ProvisioningStatusReason?: string | undefined;
2437
+ }
2374
2438
  /**
2375
2439
  * @public
2376
2440
  * @enum
@@ -7317,54 +7381,6 @@ export interface ConfirmProductInstanceResult {
7317
7381
  */
7318
7382
  OwnerId?: string | undefined;
7319
7383
  }
7320
- /**
7321
- * @public
7322
- */
7323
- export interface CopyFpgaImageRequest {
7324
- /**
7325
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7326
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7327
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7328
- * @public
7329
- */
7330
- DryRun?: boolean | undefined;
7331
- /**
7332
- * <p>The ID of the source AFI.</p>
7333
- * @public
7334
- */
7335
- SourceFpgaImageId: string | undefined;
7336
- /**
7337
- * <p>The description for the new AFI.</p>
7338
- * @public
7339
- */
7340
- Description?: string | undefined;
7341
- /**
7342
- * <p>The name for the new AFI. The default is the name of the source AFI.</p>
7343
- * @public
7344
- */
7345
- Name?: string | undefined;
7346
- /**
7347
- * <p>The Region that contains the source AFI.</p>
7348
- * @public
7349
- */
7350
- SourceRegion: string | undefined;
7351
- /**
7352
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
7353
- * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
7354
- * @public
7355
- */
7356
- ClientToken?: string | undefined;
7357
- }
7358
- /**
7359
- * @public
7360
- */
7361
- export interface CopyFpgaImageResult {
7362
- /**
7363
- * <p>The ID of the new AFI.</p>
7364
- * @public
7365
- */
7366
- FpgaImageId?: string | undefined;
7367
- }
7368
7384
  /**
7369
7385
  * @internal
7370
7386
  */
@@ -1,4 +1,52 @@
1
1
  import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AddIpamOperatingRegion, AddressFamily, AllocationType, AttachmentStatus, CapacityReservationFleetState, InstanceEventWindow, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface CopyFpgaImageRequest {
6
+ /**
7
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
8
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10
+ * @public
11
+ */
12
+ DryRun?: boolean | undefined;
13
+ /**
14
+ * <p>The ID of the source AFI.</p>
15
+ * @public
16
+ */
17
+ SourceFpgaImageId: string | undefined;
18
+ /**
19
+ * <p>The description for the new AFI.</p>
20
+ * @public
21
+ */
22
+ Description?: string | undefined;
23
+ /**
24
+ * <p>The name for the new AFI. The default is the name of the source AFI.</p>
25
+ * @public
26
+ */
27
+ Name?: string | undefined;
28
+ /**
29
+ * <p>The Region that contains the source AFI.</p>
30
+ * @public
31
+ */
32
+ SourceRegion: string | undefined;
33
+ /**
34
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
35
+ * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
36
+ * @public
37
+ */
38
+ ClientToken?: string | undefined;
39
+ }
40
+ /**
41
+ * @public
42
+ */
43
+ export interface CopyFpgaImageResult {
44
+ /**
45
+ * <p>The ID of the new AFI.</p>
46
+ * @public
47
+ */
48
+ FpgaImageId?: string | undefined;
49
+ }
2
50
  /**
3
51
  * <p>Contains the parameters for CopyImage.</p>
4
52
  * @public
@@ -11247,34 +11295,6 @@ export interface LaunchTemplateEnaSrdSpecification {
11247
11295
  */
11248
11296
  EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification | undefined;
11249
11297
  }
11250
- /**
11251
- * <p>Information about the IPv4 delegated prefixes assigned to a network interface.</p>
11252
- * @public
11253
- */
11254
- export interface Ipv4PrefixSpecificationResponse {
11255
- /**
11256
- * <p>The IPv4 delegated prefixes assigned to the network interface.</p>
11257
- * @public
11258
- */
11259
- Ipv4Prefix?: string | undefined;
11260
- }
11261
- /**
11262
- * <p>Describes an IPv6 address.</p>
11263
- * @public
11264
- */
11265
- export interface InstanceIpv6Address {
11266
- /**
11267
- * <p>The IPv6 address.</p>
11268
- * @public
11269
- */
11270
- Ipv6Address?: string | undefined;
11271
- /**
11272
- * <p>Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached.
11273
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
11274
- * @public
11275
- */
11276
- IsPrimaryIpv6?: boolean | undefined;
11277
- }
11278
11298
  /**
11279
11299
  * @internal
11280
11300
  */
@@ -1,5 +1,33 @@
1
1
  import { AccessScopePath, AccessScopePathRequest, AddPrefixListEntry, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, Ipv4PrefixSpecification, Ipv6SupportValue, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment } from "./models_0";
2
- import { _InstanceType, ConnectionTrackingSpecification, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv4PrefixSpecificationResponse, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnaSrdSpecification, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMaintenanceOptions, LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMetadataOptions, LaunchTemplateLicenseConfiguration, LaunchTemplatesMonitoring, MacModificationTask, MacSystemIntegrityProtectionSettingStatus, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ShutdownBehavior, Subnet, Tenancy, ValidationWarning, VolumeType, Vpc } from "./models_1";
2
+ import { _InstanceType, ConnectionTrackingSpecification, ConnectionTrackingSpecificationRequest, CreditSpecification, ElasticGpuSpecificationResponse, HostnameType, InstanceBandwidthWeighting, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplateBlockDeviceMapping, LaunchTemplateCapacityReservationSpecificationResponse, LaunchTemplateCpuOptions, LaunchTemplateElasticInferenceAcceleratorResponse, LaunchTemplateEnaSrdSpecification, LaunchTemplateEnclaveOptions, LaunchTemplateHibernationOptions, LaunchTemplateIamInstanceProfileSpecification, LaunchTemplateInstanceMaintenanceOptions, LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMetadataOptions, LaunchTemplateLicenseConfiguration, LaunchTemplatesMonitoring, MacModificationTask, MacSystemIntegrityProtectionSettingStatus, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ShutdownBehavior, Subnet, Tenancy, ValidationWarning, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>Information about the IPv4 delegated prefixes assigned to a network interface.</p>
5
+ * @public
6
+ */
7
+ export interface Ipv4PrefixSpecificationResponse {
8
+ /**
9
+ * <p>The IPv4 delegated prefixes assigned to the network interface.</p>
10
+ * @public
11
+ */
12
+ Ipv4Prefix?: string | undefined;
13
+ }
14
+ /**
15
+ * <p>Describes an IPv6 address.</p>
16
+ * @public
17
+ */
18
+ export interface InstanceIpv6Address {
19
+ /**
20
+ * <p>The IPv6 address.</p>
21
+ * @public
22
+ */
23
+ Ipv6Address?: string | undefined;
24
+ /**
25
+ * <p>Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached.
26
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
27
+ * @public
28
+ */
29
+ IsPrimaryIpv6?: boolean | undefined;
30
+ }
3
31
  /**
4
32
  * <p>Information about the IPv6 delegated prefixes assigned to a network interface.</p>
5
33
  * @public
@@ -9480,63 +9508,6 @@ export interface VpcEndpoint {
9480
9508
  */
9481
9509
  ServiceRegion?: string | undefined;
9482
9510
  }
9483
- /**
9484
- * @public
9485
- */
9486
- export interface CreateVpcEndpointResult {
9487
- /**
9488
- * <p>Information about the endpoint.</p>
9489
- * @public
9490
- */
9491
- VpcEndpoint?: VpcEndpoint | undefined;
9492
- /**
9493
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
9494
- * request.</p>
9495
- * @public
9496
- */
9497
- ClientToken?: string | undefined;
9498
- }
9499
- /**
9500
- * @public
9501
- */
9502
- export interface CreateVpcEndpointConnectionNotificationRequest {
9503
- /**
9504
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9505
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9506
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9507
- * @public
9508
- */
9509
- DryRun?: boolean | undefined;
9510
- /**
9511
- * <p>The ID of the endpoint service.</p>
9512
- * @public
9513
- */
9514
- ServiceId?: string | undefined;
9515
- /**
9516
- * <p>The ID of the endpoint.</p>
9517
- * @public
9518
- */
9519
- VpcEndpointId?: string | undefined;
9520
- /**
9521
- * <p>The ARN of the SNS topic for the notifications.</p>
9522
- * @public
9523
- */
9524
- ConnectionNotificationArn: string | undefined;
9525
- /**
9526
- * <p>The endpoint events for which to receive notifications. Valid values are
9527
- * <code>Accept</code>, <code>Connect</code>, <code>Delete</code>, and
9528
- * <code>Reject</code>.</p>
9529
- * @public
9530
- */
9531
- ConnectionEvents: string[] | undefined;
9532
- /**
9533
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
9534
- * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure
9535
- * idempotency</a>.</p>
9536
- * @public
9537
- */
9538
- ClientToken?: string | undefined;
9539
- }
9540
9511
  /**
9541
9512
  * @internal
9542
9513
  */
@@ -1,6 +1,63 @@
1
1
  import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, AddressTransfer, BundleTask, ByoipCidr, CapacityReservationFleetState, ClientVpnAuthorizationRuleStatus, InstanceEventWindowState, Tag, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
2
  import { CapacityReservation, CapacityReservationTenancy, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate } from "./models_1";
3
- import { GroupIdentifier, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, RouteServer, RouteServerEndpoint, RouteServerPeer, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
3
+ import { GroupIdentifier, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, RouteServer, RouteServerEndpoint, RouteServerPeer, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface CreateVpcEndpointResult {
8
+ /**
9
+ * <p>Information about the endpoint.</p>
10
+ * @public
11
+ */
12
+ VpcEndpoint?: VpcEndpoint | undefined;
13
+ /**
14
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
15
+ * request.</p>
16
+ * @public
17
+ */
18
+ ClientToken?: string | undefined;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface CreateVpcEndpointConnectionNotificationRequest {
24
+ /**
25
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
26
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
27
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
28
+ * @public
29
+ */
30
+ DryRun?: boolean | undefined;
31
+ /**
32
+ * <p>The ID of the endpoint service.</p>
33
+ * @public
34
+ */
35
+ ServiceId?: string | undefined;
36
+ /**
37
+ * <p>The ID of the endpoint.</p>
38
+ * @public
39
+ */
40
+ VpcEndpointId?: string | undefined;
41
+ /**
42
+ * <p>The ARN of the SNS topic for the notifications.</p>
43
+ * @public
44
+ */
45
+ ConnectionNotificationArn: string | undefined;
46
+ /**
47
+ * <p>The endpoint events for which to receive notifications. Valid values are
48
+ * <code>Accept</code>, <code>Connect</code>, <code>Delete</code>, and
49
+ * <code>Reject</code>.</p>
50
+ * @public
51
+ */
52
+ ConnectionEvents: string[] | undefined;
53
+ /**
54
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
55
+ * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure
56
+ * idempotency</a>.</p>
57
+ * @public
58
+ */
59
+ ClientToken?: string | undefined;
60
+ }
4
61
  /**
5
62
  * @public
6
63
  * @enum
@@ -881,6 +938,11 @@ export interface CreateVpnConnectionRequest {
881
938
  * @public
882
939
  */
883
940
  TagSpecifications?: TagSpecification[] | undefined;
941
+ /**
942
+ * <p>Specifies the storage mode for the pre-shared key (PSK). Valid values are <code>Standard</code>" (stored in the Site-to-Site VPN service) or <code>SecretsManager</code> (stored in Amazon Web Services Secrets Manager).</p>
943
+ * @public
944
+ */
945
+ PreSharedKeyStorage?: string | undefined;
884
946
  /**
885
947
  * <p>Checks whether you have the required permissions for the action, without actually
886
948
  * making the request, and provides an error response. If you have the required
@@ -1348,6 +1410,11 @@ export interface VpnConnection {
1348
1410
  * @public
1349
1411
  */
1350
1412
  VgwTelemetry?: VgwTelemetry[] | undefined;
1413
+ /**
1414
+ * <p>The Amazon Resource Name (ARN) of the Secrets Manager secret storing the pre-shared key(s) for the VPN connection.</p>
1415
+ * @public
1416
+ */
1417
+ PreSharedKeyArn?: string | undefined;
1351
1418
  /**
1352
1419
  * <p>The ID of the VPN connection.</p>
1353
1420
  * @public
@@ -6626,62 +6693,6 @@ export interface ClientVpnConnection {
6626
6693
  */
6627
6694
  PostureComplianceStatuses?: string[] | undefined;
6628
6695
  }
6629
- /**
6630
- * @public
6631
- */
6632
- export interface DescribeClientVpnConnectionsResult {
6633
- /**
6634
- * <p>Information about the active and terminated client connections.</p>
6635
- * @public
6636
- */
6637
- Connections?: ClientVpnConnection[] | undefined;
6638
- /**
6639
- * <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>
6640
- * @public
6641
- */
6642
- NextToken?: string | undefined;
6643
- }
6644
- /**
6645
- * @public
6646
- */
6647
- export interface DescribeClientVpnEndpointsRequest {
6648
- /**
6649
- * <p>The ID of the Client VPN endpoint.</p>
6650
- * @public
6651
- */
6652
- ClientVpnEndpointIds?: string[] | undefined;
6653
- /**
6654
- * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
6655
- * @public
6656
- */
6657
- MaxResults?: number | undefined;
6658
- /**
6659
- * <p>The token to retrieve the next page of results.</p>
6660
- * @public
6661
- */
6662
- NextToken?: string | undefined;
6663
- /**
6664
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
6665
- * <ul>
6666
- * <li>
6667
- * <p>
6668
- * <code>endpoint-id</code> - The ID of the Client VPN endpoint.</p>
6669
- * </li>
6670
- * <li>
6671
- * <p>
6672
- * <code>transport-protocol</code> - The transport protocol (<code>tcp</code> |
6673
- * <code>udp</code>).</p>
6674
- * </li>
6675
- * </ul>
6676
- * @public
6677
- */
6678
- Filters?: Filter[] | undefined;
6679
- /**
6680
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6681
- * @public
6682
- */
6683
- DryRun?: boolean | undefined;
6684
- }
6685
6696
  /**
6686
6697
  * @internal
6687
6698
  */
@@ -1,7 +1,63 @@
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, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
- import { GroupIdentifier, NetworkInterfaceStatus, StateReason } from "./models_2";
4
- import { Byoasn, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
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, InstanceLifecycle, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplateAndOverridesResponse, LogDestinationType, OperatorResponse, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
+ import { GroupIdentifier, InstanceIpv6Address, NetworkInterfaceStatus, StateReason } from "./models_2";
4
+ import { Byoasn, ClientVpnConnection, Filter, FleetStateCode, IdFormat, InstanceTagNotificationAttribute } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeClientVpnConnectionsResult {
9
+ /**
10
+ * <p>Information about the active and terminated client connections.</p>
11
+ * @public
12
+ */
13
+ Connections?: ClientVpnConnection[] | undefined;
14
+ /**
15
+ * <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>
16
+ * @public
17
+ */
18
+ NextToken?: string | undefined;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface DescribeClientVpnEndpointsRequest {
24
+ /**
25
+ * <p>The ID of the Client VPN endpoint.</p>
26
+ * @public
27
+ */
28
+ ClientVpnEndpointIds?: string[] | undefined;
29
+ /**
30
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
31
+ * @public
32
+ */
33
+ MaxResults?: number | undefined;
34
+ /**
35
+ * <p>The token to retrieve the next page of results.</p>
36
+ * @public
37
+ */
38
+ NextToken?: string | undefined;
39
+ /**
40
+ * <p>One or more filters. Filter names and values are case-sensitive.</p>
41
+ * <ul>
42
+ * <li>
43
+ * <p>
44
+ * <code>endpoint-id</code> - The ID of the Client VPN endpoint.</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * <code>transport-protocol</code> - The transport protocol (<code>tcp</code> |
49
+ * <code>udp</code>).</p>
50
+ * </li>
51
+ * </ul>
52
+ * @public
53
+ */
54
+ Filters?: Filter[] | undefined;
55
+ /**
56
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
57
+ * @public
58
+ */
59
+ DryRun?: boolean | undefined;
60
+ }
5
61
  /**
6
62
  * @public
7
63
  * @enum
@@ -10606,75 +10662,6 @@ export interface KeyPairInfo {
10606
10662
  */
10607
10663
  KeyFingerprint?: string | undefined;
10608
10664
  }
10609
- /**
10610
- * @public
10611
- */
10612
- export interface DescribeKeyPairsResult {
10613
- /**
10614
- * <p>Information about the key pairs.</p>
10615
- * @public
10616
- */
10617
- KeyPairs?: KeyPairInfo[] | undefined;
10618
- }
10619
- /**
10620
- * @public
10621
- */
10622
- export interface DescribeLaunchTemplatesRequest {
10623
- /**
10624
- * <p>Checks whether you have the required permissions for the action, without actually
10625
- * making the request, and provides an error response. If you have the required
10626
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
10627
- * <code>UnauthorizedOperation</code>.</p>
10628
- * @public
10629
- */
10630
- DryRun?: boolean | undefined;
10631
- /**
10632
- * <p>One or more launch template IDs.</p>
10633
- * @public
10634
- */
10635
- LaunchTemplateIds?: string[] | undefined;
10636
- /**
10637
- * <p>One or more launch template names.</p>
10638
- * @public
10639
- */
10640
- LaunchTemplateNames?: string[] | undefined;
10641
- /**
10642
- * <p>One or more filters.</p>
10643
- * <ul>
10644
- * <li>
10645
- * <p>
10646
- * <code>create-time</code> - The time the launch template was created.</p>
10647
- * </li>
10648
- * <li>
10649
- * <p>
10650
- * <code>launch-template-name</code> - The name of the launch template.</p>
10651
- * </li>
10652
- * <li>
10653
- * <p>
10654
- * <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.
10655
- * 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>
10656
- * </li>
10657
- * <li>
10658
- * <p>
10659
- * <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>
10660
- * </li>
10661
- * </ul>
10662
- * @public
10663
- */
10664
- Filters?: Filter[] | undefined;
10665
- /**
10666
- * <p>The token to request the next page of results.</p>
10667
- * @public
10668
- */
10669
- NextToken?: string | undefined;
10670
- /**
10671
- * <p>The maximum number of results to return in a single call. To retrieve the remaining
10672
- * results, make another call with the returned <code>NextToken</code> value. This value
10673
- * can be between 1 and 200.</p>
10674
- * @public
10675
- */
10676
- MaxResults?: number | undefined;
10677
- }
10678
10665
  /**
10679
10666
  * @internal
10680
10667
  */