@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.
Files changed (113) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/EC2.js +15 -0
  3. package/dist-cjs/commands/CancelImageLaunchPermissionCommand.js +46 -0
  4. package/dist-cjs/commands/CreateDefaultSubnetCommand.js +2 -1
  5. package/dist-cjs/commands/CreateSubnetCidrReservationCommand.js +2 -1
  6. package/dist-cjs/commands/CreateTagsCommand.js +2 -2
  7. package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  8. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +3 -3
  9. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeLaunchTemplateVersionsCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeLaunchTemplatesCommand.js +3 -3
  12. package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
  13. package/dist-cjs/commands/DisassociateTrunkInterfaceCommand.js +3 -3
  14. package/dist-cjs/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  15. package/dist-cjs/commands/ModifyVpcPeeringConnectionOptionsCommand.js +3 -3
  16. package/dist-cjs/commands/index.js +1 -0
  17. package/dist-cjs/models/models_0.js +10 -10
  18. package/dist-cjs/models/models_1.js +21 -21
  19. package/dist-cjs/models/models_2.js +22 -22
  20. package/dist-cjs/models/models_3.js +21 -21
  21. package/dist-cjs/models/models_4.js +22 -22
  22. package/dist-cjs/models/models_5.js +22 -22
  23. package/dist-cjs/models/models_6.js +20 -4
  24. package/dist-cjs/protocols/Aws_ec2.js +179 -22
  25. package/dist-cjs/runtimeConfig.browser.js +0 -3
  26. package/dist-cjs/runtimeConfig.js +0 -3
  27. package/dist-cjs/runtimeConfig.shared.js +3 -0
  28. package/dist-es/EC2.js +15 -0
  29. package/dist-es/commands/CancelImageLaunchPermissionCommand.js +42 -0
  30. package/dist-es/commands/CreateDefaultSubnetCommand.js +2 -1
  31. package/dist-es/commands/CreateSubnetCidrReservationCommand.js +2 -1
  32. package/dist-es/commands/CreateTagsCommand.js +1 -1
  33. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  34. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -1
  35. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  36. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
  37. package/dist-es/commands/DescribeLaunchTemplatesCommand.js +1 -1
  38. package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
  39. package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +1 -1
  40. package/dist-es/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  41. package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -1
  42. package/dist-es/commands/index.js +1 -0
  43. package/dist-es/models/models_0.js +6 -6
  44. package/dist-es/models/models_1.js +12 -12
  45. package/dist-es/models/models_2.js +12 -12
  46. package/dist-es/models/models_3.js +12 -12
  47. package/dist-es/models/models_4.js +12 -12
  48. package/dist-es/models/models_5.js +12 -13
  49. package/dist-es/models/models_6.js +13 -0
  50. package/dist-es/protocols/Aws_ec2.js +155 -0
  51. package/dist-es/runtimeConfig.browser.js +0 -3
  52. package/dist-es/runtimeConfig.js +0 -3
  53. package/dist-es/runtimeConfig.shared.js +3 -0
  54. package/dist-types/EC2.d.ts +17 -7
  55. package/dist-types/EC2Client.d.ts +3 -2
  56. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +39 -0
  57. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  58. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +3 -3
  59. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -1
  60. package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -2
  62. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  63. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -2
  64. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -1
  68. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -1
  69. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  70. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -2
  71. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  72. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  73. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -0
  74. package/dist-types/commands/index.d.ts +1 -0
  75. package/dist-types/models/models_0.d.ts +26 -112
  76. package/dist-types/models/models_1.d.ts +247 -101
  77. package/dist-types/models/models_2.d.ts +96 -79
  78. package/dist-types/models/models_3.d.ts +80 -217
  79. package/dist-types/models/models_4.d.ts +230 -72
  80. package/dist-types/models/models_5.d.ts +61 -71
  81. package/dist-types/models/models_6.d.ts +70 -2
  82. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  83. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  84. package/dist-types/runtimeConfig.d.ts +2 -2
  85. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  86. package/dist-types/ts3.4/EC2.d.ts +17 -0
  87. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  88. package/dist-types/ts3.4/commands/CancelImageLaunchPermissionCommand.d.ts +41 -0
  89. package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  90. package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +2 -4
  91. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +4 -2
  95. package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -4
  98. package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +4 -2
  100. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +13 -30
  103. package/dist-types/ts3.4/models/models_1.d.ts +51 -36
  104. package/dist-types/ts3.4/models/models_2.d.ts +36 -33
  105. package/dist-types/ts3.4/models/models_3.d.ts +32 -41
  106. package/dist-types/ts3.4/models/models_4.d.ts +42 -29
  107. package/dist-types/ts3.4/models/models_5.d.ts +29 -28
  108. package/dist-types/ts3.4/models/models_6.d.ts +28 -1
  109. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  110. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  111. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  113. 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, CreateDefaultSubnetResult } from "../models/models_0";
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
- * 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>
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, CreateSubnetCidrReservationResult } from "../models/models_1";
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/models_1";
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/models_1";
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/models_2";
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/models_2";
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/models_3";
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/models_3";
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
- * Instance data feed</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
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 for Linux Instances</i>.</p>
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, DisassociateTransitGatewayRouteTableResult } from "../models/models_4";
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/models_4";
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/models_4";
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/models_5";
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 for Linux Instances</i>.</p>
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 for Linux Instances</i>.</p>
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;