@aws-sdk/client-ec2 3.668.0 → 3.670.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 (106) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +1375 -975
  3. package/dist-cjs/runtimeConfig.browser.js +1 -1
  4. package/dist-cjs/runtimeConfig.js +1 -1
  5. package/dist-es/EC2.js +10 -0
  6. package/dist-es/commands/AcceptCapacityReservationBillingOwnershipCommand.js +22 -0
  7. package/dist-es/commands/AssociateCapacityReservationBillingOwnerCommand.js +22 -0
  8. package/dist-es/commands/DescribeCapacityReservationBillingRequestsCommand.js +22 -0
  9. package/dist-es/commands/DisassociateCapacityReservationBillingOwnerCommand.js +22 -0
  10. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  11. package/dist-es/commands/RejectCapacityReservationBillingOwnershipCommand.js +22 -0
  12. package/dist-es/commands/index.js +5 -0
  13. package/dist-es/models/models_0.js +0 -833
  14. package/dist-es/models/models_1.js +833 -0
  15. package/dist-es/models/models_2.js +0 -8
  16. package/dist-es/models/models_3.js +20 -28
  17. package/dist-es/models/models_4.js +28 -4
  18. package/dist-es/models/models_5.js +4 -1
  19. package/dist-es/models/models_6.js +0 -3
  20. package/dist-es/models/models_7.js +3 -0
  21. package/dist-es/pagination/DescribeCapacityReservationBillingRequestsPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +2 -1
  23. package/dist-es/protocols/Aws_ec2.js +324 -28
  24. package/dist-es/runtimeConfig.browser.js +2 -2
  25. package/dist-es/runtimeConfig.js +2 -2
  26. package/dist-types/EC2.d.ts +35 -0
  27. package/dist-types/EC2Client.d.ts +7 -2
  28. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  29. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
  30. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  31. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +2 -6
  32. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -1
  33. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -0
  34. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -7
  37. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +2 -1
  38. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
  39. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteVpcCommand.d.ts +1 -7
  41. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +102 -0
  42. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -0
  43. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -2
  44. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -2
  46. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +76 -0
  47. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
  48. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  49. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  50. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  51. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  52. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  53. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  54. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  55. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  56. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  57. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -2
  58. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +2 -0
  59. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -0
  60. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +74 -0
  61. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -3
  62. package/dist-types/commands/index.d.ts +5 -0
  63. package/dist-types/models/models_0.d.ts +61 -930
  64. package/dist-types/models/models_1.d.ts +955 -184
  65. package/dist-types/models/models_2.d.ts +131 -82
  66. package/dist-types/models/models_3.d.ts +259 -468
  67. package/dist-types/models/models_4.d.ts +1303 -1319
  68. package/dist-types/models/models_5.d.ts +516 -262
  69. package/dist-types/models/models_6.d.ts +269 -253
  70. package/dist-types/models/models_7.d.ts +280 -10
  71. package/dist-types/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +7 -0
  72. package/dist-types/pagination/index.d.ts +2 -1
  73. package/dist-types/protocols/Aws_ec2.d.ts +45 -0
  74. package/dist-types/ts3.4/EC2.d.ts +115 -0
  75. package/dist-types/ts3.4/EC2Client.d.ts +30 -0
  76. package/dist-types/ts3.4/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +2 -4
  80. package/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  95. package/dist-types/ts3.4/models/models_0.d.ts +16 -850
  96. package/dist-types/ts3.4/models/models_1.d.ts +851 -32
  97. package/dist-types/ts3.4/models/models_2.d.ts +30 -25
  98. package/dist-types/ts3.4/models/models_3.d.ts +68 -83
  99. package/dist-types/ts3.4/models/models_4.d.ts +80 -99
  100. package/dist-types/ts3.4/models/models_5.d.ts +101 -67
  101. package/dist-types/ts3.4/models/models_6.d.ts +66 -64
  102. package/dist-types/ts3.4/models/models_7.d.ts +73 -8
  103. package/dist-types/ts3.4/pagination/DescribeCapacityReservationBillingRequestsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  105. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +60 -0
  106. package/package.json +7 -7
