@aws-sdk/client-ec2 3.202.0 → 3.204.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 (96) hide show
  1. package/dist-cjs/EC2.js +15 -0
  2. package/dist-cjs/commands/CancelImageLaunchPermissionCommand.js +46 -0
  3. package/dist-cjs/commands/CreateDefaultSubnetCommand.js +2 -1
  4. package/dist-cjs/commands/CreateTagsCommand.js +2 -2
  5. package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  6. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +2 -1
  7. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  8. package/dist-cjs/commands/DescribeLaunchTemplateVersionsCommand.js +3 -3
  9. package/dist-cjs/commands/DisassociateTrunkInterfaceCommand.js +2 -1
  10. package/dist-cjs/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  11. package/dist-cjs/commands/ModifyVpcPeeringConnectionOptionsCommand.js +2 -1
  12. package/dist-cjs/commands/index.js +1 -0
  13. package/dist-cjs/models/models_0.js +10 -10
  14. package/dist-cjs/models/models_1.js +13 -13
  15. package/dist-cjs/models/models_2.js +14 -14
  16. package/dist-cjs/models/models_3.js +13 -13
  17. package/dist-cjs/models/models_4.js +14 -14
  18. package/dist-cjs/models/models_5.js +14 -14
  19. package/dist-cjs/models/models_6.js +12 -4
  20. package/dist-cjs/protocols/Aws_ec2.js +82 -22
  21. package/dist-cjs/runtimeConfig.browser.js +0 -3
  22. package/dist-cjs/runtimeConfig.js +0 -3
  23. package/dist-cjs/runtimeConfig.shared.js +3 -0
  24. package/dist-es/EC2.js +15 -0
  25. package/dist-es/commands/CancelImageLaunchPermissionCommand.js +42 -0
  26. package/dist-es/commands/CreateDefaultSubnetCommand.js +2 -1
  27. package/dist-es/commands/CreateTagsCommand.js +1 -1
  28. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  29. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +2 -1
  30. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  31. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
  32. package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +2 -1
  33. package/dist-es/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  34. package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +2 -1
  35. package/dist-es/commands/index.js +1 -0
  36. package/dist-es/models/models_0.js +6 -6
  37. package/dist-es/models/models_1.js +6 -6
  38. package/dist-es/models/models_2.js +6 -6
  39. package/dist-es/models/models_3.js +6 -6
  40. package/dist-es/models/models_4.js +6 -6
  41. package/dist-es/models/models_5.js +6 -7
  42. package/dist-es/models/models_6.js +7 -0
  43. package/dist-es/protocols/Aws_ec2.js +58 -0
  44. package/dist-es/runtimeConfig.browser.js +0 -3
  45. package/dist-es/runtimeConfig.js +0 -3
  46. package/dist-es/runtimeConfig.shared.js +3 -0
  47. package/dist-types/EC2.d.ts +9 -0
  48. package/dist-types/EC2Client.d.ts +3 -2
  49. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +39 -0
  50. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  51. package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -2
  53. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -1
  54. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -2
  55. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +2 -1
  57. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -2
  58. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +2 -1
  59. package/dist-types/commands/index.d.ts +1 -0
  60. package/dist-types/models/models_0.d.ts +26 -112
  61. package/dist-types/models/models_1.d.ts +113 -47
  62. package/dist-types/models/models_2.d.ts +46 -34
  63. package/dist-types/models/models_3.d.ts +36 -149
  64. package/dist-types/models/models_4.d.ts +149 -28
  65. package/dist-types/models/models_5.d.ts +27 -18
  66. package/dist-types/models/models_6.d.ts +18 -1
  67. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  68. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  69. package/dist-types/runtimeConfig.d.ts +2 -2
  70. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  71. package/dist-types/ts3.4/EC2.d.ts +17 -0
  72. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  73. package/dist-types/ts3.4/commands/CancelImageLaunchPermissionCommand.d.ts +41 -0
  74. package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +4 -2
  77. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -4
  78. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +4 -2
  79. package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +2 -4
  81. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +4 -2
  82. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +2 -4
  83. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +13 -30
  85. package/dist-types/ts3.4/models/models_1.d.ts +33 -18
  86. package/dist-types/ts3.4/models/models_2.d.ts +17 -15
  87. package/dist-types/ts3.4/models/models_3.d.ts +20 -23
  88. package/dist-types/ts3.4/models/models_4.d.ts +23 -14
  89. package/dist-types/ts3.4/models/models_5.d.ts +13 -10
  90. package/dist-types/ts3.4/models/models_6.d.ts +11 -1
  91. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  92. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  93. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  95. package/package.json +5 -4
  96. package/CHANGELOG.md +0 -3642
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
+ import { CancelImageLaunchPermissionRequest, CancelImageLaunchPermissionResult } from "../models/models_0";
6
+ export interface CancelImageLaunchPermissionCommandInput extends CancelImageLaunchPermissionRequest {
7
+ }
8
+ export interface CancelImageLaunchPermissionCommandOutput extends CancelImageLaunchPermissionResult, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Removes your Amazon Web Services account from the launch permissions for the specified AMI. For more
12
+ * information, see <a href="https://docs.aws.amazon.com/">Cancel sharing an AMI with your Amazon Web Services account</a>
13
+ * in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { EC2Client, CancelImageLaunchPermissionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
18
+ * // const { EC2Client, CancelImageLaunchPermissionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
19
+ * const client = new EC2Client(config);
20
+ * const command = new CancelImageLaunchPermissionCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link CancelImageLaunchPermissionCommandInput} for command's `input` shape.
25
+ * @see {@link CancelImageLaunchPermissionCommandOutput} for command's `response` shape.
26
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
27
+ *
28
+ */
29
+ export declare class CancelImageLaunchPermissionCommand extends $Command<CancelImageLaunchPermissionCommandInput, CancelImageLaunchPermissionCommandOutput, EC2ClientResolvedConfig> {
30
+ readonly input: CancelImageLaunchPermissionCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: CancelImageLaunchPermissionCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelImageLaunchPermissionCommandInput, CancelImageLaunchPermissionCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -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 {
@@ -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,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 { DeregisterTransitGatewayMulticastGroupMembersRequest, DeregisterTransitGatewayMulticastGroupMembersResult } from "../models/models_2";
5
+ import { DeregisterTransitGatewayMulticastGroupMembersRequest } from "../models/models_2";
6
+ import { DeregisterTransitGatewayMulticastGroupMembersResult } from "../models/models_3";
6
7
  export interface DeregisterTransitGatewayMulticastGroupMembersCommandInput extends DeregisterTransitGatewayMulticastGroupMembersRequest {
7
8
  }
8
9
  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,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 { DisassociateTrunkInterfaceRequest, DisassociateTrunkInterfaceResult } from "../models/models_4";
5
+ import { DisassociateTrunkInterfaceRequest } from "../models/models_4";
6
+ import { DisassociateTrunkInterfaceResult } from "../models/models_5";
6
7
  export interface DisassociateTrunkInterfaceCommandInput extends DisassociateTrunkInterfaceRequest {
7
8
  }
8
9
  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,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 { ModifyVpcPeeringConnectionOptionsRequest, ModifyVpcPeeringConnectionOptionsResult } from "../models/models_5";
5
+ import { ModifyVpcPeeringConnectionOptionsRequest } from "../models/models_5";
6
+ import { ModifyVpcPeeringConnectionOptionsResult } from "../models/models_6";
6
7
  export interface ModifyVpcPeeringConnectionOptionsCommandInput extends ModifyVpcPeeringConnectionOptionsRequest {
7
8
  }
8
9
  export interface ModifyVpcPeeringConnectionOptionsCommandOutput extends ModifyVpcPeeringConnectionOptionsResult, __MetadataBearer {
@@ -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;
@@ -1,4 +1,108 @@
1
- import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues, HostnameType, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
1
+ import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues, HostnameType, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, PrivateDnsNameOptionsOnLaunch, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, SubnetIpv6CidrBlockAssociation, SubnetState, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ /**
3
+ * <p>Describes a subnet.</p>
4
+ */
5
+ export interface Subnet {
6
+ /**
7
+ * <p>The Availability Zone of the subnet.</p>
8
+ */
9
+ AvailabilityZone?: string;
10
+ /**
11
+ * <p>The AZ ID of the subnet.</p>
12
+ */
13
+ AvailabilityZoneId?: string;
14
+ /**
15
+ * <p>The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any
16
+ * stopped instances are considered unavailable.</p>
17
+ */
18
+ AvailableIpAddressCount?: number;
19
+ /**
20
+ * <p>The IPv4 CIDR block assigned to the subnet.</p>
21
+ */
22
+ CidrBlock?: string;
23
+ /**
24
+ * <p>Indicates whether this is the default subnet for the Availability Zone.</p>
25
+ */
26
+ DefaultForAz?: boolean;
27
+ /**
28
+ * <p>
29
+ * Indicates the device position for local network interfaces in this subnet. For example,
30
+ * <code>1</code> indicates local network interfaces in this subnet are the secondary
31
+ * network interface (eth1).
32
+ * </p>
33
+ */
34
+ EnableLniAtDeviceIndex?: number;
35
+ /**
36
+ * <p>Indicates whether instances launched in this subnet receive a public IPv4 address.</p>
37
+ */
38
+ MapPublicIpOnLaunch?: boolean;
39
+ /**
40
+ * <p>Indicates whether a network interface created in this subnet (including a network
41
+ * interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
42
+ */
43
+ MapCustomerOwnedIpOnLaunch?: boolean;
44
+ /**
45
+ * <p>The customer-owned IPv4 address pool associated with the subnet.</p>
46
+ */
47
+ CustomerOwnedIpv4Pool?: string;
48
+ /**
49
+ * <p>The current state of the subnet.</p>
50
+ */
51
+ State?: SubnetState | string;
52
+ /**
53
+ * <p>The ID of the subnet.</p>
54
+ */
55
+ SubnetId?: string;
56
+ /**
57
+ * <p>The ID of the VPC the subnet is in.</p>
58
+ */
59
+ VpcId?: string;
60
+ /**
61
+ * <p>The ID of the Amazon Web Services account that owns the subnet.</p>
62
+ */
63
+ OwnerId?: string;
64
+ /**
65
+ * <p>Indicates whether a network interface created in this subnet (including a network
66
+ * interface created by <a>RunInstances</a>) receives an IPv6 address.</p>
67
+ */
68
+ AssignIpv6AddressOnCreation?: boolean;
69
+ /**
70
+ * <p>Information about the IPv6 CIDR blocks associated with the subnet.</p>
71
+ */
72
+ Ipv6CidrBlockAssociationSet?: SubnetIpv6CidrBlockAssociation[];
73
+ /**
74
+ * <p>Any tags assigned to the subnet.</p>
75
+ */
76
+ Tags?: Tag[];
77
+ /**
78
+ * <p>The Amazon Resource Name (ARN) of the subnet.</p>
79
+ */
80
+ SubnetArn?: string;
81
+ /**
82
+ * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
83
+ */
84
+ OutpostArn?: string;
85
+ /**
86
+ * <p>Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet
87
+ * should return synthetic IPv6 addresses for IPv4-only destinations.</p>
88
+ */
89
+ EnableDns64?: boolean;
90
+ /**
91
+ * <p>Indicates whether this is an IPv6 only subnet.</p>
92
+ */
93
+ Ipv6Native?: boolean;
94
+ /**
95
+ * <p>The type of hostnames to assign to instances in the subnet at launch. An instance hostname
96
+ * is based on the IPv4 address or ID of the instance.</p>
97
+ */
98
+ PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch;
99
+ }
100
+ export interface CreateDefaultSubnetResult {
101
+ /**
102
+ * <p>Information about the subnet.</p>
103
+ */
104
+ Subnet?: Subnet;
105
+ }
2
106
  export interface CreateDefaultVpcRequest {
3
107
  /**
4
108
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -7331,44 +7435,14 @@ export interface CreateSubnetCidrReservationResult {
7331
7435
  */
7332
7436
  SubnetCidrReservation?: SubnetCidrReservation;
7333
7437
  }
7334
- export interface CreateTagsRequest {
7335
- /**
7336
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7337
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7338
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7339
- */
7340
- DryRun?: boolean;
7341
- /**
7342
- * <p>The IDs of the resources, separated by spaces.</p>
7343
- * <p>Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.</p>
7344
- */
7345
- Resources: string[] | undefined;
7346
- /**
7347
- * <p>The tags. The <code>value</code> parameter is required, but if you don't want the tag to have a value,
7348
- * specify the parameter with no value, and we set the value to an empty string.</p>
7349
- */
7350
- Tags: Tag[] | undefined;
7351
- }
7352
- export interface CreateTrafficMirrorFilterRequest {
7353
- /**
7354
- * <p>The description of the Traffic Mirror filter.</p>
7355
- */
7356
- Description?: string;
7357
- /**
7358
- * <p>The tags to assign to a Traffic Mirror filter.</p>
7359
- */
7360
- TagSpecifications?: TagSpecification[];
7361
- /**
7362
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7363
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7364
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7365
- */
7366
- DryRun?: boolean;
7367
- /**
7368
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
7369
- */
7370
- ClientToken?: string;
7371
- }
7438
+ /**
7439
+ * @internal
7440
+ */
7441
+ export declare const SubnetFilterSensitiveLog: (obj: Subnet) => any;
7442
+ /**
7443
+ * @internal
7444
+ */
7445
+ export declare const CreateDefaultSubnetResultFilterSensitiveLog: (obj: CreateDefaultSubnetResult) => any;
7372
7446
  /**
7373
7447
  * @internal
7374
7448
  */
@@ -8285,11 +8359,3 @@ export declare const SubnetCidrReservationFilterSensitiveLog: (obj: SubnetCidrRe
8285
8359
  * @internal
8286
8360
  */
8287
8361
  export declare const CreateSubnetCidrReservationResultFilterSensitiveLog: (obj: CreateSubnetCidrReservationResult) => any;
8288
- /**
8289
- * @internal
8290
- */
8291
- export declare const CreateTagsRequestFilterSensitiveLog: (obj: CreateTagsRequest) => any;
8292
- /**
8293
- * @internal
8294
- */
8295
- export declare const CreateTrafficMirrorFilterRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRequest) => any;
@@ -1,5 +1,43 @@
1
1
  import { ApplianceModeSupportValue, ByoipCidr, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, DnsSupportValue, DynamicRoutingValue, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
2
  import { Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, SubnetCidrReservation, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ export interface CreateTagsRequest {
4
+ /**
5
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
6
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8
+ */
9
+ DryRun?: boolean;
10
+ /**
11
+ * <p>The IDs of the resources, separated by spaces.</p>
12
+ * <p>Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.</p>
13
+ */
14
+ Resources: string[] | undefined;
15
+ /**
16
+ * <p>The tags. The <code>value</code> parameter is required, but if you don't want the tag to have a value,
17
+ * specify the parameter with no value, and we set the value to an empty string.</p>
18
+ */
19
+ Tags: Tag[] | undefined;
20
+ }
21
+ export interface CreateTrafficMirrorFilterRequest {
22
+ /**
23
+ * <p>The description of the Traffic Mirror filter.</p>
24
+ */
25
+ Description?: string;
26
+ /**
27
+ * <p>The tags to assign to a Traffic Mirror filter.</p>
28
+ */
29
+ TagSpecifications?: TagSpecification[];
30
+ /**
31
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
32
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
33
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
34
+ */
35
+ DryRun?: boolean;
36
+ /**
37
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
38
+ */
39
+ ClientToken?: string;
40
+ }
3
41
  /**
4
42
  * <p>Describes the Traffic Mirror port range.</p>
5
43
  */
@@ -4763,32 +4801,14 @@ export interface TransitGatewayMulticastDeregisteredGroupMembers {
4763
4801
  */
4764
4802
  GroupIpAddress?: string;
4765
4803
  }
4766
- export interface DeregisterTransitGatewayMulticastGroupMembersResult {
4767
- /**
4768
- * <p>Information about the deregistered members.</p>
4769
- */
4770
- DeregisteredMulticastGroupMembers?: TransitGatewayMulticastDeregisteredGroupMembers;
4771
- }
4772
- export interface DeregisterTransitGatewayMulticastGroupSourcesRequest {
4773
- /**
4774
- * <p>The ID of the transit gateway multicast domain.</p>
4775
- */
4776
- TransitGatewayMulticastDomainId?: string;
4777
- /**
4778
- * <p>The IP address assigned to the transit gateway multicast group.</p>
4779
- */
4780
- GroupIpAddress?: string;
4781
- /**
4782
- * <p>The IDs of the group sources' network interfaces.</p>
4783
- */
4784
- NetworkInterfaceIds?: string[];
4785
- /**
4786
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4787
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4788
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4789
- */
4790
- DryRun?: boolean;
4791
- }
4804
+ /**
4805
+ * @internal
4806
+ */
4807
+ export declare const CreateTagsRequestFilterSensitiveLog: (obj: CreateTagsRequest) => any;
4808
+ /**
4809
+ * @internal
4810
+ */
4811
+ export declare const CreateTrafficMirrorFilterRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRequest) => any;
4792
4812
  /**
4793
4813
  * @internal
4794
4814
  */
@@ -5793,11 +5813,3 @@ export declare const DeregisterTransitGatewayMulticastGroupMembersRequestFilterS
5793
5813
  * @internal
5794
5814
  */
5795
5815
  export declare const TransitGatewayMulticastDeregisteredGroupMembersFilterSensitiveLog: (obj: TransitGatewayMulticastDeregisteredGroupMembers) => any;
5796
- /**
5797
- * @internal
5798
- */
5799
- export declare const DeregisterTransitGatewayMulticastGroupMembersResultFilterSensitiveLog: (obj: DeregisterTransitGatewayMulticastGroupMembersResult) => any;
5800
- /**
5801
- * @internal
5802
- */
5803
- export declare const DeregisterTransitGatewayMulticastGroupSourcesRequestFilterSensitiveLog: (obj: DeregisterTransitGatewayMulticastGroupSourcesRequest) => any;