@aws-sdk/client-ec2 3.202.0 → 3.205.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/CHANGELOG.md +22 -0
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CancelImageLaunchPermissionCommand.js +46 -0
- package/dist-cjs/commands/CreateDefaultSubnetCommand.js +2 -1
- package/dist-cjs/commands/CreateSubnetCidrReservationCommand.js +2 -1
- package/dist-cjs/commands/CreateTagsCommand.js +2 -2
- package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +1 -2
- package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +3 -3
- package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
- package/dist-cjs/commands/DescribeLaunchTemplateVersionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeLaunchTemplatesCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
- package/dist-cjs/commands/DisassociateTrunkInterfaceCommand.js +3 -3
- package/dist-cjs/commands/DisassociateVpcCidrBlockCommand.js +1 -2
- package/dist-cjs/commands/ModifyVpcPeeringConnectionOptionsCommand.js +3 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +10 -10
- package/dist-cjs/models/models_1.js +21 -21
- package/dist-cjs/models/models_2.js +22 -22
- package/dist-cjs/models/models_3.js +21 -21
- package/dist-cjs/models/models_4.js +22 -22
- package/dist-cjs/models/models_5.js +22 -22
- package/dist-cjs/models/models_6.js +20 -4
- package/dist-cjs/protocols/Aws_ec2.js +179 -22
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CancelImageLaunchPermissionCommand.js +42 -0
- package/dist-es/commands/CreateDefaultSubnetCommand.js +2 -1
- package/dist-es/commands/CreateSubnetCidrReservationCommand.js +2 -1
- package/dist-es/commands/CreateTagsCommand.js +1 -1
- package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +1 -2
- package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -1
- package/dist-es/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
- package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
- package/dist-es/commands/DescribeLaunchTemplatesCommand.js +1 -1
- package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
- package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +1 -1
- package/dist-es/commands/DisassociateVpcCidrBlockCommand.js +1 -2
- package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +6 -6
- package/dist-es/models/models_1.js +12 -12
- package/dist-es/models/models_2.js +12 -12
- package/dist-es/models/models_3.js +12 -12
- package/dist-es/models/models_4.js +12 -12
- package/dist-es/models/models_5.js +12 -13
- package/dist-es/models/models_6.js +13 -0
- package/dist-es/protocols/Aws_ec2.js +155 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/EC2.d.ts +17 -7
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +39 -0
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -1
- package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -2
- package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +26 -112
- package/dist-types/models/models_1.d.ts +247 -101
- package/dist-types/models/models_2.d.ts +96 -79
- package/dist-types/models/models_3.d.ts +80 -217
- package/dist-types/models/models_4.d.ts +230 -72
- package/dist-types/models/models_5.d.ts +61 -71
- package/dist-types/models/models_6.d.ts +70 -2
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/CancelImageLaunchPermissionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -30
- package/dist-types/ts3.4/models/models_1.d.ts +51 -36
- package/dist-types/ts3.4/models/models_2.d.ts +36 -33
- package/dist-types/ts3.4/models/models_3.d.ts +32 -41
- package/dist-types/ts3.4/models/models_4.d.ts +42 -29
- package/dist-types/ts3.4/models/models_5.d.ts +29 -28
- package/dist-types/ts3.4/models/models_6.d.ts +28 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
|
@@ -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 { CreateDefaultSubnetRequest
|
|
5
|
+
import { CreateDefaultSubnetRequest } from "../models/models_0";
|
|
6
|
+
import { CreateDefaultSubnetResult } from "../models/models_1";
|
|
6
7
|
export interface CreateDefaultSubnetCommandInput extends CreateDefaultSubnetRequest {
|
|
7
8
|
}
|
|
8
9
|
export interface CreateDefaultSubnetCommandOutput extends CreateDefaultSubnetResult, __MetadataBearer {
|
|
@@ -9,9 +9,9 @@ export interface CreateSpotDatafeedSubscriptionCommandOutput extends CreateSpotD
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* You can create one data feed per Amazon Web Services account. For more information, see
|
|
13
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html">Spot Instance data feed</a>
|
|
14
|
+
* in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```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 { CreateSubnetCidrReservationRequest
|
|
5
|
+
import { CreateSubnetCidrReservationRequest } from "../models/models_1";
|
|
6
|
+
import { CreateSubnetCidrReservationResult } from "../models/models_2";
|
|
6
7
|
export interface CreateSubnetCidrReservationCommandInput extends CreateSubnetCidrReservationRequest {
|
|
7
8
|
}
|
|
8
9
|
export interface CreateSubnetCidrReservationCommandOutput extends CreateSubnetCidrReservationResult, __MetadataBearer {
|
|
@@ -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 { CreateTagsRequest } from "../models/
|
|
5
|
+
import { CreateTagsRequest } from "../models/models_2";
|
|
6
6
|
export interface CreateTagsCommandInput extends CreateTagsRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface CreateTagsCommandOutput extends __MetadataBearer {
|
|
@@ -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 { CreateTrafficMirrorFilterRequest } from "../models/
|
|
6
|
-
import { CreateTrafficMirrorFilterResult } from "../models/models_2";
|
|
5
|
+
import { CreateTrafficMirrorFilterRequest, CreateTrafficMirrorFilterResult } from "../models/models_2";
|
|
7
6
|
export interface CreateTrafficMirrorFilterCommandInput extends CreateTrafficMirrorFilterRequest {
|
|
8
7
|
}
|
|
9
8
|
export interface CreateTrafficMirrorFilterCommandOutput extends CreateTrafficMirrorFilterResult, __MetadataBearer {
|
|
@@ -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 { DeregisterTransitGatewayMulticastGroupMembersRequest, DeregisterTransitGatewayMulticastGroupMembersResult } from "../models/
|
|
5
|
+
import { DeregisterTransitGatewayMulticastGroupMembersRequest, DeregisterTransitGatewayMulticastGroupMembersResult } from "../models/models_3";
|
|
6
6
|
export interface DeregisterTransitGatewayMulticastGroupMembersCommandInput extends DeregisterTransitGatewayMulticastGroupMembersRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface DeregisterTransitGatewayMulticastGroupMembersCommandOutput extends DeregisterTransitGatewayMulticastGroupMembersResult, __MetadataBearer {
|
|
@@ -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 { DeregisterTransitGatewayMulticastGroupSourcesRequest } from "../models/
|
|
6
|
-
import { DeregisterTransitGatewayMulticastGroupSourcesResult } from "../models/models_3";
|
|
5
|
+
import { DeregisterTransitGatewayMulticastGroupSourcesRequest, DeregisterTransitGatewayMulticastGroupSourcesResult } from "../models/models_3";
|
|
7
6
|
export interface DeregisterTransitGatewayMulticastGroupSourcesCommandInput extends DeregisterTransitGatewayMulticastGroupSourcesRequest {
|
|
8
7
|
}
|
|
9
8
|
export interface DeregisterTransitGatewayMulticastGroupSourcesCommandOutput extends DeregisterTransitGatewayMulticastGroupSourcesResult, __MetadataBearer {
|
|
@@ -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 { DescribeLaunchTemplateVersionsRequest, DescribeLaunchTemplateVersionsResult } from "../models/
|
|
5
|
+
import { DescribeLaunchTemplateVersionsRequest, DescribeLaunchTemplateVersionsResult } from "../models/models_4";
|
|
6
6
|
export interface DescribeLaunchTemplateVersionsCommandInput extends DescribeLaunchTemplateVersionsRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface DescribeLaunchTemplateVersionsCommandOutput extends DescribeLaunchTemplateVersionsResult, __MetadataBearer {
|
|
@@ -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 { DescribeLaunchTemplatesRequest, DescribeLaunchTemplatesResult } from "../models/
|
|
5
|
+
import { DescribeLaunchTemplatesRequest, DescribeLaunchTemplatesResult } from "../models/models_4";
|
|
6
6
|
export interface DescribeLaunchTemplatesCommandInput extends DescribeLaunchTemplatesRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface DescribeLaunchTemplatesCommandOutput extends DescribeLaunchTemplatesResult, __MetadataBearer {
|
|
@@ -9,7 +9,7 @@ export interface DescribeSpotDatafeedSubscriptionCommandOutput extends DescribeS
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Describes the data feed for Spot Instances. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html">Spot
|
|
12
|
-
*
|
|
12
|
+
* Instance data feed</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -14,7 +14,7 @@ export interface DescribeSpotFleetRequestHistoryCommandOutput extends DescribeSp
|
|
|
14
14
|
* ensures that you can query by the last evaluated time and not miss a recorded event.
|
|
15
15
|
* Spot Fleet events are available for 48 hours.</p>
|
|
16
16
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html">Monitor fleet events using Amazon
|
|
17
|
-
* EventBridge</a> in the <i>Amazon EC2 User Guide
|
|
17
|
+
* EventBridge</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```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 { DisassociateTransitGatewayRouteTableRequest
|
|
5
|
+
import { DisassociateTransitGatewayRouteTableRequest } from "../models/models_4";
|
|
6
|
+
import { DisassociateTransitGatewayRouteTableResult } from "../models/models_5";
|
|
6
7
|
export interface DisassociateTransitGatewayRouteTableCommandInput extends DisassociateTransitGatewayRouteTableRequest {
|
|
7
8
|
}
|
|
8
9
|
export interface DisassociateTransitGatewayRouteTableCommandOutput extends DisassociateTransitGatewayRouteTableResult, __MetadataBearer {
|
|
@@ -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 { DisassociateTrunkInterfaceRequest, DisassociateTrunkInterfaceResult } from "../models/
|
|
5
|
+
import { DisassociateTrunkInterfaceRequest, DisassociateTrunkInterfaceResult } from "../models/models_5";
|
|
6
6
|
export interface DisassociateTrunkInterfaceCommandInput extends DisassociateTrunkInterfaceRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface DisassociateTrunkInterfaceCommandOutput extends DisassociateTrunkInterfaceResult, __MetadataBearer {
|
|
@@ -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 { DisassociateVpcCidrBlockRequest } from "../models/
|
|
6
|
-
import { DisassociateVpcCidrBlockResult } from "../models/models_5";
|
|
5
|
+
import { DisassociateVpcCidrBlockRequest, DisassociateVpcCidrBlockResult } from "../models/models_5";
|
|
7
6
|
export interface DisassociateVpcCidrBlockCommandInput extends DisassociateVpcCidrBlockRequest {
|
|
8
7
|
}
|
|
9
8
|
export interface DisassociateVpcCidrBlockCommandOutput extends DisassociateVpcCidrBlockResult, __MetadataBearer {
|
|
@@ -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 { ModifyVpcPeeringConnectionOptionsRequest, ModifyVpcPeeringConnectionOptionsResult } from "../models/
|
|
5
|
+
import { ModifyVpcPeeringConnectionOptionsRequest, ModifyVpcPeeringConnectionOptionsResult } from "../models/models_6";
|
|
6
6
|
export interface ModifyVpcPeeringConnectionOptionsCommandInput extends ModifyVpcPeeringConnectionOptionsRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface ModifyVpcPeeringConnectionOptionsCommandOutput extends ModifyVpcPeeringConnectionOptionsResult, __MetadataBearer {
|
|
@@ -27,14 +27,14 @@ export interface RequestSpotFleetCommandOutput extends RequestSpotFleetResponse,
|
|
|
27
27
|
* <code>spot-fleet-request</code> and <code>instance</code> resource types are
|
|
28
28
|
* supported.</p>
|
|
29
29
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html">Spot Fleet requests</a>
|
|
30
|
-
* in the <i>Amazon EC2 User Guide
|
|
30
|
+
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
31
31
|
*
|
|
32
32
|
* <important>
|
|
33
33
|
* <p>We strongly discourage using the RequestSpotFleet API because it is a legacy
|
|
34
34
|
* API with no planned investment. For options for requesting Spot Instances, see
|
|
35
35
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html#which-spot-request-method-to-use">Which
|
|
36
36
|
* is the best Spot request method to use?</a> in the
|
|
37
|
-
* <i>Amazon EC2 User Guide
|
|
37
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
38
38
|
* </important>
|
|
39
39
|
* @example
|
|
40
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -19,6 +19,7 @@ export interface RequestSpotInstancesCommandOutput extends RequestSpotInstancesR
|
|
|
19
19
|
* is the best Spot request method to use?</a> in the
|
|
20
20
|
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
21
21
|
* </important>
|
|
22
|
+
*
|
|
22
23
|
* <note>
|
|
23
24
|
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
24
25
|
* </note>
|
|
@@ -39,6 +39,7 @@ export * from "./CancelCapacityReservationCommand";
|
|
|
39
39
|
export * from "./CancelCapacityReservationFleetsCommand";
|
|
40
40
|
export * from "./CancelConversionTaskCommand";
|
|
41
41
|
export * from "./CancelExportTaskCommand";
|
|
42
|
+
export * from "./CancelImageLaunchPermissionCommand";
|
|
42
43
|
export * from "./CancelImportTaskCommand";
|
|
43
44
|
export * from "./CancelReservedInstancesListingCommand";
|
|
44
45
|
export * from "./CancelSpotFleetRequestsCommand";
|
|
@@ -3945,6 +3945,24 @@ export interface CancelExportTaskRequest {
|
|
|
3945
3945
|
*/
|
|
3946
3946
|
ExportTaskId: string | undefined;
|
|
3947
3947
|
}
|
|
3948
|
+
export interface CancelImageLaunchPermissionRequest {
|
|
3949
|
+
/**
|
|
3950
|
+
* <p>The ID of the AMI that was shared with your Amazon Web Services account.</p>
|
|
3951
|
+
*/
|
|
3952
|
+
ImageId: string | undefined;
|
|
3953
|
+
/**
|
|
3954
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
3955
|
+
* and provides an error response. If you have the required permissions, the error response is
|
|
3956
|
+
* <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
3957
|
+
*/
|
|
3958
|
+
DryRun?: boolean;
|
|
3959
|
+
}
|
|
3960
|
+
export interface CancelImageLaunchPermissionResult {
|
|
3961
|
+
/**
|
|
3962
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
3963
|
+
*/
|
|
3964
|
+
Return?: boolean;
|
|
3965
|
+
}
|
|
3948
3966
|
export interface CancelImportTaskRequest {
|
|
3949
3967
|
/**
|
|
3950
3968
|
* <p>The reason for canceling the task.</p>
|
|
@@ -6294,110 +6312,6 @@ export declare enum SubnetState {
|
|
|
6294
6312
|
available = "available",
|
|
6295
6313
|
pending = "pending"
|
|
6296
6314
|
}
|
|
6297
|
-
/**
|
|
6298
|
-
* <p>Describes a subnet.</p>
|
|
6299
|
-
*/
|
|
6300
|
-
export interface Subnet {
|
|
6301
|
-
/**
|
|
6302
|
-
* <p>The Availability Zone of the subnet.</p>
|
|
6303
|
-
*/
|
|
6304
|
-
AvailabilityZone?: string;
|
|
6305
|
-
/**
|
|
6306
|
-
* <p>The AZ ID of the subnet.</p>
|
|
6307
|
-
*/
|
|
6308
|
-
AvailabilityZoneId?: string;
|
|
6309
|
-
/**
|
|
6310
|
-
* <p>The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any
|
|
6311
|
-
* stopped instances are considered unavailable.</p>
|
|
6312
|
-
*/
|
|
6313
|
-
AvailableIpAddressCount?: number;
|
|
6314
|
-
/**
|
|
6315
|
-
* <p>The IPv4 CIDR block assigned to the subnet.</p>
|
|
6316
|
-
*/
|
|
6317
|
-
CidrBlock?: string;
|
|
6318
|
-
/**
|
|
6319
|
-
* <p>Indicates whether this is the default subnet for the Availability Zone.</p>
|
|
6320
|
-
*/
|
|
6321
|
-
DefaultForAz?: boolean;
|
|
6322
|
-
/**
|
|
6323
|
-
* <p>
|
|
6324
|
-
* Indicates the device position for local network interfaces in this subnet. For example,
|
|
6325
|
-
* <code>1</code> indicates local network interfaces in this subnet are the secondary
|
|
6326
|
-
* network interface (eth1).
|
|
6327
|
-
* </p>
|
|
6328
|
-
*/
|
|
6329
|
-
EnableLniAtDeviceIndex?: number;
|
|
6330
|
-
/**
|
|
6331
|
-
* <p>Indicates whether instances launched in this subnet receive a public IPv4 address.</p>
|
|
6332
|
-
*/
|
|
6333
|
-
MapPublicIpOnLaunch?: boolean;
|
|
6334
|
-
/**
|
|
6335
|
-
* <p>Indicates whether a network interface created in this subnet (including a network
|
|
6336
|
-
* interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
|
|
6337
|
-
*/
|
|
6338
|
-
MapCustomerOwnedIpOnLaunch?: boolean;
|
|
6339
|
-
/**
|
|
6340
|
-
* <p>The customer-owned IPv4 address pool associated with the subnet.</p>
|
|
6341
|
-
*/
|
|
6342
|
-
CustomerOwnedIpv4Pool?: string;
|
|
6343
|
-
/**
|
|
6344
|
-
* <p>The current state of the subnet.</p>
|
|
6345
|
-
*/
|
|
6346
|
-
State?: SubnetState | string;
|
|
6347
|
-
/**
|
|
6348
|
-
* <p>The ID of the subnet.</p>
|
|
6349
|
-
*/
|
|
6350
|
-
SubnetId?: string;
|
|
6351
|
-
/**
|
|
6352
|
-
* <p>The ID of the VPC the subnet is in.</p>
|
|
6353
|
-
*/
|
|
6354
|
-
VpcId?: string;
|
|
6355
|
-
/**
|
|
6356
|
-
* <p>The ID of the Amazon Web Services account that owns the subnet.</p>
|
|
6357
|
-
*/
|
|
6358
|
-
OwnerId?: string;
|
|
6359
|
-
/**
|
|
6360
|
-
* <p>Indicates whether a network interface created in this subnet (including a network
|
|
6361
|
-
* interface created by <a>RunInstances</a>) receives an IPv6 address.</p>
|
|
6362
|
-
*/
|
|
6363
|
-
AssignIpv6AddressOnCreation?: boolean;
|
|
6364
|
-
/**
|
|
6365
|
-
* <p>Information about the IPv6 CIDR blocks associated with the subnet.</p>
|
|
6366
|
-
*/
|
|
6367
|
-
Ipv6CidrBlockAssociationSet?: SubnetIpv6CidrBlockAssociation[];
|
|
6368
|
-
/**
|
|
6369
|
-
* <p>Any tags assigned to the subnet.</p>
|
|
6370
|
-
*/
|
|
6371
|
-
Tags?: Tag[];
|
|
6372
|
-
/**
|
|
6373
|
-
* <p>The Amazon Resource Name (ARN) of the subnet.</p>
|
|
6374
|
-
*/
|
|
6375
|
-
SubnetArn?: string;
|
|
6376
|
-
/**
|
|
6377
|
-
* <p>The Amazon Resource Name (ARN) of the Outpost.</p>
|
|
6378
|
-
*/
|
|
6379
|
-
OutpostArn?: string;
|
|
6380
|
-
/**
|
|
6381
|
-
* <p>Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet
|
|
6382
|
-
* should return synthetic IPv6 addresses for IPv4-only destinations.</p>
|
|
6383
|
-
*/
|
|
6384
|
-
EnableDns64?: boolean;
|
|
6385
|
-
/**
|
|
6386
|
-
* <p>Indicates whether this is an IPv6 only subnet.</p>
|
|
6387
|
-
*/
|
|
6388
|
-
Ipv6Native?: boolean;
|
|
6389
|
-
/**
|
|
6390
|
-
* <p>The type of hostnames to assign to instances in the subnet at launch. An instance hostname
|
|
6391
|
-
* is based on the IPv4 address or ID of the instance.</p>
|
|
6392
|
-
*/
|
|
6393
|
-
PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch;
|
|
6394
|
-
}
|
|
6395
|
-
export interface CreateDefaultSubnetResult {
|
|
6396
|
-
/**
|
|
6397
|
-
* <p>Information about the subnet.</p>
|
|
6398
|
-
*/
|
|
6399
|
-
Subnet?: Subnet;
|
|
6400
|
-
}
|
|
6401
6315
|
/**
|
|
6402
6316
|
* @internal
|
|
6403
6317
|
*/
|
|
@@ -7090,6 +7004,14 @@ export declare const CancelConversionRequestFilterSensitiveLog: (obj: CancelConv
|
|
|
7090
7004
|
* @internal
|
|
7091
7005
|
*/
|
|
7092
7006
|
export declare const CancelExportTaskRequestFilterSensitiveLog: (obj: CancelExportTaskRequest) => any;
|
|
7007
|
+
/**
|
|
7008
|
+
* @internal
|
|
7009
|
+
*/
|
|
7010
|
+
export declare const CancelImageLaunchPermissionRequestFilterSensitiveLog: (obj: CancelImageLaunchPermissionRequest) => any;
|
|
7011
|
+
/**
|
|
7012
|
+
* @internal
|
|
7013
|
+
*/
|
|
7014
|
+
export declare const CancelImageLaunchPermissionResultFilterSensitiveLog: (obj: CancelImageLaunchPermissionResult) => any;
|
|
7093
7015
|
/**
|
|
7094
7016
|
* @internal
|
|
7095
7017
|
*/
|
|
@@ -7322,11 +7244,3 @@ export declare const CreateDefaultSubnetRequestFilterSensitiveLog: (obj: CreateD
|
|
|
7322
7244
|
* @internal
|
|
7323
7245
|
*/
|
|
7324
7246
|
export declare const PrivateDnsNameOptionsOnLaunchFilterSensitiveLog: (obj: PrivateDnsNameOptionsOnLaunch) => any;
|
|
7325
|
-
/**
|
|
7326
|
-
* @internal
|
|
7327
|
-
*/
|
|
7328
|
-
export declare const SubnetFilterSensitiveLog: (obj: Subnet) => any;
|
|
7329
|
-
/**
|
|
7330
|
-
* @internal
|
|
7331
|
-
*/
|
|
7332
|
-
export declare const CreateDefaultSubnetResultFilterSensitiveLog: (obj: CreateDefaultSubnetResult) => any;
|