@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
@@ -31,8 +31,8 @@ declare const EnableImageDeregistrationProtectionCommand_base: {
31
31
  * the AMI can't be deregistered.</p>
32
32
  * <p>To allow the AMI to be deregistered, you must first disable deregistration protection
33
33
  * using <a>DisableImageDeregistrationProtection</a>.</p>
34
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html#ami-deregistration-protection">Protect an
35
- * AMI from deregistration</a> in the <i>Amazon EC2 User Guide</i>.</p>
34
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deregistration-protection.html">Protect an
35
+ * Amazon EC2 AMI from deregistration</a> in the <i>Amazon EC2 User Guide</i>.</p>
36
36
  * @example
37
37
  * Use a bare-bones client and the command you need to make an API call.
38
38
  * ```javascript
@@ -0,0 +1,84 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { GetActiveVpnTunnelStatusRequest, GetActiveVpnTunnelStatusResult } from "../models/models_6";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetActiveVpnTunnelStatusCommand}.
14
+ */
15
+ export interface GetActiveVpnTunnelStatusCommandInput extends GetActiveVpnTunnelStatusRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetActiveVpnTunnelStatusCommand}.
21
+ */
22
+ export interface GetActiveVpnTunnelStatusCommandOutput extends GetActiveVpnTunnelStatusResult, __MetadataBearer {
23
+ }
24
+ declare const GetActiveVpnTunnelStatusCommand_base: {
25
+ new (input: GetActiveVpnTunnelStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetActiveVpnTunnelStatusCommandInput, GetActiveVpnTunnelStatusCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetActiveVpnTunnelStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetActiveVpnTunnelStatusCommandInput, GetActiveVpnTunnelStatusCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the currently negotiated security parameters for an active VPN tunnel, including IKE version, DH groups, encryption algorithms, and integrity algorithms.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, GetActiveVpnTunnelStatusCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, GetActiveVpnTunnelStatusCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // GetActiveVpnTunnelStatusRequest
38
+ * VpnConnectionId: "STRING_VALUE", // required
39
+ * VpnTunnelOutsideIpAddress: "STRING_VALUE", // required
40
+ * DryRun: true || false,
41
+ * };
42
+ * const command = new GetActiveVpnTunnelStatusCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetActiveVpnTunnelStatusResult
45
+ * // ActiveVpnTunnelStatus: { // ActiveVpnTunnelStatus
46
+ * // Phase1EncryptionAlgorithm: "STRING_VALUE",
47
+ * // Phase2EncryptionAlgorithm: "STRING_VALUE",
48
+ * // Phase1IntegrityAlgorithm: "STRING_VALUE",
49
+ * // Phase2IntegrityAlgorithm: "STRING_VALUE",
50
+ * // Phase1DHGroup: Number("int"),
51
+ * // Phase2DHGroup: Number("int"),
52
+ * // IkeVersion: "STRING_VALUE",
53
+ * // ProvisioningStatus: "available" || "pending" || "failed",
54
+ * // ProvisioningStatusReason: "STRING_VALUE",
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param GetActiveVpnTunnelStatusCommandInput - {@link GetActiveVpnTunnelStatusCommandInput}
61
+ * @returns {@link GetActiveVpnTunnelStatusCommandOutput}
62
+ * @see {@link GetActiveVpnTunnelStatusCommandInput} for command's `input` shape.
63
+ * @see {@link GetActiveVpnTunnelStatusCommandOutput} for command's `response` shape.
64
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
65
+ *
66
+ * @throws {@link EC2ServiceException}
67
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
68
+ *
69
+ *
70
+ * @public
71
+ */
72
+ export declare class GetActiveVpnTunnelStatusCommand extends GetActiveVpnTunnelStatusCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: GetActiveVpnTunnelStatusRequest;
77
+ output: GetActiveVpnTunnelStatusResult;
78
+ };
79
+ sdk: {
80
+ input: GetActiveVpnTunnelStatusCommandInput;
81
+ output: GetActiveVpnTunnelStatusCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -29,7 +29,7 @@ declare const GetImageBlockPublicAccessStateCommand_base: {
29
29
  /**
30
30
  * <p>Gets the current state of <i>block public access for AMIs</i> at the account
31
31
  * level in the specified Amazon Web Services Region.</p>
32
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis">Block
32
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-to-amis.html">Block
33
33
  * public access to your AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetTransitGatewayMulticastDomainAssociationsRequest, GetTransitGatewayMulticastDomainAssociationsResult } from "../models/models_6";
4
+ import { GetTransitGatewayMulticastDomainAssociationsRequest } from "../models/models_6";
5
+ import { GetTransitGatewayMulticastDomainAssociationsResult } from "../models/models_7";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetTransitGatewayPolicyTableAssociationsRequest, GetTransitGatewayPolicyTableAssociationsResult } from "../models/models_6";
4
+ import { GetTransitGatewayPolicyTableAssociationsRequest, GetTransitGatewayPolicyTableAssociationsResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetTransitGatewayPolicyTableEntriesRequest } from "../models/models_6";
5
- import { GetTransitGatewayPolicyTableEntriesResult } from "../models/models_7";
4
+ import { GetTransitGatewayPolicyTableEntriesRequest, GetTransitGatewayPolicyTableEntriesResult } from "../models/models_7";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -39,6 +39,7 @@ declare const GetVpnConnectionDeviceSampleConfigurationCommand_base: {
39
39
  * VpnConnectionId: "STRING_VALUE", // required
40
40
  * VpnConnectionDeviceTypeId: "STRING_VALUE", // required
41
41
  * InternetKeyExchangeVersion: "STRING_VALUE",
42
+ * SampleType: "STRING_VALUE",
42
43
  * DryRun: true || false,
43
44
  * };
44
45
  * const command = new GetVpnConnectionDeviceSampleConfigurationCommand(input);
@@ -178,6 +178,7 @@ declare const ModifyVpnConnectionCommand_base: {
178
178
  * // CertificateArn: "STRING_VALUE",
179
179
  * // },
180
180
  * // ],
181
+ * // PreSharedKeyArn: "STRING_VALUE",
181
182
  * // VpnConnectionId: "STRING_VALUE",
182
183
  * // State: "pending" || "available" || "deleting" || "deleted",
183
184
  * // CustomerGatewayConfiguration: "STRING_VALUE",
@@ -148,6 +148,7 @@ declare const ModifyVpnConnectionOptionsCommand_base: {
148
148
  * // CertificateArn: "STRING_VALUE",
149
149
  * // },
150
150
  * // ],
151
+ * // PreSharedKeyArn: "STRING_VALUE",
151
152
  * // VpnConnectionId: "STRING_VALUE",
152
153
  * // State: "pending" || "available" || "deleting" || "deleted",
153
154
  * // CustomerGatewayConfiguration: "STRING_VALUE",
@@ -141,6 +141,7 @@ declare const ModifyVpnTunnelCertificateCommand_base: {
141
141
  * // CertificateArn: "STRING_VALUE",
142
142
  * // },
143
143
  * // ],
144
+ * // PreSharedKeyArn: "STRING_VALUE",
144
145
  * // VpnConnectionId: "STRING_VALUE",
145
146
  * // State: "pending" || "available" || "deleting" || "deleted",
146
147
  * // CustomerGatewayConfiguration: "STRING_VALUE",
@@ -98,6 +98,7 @@ declare const ModifyVpnTunnelOptionsCommand_base: {
98
98
  * },
99
99
  * DryRun: true || false,
100
100
  * SkipTunnelReplacement: true || false,
101
+ * PreSharedKeyStorage: "STRING_VALUE",
101
102
  * };
102
103
  * const command = new ModifyVpnTunnelOptionsCommand(input);
103
104
  * const response = await client.send(command);
@@ -201,6 +202,7 @@ declare const ModifyVpnTunnelOptionsCommand_base: {
201
202
  * // CertificateArn: "STRING_VALUE",
202
203
  * // },
203
204
  * // ],
205
+ * // PreSharedKeyArn: "STRING_VALUE",
204
206
  * // VpnConnectionId: "STRING_VALUE",
205
207
  * // State: "pending" || "available" || "deleting" || "deleted",
206
208
  * // CustomerGatewayConfiguration: "STRING_VALUE",
@@ -48,8 +48,8 @@ declare const RegisterImageCommand_base: {
48
48
  * the encryption state of the volume using the block device mapping. If the snapshot is
49
49
  * encrypted, or encryption by default is enabled, the root volume of an instance launched from
50
50
  * the AMI is encrypted.</p>
51
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot">Create an AMI from a snapshot</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html">Use encryption with Amazon EBS-backed
52
- * AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
51
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot">Create an AMI from a snapshot</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html">Use encryption with EBS-backed AMIs</a>
52
+ * in the <i>Amazon EC2 User Guide</i>.</p>
53
53
  * <p>
54
54
  * <b>Amazon Web Services Marketplace product codes</b>
55
55
  * </p>
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { RejectVpcPeeringConnectionRequest, RejectVpcPeeringConnectionResult } from "../models/models_7";
4
+ import { RejectVpcPeeringConnectionRequest } from "../models/models_7";
5
+ import { RejectVpcPeeringConnectionResult } from "../models/models_8";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ReleaseAddressRequest } from "../models/models_7";
4
+ import { ReleaseAddressRequest } from "../models/models_8";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ReleaseHostsRequest, ReleaseHostsResult } from "../models/models_7";
4
+ import { ReleaseHostsRequest, ReleaseHostsResult } from "../models/models_8";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ReleaseIpamPoolAllocationRequest, ReleaseIpamPoolAllocationResult } from "../models/models_7";
4
+ import { ReleaseIpamPoolAllocationRequest, ReleaseIpamPoolAllocationResult } from "../models/models_8";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -27,8 +27,9 @@ declare const RestoreImageFromRecycleBinCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Restores an AMI from the Recycle Bin. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
31
- * the <i>Amazon EC2 User Guide</i>.</p>
30
+ * <p>Restores an AMI from the Recycle Bin. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recover deleted Amazon EBS
31
+ * snapshots and EBS-back AMIs with Recycle Bin</a> in the
32
+ * <i>Amazon EC2 User Guide</i>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
@@ -473,6 +473,7 @@ export * from "./ExportClientVpnClientConfigurationCommand";
473
473
  export * from "./ExportImageCommand";
474
474
  export * from "./ExportTransitGatewayRoutesCommand";
475
475
  export * from "./ExportVerifiedAccessInstanceClientConfigurationCommand";
476
+ export * from "./GetActiveVpnTunnelStatusCommand";
476
477
  export * from "./GetAllowedImagesSettingsCommand";
477
478
  export * from "./GetAssociatedEnclaveCertificateIamRolesCommand";
478
479
  export * from "./GetAssociatedIpv6PoolCidrsCommand";
@@ -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
@@ -6,8 +54,9 @@ import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, Acc
6
54
  export interface CopyImageRequest {
7
55
  /**
8
56
  * <p>Unique, case-sensitive identifier you provide to ensure idempotency of the request. For
9
- * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>
10
- * in the <i>Amazon EC2 API Reference</i>.</p>
57
+ * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency in
58
+ * Amazon EC2 API requests</a> in the <i>Amazon EC2 API
59
+ * Reference</i>.</p>
11
60
  * @public
12
61
  */
13
62
  ClientToken?: string | undefined;
@@ -118,8 +167,8 @@ export interface CopyImageRequest {
118
167
  * meet the timing target.</p>
119
168
  * <p>If you do not specify a value, the AMI copy operation is completed on a best-effort
120
169
  * basis.</p>
121
- * <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html">
122
- * Time-based copies</a>.</p>
170
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html">Time-based copies for Amazon EBS snapshots and
171
+ * EBS-backed AMIs</a>.</p>
123
172
  * @public
124
173
  */
125
174
  SnapshotCopyCompletionDurationMinutes?: number | undefined;
@@ -11247,34 +11296,6 @@ export interface LaunchTemplateEnaSrdSpecification {
11247
11296
  */
11248
11297
  EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification | undefined;
11249
11298
  }
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
11299
  /**
11279
11300
  * @internal
11280
11301
  */
@@ -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
  */