@aws-sdk/client-ec2 3.295.0 → 3.296.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.
- package/dist-cjs/commands/CreateReplaceRootVolumeTaskCommand.js +2 -1
- package/dist-cjs/commands/CreateReservedInstancesListingCommand.js +3 -3
- package/dist-cjs/commands/CreateRestoreImageTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateRouteCommand.js +3 -3
- package/dist-cjs/commands/CreateRouteTableCommand.js +1 -2
- package/dist-cjs/commands/DeleteSubnetCidrReservationCommand.js +3 -3
- package/dist-cjs/commands/DeleteSubnetCommand.js +2 -2
- package/dist-cjs/commands/DeleteTagsCommand.js +2 -2
- package/dist-cjs/commands/DeleteTrafficMirrorFilterCommand.js +3 -3
- package/dist-cjs/commands/DeleteTrafficMirrorFilterRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteTrafficMirrorSessionCommand.js +1 -2
- package/dist-cjs/commands/DescribeVolumeStatusCommand.js +1 -2
- package/dist-cjs/commands/DescribeVolumesCommand.js +2 -1
- package/dist-cjs/commands/DescribeVolumesModificationsCommand.js +3 -3
- package/dist-cjs/commands/ImportVolumeCommand.js +3 -3
- package/dist-cjs/commands/ListImagesInRecycleBinCommand.js +3 -3
- package/dist-cjs/commands/ListSnapshotsInRecycleBinCommand.js +3 -3
- package/dist-cjs/commands/ModifyAddressAttributeCommand.js +1 -2
- package/dist-cjs/commands/StartNetworkInsightsAnalysisCommand.js +2 -1
- package/dist-cjs/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.js +3 -3
- package/dist-cjs/commands/StopInstancesCommand.js +3 -3
- package/dist-cjs/commands/TerminateClientVpnConnectionsCommand.js +3 -3
- package/dist-cjs/commands/TerminateInstancesCommand.js +1 -2
- package/dist-cjs/models/models_0.js +25 -27
- package/dist-cjs/models/models_1.js +44 -42
- package/dist-cjs/models/models_2.js +41 -41
- package/dist-cjs/models/models_3.js +42 -47
- package/dist-cjs/models/models_4.js +47 -45
- package/dist-cjs/models/models_5.js +48 -42
- package/dist-cjs/models/models_6.js +44 -42
- package/dist-cjs/models/models_7.js +37 -1
- package/dist-cjs/protocols/Aws_ec2.js +333 -0
- package/dist-es/commands/CreateReplaceRootVolumeTaskCommand.js +2 -1
- package/dist-es/commands/CreateReservedInstancesListingCommand.js +1 -1
- package/dist-es/commands/CreateRestoreImageTaskCommand.js +1 -1
- package/dist-es/commands/CreateRouteCommand.js +1 -1
- package/dist-es/commands/CreateRouteTableCommand.js +1 -2
- package/dist-es/commands/DeleteSubnetCidrReservationCommand.js +1 -1
- package/dist-es/commands/DeleteSubnetCommand.js +1 -1
- package/dist-es/commands/DeleteTagsCommand.js +1 -1
- package/dist-es/commands/DeleteTrafficMirrorFilterCommand.js +1 -1
- package/dist-es/commands/DeleteTrafficMirrorFilterRuleCommand.js +1 -1
- package/dist-es/commands/DeleteTrafficMirrorSessionCommand.js +1 -2
- package/dist-es/commands/DescribeVolumeStatusCommand.js +1 -2
- package/dist-es/commands/DescribeVolumesCommand.js +2 -1
- package/dist-es/commands/DescribeVolumesModificationsCommand.js +1 -1
- package/dist-es/commands/ImportVolumeCommand.js +1 -1
- package/dist-es/commands/ListImagesInRecycleBinCommand.js +1 -1
- package/dist-es/commands/ListSnapshotsInRecycleBinCommand.js +1 -1
- package/dist-es/commands/ModifyAddressAttributeCommand.js +1 -2
- package/dist-es/commands/StartNetworkInsightsAnalysisCommand.js +2 -1
- package/dist-es/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.js +1 -1
- package/dist-es/commands/StopInstancesCommand.js +1 -1
- package/dist-es/commands/TerminateClientVpnConnectionsCommand.js +1 -1
- package/dist-es/commands/TerminateInstancesCommand.js +1 -2
- package/dist-es/models/models_0.js +15 -18
- package/dist-es/models/models_1.js +30 -27
- package/dist-es/models/models_2.js +27 -27
- package/dist-es/models/models_3.js +27 -33
- package/dist-es/models/models_4.js +33 -31
- package/dist-es/models/models_5.js +34 -27
- package/dist-es/models/models_6.js +29 -27
- package/dist-es/models/models_7.js +27 -0
- package/dist-es/protocols/Aws_ec2.js +333 -0
- package/dist-types/EC2.d.ts +14 -6
- package/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +4 -2
- package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -2
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +2 -1
- package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +1 -1
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -2
- package/dist-types/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSubnetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +1 -2
- package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +3 -0
- package/dist-types/commands/ImportVolumeCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/ListSnapshotsInRecycleBinCommand.d.ts +1 -1
- package/dist-types/commands/ModifyAddressAttributeCommand.d.ts +1 -2
- package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +3 -0
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +2 -1
- package/dist-types/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +1 -1
- package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +193 -96
- package/dist-types/models/models_1.d.ts +202 -231
- package/dist-types/models/models_2.d.ts +230 -141
- package/dist-types/models/models_3.d.ts +125 -229
- package/dist-types/models/models_4.d.ts +261 -358
- package/dist-types/models/models_5.d.ts +359 -200
- package/dist-types/models/models_6.d.ts +204 -163
- package/dist-types/models/models_7.d.ts +162 -0
- package/dist-types/ts3.4/commands/CreateReplaceRootVolumeTaskCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateReservedInstancesListingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSubnetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ImportVolumeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImagesInRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSnapshotsInRecycleBinCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyAddressAttributeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +59 -36
- package/dist-types/ts3.4/models/models_1.d.ts +74 -87
- package/dist-types/ts3.4/models/models_2.d.ts +83 -61
- package/dist-types/ts3.4/models/models_3.d.ts +63 -89
- package/dist-types/ts3.4/models/models_4.d.ts +89 -94
- package/dist-types/ts3.4/models/models_5.d.ts +91 -83
- package/dist-types/ts3.4/models/models_6.d.ts +84 -73
- package/dist-types/ts3.4/models/models_7.d.ts +68 -0
- package/package.json +31 -31
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DeleteTrafficMirrorSessionRequest } from "../models/
|
|
6
|
-
import { DeleteTrafficMirrorSessionResult } from "../models/models_3";
|
|
5
|
+
import { DeleteTrafficMirrorSessionRequest, DeleteTrafficMirrorSessionResult } from "../models/models_3";
|
|
7
6
|
/**
|
|
8
7
|
* The input for {@link DeleteTrafficMirrorSessionCommand}.
|
|
9
8
|
*/
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DescribeVolumeStatusRequest } from "../models/
|
|
6
|
-
import { DescribeVolumeStatusResult } from "../models/models_5";
|
|
5
|
+
import { DescribeVolumeStatusRequest, DescribeVolumeStatusResult } from "../models/models_5";
|
|
7
6
|
/**
|
|
8
7
|
* The input for {@link DescribeVolumeStatusCommand}.
|
|
9
8
|
*/
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DescribeVolumesRequest
|
|
5
|
+
import { DescribeVolumesRequest } from "../models/models_4";
|
|
6
|
+
import { DescribeVolumesResult } from "../models/models_5";
|
|
6
7
|
/**
|
|
7
8
|
* The input for {@link DescribeVolumesCommand}.
|
|
8
9
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { DescribeVolumesModificationsRequest, DescribeVolumesModificationsResult } from "../models/
|
|
5
|
+
import { DescribeVolumesModificationsRequest, DescribeVolumesModificationsResult } from "../models/models_5";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link DescribeVolumesModificationsCommand}.
|
|
8
8
|
*/
|
|
@@ -15,6 +15,9 @@ export interface GetIpamPoolAllocationsCommandOutput extends GetIpamPoolAllocati
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* <p>Get a list of all the CIDR allocations in an IPAM pool.</p>
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>If you use this action after <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AllocateIpamPoolCidr.html">AllocateIpamPoolCidr</a> or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ReleaseIpamPoolAllocation.html">ReleaseIpamPoolAllocation</a>, note that all EC2 API actions follow an <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#eventual-consistency">eventual consistency</a> model.</p>
|
|
20
|
+
* </note>
|
|
18
21
|
* @example
|
|
19
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
23
|
* ```javascript
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { ImportVolumeRequest, ImportVolumeResult } from "../models/
|
|
5
|
+
import { ImportVolumeRequest, ImportVolumeResult } from "../models/models_6";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link ImportVolumeCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { ListImagesInRecycleBinRequest, ListImagesInRecycleBinResult } from "../models/
|
|
5
|
+
import { ListImagesInRecycleBinRequest, ListImagesInRecycleBinResult } from "../models/models_6";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link ListImagesInRecycleBinCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { ListSnapshotsInRecycleBinRequest, ListSnapshotsInRecycleBinResult } from "../models/
|
|
5
|
+
import { ListSnapshotsInRecycleBinRequest, ListSnapshotsInRecycleBinResult } from "../models/models_6";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link ListSnapshotsInRecycleBinCommand}.
|
|
8
8
|
*/
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { ModifyAddressAttributeRequest } from "../models/
|
|
6
|
-
import { ModifyAddressAttributeResult } from "../models/models_6";
|
|
5
|
+
import { ModifyAddressAttributeRequest, ModifyAddressAttributeResult } from "../models/models_6";
|
|
7
6
|
/**
|
|
8
7
|
* The input for {@link ModifyAddressAttributeCommand}.
|
|
9
8
|
*/
|
|
@@ -16,6 +16,9 @@ export interface ReleaseIpamPoolAllocationCommandOutput extends ReleaseIpamPoolA
|
|
|
16
16
|
/**
|
|
17
17
|
* <p>Release an allocation within an IPAM pool. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyIpamResourceCidr.html">ModifyIpamResourceCidr</a>. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/release-pool-alloc-ipam.html">Release an allocation</a> in the <i>Amazon VPC IPAM User Guide</i>.
|
|
18
18
|
* </p>
|
|
19
|
+
* <note>
|
|
20
|
+
* <p>All EC2 API actions follow an <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#eventual-consistency">eventual consistency</a> model.</p>
|
|
21
|
+
* </note>
|
|
19
22
|
* @example
|
|
20
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
21
24
|
* ```javascript
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { StartNetworkInsightsAnalysisRequest
|
|
5
|
+
import { StartNetworkInsightsAnalysisRequest } from "../models/models_6";
|
|
6
|
+
import { StartNetworkInsightsAnalysisResult } from "../models/models_7";
|
|
6
7
|
/**
|
|
7
8
|
* The input for {@link StartNetworkInsightsAnalysisCommand}.
|
|
8
9
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { StartVpcEndpointServicePrivateDnsVerificationRequest, StartVpcEndpointServicePrivateDnsVerificationResult } from "../models/
|
|
5
|
+
import { StartVpcEndpointServicePrivateDnsVerificationRequest, StartVpcEndpointServicePrivateDnsVerificationResult } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link StartVpcEndpointServicePrivateDnsVerificationCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { StopInstancesRequest, StopInstancesResult } from "../models/
|
|
5
|
+
import { StopInstancesRequest, StopInstancesResult } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link StopInstancesCommand}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { TerminateClientVpnConnectionsRequest, TerminateClientVpnConnectionsResult } from "../models/
|
|
5
|
+
import { TerminateClientVpnConnectionsRequest, TerminateClientVpnConnectionsResult } from "../models/models_7";
|
|
6
6
|
/**
|
|
7
7
|
* The input for {@link TerminateClientVpnConnectionsCommand}.
|
|
8
8
|
*/
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { TerminateInstancesRequest } from "../models/
|
|
6
|
-
import { TerminateInstancesResult } from "../models/models_7";
|
|
5
|
+
import { TerminateInstancesRequest, TerminateInstancesResult } from "../models/models_7";
|
|
7
6
|
/**
|
|
8
7
|
* The input for {@link TerminateInstancesCommand}.
|
|
9
8
|
*/
|
|
@@ -857,17 +857,80 @@ export interface AnalysisComponent {
|
|
|
857
857
|
Name?: string;
|
|
858
858
|
}
|
|
859
859
|
/**
|
|
860
|
-
* <p>Describes
|
|
860
|
+
* <p>Describes additional settings for a stateful rule.</p>
|
|
861
|
+
*/
|
|
862
|
+
export interface RuleOption {
|
|
863
|
+
/**
|
|
864
|
+
* <p>The Suricata keyword.</p>
|
|
865
|
+
*/
|
|
866
|
+
Keyword?: string;
|
|
867
|
+
/**
|
|
868
|
+
* <p>The settings for the keyword.</p>
|
|
869
|
+
*/
|
|
870
|
+
Settings?: string[];
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* <p>Describes the rule options for a stateful rule group.</p>
|
|
874
|
+
*/
|
|
875
|
+
export interface RuleGroupRuleOptionsPair {
|
|
876
|
+
/**
|
|
877
|
+
* <p>The ARN of the rule group.</p>
|
|
878
|
+
*/
|
|
879
|
+
RuleGroupArn?: string;
|
|
880
|
+
/**
|
|
881
|
+
* <p>The rule options.</p>
|
|
882
|
+
*/
|
|
883
|
+
RuleOptions?: RuleOption[];
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* <p>Describes the type of a stateful rule group.</p>
|
|
887
|
+
*/
|
|
888
|
+
export interface RuleGroupTypePair {
|
|
889
|
+
/**
|
|
890
|
+
* <p>The ARN of the rule group.</p>
|
|
891
|
+
*/
|
|
892
|
+
RuleGroupArn?: string;
|
|
893
|
+
/**
|
|
894
|
+
* <p>The rule group type. The possible values are <code>Domain List</code> and <code>Suricata</code>.</p>
|
|
895
|
+
*/
|
|
896
|
+
RuleGroupType?: string;
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* <p>Describes an additional detail for a path analysis. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/reachability/additional-detail-codes.html">Reachability Analyzer additional detail codes</a>.</p>
|
|
861
900
|
*/
|
|
862
901
|
export interface AdditionalDetail {
|
|
863
902
|
/**
|
|
864
|
-
* <p>The
|
|
903
|
+
* <p>The additional detail code.</p>
|
|
865
904
|
*/
|
|
866
905
|
AdditionalDetailType?: string;
|
|
867
906
|
/**
|
|
868
907
|
* <p>The path component.</p>
|
|
869
908
|
*/
|
|
870
909
|
Component?: AnalysisComponent;
|
|
910
|
+
/**
|
|
911
|
+
* <p>The VPC endpoint service.</p>
|
|
912
|
+
*/
|
|
913
|
+
VpcEndpointService?: AnalysisComponent;
|
|
914
|
+
/**
|
|
915
|
+
* <p>The rule options.</p>
|
|
916
|
+
*/
|
|
917
|
+
RuleOptions?: RuleOption[];
|
|
918
|
+
/**
|
|
919
|
+
* <p>The rule group type.</p>
|
|
920
|
+
*/
|
|
921
|
+
RuleGroupTypePairs?: RuleGroupTypePair[];
|
|
922
|
+
/**
|
|
923
|
+
* <p>The rule options.</p>
|
|
924
|
+
*/
|
|
925
|
+
RuleGroupRuleOptionsPairs?: RuleGroupRuleOptionsPair[];
|
|
926
|
+
/**
|
|
927
|
+
* <p>The name of the VPC endpoint service.</p>
|
|
928
|
+
*/
|
|
929
|
+
ServiceName?: string;
|
|
930
|
+
/**
|
|
931
|
+
* <p>The load balancers.</p>
|
|
932
|
+
*/
|
|
933
|
+
LoadBalancers?: AnalysisComponent[];
|
|
871
934
|
}
|
|
872
935
|
/**
|
|
873
936
|
* <p>Describes a load balancer listener.</p>
|
|
@@ -882,6 +945,82 @@ export interface AnalysisLoadBalancerListener {
|
|
|
882
945
|
*/
|
|
883
946
|
InstancePort?: number;
|
|
884
947
|
}
|
|
948
|
+
/**
|
|
949
|
+
* <p>Describes a stateful rule.</p>
|
|
950
|
+
*/
|
|
951
|
+
export interface FirewallStatefulRule {
|
|
952
|
+
/**
|
|
953
|
+
* <p>The ARN of the stateful rule group.</p>
|
|
954
|
+
*/
|
|
955
|
+
RuleGroupArn?: string;
|
|
956
|
+
/**
|
|
957
|
+
* <p>The source IP addresses, in CIDR notation.</p>
|
|
958
|
+
*/
|
|
959
|
+
Sources?: string[];
|
|
960
|
+
/**
|
|
961
|
+
* <p>The destination IP addresses, in CIDR notation.</p>
|
|
962
|
+
*/
|
|
963
|
+
Destinations?: string[];
|
|
964
|
+
/**
|
|
965
|
+
* <p>The source ports.</p>
|
|
966
|
+
*/
|
|
967
|
+
SourcePorts?: PortRange[];
|
|
968
|
+
/**
|
|
969
|
+
* <p>The destination ports.</p>
|
|
970
|
+
*/
|
|
971
|
+
DestinationPorts?: PortRange[];
|
|
972
|
+
/**
|
|
973
|
+
* <p>The protocol.</p>
|
|
974
|
+
*/
|
|
975
|
+
Protocol?: string;
|
|
976
|
+
/**
|
|
977
|
+
* <p>The rule action. The possible values are <code>pass</code>, <code>drop</code>, and
|
|
978
|
+
* <code>alert</code>.</p>
|
|
979
|
+
*/
|
|
980
|
+
RuleAction?: string;
|
|
981
|
+
/**
|
|
982
|
+
* <p>The direction. The possible values are <code>FORWARD</code> and <code>ANY</code>.</p>
|
|
983
|
+
*/
|
|
984
|
+
Direction?: string;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* <p>Describes a stateless rule.</p>
|
|
988
|
+
*/
|
|
989
|
+
export interface FirewallStatelessRule {
|
|
990
|
+
/**
|
|
991
|
+
* <p>The ARN of the stateless rule group.</p>
|
|
992
|
+
*/
|
|
993
|
+
RuleGroupArn?: string;
|
|
994
|
+
/**
|
|
995
|
+
* <p>The source IP addresses, in CIDR notation.</p>
|
|
996
|
+
*/
|
|
997
|
+
Sources?: string[];
|
|
998
|
+
/**
|
|
999
|
+
* <p>The destination IP addresses, in CIDR notation.</p>
|
|
1000
|
+
*/
|
|
1001
|
+
Destinations?: string[];
|
|
1002
|
+
/**
|
|
1003
|
+
* <p>The source ports.</p>
|
|
1004
|
+
*/
|
|
1005
|
+
SourcePorts?: PortRange[];
|
|
1006
|
+
/**
|
|
1007
|
+
* <p>The destination ports.</p>
|
|
1008
|
+
*/
|
|
1009
|
+
DestinationPorts?: PortRange[];
|
|
1010
|
+
/**
|
|
1011
|
+
* <p>The protocols.</p>
|
|
1012
|
+
*/
|
|
1013
|
+
Protocols?: number[];
|
|
1014
|
+
/**
|
|
1015
|
+
* <p>The rule action. The possible values are <code>pass</code>, <code>drop</code>, and
|
|
1016
|
+
* <code>forward_to_site</code>.</p>
|
|
1017
|
+
*/
|
|
1018
|
+
RuleAction?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* <p>The rule priority.</p>
|
|
1021
|
+
*/
|
|
1022
|
+
Priority?: number;
|
|
1023
|
+
}
|
|
885
1024
|
/**
|
|
886
1025
|
* <p>Describes a load balancer target.</p>
|
|
887
1026
|
*/
|
|
@@ -970,6 +1109,18 @@ export interface AnalysisRouteTableRoute {
|
|
|
970
1109
|
* </ul>
|
|
971
1110
|
*/
|
|
972
1111
|
State?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>The ID of a carrier gateway.</p>
|
|
1114
|
+
*/
|
|
1115
|
+
CarrierGatewayId?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* <p>The Amazon Resource Name (ARN) of a core network.</p>
|
|
1118
|
+
*/
|
|
1119
|
+
CoreNetworkArn?: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* <p>The ID of a local gateway.</p>
|
|
1122
|
+
*/
|
|
1123
|
+
LocalGatewayId?: string;
|
|
973
1124
|
}
|
|
974
1125
|
/**
|
|
975
1126
|
* <p>Describes a security group rule.</p>
|
|
@@ -1265,6 +1416,14 @@ export interface Explanation {
|
|
|
1265
1416
|
* <p>The Region for the component.</p>
|
|
1266
1417
|
*/
|
|
1267
1418
|
ComponentRegion?: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* <p>The Network Firewall stateless rule.</p>
|
|
1421
|
+
*/
|
|
1422
|
+
FirewallStatelessRule?: FirewallStatelessRule;
|
|
1423
|
+
/**
|
|
1424
|
+
* <p>The Network Firewall stateful rule.</p>
|
|
1425
|
+
*/
|
|
1426
|
+
FirewallStatefulRule?: FirewallStatefulRule;
|
|
1268
1427
|
}
|
|
1269
1428
|
/**
|
|
1270
1429
|
* <p>Describes a header. Reflects any changes made by a component as traffic passes through.
|
|
@@ -1364,6 +1523,18 @@ export interface PathComponent {
|
|
|
1364
1523
|
* <p>The load balancer listener.</p>
|
|
1365
1524
|
*/
|
|
1366
1525
|
ElasticLoadBalancerListener?: AnalysisComponent;
|
|
1526
|
+
/**
|
|
1527
|
+
* <p>The Network Firewall stateless rule.</p>
|
|
1528
|
+
*/
|
|
1529
|
+
FirewallStatelessRule?: FirewallStatelessRule;
|
|
1530
|
+
/**
|
|
1531
|
+
* <p>The Network Firewall stateful rule.</p>
|
|
1532
|
+
*/
|
|
1533
|
+
FirewallStatefulRule?: FirewallStatefulRule;
|
|
1534
|
+
/**
|
|
1535
|
+
* <p>The name of the VPC endpoint service.</p>
|
|
1536
|
+
*/
|
|
1537
|
+
ServiceName?: string;
|
|
1367
1538
|
}
|
|
1368
1539
|
/**
|
|
1369
1540
|
* <p>Describes a finding for a Network Access Scope.</p>
|
|
@@ -6318,84 +6489,6 @@ export interface CertificateAuthenticationRequest {
|
|
|
6318
6489
|
*/
|
|
6319
6490
|
ClientRootCertificateChainArn?: string;
|
|
6320
6491
|
}
|
|
6321
|
-
export declare enum ClientVpnAuthenticationType {
|
|
6322
|
-
certificate_authentication = "certificate-authentication",
|
|
6323
|
-
directory_service_authentication = "directory-service-authentication",
|
|
6324
|
-
federated_authentication = "federated-authentication"
|
|
6325
|
-
}
|
|
6326
|
-
/**
|
|
6327
|
-
* <p>Describes the authentication method to be used by a Client VPN endpoint. For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication">Authentication</a>
|
|
6328
|
-
* in the <i>Client VPN Administrator Guide</i>.</p>
|
|
6329
|
-
*/
|
|
6330
|
-
export interface ClientVpnAuthenticationRequest {
|
|
6331
|
-
/**
|
|
6332
|
-
* <p>The type of client authentication to be used.</p>
|
|
6333
|
-
*/
|
|
6334
|
-
Type?: ClientVpnAuthenticationType | string;
|
|
6335
|
-
/**
|
|
6336
|
-
* <p>Information about the Active Directory to be used, if applicable. You must provide this information if <b>Type</b> is <code>directory-service-authentication</code>.</p>
|
|
6337
|
-
*/
|
|
6338
|
-
ActiveDirectory?: DirectoryServiceAuthenticationRequest;
|
|
6339
|
-
/**
|
|
6340
|
-
* <p>Information about the authentication certificates to be used, if applicable. You must provide this information if <b>Type</b> is <code>certificate-authentication</code>.</p>
|
|
6341
|
-
*/
|
|
6342
|
-
MutualAuthentication?: CertificateAuthenticationRequest;
|
|
6343
|
-
/**
|
|
6344
|
-
* <p>Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if <b>Type</b> is <code>federated-authentication</code>.</p>
|
|
6345
|
-
*/
|
|
6346
|
-
FederatedAuthentication?: FederatedAuthenticationRequest;
|
|
6347
|
-
}
|
|
6348
|
-
/**
|
|
6349
|
-
* <p>The options for managing connection authorization for new client connections.</p>
|
|
6350
|
-
*/
|
|
6351
|
-
export interface ClientConnectOptions {
|
|
6352
|
-
/**
|
|
6353
|
-
* <p>Indicates whether client connect options are enabled. The default is <code>false</code> (not enabled).</p>
|
|
6354
|
-
*/
|
|
6355
|
-
Enabled?: boolean;
|
|
6356
|
-
/**
|
|
6357
|
-
* <p>The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.</p>
|
|
6358
|
-
*/
|
|
6359
|
-
LambdaFunctionArn?: string;
|
|
6360
|
-
}
|
|
6361
|
-
/**
|
|
6362
|
-
* <p>Options for enabling a customizable text banner that will be displayed on
|
|
6363
|
-
* Amazon Web Services provided clients when a VPN session is established.</p>
|
|
6364
|
-
*/
|
|
6365
|
-
export interface ClientLoginBannerOptions {
|
|
6366
|
-
/**
|
|
6367
|
-
* <p>Enable or disable a customizable text banner that will be displayed on
|
|
6368
|
-
* Amazon Web Services provided clients when a VPN session is established.</p>
|
|
6369
|
-
* <p>Valid values: <code>true | false</code>
|
|
6370
|
-
* </p>
|
|
6371
|
-
* <p>Default value: <code>false</code>
|
|
6372
|
-
* </p>
|
|
6373
|
-
*/
|
|
6374
|
-
Enabled?: boolean;
|
|
6375
|
-
/**
|
|
6376
|
-
* <p>Customizable text that will be displayed in a banner on Amazon Web Services provided
|
|
6377
|
-
* clients when a VPN session is established. UTF-8 encoded characters only. Maximum of
|
|
6378
|
-
* 1400 characters.</p>
|
|
6379
|
-
*/
|
|
6380
|
-
BannerText?: string;
|
|
6381
|
-
}
|
|
6382
|
-
/**
|
|
6383
|
-
* <p>Describes the client connection logging options for the Client VPN endpoint.</p>
|
|
6384
|
-
*/
|
|
6385
|
-
export interface ConnectionLogOptions {
|
|
6386
|
-
/**
|
|
6387
|
-
* <p>Indicates whether connection logging is enabled.</p>
|
|
6388
|
-
*/
|
|
6389
|
-
Enabled?: boolean;
|
|
6390
|
-
/**
|
|
6391
|
-
* <p>The name of the CloudWatch Logs log group. Required if connection logging is enabled.</p>
|
|
6392
|
-
*/
|
|
6393
|
-
CloudwatchLogGroup?: string;
|
|
6394
|
-
/**
|
|
6395
|
-
* <p>The name of the CloudWatch Logs log stream to which the connection data is published.</p>
|
|
6396
|
-
*/
|
|
6397
|
-
CloudwatchLogStream?: string;
|
|
6398
|
-
}
|
|
6399
6492
|
/**
|
|
6400
6493
|
* @internal
|
|
6401
6494
|
*/
|
|
@@ -6560,6 +6653,18 @@ export declare const AnalysisAclRuleFilterSensitiveLog: (obj: AnalysisAclRule) =
|
|
|
6560
6653
|
* @internal
|
|
6561
6654
|
*/
|
|
6562
6655
|
export declare const AnalysisComponentFilterSensitiveLog: (obj: AnalysisComponent) => any;
|
|
6656
|
+
/**
|
|
6657
|
+
* @internal
|
|
6658
|
+
*/
|
|
6659
|
+
export declare const RuleOptionFilterSensitiveLog: (obj: RuleOption) => any;
|
|
6660
|
+
/**
|
|
6661
|
+
* @internal
|
|
6662
|
+
*/
|
|
6663
|
+
export declare const RuleGroupRuleOptionsPairFilterSensitiveLog: (obj: RuleGroupRuleOptionsPair) => any;
|
|
6664
|
+
/**
|
|
6665
|
+
* @internal
|
|
6666
|
+
*/
|
|
6667
|
+
export declare const RuleGroupTypePairFilterSensitiveLog: (obj: RuleGroupTypePair) => any;
|
|
6563
6668
|
/**
|
|
6564
6669
|
* @internal
|
|
6565
6670
|
*/
|
|
@@ -6568,6 +6673,14 @@ export declare const AdditionalDetailFilterSensitiveLog: (obj: AdditionalDetail)
|
|
|
6568
6673
|
* @internal
|
|
6569
6674
|
*/
|
|
6570
6675
|
export declare const AnalysisLoadBalancerListenerFilterSensitiveLog: (obj: AnalysisLoadBalancerListener) => any;
|
|
6676
|
+
/**
|
|
6677
|
+
* @internal
|
|
6678
|
+
*/
|
|
6679
|
+
export declare const FirewallStatefulRuleFilterSensitiveLog: (obj: FirewallStatefulRule) => any;
|
|
6680
|
+
/**
|
|
6681
|
+
* @internal
|
|
6682
|
+
*/
|
|
6683
|
+
export declare const FirewallStatelessRuleFilterSensitiveLog: (obj: FirewallStatelessRule) => any;
|
|
6571
6684
|
/**
|
|
6572
6685
|
* @internal
|
|
6573
6686
|
*/
|
|
@@ -7312,19 +7425,3 @@ export declare const FederatedAuthenticationRequestFilterSensitiveLog: (obj: Fed
|
|
|
7312
7425
|
* @internal
|
|
7313
7426
|
*/
|
|
7314
7427
|
export declare const CertificateAuthenticationRequestFilterSensitiveLog: (obj: CertificateAuthenticationRequest) => any;
|
|
7315
|
-
/**
|
|
7316
|
-
* @internal
|
|
7317
|
-
*/
|
|
7318
|
-
export declare const ClientVpnAuthenticationRequestFilterSensitiveLog: (obj: ClientVpnAuthenticationRequest) => any;
|
|
7319
|
-
/**
|
|
7320
|
-
* @internal
|
|
7321
|
-
*/
|
|
7322
|
-
export declare const ClientConnectOptionsFilterSensitiveLog: (obj: ClientConnectOptions) => any;
|
|
7323
|
-
/**
|
|
7324
|
-
* @internal
|
|
7325
|
-
*/
|
|
7326
|
-
export declare const ClientLoginBannerOptionsFilterSensitiveLog: (obj: ClientLoginBannerOptions) => any;
|
|
7327
|
-
/**
|
|
7328
|
-
* @internal
|
|
7329
|
-
*/
|
|
7330
|
-
export declare const ConnectionLogOptionsFilterSensitiveLog: (obj: ConnectionLogOptions) => any;
|