@@ -28,15 +28,11 @@ declare const AssociateNatGatewayAddressCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information,
31
- * see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html">Work with NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
31
+ * see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with">Work with NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
32
32
  * <p>By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment.
33
33
  * For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-eips">Elastic IP address quotas</a> in the <i>Amazon VPC User Guide</i>.</p>
34
34
  * <important>
35
- * <p>When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs
36
- * must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same,
37
- * the EIP will fail to associate. You can see the network border group for the subnet's AZ by viewing the details of the subnet.
38
- * Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information
39
- * about network border groups and EIPs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html">Allocate an Elastic IP address</a> in the <i>Amazon VPC User Guide</i>.
35
+ * <p>When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same, the EIP will fail to associate. You can see the network border group for the subnet's AZ by viewing the details of the subnet. Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information about network border groups and EIPs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip">Allocate an Elastic IP address</a> in the <i>Amazon VPC User Guide</i>.
40
36
  * </p>
41
37
  * </important>
42
38
  * @example
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { CreateCapacityReservationBySplittingRequest, CreateCapacityReservationBySplittingResult } from "../models/models_0";
4
+ import { CreateCapacityReservationBySplittingRequest } from "../models/models_0";
5
+ import { CreateCapacityReservationBySplittingResult } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -91,6 +92,7 @@ declare const CreateCapacityReservationBySplittingCommand_base: {
91
92
  * // },
92
93
  * // ],
93
94
  * // ReservationType: "default" || "capacity-block",
95
+ * // UnusedReservationBillingOwnerId: "STRING_VALUE",
94
96
  * // },
95
97
  * // DestinationCapacityReservation: {
96
98
  * // CapacityReservationId: "STRING_VALUE",
@@ -127,6 +129,7 @@ declare const CreateCapacityReservationBySplittingCommand_base: {
127
129
  * // },
128
130
  * // ],
129
131
  * // ReservationType: "default" || "capacity-block",
132
+ * // UnusedReservationBillingOwnerId: "STRING_VALUE",
130
133
  * // },
131
134
  * // InstanceCount: Number("int"),
132
135
  * // };
@@ -114,6 +114,7 @@ declare const CreateCapacityReservationCommand_base: {
114
114
  * // },
115
115
  * // ],
116
116
  * // ReservationType: "default" || "capacity-block",
117
+ * // UnusedReservationBillingOwnerId: "STRING_VALUE",
117
118
  * // },
118
119
  * // };
119
120
  *
@@ -29,7 +29,7 @@ declare const CreateDefaultSubnetCommand_base: {
29
29
  /**
30
30
  * <p>Creates a default subnet with a size <code>/20</code> IPv4 CIDR block in the
31
31
  * specified Availability Zone in your default VPC. You can have only one default subnet
32
- * per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/work-with-default-vpc.html#create-default-subnet">Create a default
32
+ * per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet">Create a default
33
33
  * subnet</a> in the <i>Amazon VPC User Guide</i>.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
@@ -31,7 +31,7 @@ declare const CreateFlowLogsCommand_base: {
31
31
  * subnet, or VPC. </p>
32
32
  * <p>Flow log data for a monitored network interface is recorded as flow log records, which are log events
33
33
  * consisting of fields that describe the traffic flow. For more information, see
34
- * <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html">Flow log records</a>
34
+ * <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records">Flow log records</a>
35
35
  * in the <i>Amazon VPC User Guide</i>.</p>
36
36
  * <p>When publishing to CloudWatch Logs, flow log records are published to a log group, and each network
37
37
  * interface has a unique log stream in the log group. When publishing to Amazon S3, flow log records for all
@@ -38,13 +38,7 @@ declare const CreateNatGatewayCommand_base: {
38
38
  * private IPv4 addresses, and communicating between overlapping networks.</p>
39
39
  * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html">NAT gateways</a> in the <i>Amazon VPC User Guide</i>.</p>
40
40
  * <important>
41
- * <p>When you create a public NAT gateway and assign it an EIP or secondary EIPs,
42
- * the network border group of the EIPs must match the network border group of the Availability Zone (AZ)
43
- * that the public NAT gateway is in. If it's not the same, the NAT gateway will fail to launch.
44
- * You can see the network border group for the subnet's AZ by viewing the details of the subnet.
45
- * Similarly, you can view the network border group of an EIP by viewing the details of the EIP address.
46
- * For more information about network border groups and EIPs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithEIPs.html">Allocate an Elastic IP address</a>
47
- * in the <i>Amazon VPC User Guide</i>.
41
+ * <p>When you create a public NAT gateway and assign it an EIP or secondary EIPs, the network border group of the EIPs must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same, the NAT gateway will fail to launch. You can see the network border group for the subnet's AZ by viewing the details of the subnet. Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information about network border groups and EIPs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip">Allocate an Elastic IP address</a> in the <i>Amazon VPC User Guide</i>.
48
42
  * </p>
49
43
  * </important>
50
44
  * @example
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { CreateNetworkInsightsPathRequest, CreateNetworkInsightsPathResult } from "../models/models_1";
4
+ import { CreateNetworkInsightsPathRequest } from "../models/models_1";
5
+ import { CreateNetworkInsightsPathResult } from "../models/models_2";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -28,8 +28,8 @@ declare const CreateSubnetCidrReservationCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Creates a subnet CIDR reservation. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html">Subnet CIDR reservations</a>
31
- * in the <i>Amazon VPC User Guide</i> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-prefixes.html">Manage prefixes
32
- * for your network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
31
+ * in the <i>Amazon VPC User Guide</i> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html">Assign prefixes
32
+ * to network interfaces</a> in the <i>Amazon EC2 User Guide</i>.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -32,7 +32,7 @@ declare const CreateVpcCommand_base: {
32
32
  * <p>You can optionally request an IPv6 CIDR block for the VPC. You can request an
33
33
  * Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses or an IPv6 CIDR
34
34
  * block from an IPv6 address pool that you provisioned through bring your own IP addresses
35
- * (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>).</p>
35
+ * (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>).</p>
36
36
  * <p>By default, each instance that you launch in the VPC has the default DHCP options, which
37
37
  * include only a default DNS server that we provide (AmazonProvidedDNS). For more
38
38
  * information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP option sets</a> in the <i>Amazon VPC User Guide</i>.</p>
@@ -27,13 +27,7 @@ declare const DeleteVpcCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the specified VPC. You must detach or delete all gateways and resources that are associated
31
- * with the VPC before you can delete it. For example, you must terminate all instances running in the VPC,
32
- * delete all security groups associated with the VPC (except the default one), delete all route tables
33
- * associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the
34
- * default security group, network ACL, and route table for the VPC.</p>
35
- * <p>If you created a flow log for the VPC that you are deleting, note that flow logs for deleted
36
- * VPCs are eventually automatically removed.</p>
30
+ * <p>Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the VPC's default security group, network ACL, and route table.</p>
37
31
  * @example
38
32
  * Use a bare-bones client and the command you need to make an API call.
39
33
  * ```javascript
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { DescribeCapacityReservationBillingRequestsRequest, DescribeCapacityReservationBillingRequestsResult } from "../models/models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeCapacityReservationBillingRequestsCommand}.
14
+ */
15
+ export interface DescribeCapacityReservationBillingRequestsCommandInput extends DescribeCapacityReservationBillingRequestsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeCapacityReservationBillingRequestsCommand}.
21
+ */
22
+ export interface DescribeCapacityReservationBillingRequestsCommandOutput extends DescribeCapacityReservationBillingRequestsResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeCapacityReservationBillingRequestsCommand_base: {
25
+ new (input: DescribeCapacityReservationBillingRequestsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCapacityReservationBillingRequestsCommandInput, DescribeCapacityReservationBillingRequestsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeCapacityReservationBillingRequestsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCapacityReservationBillingRequestsCommandInput, DescribeCapacityReservationBillingRequestsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes a request to assign the billing of the unused capacity of a Capacity Reservation.
31
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/transfer-billing.html">
32
+ * Billing assignment for shared Amazon EC2 Capacity Reservations</a>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { EC2Client, DescribeCapacityReservationBillingRequestsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
37
+ * // const { EC2Client, DescribeCapacityReservationBillingRequestsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
38
+ * const client = new EC2Client(config);
39
+ * const input = { // DescribeCapacityReservationBillingRequestsRequest
40
+ * CapacityReservationIds: [ // CapacityReservationIdSet
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * Role: "odcr-owner" || "unused-reservation-billing-owner", // required
44
+ * NextToken: "STRING_VALUE",
45
+ * MaxResults: Number("int"),
46
+ * Filters: [ // FilterList
47
+ * { // Filter
48
+ * Name: "STRING_VALUE",
49
+ * Values: [ // ValueStringList
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * },
53
+ * ],
54
+ * DryRun: true || false,
55
+ * };
56
+ * const command = new DescribeCapacityReservationBillingRequestsCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // DescribeCapacityReservationBillingRequestsResult
59
+ * // NextToken: "STRING_VALUE",
60
+ * // CapacityReservationBillingRequests: [ // CapacityReservationBillingRequestSet
61
+ * // { // CapacityReservationBillingRequest
62
+ * // CapacityReservationId: "STRING_VALUE",
63
+ * // RequestedBy: "STRING_VALUE",
64
+ * // UnusedReservationBillingOwnerId: "STRING_VALUE",
65
+ * // LastUpdateTime: new Date("TIMESTAMP"),
66
+ * // Status: "pending" || "accepted" || "rejected" || "cancelled" || "revoked" || "expired",
67
+ * // StatusMessage: "STRING_VALUE",
68
+ * // CapacityReservationInfo: { // CapacityReservationInfo
69
+ * // InstanceType: "STRING_VALUE",
70
+ * // AvailabilityZone: "STRING_VALUE",
71
+ * // Tenancy: "default" || "dedicated",
72
+ * // },
73
+ * // },
74
+ * // ],
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param DescribeCapacityReservationBillingRequestsCommandInput - {@link DescribeCapacityReservationBillingRequestsCommandInput}
80
+ * @returns {@link DescribeCapacityReservationBillingRequestsCommandOutput}
81
+ * @see {@link DescribeCapacityReservationBillingRequestsCommandInput} for command's `input` shape.
82
+ * @see {@link DescribeCapacityReservationBillingRequestsCommandOutput} for command's `response` shape.
83
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
84
+ *
85
+ * @throws {@link EC2ServiceException}
86
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
87
+ *
88
+ * @public
89
+ */
90
+ export declare class DescribeCapacityReservationBillingRequestsCommand extends DescribeCapacityReservationBillingRequestsCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: DescribeCapacityReservationBillingRequestsRequest;
95
+ output: DescribeCapacityReservationBillingRequestsResult;
96
+ };
97
+ sdk: {
98
+ input: DescribeCapacityReservationBillingRequestsCommandInput;
99
+ output: DescribeCapacityReservationBillingRequestsCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -91,6 +91,7 @@ declare const DescribeCapacityReservationsCommand_base: {
91
91
  * // },
92
92
  * // ],
93
93
  * // ReservationType: "default" || "capacity-block",
94
+ * // UnusedReservationBillingOwnerId: "STRING_VALUE",
94
95
  * // },
95
96
  * // ],
96
97
  * // };
@@ -28,8 +28,7 @@ declare const DescribeElasticGpusCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <note>
31
- * <p>Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration,
32
- * we recommend that you use Amazon EC2 G4, G5, or G6 instances.</p>
31
+ * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
33
32
  * </note>
34
33
  * <p>Describes the Elastic Graphics accelerator associated with your instances.</p>
35
34
  * @example
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeImageAttributeRequest, ImageAttribute } from "../models/models_3";
4
+ import { DescribeImageAttributeRequest, ImageAttribute } from "../models/models_4";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeImagesRequest } from "../models/models_3";
5
- import { DescribeImagesResult } from "../models/models_4";
4
+ import { DescribeImagesRequest, DescribeImagesResult } from "../models/models_4";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -0,0 +1,76 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { DisassociateCapacityReservationBillingOwnerRequest, DisassociateCapacityReservationBillingOwnerResult } from "../models/models_5";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateCapacityReservationBillingOwnerCommand}.
14
+ */
15
+ export interface DisassociateCapacityReservationBillingOwnerCommandInput extends DisassociateCapacityReservationBillingOwnerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateCapacityReservationBillingOwnerCommand}.
21
+ */
22
+ export interface DisassociateCapacityReservationBillingOwnerCommandOutput extends DisassociateCapacityReservationBillingOwnerResult, __MetadataBearer {
23
+ }
24
+ declare const DisassociateCapacityReservationBillingOwnerCommand_base: {
25
+ new (input: DisassociateCapacityReservationBillingOwnerCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateCapacityReservationBillingOwnerCommandInput, DisassociateCapacityReservationBillingOwnerCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DisassociateCapacityReservationBillingOwnerCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateCapacityReservationBillingOwnerCommandInput, DisassociateCapacityReservationBillingOwnerCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Cancels a pending request to assign billing of the unused capacity of a Capacity Reservation to a
31
+ * consumer account, or revokes a request that has already been accepted. For more information, see
32
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html">Billing assignment for
33
+ * shared Amazon EC2 Capacity Reservations</a>.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { EC2Client, DisassociateCapacityReservationBillingOwnerCommand } from "@aws-sdk/client-ec2"; // ES Modules import
38
+ * // const { EC2Client, DisassociateCapacityReservationBillingOwnerCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
39
+ * const client = new EC2Client(config);
40
+ * const input = { // DisassociateCapacityReservationBillingOwnerRequest
41
+ * DryRun: true || false,
42
+ * CapacityReservationId: "STRING_VALUE", // required
43
+ * UnusedReservationBillingOwnerId: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new DisassociateCapacityReservationBillingOwnerCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // DisassociateCapacityReservationBillingOwnerResult
48
+ * // Return: true || false,
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param DisassociateCapacityReservationBillingOwnerCommandInput - {@link DisassociateCapacityReservationBillingOwnerCommandInput}
54
+ * @returns {@link DisassociateCapacityReservationBillingOwnerCommandOutput}
55
+ * @see {@link DisassociateCapacityReservationBillingOwnerCommandInput} for command's `input` shape.
56
+ * @see {@link DisassociateCapacityReservationBillingOwnerCommandOutput} for command's `response` shape.
57
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
58
+ *
59
+ * @throws {@link EC2ServiceException}
60
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
61
+ *
62
+ * @public
63
+ */
64
+ export declare class DisassociateCapacityReservationBillingOwnerCommand extends DisassociateCapacityReservationBillingOwnerCommand_base {
65
+ /** @internal type navigation helper, not in runtime. */
66
+ protected static __types: {
67
+ api: {
68
+ input: DisassociateCapacityReservationBillingOwnerRequest;
69
+ output: DisassociateCapacityReservationBillingOwnerResult;
70
+ };
71
+ sdk: {
72
+ input: DisassociateCapacityReservationBillingOwnerCommandInput;
73
+ output: DisassociateCapacityReservationBillingOwnerCommandOutput;
74
+ };
75
+ };
76
+ }
@@ -28,7 +28,7 @@ declare const DisassociateNatGatewayAddressCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway.
31
- * You cannot disassociate your primary EIP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon VPC User Guide</i>.</p>
31
+ * You cannot disassociate your primary EIP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon VPC User Guide</i>.</p>
32
32
  * <p>While disassociating is in progress, you cannot associate/disassociate additional EIPs while the connections are being drained. You are, however, allowed to delete the NAT gateway.</p>
33
33
  * <p>An EIP is released only at the end of MaxDrainDurationSeconds. It stays
34
34
  * associated and supports the existing connections but does not support any new connections
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetFlowLogsIntegrationTemplateRequest, GetFlowLogsIntegrationTemplateResult } from "../models/models_5";
4
+ import { GetFlowLogsIntegrationTemplateRequest, GetFlowLogsIntegrationTemplateResult } from "../models/models_6";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetGroupsForCapacityReservationRequest, GetGroupsForCapacityReservationResult } from "../models/models_5";
4
+ import { GetGroupsForCapacityReservationRequest, GetGroupsForCapacityReservationResult } from "../models/models_6";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetHostReservationPurchasePreviewRequest, GetHostReservationPurchasePreviewResult } from "../models/models_5";
4
+ import { GetHostReservationPurchasePreviewRequest, GetHostReservationPurchasePreviewResult } from "../models/models_6";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { GetImageBlockPublicAccessStateRequest, GetImageBlockPublicAccessStateResult } from "../models/models_5";
4
+ import { GetImageBlockPublicAccessStateRequest, GetImageBlockPublicAccessStateResult } from "../models/models_6";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -31,7 +31,7 @@ declare const ModifyInstanceCpuOptionsCommand_base: {
31
31
  * configure the number of active vCPUs for the instance, it can help you save on licensing costs and
32
32
  * optimize performance. The base cost of the instance remains unchanged.</p>
33
33
  * <p>The number of active vCPUs equals the number of threads per CPU core multiplied by the number
34
- * of cores.</p>
34
+ * of cores. The instance must be in a <code>Stopped</code> state before you make changes.</p>
35
35
  * <note>
36
36
  * <p>Some instance type options do not support this capability. For more information, see
37
37
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html">Supported CPU
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVpcEndpointServicePayerResponsibilityRequest, ModifyVpcEndpointServicePayerResponsibilityResult } from "../models/models_6";
4
+ import { ModifyVpcEndpointServicePayerResponsibilityRequest, ModifyVpcEndpointServicePayerResponsibilityResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVpcEndpointServicePermissionsRequest, ModifyVpcEndpointServicePermissionsResult } from "../models/models_6";
4
+ import { ModifyVpcEndpointServicePermissionsRequest, ModifyVpcEndpointServicePermissionsResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVpcPeeringConnectionOptionsRequest, ModifyVpcPeeringConnectionOptionsResult } from "../models/models_6";
4
+ import { ModifyVpcPeeringConnectionOptionsRequest, ModifyVpcPeeringConnectionOptionsResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVpcTenancyRequest, ModifyVpcTenancyResult } from "../models/models_6";
4
+ import { ModifyVpcTenancyRequest, ModifyVpcTenancyResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVpnConnectionRequest } from "../models/models_6";
5
- import { ModifyVpnConnectionResult } from "../models/models_7";
4
+ import { ModifyVpnConnectionRequest, ModifyVpnConnectionResult } from "../models/models_7";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -100,6 +100,7 @@ declare const MoveCapacityReservationInstancesCommand_base: {
100
100
  * // },
101
101
  * // ],
102
102
  * // ReservationType: "default" || "capacity-block",
103
+ * // UnusedReservationBillingOwnerId: "STRING_VALUE",
103
104
  * // },
104
105
  * // DestinationCapacityReservation: {
105
106
  * // CapacityReservationId: "STRING_VALUE",
@@ -136,6 +137,7 @@ declare const MoveCapacityReservationInstancesCommand_base: {
136
137
  * // },
137
138
  * // ],
138
139
  * // ReservationType: "default" || "capacity-block",
140
+ * // UnusedReservationBillingOwnerId: "STRING_VALUE",
139
141
  * // },
140
142
  * // InstanceCount: Number("int"),
141
143
  * // };
@@ -89,6 +89,7 @@ declare const PurchaseCapacityBlockCommand_base: {
89
89
  * // },
90
90
  * // ],
91
91
  * // ReservationType: "default" || "capacity-block",
92
+ * // UnusedReservationBillingOwnerId: "STRING_VALUE",
92
93
  * // },
93
94
  * // };
94
95
  *
@@ -0,0 +1,74 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { RejectCapacityReservationBillingOwnershipRequest, RejectCapacityReservationBillingOwnershipResult } from "../models/models_7";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RejectCapacityReservationBillingOwnershipCommand}.
14
+ */
15
+ export interface RejectCapacityReservationBillingOwnershipCommandInput extends RejectCapacityReservationBillingOwnershipRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RejectCapacityReservationBillingOwnershipCommand}.
21
+ */
22
+ export interface RejectCapacityReservationBillingOwnershipCommandOutput extends RejectCapacityReservationBillingOwnershipResult, __MetadataBearer {
23
+ }
24
+ declare const RejectCapacityReservationBillingOwnershipCommand_base: {
25
+ new (input: RejectCapacityReservationBillingOwnershipCommandInput): import("@smithy/smithy-client").CommandImpl<RejectCapacityReservationBillingOwnershipCommandInput, RejectCapacityReservationBillingOwnershipCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RejectCapacityReservationBillingOwnershipCommandInput): import("@smithy/smithy-client").CommandImpl<RejectCapacityReservationBillingOwnershipCommandInput, RejectCapacityReservationBillingOwnershipCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Rejects a request to assign billing of the available capacity of a shared Capacity Reservation
31
+ * to your account. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/assign-billing.html">
32
+ * Billing assignment for shared Amazon EC2 Capacity Reservations</a>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { EC2Client, RejectCapacityReservationBillingOwnershipCommand } from "@aws-sdk/client-ec2"; // ES Modules import
37
+ * // const { EC2Client, RejectCapacityReservationBillingOwnershipCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
38
+ * const client = new EC2Client(config);
39
+ * const input = { // RejectCapacityReservationBillingOwnershipRequest
40
+ * DryRun: true || false,
41
+ * CapacityReservationId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new RejectCapacityReservationBillingOwnershipCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // RejectCapacityReservationBillingOwnershipResult
46
+ * // Return: true || false,
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param RejectCapacityReservationBillingOwnershipCommandInput - {@link RejectCapacityReservationBillingOwnershipCommandInput}
52
+ * @returns {@link RejectCapacityReservationBillingOwnershipCommandOutput}
53
+ * @see {@link RejectCapacityReservationBillingOwnershipCommandInput} for command's `input` shape.
54
+ * @see {@link RejectCapacityReservationBillingOwnershipCommandOutput} for command's `response` shape.
55
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
56
+ *
57
+ * @throws {@link EC2ServiceException}
58
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
59
+ *
60
+ * @public
61
+ */
62
+ export declare class RejectCapacityReservationBillingOwnershipCommand extends RejectCapacityReservationBillingOwnershipCommand_base {
63
+ /** @internal type navigation helper, not in runtime. */
64
+ protected static __types: {
65
+ api: {
66
+ input: RejectCapacityReservationBillingOwnershipRequest;
67
+ output: RejectCapacityReservationBillingOwnershipResult;
68
+ };
69
+ sdk: {
70
+ input: RejectCapacityReservationBillingOwnershipCommandInput;
71
+ output: RejectCapacityReservationBillingOwnershipCommandOutput;
72
+ };
73
+ };
74
+ }
@@ -27,9 +27,7 @@ declare const UnassignPrivateNatGatewayAddressCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information,
31
- * see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a>
32
- * in the <i>Amazon VPC User Guide</i>.</p>
30
+ * <p>Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon VPC User Guide</i>.</p>
33
31
  * <p>While unassigning is in progress, you cannot assign/unassign additional IP addresses while the connections are being drained. You are, however, allowed to delete the NAT gateway.</p>
34
32
  * <p>A private IP address will only be released at the end of MaxDrainDurationSeconds. The
35
33
  * private IP addresses stay associated and support the existing connections, but do not